[FIX] FED-Patcher v8 (ForceEncrypt Disable Patcher)

madbat99

Senior Member
Mar 1, 2014
5,538
3,285
113
Can i unlocked the bootloader do what has to be done and then lock the bootloader and remain with the stock rom, kernel and recovery?
You can. But if you end up messing something up and bootloop, and your bootloader is locked, you will not be able to fix it with a factory image.
 

nigelhealy

Senior Member
Aug 3, 2012
1,540
444
0
Preston
I did manage to disable the encryption on my N9, and got root and xposed, BUT I couldn't get a /data restore to work, it did restore but the unlock screen was there and my unlock would not work, I could tell the data was actually restored as it was giving my notifications, just could not get passed unlock.

So... I just did a wipe and reinstalled all my apps.

Got current stock ROM, root, ElementalX, f2fs on /cache and /data, not encrypted. So the path worked but could do with a decent precise guide so a backup + restore works.
 

madbat99

Senior Member
Mar 1, 2014
5,538
3,285
113
I did manage to disable the encryption on my N9, and got root and xposed, BUT I couldn't get a /data restore to work, it did restore but the unlock screen was there and my unlock would not work, I could tell the data was actually restored as it was giving my notifications, just could not get passed unlock.

So... I just did a wipe and reinstalled all my apps.

Got current stock ROM, root, ElementalX, f2fs on /cache and /data, not encrypted. So the path worked but could do with a decent precise guide so a backup + restore works.
Trying to restore an encrypted backup after successfully disabling encryption? The guide would be, don't, lol.
 

nigelhealy

Senior Member
Aug 3, 2012
1,540
444
0
Preston
Trying to restore an encrypted backup after successfully disabling encryption? The guide would be, don't, lol.
The guide says backup.

What's the point as the restore of day from backup drags an unlockable state with it.

Guide should say backup and restore via other means. E.g. Titanium Backup.
 

madbat99

Senior Member
Mar 1, 2014
5,538
3,285
113
The guide says backup.

What's the point as the restore of day from backup drags an unlockable state with it.

Guide should say backup and restore via other means. E.g. Titanium Backup.
You can restore. But it won't be unencrypted. Format data.
Once unencrypted, you can't restore an encrypted nandroid and hope to stay unencrypted. You're supposed to backup the data you don't want to lose by formatting data. Meaning make copies of your files off of your device. Downloads, pictures, movies, titanium backups, all of it. Then move it back after you disable encryption.
To be fair, the guide says make a conservative but thorough backup of your data. Not backup data partition in twrp.
 
Last edited:
  • Like
Reactions: cam30era

Schrotty35

Senior Member
Oct 30, 2010
4,407
616
0
Vienna
Not work on my Nexus 5x. I have format all, after this i have flash rom (mokee), gapps (opengapps) and fed and reboot. But under Security i see my device is encrypted and not unencrypted.
 
Last edited:

tylerdurden83

Senior Member
May 28, 2011
1,191
226
0
I have flashed the zip on my N9, without any errors. I then went into Wipe of TWRP, and chose /data, /cache, /dalvik and /internal memory, but not /system. I then rebooted, went into Settings - Security, but it says that it's encrypted.
Should I wipe system too in TWRP? Won't that delete the OS? Cheers
 

schickel

Senior Member
Mar 30, 2009
995
439
93
Munich
I have flashed the zip on my N9, without any errors. I then went into Wipe of TWRP, and chose /data, /cache, /dalvik and /internal memory, but not /system. I then rebooted, went into Settings - Security, but it says that it's encrypted.
Should I wipe system too in TWRP? Won't that delete the OS? Cheers
System must also be wiped. I've wipe everything, completly. And then flash CM13, gapps, FED-Pacher from USB-stick (or you can sideload it). After reboot and setup it was unencryptet. Before do this, save your apps with TitaniumBackup also somewhere else (USB-stick).
 

tylerdurden83

Senior Member
May 28, 2011
1,191
226
0
System must also be wiped. I've wipe everything, completly. And then flash CM13, gapps, FED-Pacher from USB-stick (or you can sideload it). After reboot and setup it was unencryptet. Before do this, save your apps with TitaniumBackup also somewhere else (USB-stick).
In the op it says to wipe after flashing the zip, if I wipe system after flashing the zip tho what OS will it have left to boot into?
 
  • Like
Reactions: cam30era

madbat99

Senior Member
Mar 1, 2014
5,538
3,285
113
I have flashed the zip on my N9, without any errors. I then went into Wipe of TWRP, and chose /data, /cache, /dalvik and /internal memory, but not /system. I then rebooted, went into Settings - Security, but it says that it's encrypted.
Should I wipe system too in TWRP? Won't that delete the OS? Cheers
In twrp, choose "format data".
 

t99220475

Senior Member
Nov 25, 2012
89
31
0
Not work on my Nexus 5x. I have format all, after this i have flash rom (mokee), gapps (opengapps) and fed and reboot. But under Security i see my device is encrypted and not unencrypted.
For some reason, wiping /data in twrp is more like "deleting all files on /data" than formating. Using stock recovery or fastboot to wipe solved the problem for me.
 
  • Like
Reactions: Schrotty35

gladiac

Senior Member
Nov 13, 2006
332
476
93
Vienna
Thanks, @gladiac. One thing I don't understand is why it cannot persist during TWRP updates.

Can't you make an addon.d or something (like opengapps) to make fedpatch persist? Or is it because fedpatch is at boot.img, and addon.d only works at system partitions? :| lol
Hi @ideaman924,
you got that completely right. FED-Patcher patches the boot.img. The boot-partition is completely separate to the system-partition and is being loaded before /system. That is why addon.d is not applicable for that.
 

nigelhealy

Senior Member
Aug 3, 2012
1,540
444
0
Preston
can we use nandroid to restore /data after formating and stay unenrcrypted, or the nandroid restore gets you back to the encripted state?
Didn't work for me. What happened was it all worked but i couldn't unlock the screen. The recovery restore worked, once booted it was showing me all the signs all the apps working, getting emails etc, but it would not unlock.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone