This post was edited by feds64 at 18:30, Sep-01-2016
Hei MM users, Good news is Marshmallow sprouting like no one’s business. What say you, still wanting to venture to other custom ROMs and still need the services of a custom recovery like TWRP. The bad news, is users are getting more and more issues, one after one another, when flashing TWRP over the MIUI 8, Marshmallow Android 6.01 version.
Common issues: - TWRP, asking for password to mount
- Internal Storage listed as (0MB)
- Unable to mount '/data'
So what is this all about? What is happening here? TWRP simply cannot mount data onto the partition, hence causing it to ask for a Password, which was never initiated to begin with, and how you going to know the password to key-in.
The kind of Error messages you get to see on the TWRP log: - E: Find_file: Error opening '/sys/class/backlight'
- E: Unable to mount'/data'
- E: Unable to recreate/data/media folder.
- Updating partition details...
- E: Unable to mount'/data'
- ...done
- E: Unable to mount storage.
- E: Unable to mount/data/media during GUI startup.
- Full SELinux support is present.
- E: Unable to mount/data/media/TWRP.twrps when trying to read settings file.
- E: Unable to mount'/data'
- MTP Enabled
- E: Unable to mount'/data'
Copy the Code
Known causes: - /data partition always in encrypted mode, therefore, TWRP will not be able to mount /data.
Note: Unlocked Bootloader is REQUIRED for these procedures. Solutions: 1. Hassle-free Flasher: Double click the "Kenzo_MM_TWRP.bat" and follow thru, as shown below:-
2. Old school method: TWRP & Rooting Download twrp_kenzo_fix and open the folder, and within the folder, "Open command window here", by pressing "Shift" on your keyboard while right-clicking your mouse.
Copy and paste the following and hit Enter: - adb reboot bootloader
- pause >nul
- fastboot flash recovery twrp.img
- pause >nul
- fastboot format userdata
- pause >nul
- fastboot boot twrp.img
- pause >nul
- End
Copy the CodeRooting ONLY - adb reboot bootloader
- pause >nul
- fastboot boot twrp.img
- pause >nul
- End
Copy the Code
3. Advanced method:
- /dev/block/bootdevice/by-name/userdata /data ext4 nosuid,nodev,barrier=1,noauto_da_alloc,discard wait,check,resize,encryptable=footer
Copy the Code
Should there be "forceencrypt=footer" string, then edit it to "encryptable=footer", to allow encryption. Check the DM-verity, for ",verify" string, if you find one remove it, to avoid bootloop or no wifi issues. Repack the boot.img and flash boot image followed by TWRP image. That's it.
DISCLAIMER: DO ON YOUR OWN RISK. Flashing can potentially bricked or bootloop your device.
"Solving with simplicity" |