yashsingh1/xdaforums huggingface dataset:
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] k1ll3r8e:
Depends on the build u try to install, it can override the version (represented through the oeminfo) or it can't. That u'll see when u try to install the FW... - And the oeminfo has a LxxCxxxBxxx variable^^ just look with an hex-editor in it, there are 3 version numbers like this scheme, 1st is the recovery, 2cd is the system and 3rd is the initial build number.

------------------------------------------------------
[MENTION=4120014]Warren_Orange[/MENTION]

I played now hours with the OTG but, i don't get it work^^ - All apps i tried says OTG is enabled and working... Not even a 2 GB USB stick is working nor bluetooth stick nor keyboard, mouse, etc...

If u want give it a try, here is what i did to get it "working" as all checkers say...

1) remount /system to rw

2) create a xml file "/system/etc/permissions/android.hardware.usb.host.xml" with the following content

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2011 The Android Open Source Project

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<!-- This is the standard feature indicating that the device supports USB host. -->
<permissions>
<feature name="android.hardware.usb.host" />
</permissions>

3) align the permissions to "0644" or "-rw r-- r--"

4) remount /system to ro

5) reboot

--

now all apps should say OTG is working...

the commands i used are

// enable
echo hoston > /sys/devices/platform/ff100000.hisi_usb/plugusb

// disable
echo hostoff > /sys/devices/platform/ff100000.hisi_usb/plugusb

the path part "ff100000.hisi_usb" may vary between different devices.

If u get it working would be nice if u share ur solution ;) - I'll also try my best to get it working ;)

-----------------------------------

Update

-----------------------------------

After long research and testing how to get OTG enabled the TK tests are not all completed... So i'll upload the build tomorrow/later when i have tested everything new.

Regards.

Sebastian
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] ahmad2000sh:
Alright... So i am currently on L21c432b370, and i am encountering problems... So i am trying to redo everything from the beginning. I know that i need to flash oeminfo and custom.bin to rollback, then flash the older stock rom with the 3 button method (C432B160) buuuut you are saying that the Bxxx should match as well, and all i can find on your g-drive has only Lxx and Cxxx... I dont get it... Did i understand something wrong??

Please if you can, link me a correct oeminfo and custom.bin (or what i need to rollback) so it's matching L21C432B160

I tried yesterday to flash b120, and it didnt work, stopped at 5% and failed, the same with 160...

I will try today with B130 that you Linked and see what happens

Thanks in advance
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] k1ll3r8e:
Heyho,

seems u are looking only in the "oeminfo" folder^^ - Why don't get a "full" package from my g-drive? (L21C432B130_DS/SS)

Edit:

The ...B160 is able to override an ...B130.

Regards,

Sebastian
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] ahmad2000sh:
so... I downloaded the package and the update zip from your clouds (g-drive and xda), i installed the VNS-L21C432B130

pkg, then powered off and used the 3 button method,with dload folder that has update.app for VNS-L21C432B130, and it stopped at 5% again...

I dont know where i am going wrong...

once again, i am on a custom rom (RocateX 5.1 by Simo255) based on B370... now what can i do to rollback?
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] k1ll3r8e:
Heyho,

as mentioned here on XDA and on this thread a billion times...

U must flash the oeminfo + custom.bin before u can flash a lower build. Installing the package, only unzips the needed files which the toolkit needs to work with ur device. This will not write any file to ur device! U Just have to use those tabs, only the tabs recovery, dual-/single-SIM, etc. will write files to the device.

So just flash the oeminfo + custom.bin, place the update.app on the sd-card or internal storage and to do the update^^

If that won't work also... Well, this is the wrong thread for "rollbacks". Because, I don't compiled the ROM u used, nor I ever tested the custom ROMs which currently available. So if u have probs which such an ROM u should ask the guy which uploaded the ROM. Because, he should know what his software has done to ur device^^.

Regards,

Sebastian

Edit:

-----------------

Update

-----------------

I just added the pkg.L31C432B380.zip to my g-drive
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] sarkantyujanos:
:D and any unofficial one through TWRP?
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Hipom:
Can i use your toolkit to unlock bootloader of my p10 lite??
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] k1ll3r8e:
Heyho,

normally yes, with deactivated "device check". But! I would recommend that u try it the following way:

1) download the TK

2) start it and wait until it finished the init (that it deploy the adb/fastboot binaries)

3) close it

4) open the toolkit folder and navigate to the "adb" folder

5) right click on a free space and select "run command/open command prompt here"

6) now connect ur device

7) type

fastboot devices

8) check if ur device is listed

9) type

fastboot oem unlock UR_UNLOCK_CODE

10) check the device screen for a dialog

11) confirm the dialog with [Vol+] and [Power]

Warning!

The device will do a factory reset if all went well!

Hope i could help u ;)

Regards,

Sebastian
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] fireburner-de:
To clear a few questions:

Can a SS with DS oeminfo and stock ROM be updates via OTA?

I assume it must be unrooted.

But does the bootloader also need to be relocked?

When applying a full Update, does the DS oeminfo get affected in any way (by flashing a DS ROM (Bxx0))?

edit: I had moved back to stock C432B160 recently, but didn't get any update, neither in update menu, nor via HiCare. Phone was not rooted, only bootlocker was still unlocked.
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] tw1st3d83:
bootloader must be locked in order to get official OTA updates... and unrooted...
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] HostileOne:
Acctually not, you still get updates even with unlocked bootloader . Got all updates from MM to Nougat and never got the bootloader locked, just had to reroot the device after each one. Im on vns21c432b381 atm.

Cheers

H
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] k1ll3r8e:
Heyho,

let me explain it based on my experience...

L31C432B130 -> L31C432B160 (rooted - unlocked)

L31C432B160 -> L31C432B210 (rooted - unlocked)

L31C432B210 -> L31C432B336 (auth problems and failed updates installation with root and unlocked)

L31C432B336 -> L31C432B370 (rooted - unlocked | bootloader was still unlocked after update but not working "fake unlocked")

L31C432B370 -> L31C432B380 (rooted - unlocked | bootloader was still unlocked after update and working "real unlocked")

as u can see the updates have a really strange behavior... Also as mentioned by [MENTION=2953340]tw1st3d83[/MENTION] he needed to be un-rooted and locked and [MENTION=5467311]HostileOne[/MENTION] had no issues how it looks like with an rooted and unlocked device... So i would say it's based on ur luck and maybe the device (version/model) how the update does it job.

About the oeminfo, sure when u flash another build/update the oeminfo gets modified in that case that for example the build id will be changed and the recovery id also, both are saved in the oeminfo and both values get rewritten after an update. Other changes i didn't recognized.

About the notify, i don't think that the open bootloader has something to do with the update notify, because i got all notifies while rooted and unlocked, only one build failed to install during the "auth" problem.

Edit:

oeminfo hex parts

custum.bin part
00011200h: 68 77 2F 65 75 FF FF FF FF FF FF FF FF FF FF FF ; hw/euÿÿÿÿÿÿÿÿÿÿÿ

recovery part
00043200h: 72 65 73 63 75 65 3A 56 4E 53 2D 4C 33 31 43 34 ; rescue:VNS-L31C4
00043210h: 33 32 42 33 37 30 FF FF FF FF FF FF FF FF FF FF ; 32B370ÿÿÿÿÿÿÿÿÿÿ

current build
0004d200h: 56 4E 53 2D 4C 33 31 43 34 33 32 42 33 38 30 00 ; VNS-L31C432B380.

model
0005a200h: 48 55 41 57 45 49 20 56 4E 53 2D 4C 33 31 00 00 ; HUAWEI VNS-L31..
...
00060200h: 56 4E 53 2D 4C 33 31 FF FF FF FF FF FF FF FF FF ; VNS-L31ÿÿÿÿÿÿÿÿÿ

???previous build???
02064200h: 56 4E 53 2D 4C 33 31 43 34 33 32 42 33 37 30 00 ; VNS-L31C432B370.

Hope i could help u ;)

Regards,

Sebastian
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] fireburner-de:
Thank you! Unfortunately, this did not completely answer my question.

Let me ask the question again, with a little more details:

Do I have to fear the oeminfo partition (DS) gets corrupt/altered and a DS oeminfo needs to be re flashed after applying a full Update (DS-ROM) on a device which was delivered with a SS oeminfo.

In other words, does the device somehow remember that it was SS in the beginning, or does it now think it is DS unless I do not flash a new oeminfo or flash a SS-ROM?

Additionally can an update break the system, when being rooted and applying an update?

I ask because I will resell it to a friend, who is not that into flashing and all and I am wondering if I should give him a rooted or an un-rooted device.
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] k1ll3r8e:
Heyho,

i had a T-Mobile branded single-SIM device (original) i altered it to the current state: L31C432B380 DS no issues i still get my updates only for dual-SIM. So no that does not give any problems.

An update maybe, but not an full update because it will rewrite the whole system and so delete the root anyways^^ - I would suggest u, give an unrooted device^^ - Because as u say, he's not that fit in flashing, he should never use root^^ - U know what can happen when u press a wrong button as root ;) - BOOOOOOOM! Goes the dynamite! :D

Regards,

Sebastian
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] fireburner-de:
[MENTION=3753223]k1ll3r8e[/MENTION] Thanks alot! BR
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] xenjii:
Hi, I'm in VNS-L31C02B125 and i'm tired to wait for my operator update... Will it works for me?
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] foxmolder1985:
Heya, sorry for the noob question!

I'm with the VNS-L31C432B125.

I had vodafone locked single sim. I've now the aforementioned dual sim build.

How do I have to update to android 7?

Cheers

https://ibb.co/e86XTF
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Longwuib:
If someone can make my single sim to dual sim on team viewer would be helping me alot thanks.
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] {LCD}Stelios:
Hi can I use this tool just to install TWRP recovery and SU as I've already unlocked the bootloader just struggling to flash the recovery.img?

Thanks ;)
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] k1ll3r8e:
Heyho,

yes u can flash any recovery u want with this toolkit. About the root, just check the tab "Root", there are 2 different ways described how to get root. ;)

-------------------

Update/News

-------------------

I just write as already mentioned a view/tool to read and later also modify the oeminfo. If u want have a look at it, here is a really early preview.

U can:

* check for which build the oeminfo is

* extract the custom.bin part from it, if u got only a oeminfo

* create a header index file (for dev reasons)

* extract selected or all parts of the oeminfo to single files (header & data are separated) (if u are a dev, or simply want to know what it contains)

Download:

See the attachment

Regards,

Sebastian
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] crowbgd:
OEMInfo tool on my pc not work. Unziped and nothing hapend.
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] k1ll3r8e:
Heyho,

u have .NET 4.0 installed?

Does the .exe show up in the taskmanager?

Which OS u are using?

Regards,

Sebastian
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] crowbgd:
I have Win 10 64bit yes framework 4 installed. I dont se on taskmanager oem info tool app. Myb my OS is bad (hate Win 10)
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] k1ll3r8e:
Hmm,

u get no UAC dialog on start? (Admin request)

-

U have admin rights on the PC? (needed to produce files on the C: HDD)

PS:

Just tested on Win 10 X64 VM and Native, on my end it works ;)

Regards,

Sebastian
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Longwuib:
When I updated trying to make it dual sim it somehow changed my device to C900. I got bootloader unlocked but can't seem to get root. From reading posts back looks like I won't receive OTA updates and not safe to update by SD. Can anyone advice scared to do anything now also toolkit not picking up device showing Unknown.
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] crowbgd:
No admin request. I try on lap top now

---------- Post added at 12:42 PM ---------- Previous post was at 12:39 PM ----------

Yep os is sh... on win7 work on lap top
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] k1ll3r8e:
Heyho,

