restore stock boot image - Huawei P9 Lite Questions & Answers

How do i restore stock boot image? I cant unroot with magisk

What rom are you on?
If you have a TWRP backup of the rom before flashing magisk/custom kernel just restore /Boot backup.

Did that and it didnt work... I am on rocatex rom

@simo255 could you help out?

vozilo said:
Did that and it didnt work... I am on rocatex rom
Click to expand...
Click to collapse
flash magisk uninstaller + restore stock boot

simo255 said:
flash magisk uninstaller + restore stock boot
Click to expand...
Click to collapse
I cant flash error 1

vozilo said:
I cant flash error 1
Click to expand...
Click to collapse
give logcat

Here

if u are in stock firmware flash original stock boot image via twrp or adb (pc). u can get stock boot image in update.app (based on ur phone model) extract it with huawei update extractor.
but if u are in custom rom, u must extract that boot image from that rom then flash. if successful, u can flash magisk.

Can i do this without a pc

vozilo said:
Can i do this without a pc
Click to expand...
Click to collapse
not possible... you need to extract update.app

Kcetin20 said:
not possible... you need to extract update.app
Click to expand...
Click to collapse
So how do i do this? Im on rocatex so does this count as a custom rom

Related

[Q] upload kitkat stock boot recovery

help me guys
i am in need of stock kitkat boot recovery (like TWRP) i download from this forum but when i am flashing it through flasr it showing black screen can anyone plss create backup and upload it....
avi21 said:
help me guys
i am in need of stock kitkat boot recovery (like TWRP) i download from this forum but when i am flashing it through flasr it showing black screen can anyone plss create backup and upload it....
Click to expand...
Click to collapse
use rashr instead
sudesh.kumar87 said:
use rashr instead
Click to expand...
Click to collapse
used rashr also showing black screen
avi21 said:
used rashr also showing black screen
Click to expand...
Click to collapse
please try this recovery
sudesh.kumar87 said:
please try this recovery
Click to expand...
Click to collapse
which recovery bro????
avi21 said:
which recovery bro????
Click to expand...
Click to collapse
Please click on link below
sudesh.kumar87 said:
Please click on link below
Click to expand...
Click to collapse
bro it is corrupt file can u plss create backup with rashr of stock recovery and upload
avi21 said:
bro it is corrupt file can u plss create backup with rashr of stock recovery and upload
Click to expand...
Click to collapse
try above recovery.zip
sudesh.kumar87 said:
try above recovery.zip
Click to expand...
Click to collapse
is this is backup??
avi21 said:
is this is backup??
Click to expand...
Click to collapse
its recovery file compressed to zip
sudesh.kumar87 said:
its recovery file compressed to zip
Click to expand...
Click to collapse
bro i already tried this one also its also showing black scrren beeter to upload a backup pls create backup and upload
Flash back the boot file. Download HERE both boot.img JB and KK. Use fastboot to flash.
I use TWRP 2.8.6.0.
Try it.
RSGI_PT said:
Flash back the boot file. Download HERE both boot.img JB and KK. Use fastboot to flash.
I use TWRP 2.8.6.0.
Try it.
Click to expand...
Click to collapse
can i flash boot file using twrp
and after flash boot.img i will flash stock recovery then also it show black screen or not????
TWRP cant flash img files. You must use fastboot to ensure that all the blocks of the img go to the correct partition. Flashify or Flashr apps are ok too.
After flashing the boot img, flash stock recovery also.
If you do that, there will no reason for a black screen... unless something is going on.

[Guide] Flash OTAs with TWRP (OS 2.1.3/ 005)

