TWRP encryption
TWRP encryption
(14-09-2019, 06:55 AM)ali21 Ported TWRP Recovery using Auto Porter V1.5 for my TECNO KC1 (Android 9)
After booting into TWRP, it asks for decryption password, internal storage shows 0 MB and goes back to stock recovery after booting to system. Appreciate any help
(14-09-2019, 10:41 AM)X3non for decryption, either try flashing no-verity-opt.zip then magisk.zip (copy both to extsd and flash from there) OR you can try the decryption method as explained @ https://www.hovatek.com/forum/thread-29013.htmlAfter flashing patched boot image, checked status in Magisk Manager app but MAGISK and Root wasn't installed
(15-09-2019, 03:10 AM)ali21 After flashing patched boot image, checked status in Magisk Manager app but MAGISK and Root wasn't installed
(15-09-2019, 09:11 AM)hovatek Have you fixed the 0MB / encryption issue in TWRP?Flashing no-verity-opt.zip returned error, so flashing Magisk.zip doesn't work. TWRP log:
(16-09-2019, 11:26 AM)ali21 Yeah, I can mount Vendor Partition
(15-09-2019, 10:08 AM)ali21 Flashing no-verity-opt.zip returned error, so flashing Magisk.zip doesn't work. TWRP log:
- Error: Unknown ramdisk compression format ()!- Aborting...
Failed to patch boot image!Updater process ended with ERROR: 1
Error installing zip file '/external_sd/no-verity-opt-encrypt-6.1.zip
Tried the decryption method explained in thread but Root wasn't installed even after successfully flashing patched boot image from Magisk Manager. So still stuck with encryption and 0 MB
(17-09-2019, 09:36 AM)X3non ok, try this below*For the following step # 3 in guide:
mount vendor then goto advanced > file manager > navigate to \vendor
then complete step 3 - 5 of the header "DECRYPTING ‘/data’ PARTITION" @ https://www.hovatek.com/forum/thread-29013.html
since you won't be able to edit fstab in twrp, copy it to internal_sd or ext_sd then copy it to your PC and edit using a txt editor e.g notepad++ (if twrp has functional mtp then you can copy to and from without needing to reboot the phone to homescreen)
once you've edited the necessary file(s), copy them from the PC back to the phone & copy them to their respective location using file manager in TWRP
once done, FORMAT /data in twrp (this is different from wipe data, ensure you choose the format option & this will wipe everything from your device so be sure to backup your files first)
finally reboot twrp and check if encryption is gone