problem with flashing rom - Huawei P20 Lite Questions & Answers

Hi guys,
i unlocked the bootloader of my p20lite with PotatoNV and i installed TWRP recovery.
Then i wiped alla data including internal storage. I tried to flashing some ROM (with zip file and with img file), but they don't work(it seems they aren't installed), at every reboot system smartphone shows me TWRP recovery.
I don't know what to do. Do you have any tips please?
Thank you
After attached image i show only TWRP

freddie993 said:
Hi guys,
i unlocked the bootloader of my p20lite with PotatoNV and i installed TWRP recovery.
Then i wiped alla data including internal storage. I tried to flashing some ROM (with zip file and with img file), but they don't work(it seems they aren't installed), at every reboot system smartphone shows me TWRP recovery.
I don't know what to do. Do you have any tips please?
Thank you
After attached image i show only TWRP
Click to expand...
Click to collapse
Look here
https://forum.xda-developers.com/t/i-bricked-my-p20-lite.4449545/#post-86936013

Hi tried to follow those instructions . When i hold both volume button i receive attached screen. i tried to install ROM with sideload method but nothing to do.

freddie993 said:
Hi tried to follow those instructions . When i hold both volume button i receive attached screen. i tried to install ROM with sideload method but nothing to do.
Click to expand...
Click to collapse
Hi,
in fastboot mode run commands :
fastboot oem get-build-number
fastboot oem get-product-model
fastboot getvar vendorcountry
fastboot oem oeminforead-CUSTOM_VERSION
fastboot oem oeminforead-SYSTEM_VERSION
and post the results.
Some might fail, so don't worry about it.

i can't access in fastboot mode neither from TWRP

i did it @-Alf-

freddie993 said:
i did it @-Alf-
Click to expand...
Click to collapse
does this mean problem solved?

-Alf- said:
does this mean problem solved?
Click to expand...
Click to collapse
unfortunately no , i tried to install system via fastboot but at the reboot i show TWRP....

freddie993 said:
unfortunately no , i tried to install system via fastboot but at the reboot i show TWRP....
Click to expand...
Click to collapse
In fastboot mode flash stock recovery_ramdisk, download Here
Use command fastboot flash recovery_ramdisk RECOVERY_RAMDISK-9.1.img, then run command
fastboot erase userdata, and reboot.

-Alf- said:
In fastboot mode flash stock recovery_ramdisk, download Here
Use command fastboot flash recovery_ramdisk RECOVERY_RAMDISK-9.1.img, then run command
fastboot erase userdata, and reboot.
Click to expand...
Click to collapse
with this command i resolved, the ROM has been installed Thank you , but now i must install again twrp?

freddie993 said:
now i must install again twrp?
Click to expand...
Click to collapse
if you need it ...
My little advice - install TWRP instead of eRecovery, it makes things easier... And please use RECOMMENDED TWRP , not this sh... 3.5.2 and above.

-Alf- said:
if you need it ...
My little advice - install TWRP instead of eRecovery, it makes things easier... And please use RECOMMENDED TWRP , not this sh... 3.5.2 and above.
Click to expand...
Click to collapse
i'd installed
twrp-3.6.1_9-0-anne is this wrong for you??

freddie993 said:
i'd installed
twrp-3.6.1_9-0-anne is this wrong for you??
Click to expand...
Click to collapse
this TWRP has caused you problems, but I will not force my opinion on you.
Happy flashing!

-Alf- said:
this TWRP has caused you problems, but I will not force my opinion on you.
Happy flashing!
Click to expand...
Click to collapse
don't worry. thank you very much for your tips

freddie993 said:
don't worry. thank you very much for your tips
Click to expand...
Click to collapse
hey hi id like to know which version of twrp you ended up installing? if any.
had the same issue as you and solved it the same way but id like to keep twrp as my main recovery

James1807 said:
hey hi id like to know which version of twrp you ended up installing? if any.
had the same issue as you and solved it the same way but id like to keep twrp as my main recovery
Click to expand...
Click to collapse
hi, sorry for waiting, i have 3.5.1 version

freddie993 said:
hi, sorry for waiting, i have 3.5.1 version
Click to expand...
Click to collapse
ok and uh any special procedure to keep twrp as your main? or you just flashed it to the recovery like that and thats it?

James1807 said:
ok and uh any special procedure to keep twrp as your main? or you just flashed it to the recovery like that and thats it?
Click to expand...
Click to collapse
just flashed to the main recovery, but they both remained and for enter in the twrp i must push vol up+down togheter.

Related

Root Access on Miui 8.1 Global rom without Volume up Key

Hi Guys,
I'm trying to add root access to my Miui 8.1 global rom but my volume up key doesn't work so I can't go into recovery to do this. Does anyone know of another way?
Much appreciated
Assuming your TWRP image file is named TWRP.img and it's in your current directory, try
Code:
fastboot boot TWRP.img
That should reboot your device reading the image from your PC.
Make any adjustment to the above command according to your twrp image file name.
This just installs TWRP which I've already done. I need to be able to boot into it.
rndm said:
This just installs TWRP
Click to expand...
Click to collapse
That should be
Code:
fastboot [B]flash recovery[/B] TWRP.img
Did you try before replying?
rndm said:
This just installs TWRP which I've already done. I need to be able to boot into it.
Click to expand...
Click to collapse
Have you tried through adb (adb reboot recovery)?
ser.clansman said:
Have you tried through adb (adb reboot recovery)?
Click to expand...
Click to collapse
How do I do that?
gnazio said:
That should be
Code:
fastboot [B]flash recovery[/B] TWRP.img
Did you try before replying?
Click to expand...
Click to collapse
Thanks for the reply...when you say "that" what exactly are you referring to?
Can you notice the difference in the two commands I wrote?
I'm referring to the part of your message I've quoted.

Help! I bricked my device

Hello,
1.Ive rooted my phone emui 4.1 with kingroot
2. I've flashed Official twrp 3.0.2
3. After booting in twrp I tried to clear cache but it unable to clear cache.
4. Then I've force rebooted to recovery then all partitions got unmounted (shocked)
5. So I flashed mm kang ROM then phone bricked so I thought that stock recovery may mount all partitions so I flashed stock recovery (back up)
6. Finally I'm unable to boot in stock recovery and ROM
7. What do u think guys? How to solve this issue ??
Any one faced same problem?
***Main thing is what ever I try to push a file from adb to phone in fastboot mode (ex- recovery,boot.IMG) it says "writing recovery failed:command not allowed". why I'm getting this error ?? I've unlocked bootloader too ***
Thank you!
.
Martin213 said:
Restore backup of stock rom if you able to boot in twrp.Did you try flash with huawei multitool?
Sent from Paris with love ?
Click to expand...
Click to collapse
I tried but partitions are unmounted so its not booting up,struck at Honor logo
How to solve this???
Pranav Kumar said:
How to solve this???
Click to expand...
Click to collapse
if bootloader works: download official image, use fastboot flash commands to flash all parts
otherwise
download official image from huawai, (update.app) copy to sd, boot phone with all 3 buttons pressed. it shold boot into some recovery.
endrancer said:
if bootloader works: download official image, use adb flash commands to flash all parts
otherwise
download official image from huawai, (update.app) copy to sd, boot phone with all 3 buttons pressed. it shold boot into some recovery.
Click to expand...
Click to collapse
I tired pushing recovery image to device but command says "writing recovery,failed (command not allowed)"
And I tried update.app in SD card in a folder dload tried 3button method also, but it is not booting in recovery right how it can take update?
Pranav Kumar said:
I tired pushing recovery image to device but command says "writing recovery,failed (command not allowed)"
And I tried update.app in SD card in a folder dload tried 3button method also, but it is not booting in recovery right how it can take update?
Click to expand...
Click to collapse
are you able to boot into bootloader? is "fastboot devices" command showing anything?
eddor1614 said:
are you able to boot into bootloader? is "fastboot devices" command showing anything?
Click to expand...
Click to collapse
Yes its showing
Pranav Kumar said:
Yes its showing
Click to expand...
Click to collapse
have you extracted BOOT, RECOVERY, SYSTEM and CUSTOM from huawei package?
eddor1614 said:
have you extracted BOOT, RECOVERY, SYSTEM and CUSTOM from huawei package?
Click to expand...
Click to collapse
Yes I tried but when file is being pushed to phone it says failed (command not allowed) repeats
Can you see "phone unlocked" on screen?
Yeah, sounds like locked bootloader.
Gsavas said:
Yeah, sounds like locked bootloader.
Click to expand...
Click to collapse
No bro I've unlocked bootloader
And I can see *phone unlocked" in fastboot mode
Gsavas said:
Yeah, sounds like locked bootloader.
Click to expand...
Click to collapse
have you tried flashing BOOT or SYSTEM partitions?
Pranav Kumar said:
No bro I've unlocked bootloader
And I can see *phone unlocked" in fastboot mode
Click to expand...
Click to collapse
You could try to reinstall drivers then or try a different pc.
Gsavas said:
You could try to reinstall drivers then or try a different pc.
Click to expand...
Click to collapse
Tried and I got same error(failed(command not allowed))
Do you have hisuite? If not try uninstalling drivers then install hisuite and try flashing with fastboot then. By the way does your device get recognised when you type "fastboot devices" command?
that's strange.
have you tried booting into second recovery?
eddor1614 said:
that's strange.
have you tried booting into second recovery?
Click to expand...
Click to collapse
Yes in eRecovery I can see "update recovery" after connecting to wifi it says "failed to get device info"
I ran out of options.
You might want to try all the same, using different UPDATE.APP version, like B180 or B200, using a different cable, different computer, etc.
Then next step will be Huawei support, it might be a memory/hardware problem.
Sorry man.

