Skip to content

Commit 130867f

Browse files
committed
1.2.1
fixed home screen bug and device overheating issues caused by 1.2 when used with Serotonin fix an issue in 1.2 that may cause sileo to crash on some devices fixed an issue where code(255) errors occurred when enabling tweak for some apps
1 parent 424516d commit 130867f

File tree

11 files changed

+33
-5
lines changed

11 files changed

+33
-5
lines changed

Bootstrap.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@
480480
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
481481
GCC_WARN_UNUSED_FUNCTION = YES;
482482
GCC_WARN_UNUSED_VARIABLE = YES;
483-
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
483+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
484484
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
485485
MTL_FAST_MATH = YES;
486486
ONLY_ACTIVE_ARCH = YES;
@@ -533,7 +533,7 @@
533533
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
534534
GCC_WARN_UNUSED_FUNCTION = YES;
535535
GCC_WARN_UNUSED_VARIABLE = YES;
536-
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
536+
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
537537
MTL_ENABLE_DEBUG_INFO = NO;
538538
MTL_FAST_MATH = YES;
539539
SDKROOT = iphoneos;
@@ -567,7 +567,7 @@
567567
"$(inherited)",
568568
"@executable_path/Frameworks",
569569
);
570-
MARKETING_VERSION = 1.2;
570+
MARKETING_VERSION = 1.2.1;
571571
OTHER_LDFLAGS = "";
572572
PRODUCT_BUNDLE_IDENTIFIER = com.roothide.Bootstrap;
573573
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -605,7 +605,7 @@
605605
"$(inherited)",
606606
"@executable_path/Frameworks",
607607
);
608-
MARKETING_VERSION = 1.2;
608+
MARKETING_VERSION = 1.2.1;
609609
OTHER_LDFLAGS = "";
610610
PRODUCT_BUNDLE_IDENTIFIER = com.roothide.Bootstrap;
611611
PRODUCT_NAME = "$(TARGET_NAME)";
Binary file not shown.

Bootstrap/basebin/bootstrap.dylib

0 Bytes
Binary file not shown.

Bootstrap/basebin/bootstrapd

0 Bytes
Binary file not shown.

Bootstrap/basebin/devtest

0 Bytes
Binary file not shown.

Bootstrap/basebin/preload

0 Bytes
Binary file not shown.

Bootstrap/basebin/preload.dylib

0 Bytes
Binary file not shown.

Bootstrap/basebin/rebuildapp

0 Bytes
Binary file not shown.

Bootstrap/basebin/uicache

0 Bytes
Binary file not shown.

Bootstrap/bootstrap.m

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,32 @@ int ReRandomizeBootstrap()
306306
return 0;
307307
}
308308

309+
void fixMobileDirectories()
310+
{
311+
NSFileManager* fm = NSFileManager.defaultManager;
312+
NSDirectoryEnumerator<NSURL *> *directoryEnumerator = [fm enumeratorAtURL:[NSURL fileURLWithPath:jbroot(@"/var/mobile/") isDirectory:YES] includingPropertiesForKeys:@[NSURLIsDirectoryKey] options:0 errorHandler:nil];
313+
314+
for (NSURL *enumURL in directoryEnumerator) {
315+
@autoreleasepool {
316+
317+
if([enumURL.path containsString:@"/var/mobile/Library/pkgmirror/"]
318+
|| [enumURL.path hasSuffix:@"/var/mobile/Library/pkgmirror"])
319+
continue;
320+
321+
struct stat st={0};
322+
if(lstat(enumURL.path.fileSystemRepresentation, &st)==0)
323+
{
324+
if((st.st_mode&S_IFDIR)==0) continue;
325+
326+
// SYSLOG("fixMobileDirectory %d:%d %@", st.st_uid, st.st_gid, enumURL); usleep(1000*10);
327+
if(st.st_uid == 0) {
328+
chown(enumURL.path.fileSystemRepresentation, 501, st.st_gid==0 ? 501 : st.st_gid);
329+
}
330+
}
331+
}
332+
}
333+
}
334+
309335
int bootstrap()
310336
{
311337
ASSERT(getuid()==0);
@@ -357,6 +383,8 @@ int bootstrap()
357383
STRAPLOG("Status: Rerandomize jbroot");
358384

359385
ASSERT(ReRandomizeBootstrap() == 0);
386+
387+
fixMobileDirectories();
360388
}
361389

362390
ASSERT(disableRootHideBlacklist()==0);

0 commit comments

Comments
 (0)