Firstly, you cannot install OTA's with TWRP. You'll have to get back to stock recovery in order to install patches.
Thanks to @eng.stk, with the recovery compiled from source, we now can flash OTA Zips from TWRP.
Download TWRP 2.8.7.0: http://forum.xda-developers.com/devdb/project/dl/?id=15364
Download the following OTA's and move them to internal/external storage and proceed to install them from TWRP.
OxygenOS_X_Rom.zip (003)
OTA Patch 003-004.zip
OTA Patch 004-005.zip (Uploaded by @Razertje)
____
Stock Recovery (Just in case if someone requires it)
- Stock_Recovery.img
I got an error when I try to flash it
PoloB49 said:
I got an error when I try to flash it
Click to expand...
Click to collapse
Are you rooted? Did you flash TWRP recovery?
PoloB49 said:
I got an error when I try to flash it
Click to expand...
Click to collapse
It's most likely that you tampered the system and recovery partition. I uploaded the stock recovery here, flash the stock recovery, then flash to system dump, then this patch.
Well, i did a nandroid backup before getting rooted, i tried to restore my phone so i could properly do the ota, but now there is no OS installed
But my computer still detect my phone, where can i download the full rom please ?
PoloB49 said:
Well, i did a nandroid backup before getting rooted, i tried to restore my phone so i could properly do the ota, but now there is no OS installed
But my computer still detect my phone, where can i download the full rom please ?
Click to expand...
Click to collapse
It's at the front page. http://forum.xda-developers.com/oneplus-x/general/ota003all20151024193-oxygenos-ota-dump-t3244996
SpiritBreak3r said:
It's at the front page. http://forum.xda-developers.com/oneplus-x/general/ota003all20151024193-oxygenos-ota-dump-t3244996
Click to expand...
Click to collapse
Thanks, i wasn't sure it was the full rom because of the "ota" in the name.
SpiritBreak3r said:
It's most likely that you tampered the system and recovery partition. I uploaded the stock recovery here, flash the stock recovery, then flash to system dump, then this patch.
Click to expand...
Click to collapse
hey i did as you said to try and get the update but i have a question. what does flash to system dump mean?
Already flashed stock recovery. next step?
Savya said:
hey i did as you said to try and get the update but i have a question. what does flash to system dump mean?
Already flashed stock recovery. next step?
Click to expand...
Click to collapse
By flashing the system dump I meant, install this zip package http://forum.xda-developers.com/oneplus-x/general/ota003all20151024193-oxygenos-ota-dump-t3244996. This zip package is stock system dump bearing version 03. Then flash to 03-04 patch.
is this OTA solved the problem with microsd cards?
Can anybody help with a generic error trying to flash the stock recovery again?
No reason why just says failed. I am rooted with TWRP and trying to revert to stock to be able to OTA. Last android was a nexus 4 and been away a little while so I may be missing something.. I don't want to have to wipe all my data and such can somebody assist and refresh my understanding?
Dizzyrul3z: No, microSD card issue remains according to official forum--next OTA I bet.
I'm rooted, TWRP also errored when I attempted the OTA installed.
So to clarify, using TWRP I want to install three zips: stock rom, OTA03 (system dump), and OTA04 (update), wipe cache/dalvik. Correct?
Question: I install them all at once in TWRP, right? Will any of this erase my apps/data?
Thanks,
Dizzyrul3z said:
is this OTA solved the problem with microsd cards?
Click to expand...
Click to collapse
I don't know about you guys, but I have the E-1003 model, SD card is working fine. I have a Samsung EVO+ 32GB card.
BakedGoodsX said:
Dizzyrul3z: No, microSD card issue remains according to official forum--next OTA I bet.
I'm rooted, TWRP also errored when I attempted the OTA installed.
So to clarify, using TWRP I want to install three zips: stock rom, OTA03 (system dump), and OTA04 (update), wipe cache/dalvik. Correct?
Question: I install them all at once in TWRP, right? Will any of this erase my apps/data?
Thanks,
Click to expand...
Click to collapse
You need to flash to Stock recovery as well. I'll be updating the OP.
So this update is newer than the one mentioned here right ? : https://forums.oneplus.net/threads/oxygenos-2-1-2-will-start-roll-out-to-oneplus-x-today.402637/
Thanks
SpiritBreak3r said:
Just received this OTA mins ago.
Size: 17MB
https://drive.google.com/file/d/0B3AIip-hiOnNb1pBeGNlcUIyYmc/view?usp=sharing
Instructions:
1. Switch to Stock Recovery if you're running TWRP. But how to do it? Restore this backup from TWRP.
2. Flash the system dump available at this thread.
3. Now flash this update/patch.
4. Then fastboot flash TWRP recovery if you only need it.
Just my 2 cents, boot TWRP instead of flashing it. I personally suggest.
Code:
fastboot boot twrp_directory_of_your_pc.img
PSA: You'll need Stock recovery to patch official updates.
PS: My Memory Card is working exceptionally fine. I am using a Samsung EVO+ 32GB.
Click to expand...
Click to collapse
I can't restore the stock recovery.
in TWRP:
error flashing zip '/sdcard/*/oneplusx_x_stock_recovery.zip'
I also copied the zip into the TWRP backup folder, but can't select it to restore.
TWRP ist v.2.8.7.0
What am I doing wrong?
...rebooting the device from TWRP is also not working, anybody with the same problem?
umpalumpa1799 said:
I can't restore the stock recovery.
in TWRP:
error flashing zip '/sdcard/*/oneplusx_x_stock_recovery.zip'
I also copied the zip into the TWRP backup folder, but can't select it to restore.
TWRP ist v.2.8.7.0
What am I doing wrong?
...rebooting the device from TWRP is also not working, anybody with the same problem?
Click to expand...
Click to collapse
Extract the recovery.img from the zip file and flash it from fastboot:
Code:
fastboot flash recovery recovery.img
CafeKampuchia said:
Extract the recovery.img from the zip file and flash it from fastboot:
Code:
fastboot flash recovery recovery.img
Click to expand...
Click to collapse
so rename the recovery.emmc.win from the zip file to recovery.img and flash it with fastboot.
umpalumpa1799 said:
so rename the recovery.emmc.win from the zip file to recovery.img and flash it with fastboot.
Click to expand...
Click to collapse
even better, download the img from the op.
SpiritBreak3r said:
even better, download the img from the op.
Click to expand...
Click to collapse
my fault, I downloaded the stock recovery from a nother post
Thank you for the update OP.
To clarify, when you say '...stick with stock recovery, disable the apps instead of deleting them...' what exactly does that mean?

