[Fixed] How to install SuperSU with Lollipop/encrypted storage?

Himeko7

Well-known member
Mar 4, 2013
74
0
0
So I upgraded to Lollipop keeping my data etc, and now I can't reinstall the SuperSU binary because TWRP does not support decryption yet on Lollipop. Is there any other way to install it?
 
Last edited:
Re: How to install SuperSU with Lollipop/encrypted storage?

Data wipe part isn't very appealing.
 
Re: How to install SuperSU with Lollipop/encrypted storage?

I agree, but I don't think there's another way to root an vencrypted device. At least not yet.

Could you back up your data partition through twrp or do an adb pull, then restore after rooting? I'm not encrypted, so I don't know how much you can interact with it

Wubba lubba dub dub!
 
Re: How to install SuperSU with Lollipop/encrypted storage?

Can't access any data in twrp cause it can't decrypt and mount the partition.
 
Re: How to install SuperSU with Lollipop/encrypted storage?

Back when I was using the Lollipop Developer Preview (on my Nexus 5) I had the same issue you are having, and I "solved" it using a USB OTG drive.
Even though you can't decrypt the internal storage, inside TWRP, you can find your OTG drive and flash whatever you want, without wiping your device.

This worked for me, hopefully it can work for you too..

Cheers,
Mathorlaz
 
Re: How to install SuperSU with Lollipop/encrypted storage?

You mean putting the SuperSU zip in the otg? how will it flash that to the internal storage though if it can't mount it to write?
 
Re: How to install SuperSU with Lollipop/encrypted storage?

You mean putting the SuperSU zip in the otg? how will it flash that to the internal storage though if it can't mount it to write?

The system partition is not encrypted, only the user's data is encrypted. SuperSU and it's binary get installed to the system partition. I just did the OTG thing and installed BETA-SuperSU-v2.23. It works.
 
Re: How to install SuperSU with Lollipop/encrypted storage?

Any chance either one of you, TheJeremyP or Mathorlaz, could go into a little more detail on how to install SuperSU via OTG? I had my Nexus 5 rooted and really customized and just updated to 5.0 and lost all my customization that required root access. Any help/info would be greatly appreciated!
 
Last edited:
Re: How to install SuperSU with Lollipop/encrypted storage?

Oh awesome! I have a Y otg cable for the N4 but never used it yet, I will try this when I get home from work in a bit and post back, thank you!
 
Re: How to install SuperSU with Lollipop/encrypted storage?

Just tried this, but TWRP won't mount the usb-otg, when I click on it under Mount it doesn't activate, (area with 3 items: System, Cache, usb-otg). Only system mounts fine. I tried with 2 sticks, one with FAT32 and another on NTFS, with a Y cable plugged to the pc.
 
Re: How to install SuperSU with Lollipop/encrypted storage?

Can't access any data in twrp cause it can't decrypt and mount the partition.

You should still be able to backup through adb though because your device would be decrypted.

If you've got the cable though, Mathorlaz' otg idea is probably best.

Posted via the Android Central App
 
Re: How to install SuperSU with Lollipop/encrypted storage?

I have the cable but it's not working, TWRP won't mount the otg.
 
set warranty bit recovery

I have a problem when I upgrade my note3 in lolipop framwaer my device not rooted in recovery mode nd thay show (set warranty bit : recovery )hae any solution so plz mail me
 

Members online

Forum statistics

Threads
954,156
Messages
6,960,744
Members
3,162,930
Latest member
lalarat