SuperSU: Android Encryption problems (Cyanogenmod 12.1 nightly, S4 i9505) - SuperSU

Hello all,
I have recently been asked to use email on my work phone (instead of my preferred web-app option). My device (S4 i9505 running a Cyanogenmod 12.1 nightly) was/is rooted but after the (standard) encryption process the phone was stuck on a black screen/bootloop/problem.
This was resolved by re-flashing the CM 12.1 rom using TWRP which booted and the device was encrypted with my work email on the phone. SuperSU is installed but the binary needs to be updated and the phone is saying it's not rooted when checking the root using Root Checker.
I want to reinstall/reinstate SuperSU, but I am wondering if this will freeze the phone again, as it is encrypted. What are the known problems with rooted phones/SuperSU and encryption?
Cheers

Solved
Hi all,
Solved it by simply flashing the latest SuperSU zip via TWRP in recovery. It seems that you can use a rooted phone with encryption enabled. However, when I encrypted it (via the standard way) it was stuck in some kind of bootloop problem where the screen was black but the phone was on. To solve this, I presume the problem was with SuperSU. I would first make a backup of your ROM before encrypting then I would temporarily disable SuperSU, or uninstall it, then encrypt the device. Afterwards re-enable or re-flash SuperSU from recovery. If you do get a boot problem, you can flash a ROM or recover your old one and start again.
My steps were: encrytp, then got the boot problem so I flashed a new CM 12.1 nightly. Afterwhich the phone booted normally and the phone was encrypted, but "not" rooted. I then downloaded the latest SuperSU zip and flashed it from the recovery leaving me with an encrypted, rooted phone.
By the way, encryption is annoying as you must enter a pin everytime you use the phone, after it is locked. My S4 only lets you use a pin, no pattern allowed. However, it is preferred by employers/IT.

Related

Cyanogenmod 13 no longer boots (but stock does)

This just started a couple days ago. I rebooted the phone after SuperSU updated its binary, and the phone would not boot past the "starting apps" screen. I've tried everything I can think of - disabling systemless root and Xposed, upgrading CM 13, downgrading it, wiping everything and doing a fresh install, restoring stock 20i with TWRP and reinstalling CM... nothing works. It either hangs on the boot animation or the "starting apps" screen. I finally managed to get stock 20o loaded with the KDZ method and everything seems to work, but I would really like to have CM back. Can anyone help?
Same issue here, was running resurrection remix, powered off to swap battery and stuck at starting apps. Went back to stock and it works.
I had the same issue after updating the SuperSU binary following the flash of the latest nightly. Here is what I did to get CM13 back:
Flashed 20o kdz via LGUP - http://forum.xda-developers.com/g4/help/lgup-install-kdz-mm-lp-t3249803
Booted Stock Rom - Set Developer options on and enable OEM unlocking and USB debugging
Added TWRP - http://forum.xda-developers.com/tmo...ck-guide-h811-20-o-bootloader-unlock-t3421589
Booted Stock Rom
Reboot to Recovery
Flashed CM13 via TWRP
Booted CM13
Enabled Developer options ensured OEM unlock and Usb debugging were enabled (Debugging was for Titanium Backup). Also, extended boot menu (for ease)
Reboot to Recovery flash additional items (SuperSU, Gapps, Xposed) Note: I flashed each one individually and booted (wanted to check each for functionality after this mess)
Let me know if you have questions, I'll be happy to try and help.
Cheers!
My phone is functional again, I didn't notice originally but even with the stock flash I had no sound, sensors or camera. I ended up flashing the KDZ and reinstall RR and everything is normal again. Follow the step Surly33 posted and you should be fine.
Thanks a TON surly33 and Pantslessape !!!!
Struggled all day yesterday and half of today, trying to get it working again...
Wonder what was the problem?
I wonder if something changed in SuperSU 2.78 and we should stick with 2.76.
Thanks Surly33, I will try it and see how it goes.
I flashed CM and GApps, and all seems to be working. Gonna try it with just the stock su for now. Thanks
Worked like a charm
Surly33 said:
I had the same issue after updating the SuperSU binary following the flash of the latest nightly. Here is what I did to get CM13 back:
Flashed 20o kdz via LGUP - http://forum.xda-developers.com/g4/help/lgup-install-kdz-mm-lp-t3249803
Booted Stock Rom - Set Developer options on and enable OEM unlocking and USB debugging
Added TWRP - http://forum.xda-developers.com/tmo...ck-guide-h811-20-o-bootloader-unlock-t3421589
Booted Stock Rom
Reboot to Recovery
Flashed CM13 via TWRP
Booted CM13
Enabled Developer options ensured OEM unlock and Usb debugging were enabled (Debugging was for Titanium Backup). Also, extended boot menu (for ease)
Reboot to Recovery flash additional items (SuperSU, Gapps, Xposed) Note: I flashed each one individually and booted (wanted to check each for functionality after this mess)
Let me know if you have questions, I'll be happy to try and help.
Cheers!
Click to expand...
Click to collapse
So happy that Xda developed me into someone who could help others! Cheers family!
Mogster2K said:
I flashed CM and GApps, and all seems to be working. Gonna try it with just the stock su for now. Thanks
Click to expand...
Click to collapse
Also, on SuperSU 2.78 with no issues
Surly33 said:
Also, on SuperSU 2.78 with no issues
Click to expand...
Click to collapse
i wonder what went wrong
Mogster2K said:
This just started a couple days ago. I rebooted the phone after SuperSU updated its binary, and the phone would not boot past the "starting apps" screen. I've tried everything I can think of - disabling systemless root and Xposed, upgrading CM 13, downgrading it, wiping everything and doing a fresh install, restoring stock 20i with TWRP and reinstalling CM... nothing works. It either hangs on the boot animation or the "starting apps" screen. I finally managed to get stock 20o loaded with the KDZ method and everything seems to work, but I would really like to have CM back. Can anyone help?
Click to expand...
Click to collapse
So I had this same problem happen to me. I happened to have a complete TWRP backup including all partitions from right after I unlocked the SIM and bootloader. I wiped everything including the SD Card then restored the backup and it's still having issues.
After restoring the backup I was able to get the SlimROM to boot but during the setup the phone locks up. I will try reinstalling Cyanogenmod to see if I encounter the same problem with that, but it doesn't seem like SuperSU 2.78 is the common denominator because I was running that version since it's release and only started having problems yesterday.
Meh Same here
Was running the nightly from 160920, had downloaded but not installed latest nightly 160930, before I had a chance to install it, phone locked up. Figured ok, maybe something I flashed? ( although last thing I flashed and or changed was on the 21st) so reflashed my previous backup of CM13 with just Cm13 installed, no extras or additions, and phone locked up again.
Stuck at the Starting apps screen.
Recharging my battery now and gonna reflash stock which Suuuuuuuuuuxxxxxxxxxxxxx :crying:
Meh dbl meh.
Anybody figure it out yet?
shadow813 said:
Was running the nightly from 160920, had downloaded but not installed latest nightly 160930, before I had a chance to install it, phone locked up. Figured ok, maybe something I flashed? ( although last thing I flashed and or changed was on the 21st) so reflashed my previous backup of CM13 with just Cm13 installed, no extras or additions, and phone locked up again.
Stuck at the Starting apps screen.
Recharging my battery now and gonna reflash stock which Suuuuuuuuuuxxxxxxxxxxxxx :crying:
Meh dbl meh.
Anybody figure it out yet?
Click to expand...
Click to collapse
This happened to me when I flashed the CM 20160929 nightly on top of the 20160928 nightly. I was encrypted and I had been running SuperSU 2.78 since it released. Updating my phone to the 20o base fixed the problem and I took the opportunity to switch to the SlimROM6 port since CM decided they don't really want to get around to release a stable build of CM13 so that bug reports can be submitted. At least now I can toggle data on and off in the quicksettings pulldown. The downside is I have to re-setup all my accounts and stuff but on the upside I had been meaning to do this anyway as I encrypted and TWRP still can't decrypt properly (amongst other time zone bugs) to run backups and such.
I was on Stock 20i before I initially installed CM 13. Maybe something changed in CM 13 so that it won't boot unless Stock 20o gets installed. I know there's more to it than just the boot and system images that custom ROMs use. (I count 57 separate partitions and I have no idea what most of them do.) The Stock 20o KDZ seems to contain 27 of them.
I was on Stock 20i before I initially installed CM 13. Maybe something changed in CM 13 so that it won't boot unless Stock 20o gets installed. I know there's more to it than just the boot and system images that custom ROMs use. (I count 57 separate partitions and I have no idea what most of them do.) The Stock 20o KDZ seems to contain 27 of them.
Click to expand...
Click to collapse
I think there was a boot loader compatibly issue with SuperSU and 20i. But, that is just a guess.
Surly33 said:
I had the same issue after updating the SuperSU binary following the flash of the latest nightly. Here is what I did to get CM13 back:
Flashed 20o kdz via LGUP - http://forum.xda-developers.com/g4/help/lgup-install-kdz-mm-lp-t3249803
Booted Stock Rom - Set Developer options on and enable OEM unlocking and USB debugging
Added TWRP - http://forum.xda-developers.com/tmo...ck-guide-h811-20-o-bootloader-unlock-t3421589
Booted Stock Rom
Reboot to Recovery
Flashed CM13 via TWRP
Booted CM13
Enabled Developer options ensured OEM unlock and Usb debugging were enabled (Debugging was for Titanium Backup). Also, extended boot menu (for ease)
Reboot to Recovery flash additional items (SuperSU, Gapps, Xposed) Note: I flashed each one individually and booted (wanted to check each for functionality after this mess)
Let me know if you have questions, I'll be happy to try and help.
Cheers!
Click to expand...
Click to collapse
Haha, this happened to me like 3 weeks ago too. I ended up doing this after like 3 hours of messing around with the phone. I wish i would have just saw this instead of figuring it out on my own haha

Encrypt process after already installing Magisk

hey guys, so I want to encrypt my phone but I want to stay rooted with magisk and xposed. (Using SuperSU 2.78 SR3). Device: OnePlus One running SultanXDA's CM13.
Are there any special steps I need to take before I start the encryption process? do I need to completely unroot and remove all traces of all these before going back or will it just work?
I haven't seen this question addressed before and this would help others with the same questions.
Thanks for any advice!
Since there was no support from anyone, I decided to just remove everything (xposed, magisk and supersu) then encrypt, and finally re-add everything back. I did this just to avoid any complications and all works fine without issue.
@Nomelas what version of magisk did you use? and did you sideload them or just flash with the cache work around?
I've been at this all day with no luck
@GbizzleMcGrizzle what phone are you using? I had to completely remove everything before encrypting. Also reflashed stock system
@Nomelas Galaxy S7 (SM-G930F) it wont encrypt with magisk installed and magisk wont install after it has been encrypted.
@GbizzleMcGrizzle are you flashing through twrp? (are you decrypting when you boot into twrp)
i've tried flashing in twrp and sideloading. I don't think I can decrypt in twrp but magisk says it has a work around for not beiing able to boot /data and supposedly put in in cache and then moves it to data after boot so IDK

[help] Regain TWRP on OOS4.0 Official with a mac

I've tried asking this question on other threads but no one is replying.
I have installed the official OOS4.0 through TWRP. I was on a CM13 ROM so I flashed the full 3.5.4 zip and then the 4.0 OTA directly after. Then I flashed SuperSU but I guess it didn't work because I don't have root access.
Now I lost access to TWRP as well. So I tried to reflash TWRP through my Mac and though the process runs smoothly, whenever I boot into recovery, it's still stock.
Is there anything I can do to regain TWRP access through a MacBook?

TWRP 3.1.1-2 doesnt stick on reboot. [Lastest Open Beta]

Hi all.
i previous had TWRP installed and the latest open beta but temporarily went back to stock recovery to fix a dm-verity issue. Now, whenever i fast boot flash TWRP it doesn't stick. every time it boot into the OS it seems to revert to stock recovery.
after doing multiple flashes only 2 of them actually asked me if i wanted to change the read write permissions, the other times it just booted into TWRP without a promt.
any suggestions?
on a side note, if i was to get it to boot into TWRP then wipe and install Paranoid Android might that get it to stick?
Thankyou.
chowchillacharlie said:
Hi all.
i previous had TWRP installed and the latest open beta but temporarily went back to stock recovery to fix a dm-verity issue. Now, whenever i fast boot flash TWRP it doesn't stick. every time it boot into the OS it seems to revert to stock recovery.
after doing multiple flashes only 2 of them actually asked me if i wanted to change the read write permissions, the other times it just booted into TWRP without a promt.
any suggestions?
on a side note, if i was to get it to boot into TWRP then wipe and install Paranoid Android might that get it to stick?
Thankyou.
Click to expand...
Click to collapse
I had the same problem so I flashed it TWRP again then flashed another ROM and it stuck. I have no idea why it does that either.
chowchillacharlie said:
Hi all.
i previous had TWRP installed and the latest open beta but temporarily went back to stock recovery to fix a dm-verity issue. Now, whenever i fast boot flash TWRP it doesn't stick. every time it boot into the OS it seems to revert to stock recovery.
after doing multiple flashes only 2 of them actually asked me if i wanted to change the read write permissions, the other times it just booted into TWRP without a promt.
any suggestions?
on a side note, if i was to get it to boot into TWRP then wipe and install Paranoid Android might that get it to stick?
Thankyou.
Click to expand...
Click to collapse
Flash SuperSU or magisk before booting to system...and it Will stick...

Galaxy Tab S2 not booting properly.

Hello everyone,
I recently wanted to root my galaxy tab s2 and install a custom rom on it to enhance performance, someting i've done before with my old phone where everything worked fine. So i used autoroot to root the tablet which worked fine and choose to install lineageos afterwards. i found a fitting version of lineage on their official website, installed twrp on my tablet and used it to install lineageos and GApps. However i did not unlock my bootloader using adb since i didnt have to do that back when i rooted my phone and i read on a forum that unlocking oem in the developer settings would be enough. This is where the problems start. After i installed the custom rom the tablet would try to boot into the os for a couple of minutes only showing a loading animation just to boot straight into recovery mode afterwards. In an attempt to fix the error i used odin to install a stock rom from sammobile on the tablet. However now it doesnt even boot into recovery anymore. instead it only shows the stock rom loading animation until the battery emptys. Though i can enter download mode from that position and then cancel it in order to reboot the device which enables me to enter recovery mode. Does anyone have an idea how i could boot a normal os again or is the device hard bricked? The only idea i have left is trying to install a new os from an sd card.
I have the same issue. I installed unofficial lineageos 16 to exynos 2015 t810. I have newest odin and twrp. Im wondering if i need to install or unlock the bootloader to get past the logo loop then recovery bootup after 5 minutes. I followed clean tutorials.
Update: i found this to try.
Quote:
Originally Posted by -beluga-
Hi, first of all thanks for the ROM. Unfortunately I am unable to get my T710 running properly with today's packages (it ran 15.1 so far)
- lineage-16.0-20191009-UNOFFICIAL-gts28wifi.zip
- addonsu-16.0-arm-signed.zip
- open_gapps-arm-9.0-pico-20191009.zip (some with nano or stock)
I am doing a full clean install every time (over 10x so far) but only get it to boot using the ROM alone. Any mod, such as addonsu, gapps or even trwp app cause it to show the Lineage boot screen for quite a while until dropping back into TWRP. Since there is a virtually infinite amount of permutations which versions to try - can someone who is successfully installed 16.0 with Gapps on a T710 let me know their version combination please?
Thanks.
pico-20191009 is giving problems with the 1009 build on my T810 too. Pico-20191006 and Magisk 19.4 are doing the trick for me.
Don't know about other combinations
BTW, it's advised not to install the TWRP app as it is known for causing bootloops on this rom.
Don't know for sure, but wiping internal storage before installing rom might be useful too.

Categories

Resources