[Recovery][TWRP][EMUI8.x] [P20 Lite] Testing - Huawei P20 Lite ROMs, Kernels, Recoveries, & Other

Disclaimer​This software comes wth no warranty,XDA staff ,myself or TeamWin staff can't be hold responsible for any damage it may cause to your device.
Note: Currently Oreo 8.1 custom roms are not supported,only stock EMUI 8.x .
Download and Installation​
* Download twrp recovery
* Start your device in fastboot mode
* Install the recovery using the following command:
Code:
fastboot flash recovery_ramdisk [filename].img --> ex: fastboot flash recovery_ramdisk twrp_p20_lite_0.1.img
* Restart with this command:
Code:
fastboot reboot
* As soon as you execute the restart command,remove the USB cable and keep pressing Volume UP,so the device will boot to TWRP.This is to avoid that the device boot to OS,overwritting TWRP recovery.
Features​
Internal storage decryption = working
MTP and OTG connection = working
Backup&Restore = working
Note: There are no sources for this yet,because is based on the work of @zxz0O0 ,from Honor 9.
Contributors
**** Pretoriano80
**** @zxz0O0 - This wouldn't be possible without this guy,so big big thank to him.I used his base to make this recovery work ,so in sign of respect his nick will also be on the TWRP boot screen.Thank again buddy!
**** TeamWin project ,obviously.
**** Team OpenKirin - thanks for the "Oem Path wipe esclusion" code
Download links
twrp_p20_lite_0.1.img - initial release

Bootloader says:
PHONE Unlocked
FRP Lock
I get writing to ramdisk error:
sending 'recovery_ramdisk' (24952 KB)...
OKAY [ 0.624s]
writing 'recovery_ramdisk'...
FAILED (remote: Command not allowed)
finished. total time: 0.640
Update: nevermind, forgot to enable oem unlock to remove FRP. (I will leave the original message for other users)
Update 2: Works.
- Data decryption and backup were successful
- MTP works
- Zip flashing successful
- OTG connection works

fabio87 said:
Bootloader says:
PHONE Unlocked
FRP Lock
I get writing to ramdisk error:
sending 'recovery_ramdisk' (24952 KB)...
OKAY [ 0.624s]
writing 'recovery_ramdisk'...
FAILED (remote: Command not allowed)
finished. total time: 0.640
Update: nevermind, forgot to enable oem unlock to remove FRP. (I will leave the original message for other users)
Update 2: Works. Data decryption and backup were successful. MTP works. Zip flashing successful.
Click to expand...
Click to collapse
Thank you for testing Fabio, i will edit the OP in this case. If you can, please also test OTG connection.

Pretoriano80 said:
Thank you for testing Fabio, i will edit the OP in this case. If you can, please also test OTG connection.
Click to expand...
Click to collapse
OTG Works. I updated my test reply.
Needless to say. THANK YOU!

fabio87 said:
OTG Works. I updated my test reply.
Needless to say. THANK YOU!
Click to expand...
Click to collapse
No problem.Can you get me the recovery.log and dmesg ,please?

@Pretoriano80
YOU ARE THE BEST !!!
my test
flash twrp
twrp/Backup data + system to internal storage : work
twrp/Backup data + system to external_sd : work
reboot to system
install test-app
reboot to twrp
twrp/Restore data + system : work
reboot to system
phone work and test-app is out
NOW is this phone a very good phone
NOW can i test other rom and "short restore" (if i use new phone i need minimum 1h for settings and app install, now twrp/restore = 2..3 minutes)
Many thank's for your good work (and your helping friends) !!!
Excuse me, with my joy i forgot recovery.log View attachment recovery.log

Thanks for testing! A recovery.log would also be useful.
Beware that this recovery might not work with custom roms. However, it can still be used to restore your data after testing custom roms, in case you want to go back to EMUI.

Pretoriano80 said:
No problem.Can you get me the recovery.log and dmesg ,please?
Click to expand...
Click to collapse
Here are the logs.
I installed a zip file containing a titanium backup app+data to test it out and it jammed and reverted back to stock recovery.
I flashed the recovery again and works, but I'm not sure what happened.

fabio87 said:
Here are the logs.
I installed a zip file containing a titanium backup app+data to test it out and it jammed and reverted back to stock recovery.
I flashed the recovery again and works, but I'm not sure what happened.
Click to expand...
Click to collapse
Thanks, logs look fine.
Try to flash that titanium backup and then reboot to recovery instead of android system.

@Pretoriano80
excuse me : if you need - in post #6 recovery.log appended
excuse my bad english inside PM. shame on me
i hope this is what you need (twrp setting to english)
View attachment dmesg.txt.gz View attachment recovery.log

Thanks a lot for this !
If i wanna go back to stock recovery, should i flash "recovery_ramdis.img" ? (no typo error this is the dump i get from the stock firmware)

mchtt said:
Thanks a lot for this !
If i wanna go back to stock recovery, should i flash "recovery_ramdis.img" ? (no typo error this is the dump i get from the stock firmware)
Click to expand...
Click to collapse
Yes, just flash that with fastboot and your stock recovery will be back.

Thx a lot, it's time to flash !
edit: fastboot reboot not working on my device, but a Power+Volume Up did the job.
Is the "Failed to unmount /system" normal ?
---------- Post added at 02:58 PM ---------- Previous post was at 02:30 PM ----------
Also got a "Unable to locate /boot partition for backup calculations"
View attachment recovery.log.zip

