[Q] how do i modify my boot.img to remove forced encryption?

k.electron

Senior Member
Jan 27, 2009
677
33
0
hi,

I want to modify my own boot.img to remove the force encryption - how do i do that?

(i'd like to learn something in this process while also being safe by knowing what i edit in the boot.img)
(please dont point me to a thread that says download and flash the hacked one)

thanks.
 

di11igaf

Inactive Recognized Developer
Sep 6, 2010
1,900
739
0
East Coast
Are you using some version of linux?
Either way, just need to unpack the boot.img, edit fstab.flounder fstab.flounder64 to change 'force-encrypt' to 'encryptable', then repack everything into a new boot.img.
 
Last edited:
  • Like
Reactions: k.electron

k.electron

Senior Member
Jan 27, 2009
677
33
0
Are you using some version of linux?
Either way, just need to unpack the boot.img, edit fstab.flounder fstab.flounder64 to change 'force-encrypt' to 'encryptable', then repack everything into a new boot.img.
great. thanks. i have a linux box that i can use for this and i can figure out packing and unpacking the image.

in the amount of time you took to post, you could have done it for us :p

Sent from my Nexus 7 using Tapatalk
umm.. except that i wanted to do it myself so that really was the correct answer.
 

wantowan2

Senior Member
Mar 24, 2012
1,703
2,009
0
Toronto
Its up to the kernel your flashing

I know every kernel for the nexus 9 as of now
supports root and no force encryption
except Faux's kernel which does not support no force encryption
Thanks man. Hey, did you just use "zhack" for that? ....or did you just use the regular android tools? I was just trying to think of the easiest way for any user that had linux but not a whole box set up? Say, for example, to take El.X and re&re that sucker....
Besides however, once this device takes off a bit and guys like ElementalX start using that Aroma installer, there will be an option there. Maybe 50/50 who want it...
 
Last edited:

USBhost

Recognized Contributor
Oct 23, 2013
5,986
6,913
263
u:r:usbhost:s0
Thanks man. Hey, did you just use "zhack" for that? ....or did you just use the regular android tools? I was just trying to think of the easiest way for any user that had linux but not a whole box set up? Say, for example, to take El.X and re&re that sucker....
Besides however, once this device takes off a bit and guys like ElementalX start using that Aroma installer, there will be an option there. Maybe 50/50 who want it...
http://forum.xda-developers.com/showthread.php?t=2073775