• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[TWRP][FIGO][EMUI-9.x] TWRP 3.4 for Huawei P Smart 2018

haky 86

Recognized Contributor
Oct 5, 2012
3,321
7,381
113
Hama (Syria)
Hi folks

this is TWRP 3.3.1-0 for our beloved Huawei P Smart 2018 based on EMUI 9.x firmware.

Bugs
  • ADB is "unauthorized".
  • MTP (it is a common bug, I test Charlotte TWRP on our phone looks like doesn't work even on official version) so use sideload.

Changes


Downloads
https://sourceforge.net/projects/huawei-p-smart-2018/files/EMUI-9.x/TWRP/


XDA:DevDB Information
TWRP Recovery for P Smart 2018, ROM for the Huawei P Smart

Contributors
haky 86
Source Code: https://github.com/hak86/android_device_huawei_figo-twrp

ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
ROM Firmware Required: Emui-9.x
Based On: LineageOS/AOSP

Version Information
Status: Alpha
Stable Release Date: 2019-10-08
Beta Release Date: 2019-10-08

Created 2019-10-08
Last Updated 2019-10-08
 

Attachments

Last edited:

punteruk

Senior Member
Jan 18, 2016
107
15
0
@haky 86
Got a problem with my phone hanging on the TWRP startup screen (I was trying to load the latest lineageos and it went tits up!)
error is FAILED (remote: 'partition length get error') when I perform 'fastboot flash recovery'
I also tried 'fastboot flash recovery_ramdisk' and that writes successfully BUT when rebooting still gets stuck on TWRP screen
Any ideas?
Thanks!
 

haky 86

Recognized Contributor
Oct 5, 2012
3,321
7,381
113
Hama (Syria)
@haky 86
Got a problem with my phone hanging on the TWRP startup screen (I was trying to load the latest lineageos and it went tits up!)
error is FAILED (remote: 'partition length get error') when I perform 'fastboot flash recovery'
I also tried 'fastboot flash recovery_ramdisk' and that writes successfully BUT when rebooting still gets stuck on TWRP screen
Any ideas?
Thanks!
did you wipe data with twrp? if yes do a factory reset using stock recovery.
 

punteruk

Senior Member
Jan 18, 2016
107
15
0
did you wipe data with twrp? if yes do a factory reset using stock recovery.
yes , looks like I accidentally wiped everything with twrp :(
I can't get into emui erecovery now for stock recovery....
I can get into 'FASTBOOT&RESCUE MODE' and tried to format cache and userdata in case that helped but this is the error
fastboot format cache
FAILED (remote: 'Command not allowed')
fastboot: error: Command failed
(it shows Phone unlocked and FRP unlock)
Any more ideas gratefully received thanks!
 

Sabri.Gharbi

New member
Jul 26, 2018
3
0
0
@haky 86
Got a problem with my phone hanging on the TWRP startup screen (I was trying to load the latest lineageos and it went tits up!)
error is FAILED (remote: 'partition length get error') when I perform 'fastboot flash recovery'
I also tried 'fastboot flash recovery_ramdisk' and that writes successfully BUT when rebooting still gets stuck on TWRP screen
Any ideas?
Thanks!
1: u can break the loop by clicking (volume up + volume down + power button)
ignore the error and select reboot system

2: or u can flash the official emui recovery by (fastboot flash recovery_ramdisk RECOVERY.img)

official recovery for emui 9 : i cant post outside links before 10 posts ...
 

punteruk

Senior Member
Jan 18, 2016
107
15
0
1: u can break the loop by clicking (volume up + volume down + power button)
ignore the error and select reboot system

2: or u can flash the official emui recovery by (fastboot flash recovery_ramdisk RECOVERY.img)

official recovery for emui 9 : i cant post outside links before 10 posts ...
re 1 tried all sorts of methods including letting the phone battery completely run out.....none work......dunno if it is because I can't actually power off the phone
re 2 I've tried flashing haky's recovery here https://sourceforge.net/projects/figo/files/stock_images/9.1_stock_rec.img/ and that doesn't work either
:(
Edit: I can get the phone to do this but it never goes into erecovery
 
Last edited:

ilvidel

New member
Sep 26, 2020
1
0
0
problem flashing

Hello,
I'm trying to install TWRP, and when I reboot into bootloader, I get this screen (phone is connected to PC with cable, ignore the message):


Then, I try to flash the TWRP image, but I get this error:
Code:
$ fastboot flash recovery twrp-3.4.0.0-v1-hi6250-emui9.img 
target reported max download size of 471859200 bytes
sending 'recovery' (13308 KB)...
OKAY [  0.379s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 0.385s
Is this because of FRP? I've been searching how to bypass/disable it, but haven't found any working method yet.
What do I need to do?
 

haky 86

Recognized Contributor
Oct 5, 2012
3,321
7,381
113
Hama (Syria)
Hello,
I'm trying to install TWRP, and when I reboot into bootloader, I get this screen (phone is connected to PC with cable, ignore the message):


Then, I try to flash the TWRP image, but I get this error:
Code:
$ fastboot flash recovery twrp-3.4.0.0-v1-hi6250-emui9.img 
target reported max download size of 471859200 bytes
sending 'recovery' (13308 KB)...
OKAY [  0.379s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 0.385s
Is this because of FRP? I've been searching how to bypass/disable it, but haven't found any working method yet.
What do I need to do?
unlock your bootloader device first.
 

Hawaii_Beach

Senior Member
Apr 25, 2015
67
16
0
Hi I've found a couple of issues with the recovery:
- Backing up the partition "Data (excl storage)" results in a "createTarFork() process ended with ERROR: 255" error
- Updating official FIGO lineage 16 firmware with inbuilt updater from 2020-09-25 to 2020-10-02 made my device not bootable anymore, had to restore it back to EMUI firmware :/ Is it because something with erasing data is broken?
- The "install image" button doesn't allow you to flash recovery_ramdisk, so we can't update TWRP via TWRP.
- In "Wipe" there's three partitions all named "Storage", I'm assuming they have some other real name

Cheers for your work haky it's really appreciated! Without your and I_am_Gelber's endless hours put developing for this phone it would be garbage in my opinion, no one here taking it for granted! Also would it possible for this twrp to become official?

By the way MTP works perfect for me
 
Last edited:

haky 86

Recognized Contributor
Oct 5, 2012
3,321
7,381
113
Hama (Syria)
Hi I've found a couple of issues with the recovery:
- Backing up the partition "Data (excl storage)" results in a "createTarFork() process ended with ERROR: 255" error
- Updating official FIGO lineage 16 firmware with inbuilt updater from 2020-09-25 to 2020-10-02 made my device not bootable anymore, had to restore it back to EMUI firmware :/ Is it because something with erasing data is broken?
- The "install image" button doesn't allow you to flash recovery_ramdisk, so we can't update TWRP via TWRP.
- In "Wipe" there's three partitions all named "Storage", I'm assuming they have some other real name

Cheers for your work haky it's really appreciated! Without your and I_am_Gelber's endless hours put developing for this phone it would be garbage in my opinion, no one here taking it for granted! Also would it possible for this twrp to become official?

By the way MTP works perfect for me
I'd but I give my fig-lx1 to nephew temporary
 

fatih4261

Member
Dec 14, 2018
12
0
0
Hi folks

this is TWRP 3.3.1-0 for our beloved Huawei P Smart 2018 based on EMUI 9.x firmware.

Bugs
  • ADB is "unauthorized".
  • MTP (it is a common bug, I test Charlotte TWRP on our phone looks like doesn't work even on official version) so use sideload.

Changes


Downloads
https://sourceforge.net/projects/huawei-p-smart-2018/files/EMUI-9.x/TWRP/


XDA:DevDB Information
TWRP Recovery for P Smart 2018, ROM for the Huawei P Smart

Contributors
haky 86
Source Code: https://github.com/hak86/android_device_huawei_figo-twrp

ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
ROM Firmware Required: Emui-9.x
Based On: LineageOS/AOSP

Version Information
Status: Alpha
Stable Release Date: 2019-10-08
Beta Release Date: 2019-10-08

Created 2019-10-08
Last Updated 2019-10-08
stock rom also used?