@TrevorX5J9
Decided to do a quick check tonight. It looks like the hack works fine on CarbonROM. I simply flashed the rom (not even gapps), booted into it, went back to TWRP to flash -copy.zip and -install.zip, and rebooted. I saw increased space under settings->storage. I didn't bother installing anything. I turned the phone off then on; it still worked. Rebooted; worked. So at this point I'm going to assume the hack is compatible with CarbonROM.
So the problem is probably not SELinux related. Another possibility is your partition is not really ext4. If TWRP somehow formatted your "sd-ext" partition, perhaps the partition ended up being ext2, which doesn't support journaling. Typically, after power loss or sudden reboot, an ext2 file system might become inconsistent and would require a "file system check." This hack doesn't do any checking before mounting (since it expects ext4, which supports journaling). So perhaps there's an error preventing the code from mounting the partition. I don't know if this is what happened for you though. It's just a guess.
If my hypothesis is right and you want to preserve your data, I can maybe make a zip that does a file system check to correct possible errors, archives all files (to the fat32 partition, assuming it's big enough to hold all the files), formats the 2nd partition to ext4, and then restores the files. If my guess is wrong and the cause is actually something else, then you'd need to troubleshoot, perhaps with the adb command prompt, to see where the failure occurs. There were a few posts in this thread with troubleshooting instructions if you're knowledgeable and patient enough.
Decided to do a quick check tonight. It looks like the hack works fine on CarbonROM. I simply flashed the rom (not even gapps), booted into it, went back to TWRP to flash -copy.zip and -install.zip, and rebooted. I saw increased space under settings->storage. I didn't bother installing anything. I turned the phone off then on; it still worked. Rebooted; worked. So at this point I'm going to assume the hack is compatible with CarbonROM.
So the problem is probably not SELinux related. Another possibility is your partition is not really ext4. If TWRP somehow formatted your "sd-ext" partition, perhaps the partition ended up being ext2, which doesn't support journaling. Typically, after power loss or sudden reboot, an ext2 file system might become inconsistent and would require a "file system check." This hack doesn't do any checking before mounting (since it expects ext4, which supports journaling). So perhaps there's an error preventing the code from mounting the partition. I don't know if this is what happened for you though. It's just a guess.
If my hypothesis is right and you want to preserve your data, I can maybe make a zip that does a file system check to correct possible errors, archives all files (to the fat32 partition, assuming it's big enough to hold all the files), formats the 2nd partition to ext4, and then restores the files. If my guess is wrong and the cause is actually something else, then you'd need to troubleshoot, perhaps with the adb command prompt, to see where the failure occurs. There were a few posts in this thread with troubleshooting instructions if you're knowledgeable and patient enough.
Upvote
0