Appreciate the update. You could try returning to Lineage 14.1 or try a different Nougat based ROM. I have been pumping AospExtended (AEX) of late for it's speed, stability and feature set. I'm a longtime CM/Lineage user but AEX provides the best experience on an Android device I have had to date. All the goodness of pure AOSP with a nice set of optional extensions.
You could try reflashing the vulnerable bootloader but I doubt that will help. In all likelihood one of numerous (over a dozen) 'hidden' partitions was touched by the encryption attempt. At present there is not a comprehensive catalog of contents and, more importantly, a means for restoring back to 'stock'.
@draxie - thoughts?
I'm sticking with this at least conceptually. Nougat encryption is implemented differently than Android 4.4-6.x and remains a work-in-progress. The link below offers a laymen's perspective on some of the issues and hints at the problem you are currently experiencing. Me thinks the keys (or at least a flag) are resident in an area of permanent storage that remains untouched by standard partition wipes. Android 7.x based ROMs notice that and balk during boot while 6.x and lower ROMs are clueless to the previous device state. Good luck.
adb shell su -c "make_ext4fs /dev/block/mmcblk0p23"
OK. So, I've done some reading on the new FBE in Nougat...
...On the other hand, the ext4 filesystem needs to be reformatted
to get rid of the FBE flags. I suspect that TWRP does NOT do this.
At least, the feedback it gives (I've just done a _complete_ wipe
of my test Thor, checking _ALL_ available checkboxes) only says
"wiping" for both /data and /data/media, but it says "formatting"
for cache and system...
FWIW - TWRP does have the ability format/reformat/resize various partitions including /data. Believe it's buried under the Advance menu. That said, the adb command is probably cleaner/easier/quicker. And safer IMHO as there is no temptation to resize which is usually fatal on Android.
|Thread Tools||Search this Thread|