[RECOVERY]TWRP 3.2.1-0 for Red Magic

On your device, go into Settings -> About and find the Build Number and tap on it 7 times to enable developer settings. Press back and go into Developer Options and enable OEM unlocking.
unlock bootloader and flash twrp
Code:
fastboot oem nubia_unlock NUBIA_NX609J
Code:
fastboot flash recovery recovery.img
download
https://drive.google.com/open?id=1VzUS999ZS_yc6GtcKngA6GrlTpOZp2P5
Sources
https://github.com/youyim123/android_device_nubia_nx609j
Came up in Chinese, but everything is working after changing the language setting over. Thanks.
Hi friends, if I would like return to Stock Recovery, ¿Where I find stock recovery and How flash?
Thanks for this work
Hi, someone can help me? Thnaks
sakilxda said:
Hi, someone can help me? Thnaks
Click to expand...
Click to collapse
Finally I resolved this problem. I found other Recovery.img working
sakilxda said:
Hi friends, if I would like return to Stock Recovery, ¿Where I find stock recovery and How flash?
Thanks for this work
Click to expand...
Click to collapse
Ok, I´m resolved this.
If you need install Stock Recovery you need download a Oficial Stock firmware "Zip" and extract the Stock recovery to the this "Zip" file, and you repeat this metod with Stock Recovery
Am I the only one having problems with fastboot on Windows 10?
sakilxda said:
Hi, someone can help me? Thnaks
Click to expand...
Click to collapse
bro i need fastboot drivers please
in mi system dont hace driver and y my devices onlye hace android =( help me me has win10
Sorry, long time ago tha I haven´t visited XDA.
I have used the drivers of video´s link but i had to test many drivers. It was very dificult for my too.
Actually I don´t know wich was the drives that i used, sorry.
if you have once used some fastboot drivers for some device on windows 10, chances are most probably you will have issues with detecting other devices in fastboot mode . Either boot with linux or reinstall windows 10 is the only solution imho
sakilxda said:
Finally I resolved this problem. I found other Recovery.img working
Click to expand...
Click to collapse
Please provide this working twrp which solved this problem..as i am also facing the same issue
munmun said:
Please provide this working twrp which solved this problem..as i am also facing the same issue
Click to expand...
Click to collapse
Hello, have you visited my video link? There, there is different links in the description that you can find the recovery I used. It's long time ago and maybe is actualliced now.
sakilxda said:
Hello, have you visited my video link? There, there is different links in the description that you can find the recovery I used. It's long time ago and maybe is actualliced now.
Click to expand...
Click to collapse
When i try to reboot in twrp it boots into recovery for 2-3 sec and then again reboots to system
munmun said:
When i try to reboot in twrp it boots into recovery for 2-3 sec and then again reboots to system
Click to expand...
Click to collapse
Maybe your Recovery isn't good.
Try flash one more time or another recovery
Same issue I m face. When I flash twrp then go to recovery mode. Then they off and start with stock revery. And mobile repat lock bootloader
---------- Post added at 05:03 PM ---------- Previous post was at 05:01 PM ----------
I m try all official twrp. But face same issue
sakilxda said:
Maybe your Recovery isn't good.
Try flash one more time or another recovery
Click to expand...
Click to collapse
I have tried multiple..but unable to boot into recovery...it would be very helpful of you if you could provide that recovery that worked on your phone.
As i am also unable to boot into recovery with command "fastboot boot recovery.img"
munmun said:
I have tried multiple..but unable to boot into recovery...it would be very helpful of you if you could provide that recovery that worked on your phone.
As i am also unable to boot into recovery with command "fastboot boot recovery.img"
Click to expand...
Click to collapse
Sorry but this was long ago and I can't remember.
munmun said:
I have tried multiple..but unable to boot into recovery...it would be very helpful of you if you could provide that recovery that worked on your phone.
As i am also unable to boot into recovery with command "fastboot boot recovery.img"
Click to expand...
Click to collapse
Try this one: http://www.mediafire.com/file/45qwt6i4ccdnjd0/recovery.img/file
you need first to unlock bootloader (you need to be in bootmode):
fastboot oem nubia_unlock NUBIA_NX609J
Just after that you can flash recovery.img:
fastboot flash recovery recovery.img
After this you can go back to recovery from boot menu navigating with up/down key and confirm with Power button!
:fingers-crossed:
ABM30 said:
Try this one: http://www.mediafire.com/file/45qwt6i4ccdnjd0/recovery.img/file
you need first to unlock bootloader (you need to be in bootmode):
fastboot oem nubia_unlock NUBIA_NX609J
Just after that you can flash recovery.img:
fastboot flash recovery recovery.img
After this you can go back to recovery from boot menu navigating with up/down key and confirm with Power button!
:fingers-crossed:
Click to expand...
Click to collapse
I have tried this as well but twrp boots up for a 2-3 sec & then phobe reboots to system again..
With fastboot boot recovery.img, same results are seen
munmun said:
I have tried this as well but twrp boots up for a 2-3 sec & then phobe reboots to system again..
With fastboot boot recovery.img, same results are seen
Click to expand...
Click to collapse
which ROM do you have installed?
There is a chance to need to flash an original recovery (you can find it in original 8.1 ROM from Nubia), than boot in recovery and erase cache and data (IT WILL ERASE ALSO INTERNAL MEMORY!...SO BACK UP) and than unlcok bootloader, flash TWRP, flash ROM, flash bluespark boot.img

Need your help, stuck with no ROM

Hey, my situation no is:
BootLoader unlocked
TWRP installed
No ROM
And now my phone is empty, no old ROM, no new one. It makes situation much harder cuz i dont have SD card or OTG cable.
Any idea how i could get custom or stock ROM installed?
LycanRS said:
Hey, my situation no is:
BootLoader unlocked
TWRP installed
No ROM
And now my phone is empty, no old ROM, no new one. It makes situation much harder cuz i dont have SD card or OTG cable.
Any idea how i could get custom or stock ROM installed?
Click to expand...
Click to collapse
Reboot into eRecovery and try to update your phone using option "Download latest version etc...." . It requires good wifi connection.
-Alf- said:
Reboot into eRecovery and try to update your phone using option "Download latest version etc...." . It requires good wifi connection.
Click to expand...
Click to collapse
Tried it, fails.
Have you tried install custom ROM , e.g. caos, losq-224 , alpha-ROM from fastboot? It should work. Make sure to have the stock recovery flash , before booting up the ROM, you will need to perform a factory reset in stock recovery.
-Alf- said:
Have you tried install custom ROM , e.g. caos, losq-224 , alpha-ROM from fastboot? It should work. Make sure to have the stock recovery flash , before booting up the ROM, you will need to perform a factory reset in stock recovery.
Click to expand...
Click to collapse
I tried caos, losq, lineage 16 through fastboot. Always fails. Error 7, error 9..
How do i get stock recovery back?
Btw thanks for your time Alf
LycanRS said:
Always fails. Error 7, error 9..
Click to expand...
Click to collapse
Error 7 in fastboot ? , never seen...in TWRP only, due to incompatible script in META-INF.
LycanRS said:
How do i get stock recovery back?
Click to expand...
Click to collapse
Without SD card or OTG ? I'm out of ideas bro.
Try fastboot flash stock recovery and stock erecovery
Then boot into erecovery and download?
Erecovery restore can fail with twrp installed as recovery
Videophile said:
Try fastboot flash stock recovery and stock erecovery
Then boot into erecovery and download?
Erecovery restore can fail with twrp installed as recovery
Click to expand...
Click to collapse
I could try that, but where do i get the files?
Videophile said:
Then boot into erecovery and download?
Click to expand...
Click to collapse
LycanRS said:
Tried it, fails.
Click to expand...
Click to collapse
@LycanRS , what's your region? C...?
IMO you can try to flash stock system.img from fastboot.
In fastboot mode run commands:
fastboot oem get-build-number
fastboot oem get-product-model
fastboot getvar vendorcountry
and post the results.
Stock recovery EMUI 9.1 download
Just bought a MicroSD card. What do i do?
LycanRS said:
What do i do?
Click to expand...
Click to collapse
https://forum.xda-developers.com/t/need-your-help-stuck-with-no-rom.4233327/post-84677259
Videophile said:
Try fastboot flash stock recovery
Click to expand...
Click to collapse
Got stock erecovery, downloading stock image over wifi now
LycanRS said:
VNS-L21
Click to expand...
Click to collapse
Wrong section bro...
Okay, got back to stock rom
EMUI 9.1.0.132(C432E5R1P7)
-Alf- said:
Wrong section bro...
Click to expand...
Click to collapse
What GSI would you recommend?

[SOLVED] How to flash LineageOS properly on the Huawei P20 Lite.

Hi all,
I'm starting to lose hope to get that thing working, despite following many tutorial, so I'm seeking a little help.
I got a Huawei P20 Lite because of battery issue that I fixed because it's a good training for me.
I fixed the battery and I also took the opportunity to Unlock it with the 2 pins and the PotatoNV tool. That part worked great and I'm now Phone and FRP Unlocked but them it went a little downhill and I may have soft-bricked it.
I'm used to Xiaomi phone where it's easy: unlock the bootloader, flash TWRP or OrangeFox, flash ROM, wipe thing and enjoy.
But here, I had to learn to flash a recovery_ramdisk and boot into it. The issue I had with TWRP is I can't seem to "format" Data, the partition is in F2FS and it stay stuck at "Done". So I tried multi tutorial, multi recovery version (TWRP and "stock") and multiple ROM with always issue to the point that now, it stay stuck at the TWRP logo or stuck at the warning when using the stock e-recovery.
I'm trying to understand the exact process to get it to work because following the Lineage tutorial, I get stuck at the wiping of Data and trying to find the right recovery and ROM so I not only can get the phone working but also be able to do update if it's possible on this phone.
I try to reuse the phone instead of putting it in recycle.
Thank for your help!
Hockpold said:
I'm trying to understand the exact process
Click to expand...
Click to collapse
https://forum.xda-developers.com/t/losq-lir-lineageos-17-1-18-1-unofficial-gsi.4219291/post-84305543
-Alf- said:
https://forum.xda-developers.com/t/losq-lir-lineageos-17-1-18-1-unofficial-gsi.4219291/post-84305543
Click to expand...
Click to collapse
It stay stuck at the warning when using the eRecovery, so while I can send it, I can't Wipe Data/Factory Reset and through TWRP it also get stuck.
Hockpold said:
It stay stuck at the warning when using the eRecovery, so while I can send it, I can't Wipe Data/Factory Reset and through TWRP it also get stuck.
Click to expand...
Click to collapse
I don't know what the problem is, it works for me and you are the first one to have this problem.
Btw, it's not an eRecovery, it's Recovery .
Follow instructions in OP and use stock Recovery EMUI 9.1.
-Alf- said:
I don't know what the problem is, it works for me and you are the first one to have this problem.
Btw, it's not an eRecovery, it's Recovery .
Follow instructions in OP and use stock Recovery EMUI 9.1.
Click to expand...
Click to collapse
Where can I find the stock recovery? The other post it's either TWRP or the eRecovery.
Hockpold said:
Where can I find the stock recovery? The other post it's either TWRP or the eRecovery.
Click to expand...
Click to collapse
Are you sure?
-Alf- said:
To remove Magisk reinstall stock recovery_ramdisk via TWRP or fastboot , download Here
Click to expand...
Click to collapse
-Alf- said:
Are you sure?
Click to expand...
Click to collapse
Yeah, this one stay stuck at the yellow warning. I still have access to fastboot without issue.
Hockpold said:
Yeah, this one stay stuck at the yellow warning. I still have access to fastboot without issue.
Click to expand...
Click to collapse
In fastboot mode run commands:
fastboot oem get-build-number
fastboot oem get-product-model
fastboot getvar vendorcountry
fastboot oem oeminforead-CUSTOM_VERSION
fastboot oem oeminforead-SYSTEM_VERSION
and post the results .
-Alf- said:
In fastboot mode run commands:
fastboot oem get-build-number
fastboot oem get-product-model
fastboot getvar vendorcountry
fastboot oem oeminforead-CUSTOM_VERSION
fastboot oem oeminforead-SYSTEM_VERSION
and post the results .
Click to expand...
Click to collapse
Alright, here:
* get-build-number:
ANE-LX1 9.1.0.373(C109E7R1P3)
* get-product-model
ANE-LX1
* vendorcountry
orange/all
*oeminforead-CUSTOM_VERSION
ANE-LX1-CUST 9.1.0.7(C109)
*oeminforead-SYSTEM_VERSION
ANE-LX1 8.0.0.155(C109)
You might wanna take a look at my guide.
[GUIDE] [EMUI9] P20 Lite Basics
Special key combos: Power + Vol+ = Recovery Mode While USB connected, Power + Vol+ = Erecovery Mode While USB connected, Vol- = Fastboot Plug USB while holding down Vol+ + Vol- = Download Mode Power + Vol+ + Vol- = Force Dload Flashing Any GSI...
forum.xda-developers.com
Alright, seem like it worked.
I still have the issue that made me into this mess where I can't connect to a password protected Wi-Fi network (and the option to force to stay connected doesn't seem on CAOS unlike Lineage) but at least the rest is working, thank you.
Hockpold said:
I can't connect to a password protected Wi-Fi network
Click to expand...
Click to collapse
It should work with stock Kernel...
-Alf- said:
It should work with stock Kernel...
Click to expand...
Click to collapse
Does https://forum.xda-developers.com/t/kernel-emui-9-p20-lite-phenix-kernel.4241503/ should also work or only the stock one?
Hockpold said:
Does https://forum.xda-developers.com/t/kernel-emui-9-p20-lite-phenix-kernel.4241503/ should also work or only the stock one?
Click to expand...
Click to collapse
Yes, if you started from
TureX said:
Emui version < 9.1.0.300
Click to expand...
Click to collapse
-Alf- said:
Yes, if you started from
Click to expand...
Click to collapse
Alright, so just a fastboot flash kernel phenix.img or should I also do a factory reset (or reflash something else after)?
-Alf- said:
Yes, if you started from
Click to expand...
Click to collapse
HI!
This wifi problem has been fixed, I will release an img as soon as possible.
Cheers
Hockpold said:
Alright, so just a fastboot flash kernel phenix.img or should I also do a factory reset (or reflash something else after)?
Click to expand...
Click to collapse
if you have TWRP installed select Wipe > Advanced wipe > Dalvik/ART Cache, nothing else.
TureX said:
HI!
This wifi problem has been fixed, I will release an img as soon as possible.
Cheers
Click to expand...
Click to collapse
Oh!
That's very nice to hear, I'll be finally able to give a new life to this phone.

Categories

Resources