Need to get New Update 2.10.720.4 (System Enhancement).. Please Help!

I just saw a nuew update of 89.9 MB in the notifications... Since I am on 5.0.2 rooted TWRP recovery... I am not able to install it...
Should I just relock the bootloader and flash the stock recovery and try it... Or is there are other way.. I am asking this before doing it so that I dont get into any trouble.
Hello., first restore unrooted and untoched twrp backup of lolipop and then flash the stock recovery with the fastboot usb mode.. then diwnload and install update ...
No need to relock bootloader..
sandeep saxena said:
Hello., first restore unrooted and untoched twrp backup of lolipop and then flash the stock recovery with the fastboot usb mode.. then diwnload and install update ...
No need to relock bootloader..
Click to expand...
Click to collapse
I just saw your post regarding viper4android...
Can you give me the link for busybox which is working on Lollipop..
https://drive.google.com/file/d/0BwE2tEyxFtHBa3JpYVRtSnBPeDA/view?usp=docslist_api
Download and flash this in recovery...
And u updated os verion to 2.10.720.4 ?
sandeep saxena said:
https://drive.google.com/file/d/0BwE2tEyxFtHBa3JpYVRtSnBPeDA/view?usp=docslist_api
Download and flash this in recovery...
And u updated os verion to 2.10.720.4 ?
Click to expand...
Click to collapse
Just doing it... Have restored twrp backup unrooted...
And regarding viper4android... do is just need to flash that file only.. And nothing else?
This is only busybox ..
And for viper4android download this
https://drive.google.com/file/d/0BwE2tEyxFtHBQVVwWTF3ZjVjSXM/view
Flash this in recovery
sandeep saxena said:
This is only busybox ..
And for viper4android download this
https://drive.google.com/file/d/0BwE2tEyxFtHBQVVwWTF3ZjVjSXM/view
Flash this in recovery
Click to expand...
Click to collapse
I am unable to get back to stock recovery... I have already restored the lollipop backup of twrp.. Now when I tried flashing stock recovery via fastboot... It gets flashed.. But I am unable to boot to recovery.. The phone just restarts when I boot into recovery,,,
I have tries two different stock recovery version uploaded in the forum...
Please help me
One more issues I have is... Whenever I update an app or download an app from play store... My home screens get to default inspite of having lots of space for new icons...
Everytime I have to rearrange my home screen.. May be you can help me..
happiy91 said:
I am unable to get back to stock recovery... I have already restored the lollipop backup of twrp.. Now when I tried flashing stock recovery via fastboot... It gets flashed.. But I am unable to boot to recovery.. The phone just restarts when I boot into recovery,,,
I have tries two different stock recovery version uploaded in the forum...
Please help me
Click to expand...
Click to collapse
Which lollipop twrp backup did you use...???
harshad_kp said:
Which lollipop twrp backup did you use...???
Click to expand...
Click to collapse
The one given in the post below
http://forum.xda-developers.com/desire-820/development/rom-htc-desire-d820-dual-sim-t3131195
https://drive.google.com/file/d/0BwE2tEyxFtHBQlRZazlIS2lRelk/view?usp=docslist_api
Flash this recovery this is the .exe file
First go into usb fastboot mode and conect ur device to pc then double click on it and then press any key recovery automatically flash ..
Then download nd install update.
sandeep saxena said:
https://drive.google.com/file/d/0BwE2tEyxFtHBQlRZazlIS2lRelk/view?usp=docslist_api
Flash this recovery this is the .exe file
First go into usb fastboot mode and conect ur device to pc then double click on it and then press any key recovery automatically flash ..
Then download nd install update.
Click to expand...
Click to collapse
Do I need to unroot my phone before flashing recovery and downloading update
Restore unrooted backup first
sandeep saxena said:
Restore unrooted backup first
Click to expand...
Click to collapse
Thanks a lot man... This recovery worked and successfully applied the upgrade... Clicked Thanks
sandeep saxena said:
Restore unrooted backup first
Click to expand...
Click to collapse
One more issue I had, I told you about...
I use recovery by kinghui (Sorry, If I spell it wrong)
When I flash it, my calculator and flashlight apps are gone...
And also everynow and then, my home screen icons go to default... I always have to rearrange the icons.. Is there any solution for this?
Ur apps gone by perform factory reset not recovery flash....
Because in the update calc..,flashlight..etc apps not a system app if you want to install those apps then extracted the ota file by using winrar and found the apps in data/app folder and install it manually...
sandeep saxena said:
Ur apps gone by perform factory reset not recovery flash....
Because in the update calc..,flashlight..etc apps not a system app if you want to install those apps then extracted the ota file by using winrar and found the apps in data/app folder and install it manually...
Click to expand...
Click to collapse
The calulator and flashlight I got it from some other mobile forum...
But this issue of home screen resetting after downloading anything from playstore... How to resolve this?
I arrange home screen icons and widgets... And when I download anything from playstore.. Everything from my home screen is gone... Then again I always need to arrange them..
Perform a data wipe in twrp recovey in wipe section
There type yes and press go...
Or
Flash stock recovery and then perform a factory resset...
Hi what you mean by "unrooted and untoched twrp backup of lolipop" ..
Appreciate if can explain , i am facing same issue

