Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,807,866 Members 50,643 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Device encryption - any issue with root and Odin?

Tip us?
lanwarrior's Avatar
Senior Member - OP
Thanks Meter 138
Posts: 2,057
Join Date: Mar 2006
Default [Q] Device encryption - any issue with root and Odin?

I want to use Android Device Encryption (Settings --> General --> Security). My questions are:

1). Is there any issue if my device is rooted and KNOX is disabled (it's still 0x0)
2). If anything to my device and I need to Odin, I assume encryption will NOT prevent me doing so?
3). Bonus question: is there anyway to use PIN when the device is encrypted? I only see "Password" and the rest is greyed out. I don't want to use 6 characters alphanumeric password everytime I want to use my device.
Galaxy Note 3 T-Mobile
Stock ROM - rooted
Official Jelly Bean 4.3

Note 10.1 (2014)
Stock ROM - Not rooted since KNOX tripping
Official KitKat 4.4.2

Nexus 5
Nexus 7 (2013)
Galaxy Note 8.0
Nexus 7 (2012)
AT&T Galaxy Note
AT&T Galaxy S4 Active
Senior Member
Thanks Meter 482
Posts: 1,743
Join Date: Jul 2009
1) Yes, if you're rooted with a 100% stock ROM and recovery, you CAN encrypt.

2) Sort of. It might mess up the encryption. Mine got confused thinking it was still encrypted, but couldn't mount the partition after Odin ran. To fix it, boot to STOCK recovery using the hardware keys (vol+/home/power), and do a factory reset from in there. Note that CWM/TWRP etc will NOT work to fix this issue. It's something to do with the changes Samsung made to the encryption code.

3) Nope. Password only. In theory, it might be possible to do an Xposed module, but I didn't find a good place to hook in to the process. If they would separate the encryption password from the device lock code, this would be easy. I ended up using the No Lock Home Xposed module, which lets you switch to swipe screen lock when you are connected to particular wifi/cell/BT devices.

I'm actually running without encryption now. It makes custom ROMs difficult. I believe if I were running an AOSP derived ROM it would be fine, but using modded stock stuff causes issues. Make sure you do backups to SD or a computer. If something goes wrong with the encryption there is no way to recover without a full wipe, which kills everything on the internal storage, including /sdcard. The external SD card is not affected, unless you encrypted that as well. I like the extra security, but the implementation sucks and is buggy.
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes