yashsingh1/xdaforums huggingface dataset:
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] k1ll3r8e:
News/Update

I added the "BETA_V3_P9 Lite Toolkit_0_0_0_12.zip" to the downloads.

* Added a new tab "Update", where u can update manually with the update packages from Huawei (1-3 zip's)

* Refactored the "Tweaks" tab, there are now also tabs instead of expanders... so u can see a bit more

* Fixed a few minor bugs in the dll and exe

If u encounter any bugs or crashes, pls report them with a description how to reproduce it.

Regards,

Sebastian
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] ut0mt8:
So I finally softbrick my p9 :(

Frustrated by not succeed in downgrading my phone, I test a full wipe from twrp (system, data, etc...).

Obviously my phone didn't boot after that.

The problem is I didn't manage to flash something with any method.

I try to :

- install from a full update.app on a dload directory and booting on recovery (didn't work telling me I have the wrong version ?)

- trying to flash directly from fastboot (with extracted img file from an full update package). Problem is that this didn't work etheir.

Fastboot give me diverse error message. (can't get max size , etc...)

Something very strange also is that my device is not recognised by your tool. It appear only when I type fastboot devices -l ; adb didn't recognize it. (device manage correctly show it as Android Fastboot Device).

So my first question is what is the correct full package I should try ? (and where to get it ?)

Do you think there is hope for my phone ?

(after all I have twrp working, Phone and FRP unlock).

With the twrp shell I surely can try some low level command to format and flash partition (but I have to know the command, the partition scheme, and have the correct img file).

Thks for any help
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] k1ll3r8e:
Heyho,

First of all u should read this there, u'll see that ur prob is absolutely wrong here... Also, pls don't spam! Therefor u should read this and next time, use the search before u post...

-

Also, u haven't read this... So, based on all these probs, u should read the thread instead of asking question which got solved posts ago... Also based on...

...really... How should a device without system boot?

-

Really? U didn't read the 2cd post... And u hope we serve u the answer, which is already on this thread (multiple times), on a silver plate?

-

Well, read the last 2-4 pages (carefully) and u will find a solution... I'm really tired of repeating my self like a broken vinyl record...

Regards,

Sebastian
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] radwan020:
Finally I have oeminfo for vnsL-31c185b150

Big thanks for farouk nasri he working with me to export the files from his p9 lite

https://drive.google.com/folderview?id=0B71x_n-9zbtMNjFPYU9BbVdDbkk
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] k1ll3r8e:
Heyho,

THX a lot! :highfive:

-

Just uploaded the C185B150 (update) and the new "package" (pkg.L31C185B150_DS) to my g-drive!

I also added the "L31_DS_C185B150_by_radwan020_&_farouk_nasri.zip" to the oeminfo folder on my g-drive & FTP.

--

To all, i add all the credits for the oem's, the rom's and the permissions of usage, to the OP when i release the final 0.0.0.12 build.

Regards,

Sebastian
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] The Salty Scrub:
Unbrick flashing system error

Hi Sebastian,

I have a problem while flashing the images with the ubrick tool. the flashing of the recovery and boot both complete without any problems, but the flashing of the system image crashes with this error:

-------Error-Msg-Start

target reported max download size of 471859200 bytes

sending sparse 'system' 1/6 (453744 KB)...

OKAY [ 11.756s]

FAILED (remote: sparse flash write failure)

finished. total time: 11.789s

------Error-Msg-End

I know that my system partition is only 1.9GB on my phone (P9 lite VNS-L31 DUAL SIM), but the system image is 2.4GB in size (I am using the UPDATE.APP from L31C185B150). Do I need to increase the size of the system partition? And if yes how do I manage to do that?

Thanks a lot!

Laurent

UPDATE [SOLVED]
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] ut0mt8:
Hi Sebastian,

I'm very sorry for the noise, and as an opensource project maintainer I completly understand your frustration with noob like me.

I really read a lot of this thread, and I now understand much more Android concept. But I'm still block.

What is the correct thread to talk about unbrick/softbrick ?

And as a long time unix user, I ll try to contribute with a post explaining all my digging in command line (that my frustation on xda, lot of tools, acronyms, etc...).

Btw : I progress I have a shell with adb, but It appear I completely messed up with partition ?!