Pretoriano80 said:
Thanks, logs look fine.
Try to flash that titanium backup and then reboot to recovery instead of android system.
Click to expand...
Click to collapse
It wouldn't let me. TWRP just gets stuck at 'Done!' and nothing happens, when I hard reset it just goes back into system and when I reboot into recovery it is back to stock.
Anyway, it's really not a big deal at the moment, I was just pointing out some sort of bug.

After a twrp backup, i flashed a rom, then went back to twrp to do a wipe but it is stuck at the TWRP logo.

mchtt said:
After a twrp backup, i flashed a rom, then went back to twrp to do a wipe but it is stuck at the TWRP logo.
Click to expand...
Click to collapse
Have you tried to flash twrp again?

yes, same. i cannot boot into twrp anymore...

fabio87 said:
It wouldn't let me. TWRP just gets stuck at 'Done!' and nothing happens, when I hard reset it just goes back into system and when I reboot into recovery it is back to stock.
Anyway, it's really not a big deal at the moment, I was just pointing out some sort of bug.
Click to expand...
Click to collapse
Well, it might be an issue with the updater script that Titanium Backup is using.
mchtt said:
After a twrp backup, i flashed a rom, then went back to twrp to do a wipe but it is stuck at the TWRP logo.
Click to expand...
Click to collapse
Custom Roms are not supported for now, some may work, others not.

Yes i reverted to stock rom and now TWRP boots again....
I tried a treble rom by the way.
---------- Post added at 04:11 PM ---------- Previous post was at 04:05 PM ----------
But i can confirm that backup / restore functions are working

mchtt said:
Yes i reverted to stock rom and now TWRP boots again....
I tried a treble rom by the way.
---------- Post added at 04:11 PM ---------- Previous post was at 04:05 PM ----------
But i can confirm that backup / restore functions are working
Click to expand...
Click to collapse
Yes, but it would be great to have the same functionality with custom roms, too.
If anyone is testing custom roms, please provide me the /system/build.prop and /vendor/build.prop.

Related

[Q] CROMBi-kk flash

Hi!
I hope you can help me.
I obviously did something wrong.
Well I did unlock my tablet and got twrp running, also installed the rom but next after the reboot it just doesn't work and i will get this message (see the picture)
After that i am sent back to the interface of twrp.
I just recogniced I have twrp v.2.6.1.0 running - is that the problem?
Hopefully somebody can help me!
greets agepi
agepi91 said:
Hi!
I hope you can help me.
I obviously did something wrong.
Well I did unlock my tablet and got twrp running, also installed the rom but next after the reboot it just doesn't work and i will get this message (see the picture)
After that i am sent back to the interface of twrp.
I just recogniced I have twrp v.2.6.1.0 running - is that the problem?
Hopefully somebody can help me!
greets agepi
Click to expand...
Click to collapse
YOU MUST BE ON THE ASUS STOCK JB 4.2.1 BOOTLOADER VERSION 10.6.1.14.x AND TWRP 2.6.3.2+ OR CWM 6.0.4.6+ BEFORE FLASHING THIS ROM.
This is copied directly from the Developers ROM.
Cheers
agepi91 said:
Hi!
I hope you can help me.
I obviously did something wrong.
Well I did unlock my tablet and got twrp running, also installed the rom but next after the reboot it just doesn't work and i will get this message (see the picture)
After that i am sent back to the interface of twrp.
I just recogniced I have twrp v.2.6.1.0 running - is that the problem?
Hopefully somebody can help me!
greets agepi
Click to expand...
Click to collapse
You didn't use 'Wipe Data' from the bootloader, did you?
Read the OP for CROMBI-KK, compare it to what you did.
Describe in detail what that was.
"Does not work" is not very helpful...
Check if you can get into fastboot.
Sent from my DROID4 using Tapatalk
Well,
I can go to Twrp recovery and fastboot
I did install the rom with everything present I think.. had to select some things and finish the installing
after that I had to reboot and now i just get the image with the penguins.
Can I somehow go back to the original rom? to restart these things?
agepi91 said:
Well,
I can go to Twrp recovery and fastboot
I did install the rom with everything present I think.. had to select some things and finish the installing
after that I had to reboot and now i just get the image with the penguins.
Can I somehow go back to the original rom? to restart these things?
Click to expand...
Click to collapse
If you made a nandroid before flashing this, then yes, you should be able to restore it.
But let's take it from the beginning. Post your bootloader, recovery and rom versions.
As long as you have access to fastboot you can fix this, so don't do anything hasty.
And please be as specific as you can about what you did. We can only help you if we find out where you went wrong.
berndblb said:
If you made a nandroid before flashing this, then yes, you should be able to restore it.
But let's take it from the beginning. Post your bootloader, recovery and rom versions.
As long as you have access to fastboot you can fix this, so don't do anything hasty.
And please be as specific as you can about what you did. We can only help you if we find out where you went wrong.
Click to expand...
Click to collapse
hm ok I will try
well, I didn't make a nandroid backup - my fault :<
are there specific bootloader? I was on JB 4.2.1
I am now on twrp v2.6.3.2 but I was while I did the flashing on twrp v2.6.1
hm I did flash crombi-kk rom from the OP
maybe I did some wipe before in twrp .. i think it was recommended?
so now I can't do any reflash or anything in twrp - everytime I want to do something there is this error:
E: Unable to open '/cache/recovery/.version'
I also can't get access to my external SD
Check if you can get into fastbot.
Long press Power and Volume Down until you see tiny script.
Read it and post the bootloader version: 10.6.1.14.?
berndblb said:
Read it and post the bootloader version: 10.6.1.14.?
Click to expand...
Click to collapse
Well it reads: ww_epad-10.6.1.14.10-20130801
agepi91 said:
Well it reads: ww_epad-10.6.1.14.10-20130801
Click to expand...
Click to collapse
All right, your bootloader is current.
I would recommend that you flash TWRP 2.7 in fastboot, then boot into it, do a Factory Wipe in TWRP (that can take upwards of 60 minutes) and flash the rom again.
Ok.. I tried but I got the answer
failed (data transfer failure (too many links))
hm I think I've got no connection, right?
well and now I get the message:
FAILED ( command write failed( invalid argument))
What do you get with 'fastboot devices'?
Sent from my K00C using Tapatalk
I get 015d2a5068541017 fastboot
agepi91 said:
I get 015d2a5068541017 fastboot
Click to expand...
Click to collapse
Alright, everything good so far.
Now download the TWRP 2.7 blob for the tf700 and put it into the same folder as your fastboot.exe.
Then issue this command:
Code:
fastboot -i 0x0B05 flash recovery twrp.blob
if that is successful
Code:
fastboot reboot
Then boot into TWRP via the fastboot menu.
Then you can factory wipe and flash the rom
berndblb said:
Alright, everything good so far.
Now download the TWRP 2.7 blob for the tf700 and put it into the same folder as your fastboot.exe.
Then issue this command:
Code:
fastboot -i 0x0B05 flash recovery twrp.blob
if that is successful
Code:
fastboot reboot
Then boot into TWRP via the fastboot menu.
Then you can factory wipe and flash the rom
Click to expand...
Click to collapse
Well I did that but nothing works
I've got now twrp 2.7 and i did that factory wipe but nothing ever happens.. just the usual message
'unable to open 'cache/recovery/.version'
Don't know what I did wrong :<
http://imageshack.com/a/img842/662/kwy9.png
that's the message I everytime get - doesn't matter if it's a wipe or install or something else
in bootlooder at the top there is this message:
>key driver not found... booting 05<
is it possible to formate my complete data, because I think therein lies the problem, exept fastboot on my device and flash a recovery from fastboot?
agepi91 said:
is it possible to formate my complete data, because I think therein lies the problem, exept fastboot on my device and flash a recovery from fastboot?
Click to expand...
Click to collapse
If you want to try that, go to the Wipe menu in TWRP, then to Advanced and choose "format data".
In TWRP this can take 90 minutes! D not interrupt it and make sure the tablet is charged or connected to power.
But this will erase your entire data.
The recovery has it's own partition which you can erase in fastboot:
Code:
fastboot erase recovery
.
Then flash the new recovery. You could also try TWRP 2.6.3.2 if 2.7 doesn't work.
agepi91 said:
is it possible to formate my complete data, because I think therein lies the problem, exept fastboot on my device and flash a recovery from fastboot?
Click to expand...
Click to collapse
Your posted image indicates that simulation mode is active in TWRP - turn if off in TWRP settings.
To format data, it's approximately this: Wipe -> Advanced -> Format -> Data -> confirm
Note that it takes up to 2 hours to format and trim the eMMC.
---------- Post added at 09:15 PM ---------- Previous post was at 09:14 PM ----------
berndblb said:
The recovery has it's own partition which you can erase in fastboot:
Code:
fastboot erase recovery
.
Click to expand...
Click to collapse
...which is usually a stupid idea if you don't know exactly what you are doing.
Well I don't know how but it suddenly worked.. i could reinstall the rom but now it seems i am stuck in a bootloop between the picture of the four penguins and a bootscreen of crombi-kk with loading tiles under it
between these two the tablet is rebooting itself constantly
Go back to recovery and do a wipe only Calvin cache and Cache.
Sent from my ASUS Transformer Pad TF700T using XDA Premium HD app

TWRP 3.0.0.0 for the LG K10 K430xx MTK Variant

Hello everyone. Today I'm presenting you the first development for the LG K10 (MTK chipset). As you can see on announcement text this is beta stage yet so be careful and make you sure what are you doing on your device.
Note: This version can't be written over the stock recovery partition as this has further sizes than stock. Only can be used by downloading via fastboot. Check out installation instructions.
Disclaimer:
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired. Please
* do some research if you have any concerns about features included in this Recovery
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
What’s new in 3.0.0.0:
TWRP 3.0.0-0 is out now for all currently supported devices.
Completely new theme - Much more modern and much nicer looking (by z31s1g)
True Terminal Emulator - Includes arrow keys, tab and tab completion, etc. (by _that)
Language translation - It won’t be perfect and especially some languages that require large font files like Chinese & Japanese won’t be availble on most devices. Also some languages may only be partially translated at this time. Feel free to submit more translations to OmniROM’s Gerrit. (mostly by Dees_Troy)
Flashing of sparse images - On select devices you will be able to flash some parts of factory images via the TWRP GUI (by HashBang173)
Adopted storage support for select devices - TWRP can now decrypt adopted storage partitions from Marshmallow
Reworked graphics to bring us more up to date with AOSP - includes support for adf and drm graphics (by Dees_Troy)
SuperSU prompt will no longer display if a Marshmallow ROM is installed
Update exfat, exfat fuse, dosfstools (by mdmower)
Update AOSP base to 6.0
A huge laundry list of other minor fixes and tweaks
BUG LIST
Can't mount /data partition w/o wiping data because of encryption
Battery percentage doesn't show the correct value.
CPU Temp percentage doesn't show the correct value.
No more(?)
Installation Instruction
Warning: After applying these steps, you might lose your data and your device will have been installed some unofficial stuff. So, it'll give you some warnings during boot up. To skip this warning, just wait till device boots up. To remove this warning, you need to flash whole stock partitions (check this thread to do). As I said above, I'm not responsible for anything. You've been warned twice.
Install right usb drivers for your device. You can find them on official LG website.
Go to "Settings->About phone->Software information and click continiously on build number 7-8 times. You'll see a tost with message "You've enabled developer options."
Go back and go into Developer options, and check "Enable OEM unlock" and "Enable Android Debugging"
Download ADB, fastboot and drivers. Run and install/accept everything. When you're done, copy/cut and paste the image file to root directory of adb folder. (Must be like this http://i.hizliresim.com/jnga7r.png)
Connect your phone with your PC, run command promt and type following commands;
adb reboot bootloader
fastboot oem unlock
-Check your device after this command and follow the instructions on your device. Apply the steps to unlock the bootloader. (This will erase all data)
fastboot boot twrp3_k430-berkantkz.img
And after all these steps, you must see TWRP screen on your device. It will ask you for the password. Don't worry, just click on cancel and voila! TWRP is done for your device. You can edit your system or flash anything with it. But it's not possible to make modifications on data partition unless you wipe it. You need to wipe data partition to remove password/encryption.
DOWNLOAD
http://www.mediafire.com/download/udc4l2avvxwjtj6/twrp3_k430-berkantkz.img
For K430DSY:
For K430DSY by @123xdagsm Removed because can't be used with the new firmware
By @Singular777
for K430DS Not suggested anymore.
3.1.0.0 for K430DS Not suggested anymore
3.1.1.1 for K430DS
For K430AR:
By @Bohemio1987
TWRP 3.1.1.1 for K430AR
Recovery that I ported: http://www.needrom.com/download/twrp-3-0-0-recovery-for-mt6735-intex-aqua-ace/
Note: Rooting Marshmallow is not same like older versions of Android. I'll try to root my Marshmallow w/o any errors like boot verification error and I'll share a guide to how-to in upcoming days. Already managed by @gottlasz. Refer to: https://forum.xda-developers.com/lg-k10/how-to/friendly-root-method-lg-k8-k10-t3531223
Note2: Please hit on thanks button guys That makes me happy
Thanks to:
rameshurfrnd1 at needrom.com for his recovery
XDA:DevDB Information
TeamWinRecoveryProject 3.0.0.0 for LG K10 K430xx MTK VARIANT, Tool/Utility for the LG K10
Contributors
berkantkz
Version Information
Status: Beta
Current Beta Version: 1
Beta Release Date: 2016-06-23
Created 2016-06-23
Last Updated 2018-08-22
Reserve for changelog
Hızlı resim hmmm
After reset - stock recovery?
Singular777 said:
After reset - stock recovery?
Click to expand...
Click to collapse
What are you asking for?
-------
EDIT: I've flashed over the stock but not able to boot into recovery mode. A warning appears and boots up normally. I'll try to fix.
EDIT2: I've ported a rom. I'll take a risk and flash it. Wish me luck
EDIT3: It's bricked
EDIT4: Successfully unbricked by following my guide. Wish me luck to be luckier in other attempts
berkantkz said:
What are you asking for?
-------
EDIT: I've flashed over the stock but not able to boot into recovery mode. A warning appears and boots up normally. I'll try to fix.
EDIT2: I've ported a rom. I'll take a risk and flash it. Wish me luck
EDIT3: It's bricked
EDIT4: Successfully unbricked by following my guide. Wish me luck to be luckier in other attempts
Click to expand...
Click to collapse
Good luck to you! =)
I mean after the restart TWRP flies?
Singular777 said:
Good luck to you! =)
I mean after the restart TWRP flies?
Click to expand...
Click to collapse
Thanks.
You'll need to do same steps over again.
+1 Thanks for that Disclaimer[emoji14]
And is it "fastboot flash boot recovery.img" or "fastboot boot recovery.img"?
Because you wrote "fastboot boot recovery.img"
Sent from my SM-G350 using XDA-Developers mobile app
TimSchumi said:
+1 Thanks for that Disclaimer[emoji14]
And is it "fastboot flash boot recovery.img" or "fastboot boot recovery.img"?
Because you wrote "fastboot boot recovery.img"
Click to expand...
Click to collapse
I did true. When we type this, TWRP boots up immediately.
berkantkz said:
I did true. When we type this, TWRP boots up immediately.
Click to expand...
Click to collapse
You have idea for root?)
Singular777 said:
You have idea for root?)
Click to expand...
Click to collapse
Yes, I've but scaried to try. I'd prefer try to porting roms rather than rooting the stock.
hello I would root for this k10 model ( gl- k430dsf ) ?
berkantkz said:
Reserve for changelog
Click to expand...
Click to collapse
hello I would root for this k10 model ( gl- k430dsf ) ?
---------- Post added at 01:57 PM ---------- Previous post was at 01:53 PM ----------
hello I would root for this k10 model ( gl- k430dsf ) ?
paivaduarte said:
hello I would root for this k10 model ( gl- k430dsf ) ?
---------- Post added at 01:57 PM ---------- Previous post was at 01:53 PM ----------
hello I would root for this k10 model ( gl- k430dsf ) ?
Click to expand...
Click to collapse
This thread is not for rooting. If you're asking for does this work on K430DSF, must work. It has alos MTK chipset, as far as I know.
About rooting, I couldn't find a right method to root this devices. Actually, I don't need to root my device. Root isn't needed to port new roms. Root can provide you only customizing stock rom. So I'll try to port new roms.
tuturial
berkantkz said:
This thread is not for rooting. If you're asking for does this work on K430DSF, must work. It has alos MTK chipset, as far as I know.
About rooting, I couldn't find a right method to root this devices. Actually, I don't need to root my device. No need to port new roms. Root can provide you only customizing stock rom. So I'll try to port new roms.
Click to expand...
Click to collapse
would have a tuturial as estrous native Andrid ?
already have one available rom for k10 ?
CyanogenMod already have ?
root still no avail?
I tried the systemless root method still no avail..every startup there's a message that says about corrupted but my phone still works well..when would rooting available for this phone?..i love this phone but without root it cant achieve its real potential..thanks for the twrp sir..hopeyl you'll find a way to root this phone
problem
this is what happend...
C:\adb>fastboot boot twrp3_k430-berkantkz.img
downloading 'boot.img'...
OKAY [ 0.549s]
booting...
FAILED (remote: oem unlock is false)
finished. total time: 0.556s
needles to say twrp didnt start after this...
have a solution?
yotam-m said:
this is what happend...
C:\adb>fastboot boot twrp3_k430-berkantkz.img
downloading 'boot.img'...
OKAY [ 0.549s]
booting...
FAILED (remote: oem unlock is false)
finished. total time: 0.556s
needles to say twrp didnt start after this...
have a solution?
Click to expand...
Click to collapse
I've forgotten that say type fastboot oem unlock,
sorry for that. Check up (guide) again.
berkantkz said:
I've forgotten that say type fastboot oem unlock,
sorry for that. Check op (guide) again.
Click to expand...
Click to collapse
OK.
now when i write fastboot oem unlock it says '<waitiong for device>' and nothing happens on my device..
'adb reboot bootloader' goes first? or after oem unlock
thanks
yotam-m said:
OK.
now when i write fastboot oem unlock it says '<waitiong for device>' and nothing happens on my device..
'adb reboot bootloader' goes first? or after oem unlock
thanks
Click to expand...
Click to collapse
God damn it. Check it again. Sorry.
yotam-m said:
OK.
now when i write fastboot oem unlock it says '<waitiong for device>' and nothing happens on my device..
'adb reboot bootloader' goes first? or after oem unlock
thanks
Click to expand...
Click to collapse
1. adb reboot bootloader 2. fastboot oem unlock, but this wipe data!
cmd run as Administrator. OR: On device- Menu-Settings-General-Developer options (if don't have then: about phone-common-software info-tap about 10 time on build number)-enable OEM unlock.
P.S. sorry for my bad english)

[RECOVERY][discovery] TWRP Touch Recovery [OFFICIAL]

Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.
DOWNLOAD: https://twrp.me/sony/sonyxperiaxa2ultra.html
BUGS:
If you have found a bug, please consider posting it to our github issues log and then I'll report to Dess_Troy. If you have a significant problem that cannot be answered in this thread, your best bet is to PM Dees_Troy directly, contact us via our website, or find us in our IRC channel below. If you see someone that's struggling, feel free to point it out to us. We need your help to help us keep track of all of our devices! Thanks!
SUPPORT:
Live support is available via #twrp on Freenode with your IRC client or just click this link.
XDA:DevDB Information
[RECOVERY][discovery] TWRP Touch Recovery [OFFICIAL], ROM for the Sony XA2 Ultra
Contributors
LuK1337
Source Code: https://github.com/TeamWin
ROM OS Version: Windows 8 Mobile
Version Information
Status: Testing
Created 2018-10-30
Last Updated 2020-06-25
Thank you for this. I was able to boot the recovery and install magisk on my device. Is there any way to make the recovery permanent or do we have to fastboot the recovery every time?
Aklenz07 said:
Thank you for this. I was able to boot the recovery and install magisk on my device. Is there any way to make the recovery permanent or do we have to fastboot the recovery every time?
Click to expand...
Click to collapse
Not yet. Thought I don't think it's worth to /install/ it anyway.
Error flash
Hi,
I installed LineageOS but when I want to flash the "recovery", I am in error...
"target reported max download size of 536870912 bytes
sending 'recovery' (57720 KB)...
OKAY [ 1.281s]
writing 'recovery'...
FAILED (remote: No such partition.)
finished. total time: 1.284s"
Why ?
GunnarZX said:
Hi,
I installed LineageOS but when I want to flash the "recovery", I am in error...
"target reported max download size of 536870912 bytes
sending 'recovery' (57720 KB)...
OKAY [ 1.281s]
writing 'recovery'...
FAILED (remote: No such partition.)
finished. total time: 1.284s"
Why ?
Click to expand...
Click to collapse
You don't flash it.
LuK1337 said:
You don't flash it.
Click to expand...
Click to collapse
Just boot only ?
GunnarZX said:
Just boot only ?
Click to expand...
Click to collapse
That's all you need.
Done
It messed up (bootloop) at first, but second time worked fine.
Messed up my Xperia XA2 ultra
Hi i tried to use twrp 3 to install lineage OS.
Unlocked bootloader.
Fastboot boot the twrp.img
Backed up the device
Installed lineage os 15.1 and got an error
So decided to roll back to stock os
Restored the backup files.
It failed to restore it: device in bootloop.
I tried to use sony flashtool got an error; usb debug off
Can anybody help me?
bsbrfb said:
Hi i tried to use twrp 3 to install lineage OS.
Unlocked bootloader.
Fastboot boot the twrp.img
Backed up the device
Installed lineage os 15.1 and got an error
So decided to roll back to stock os
Restored the backup files.
It failed to restore it: device in bootloop.
I tried to use sony flashtool got an error; usb debug off
Can anybody help me?
Click to expand...
Click to collapse
Restore phone with Sony flash tool
https://developer.sony.com/develop/open-devices/get-started/flash-tool/
Install Lineage properly
https://wiki.lineageos.org/devices/discovery/install
Hi
Will this work on H3223 ?
Can this h3223 be rooted
mchlbenner said:
Hi
Will this work on H3223 ?
Can this h3223 be rooted
Click to expand...
Click to collapse
Unsure about root... Yet... But if you are bootloader unlocked you should at least be able to boot to twrp...
mchlbenner said:
Hi
Will this work on H3223 ?
Can this h3223 be rooted
Click to expand...
Click to collapse
Yes it roots
appleknight said:
Yes it roots
Click to expand...
Click to collapse
Magisk, and patch n flash boot.img?
Sorry mate, i'm coming from a device where kernel and ramdisk were separate partitions...
EDIT: Yes. Exactly
Aklenz07 said:
Restore phone with Sony flash tool
How Do I unlock the device?
I get an error saying my device is locked
Click to expand...
Click to collapse
tournelhenry said:
Aklenz07 said:
Restore phone with Sony flash tool
How Do I unlock the device?
I get an error saying my device is locked
Click to expand...
Click to collapse
https://wiki.lineageos.org/devices/discovery/install it tells you how to unlock
Click to expand...
Click to collapse
bootloader enter your imei it will give a key following all instructions precisely. it tells you the rxact command to use for unlocking the bootloader. after its unlocked, open your command prompt in your adb /fastboot folder. then adb reboot bootloader. after reboot phone will be blank screen. you have to download twrp 3.3.0.0 .img its the most updated. do that before the adb thing. then after adb thing, when you are booted into bootloader.....fastboot boot twrpxxxxx.img
this will boot into recovery. make sure you have magisk 19.zip doenloaded to your phone. then just flash magisk from the recovery, after reboot install magisk apk. there you go. sorry all of this is not in order. ive done it so many times im skipping ahead. i can give a better detailed and precise instructions if needed, litterally walk you thru it, if you need it. but the instructions provided by all the download sites are great. its easy peasy. if you need bettrr instructions youre more than welcome to get in contact with me. [email protected]
---------- Post added at 09:37 PM ---------- Previous post was at 09:31 PM ----------
sorry about that ****ty message, this goddamn site is retarded on mobile. im not going thru all that **** again but yes it can be rooted and its easy, if you need some clear instructions you can hit me up at the email i provided in that ****ty short bus post i left.
---------- Post added at 09:49 PM ---------- Previous post was at 09:37 PM ----------
you can keep the stock rom fyi. and theres an updated android 9.0 pie stock rom floating around too. im using it, no problems. you have to use xperifirm and flashtool to flash it tho. its simple unless its your first time doing, after you do it once youll ask yourself why it seemed so hard to get to that point. also, fyi, this particular is almost brick proof not saying it cant be bricked because, i did, several times boot looped it, everything, **** right now i dont even have a stock recovery because of some errors i made learning how to do all of this, but its up and running, its not buggy, magisk works great, stock android 9.0 firmware, just no recovery, but good ole twrp works just fine when you boot it for recovery. great phone to learn how to do all of this on. like i said its almost brick proof.
Sony Xperia XA2 Ultra - ROOT and Stock Rom 9.0
enter 192_161_227_73 in ip address format with the ftp header ftp://
should make rooting a little easier, need unlocked bootloader
simple interactive root process
also contains android 9.0 stock for Sony Xperia XA2 Ultra H3223
thanks Luk1337 for your work.
A) I get a stuck boot on SONY white screen when trying to reboot after a boot to twrp using fastboot (swipe to allow modifications and nothing else). Fastboot boot to TWRP was after a clean installation of Android Pie.
B) I even made a TWRP backup of the Android Pie rom but restoring backup runs into same issue of stuck on SONY logo). (well if just a twrp boot to resulted in a stuck boot (as in A) rebooting after a twrp backup restore would not have a chance either but just mentioning)
I am guessing we need a disable verity to avoid this?
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
https://forum.xda-developers.com/showpost.php?p=77177197&postcount=3
Do we have a vbmeta.img for the XA2 Ultra? (from stock kernel) sorry if a noob question. Thanks.
mac231us said:
thanks Luk1337 for your work.
A) I get a stuck boot on SONY white screen when trying to reboot after a boot to twrp using fastboot (swipe to allow modifications and nothing else). Fastboot boot to TWRP was after a clean installation of Android Pie.
B) I even made a TWRP backup of the Android Pie rom but restoring backup runs into same issue of stuck on SONY logo). (well if just a twrp boot to resulted in a stuck boot (as in A) rebooting after a twrp backup restore would not have a chance either but just mentioning)
I am guessing we need a disable verity to avoid this?
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
https://forum.xda-developers.com/showpost.php?p=77177197&postcount=3
Do we have a vbmeta.img for the XA2 Ultra? (from stock kernel) sorry if a noob question. Thanks.
Click to expand...
Click to collapse
Flash magisk or something, it'll disable verity.
Also we don't have vbmeta partition.

