Easy Upgrade to Unapproved EMUI 5 Update - Huawei P9 Plus Guides, News, & Discussion

Sometimes Huawei releases an update package without approving it. For instance, my device (VIE-L29C636) is getting a B382 update, but the update isn't approved for installation. Here's how to update to those update packages.
NOTE: Using this method, you can also safely upgrade your device even if it is rooted, or has some files system partitions altered. (Of course after finished this process, your device will become unrooted and any alteration to the system partitions mentioned below will revert).
Prerequisites:
Your device is already running EMUI 5 (do not attempt this procedure on EMUI 4 ROM, as the partition layout may differ, and the various firmware (modem, sensor hub, etc.) may not compatible.
Unlocked Bootloader AND FRP.
Latest TWRP from OpenKirin (more on that, including download link, click here).
Huawei Update Extractor, for extracting UPDATE.APP.
imgtool, to convert the sparse android image into an ext4 raw image file.
Method:
Download your preferred update package from Firmware Finder app (Make sure to select the one which has 'FullOTA' designation on it. The package doesn't have to be a 'PV' package). Choose 'update.zip' and the other zip that has your region name on it (for instance, on my C636, look for the zip which has 'spcseas' on it's name). I will refer this 2nd zip as 'regional zip'.
Extract the 'UPDATE.APP' from both zip archive.
Using the Update Extractor on a Windows PC, Extract BOOT, SYSTEM, PRODUCT and VENDOR partitions from UPDATE.APP retrieved from 'update.zip', and extract CUST and VERSION from UPDATE.APP retrieved from your regional zip. You should end up with BOOT.IMG, SYSTEM.IMG, PRODUCT.IMG, VENDOR.IMG, CUST.IMG and VERSION.IMG.
Convert PRODUCT.IMG, VENDOR.IMG and VERSION.IMG to an ext4 image using imgtool, for example:
Code:
imgtool PRODUCT.IMG extract
Beware of overwriting the converted image. imgtool is hardcoded to output the converted file to 'extracted/image.img' folder. ALWAYS rename the image.img to something like 'product.ext4.img' after conversion.
Reboot your device to bootloader mode. Flash BOOT.IMG, SYSTEM.IMG and CUST.IMG via fastboot. For example:
Code:
fastboot flash boot BOOT.IMG
Reboot your device to recovery mode. Type
Code:
fastboot reboot
and hold the Vol Up button on your device to enter recovery mode.
Upload the *.ext4.img converted earlier to your device (doesn't matter where, but I recommend using a safe place like '/sdcard', or USB OTG or external micro SD card). you can use 'adb push', MTP or OTG to upload/copy the ext4.img files to your device.
for each *.ext4.img files, flash it to the appropriate named partitions in
Code:
/dev/block/platform/hi_mci.0/by-name/*
. You can use adb shell on your PC, and a command line program called dd on your device. For faster transfer, try to adjusting the block size to 8M. Example commands (execute from adb shell):
Code:
dd if=/sdcard/product.ext4.img bs=8M of=/dev/block/platform/hi_mci.0/by-name/product
dd if=/sdcard/vendor.ext4.img bs=8M of=/dev/block/platform/hi_mci.0/by-name/vendor
dd if=/sdcard/version.ext4.img bs=8M of=/dev/block/platform/hi_mci.0/by-name/version
Exit TWRP (reboot to system), wait for several minutes for the system to build up it's AOT cache, and enjoy your new EMUI 5 with newer security patch, newer kernel and various features and bug fixes .
EDIT: I apologize that IMGTOOL isn't available in binary form for windows. You can try to use Linux virtual machines to run the IMGTOOL. Any modern GNU/Linux distro should be able to run the IMGTOOL.

Be Alert, by follow this so called "Easy Upgrade", you need to full backup of your data. It is because after upgrade, all data will be reset.

jhleo1 said:
Be Alert, by follow this so called "Easy Upgrade", you need to full backup of your data. It is because after upgrade, all data will be reset.
Click to expand...
Click to collapse
In my case (upgrading from VIE-L29C636B370 to B382), it doesn't erase user data at all. And there is no reason it should erase the data.
But as always, backup your data before performing this procedure, in case something goes wrong.

How to extract product version Vendors use imgtool..

syaif fabian said:
How to extract product version Vendors use imgtool..
Click to expand...
Click to collapse
I'm sorry, I forgot to mention that IMGTOOL is only available as binary in GNU/Linux OS. I think you have to use a VM running a GNU/Linux distro to extract product.img, version.img and/or vendor.img using the IMGTOOL.

@jnakoda
Thank you so much my friend. I was in great trouble as my System Update, File Explorer and Huawei ID apps was deleted from phone due to some experiment. I followed your guide and successfully flashed rom again and boom I got all files back.
Now going to experiment this on B382 firmware
And for those who are curious about this, I successfully used this process for 'meafnaf' region on P9 Plus (VIE-L29)
Once again thanks a lot @jnakoda
---------- Post added at 09:15 PM ---------- Previous post was at 09:10 PM ----------
syaif fabian said:
How to extract product version Vendors use imgtool..
Click to expand...
Click to collapse
imgtool is for converting .img files to ext4 raw image files.
To extract files, you need to use "Huawei Update Extractor" which is mentioned in OP.
---------- Post added at 09:20 PM ---------- Previous post was at 09:15 PM ----------
jhleo1 said:
Be Alert, by follow this so called "Easy Upgrade", you need to full backup of your data. It is because after upgrade, all data will be reset.
Click to expand...
Click to collapse
I confirm in my case (reflashing VIE-L29C185B380), data was not removed. But its better to backup your data first.

faakher said:
@jnakoda
Thank you so much my friend. I was in great trouble as my System Update, File Explorer and Huawei ID apps was deleted from phone due to some experiment. I followed your guide and successfully flashed rom again and boom I got all files back.
Now going to experiment this on B382 firmware
And for those who are curious about this, I successfully used this process for 'meafnaf' region on P9 Plus (VIE-L29)
Once again thanks a lot @jnakoda
---------- Post added at 09:15 PM ---------- Previous post was at 09:10 PM ----------
imgtool is for converting .img files to ext4 raw image files.
To extract files, you need to use "Huawei Update Extractor" which is mentioned in OP.
---------- Post added at 09:20 PM ---------- Previous post was at 09:15 PM ----------
I confirm in my case (reflashing VIE-L29C185B380), data was not removed. But its better to backup your data first.
Click to expand...
Click to collapse
Good Evening i had tried the guide but in my VIE-L09 doesn't work. What can i do? Bootloop infinity

This is easier: https://forum.xda-developers.com/p9/development/eva-nocheck-recovery-flash-unapproved-t3705125
Image works on P9 Plus too. Used it for VIE-L09C432B380.

great post, but as a simple user, i have no idea how to do this steps.
i have a p9 plus c605 b361 and rooted, and i cant update to anything

Every time I want to update to a newer version do I need to repeat the steps?
Or I can directly install new updates from finder without confirmation?

maahmd said:
Every time I want to update to a newer version do I need to repeat the steps?
Or I can directly install new updates from finder without confirmation?
Click to expand...
Click to collapse
heeey...anyone here ?!!?

For Windows users, you can use https://github.com/KinglyWayne/simg2img_win (works great).

maahmd said:
Every time I want to update to a newer version do I need to repeat the steps?
Or I can directly install new updates from finder without confirmation?
Click to expand...
Click to collapse
AYahooo said:
For Windows users, you can use https://github.com/KinglyWayne/simg2img_win (works great).
Click to expand...
Click to collapse
what this is ?!
---------- Post added at 06:51 PM ---------- Previous post was at 06:45 PM ----------
Steve2016 said:
This is easier: https://forum.xda-developers.com/p9/development/eva-nocheck-recovery-flash-unapproved-t3705125
Image works on P9 Plus too. Used it for VIE-L09C432B380.
Click to expand...
Click to collapse
What version? EVA L09: eva_l09b391_nocheckrecovery.img, or EVA L19: eva_l19b391_nocheckrecovery.img ??

maahmd said:
What version? EVA L09: eva_l09b391_nocheckrecovery.img, or EVA L19: eva_l19b391_nocheckrecovery.img ??
Click to expand...
Click to collapse
If this Recovery by Atarii really work on VIE too - it's logical that you use for VIE-L09 the L09 version of this recovery

Steve2016 said:
This is easier: https://forum.xda-developers.com/p9/development/eva-nocheck-recovery-flash-unapproved-t3705125
Image works on P9 Plus too. Used it for VIE-L09C432B380.
Click to expand...
Click to collapse
Tecalote said:
If this Recovery by Atarii really work on VIE too - it's logical that you use for VIE-L09 the L09 version of this recovery
Click to expand...
Click to collapse
I know this but I have a version vie-l29c185 So I do not know which version I chose

maahmd said:
I know this but I have a version vie-l29c185 So I do not know which version I chose
Click to expand...
Click to collapse
If you would say earlier which version you have and if you would search a little bit, then you can find L29:
https://forum.xda-developers.com/showpost.php?p=75234976&postcount=62

Tecalote said:
If you would say earlier which version you have and if you would search a little bit, then you can find L29:
https://forum.xda-developers.com/showpost.php?p=75234976&postcount=62
Click to expand...
Click to collapse
i well try this or this now https://forum.xda-developers.com/p9-plus/how-to/easy-upgrade-to-unapproved-emui-5-update-t3649532

maahmd said:
i well try this or this now https://forum.xda-developers.com/p9-plus/how-to/easy-upgrade-to-unapproved-emui-5-update-t3649532
Click to expand...
Click to collapse
Try it with the Link I give you.
There's no risk. If it works is good, if not, nothing will be changed. (only Recovery, which can be changed after)

Tecalote said:
Try it with the Link I give you.
There's no risk. If it works is good, if not, nothing will be changed. (only Recovery, which can be changed after)
Click to expand...
Click to collapse
Ok i will do it now if it does not work ..do you have a download link RECOVRY bised for p9 plus ?
Or I will pull it out of the update file
I'll tell you the result

maahmd said:
Ok i will do it now if it does not work ..do you have a download link RECOVRY bised for p9 plus ?
Or I will pull it out of the update file
I'll tell you the result
Click to expand...
Click to collapse
I don't know what you mean now
Download the Nocheck Recovery for L29 from the Link I give you
https://forum.xda-developers.com/showpost.php?p=75234976&postcount=62
and do the instructions from the OP
https://forum.xda-developers.com/p9/development/eva-nocheck-recovery-flash-unapproved-t3705125
But with the RIGHT Firmware for your VIE-L29 device (3 zips from Firmware Finder /FullOTA)
After updating Firmware Bootloader is closed and Root is gone.
You have to open again (Factoryreset low-level wipe - if it doesn't do 100% do it manually from settings /advanced settings /backup restore /Factoryreset with wipe of internal storage - this is important! ) and flash TWRP and Root again

Related

Zero support Zenwatch 2 WI502Q

Unfortunatelly I haven't found any support for this watch (system img, or saved full Twrp backup, factory img...) to repair the softbrick. I have found the ota.zip file, but I can't use it because of the system7 error. I have a Twrp on my watch, but I can't find any way to restart my wach. I'm so sad because I can't use my watch.
me too. I stuck with the smaller model because I thought that it looked much better with my Nemesis leather cuff band than the larger model. But no one seems to have the original system image or a recovery I could use for it since I bricked mine. I've gone back to my Misfit Shine, which is not even close to being a smartwatch
Take a look to my thread, I uploaded a twrp backup, but for WI501Q (system+boot)
TWRP BACKUP
https://www.dropbox.com/s/6d51x7mkub6e5ag/TWRP-2016-03-08.zip?dl=0
matze19999 said:
Take a look to my thread, I uploaded a twrp backup (system+boot)
---------- Post added at 21:25 ---------- Previous post was at 21:16 ----------
TWRP BACKUP
https://www.dropbox.com/s/2dcjdeen58kz0qy/asus2.zip?dl=0
Click to expand...
Click to collapse
I downloaded the file and unzipped it. I booted to twrp recovery and used ADB PUSH to send the files to /sdcard/ on the watch. I then used Install in twrp to install the recovery and boot img files (there is no option in twrp to install system.img). After all of this I still cannot boot the watch, it goes to CSC Fastboot.
Am I doing something wrong?
Yeah, its a twrp backup file. Create a random backup ( for example only Boot.IMG ) in twrp. It will create a folder in /sdcard/twrp/ which is named XXXX-XXXX. Its different from device to device. In this folder you can move my twrp backup folder. Then reboot again to twrp. Now you will find a backup item in restore tab. Thats my backup
matze19999 said:
Yeah, its a twrp backup file. Create a random backup ( for example only Boot.IMG ) in twrp. It will create a folder in /sdcard/twrp/ which is named XXXX-XXXX. Its different from device to device. In this folder you can move my twrp backup folder. Then reboot again to twrp. Now you will find a backup item in restore tab. Thats my backup
Click to expand...
Click to collapse
Thank you for all the steps.
I tried the steps and I noticed that when I selected the restore option only BOOT was able to restore. So I looked at the backup that twrp made and the filenames were actually boot.emmc.win, recovery.emmc.win, and system.emmc.win. So I took your three files and renamed the img extensions to emmc.win extensions and moved them directly to the backup folder that twrp created. This allowed me to be able to select all three options for restore (boot, recovery and system). The restore completed without errors. However when I reboot the watch it continues to quickly show "Recovery Mode!" and go to "CSC Fastboot Mode!"
Am I still doing this wrong?
download the backup file again and test it
matze19999 said:
download the backup file again and test it
Click to expand...
Click to collapse
I downloaded it again using the same method I described earlier, but I get the same result.
I have the wren device WI502Q.
Backup file is only for sparrow
I guess this thread really does prove there is no support for wren, as the title states. Too bad..
Welp i'll just buy a new watch. My CAVS just won!!!! Wooooo!!!!!!
cland216 said:
I guess this thread really does prove there is no support for wren, as the title states. Too bad..
Click to expand...
Click to collapse
https://r3---sn-h0j7snel.gvt1.com/p...9A6B905E737F34D1021CDEC6AED82CB6617A&key=cms1
stock rom for small version
matze19999 said:
https://r3---sn-h0j7snel.gvt1.com/p...9A6B905E737F34D1021CDEC6AED82CB6617A&key=cms1
stock rom for small version
Click to expand...
Click to collapse
I get an Error 7:
"this device has omni_wren wren:6.0.1/MHC19J"
I updated the watch to MM before I bricked it. Where can I find MHC19J image?
I have a stock Wren on mm, you still need a backup?
couchlock said:
I have a stock Wren on mm, you still need a backup?
Click to expand...
Click to collapse
I am thinking of rooting and would really appreciate a backup just in case. I really would appreciate it and I know others would appreciate it as well.
I'll be off in a couple days. I'll post a link from my mega account when I get it.
https://forum.xda-developers.com/zenwatch-2/general/wi502q-how-unbricked-watch-twrp-backup-t3521916
Unbrick guide I made.
So what do you need a back up of and how do I make the backup. Sorry so long but I finally have time. And a PC again

Rollback to Android 5 and EMUI 3.1 (PLK-AL10)

Hi guys
The official OTA update (B380) with Andoid 6 and Emui 4.0.1 arrived on my PLK-AL10 around a week ago and I was very disappointed when I saw the "privacy protection" feature is not there anymore. This feature allowed me to create "visitor" account and the visitor could not see all the apps and albums.
Now I installed B395 hoping the feature included but it is still not.
I would like to revert to the previous system (as I remember it was B320) or any working version with Android 5 and EMUI 3.1.
I tried to install all the rollback files I found on the net but all stopped after a few percentages with the error message "software install failed".
Pls help me, what can I do?
You can root your device and add a couple of lines in /system/build.prop to get back the multiuser mode.
Sent from my PLK-L01 using Tapatalk
DigiGoon said:
You can root your device and add a couple of lines in /system/build.prop to get back the multiuser mode.
Sent from my PLK-L01 using Tapatalk
Click to expand...
Click to collapse
Really?
May I get a bit more detailed explanation what to modify?
tgergo said:
Really?
May I get a bit more detailed explanation what to modify?
Click to expand...
Click to collapse
http://forum.xda-developers.com/cro...ti-user-mode-guest-mode-simple-build-t3064829
This thread explains what you need to add to build.prop
Or do you need to know how to root your phone?
You can set how many users you want by editing max user line.
lionboy33 said:
http://forum.xda-developers.com/cro...ti-user-mode-guest-mode-simple-build-t3064829
This thread explains what you need to add to build.prop
Or do you need to know how to root your phone?
Click to expand...
Click to collapse
I can find in other topics how to root the phone, thank you. I think I can do it with these. Thanks a lot.
DigiGoon said:
You can set how many users you want by editing max user line.
Click to expand...
Click to collapse
Great.
I will come back if I get into trouble.
tgergo said:
Great.
I will come back if I get into trouble.
Click to expand...
Click to collapse
Always here to help buddy.
DigiGoon said:
Always here to help buddy.
Click to expand...
Click to collapse
Hi again,
Finally I managed to edit my build.prop and got "users" option. The problem is that is is not the same function as "Privacy protection" was in android 5. Privacy protection left the icon layout untouched, it was just possible to hide albums and applications.
Here when I create a guest and switch to it, it shows a completely empty system without any installed apps, pictures, etc..
Therefore I still want to go back to Android 5. How is it possible? I have TWRP installed. My current rom is B395 and phone is PLK-AL10.
To add to previous post, please unroot, flash stock boot.img and recovery.img BEFORE attempting to flash any ROM, including transitional package.
zinko_pt said:
To add to previous post, please unroot, flash stock boot.img and recovery.img BEFORE attempting to flash any ROM, including transitional package.
Click to expand...
Click to collapse
I don't think he was rooted, as the official update was missing a feature and he just wanted to get back to Lollipop.
Sent from my PLK-L01 using Tapatalk
pixelitect said:
You have to first flash the transition package to go back to Lollipop. For transition package to work you have to first flash STOCK recovery.img.
To do that execute the following command:
Code:
fastboot flash recovery recovery.img[/b]
Here [b]recovery.img[/b] is the name of your recovery file, and execute this command from the folder where you have saved the STOCK recovery.img. If you don't have STOCK recovery then you can extract it form the [b]UPDATE.APP[/b] using [URL="http://forum.xda-developers.com/showthread.php?t=2433454"]Huawei Update Extractor tool[/URL].[/QUOTE]
First I wanted to do so, but I could not find any transition package that worked with B380 stock rom (now I have 395). All I tried stopped with "software install failed" :(
Click to expand...
Click to collapse
pixelitect said:
Oh, then you can debrand your device using Multi-Tool to the one which has rollback package, and flash the Lollipop of that model.
Click to expand...
Click to collapse
Ok, I haven't heard about this yet but I'll try.
Finally, after 2 months of struggling I managed to get back to Android 5 and EMUI 3.1 without a rollback file.
Here is what I did:
0. Download a full ROM you want to install
1. Backup of the current system with Hisuite (everything. Apps, media, contacts, call log, etc.)
2. Flash TWRP recovery with fastboot (start phone in fastboot mode)
3. Wipe (and format!) everything you can with TWRP
4. Extract boot.img and recovery.img from update.app of the new ROM with Huawei Update Extractor
5. Flash boot.img and recovery.img with fastboot.
6. Copy update app to dload folder on SD card, insert into the phone.
7. Restart phone with [VOL+] + [VOL-] + [Power] buttons to force update.
8. The system will be installed from SD card. I had no issues with the installation. First I did not format the phone (just wiped) and it did not work.
9. Restore data from backup.
The only strange thing is that the native app icons look different than my previous lollipop system. Don't know why. They are less colorful. I installed C00B220 for PLK-AL10.
I managed to get back to Android 5 and EMUI 3.1 with a rollback file.
Here what I did:
1. Download Downgrade pack.
2. Download C185B130 ROM, which i want to install.
3. Backup of the current system with Hisuite (everything. Apps, media, contacts, call log, etc.)
4. Copy update app from Downgrade pack to dload folder on mobile internal memory.
5. Restart phone with [VOL+] + [VOL-] + [Power] buttons to force update.
6. The system will be installed from mobile internal memory. I had no issues with the installation.
7. Copy update app from C185B130 ROM to dload folder on mobile internal memory.
8. Restart phone with [VOL+] + [VOL-] + [Power] buttons to force update.
9. The system will be installed from mobile internal memory. I had no issues with the installation.
10. Factory reset the mobile if the memory is showing 4gb.
11. The the native app icons look different than my previous lollipop system.
Thanks to tgergo and rest of everyone for the kind help.
Follow my guide at your own risk.
*WARNING* You are doing it at your own risk, I am not responsible for any damages due to bricked phones or broken ones

[Q] Hot to Root Lava A97

Hi,
I am Using LAVA A97 device recently launched. I need to root this mobile to apply some tweaks. I tried various methods like flashing the zip from the SD card and sideload. The error I got always is "Signature Verification Failed". I tried finding custom recoveries and even tried porting custom recoveries but all stopped at the boot image.
Please help me to root this device or port me a custom recovery. I will provide you the files you needed.
Have you tried enabling OEM bootloader setting in developer options?
vshlkmr said:
Have you tried enabling OEM bootloader setting in developer options?
Click to expand...
Click to collapse
Ya I allowed oem unlocking in developer options. But when i boot to fastboot mode and enter command
Code:
fastboot oem unlock
it struck on the boot screen. I have waited for an hour but nothing happened. I just removed battery and rebooted my mobile.
I can give you the stock rom can you make it pre rooted
Please tell me the procedure to add su files in marshmallow system.img and flash it
Bro, I used to root androids way before, then I moved to windows phone and have just recently bought this lava a97. Although I can give you an easiest way to root a device, you can try it with this phone and let me know if it works.
Find a stock rom of any device you want to root, extract the boot.img (use cygwin if you are on windows), there will be a line "ro_secure=1" just change the one to zero, repack the boot.img and either reflash the entire modified rom or just the boot.img.
Then you can simply install super su and then any root checker app to see if the phone is rooted.
Although this method used to work flawlessly on indian branded phones running android 4 series but not sure it will work now, but it's worth a try.
---------- Post added at 08:51 AM ---------- Previous post was at 08:46 AM ----------
karljsamuel said:
Please tell me the procedure to add su files in marshmallow system.img and flash it
Click to expand...
Click to collapse
Rooted phones use su binaries (small block of codes that perform a specialized function) which are granted to be used by any other app that requires them through superuser app. Just pushing in the superuser app won't give you root, you also need those binaries (which on various phones are transfered via adb or through zip flashing into the /bin directory)
---------- Post added at 08:55 AM ---------- Previous post was at 08:51 AM ----------
You can do one thing, extract the stock rom, extract the system.img partition, and then copy the binaries directly to the /bin folder (you can lift those binaries from any rooting zip file from the corresponding bin folder), then copy the superuser app to /system/apk , repack everything, then edit the boot.img as I told earlier, then flash this modified rom onto the phone.
---------- Post added at 08:58 AM ---------- Previous post was at 08:55 AM ----------
Try googling for cygwin, if you are running Windows 10 x64 bit, you can also enable bash for ubuntu... These tools will make packing, editing and repacking of the images easier, but am not sure how to flash the image again back onto the phone
vshlkmr said:
Bro, I used to root androids way before, then I moved to windows phone and have just recently bought this lava a97. Although I can give you an easiest way to root a device, you can try it with this phone and let me know if it works.
Find a stock rom of any device you want to root, extract the boot.img (use cygwin if you are on windows), there will be a line "ro_secure=1" just change the one to zero, repack the boot.img and either reflash the entire modified rom or just the boot.img.
Then you can simply install super su and then any root checker app to see if the phone is rooted.
Although this method used to work flawlessly on indian branded phones running android 4 series but not sure it will work now, but it's worth a try.
---------- Post added at 08:51 AM ---------- Previous post was at 08:46 AM ----------
Rooted phones use su binaries (small block of codes that perform a specialized function) which are granted to be used by any other app that requires them through superuser app. Just pushing in the superuser app won't give you root, you also need those binaries (which on various phones are transfered via adb or through zip flashing into the /bin directory)
---------- Post added at 08:55 AM ---------- Previous post was at 08:51 AM ----------
You can do one thing, extract the stock rom, extract the system.img partition, and then copy the binaries directly to the /bin folder (you can lift those binaries from any rooting zip file from the corresponding bin folder), then copy the superuser app to /system/apk , repack everything, then edit the boot.img as I told earlier, then flash this modified rom onto the phone.
---------- Post added at 08:58 AM ---------- Previous post was at 08:55 AM ----------
Try googling for cygwin, if you are running Windows 10 x64 bit, you can also enable bash for ubuntu... These tools will make packing, editing and repacking of the images easier, but am not sure how to flash the image again back onto the phone
Click to expand...
Click to collapse
I tried the above mentioned steps in my Ubuntu 16.04 with Android Kitchen and Superr's Kitchen. With Android kitchen, I unpacked the system.img and the kitchen made the boot image and made the ro.secure=0. Then I added the necessory files from @Chainfire SuperSU.zip as per the update-binary script mentioned and repacked system.img with Superr's Kitchen. When I flashed modified system.img and boot.img with flash tool.
The superSU app said that su binaries are not installed and it cant install them also it asked me to reroot the mobile phone.
I also tried with Dirtycow exploit also but not worked.
Mobile is running Marshmallow API 23
Can you make me a custom recovery. I followed the steps mentioned in this forum to port a custom recovery but it struck in the boot logo.
The Stock Firmware file Now I have in my mobile can be downloded from Google Drive.
Boot.img Recovery.img and build.prop file is uploaded as Zip to Google Drive
How are you flashing the files back to phone? What software you using? And maybe superuser cannot find the binaries bcoz maybe lava a97 picks it's binaries from someplace else (like maybe /system/bin)
vshlkmr said:
How are you flashing the files back to phone? What software you using? And maybe superuser cannot find the binaries bcoz maybe lava a97 picks it's binaries from someplace else (like maybe /system/bin)
Click to expand...
Click to collapse
Flashed with SPD upgrade tool.
The su binaries and apk files are placed as mentioned by chainfire in the update-binary provided by him for flashing the zip via custom recovery.
It told me to run su --install but the adb shell does not work after customising the rom
karljsamuel said:
Flashed with SPD upgrade tool.
The su binaries and apk files are placed as mentioned by chainfire in the update-binary provided by him for flashing the zip via custom recovery.
It told me to run su --install but the adb shell does not work after customising the rom
Click to expand...
Click to collapse
Is USB debugging enabled?? Also switch the phone to cd rom and install the drivers
While installing the modified system.img it give me error
- exec '/system/bin/sh' failed: No such file or directory (2) -
Even there is no such file in the stock rom. only a file named sh0 was present
I reflashed the rom and adb shell is working properly without the /system/bin/sh file
How to root lava a97
Hey bro I read your thread and also I myself tried many ways to root my lava a97
Did u got any method to root it??
Please tell
karljsamuel said:
Ya I allowed oem unlocking in developer options. But when i boot to fastboot mode and enter command
Code:
fastboot oem unlock
it struck on the boot screen. I have waited for an hour but nothing happened. I just removed battery and rebooted my mobile.
I can give you the stock rom can you make it pre rooted
Click to expand...
Click to collapse
Lava A97 is CortexA7 device
use fastboot tools to flash TWRP and then flash SuperSU.zip
I'm gonna port TWRP for Lava A97 soon
And will test it.
pm me and I'll give you TWRP after success in testing
OK?
---------- Post added at 09:40 AM ---------- Previous post was at 09:35 AM ----------
vshlkmr said:
Bro, I used to root androids way before, then I moved to windows phone and have just recently bought this lava a97. Although I can give you an easiest way to root a device, you can try it with this phone and let me know if it works.
Find a stock rom of any device you want to root, extract the boot.img (use cygwin if you are on windows), there will be a line "ro_secure=1" just change the one to zero, repack the boot.img and either reflash the entire modified rom or just the boot.img.
Then you can simply install super su and then any root checker app to see if the phone is rooted.
Although this method used to work flawlessly on indian branded phones running android 4 series but not sure it will work now, but it's worth a try.
---------- Post added at 08:51 AM ---------- Previous post was at 08:46 AM ----------
Rooted phones use su binaries (small block of codes that perform a specialized function) which are granted to be used by any other app that requires them through superuser app. Just pushing in the superuser app won't give you root, you also need those binaries (which on various phones are transfered via adb or through zip flashing into the /bin directory)
---------- Post added at 08:55 AM ---------- Previous post was at 08:51 AM ----------
You can do one thing, extract the stock rom, extract the system.img partition, and then copy the binaries directly to the /bin folder (you can lift those binaries from any rooting zip file from the corresponding bin folder), then copy the superuser app to /system/apk , repack everything, then edit the boot.img as I told earlier, then flash this modified rom onto the phone.
---------- Post added at 08:58 AM ---------- Previous post was at 08:55 AM ----------
Try googling for cygwin, if you are running Windows 10 x64 bit, you can also enable bash for ubuntu... These tools will make packing, editing and repacking of the images easier, but am not sure how to flash the image again back onto the phone
Click to expand...
Click to collapse
Thanks alot bro???
TWRP port test failed
Hey bro i have rooted my lava a97 IPS
Recovery- cyanogen recovery ported by me
And flash super su
Can anyone Provide me the recovery & Su files Please?
---------- Post added at 04:42 AM ---------- Previous post was at 04:40 AM ----------
Mrutunjaya said:
Hey bro i have rooted my lava a97 IPS
Recovery- cyanogen recovery ported by me
And flash super su
Click to expand...
Click to collapse
I Also Want 2 Root My Device Please Can U Help Me?

[STOCK ROM][QMobile Z8][L5510][WIKO RIDGE 4G|Blu Life One(2015)] Lollipop5.0.2 ROOTED

NOTE-1:
I'm not a developer or something even near to that. All information provided here is copied from different internet sources and according to best of my knowledge.
I have created this flashable zip myself and tried this on QMobile Z8 only. It's similar to Wiko Ridge 4G and Blu Life One (2015) in hardware specifications.
I'll not be responsible for any harm to you or your device. It works perfectly for me. You may try it on your own risk.
Save / backup your data before continuing.
NOTE-2:
This flashable zip flashes SYSTEM and BOOT partitions only. If you face ROM abnormal behavior like signals issue, charging problem, device heat up etc. you may flash other partitions as explained here.
Read here more about partitions.
REQUIREMENTS
To flash zip, CUSTOM RECOVERY must be installed. If you don't have one, get here.
If your device is bricked and doesn't boot, try flashing factory firmware as explained here. Even if Download Mode isn't accessible, get official support for your device and pray for it.
STEPS
Download QMobile Z8 Stock ROM Lollipop 5.0.2 Rooted flashable unsigned zip and place it on SD Card or Internal Memory (if you don't going to wipe it).
Reboot into Recovery.
Install ROM zip.
Wipe DALVIK-CACHE, CACHE & DATA.
Reboot. Ignore "No OS Installed" warning (if it comes).
Enjoy!
Thanks for Your Post
I have Qmobile z8 , i updated the firmware of Wiko Ridge 4g on my phone few days before.
So my current OS is Ridge 4g , now as i have tried to install your custom rom you mentioned in this thread
it goes normally about 25 percent in progress bar then suddenly progress bar completed as it goes completed , there is no error but in bottom its written Done. then i clear cache and then restart the phone , but it stuck on Wicko logo then restart and this continues. It seems installation did not go completed ,,,, Any solution ?
sadiq1 said:
I have Qmobile z8 , i updated the firmware of Wiko Ridge 4g on my phone few days before.
So my current OS is Ridge 4g , now as i have tried to install your custom rom you mentioned in this thread
it goes normally about 25 percent in progress bar then suddenly progress bar completed as it goes completed , there is no error but in bottom its written Done. then i clear cache and then restart the phone , but it stuck on Wicko logo then restart and this continues. It seems installation did not go completed ,,,, Any solution ?
Click to expand...
Click to collapse
Flashable zip contains just system.img and boot.img. Extract both files and flash using dd.
What is dd , can you please explain what to do in some detail , i am not so much familiar with android
sadiq1 said:
What is dd , can you please explain what to do in some detail , i am not so much familiar with android
Click to expand...
Click to collapse
dd is a command on UNIX-like operating systems including Linux and Android to copy / dump data. https://www.computerhope.com/unix/dd.htm
Put both img files on internal sd card. Boot in recovery and run these commands from built-in terminal or adb shell:
Code:
cd /sdcard
dd if=boot.img of=/dev/block/mmcblk0p23
dd if=system.img of=/dev/block/mmcblk0p24
Make sure "/dev/block/mmcblk0p23" and "/dev/block/mmcblk0p24" are correct partitions to flash or you may overwrite wrong partitions.
Don't forget to make a backup before making experiments.
mirfatif said:
Flashable zip contains just system.img and boot.img. Extract both files and flash using dd.
Click to expand...
Click to collapse
This method of creating a .img using DD is quite difficult so consider doing this instead:
download mode in noir z8
turn off your phone
press*volume +,vol -*and*power button*for 5 second then download mode mn aa jae ga
Firmware to be downloaded from here
http://de.wikomobile.com/maj.php?telephone=549
Rest info is in the pics attached below serial wise
Hit the thumbs up to support me and reply if you need further assistance
x.ak**** said:
This method of creating a .img using DD is quite difficult so consider doing this instead:
download mode in noir z8
turn off your phone
press*volume +,vol -*and*power button*for 5 second then download mode mn aa jae ga
Firmware to be downloaded from here
http://de.wikomobile.com/maj.php?telephone=549
Rest info is in the pics attached below serial wise
Hit the thumbs up to support me and reply if you need further assistance
Click to expand...
Click to collapse
That's for flashing stock firmware. https://forum.xda-developers.com/android/help/factory-firmware-qmobile-z8-wiko-ridge-t3586572
Mine flashable image is a bit modified, rooted, bloats removed etc. But yes flashers are easy to use and risk-free.
mirfatif said:
That's for flashing stock firmware. https://forum.xda-developers.com/android/help/factory-firmware-qmobile-z8-wiko-ridge-t3586572
Mine flashable image is a bit modified, rooted, bloats removed etc. But yes flashers are easy to use and risk-free.
Click to expand...
Click to collapse
Exactly that's why I prefer them and recommend them.
I have already used the firmware method from Wiko site ,
but my Wifi and bluetooth are not working
---------- Post added at 05:44 PM ---------- Previous post was at 05:41 PM ----------
mirfAtif
where can i write this command
cd /sdcard
dd if=boot.img of=/dev/block/mmcblk0p23
dd if=system.img of=/dev/block/mmcblk0p24
I have TWRP this is a GUI program , where can i write command there?
---------- Post added at 06:35 PM ---------- Previous post was at 05:44 PM ----------
I found the terminal to write the command
Let me know where should i keep the files after unzip them
---------- Post added at 06:46 PM ---------- Previous post was at 06:35 PM ----------
Sorry mirfatif
You told me every thing in ur first post , i didnt read it properly,
Thanks ,
Just let me know is there any way to find out which partition is for System and which is for Boot on my phone
sadiq1 said:
Just let me know is there any way to find out which partition is for System and which is for Boot on my phone
Click to expand...
Click to collapse
Execute these commands:
Code:
ls -l /dev/block/bootdevice/by-name/boot
ls -l /dev/block/bootdevice/by-name/system
sadiq1 said:
I have already used the firmware method from Wiko site ,
but my Wifi and bluetooth are not working
Click to expand...
Click to collapse
Flash QMobile factory firmware, not Wiko's. If that doesn't fix, there must be hardware problem.
Atif
I tried to copy both files.
on first file its copied 32 mb with no error
on second file it only copied 32 mb and said no space left on device
what its mean , but my device has space
sadiq1 said:
Atif
I tried to copy both files.
on first file its copied 32 mb with no error
on second file it only copied 32 mb and said no space left on device
what its mean , but my device has space
Click to expand...
Click to collapse
You must be flashing wrong partition. Or try changing different dd binary e.g. from latest busybox version.
Or if you can loop mount system.img with ext4 filesystem, simple copy files to /system partition along with file permissions.
this time i copied successfully to right partitiones then Wipe DALVIK-CACHE, CACHE & DATA.
then restart but stuck in start loop
sadiq1 said:
this time i copied successfully to right partitiones then Wipe DALVIK-CACHE, CACHE & DATA.
then restart but stuck in start loop
Click to expand...
Click to collapse
Then other firmware partitions from Wiko must be incompatible with QMobile ROM. Simple is to use a flasher which flashes all partitions. But replace the recovery image with custom recovery like TWRP. After that you may flash this rooted ROM if needed.
yar mujhe app se bat kerni he 03343210716/03028484502
I downloaded some firemware for qmobile , using QFile application
every thing was ready when i click on download there was error "download fail:sahara failvalue canot be null"
sadiq1 said:
yar mujhe app se bat kerni he 03343210716/03028484502
Click to expand...
Click to collapse
English please, it's international forum.
PM me for personal assistance.
mirfatif said:
English please, it's international forum.
PM me for personal assistance.
Click to expand...
Click to collapse
He's saying he wants to have a word with you and he has given his number.
x.ak**** said:
He's saying he wants to have a word with you and he has given his number.
Click to expand...
Click to collapse
I know I'm Urdu speaking :laugh:
Just asking to follow the rules.

Android Oreo updates and rollback guide

This will be basically the copy of this thread:
https://forum.xda-developers.com/p10-plus/development/downgrade-p10-plus-oreo-to-nougat-t3724382
But it seems to me that I am not the only one who didn't find it first, so I post it here
I am not responsible if you brick your device, or just damage it!
And all credit goes to @mankindtw and @NoMercyWWE
Always make a backup of your important data, and if you rollback, you need to make a factory reset!
I only tested it with L09, but should work with L29 as well
First of all, you need a P10
2. It only works with oreo firmwares
3. Download the three zip files that are required for update, these are:
update.zip
update_data_public.zip
update_all_hw.zip
Click to expand...
Click to collapse
3/b. You can download them with Firmware Finder, or just search on xda. If you want to make a rollback to Nougat, you need rollback firmwares!
3/c. update_data_public and update_all_hw comes with a slightly different name, but rename both files to these names, otherwise the update will fail!
4. Download HWOTA8 from this topic
5. Put the three update files in HWOTA8 dir
5/b. If you want to rollback, but your files in the repack folder, and run repack.bat
6. Create a new folder on your EXTERNAL sd, named HWOTA8
7. Put your three files in it, plus copy MHA_RECOVERY8_NoCheck.img, and hwota8_update.zip
8. Now install P10 Plus twrp_oreo.img, if you havent't yet:
fastboot flash recovery_ramdisk twrp_oreo.img
Click to expand...
Click to collapse
credit to @OldDroid
9. Reboot into recovery, install hwota8_update.zip it replaces your recovery with the Mate 9 one, reboots and updates
10. Done! If you downgraded, or just encounter any problems, go back in recovery, and make a factory reset!
Can I do this without an sdcard?
dmmercado23 said:
Can I do this without an sdcard?
Click to expand...
Click to collapse
I think it is possible, but you need to rewrite hwota8_update.zip, since the links there are pointing to the external sd. But I dont know what you need to write there instead
Not sure if I did this right but now my phone shows---> Build number System 8.0.0.046(02ZP)
I had showing before---> Build number System 8.0.0.046(01BN)
I don't seem to have it right still
I also have somethong like System 8.0.0.046(02BQ) but .321(C10) installed. And there were some visible updates from the C900log Oreo, eg auto shazam disappeared from the status bar.
It's frustrating lol...my old Nexus 5 was so easy compared to this device...I know I updated with something cuz I also see January 1st security patch and other little differences...everything seems to work ok but still got no themes though...how do we get it right?
Droiduser67 said:
It's frustrating lol...my old Nexus 5 was so easy compared to this device...I know I updated with something cuz I also see January 1st security patch and other little differences...everything seems to work ok but still got no themes though...how do we get it right?
Click to expand...
Click to collapse
Here he says that you need to install su, and rename three directories, but for me themes are working even without this. As soon as I try it, these steps will be added to the tutorial though.
EDIT: I followed the steps and renamed the directories, but there was no change anywhere.
Yes just tried it myself too and no change...still no themes...had an extra folder in there on mine named "optus"...not sure but the twrp and rooting work awesome but wasn't able to make a nandroid backup to my external storage...it failed
Good day,
with what firmware (please complete naimeninie) you rolled back and what was installed by this method?
---------- Post added at 12:54 AM ---------- Previous post was at 12:51 AM ----------
dmmercado23 said:
Can I do this without an sdcard?
Click to expand...
Click to collapse
Without a SD card it is impossible, with firmware via TWRP, internal memory can be reset and then the firmware will not go to the end. Therefore, the programs are located on the SD.
urn said:
Good day,
with what firmware (please complete naimeninie) you rolled back and what was installed by this method?
Click to expand...
Click to collapse
If this question is for me, I did not test the rollback (I am fine with Oreo), but I would use C432B180. You can check the description of an update in FF to see if it's a rollback one.
Here's the solution : https://youtu.be/WYSVq1TE2kI
OREO
Can anyone help me android oreo on my Huawei P10
to install?
- OS = Ubuntu 17.10
- Huawei P10 (VTR-L09)
- Bootloader unlocked
- Device rooted
Nakedchef said:
Can anyone help me android oreo on my Huawei P10
to install?
- OS = Ubuntu 17.10
- Huawei P10 (VTR-L09)
- Bootloader unlocked
- Device rooted
Click to expand...
Click to collapse
Hey, there are many ways of doing it i would recommend https://forum.xda-developers.com/showthread.php?t=3691013
[GUIDE] Huawei P10 Debrand/Rebrand/Update for Nougat&Oreo it works great. Go for the hwota rebrand way, it work like charm for me.
Sent from my [device_name] using XDA-Developers Legacy app
Perfect! I applied the update as described in the OP, then did a factory reset and relocked the bootloader (which did another factory reset). Now, at least I can't tell anymore that the phone has been unlocked and rooted...
Hello, I have a problem in the rocovery that I flash wota8_update.zip I have E: unknown command [errno]
Updater process ended with ERROR: 9
Error installing zip file '/external_sd/HWOTA8/update.zip
dukenuken said:
Hello, I have a problem in the rocovery that I flash wota8_update.zip I have E: unknown command [errno]
Updater process ended with ERROR: 9
Error installing zip file '/external_sd/HWOTA8/update.zip
Click to expand...
Click to collapse
Which TWRP are you using?

Categories

Resources