Hey, Dev's - P8lite Q&A, Help & Troubleshooting

I have problem, can anyone tell me, can I flash Official ROM Via TWRP? I tried but no success, so, I ask You for help!

download huawei update extractor (latest)
download the update.app file.
when you open the extractor, select the update.app u want to extract.
there are two options, either you extract the files (system, boot, cust e.t.c) or make a flashable zip.
in this case, make a flashable zip.

When you download it it will be in zip file. Don't extract the APP file. just flash the zip file and it will be installed. It's recommended to use the latest TWRP version (3.1.1)
BTW you will lose TWRP and root after flashing it so you can simply flash the stock recovery and update locally

Ahmedoov said:
When you download it it will be in zip file. Don't extract the APP file. just flash the zip file and it will be installed. It's recommended to use the latest TWRP version (3.1.1)
BTW you will lose TWRP and root after flashing it so you can simply flash the stock recovery and update locally
Click to expand...
Click to collapse
I have 3.0.2 or something like that and I gives me error! I have lastest TWRP recovery IMG, can I flash it via Flasher?

Ahmedoov said:
When you download it it will be in zip file. Don't extract the APP file. just flash the zip file and it will be installed. It's recommended to use the latest TWRP version (3.1.1)
BTW you will lose TWRP and root after flashing it so you can simply flash the stock recovery and update locally
Click to expand...
Click to collapse
My PC is broken, I can't! Thats why I asked.

RootingPro-18 said:
I have 3.0.2 or something like that and I gives me error! I have lastest TWRP recovery IMG, can I flash it via Flasher?
Click to expand...
Click to collapse
You can flash img files with TWRP for recovery and boot. So you can update TWRP or even flash the stock recovery without PC but you will need PC later to flash TWRP back
But as I told you you will lose TWRP and root after flashing the full firmware file even if you flashed it through TWRP. Without PC that means you may not be able to get them back
If you want to update to the latest firmware without losing them you can flash any EMUI custom ROM there's already B604 custom rom here in xda

It will give you a small error but it ends successfully. you can flash the update.zip (not the APP by itself) in TWRP, only FULL versions though. Tested.

Related