Thks anyway.
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] k1ll3r8e:
Heyho,

about where to ask, the idea with the "P9 Lite Question & Answer" section is absolute fine! ;)

-

About what u have to do, i'll answer on ur thread in the "P9 Lite Question & Answer" section to hold this thread clean.

Regards,

Sebastian
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] SevenSlevin:
Hey I've tried to update my p9 lite from vns-l31c432b381 to vns-l31c432b385 using the "Update" tab on your last (beta) version and after the reset in recovery there's a msg:

Installed package failed (the update package does not exist. Please download the package again)

I can only reboot to system and do nothing.
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] k1ll3r8e:
Heyho,

THX for the report!

-

Hmm, that's strange... I'll check this!

-

Btw. u downloaded the update via FF?

(The FULL or the Update?)

Regards,

Sebastian
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] SevenSlevin:
It's a full version about 1,61gb at all. I would try now also with only the updates like 160mb at all.

Anyway I think the problem will be the same, cause the recovery doesn't find the package, it doesnt start.

What commands are you using in?

I watched that it created a folder (TK_OTA) in internal storage and put there the 3 files (normally with official updates it creates the folder HwOUC and put files there in another folder named with a number). I had unlocked bootloader and also rooted so I've just flashed the stock recovery extracted from b381.

edit: i will try to add another folder on your folder like the official updates (same problem also here)

edit2: as I said it doesn't worrk also with update files cause doesn't find packages.

edit3: I've tried also to delete the HwOUC present folder and nothing same error.

edit4: The file that I'm using are these:

Full:

http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1258/g104/v88901/f2/full/update.zip

http://update.hicloud.com:8180/TDS/...01/f2/full/public/update_data_full_public.zip

http://update.hicloud.com:8180/TDS/...l/VNS-L11_hw_eu/update_full_VNS-L11_hw_eu.zip

OTA:

http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1258/g104/v88900/f2/full/update.zip

http://update.hicloud.com:8180/TDS/.../v88900/f2/full/public/update_data_public.zip

http://update.hicloud.com:8180/TDS/...2/full/VNS-L11_hw_eu/update_VNS-L11_hw_eu.zip
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Chisetdel31260:
Hello.

me too.

Since l31c432b380, I followed the instructions, (root recovery stock b380).

But nothing update faild, with b382 and b384. I did the two full ota mf and ota mf.

I just saw b388, I download and test.

I also test the method with huawei updater and hisuite, even error.

I will watch if I can test since c432b160.
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Chisetdel31260:
Hello

I notice this:

I went to c432b336 and hisuite offered to go to b370.

It downloads the full ota mf files (V80582).

On the pc: Documents, HiSuite, ROM, VNS-L31C432B370, full, public folder, VNS-L31_hw_eu folder, changelog file, filelist file and update.zip

These zip files have as extention DBK file

what is it? DBK

edit

I downloaded the update.zip from L31c440b383. On http://hwmt.ru

* 2017.07.21 VNS-L31C440B383 http://update.hicloud.com:8180/TDS/data/files/p3/s15/G753/g104/v91311/f2/full/update.zip

And by the way, there's something more (a skipauth_pkg.tag file)

edit

I managed to make something work b388.

I returned to b160.

I installed c440b383 last

Android security patch level July 5th.

+ Hwdatafull of c432b370, it is version pv.

I will, with the toolkit to Unbrick, I flash boot, system, c432b388 cust (v91290).

reboot

I go to twrp, install update_VNS-L31_hw_eu.zip (v91255).

reboot.

Parametre is bug,

27/07/17

With twrp edit from hassan, we can install image version.img, vendor.img, boot.img, system.img.cust.img.

I will try this too. new test.

Ah finally, I succeeded something without bug, without root ......

I went back to the official l31c432b380. install twrp hassan.

I use the toolkit and I go to Unbrick.

Img of boot, system, cust.

Once installed it proposes to reboot, say no.

Unplug cable, went to hassan recovery twrp, (it can flash vendor image and version).

And installed vendor and version.

reboot.

everything is working. No bugs.

Since b380, I went to b382, then to b384, and b388.

no problem.

Maybe you had to focus your searches on the Unbrick tab and add version and vendor, then see how to install product.img if that is needed.

I hope someone will test to tell me if it's okay.
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Kruu:
Oh so many version out there.

Have the P9 lite L31 model, did the dual sim unlock 4-5 months ago L31C342B161. Now I tried to do a update with hi care and did it and get NRD90M test key. Did the downgrade to L31C342B161, and now I would like to get the Nougat.

Which version should I flash, would like to have Dual sim activated.

Are these steps ok for my situation, just get FULL-L31C432B370
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Mhmortensen:
can i flash p9lite L31C432 nougat firmware? :) and how to ?
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Chisetdel31260:
Hello

Here is the file I saw https://drive.google.com/open?id=0B3ah5ph4cx-cTHpZS0NDRkVPZUU

maintemant,

For example went to L31C432B382.

I succeeded like that.

Downloaded 2017.06.05 VNS-L31C432B382 http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1258/g104/v87137/f2/full/update.zip

and

http://update.hicloud.com:8180/TDS/...l/VNS-L31_hw_eu/update_full_VNS-L31_hw_eu.zip

Then on the PC and huawei extrator I get both update.app

In update.zip there is boot.img, system.img and vendor.img.

In full update vns l31 hw eu there is cust.img and version.img.

**1: I am l31c432b380 stock without root.

**2: install twrp TWRP by HassanMirza01: (thanks to olddroid)

TWRP 3.1.0 Data and Restore Fixed by HassanMirza01 https://xdaforums.com/huawei-p9lite/development/elite-rom-v1-0-nougat-builds-cxxb3xx-t3625599. Reboot.

**3: reboot in bootloader mode, went to the toolkit, Unbrick, flash boot, system and cust.

**4: no reboot in android mode, unplugged the cable then went into recovery mode twrp.

**5: install vendor image and version. reboot

here is.

After I did the same thing with b384 then b388.

I have not tested directly from b380 to b388.
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Miss Montage:
I followed your steps but went directly from B380 to B388: all seems to work fine. Thank you very much for the installation guide!
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Chisetdel31260:
Hello

Do you think you can add vendor and version to unbrick?
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] k1ll3r8e:
[MENTION=3670207]Kruu[/MENTION]

U wrote that u already downgraded... So why u quote a post where i describe how to downgrade from NDRM to MM... Pls use the search, alone here on the thread are at least 30++ posts about how to go from B13x to B370...

[MENTION=4706230]Mhmortensen[/MENTION]

Use the question and answer section... And read THIS...

To u both, if u would read the thread instead of asking duplicate question, u would see, that we currently work on an solution to flash the N builds... So if u can't wait, that's alone ur problem. Because, [MENTION=7545593]Chisetdel31260[/MENTION] shared already really detailed information's, about how to install builds newer then B370...

[MENTION=7545593]Chisetdel31260[/MENTION]

THX for all the info's!

I just try to modify the *.zip's with the "skipauth_pkg.tag" file, let's see what happens... About the "vendor" & "version" i wish i could, but it's not working. Because, fastboot still respond with "remote command not allowed" when i try "fastboot flash vendor/version ..." it uploads the image and fail then with the given msg. So it seems it's atm only possible via the recovery from Hassan.

Why i can't integrate it anyways? Because, the complete "Unbrick" tab is fastboot based. I can only write another view, which will reboot and flash different recoveries, but there we still at the point where i can't control if the recovery flashed the image or not. Maybe it's possible with the "OpenRecoveryScript", but therefore i have to create a flash able zip for each of those images. (If i'm right?!)

Will report back when i got something to work.

* Test now the manipulation of the update.zip's with the "skipauth_pkg.tag"

* Test after that if i can write a script which will flash the different recoveries and the images

Regards,

Sebastian
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Miss Montage:
[MENTION=7545593]Chisetdel31260[/MENTION] : I doubt it, I didn't use the Toolkit since I'm running Linux on my PC, so I flashed system, boot and cust with fastboot. I assume that the toolkit is also using fastboot commands, and flashing version and vendor image results in "remote command not allowed" messages.

However, I asked myself whether everything could be flashed by TWRP. It might be dangerous regarding the system image....

In addition to your tutorial I also flashed update_data_full_public.zip by TWRP...

edit: I'm a little too late, but thanks [MENTION=3753223]k1ll3r8e[/MENTION] for confirming my theory.
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Chisetdel31260:
Yes, i have tested install image twrp boot, system, cust, vendor, version. But at reboot there are bugs.

There is misc what is it?

Can it serve?

edit

Good since b388, I looked for the magisk root

And I bugged him.

To recover, i went to dload update.app of b370 PV, its not working.

Went to unbrick flash boot.img, recovery.img, system.img, cust.img. reboot

Dload update.app b370. reboot

Dload datafull from b370.

* It works,
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Chisetdel31260:
hello

Do you have problems with this way of doing things?

Can you shared the way to do, me my english is very bad

thank you
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] k1ll3r8e:
Heyho,
[MENTION=7545593]Chisetdel31260[/MENTION] [MENTION=6466472]Miss Montage[/MENTION]

-

sry for being so late, i tried now different ways to automate this. The solution with the "re-signing" and adding the "skipauth_pkg.tag" brought no consistent results... The way to flash the images via TWRP with "OpenRecoveryScript" worked, but for this i need to speak to [MENTION=981278]worstenbrood[/MENTION] if he can add some stuff to his update extractor, so that my tool can start his tool and extract the images via a hidden command or something similar. Because otherwise u have to unpack all images by hand and add them in my TK to produce the ".zip's".

-

I'll report back when i got an answer or when i got the "update.zip" with manipulations working.

Regards,

Sebastian
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Chisetdel31260:
Hello

I'm testing something else.

I went back to the official l31c432b380.

I dload the latest firmware l31c440b383 from July 21, 2017. :good:

Then, I unlock the bootloader (it does rest factory). :rolleyes:

I go to Unbrick, install boot.img from c432b388, twrp edit from hassan and cust.img c432b388. Do not restart android.

I do not flash system.img because there are bugs (camera, settings)

Restarts twrp, install image vendor.img b388 and version.img b388.

restarts.

Check everything works.

So, now, i also have product, modem, ,,, up to date.

Also went to the updated application, on the menu, there is update at night.
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Chisetdel31260:
https://xdaforums.com/p9-plus/how-to/easy-upgrade-to-unapproved-emui-5-update-t3649532 :confused:
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Amaan007:
create one for huawei y6 plz
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] k1ll3r8e:
Just had a deep read into it, it sounds really interesting! ;)

I'll give it a shot this evening!

-

THX for sharing this ;)

Regards,

Sebastian
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Mthh:
brilliant toolkit, thank you very much.

but for some reason I struggle with updating firmware now.

I have unlocked, rooted stock vns-l31c432b371 with twrp 3.1.1.0, and tried to update it to b381 using firmware finder, it downloads the correct version, but then fails to find it on the phone

So I tried the toolkit update tab, it uploaded the update.zip, update_data_full_public.zip and update_full_VNS-L11_hw_eu.zip without any issues, asked to reboot to recovery and in twrp it stopped with error that it can't mount sdcard/tk_ota

I noticed the toolkit uploaded the zip files in the internal storage, so I created the same folder on sd card and copied the files there, but got same error after rebooting to twrp

Any idea please?
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] k1ll3r8e:
Yes, read the last pages...

-

To clarify, if I read now again any doublicate noob question, i'll refuse to help those ppl. Why?! Because, its more and more likely the our new users only ask instead of using their own mind. So i'm tired of reading doublicate questions and linking those ppls the answers they are looking for.

EDIT:

Removed now all beta builds...
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Mthh:
I understand that it must be annoying to answer questions from people who know less than you, but trust me that if I found anything useful in this thread I would not ask. Well, I am going to chec kit again.
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] k1ll3r8e:
Heyho,

report 1

report 2

-

error search

-

solution 1

solution 2

solution 3

...

[MENTION=7545593]Chisetdel31260[/MENTION]

I didn't had the time to test everything yesterday... I'll go on today and report back this evening. ;)

Update 1:

I had now a look on the "imgtool", sadly it doesn't run under "cygwin"... I'll have a look at the source and will contact the author.

---

A Bit Off-Topic (Only for those who are interested)

Based on some tests on my device i use atm 2 sims and a SD-Card. I also mentioned this tutorial a while ago, so to proof that's really working and no fake, here are my current setup (see the screenshots). Also for those, who want to do this at their own, here is the link to the original youtube vid.

