Quote:

Originally Posted by

Like other curious 6P users, I flashed the "full ota" zip to check out Nougat. Then I tried to restore my nandroid for Dirty Unicorns, and apparently TWRP 3.0.2-1 had a fatal flaw that borked the EFS backup. I tried literally everything I could think of, until I saw the process @be_vigilant did to revive his phone. I'm going to be using his process as the base for the guide, as well as linking you to my nandroid that has now helped two other people revive their device.



What you need:

*MMB29P factory image (although MTC20F also worked for someone).

Direct download link: https://dl.google.com/dl/android/aos...y-616cf265.zip

*My nandroid backup (its stock MMB29P, decrypted and rooted)

https://www.androidfilehost.com/?fid=24686679545612465

*TWRP recovery image (3.0.2-0 or one of the newer builds that fixed the EFS stuff)

https://dl.twrp.me/angler/

*Android SDK or at least platform-tools (for fastboot, adb, etc)



The Process:

1. Extract the factory image into the location where you have fastboot.exe (mine is C:\Android\sdk\platform-tools)

2. Extract the nandroid backup - doesn't matter where, I'll explain later

3. Make sure you are in bootloader mode, and run flash-all.bat from the factory image

4. Flash TWRP (fastboot flash recovery twrprecovery.img)

5. Boot into TWRP, and make a new nandroid backup. This step is just to create the TWRP backup folder on your device

6. Now go to wipe, advanced wipe, click on each partition one at a time, choose "Repair or Change File System", then select "Repair File System" - do this for dalvik/art, system, data, internal storage, and cache. It may not work for all of them, but its ok.

***you must mount data again in TWRP after doing this, or you will not be able to see anything***

7. Copy & paste my nandroid onto your device in the correct location (sdcard/TWRP/BACKUPS/XXXXXX)

8. Restore my nandroid and try to boot.

9. If it still does not boot at this point, then you need to run these adb commands (while in TWRP) that @bogomil4e kindly reported to wipe the EFS partitions

adb shell dd if=/dev/zero of=/dev/block/platform/soc.0/f9824900.sdhci/by-name/modemst1 bs=16384 -and-

adb shell dd if=/dev/zero of=/dev/block/platform/soc.0/f9824900.sdhci/by-name/modemst2 bs=16384



Now you should be able to boot up and do anything you want again. Please do not mirror my nandroid or take advantage of it - I am making it available only for people to utilize as a way to unbrick their phone!