Couldn't update Installation problem with august update

So this week i hadn't time enough to install the august update since my phone is rooted so i decided to do it now. What i did before trying to download the update :
1.Deleted all magisk modules that i had then rebooted
2.Unistalled magisk using restore image then rebooted
3.Went to sys update downloaded and it says installation failed
What do to? I'm not rooted now and i don't have twrp installed.
PS. don't want to install it via fastboot/miflash
Follow this guide in future. https://github.com/topjohnwu/Magisk/blob/master/docs/tips.md#ota-installation-tips
To fix your problem now, find a stock boot image for your update version you are currently on and flash it.
emiljano539 said:
PS. don't want to install it via fastboot/miflash
Click to expand...
Click to collapse
If you don't want to use Miflash (Why ?) you can boot temporary TWRP and flash .zip here:
https://forum.xda-developers.com/showpost.php?p=77353883&postcount=542
sipollo said:
If you don't want to use Miflash (Why ?) you can boot temporary TWRP and flash .zip here:
https://forum.xda-developers.com/showpost.php?p=77353883&postcount=542
Click to expand...
Click to collapse
Do i lose my data if i flash this via twrp?
Idk i don't really trust miflash
emiljano539 said:
Do i lose my data if i flash this via twrp?
Idk i don't really trust miflash
Click to expand...
Click to collapse
You won't lose your data.
ludditefornow said:
Follow this guide in future. https://github.com/topjohnwu/Magisk/blob/master/docs/tips.md#ota-installation-tips
To fix your problem now, find a stock boot image for your update version you are currently on and flash it.
Click to expand...
Click to collapse
flashed the stock boot image tried to install it but again it shows that error , i guess the only thing i can do is to flash it manually via fastboot/miflash
sipollo said:
You won't lose your data.
Click to expand...
Click to collapse
Okay thanks, do i have to remove the magisk and flash the stock boot.img or it doesn't matter?
emiljano539 said:
Okay thanks, do i have to remove the magisk and flash the stock boot.img or it doesn't matter?
Click to expand...
Click to collapse
It doesn't matter. You'll have to reinstall Magisk (if you want to).
sipollo said:
It doesn't matter. You'll have to reinstall Magisk (if you want to).
Click to expand...
Click to collapse
which one should i install from them because there are 2 tissot-T files ( for twrp)
"tissot-T-OPM1.171019.026.8.8.23.zip" or "tissot-T-OPM1.171019.026.V9.6.5.0.ODHMIFE.zip" ?
emiljano539 said:
which one should i install from them because there are 2 tissot-T files ( for twrp)
"tissot-T-OPM1.171019.026.8.8.23.zip" or "tissot-T-OPM1.171019.026.V9.6.5.0.ODHMIFE.zip" ?
Click to expand...
Click to collapse
tissot-T-OPM1.171019.026.V9.6.5.0.ODHMIFE.zip
The other file is the latest beta.
sipollo said:
tissot-T-OPM1.171019.026.V9.6.5.0.ODHMIFE.zip
The other file is the latest beta.
Click to expand...
Click to collapse
I installed the zip from twrp and now after reboot i am stucked in bootloop now i can't even boot into twrp. What to do?
After i flashed it in the end says:
Failed to mount /system Invalid argument
Which TWRP did you use?
sipollo said:
Which TWRP did you use?
Click to expand...
Click to collapse
the official one. what version should i use?
its funny now that i flashed the stock rom via mi flash tool and now again the installation shows error..
ludditefornow said:
Follow this guide in future. https://github.com/topjohnwu/Magisk/blob/master/docs/tips.md#ota-installation-tips
To fix your problem now, find a stock boot image for your update version you are currently on and flash it.
Click to expand...
Click to collapse
I'm facing same issue and I was following the guide.
Same here, can't install set Ota, even after remove magisk.
Other thing, cell won't show screen to put pin to boot, previous pin of sim so I think encryption is disable!? Any idea?

