VNS-L31 P9 Lite Bricked - Huawei P9 Lite Questions & Answers

Hi here !
I own a VNS-L31
Bootloader is unlocked
I tried to update to Android 7, but I bricked it because of the recovery was a TWRP for Android 6
Now, the device is bricked to the loading screen.
So, I tried with fastboot to flash files.
fastboot flash boot BOOT.img -> OK
fastboot flash recovery RECOVERY.img -> OK
but :
fastboot flash system SYSTEM.img -> I get the same error :
target reported max download siez of 471859200 bytes
sending sparse 'system' <451240 KB>
OKAY ( 20.390s)
writing 'system'...
FAILED (remote: sparse flash write failure)
finished. Total time: 20.720s
Click to expand...
Click to collapse
I tried with the toolkit to flash the 4 images, but I always get the same answer : no device detected! blabla
However, the drivers are installed. I installed HISuite before all these...
What I can do now with myt brick :
boot to fastboot mode
boot to eRecovery (but no way to download anything, I doesn't work...)
nothing else.
I read this forum and all posts relative to P9 Lite brick, but I can't do anything until the SYSTEM.img file is written to the phone
Thank you for reading me

1. Download adb drivers...search on Google adb all in one installer it's on xda forums.
2. Download adb minimal package also search on Google and it's also on xda.
Try those 2first .

Kcetin20 said:
1. Download adb drivers...search on Google adb all in one installer it's on xda forums.
2. Download adb minimal package also search on Google and it's also on xda.
Try those 2first .
Click to expand...
Click to collapse
Hi
ADB drivers are already installed, by the method you given.
I can use ADB, the P9 is recognized.
The problem occurs always and only with the toolkit. My device is not recognized with it...
I can flash recovery, I was able to use dload, I pushed a Nougat firmware, and now, I have a TWRP recovery, but the phone is always blocked.
With the recovery, I noticed another problem. As you can see on the picture, partitions cannot be mounted. I don't know why...
https://goo.gl/photos/BPb6AHnDMD11gXSS6

Gnubox said:
Hi
ADB drivers are already installed, by the method you given.
I can use ADB, the P9 is recognized.
The problem occurs always and only with the toolkit. My device is not recognized with it...
I can flash recovery, I was able to use dload, I pushed a Nougat firmware, and now, I have a TWRP recovery, but the phone is always blocked.
With the recovery, I noticed another problem. As you can see on the picture, partitions cannot be mounted. I don't know why...
https://goo.gl/photos/BPb6AHnDMD11gXSS6
Click to expand...
Click to collapse
This device is really hard to flash some firmwares....
if you're out of options you can try to use DC Phoenix it cost 10-15$ i believe : https://www.dc-unlocker.com/DC-Phoenix-flash-repair-tutorial

I would try to re-flash Nougat by the dload method first. You could also try to flash VNS-L31C432B160. For some reason it is more readily accepted by a bricked VNS-L31 than other full firmware.
If that fails, I'd resort to DC Phoenix.

Related

[GUIDE] LG G STYLO How to root the T-Mobile 6.0 update

This guide was made before Kingroot was able to root the official update. But thanks to @oskar and @TheDerekHarper on XDA and to @josephwv on Android forums it is now comfirmed that Kingroot will root the official update. But first you must still follow steps #1 through #6 so Kingroot can root your device.
Now before Kingroot was able to root the update I figured out how to root the official update and it is not all to complicated. The following guide will walk you through the root process. But I am not responsible for anything that happens to your devices by using this guide as you are responsible for your device.
What you need:
1. A computer running Linux or Windows with adb and fastboot installed. (I used Ubuntu)
2. If you are using Windows you need all the drivers for your device installed. Linux users will not have to worry about this.
3. A functioning USB cable for your device.
4. Battery charged at least 50% just for safety.
5. The TWRP revovery.img, this is the same TWRP recovery we already have for the LG G Stylo I have just renamed it to recovery.img to make it easier to type the name in while typing fastboot commands.
6. The SuperSU-v2.65-20151226141550.zip by Chainfire. (All credit to Chainfire for this awesome zip.)
How to root your device:
1. I suggest you first go to Settings/General/About Phone/Software info and tap on the "Build number" until it says"You are now a developer". Then back out of until you are in Settings/General and go to "Developer options" and turn "Enable OEM unlock" on. This is to allow TWRP recovery to be able to boot. Also turn on "USB debugging" while you are there.
2. Download the SuperSU-v2.65-20151226141550.zip to your device. You need to move the zip file from your Downloads folder to somewhere on your external SD card as it will not be deleted from there when you use the "fastboot oem unlock" command in step #6.
3. Download the recovery.img to your computer. If you do not have adb and fastboot setup globally for linux or in your path for windows you need to move the recovery.img to the directory your adb and fastboot is in and open a terminal or command line (depending on your OS) in that directory or cd to that directory. If you do have adb and fastboot globally or in your path you can just open a terminal or command line in the directory you have the recovery.img or cd to the directory you have the recovery.img.
4. Once you have the terminal or command line open run the command "adb devices" to make sure your devices is detected by adb. You may get a toast pop up on your device asking if you to "Allow usb debugging". Except this as this is the RSA key you need to allow your computer to communicate with your device via adb. You should see something like "LGH631dffacad9 device" in your terminal or command line. If you see "unauthorized" instead of "device" you have not excepted the RSA key.
5.Now type the following command in your terminal or command line. Type "adb reboot bootloader". This will reboot your device to fastboot mode. Once in fastboot mode use the "fastboot devices" to make sure your device is recognized by fastboot. You should see something like "dffacad9 fastboot". If you are in Linux and get a error message you may have to use "sudo fastboot devices" for fastboot to work. (If you are using Windows and are having trouble with fastboot recognizing your device you need to install the device drivers. If it still does not work install the drivers again with your device connected to your computer in fastboot mode.)
6. To fully unlock your bootloader you have to use the command "fastboot oem unlock". You have to do this or this root method will not work. But be warned that if you do use this command it will factory reset your device. Plus you will get a line of text saying the bootloader is unlocked on the splash screen when you boot your device.
6-1: If you are wanting to use Kingroot to root your device you can reboot your device now. Open the Kingroot app and let it root your device and then use Flashify, Rashr, or a similar app to flash the recovery. Then boot to recovery and flash the SuperSU.zip in recovery and it will remove Kingroot and have SuperSU installed on your device.
7. Now you can do this two ways if you do not want to keep the stock recovery you can use the command "fastboot flash recovery.img" to install the recovery and then use the command "fastboot reboot recovery" to boot to the TWRP recovery. (If this command gives you issue like it seems to be for many then just use the the following method and then use Flashify or Rashr app to install TWRP after you are done rooting.) If you want to keep the stock recovery you can use the command "fastboot boot recovery.img" to boot to the TWRP recovery.
8. Once you are booted to the TWRP recovery you should make a full backup first so you have a backup to restore to in case things go bad. After you make a backup then select install and then find the SuperSU-v2.65-20151226141550.zip and install it. Once it is installed reboot your device to system. If TWRP gives you a warning about the su binaries missing and asks if you want to install thee su binaries before you reboot select no or it will interfere with the rooting process of the SuperSU.zip. When your device reboots it will boot to the LG splash screen and then reboot again. But then it will boot to the OS but it will take a minute. Make sure you let your device reboot all the way to the lockscreen or home screen depending on if you have a lockscreen enabled or not. You should be fully rooted after this, enjoy.
Resserved in case needed later.
Thank you.
target reported max download size of 268435456 bytes
sending 'recovery' (11300 KB)...
OKAY [ 0.359s]
writing 'recovery'...
FAILED (remote: unknown command)
finished. total time: 0.359s
ok so i know this is 100% my fault for not reading, but why would you even include step 6? it wipes everything including the supersu.zip. the files i'm pissed about, but i can get over. mostly music plus some ****ty pictures. contacts can text me. but the main thing is i had to restart my phone, get it started up and everything, then put the super su.zip back onto the phone. just a tedious task.
Can I use this guide with my G4 Stylus (H635)?
wtf... i get this same error
C:\adb>fastboot flash recovery v10.img
target reported max download size of 268435456 bytes
sending 'recovery' (11230 KB)...
OKAY [ 0.390s]
writing 'recovery'...
FAILED (remote: unknown command)
finished. total time: 0.390s
I've tried multiple versions of the TWRP for the g stylo on adroidforum and none of it flashes with the fastboot flash recovery .....img option. Every single one fails. Please tell me how you flashed the recovery... Also I cant run it through Flashify because my SuperSU says no binary is installed... I'm completely lost at this point
aaron2z said:
wtf... i get this same error
C:\adb>fastboot flash recovery v10.img
target reported max download size of 268435456 bytes
sending 'recovery' (11230 KB)...
OKAY [ 0.390s]
writing 'recovery'...
FAILED (remote: unknown command)
finished. total time: 0.390s
I've tried multiple versions of the TWRP for the g stylo on adroidforum and none of it flashes with the fastboot flash recovery .....img option. Every single one fails. Please tell me how you flashed the recovery... Also I cant run it through Flashify because my SuperSU says no binary is installed... I'm completely lost at this point
Click to expand...
Click to collapse
Someone mentioned using the Kingroot app and I gotta admit, I was skepticle at first but after testing. I can confirm it works.
Just go go KingRoot.net, download their apk, install and run the root program. Igll work out of the box after, sadly I couldn't get the above method to work either with super su.
aaron2z said:
wtf... i get this same error
C:\adb>fastboot flash recovery v10.img
target reported max download size of 268435456 bytes
sending 'recovery' (11230 KB)...
OKAY [ 0.390s]
writing 'recovery'...
FAILED (remote: unknown command)
finished. total time: 0.390s
I've tried multiple versions of the TWRP for the g stylo on adroidforum and none of it flashes with the fastboot flash recovery .....img option. Every single one fails. Please tell me how you flashed the recovery... Also I cant run it through Flashify because my SuperSU says no binary is installed... I'm completely lost at this point
Click to expand...
Click to collapse
do the fastboot boot recovery.img so it boots up twrp then flash the supersu zip then boot your phone you should be rooted then flash twrp using flashify
I was getting the same error, ( in step 7 don't flash the recovery )
just use "fastboot boot recovery.img" and it will boot to TWRP without installing it
you can then install SU, ( note ) when you exit or re boot from TWRP it will say SU in not installed do you want to install it, I did the first time and it seemed to hose up, so I did everything over and the second time selected no to re install.
once booted I used flashify to install the TWRP img, and I am able to boot to recovery using Quickboot apk
on a side note I have SU installed, I can use root explorer and other apps that ask for SU access, but Titanium backup
doesn't seem to uninstall apps anymore, they seem to re install after a reboot
Hope this helps yall's
aaron2z said:
wtf... i get this same error
C:\adb>fastboot flash recovery v10.img
target reported max download size of 268435456 bytes
sending 'recovery' (11230 KB)...
OKAY [ 0.390s]
writing 'recovery'...
FAILED (remote: unknown command)
finished. total time: 0.390s
I've tried multiple versions of the TWRP for the g stylo on adroidforum and none of it flashes with the fastboot flash recovery .....img option. Every single one fails. Please tell me how you flashed the recovery... Also I cant run it through Flashify because my SuperSU says no binary is installed... I'm completely lost at this point
Click to expand...
Click to collapse
TheDerekHarper said:
Someone mentioned using the Kingroot app and I gotta admit, I was skepticle at first but after testing. I can confirm it works.
Just go go KingRoot.net, download their apk, install and run the root program. Igll work out of the box after, sadly I couldn't get the above method to work either with super su.
Click to expand...
Click to collapse
I gotta be honest... I'm pretty skeptical to try it. I've read of everyone having either a softbrick boot loop or the root just not staying after reboot. Yours worked for H631 T-mobile 6.0 and stayed? If you confirm T-mobile variant and 6.0 I'll try it. There's a lot of headache with this method for me (not saying it doesn't work). I bricked my phone trying to get the binary files for SU by trying to reroot. But unbricked it with LG Flash Tools and a stock kdz. So I don't want to brick it again twenty minutes later lol
aaron2z said:
I gotta be honest... I'm pretty skeptical to try it. I've read of everyone having either a softbrick boot loop or the root just not staying after reboot. Yours worked for H631 T-mobile 6.0 and stayed? If you confirm T-mobile variant and 6.0 I'll try it. There's a lot of headache with this method for me (not saying it doesn't work). I bricked my phone trying to get the binary files for SU by trying to reroot. But unbricked it with LG Flash Tools and a stock kdz. So I don't want to brick it again twenty minutes later lol
Click to expand...
Click to collapse
Made a tutorial on how to get the marshmallow update (i.e. rom i've used.)
And then afterwards i downloaded Minimal ADB & Fastboot, OEM Unlocked the device (for safety) and downloaded the Kingroot Apk.
Installed it, and just allowed the program to root. It was pretty simple, haven't had any issues (i've even disabled OEM Unlock from the phone & USB Debugging.)
Hell, even adoptable storage is enabled for my phone too (but that's another tutorial from somewhere else.)
I do plan to make a root video, just so someone could see it and grab their opinion.
To be clear: I'm using a metroPCS LG Stylo. Also, only time the phone had issues was when i factory reset it to get rid of root. (didn't work)
so i had to follow the steps from the above tutorial to reflash the stock rom.
jothe1 said:
do the fastboot boot recovery.img so it boots up twrp then flash the supersu zip then boot your phone you should be rooted then flash twrp using flashify
Click to expand...
Click to collapse
well this did it, the root actually worked.
I got a permanent root from the procedure listed on page one of this thread. The only thing I did differently was, when booted into TWRP and you try to re boot the system you will get the question if you want TWRP to install root. If you do allow TWRP to install root, you wont get root. At this point select the option to just reboot the phone. The LG Logo will appear twice before it fully boots. When the device is fully up, you will have root.
Foamp said:
ok so i know this is 100% my fault for not reading, but why would you even include step 6? it wipes everything including the supersu.zip. the files i'm pissed about, but i can get over. mostly music plus some ****ty pictures. contacts can text me. but the main thing is i had to restart my phone, get it started up and everything, then put the super su.zip back onto the phone. just a tedious task.
Click to expand...
Click to collapse
My apologies as I made a typo in the guide. The correct command is "fastboot flash recovery recovery.img" to flash the recovery. I will fix this along with another rework about putting the SusperSU.zip only on your SD card.
oskar5510 said:
Can I use this guide with my G4 Stylus (H635)?
Click to expand...
Click to collapse
I do not know if you can use it or not as I do not have that device. But you can try it bit if your device does not boot to fastboot mode when you issue the adb reboot bootloader command then your device's bootloader is not unlockable and this root method will not work for you. But from the posts in this thread point out that Kingroot now works on the 6.0 update so you can also try Kingroot to see if it willroot your device.
aaron2z said:
wtf... i get this same error
C:\adb>fastboot flash recovery v10.img
target reported max download size of 268435456 bytes
sending 'recovery' (11230 KB)...
OKAY [ 0.390s]
writing 'recovery'...
FAILED (remote: unknown command)
finished. total time: 0.390s
I've tried multiple versions of the TWRP for the g stylo on adroidforum and none of it flashes with the fastboot flash recovery .....img option. Every single one fails. Please tell me how you flashed the recovery... Also I cant run it through Flashify because my SuperSU says no binary is installed... I'm completely lost at this point
Click to expand...
Click to collapse
Again sorry as this is fully my fault for making the typo on the fastboot command to flash recovery. I am fixing it as soon as I am done with this post.
TheDerekHarper said:
Someone mentioned using the Kingroot app and I gotta admit, I was skepticle at first but after testing. I can confirm it works.
Just go go KingRoot.net, download their apk, install and run the root program. Igll work out of the box after, sadly I couldn't get the above method to work either with super su.
Click to expand...
Click to collapse
Thank you for posting this.
jothe1 said:
do the fastboot boot recovery.img so it boots up twrp then flash the supersu zip then boot your phone you should be rooted then flash twrp using flashify
Click to expand...
Click to collapse
Yes this is how I did it when I rooted my device. I will edit the guide some to point this out.
AgainstTheFlow said:
I got a permanent root from the procedure listed on page one of this thread. The only thing I did differently was, when booted into TWRP and you try to re boot the system you will get the question if you want TWRP to install root. If you do allow TWRP to install root, you wont get root. At this point select the option to just reboot the phone. The LG Logo will appear twice before it fully boots. When the device is fully up, you will have root.
Click to expand...
Click to collapse
Thank you for posting this so others can see this does work.
infektedpc said:
target reported max download size of 268435456 bytes
sending 'recovery' (11300 KB)...
OKAY [ 0.359s]
writing 'recovery'...
FAILED (remote: unknown command)
finished. total time: 0.359s
Click to expand...
Click to collapse
I also apologize to you for my mistake. It will be corrected shortly.
TheDerekHarper said:
Made a tutorial on how to get the marshmallow update (i.e. rom i've used.)
And then afterwards i downloaded Minimal ADB & Fastboot, OEM Unlocked the device (for safety) and downloaded the Kingroot Apk.
Installed it, and just allowed the program to root. It was pretty simple, haven't had any issues (i've even disabled OEM Unlock from the phone & USB Debugging.)
Hell, even adoptable storage is enabled for my phone too (but that's another tutorial from somewhere else.)
I do plan to make a root video, just so someone could see it and grab their opinion.
To be clear: I'm using a metroPCS LG Stylo. Also, only time the phone had issues was when i factory reset it to get rid of root. (didn't work)
so i had to follow the steps from the above tutorial to reflash the stock rom.
Click to expand...
Click to collapse
Thanks for posting this I will add this to the post as another option to root seeing as it is comfirmed. I will give credit to you and @oskar for this info.
Is there anyway to do this without wiping your data from 'fastboot oem unlock'? My bootloader keeps saying locked in fastboot mode even though I checked Enable OEM Unlock in settings. It won't let me boot the recovery.img because it's locked.
supersonic125 said:
Is there anyway to do this without wiping your data from 'fastboot oem unlock'? My bootloader keeps saying locked in fastboot mode even though I checked Enable OEM Unlock in settings. It won't let me boot the recovery.img because it's locked.
Click to expand...
Click to collapse
Are you trying to use the fastboot boot recovery.img command?
Yeah, if I try to flash instead of booting I get:
C:\adb>fastboot flash recovery recovery.img
target reported max download size of 268435456 bytes
sending 'recovery' (11300 KB)...
OKAY [ 0.380s]
writing 'recovery'...
FAILED (remote: unknown command)
finished. total time: 0.401s
supersonic125 said:
Yeah, if I try to flash instead of booting I get:
C:\adb>fastboot flash recovery recovery.img
target reported max download size of 268435456 bytes
sending 'recovery' (11300 KB)...
OKAY [ 0.380s]
writing 'recovery'...
FAILED (remote: unknown command)
finished. total time: 0.401s
Click to expand...
Click to collapse
Hmmm looks like maybe fully unlocking the bootloader enables all fastboot commands. You can try downloading and installing Kingroot and root with it as the posts here comfirm it will root the update now. Or just u lock the bootloaderb but your device will be reset if you do.
T-Macgnolia said:
Hmmm looks like maybe fully unlocking the bootloader enables all fastboot commands. You can try downloading and installing Kingroot and root with it as the posts here comfirm it will root the update now. Or just u lock the bootloaderb but your device will be reset if you do.
Click to expand...
Click to collapse
What if we just enable oem unlock in both the system and the bootloader then use adb to push the recovery, superuser, and busybox to the system. King Root caused too many system instabilities, it had injected itself as a system app and after unrooting and uninstalling after a reboot I was left with a soft brick due to a secure boot error 1003. A stock 5.1.1 kdz and the lg flash tool was able to bring my Stylo back to life.
It could all be done by running a simple batch file bundled with everything we need for our device. Linux would probably be the better option but it could work the same in windows.

P9 Lite cannot flash stock firmware

I have a Huawei P9 lite. (VNS-L31 dual sim) . I tried to install medrom 3 and after flashing, phone didn't boot up. So I flashed b161 firmware again using 3 button method and phone booted up. Then I realized I couldn't add my google account. After searching on xda I found a method to fix that.(flashing oem info ). But after doing that, when the phone boots up after the huawei logo the error message which says "your device has been unlocked" has become red.( Usually it's yellow). And in about phone my model number has been changed to something like hi6250 or hi650.( Can't remember the exact thing). Then I tried to reflash my b161 firmware using 3 button menu and voila. It says incompatible version. I can't flash it. Then I replaced my build prop with my friend's phone's build prop. But unfortunately it has the B151 version. Though I have B161 version installed, my about phone says it has B151 version. And I can't flash stock firmware using twrp or dload method od any how. Please help
Nemeroz said:
I have a Huawei P9 lite. (VNS-L31 dual sim) . I tried to install medrom 3 and after flashing, phone didn't boot up. So I flashed b161 firmware again using 3 button method and phone booted up. Then I realized I couldn't add my google account. After searching on xda I found a method to fix that.(flashing oem info ). But after doing that, when the phone boots up after the huawei logo the error message which says "your device has been unlocked" has become red.( Usually it's yellow). And in about phone my model number has been changed to something like hi6250 or hi650.( Can't remember the exact thing). Then I tried to reflash my b161 firmware using 3 button menu and voila. It says incompatible version. I can't flash it. Then I replaced my build prop with my friend's phone's build prop. But unfortunately it has the B151 version. Though I have B161 version installed, my about phone says it has B151 version. And I can't flash stock firmware using twrp or dload method od any how. Please help
Click to expand...
Click to collapse
That's normal if the message is red, it means that the bootloader Will be relocked.
Now for the build prop, download b161 version, use huawei firmware extractor , extract boot.img system.img and cust.img
And by fastboot type :
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash cust cust.img
fastboot reboot
And voila, b161 is installed in your phone !
Sent from my HUAWEI VNS-L31 using XDA Labs
I can ont flash the boot.img. I get this error:
D:\Software_Tools\Multimedia\Handy-Taplet\Handy\Backup\161_entpackt>Fastboot flash boot boot.img
target reported max download size of 471859200 bytes
sending 'boot' (13998 KB)...
OKAY [ 0.300s]
writing 'boot'...
FAILED (remote: Command not allowed)
finished. total time: 0.322s
Schrotty35 said:
I can ont flash the boot.img. I get this error:
D:\Software_Tools\Multimedia\Handy-Taplet\Handy\Backup\161_entpackt>Fastboot flash boot boot.img
target reported max download size of 471859200 bytes
sending 'boot' (13998 KB)...
OKAY [ 0.300s]
writing 'boot'...
FAILED (remote: Command not allowed)
finished. total time: 0.322s
Click to expand...
Click to collapse
If fastboot say "FAILED (remote: Command not allowed)", its because your bootlaoder is locked, reunlock it !
In TWRP it says unable to mount Data :/
Ax3noX_ said:
If fastboot say "FAILED (remote: Command not allowed)", its because your bootlaoder is locked, reunlock it !
Click to expand...
Click to collapse
I noticed that in TWRP it says unable to mount data :/ What can i do now
I don't know what is "mount data", i cant help you with that ?
Ax3noX_ said:
I don't know what is "mount data", i cant help you with that
Click to expand...
Click to collapse
Its okay. Still looking for a help dude. Any help is highly appreciated :good:
Nemeroz said:
Its okay. Still looking for a help dude. Any help is highly appreciated :good:
Click to expand...
Click to collapse
Code:
fastboot oem unlock XXXXXX
fastboot flash recovery recovery_stock.img
Unable to read/mount data says your encryption key got changed by something, whatever. You need to Wipe Internal storage and flash twrp again ( I recomment matic`s ) Reboot to recovery again, if you got one, flash a flashable fw via twrp. I Dont know if the stock recovery Accepts a fully wiped intern storage, i guess not and it declines the update.app method.
In the best case for sure you recover an older backup to get the Same enc. Key back
WieserZ1C said:
Unable to read/mount data says your encryption key got changed by something, whatever. You need to Wipe Internal storage and flash twrp again ( I recomment matic`s ) Reboot to recovery again, if you got one, flash a flashable fw via twrp. I Dont know if the stock recovery Accepts a fully wiped intern storage, i guess not and it declines the update.app method.
In the best case for sure you recover an older backup to get the Same enc. Key back
Click to expand...
Click to collapse
Try to hold Vol+ and the power button and if you enter in Huawei recovery, select wipe data / Factory reset
Ax3noX_ said:
Try to hold Vol+ and the power button and if you enter in Huawei recovery, select wipe data / Factory reset
Click to expand...
Click to collapse
Tried that. But didnt work mate 😔
Nemeroz said:
Tried that. But didnt work mate 😔
Click to expand...
Click to collapse
Flash oeminfo (dowbload in the ultimate guide of nougat) and put the update.app of the marshmallow version in the dload folder then hold Vol+, vol- and power.
Its worked for me
Tell me if it work
(Sorry for my bad english, im french
I'd recommend using SP Flash tool. It's saved my ass multiple times.
Where you got the Scatter File for the p9 lite
Nantonix said:
I'd recommend using SP Flash tool. It's saved my ass multiple times.
Click to expand...
Click to collapse
Spflash tool is flash tool only for mtk devices... And p9 lite doesnt have a mtk soc !
---------- Post added at 08:47 PM ---------- Previous post was at 08:46 PM ----------
hanzox5 said:
Where you got the Scatter File for the p9 lite
Click to expand...
Click to collapse
It doesn't exist !
i wanted to convert the device to dual sim, so i tried to restore the backed-up partitions using meticulus' TWRP. But it says unable to mount /data every time i try to format it.
I know i made a big mistake, but that's how i learn..
this thread has worked for me
https://translate.google.co.uk/tran...m/showthread.php?t=1261335&edit-text=&act=url
Hello I went back the MN when startups is only then the logo after screen dark
please help me !!!
sorry for my english
pinhpongk said:
Hello I went back the MN when startups is only then the logo after screen dark
please help me !!!
sorry for my english
Click to expand...
Click to collapse
do a factory reset..if doesn work reflash stock marshmallow b160

Screwed up phone while rolling back Android 7 - help?

So for some background, I was on EMUI 4.1 and successfully flashed to EMUI 5.
Then, I wanted to rollback so I flashed recovery again and stock firmware. I tried flashing with fastboot and didn't work. I tried using Huawei recovery 3-button method, no luck either.
Errors using fastboot flashing:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system "F:\SYSTEM.img"
target reported max download size of 471859200 bytes
sending sparse 'system' 1/6 (445721 KB)...
OKAY [ 17.780s]
writing 'system' 1/6...
FAILED (remote: sparse flash write failure)
finished. total time: 17.822s
Click to expand...
Click to collapse
Error with 3-button method:
Software install failed!
Incompatibility with current version.
Please download the correct update package.
Click to expand...
Click to collapse
When I was booting into Revolution recovery, I could not mount SD card and some other partitions so maybe that has something to do with the 3-button method problem... Furthermore, I don't know how to check which version exactly my phone is, all I know is that it was VNS-L31.
Now I'm stuck with a phone that is constantly rebooting so how do I proceed?
First of all...
Please tell me you have a backup of your Nougat ROM. If yes, restore it.
I have failed to go back to MM several times like you before.
It really is a question of using the right files.
First, flash the OEMInfo that is provided here in the forums.
Second, flash the right firmware. This one is tricky. For me, ONLY VNS-L31 Version C150 worked. No other.
Flashing with fastboot always never works. It always gives an error on system. So you need to find a firmware that works with 3-button method.
Your task now is the get back to working Nougat, since you did something wrong.
Unlock BL, flash Nougat recovery with fastboot.
Then,
easiest is like I said restoring a backup.
If you don't have one, try flashing the Revolution ROM by BadWolf.
Schlengge said:
First of all...
Please tell me you have a backup of your Nougat ROM. If yes, restore it.
I have failed to go back to MM several times like you before.
It really is a question of using the right files.
First, flash the OEMInfo that is provided here in the forums.
Second, flash the right firmware. This one is tricky. For me, ONLY VNS-L31 Version C150 worked. No other.
Flashing with fastboot always never works. It always gives an error on system. So you need to find a firmware that works with 3-button method.
Your task now is the get back to working Nougat, since you did something wrong.
Unlock BL, flash Nougat recovery with fastboot.
Then,
easiest is like I said restoring a backup.
If you don't have one, try flashing the Revolution ROM by BadWolf.
Click to expand...
Click to collapse
Have just solved the problem with the steps from here.
From my understanding, it seems that I lost almost everything, device info, OEM info, recovery... So no technique was working.
The solution in brief was:
1. Go into bootloader to flash recovery (I used Revolution Recovery)
2. In recovery, flash OEM info.
3. Then used the 3-button method to install stock version for the appropriate model (which I could see from OEM info).
4. Unlocked bootloader, triggering a factory reset. (I was stuck in infinite boot before this point.)
As you say Schlengge, it is a matter of using the right files! Thanks. Problem solved.

brickwd nova?

i did all ok for some weeks. But one day phone was discharged and after charge i got a black screen. Sometimes it flashes a bit depending on the boot and i can get some sound if i push volume down or up.
i tried fastboot or adb but no devices. (how can i force connection?). I went to the huawei shop they somehow restarted it and i could the the different booting option but they reboot it and they told me they couldn t do anything about because of the rom. I asked to redo what they have done and leave it to the reboot option so i could probably manage it from this point, but they told me it was not possible. So back home i tried everything but no success. How do i force the reboot from my computer with which softs?
tks
update
i do
adb devices
List of devices attached
GGXDU1721001169 recovery
if i do adb reboot-bootloader
i still have black screen
and fastboot devices gives
no permissions f astboot
how can i grant permission?
what command should i use? i tried a recovery but didn t work either think i t is an permission issue
tks
update
so i did
$ sudo fastboot devices
[sudo] password for xxxx:
GGXDU1721001169 fastboot
[email protected] ~ $ cd Downloads
[email protected] ~/Downloads $ sudo fastboot devices
GGXDU17210001169 fastboot
[email protected] ~/Downloads $ sudo fastboot flash recovery recovery.img
target reported max download size of 532676608 bytes
sending 'recovery' (34228 KB)...
OKAY [ 0.848s]
writing 'recovery'...
OKAY [ 0.785s]
finished. total time
[email protected] ~/Downloads $ sudo fastboot reboot
rebooting...
finished. total time: 0.053s
and still black screen?????
is it hardware issue?
is it possible somehow to reinstall a rom but usting the computer?
yes you can like you have flashed recovery, do the same thing with boot.img and system.img
extract them with update extracter from the full rom
Same with my CAZ-AL10, I guess it's because of missing drivers(*.so)
zaabolla said:
yes you can like you have flashed recovery, do the same thing with boot.img and system.img
extract them with update extracter from the full rom
Click to expand...
Click to collapse
tks
sorry i m not clear about the method. do i use the same recovery img? from this image i extract the boot ant the system img? and once i use fasboot? same commands?
tks
fastboot flash (system system.img) (boot boot.img)
Yes, extract from the same file you got the recovery from.
if your Nova be supported by fast boot command so it can be fix. don't worry. just find the correct rec , boot , system ...
my Nova l11 bricked like u before , i try many many method ... and help by mod hen.... in 2 day ... done ... everything alrigth ... now i can change 2 rom stock , LOS 14 so easy ....
good luck bro .
do you use image extractor? it seems it only use update image, or do you use another soft to extract it?
tks
Is there a way to wipe or reset TWRP from fast boot. i m also trying to see where the error comes from. how can i see the logs with my computer?
tks
If you want to get rid of twrp then flash stock recovery.img in fastboot.
babysocola1x said:
if your Nova be supported by fast boot command so it can be fix. don't worry. just find the correct rec , boot , system ...
my Nova l11 bricked like u before , i try many many method ... and help by mod hen.... in 2 day ... done ... everything alrigth ... now i can change 2 rom stock , LOS 14 so easy ....
good luck bro .
Click to expand...
Click to collapse
bro my nova l11 bricked update installing stuck at 5% fastboot mode status is phone locked can you please guide me to unbrick my phone?
abuapka said:
bro my nova l11 bricked update installing stuck at 5% fastboot mode status is phone locked can you please guide me to unbrick my phone?
Click to expand...
Click to collapse
1st get unlock code from huawei site for your phone
( need serial number..., find them)
Second, find the appropriate firmware for your model
Third extract update.app with huawei update extractor
Now you will have boot.img, recovery.img and system.img
In fastboot mode unlock the bootloader with your code
Then flash each file with it's fastboot command
i
zaabolla said:
1st get unlock code from huawei site for your phone
( need serial number..., find them)
Second, find the appropriate firmware for your model
Third extract update.app with huawei update extractor
Now you will have boot.img, recovery.img and system.img
In fastboot mode unlock the bootloader with your code
Then flash each file with it's fastboot command
Click to expand...
Click to collapse
where can i use the code? because on fastboot mode there is no option except
phone locked
and second connect hisuit using usb cable etc.
but when i try to connect hisuit with usb phone didnt recognized by hisuit in laptop
one more thing when i connect my phonr with dsta cable on fastboot mode adb devices didnt show any device jyst because i didnt enable usb debugging in developer mode because my phone is new i didnt change anything just try to update using firmware finder app and stuck on 5% cant even start my phone its stuck on bootloop i can go to fastboot mode recovery mode. also try to update using sd card but didnt work kindly guide me

Phone stucks in fastboot

Hi guys,
i was on Miui Global 10.xxxx (dont know exactly)
bootloader was unlocked.
Rollback protection target was 1
my recovery was Orangefox recovery (https://forum.xda-developers.com/mi-9t/development/official-orangefox-recovery-project-t4037899)
I have made a full backup of all partitions before.
I wanted to flash Miui 11.0.4.0 global to flash a custom rom.
First i flashed recovery and installed the recovery.zip.
That worked fine.
Then i wanted to flash Miui 11.0.4.0 with this instructions for a clean flash:
1. If you're coming from another ROM or need to perform a clean flash:
Boot into Recovery
Wipe Data/Cache/System
Flash vendor/firmware (Global 11.0.4.0 recommended)
Flash ROM
(Optional) Flash Gapps (not included!)
(Optional) Flash the latest Magisk
Reboot
Enjoy
This instructions are from here: https://forum.xda-developers.com/mi-9t/development/rom-stagos-t4072637
So, i was in recovery, and deleted data, cache and system.
Then i restarted the phone to go to recovery, but that didnt work.
It stucked in bootloop.
I now reinstalled Adb and fastboot, and erased recovery and System partition.
There were much errors in time due old adb and fastboot version etc....
But now iam at this point here again.
wait for your answers how to continue.....
It looks like just flashing or booting recovery is not possible without system partition.
It's now too late and sorry I don't want to risk to give you the wrong instructions how to unbrick
But for the others to avoid similar brick:
1) You say you were on Global MIUI 10 and you wanted to update to MIUI 11.
If so, why didn't you simply update by OTA?
2) If for some reason you were not able to apply OTA, but if you were really on Global (not on custom ROM, Indian ROM or so) and wanted to update also to Global (not switching to EU weekly or so), then you shouldn't wipe anything
You had to flash the stock Recovery back, to download the Global recovery/zip package you wanted to update to, and to force update from System Update: (so called Local Update):
https://c.mi.com/oc/miuidownload/detail?guide=1
Now, once you wiped things and bricked, I don't know but you could check the Fastboot method:
https://c.mi.com/oc/miuidownload/detail?guide=2
If reading from mobile phone, force Desktop site in browser for the two links anove
1. When you make format data, than reboot in twrp again
2.when boot second time, wipe data, dalvick, cache, system...and flash new rom.
If you wipe system partition and reboot in twrp again without system, you get fastboot.
zgfg said:
It's now too late and sorry I don't want to risk to give you the wrong instructions how to unbrick
But for the others to avoid similar brick:
1) You say you were on Global MIUI 10 and you wanted to update to MIUI 11.
If so, why didn't you simply update by OTA?
2) If for some reason you were not able to apply OTA, but if you were really on Global (not on custom ROM, Indian ROM or so) and wanted to update also to Global (not switching to EU weekly or so), then you shouldn't wipe anything
You had to flash the stock Recovery back, to download the Global recovery/zip package you wanted to update to, and to force update from System Update: (so called Local Update):
https://c.mi.com/oc/miuidownload/detail?guide=1
Now, once you wiped things and bricked, I don't know but you could check the Fastboot method:
https://c.mi.com/oc/miuidownload/detail?guide=2
If reading from mobile phone, force Desktop site in browser for the two links anove
Click to expand...
Click to collapse
Sooo....after hours of reading with errors over errors and fixing, it still doesnt work.
First i tried to flash everything via mi flashtool.
There was an error: Antirollbackcheck Error.
https://www.reddit.com/r/Xiaomi/comments/d0xmbp/what_on_earth_is_miflash_antirollback_check_error/
https://xiaomi.eu/community/threads...nd-flashing-recovery-fails-please-help.51349/
To fix this i had to move the Tool and the rom into my C hard drive next to program etc folders...
Then i editet the flashall.bat file and removed the rollbackcheck lines.
Now after doing this, it flashed for 100 seconds, and then there was this error: Failed to flash dtbo.img
sooo....Then i tried to flash the dtbo.img and all the other ones via Minimal adb and fastboot.
https://forum.xda-developers.com/mi-9t/help/flash-stuck-fastboot-soft-brick-t3962662/page3
And this didnt work for me too. Everytime if i try to flash dtbo.img, this error comes:
target didnt report max-download-size
sending dtbo (32768KB)....
FAILED (command write failed (no error))
finished.
Now everything is like before....
Flash twrp and boot in twrp. After phone boot in twrp, make format data. After format, make reboot to recovery.
When booot in twrp, wipe data, dalvick, cache, system , copy Miroom to internal and flash ROM.
Use this twrp...
https://app.box.com/s/8lkfbft44vldtt0y8kwhe6un87b5ebzx
And this rom.
https://sourceforge.net/projects/mi...edmiK20_MIUI_20.3.26_MiRoom_10.0.zip/download
Sent from my MI 9T using Tapatalk
Kidence said:
Flash twrp and boot in twrp. After phone boot in twrp, make format data. After format, make reboot to recovery.
When booot in twrp, wipe data, dalvick, cache, system , copy Miroom to internal and flash ROM.
Use this twrp...
https://app.box.com/s/8lkfbft44vldtt0y8kwhe6un87b5ebzx
And this rom.
https://sourceforge.net/projects/mi...edmiK20_MIUI_20.3.26_MiRoom_10.0.zip/download
Sent from my MI 9T using Tapatalk
Click to expand...
Click to collapse
C:\Minimal ADB and Fastboot>fastboot flash recovery twrp-3.3.1-12-davinci-mauronofrio.img
target reported max download size of 805306368 bytes
sending 'recovery' (65536 KB)...
OKAY [ 1.914s]
writing 'recovery'...
OKAY [ 0.151s]
finished. total time: 2.065s
C:\Minimal ADB and Fastboot>fastboot boot recovery
error: cannot load 'recovery': No such file or directory
C:\Minimal ADB and Fastboot>fastboot boot twrp-3.3.1-12-davinci-mauronofrio.img
downloading 'boot.img'...
OKAY [ 1.891s]
booting...
FAILED (remote: Failed to load/authenticate boot image: Load Error)
finished. total time: 1.900s
When you flash recovery, hold volume up and type in adb
fastboot reboot
After that, phone will be boot in twrp
Sent from my MI 9T using Tapatalk
FINALLY it worked YES
FIRST: The Story for everybody who has the same problem like me:
Device: Xiaomi Mi 9T
Firmware: MIUI 10 GLOBAL
Antirollbackprotectioncounter: 1
Bootloader: Unlocked
Story:
At the beginning, everything was working, but i wanted to install a custom rom (STAGOS)
For this step, i had to Update my Miui firmware on 11.0.4.0.
But this step didnt work so well via device OTA (error), then i decided to install it via custom recovery.
I still had the stock recovery on my device, so i went in fastboot mode, and installed Orangefox recovery via ADB and Fastboot on Windows. That worked without problems.
In Orangefox, i wiped as sayed in instructions data, cache and System. then i rebooted.
But before realised that was the wrong way, i stucked in fastboot.
No tools helped. ADB and Fastboot didnt work as seen in screenshots.
I tried everything via fastboot....
fastboot flash recovery XXX.img
fastboot boot XXXX.img
Fastboot format.....etc
But NOTHING worked. Everytime there were the following errors:
Target didnt report Max download size
Error: Cannot load recovery
No such file or directory
Error: Download size is higher that allowed
Failed to load boot image (Load error)
Command write failed (no error)
and some other ones too.....
It looked like, some flashes worked and some not. Sometimes it worked, sometimes not.
After some new tries it just showed via the command: Fastboot devices
????????? fastboot
That problem has been solved. Just unplug the device and wait for 10 minutes until it shuts down automatically.
If that doesnt work, you can try to replug it to pc some times again.
It looked like replugging and using different USB Port (one user solved the problem via USB 2.0) helps to get a better connection and prevent errors.
Then i tried some tools, for example android all in one tool, but no one worked.
After this, i reinstalled the driver and installed MI Flash tool (https://mi-globe.com/download-xiaomi-mi-flash-tool-all-versions/)
It looks like there are some mi flash tools around here which are not working right, but THIS one worked for me.
After installing, i connected my device, choosed the fastboot firmware (.tgz), unpacked it and choosed the right location in mi Flash tool.
Firmware files are find here: https://c.mi.com/oc/miuidownload/detail?guide=2
(You should check you Antirollback counter before to avoid a brick. Here you find some informations: https://www.xda-developers.com/xiaomi-anti-rollback-protection-brick-phone/)
DONT FORGET TO CHOOSE IN THE RIGHT DOWN CORNER: CLEAN ALL !!! (normally, clean all and lock is choosen, but that bricks your device)
After doing this, i started flashing, but there was an error: Antirollbackcheck error.
I solved it via moving the mi flashtool directly into my C hard drive, and deleted some lines in the flashall.bat, as seen in post history here.
Then....it worked for some seconds longer, but than: Error: Failed to flash dtbo.img
So i tried it via ADB and Fastboot. But nothing changed.
Then i tried flashing via mi Flash tool again, and this time the following error comes: Failed to flash system.img.
After this is thought: hmmm....something is very wrong with this device....lets try again, after a device restart.
So i tried again, let it running for ~360 seconds, and IT WORKED!
At the End: there was the following error: Error: Not catch checkpoint.
But this error (you can also see in a screenshot) it not necessary.
This is the result of removing some lines in flashall.bat.
After this my phone successfully booted im Miui 11.

Categories

Resources