(Little side notice: I used "second-glue" and i used a needle to place the glue only on the edges of the "connectors", so that u can remove the SIM again with a razor-blade.)

Regards,

Sebastian
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] witgit:
Hello!

Is it possible to add p10 lite support?
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] k1ll3r8e:
Heyho,

the last "BETA", which i removed yesterday, had the detection for the "P10 Lite" already integrated, but my tester didn't responds since ~1 week. So i can't test those stuff atm. If u want test the stuff, i can send u a PM with an link to the "BETA".

Regards,

Sebastian
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] witgit:
Ok.

I will try.

Provided I find the right firmware
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Chisetdel31260:
Hello

I just saw on FF a new link for l31c432b370,

2017.08.03 VNS-L31C432B370

http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1258/g104/v92405/f1/full/update.zip

Filelist it is for vns-l11 orange.

http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1258/g104/v92405/f1/full/filelist.xml

datafull

http://update.hicloud.com:8180/TDS/...e_all/update_data_full_VNS-L11_orange_all.zip

Strange, that he uses this c432. There may be confusion with the toolkit.

edit

Since l31c432b388, I have, with the toolkit, installed oeminfo of c109 then I have dload update.zip, and I have dload datafull.

It has become c109b340 emui 5.0.1
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] cronociclope:
Hi, have you noticed any difference between EMUI 5.0.1 and EMUI 5.0? Greetings.
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] k1ll3r8e:
Off-Topic/Update

Heyho,

the battery of my device has inflated itself... The back plate comes 3-4 mm up... After a call to Huawei they REFUSED the repair based on existing root! So here is the proof, if u rooted ur device and Huawei checked it, say bye bye to ur warranty... they even doesn't repair a battery damage... Instead they tell u, the damage is based on the root! :D

-

I ordered a new battery on ebay... It should arrive on monday, so i can't test anything atm.

-

For me, that was my last Huawei device, because they let u with an inflated battery... Which can, as we all know, end in an disaster if the battery will explode! LiPo fires are not nice...

-

Update for the final 0.0.0.12 version comes hopefully on tuesday next week.

Regards,

Sebastian
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Warren_Orange:
That sucks. How long have you had the device?
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] k1ll3r8e:
Heyho,

i got my device on 02.07.2016 (d/m/y) from t-mobile, so the device is a bit older as an year.

(Also, i never used another charger as the original one... And this one head up to 40-50° since ~5 days... Seems that the charger and the battery is made from really cheap material... When i got my new battery i'll made a vid of the disassemble and finally, how it looks when this battery will get "shorted", if it catches fire or not.)

Update:

I just got my new battery, super fast deliver!!! ;)

Edit:

Based on the bad video codec which the cam has, i added some images from the "disassembly". The video about the battery, explosion or not, comes in the next days. I spoke to a friend which has a professional cam, he will film it this weekend.

Edit 2:

Little hint: I used a "carpet-cutter-blade" (not the "rake-blade", the "straight" one) to remove the NFC-Antenna (the white "plastic-pad").

!!! IMPORTANT !!!

If u use a blade like me, be really carefully with it, if u "stipple" the battery with the blade, it can explode instantly! U can also use a "fan / hairdryer" to head it up that u can "hopefully" remove the antenna. I didn't used a fan because, i didn't want expose the already damaged battery to such an direct heat-source.

Regards,

Sebastian
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] kdavid1229:
Hi!

First of all, thanks for your work, it's awesome.

Second, my phone dead. I have a VNS-L21C432B380. I've rooted my phone after geting the 7.0.I've tried the Unbrick function in your program but i've run into a problem. I downloaded the compatible update.zip to my phone, and I didn't find the "cust.img" and the "system.img".

I hope you can help, because i'm beginner in the root and the full of development.
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] k1ll3r8e:
Heyho,

have a look at the "Preparation" tab, there's a tool mentioned which u need to extract the images from the "update.app".

Btw. if u have only 3 zips's, the "cust.img" is separated in one of the smaller zip's which includes also an "update.app".

Regards,

Sebastian
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] kdavid1229:
Maybe I was wrong. I've seen that tab, and followed the steps, until the "Unpack the needed images", because all the compatible update.app is not contain the "cust.img", and the "system.img", only the "boot.img", and the "recovery.img".