[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?

After wipe no OS installed :(

I wiped my Device and now i stuck on ( your Device has been unlocked and cant be trusted)
So no OS no Start. To my question. So i habe to download the newest Firmware copy to sd Card
The in twrp to recover and choose the the update zip ?
I don't know, but this is exactly what I will do in your place.
sonneper said:
I don't know, but this is exactly what I will do in your place.
Click to expand...
Click to collapse
Ok thx so thats right? So i can Flash? In twrp then to recover?
Method with newest Firmware copy to sd Card work with stock recovery.... (update.app in zip is needed)
For twrp is needed a zip with one file something like <Android Info.txt>...
gtdaniel said:
Method with newest Firmware copy to sd Card work with stock recovery.... (update.app in zip is needed)
For twrp is needed a zip with one file something like <Android Info.txt>...
Click to expand...
Click to collapse
Hmm so i cant Flash if i download Firmware then copy the update.app to sd Card then in twrp recover to Flash?
Use this tool ([DEV] VNS-L21-L22-L31 [EUROPE] Toolkit [0.0.0.8] Bootloader/Recovery/Root/Dual-Sim) to flash first stock recovery.
After that do what you say. I repeat: method to create a folder <dload> on SD-card and put in unzipped update.zip works only with stock recovery.
With twrp it will ask for a file Android Info.txt, something like> Error.... No Android Info.txt!
I just copied Update.zip to sdcard and Installed via twrp and now it's working so can i now just root my device again via twrp ?
Yes, root it via twrp.
when i root my device. i install gltools then when i start it, its crash.
then im again in bootloop. why is this happen ?
I did it 2 times, with no problem ; into TWRP there is a menu "advanced" I think, and you can find a "button" root, just click.
sonneper said:
I did it 2 times, with no problem ; into TWRP there is a menu "advanced" I think, and you can find a "button" root, just click.
Click to expand...
Click to collapse
No it's rooted now my Problem is. When I open the gltools App then my device is crashing and Stück in bootloop.
Then I have to backup again to start my device
there is no recovery please tell me

Unroot help

I rooted my nougat using HassanMirza01 zip file,and now i want to upgrade from B360 to B370,and firstly I have to unroot,but there isnt an unroot option in phh superuser.Any help?
Flash the stock boot.img will be enough
Potato997 said:
Flash the stock boot.img will be enough
Click to expand...
Click to collapse
Sorry for being stupid but how do I do that? And will that remove my data?
Extract the boot.img from the original update.app and flash it in TWRP selecting Flash Image

How to update firmware if you've already flashed TWRP

I figured out how to update after flashing twrp. Maybe obvious to some but I've seen questions about it.
The zip in the "Convert CA to WW" thread has the stock rom in a zip file. Open it and inside is a recovery.img file in it, extract it to your adb folder on your PC.
Download the firmware update from ASUS official site and save to the root of your sd card or internal storage (it will recognize both.)
Reboot into fastboot on your device.
fastboot flash recovery recovery.img
When that finishes reboot and your phone should find the update and ask if you want to install. Do so. You may need to power cycle first.
When you're done you can reflash TWRP.
Once you have TWRP you can flash Magisk or SuperSU as you see fit.
It's painless.
An old post from you, but thank you. This was really easy. I've spent 2 days trying to figure out how to upgrade without restore stock rom, boot etc. and lose all data. I was about to give up when I saw this post, I didn't expect it to work - to easy. But I could give it a try.
This was painless.
Then it took me 3 hours to figure out how to reinstall twrp again, it wasn't just to flash and reboot I had to boot directly into recovery after flash. But that is another story.
Thanks, you just saved me some time!
Kasdarack said:
I figured out how to update after flashing twrp. Maybe obvious to some but I've seen questions about it.
The zip in the "Convert CA to WW" thread has the stock rom in a zip file. Open it and inside is a recovery.img file in it, extract it to your adb folder on your PC.
Download the firmware update from ASUS official site and save to the root of your sd card or internal storage (it will recognize both.)
Reboot into fastboot on your device.
fastboot flash recovery recovery.img
When that finishes reboot and your phone should find the update and ask if you want to install. Do so. You may need to power cycle first.
When you're done you can reflash TWRP.
Once you have TWRP you can flash Magisk or SuperSU as you see fit.
It's painless.
Click to expand...
Click to collapse
Will this recovery work for upgrading nougat to oreo?
Em Kay said:
Will this recovery work for upgrading nougat to oreo?
Click to expand...
Click to collapse
You need to upgrade to latest N - ...14.2020.1712.85, once you do that you should get Oreo as FOTA after reboot
DanFreed said:
You need to upgrade to latest N - ...14.2020.1712.85, once you do that you should get Oreo as FOTA after reboot
Click to expand...
Click to collapse
Thanks, man.
Can I manually update with the recovery by downloading the rom?
I think, the FOTA won't arrive as I've rooted my phone.
Em Kay said:
Thanks, man.
Can I manually update with the recovery by downloading the rom?
I think, the FOTA won't arrive as I've rooted my phone.
Click to expand...
Click to collapse
When you flash stock recovery and update you unroot, so you will get FOTA. Just update to Oreo and then flash twrp and Magisk (or whatever you use) again.
I am rooted and updated to Oreo then chose updates involving battery improvement and/or system stability (downloaded to external sd), after installed the last update I flashed twrp and rooted again.
You need to flash stock recovery before update. The phone will find the updated with custom recovery but update will fail.
The site I downloaded stock recovery from is down so you have to search for it, or download RAW stock rom and extract the recovery from it
DanFreed said:
You need to flash stock recovery before update. The phone will find the updated with custom recovery but update will fail.
The site I downloaded stock recovery from is down so you have to search for it, or download RAW stock rom and extract the recovery from it
Click to expand...
Click to collapse
Anyone know where I can get stock recovery or how to extract from stock image from the ASUS site?
derbend said:
Anyone know where I can get stock recovery or how to extract from stock image from the ASUS site?
Click to expand...
Click to collapse
Seems like Mega is up again. You should find stock recovery here
https://mega.nz/#F!lw02CLpA!hpetR2-Sec1F__gHPNRE9Q!xhVEhCjB
DanFreed said:
Seems like Mega is up again. You should find stock recovery here
https://mega.nz/#F!lw02CLpA!hpetR2-Sec1F__gHPNRE9Q!xhVEhCjB
Click to expand...
Click to collapse
Thanks! I ended up having to use the 11.41.87.2 recovery in order to flash a Nougat update - it wouldn't work with the older recoveries.

Required TWRP for Stock Android Pie........

Hey Folks, I am just a newbie here trying to root and try Custom ROMs. Currently, I am using Stock Android Pie with Unlocked Bootloader and 1 June 2019 Security patch. I can really appreciate some help here coz I cannot find a suitable TWRP and Steps for configuration of my device. Thanks in Advance
these are the steps i used
https://wiki.lineageos.org/devices/tissot/install
its working for me
Which Recovery?
mdude22 said:
these are the steps i used
it's working for me
Click to expand...
Click to collapse
It may be working but which TWRP recovery did you use?
i used twrp-3.3.0-2-tissot.img
i found it in this thread:
https://forum.xda-developers.com/mi-a1/development/rom-lineageos-16-0-xiaomi-mi-a1-t3885100
i can upload it here if you want, but im not sure what website to use to upload because it tried using xda and it says file too large
mdude22 said:
i used twrp-3.3.0-2-tissot.img
i found it in this thread:
i can upload it here if you want, but im not sure what website to use to upload because it tried using xda and it says file too large
Click to expand...
Click to collapse
it's only an img file right? there is no zip file
yes, it's called
twrp-3.3.0-2-tissot.img
You can find TWRP in Mi A1 xda forum but the sad news is you can't get permanent TWRP in latest Stock Pie Rom. I just had the permanent TWRP in 1.0.8.0 Stock rom by flashing eXtreme Kernel then flash Cosmic Dan's TWRP Zip Installer otherwise i tried many times but never get permanent TWRP. You can also use official TWRP Zip installer from TWRP's official site
ranjodhricky said:
You can find TWRP in Mi A1 xda forum but the sad news is you can't get permanent TWRP in latest Stock Pie Rom. I just had the permanent TWRP in 1.0.8.0 Stock rom by flashing eXtreme Kernel then flash Cosmic Dan's TWRP Zip Installer otherwise i tried many times but never get permanent TWRP. You can also use official TWRP Zip installer from TWRP's official site
Click to expand...
Click to collapse
I just need root access for now can you please explain the process for latest stock pie rom? I have already unlocked the bootloader and the remaining process on internet is just confusing
jasmeets7 said:
I just need root access for now can you please explain the process for latest stock pie rom? I have already unlocked the bootloader and the remaining process on internet is just confusing
Click to expand...
Click to collapse
1- Boot from patched boot image (ex: fastboot boot patched_boot.img).
2- Install Magisk Manager app.
3- Open it and Select install then direct install.
4- Reboot.
If you want to unroot then select complete uninstall from magisk manager.
Stealtherthreat said:
1- Boot from patched boot image (ex: fastboot boot patched_boot.img).
2- Install Magisk Manager app.
3- Open it and Select install then direct install.
4- Reboot.
If you want to unroot then select complete uninstall from magisk manager.
Click to expand...
Click to collapse
From where can I get patched boot image?
jasmeets7 said:
From where can I get patched boot image?
Click to expand...
Click to collapse
Download stock june boot image from here - https://forum.xda-developers.com/showpost.php?p=79898593&postcount=3
To patch it,
1- Install Magisk Manager app.
2- Select install then select Patch file.
3- It will ask for the boot image, select the downloaded file.
4- It will automatically generate the patched boot image.

Categories

Resources