have u flashed only the FW or also the oeminfo + custom.bin?

ok, i just added 2 screenshots just to show that it normally should work ;)

Edit:

Based on ur edit, try to disable the UAC temporary and try to start the tool.

(The UAC can be found under "User-Settings" something like "UAC - Level" set it just for test purposes to "Insecure" if it then will work, try to install latest Win10 update - maybe this will fix the issue.)

Regards,

Sebastian
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Longwuib:
I've only done FW no oeminfo can't get root to do oeminfo.
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] k1ll3r8e:
Heyho,

just deactivate the "Device Check" and reconnect ur device, then the device should be recognized.

(Also, u need to re-enable the USB-Debugging in Dev-Settings)

Regards,

Sebastian
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] Longwuib:
This may sound silly but where do I place the files for them to show in toolkit.

Edit: never mind got it had to install package.
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] ionutcipriananescu:
i am on PRA-LX1C432b106, dual sim edition i've unlocked the boot loader and receive your device is unlocked and cannot be trusted . to learn more visit... your device is booting now, but he do not boot. After a complete drain of the battery with the charger plugged in i can boot in software. but i do not have a keyboard option and any google play store account. cannot format wipe because miss of the keyboard . the question it is OK to install VNS-L31 software firmware on my device? And what version to put ?
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] k1ll3r8e:
Heyho,

as u have maybe noticed this toolkit and the whole section here is for the old P9 Lite not the "P8 Lite 2017"... I explained that here with the source where i got this from.

So u shouldn't install any of the software here... Because u have for example a Kirin 655 (cpu) we have a Kirin 650. So as u can see the devices have different hardware! If u flash any of the software released for VNS u maybe hardbrick ur device!

Regards,

Sebastian
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] ionutcipriananescu:
Thanks for the fast reply Seb. The phone is a P9 lite 2017 i can assure you that . It is bought a week ago and cannot restore to factory because i cannot do any of the button combo while the phone is charged. I NEED to get back to stock. I unlocked using SRK toolkit. things has gone crazy when I've tried to write TWRP. Thanks again!
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] HassanMirza01:
hey [MENTION=3753223]k1ll3r8e[/MENTION] can i use this method on dual sim phone ?? i have build num C185B100 and its L31 dual sim phone,,,

if no, what changes i need to made...

thanks in advance

[MENTION=5939689]HassanMirza01[/MENTION]
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] k1ll3r8e:
Heyho,

normally u can flash the C432B130 and then u need to use the dual-sim oeminfo + custom.bin provided with my toolkit (Dual-Sim -> Upgrade) otherwise u'll get an C900B130 build. But i have not tested it yet! Because i have at the moment only my Single-Sim (to Dual-Sim converted) L31. But from the logical way there are no problems. The oeminfo + custom.bin provided with my toolkit are form an EU Dual-Sim device.

Hope that's the answer u're looking for ;)

Regards,

Sebastian
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] delahunty:
Sent a beer your way Sebastian - thank you so much for the kit - it was very useful to me!
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] bubus44:
Request VNS-L21/31 oeminfo.img

Hi

Does anyone have TWRP save the Single VNS-L21C432B131?, Or a Single-VNS L21 / 31 oeminf.img a file?

Thanks,
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] k1ll3r8e:
Heyho,

i can only give u my backup file it's from an L31C150Bxxx Single-Sim but with this file and the C432B130/B131 u'll end in an C900 until u get the oeminfo for the C432.

Regards,

Sebastian
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] bubus44:
Thanks

Yes, I know it will not even be getting C900 C432 but you also get a fresh body, if C900?
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] k1ll3r8e:
Heyho,

have a look at this post (3rd spoiler). There are the "build numbers" explained. And yes, u get a fresh install when u flash the C432 build over it. The only problem is that u get no updates with an C900.

Regards,

