[twrp] 3.0.2.0-n [With Root Instructions!]

L

LastStandingDroid

Guest
this Recovery is now depreciated go https://forum.xda-developers.com/showthread.php?p=71244945 instead


What's new
MTP auto mount on boot fixed!
Data unmount after few seconds fixed.

Bugs
Battery Info doesn't work (due to M based sources)
Data decryption
Mount Loop devices (Kernel issue) can't be fixed atm

Credits: TWRP (Team win Recovery Project)

Huawei
@BadWolfYe for giving info on how he got MTP working.

Me

Current status: Stable

Created: 2016-11-20
 
Last edited:
L

LastStandingDroid

Guest
Just to clarify, does this allow mounting and editting of /system partition, manually via TWRP terminal?
Yes you can mount cust, data, system, product, vendor
Thank you so much for your hard work. When you say data works but requires reflash could you explain which part requires reflash?

Regards

Lee
The properdata fix will flash a empty image to the phone which you'll have to resize after flash or I'll get 2.Gb of internal storage only.you might need repair data first or reboot recovery for it to be repairable.

Sent from my FRD-L09 using Tapatalk
 

thel2dab

Senior Member
Nov 29, 2011
60
40
0
I don't know why but my phone fails to boot after flashing the properdatafix.zip and resizing.

It resizes correctly but after it won't boot. I have to flash old firmware and upgrade to to 7.0 again.

Any help would be great.

Regards

Lee
 
L

LastStandingDroid

Guest
U are best.

Does flashing ROM's work?
I whant to flash newest N emui 5.0 wihout roolback
It flashes firmwares yes I've reflashed N and the hw_EU full package
I don't know why but my phone fails to boot after flashing the properdatafix.zip and resizing.

It resizes correctly but after it won't boot. I have to flash old firmware and upgrade to to 7.0 again.

Any help would be great.

Regards

Lee
Exactly what did you flash? AFAIK if it is a zip that mounts a image it will either bill the flash process with a reboot or make your device stuck on splash screen. What zip did u use?

If.u flashed N pack from M twrp u can install it again with this twrp. If it doesn't boot then it's probably due to a Img (ext4) that is being mounted and that's most likely is due to modified boot.img which will kill the boot procedure supersu package can make a modified boot but it won't boot due to su.img being mounted so it'll reboot to recovery

Sent from my FRD-L09 using Tapatalk
 
Last edited:

thel2dab

Senior Member
Nov 29, 2011
60
40
0
Exactly what did you flash? AFAIK if it is a zip that mounts a image it will either bill the flash process with a reboot or make your device stuck on splash screen. What zip did u use?
I flashed the properdatafix.zip from the 1st post. Then rebooted in to twrp went to wipe - advanced wipe - data - resize partion - reboot - stuck on black screen.

fastboot flash, recovery, boot, system, from stock to get device booting again.

I must be doing something wrong. I know this is really cheeky to ask but could you make a video or something of the correct flashing procedure? The way I have tried is like this:

1 Fastboot flash your recovery.img

2. Boot into TWRP recovery.

3. Install properdatafix.zip

4. Reboot recovery.

5. Resize data partition.

6. Reboot and phone wont boot anymore.

Regards

Lee
 
Last edited:
L

LastStandingDroid

Guest
I flashed the properdatafix.zip from the 1st post. Then rebooted in to twrp went to wipe - advanced wipe - data - resize partion - reboot - stuck on black screen.

fastboot flash, recovery, boot, system, from stock to get device booting again.

I must be doing something wrong. I know this is really cheeky to ask but could you make a video or something of the correct flashing procedure? The way I have tried is like this:

1 Fastboot flash your recovery.img

2. Boot into TWRP recovery.

3. Install properdatafix.zip

4. Reboot recovery.

5. Resize data partition.

6. Reboot and phone wont boot anymore.

Regards

Lee
You can install the firmware again after you resized the data partition if something goes wrong and report back if it helps. Maybe it is a block issue in fstab but it shouldn't be

Sent from my FRD-L09 using Tapatalk
 

thel2dab