Accidentally formatted system partition in recovery

Hi, after installing TWRP, I was trying to do a fresh start on my op7 pro, but accidentally while formatting, I also happen to selected my system partition and formatted it.
Now I'm stuck on fastboot screen and can not install recovery or OS any how....
Can I recover without using msm tool from their support...
Help please
I think this
https://forum.xda-developers.com/oneplus-7-pro/how-to/rom-stock-fastboot-roms-oneplus-7-pro-t3931424
Just flash the latest build again from TWRP
- Download full OTA
- boot to TWRP
- plug phone to PC and move the downloaded OTA to phone internal storage
- In TWRP browse to OTA and flash it but DO NOT REBOOT
- flash TWRP installer
- reboot to TWRP and flash installer again just to be sure
- Reboot to system
Jaco2k said:
Just flash the latest build again from TWRP
- Download full OTA
- boot to TWRP
- plug phone to PC and move the downloaded OTA to phone internal storage
- In TWRP browse to OTA and flash it but DO NOT REBOOT
- flash TWRP installer
- reboot to TWRP and flash installer again just to be sure
- Reboot to system
Click to expand...
Click to collapse
I tried to do the same, but everytime I try to boot into recovery from fastboot, I get the same error
- FAILED (remote: Failed to load/authenticate boot image: Load Error)
Even tried different versions of twrp but same is happening
So, wait a minute... You did not install TWRP to the recovery partition before starting to format stuff?
---------- Post added at 03:30 PM ---------- Previous post was at 03:27 PM ----------
In your first post you say "after installing TWRP"
If you have correctly installed TWRP you should be able to get to recovery by holding down power button and volume up button.
Jaco2k said:
So, wait a minute... You did not install TWRP to the recovery partition before starting to format stuff?
Click to expand...
Click to collapse
I did, installed TWRP quite a while ago before all this.
I was testing the latest dp on my mobile, but later I decided to revert back to stable. I flashed the pie version in local upgrade and wanted to start over.
So after booting once, I rebooted into TWRP and mistakenly selected system partition along with local storage in wipe option.
And now fastboot is the only thing I can boot in
I somehow don't think you are telling the story exactly as it went
I am assuming you flashed a full build and rebooted without flashing TWRP in-between.
Also, I am assuming you have flashed an older build that has the fastboot bug.
This means that you might be pretty screwed.
You can try to ADB push the full OTA via fastboot and flash it there using command line.
I guess at this point you are not caring anymore if you keep your data, right?
Also, there were some patched boot images laying around that might be worth flashing to see if fastboot is working on them.
As you have come across, there is a fastboot bug in some builds - I guess at some point it was fixed and then it reoccurred.
---------- Post added at 03:43 PM ---------- Previous post was at 03:39 PM ----------
BTW, I guess the link already posted in this thread might be your best bet, since you have removed TWRP when you flashed the updated build and you cannot fastboot recovery, as you have found out, due to a bug from OnePlus.
JerryDaBaaws said:
Hi, after installing TWRP, I was trying to do a fresh start on my op7 pro, but accidentally while formatting, I also happen to selected my system partition and formatted it.
Now I'm stuck on fastboot screen and can not install recovery or OS any how....
Can I recover without using msm tool from their support...
Help please
Click to expand...
Click to collapse
Just get the fastboot ROM for the same version you're on. For example 9.5.10 then you HAVE to use the one for 9.5.10.
https://androidfilehost.com/?w=files&flid=294300
Just download the Fastboot ROM (Make sure it's for your device as well). If on GM21aa then that's the one you use.
Put the phone in Fastboot mode and attach the phone to PC
Type Fastboot devices and make sure it comeback with your device serial number (like 6 or 8 digits, cant remember exactly)
Unzip the fastboot ROM and click on Flash-all.bat
Your phone will be like new as if shipped with 9.5.10 or whatever ROM you're on. There will be no root/TWRP/files (photos or music). You will have to do it all again but your phone will be working.

Can't install any twrp on Redmi Note 7 pro

I've been trying to set up twrp all day, but after almost every attempt, I gave up. If i put official and last twrp, the phone goes to bootloop and has to be flashed through MiFlash global ROM, after some custom twrp or Peter's twrp, nothing happens, if i try to enter recovery mode after some old twrp's, the phone automatically goes to bootloop.
What am I doing wrong, friends? Plz help.
Unlocked? I know stupid question but...
Fastboot, flash recovery, don't reboot and but ur finger on vol+ and power button?
What for steps u made and adb plus driver? Maybe some can help u.
joke19 said:
Unlocked? I know stupid question but...
Fastboot, flash recovery, don't reboot and but ur finger on vol+ and power button?
What for steps u made and adb plus driver? Maybe some can help u.
Click to expand...
Click to collapse
Yeah, ofc it was unlocked))) and I tried manually reboot device, but no effect.
For steps, I tried installed various fastboot files and many Many different twrp. But ADB plus, what's is that?
Thank you anyway
Do this and report back
1.Flash miui through mi flash
2.DONT BOOT INTO SYSTEM
3.Flash peters twrp through fastboot
4.Boot into recovery by using hardware keys....DONT USE fastboot reboot recovery command
5.Boot into system
24likan said:
Do this and report back
1.Flash miui through mi flash
2.DONT BOOT INTO SYSTEM
3.Flash peters twrp through fastboot
4.Boot into recovery by using hardware keys....DONT USE fastboot reboot recovery command
5.Boot into system
Click to expand...
Click to collapse
Yeah, but how i can flash twrp and then noot into recovery, if device after installing do autostart into system?
When starts booting into system.... Use hardware keys to boot into fastboot instead of booting into system... Do this very carefully
24likan said:
When starts booting into system.... Use hardware keys to boot into fastboot instead of booting into system... Do this very carefully
Click to expand...
Click to collapse
You mean use keys for booting into recovery, not to fastboot?
lastpixel said:
You mean use keys for booting into recovery, not to fastboot?
Click to expand...
Click to collapse
Bro don't confuse yourself.... Your aim is to not boot into system unless u fls recovery via fastboot... Read what i have posted and try it
24likan said:
Bro don't confuse yourself.... Your aim is to not boot into system unless u fls recovery via fastboot... Read what i have posted and try it
Click to expand...
Click to collapse
So, i did like yoy wrote in instruction, when was first reboot, i pressed button to enter into fastboot, then flashed twrp, then again restarted for finishing process of instalation. When all is completed, tried entereing into recovery, there's not twrp, just factory recovery was.
So doesn't work this one.
lastpixel said:
So, i did like yoy wrote in instruction, when was first reboot, i pressed button to enter into fastboot, then flashed twrp, then again restarted for finishing process of instalation. When all is completed, tried entereing into recovery, there's not twrp, just factory recovery was.
So doesn't work this one.
Click to expand...
Click to collapse
No first reboot. After flashing push direct the button for the recovery menu.
Or
fastboot boot recovery.img
Then flash the recovery.zip with the booted not flashed recovery.img
You are doing it wrong mate.... Anyways can you post the output of this command "fastboot oem device-info"... Read understand and do again.... Don't reboot or boot until u flash recovery.... Can't repeat everytime bro... You have to use your brain
joke19 said:
No first reboot. After flashing push direct the button for the recovery menu.
Or
fastboot boot recovery.img
Then flash the recovery.zip with the booted not flashed recovery.img
Click to expand...
Click to collapse
After flashing what? Rom? I don't get you man. After flashing Rom with Miflash, when device do restart, i need flashing twrp or enter to recovery, but for what need go to recovery if it still not there. Sorry for my noobs questions
https://aubykhan.wordpress.com/2013...t-into-twrp-or-cwm-recovery-without-flashing/
U flash ur recovery.img in fastboot, right.
Then don't reboot ur phone. Hold in fastboot the volume+ and power still to reboot and maybe ur phone go in ur twrp recovery
---------- Post added at 09:53 AM ---------- Previous post was at 09:52 AM ----------
lastpixel said:
After flashing what? Rom? I don't get you man. After flashing Rom with Miflash, when device do restart, i need flashing twrp or enter to recovery, but for what need go to recovery if it still not there. Sorry for my noobs questions
Click to expand...
Click to collapse
Not a rom ur recovery.img zip for flashing in custom recovery
24likan said:
You are doing it wrong mate.... Anyways can you post the output of this command "fastboot oem device-info"... Read understand and do again.... Don't reboot or boot until u flash recovery.... Can't repeat everytime bro... You have to use your brain
Click to expand...
Click to collapse
Code:
(bootloader) Device unlocked: true
(bootloader) Device critical unlocked: true
(bootloader) Charger screen enabled: false
OKAY [ 0.009s]
Finished. Total time: 0.014s
I can't get this "Don't reboot until flash recovery", but how, if device do this automatically, i tried holding power + vol-, got into fastboot, then flashed ur twrp, and then again reboot to system.
joke19 said:
https://aubykhan.wordpress.com/2013...t-into-twrp-or-cwm-recovery-without-flashing/
U flash ur recovery.img in fastboot, right.
Then don't reboot ur phone. Hold in fastboot the volume+ and power still to reboot and maybe ur phone go in ur twrp recovery
---------- Post added at 09:53 AM ---------- Previous post was at 09:52 AM ----------
Not a rom ur recovery.img zip for flashing in custom recovery
Click to expand...
Click to collapse
As i said before, i did it many times. There's happen or bootloop, come this logo funny bunny, or sometime it load to factory recovery.
I suppose, maybe something bad with adb drivers? Coz i didn't update it since i have RN5... But in console seems everything is ok, the device is connected and see.
U test the boot method?
---------- Post added at 10:11 AM ---------- Previous post was at 10:07 AM ----------
lastpixel said:
As i said before, i did it many times. There's happen or bootloop, come this logo funny bunny, or sometime it load to factory recovery.
I suppose, maybe something bad with adb drivers? Coz i didn't update it since i have RN5... But in console seems everything is ok, the device is connected and see.
Click to expand...
Click to collapse
Right recovery lavender is note 7 and the pro violet
joke19 said:
U test the boot method?
Click to expand...
Click to collapse
Yeah, tried also this
Code:
C:\adb>fastboot boot twrp.img
Sending 'boot.img' (65536 KB) OKAY [ 1.403s]
Booting OKAY [ 0.133s]
Finished. Total time: 1.618s
device is rebooted and now stucked on logo Redmi
joke19 said:
U test the boot method?
---------- Post added at 10:11 AM ---------- Previous post was at 10:07 AM ----------
Right recovery lavender is note 7 and the pro violet
Click to expand...
Click to collapse
I did with twrp from man who give link. Do you have right version?
https://files.orangefox.website/OrangeFox-Stable/
Lavender global and pro violet
---------- Post added at 10:51 AM ---------- Previous post was at 10:21 AM ----------
lastpixel said:
I did with twrp from man who give link. Do you have right version?
Click to expand...
Click to collapse
Now u're quite :laugh:
---------- Post added at 11:33 AM ---------- Previous post was at 10:51 AM ----------
And again not one time
I don't really understand asking you not to rebooting the device until I flash twrp. My steps: If I'm flashing through MiFlash, then the device automatically reboots, I tried to enter fastboot mode at the moment of reboot, and yeah I entered and flashed recovery(at least seems like that), but then when the device rebooted manually , again I see that there is not a custom recovery, maybe I missed something and your devices do not do automatic reboot during the flashing, or your instructions are wrong. Sorry man.

Categories

Resources