Sebastian
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] mehdisa:
I have rooted my device and there is an update ,can I update my device?
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] bubus44:
Thank you wait for the C432B131 oem inf files ingredients.
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] bubus44:
Hey, it would be a big job to put the Single oeminfo.img Toolkit? Or write the commands to be entered please, how do I install oeminfo.img from adb files?
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] k1ll3r8e:
Why u say here u'll wait for the oeminfo and

ask here again for the oeminfo? I already told u maybe 100x times via PM (which i now disabled) that i don't have an C432 single-sim oeminfo... So at least, read the forum, use the search or wait until i release the new version... I already wrote that the next version will include the ability to flash custom files...

But it's senseless to tell u this, because u don't read it or won't understand it...

PS: The commands are already written here u only need to change the paths...

Regards,

Sebastian
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] jrmpinto:
Dual sim feature is working, but now I would like to root my phone. It says my bootloader is locked, but if I unlock it in order to root, it will reset and go back to single sim, right?
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] k1ll3r8e:
Heyho,

nope the oeminfo is not a part of the firmware.

So yes, it will reset all data through the unlock, but the dual-sim will stay until u flash another oeminfo.

Hope that's the answer u'r looking for ;)

Regards,

Sebastian
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] jrmpinto:
Hi, thanks for the quick response.

So I can unlock the bootloader again, then install TWRP and root, right? Thank you :)
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] k1ll3r8e:
Exactly ;)
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] jrmpinto:
Hi,

I'm in a big trouble... I tried to root the device (with the dual sim already worling) but after unlocking bootloader again the phone tries to factory reset, but I already have TWRP installed so it can't do the reset...

What can I do now? I can't turn the phone on and on the bootloader the toolkit doesn't work so I can't reinstall stock recovery or anything else. Need help :(
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] k1ll3r8e:
Heyho,

i'll include in the next version the ability to disable the device check.

But for ur current problem, just download the needed files from here. To flash the recovery manually, u can use the adb included in the toolkit (path/to/the/toolkit/adb) and here are the commands:

fastboot flash recovery recovery_stock.img
fastboot reboot

Hope this helps u ;)

Regards,

Sebastian
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] steven81:
Hello Sebastian , first of all I wanted to compliment you for your tool that in itself is fantastic . I wanted to give you a hand by attaching the original file oeminfo orange/all and the firmware to flash for L31 single sim , I hope that others will follow in my footsteps , the firmware in question to be attached to oeminfo is as follows https://mega.nz/ # ! xdJHDb7b ! _ogJPR3Zpvj7BBrd5FJ5nVh221vC - 8AxbkHLZK0O218 ... I hope I've given you aid it takes 5 minutes to extract oeminfo we'll have them all already included firmware . thanks again
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] cybero2912:
I activated Dual-Sim on my P9 lite (VNS-L31) and since then the App "SIM-Toolkit" tells me "Please insert sim card"

not a big problem but I am curious if others can confirm this behavior
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] k1ll3r8e:
Hi Steven,

THX for ur warm words, i just downloaded the files u provided and decided to open a custom.bin & oeminfo section in my G-Drive and on my FTP. There i'll store all files i'll get from now on, so we have a place where everything is stored. ;)

(I'll edit the OP later and add the links)

Hi Cybero,

yup u are right! I never used it but now i tried it and i get the same issue like u. But hey, at least the "T-Mobil" Sim-Tool which is unlocked with an T-Mobile sim works :P

(I'll try later with my D2 card too, actual i have only 1 sim and my SD-Card inside. - I need an SD-Sim :cyclops:)

Regards,

Sebastian
[Huawei P9 Lite ROMs, Kernels, Recoveries, & Other ] k1ll3r8e:
Heyho,

even if it's a "P9 Lite 2017", u still have different hardware then the VNS models. So i can't do anything for u. Because i don't have any files for ur device, based on the fact that i have an VNS not an PRA. U can try to get the FW via the FirmwareFinder apk... Install it on a 2cd device or a friends device (u only need it to download the files).

But more i can't tell u, sry for that.

U should try to ask for help in the "P9 Lite 2017 (general)" section there is maybe someone who can help u.

Regards,

Sebastian