Stock Recovery

Hi to everyone, I have a doubt on what to do.
I installed a Custom Rom in my Huawei P10 Lite, but I want to go back to stock, and I know that before flashing the stock rom, I have to install the stock recovery and then use the dload method to revert to stock, my doubt is, which Stock recovery should I use?
Thanks in advance!
blackfag said:
Hi to everyone, I have a doubt on what to do.
I installed a Custom Rom in my Huawei P10 Lite, but I want to go back to stock, and I know that before flashing the stock rom, I have to install the stock recovery and then use the dload method to revert to stock, my doubt is, which Stock recovery should I use?
Thanks in advance!
Click to expand...
Click to collapse
You don't need stock recovery for dload method.
nemanjsb said:
You don't need stock recovery for dload method.
Click to expand...
Click to collapse
Meaning can use twrp custom recovery and flash the stock rom ?just the raw stock rom zip file without any converting ?
nainaabd said:
Meaning can use twrp custom recovery and flash the stock rom ?just the raw stock rom zip file without any converting ?
Click to expand...
Click to collapse
With HwOta8 or dload (dload will lock bootloader) u need just files for stock roms and nothing else.
nemanjsb said:
You don't need stock recovery for dload method.
Click to expand...
Click to collapse
Thank you, I made it! Unfortunately, I found out I can use only service roms with dload method, other roms gave me error, but going back to stock was the only thing I wanted, thank you again for your help!
blackfag said:
Thank you, I made it! Unfortunately, I found out I can use only service roms with dload method, other roms gave me error, but going back to stock was the only thing I wanted, thank you again for your help!
Click to expand...
Click to collapse
can you share how did you revert to stock .U dont need to install stock recovery ?just flash stock rom using twrp ?
nainaabd said:
can you share how did you revert to stock .U dont need to install stock recovery ?just flash stock rom using twrp ?
Click to expand...
Click to collapse
U can't flash stock rom with twrp. Which rom you have now?
nemanjsb said:
U can't flash stock rom with twrp. Which rom you have now?
Click to expand...
Click to collapse
WAS-LX2C636B368 (8.0.0.368) Malaysia(Asia pacific)
rooted + magisk
nainaabd said:
WAS-LX2C636B368 (8.0.0.368) Malaysia(Asia pacific)
rooted + magisk
Click to expand...
Click to collapse
It's not stock rom?
nemanjsb said:
It's not stock rom?
Click to expand...
Click to collapse
i want to revert back to 100% stock with out any modification (back to factory default) existing stock already
unlock /rooted /custom recovery /many mods on system apps too.
How do i return to factory default?
nainaabd said:
i want to revert back to 100% stock with out any modification (back to factory default) existing stock already
unlock /rooted /custom recovery /many mods on system apps too.
How do i return to factory default?
Click to expand...
Click to collapse
Dload or HwOta.
Dload will format all partition and lock your bootloader and u need sd card.
HwOta will just install stock rom and after it do not boot rom(you don't need sd card). You need to do factory reset from stock recovery.
nainaabd said:
can you share how did you revert to stock .U dont need to install stock recovery ?just flash stock rom using twrp ?
Click to expand...
Click to collapse
I just downloaded a Service Rom from another XDA post for Huawei P10 Lite, copied all those files in a folder called "dload" and then, after turning off the device, used the "three buttons method" (you have to press volume up, volume down and power button to use the dload method) and it fully reverted to stock.
Just to warn you, I'm missing too much things and I don't know how to fix that, I'm just happy that my phone reverted to stock.

Categories

Resources