Senior Member
Nov 29, 2011
60
40
0
You can install the firmware again after you resized the data partition if something goes wrong and report back if it helps. Maybe it is a block issue in fstab but it shouldn't be

Sent from my FRD-L09 using Tapatalk
How should I install the firmware again? Through flashable zip or through dload folder and hold vol up and down when restarting phone? Thank you for your patience, I know I am taking a lot of your time with this.

Regards

Lee
 
L

LastStandingDroid

Guest
@LastStandingDroid
I also will not boot in the system... :eek:
What file system (data) should be displayed in TWRP, ext4?
The data should be ext4 format. Could u mount system and check if there's any file in system folder also u might need to resize system as well since u only have 19mb as well.
How should I install the firmware again? Through flashable zip or through dload folder and hold vol up and down when restarting phone? Thank you for your patience, I know I am taking a lot of your time with this.

Regards

Lee

Sent from my FRD-L09 using Tapatalk
 
L

LastStandingDroid

Guest
How should I install the firmware again? Through flashable zip or through dload folder and hold vol up and down when restarting phone? Thank you for your patience, I know I am taking a lot of your time with this.

Regards

Lee
I'd use twrp to flash it.since u won't have to roll back again

Sent from my FRD-L09 using Tapatalk
 

thel2dab

Senior Member
Nov 29, 2011
60
40
0
I'd use twrp to flash it.since u won't have to roll back again

Sent from my FRD-L09 using Tapatalk
Thanks. It seems to reflash ok in TWRP but after the flash completes. I need to factory reset but I am back to to stock recovery. It seems that flashing the update.zip overwrites the recovery. (I assume this is expected?)

Thanks again for your help. Is there is anything else I can try to get this to work?

Regards
 
L

LastStandingDroid

Guest
Thanks. It seems to reflash ok in TWRP but after the flash completes. I need to factory reset but I am back to to stock recovery. It seems that flashing the update.zip overwrites the recovery. (I assume this is expected?)

Thanks again for your help. Is there is anything else I can try to get this to work?

Regards
Yes the recovery is replaced after flash back stock. Did it boot after reflashed?

Strange are you having Vendor And product option available in Mount restore and backup? To see if they are properly flashed?




Again install update.zip 7.0, but the system will not boot...
Did you get the data to work in TWRP? I think the boot.img is the issue here tbh. Since I neither can't boot unless I use a supersu fixed image.

Sent from my FRD-L09 using Tapatalk
 
L

LastStandingDroid

Guest
Ok w8 I'll fix a twrp that will make the installation of su system less mode possible but u will be forced to remove su.img from /data/ else it won't boot

fastboot flash this: http://www21.zippyshare.com/v/7YNPp3AI/file.html

Before You Flash SuperSU-Systemmode you need to mount system & /vendor first since the Sepolicy is located in the "Vendor" Partition for reasons i won't bother to explain.

Once Flashed Mount Data again (if it gets unmounted, mount system) and navigate to /data and remove su.img

This will make N booting

Sent from my FRD-L09 using Tapatalk
 
Last edited:

kep2008

Senior Member
Feb 27, 2016
353
652
93
Slutsk
Yes the recovery is replaced after flash back stock. Did it boot after reflashed?

Strange are you having Vendor And product option available in Mount restore and backup? To see if they are properly flashed?




Did you get the data to work in TWRP? I think the boot.img is the issue here tbh. Since I neither can't boot unless I use a supersu fixed image.

Sent from my FRD-L09 using Tapatalk
/data is mounted only with /system, but the installation files still contain errors /data/media

mount -o bind /data/media /sdcard process ended with ERROR 255
 
Last edited:
L

LastStandingDroid

Guest
/data is mounted only with /system, but the installation files still contain errors /data/media

mount -o bind /data/media /sdcard process ended with ERROR 255
Did u use the new recovery? If so that is for now common since it uses a different mount file rather than busbox version) that's why this message comes

In fact I copied over the "original" mount file from stock recovery but it isn't copying the compete file as it's only 6b so it'll stay until I try fix it.

Sent from my FRD-L09 using Tapatalk
 
Last edited: