Sony Xperia XA2 - Flashing TWRP stuck on "waiting for any device" - Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other

HELP!
I installed platform-tools_r33.0.2-windows and UniversalAdbDriverSetup, now i'm trying to flash TWRP on the XA2 Phone by using this cmd command:
adb devices
- daemon not running, starting now at xxx
adb flash recovery twrp.img
- waiting for any device
What am i doing wrong?? Please help!!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Boot phone in fastboot mode
Execute "fastboot flash recovery twrp.img"

LR7875 said:
Boot phone in fastboot mode
Execute "fastboot flash recovery twrp.img"
Click to expand...
Click to collapse
How? Im pressing volume up and then connecting the phone to the pc, then i see a blue light. Is this fastboot mode? Thats what im already doing for 3 hours...

Yeah just did it again... volumeup+connect phone to pc, blue light appears on phone (fastboot mode i asume).
on pc in cmd i type adb devices, it starts the daemon.
then i type "fasboot flash recovery twrp.img"
result in cmd: "waiting for any device"
Wtf?

I swear this is so cancer can't handle this ****, the F is wrong with sony? This phone is buggy AF im trying to insall TWRP for like 4 hours now, this is a ****ing joke. What a waste of time.

Try the 15 seconds adb and fastboot driver if you haven't already

LR7875 said:
Try the 15 seconds adb and fastboot driver if you haven't already
Click to expand...
Click to collapse
This? https://forum.xda-developers.com/t/...vers-15-seconds-adb-installer-v1-4-3.2588979/
I doubt it will be any different from the platformtools adb? How could this help?

LR7875 said:
Try the 15 seconds adb and fastboot driver if you haven't already
Click to expand...
Click to collapse
You mean minimal adb ? or can you provide a link?

Connect the phone in fastboot mode (LED = blue) and open the device manager. Do you see the phone under "Other Devices" or "Android" with an exclamation mark? Then you need an ADB/bootloader interface driver. Get this for example:
https://developer.sony.com/file/download/xperia-xz2-driver/
(Yes, XZ2! There is no official XA2 driver)
Unzip it somewhere and force install the driver:
Right click on the device manager entry from above, "Update driver", "Browse my computer...", "Let me pick...", "List/show all...", "Have disk...", browse to the folder from above, open the selected .inf file and install.
Fastboot should work now. At least that's how I got it to work on a new PC.
BTW, just use "fastboot devices" to check whether it works. If your device doesn't appear, you don't need to try other fastboot commands - it won't work.

I have this problem, when installing twrp to my Sony Xperia XA2 (H3123), I am trying to install several versions of Twrp, for example: twrp-3.2.2-0-pioneer.img, twrp-3.7.0_9-0 -pioneer.img, my Sony is on Android 9

Carljaynp03 said:
I have this problem, when installing twrp to my Sony Xperia XA2 (H3123), I am trying to install several versions of Twrp, for example: twrp-3.2.2-0-pioneer.img, twrp-3.7.0_9-0 -pioneer.img, my Sony is on Android 9
Click to expand...
Click to collapse

Did you unlock the bootloader ?

Carljaynp03 said:
View attachment 5734133
Click to expand...
Click to collapse
I agree with faraway, if i remember correctly when i had this issue i didn't unlock the bootloader.
I typed a specific number in the phone dial app and it said that the bootloader is unlocked, however there is another step you need to take that i had overlooked, you need a bootloader unlock code.
The code is free, not like with chinese spyware huawai they want your money for the code...
Unlock Bootloader - Open Devices - Sony Developer World
developer.sony.com
https://developer.sony.com/develop/open-devices/get-started/unlock-bootloader/how-to-unlock-bootloader/#tutorial-step-4
and use one of these commands in cmd/adb
fastboot flashing unlock
fastboot oem unlock

Carljaynp03 said:
View attachment 5734133
Click to expand...
Click to collapse
What is your end goal? To flash a custom ROM like LineageOS? Then you can temporarily flash a recovery image to the boot partition:
fastboot flash boot <recovery_filename>.img
You don't really need TWRP for this, just use the latest official LOS Recovery:
https://download.lineageos.org/pioneer
Also see: https://wiki.lineageos.org/devices/pioneer/install
Or do you want to "permanently" install TWRP on an existing system? Then you need to directly boot into TWRP and install it from its GUI:
fastboot boot <twrp_filename>.img
See: https://twrp.me/sony/sonyxperiaxa2.html
I haven't tried the latter on the XA2 yet though and don't know how permanent that installation really is. It maybe gone after an OTA update.

irgendwer2 said:
What is your end goal? To flash a custom ROM like LineageOS? Then you can temporarily flash a recovery image to the boot partition:
fastboot flash boot <recovery_filename>.img
You don't really need TWRP for this, just use the latest official LOS Recovery:
https://download.lineageos.org/pioneer
Also see: https://wiki.lineageos.org/devices/pioneer/install
Or do you want to "permanently" install TWRP on an existing system? Then you need to directly boot into TWRP and install it from its GUI:
fastboot boot <twrp_filename>.img
See: https://twrp.me/sony/sonyxperiaxa2.html
I haven't tried the latter on the XA2 yet though and don't know how permanent that installation really is. It maybe gone after an OTA update.
Click to expand...
Click to collapse
Booting a temprary image did not work when i tried it, most likely because the bootloader wasn't unlock.

Privacydroid said:
Booting a temprary image did not work when i tried it, most likely because the bootloader wasn't unlock.
Click to expand...
Click to collapse
Independent from the bootloader status: you can't flash an image directly to the recovery partition on the XA2/Pioneer (like he tried, see screenshot) because such a dedicated partition doesn't exist on this and other A/B devices. Instead the recovery is built into the boot image.
That's why you have to use fastboot flash boot instead of recovery.

irgendwer2 said:
Independent from the bootloader status: you can't flash an image directly to the recovery partition on the XA2/Pioneer (like he tried, see screenshot) because such a dedicated partition doesn't exist on this and other A/B devices. Instead the recovery is built into the boot image.
That's why you have to use fastboot flash boot instead of recovery.
Click to expand...
Click to collapse
follow the next steps you mentioned use: fastboot flash boot recovery from LineageOS, and my phone went into a constant boot shutdown and restart, then this message appeared

and the bootloader is open

Shutdown the phone after flashing the recovery image (it doesn't seem like you did that). Then hold Volume Down + Power to boot into recovery.

irgendwer2 said:
Independent from the bootloader status: you can't flash an image directly to the recovery partition on the XA2/Pioneer (like he tried, see screenshot) because such a dedicated partition doesn't exist on this and other A/B devices. Instead the recovery is built into the boot image.
That's why you have to use fastboot flash boot instead of recovery.
Click to expand...
Click to collapse
I get that the recovery is only for a temporary boot, when i tried it, it didn't work but i can't remember what the error was.

Related

my problem

hi
my problem is
I tried to downgrade my phone
android 6 to 5
My phone was incomplete downgrade
And now when turned off and turned on
Stuck on the
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Please tell me what is the alternative
No option is not enabled
no recovery
no Emergency Updates
only fastboot mod
the fastboot mode is worked
rezaghaedamini said:
the fastboot mode is worked
Click to expand...
Click to collapse
Take it to Huawei customer service center. I lost one of my phones coz it had the same problem. Tried everything but couldn't revive it.
Took it to a shop to repair and he messed it up.
Connect to pc or laptop and open command prompt to adb folder and type fastboot devices if devices detected then we proceed http://forum.xda-developers.com/general/general/guide-flash-variant-version-firmware-t3506404.
Krish93 said:
Connect to pc or laptop and open command prompt to adb folder and type fastboot devices if devices detected then we proceed http://forum.xda-developers.com/general/general/guide-flash-variant-version-firmware-t3506404.
Click to expand...
Click to collapse
My bad, should have asked him to do this first. Mine was error 3 and wasn't revivable.
This error is different. Thanks for the help.
You need to unlock your device.
https://www.gizdev.com/install-twrp-3-0-root-honor-4x-emui-4-0/
1-unlock your device
2-run bootloader
3-install twrp
4-extract the honor firmware
http://forum.xda-developers.com/honor-4x/how-to/roll-to-emui-cm13-honor-4x-che1-l04-t3507998
5-follow the instructions as above link.
Krish93 said:
Connect to pc or laptop and open command prompt to adb folder and type fastboot devices if devices detected then we proceed http://forum.xda-developers.com/general/general/guide-flash-variant-version-firmware-t3506404.
Click to expand...
Click to collapse
i did
My phone did not change
dopserver said:
You need to unlock your device.
https://www.gizdev.com/install-twrp-3-0-root-honor-4x-emui-4-0/
1-unlock your device
2-run bootloader
3-install twrp
4-extract the honor firmware
http://forum.xda-developers.com/honor-4x/how-to/roll-to-emui-cm13-honor-4x-che1-l04-t3507998
5-follow the instructions as above link.
Click to expand...
Click to collapse
my phone is unlocked
and All these things did
Did not alter
rezaghaedamini said:
my phone is unlocked
and All these things did
Did not alter
Click to expand...
Click to collapse
Connect your phone to PC and keep device manager opened and see if device manager registers your phone.
Report back please...
muradulislam said:
Connect your phone to PC and keep device manager opened and see if device manager registers your phone.
Report back please...
Click to expand...
Click to collapse
MY English is not good please tell me What do you mean
device manager to phone
or to pc
rezaghaedamini said:
MY English is not good please tell me What do you mean
device manager to phone
or to pc
Click to expand...
Click to collapse
Keep your PC device manager open and connect your phone to PC, does it register as a new device...
not big deal ,
Do The following
Install Fastboot files .
Download TWRP .
Connect Ur Device with Fastboot ,
Flash Ur TWRP Throw Fastboot .
Boot To TWRP
FLASH STOCK img Files One By one
This Step Not Recommended but also :
Throw Fast-boot Flash UR Stock .img files .
Romiui said:
not big deal ,
Do The following
Install Fastboot files .
Download TWRP .
Connect Ur Device with Fastboot ,
Flash Ur TWRP Throw Fastboot .
Boot To TWRP
FLASH STOCK img Files One By one
This Step Not Recommended but also :
Throw Fast-boot Flash UR Stock .img files .
Click to expand...
Click to collapse
tnk not work
rezaghaedamini said:
tnk not work
Click to expand...
Click to collapse
it should otherwise there is an wrong step u did ! .
rezaghaedamini said:
tnk not work
Click to expand...
Click to collapse
If your PC does not make a sound when you connect your phone to it then you have to first install drivers.
I am sure that is the case here, your PC is not recognizing your phone.
muradulislam said:
If your PC does not make a sound when you connect your phone to it then you have to first install drivers.
I am sure that is the case here, your PC is not recognizing your phone.
Click to expand...
Click to collapse
I have installed drivers
And when I connect the phone to the sound system
Only through the Fast Boot
rezaghaedamini said:
I have installed drivers
And when I connect the phone to the sound system
Only through the Fast Boot
Click to expand...
Click to collapse
So fastboot is working... Do you have an unlocked bootloader?
Fastboot screen is simple or with red error message?
muradulislam said:
So fastboot is working... Do you have an unlocked bootloader?
Fastboot screen is simple or with red error message?
Click to expand...
Click to collapse
yes i am bootloader unlocked
Both options
Red and simple
i can Write files via Fast Boot
and write android 4 5 6
5 file
boot
system
recovery
cust
userdata
and not work
and write twrp recovery
and not work
rezaghaedamini said:
yes i am bootloader unlocked
Both options
Red and simple
i can Write files via Fast Boot
and write android 4 5 6
5 file
boot
system
recovery
cust
userdata
and not work
and write twrp recovery
and not work
Click to expand...
Click to collapse
Make a dload folder in SD card And copy update.app of the latest firmware to it.
Then, flash only recovery and boot of the latest firmware for your phone. (Extracted from update.app which you copied to SD)
After flashing above image files, type
Fastboot reboot
Quickly disconnect from pc and press and hold power + vol up + vol down until screen turns on. Let go of power but keep other two pressed for five, six sec more.
Lemme know how it works.
if stock wont work then try custom rom , install custom recovery and install custom rom .

[RECOVERY] TWRP 3.3.1 Lenovo Z6 Pro

DISCLAIMER
As usual, you do anything described in this post at your own risk. No one but you is responsible for any data loss, bricking or damage of your device.
INSTALLATION:
Pre-Requirements
ADB means Android Debug Bridge, and it is software that you should always do have installed on your PC.
Pre-Requisite 1
Make sure that you have the drivers for your phone installed on your PC.
If not, you can download and install them from here
Pre-Requisite 2
You must also install: Minimal ADB & Fastboot, you can download the software
from here
Pre-Requisite 3
Your device needs this with unlocked bootloader
Pre-Requisite 4
Make sure you have enabled 'USB Debugging' and OEM Unlocking on your device
Settings -> Advanced settings -> Developer Options
PAY ATTENTION: If you do not see the Developer Options menu you need to do this:
Settings -> Device Info -> tap 6 or 7 times on the 'ZUI version' entry
A pop-up should appear, telling you 'now you are a developer'
And now, how to install:
1.Reboot phone to Fastboot mode (via adb -type adb reboot bootloader)
2.Download patched vbmeta and TWRP recovery
3.Extract it to folder with minimal adb and fastboot
4.Open cmd in this folder and type fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
5.Then type fastboot reboot bootloader
6.Type fastboot flash recovery twrp_3.3.1_decrypt_works_by_alexeei.img
7.Press volume - and select Reboot recovery, then press power button
8.Enjoy
What worked:
All functions (may be if not, please say). Also TWRP now see exFAT microsd.
Thanks wzsx150 for it's TWRP for Lenovo Z5 Pro GT, some decrypt stuff taken from it.
This is f*cking awesome. Thank you for your efforts. Will install asap and bring some feedback.
Is it working ? Any custom roms then ?
Please provide custom ROM the official ROM is no less than terrible and bad.
Finally compiled TWRP with decryption support, added in first post
hammad5507 said:
Please provide custom ROM the official ROM is no less than terrible and bad.
Click to expand...
Click to collapse
There are some "globalised" china roms which are doing a decent job (with notifications sound fixed, chinese bloatware removed and google services installed), I recommend the one made by Francko76.
Also you can try all the treble stuff out there. I only tried two GSIs so far and I went back to Francko´s build.
Anyway I´m like you looking forward z6 pro dedicated custom roms.
descarao81 said:
I recommend the one made by Francko76.
Click to expand...
Click to collapse
Can you share a link to the Roms you mentioned ?
thanks
descarao81 said:
There are some "globalised" china roms which are doing a decent job (with notifications sound fixed, chinese bloatware removed and google services installed), I recommend the one made by Francko76.
Also you can try all the treble stuff out there. I only tried two GSIs so far and I went back to Francko´s build.
Anyway I´m like you looking forward z6 pro dedicated custom roms.
Click to expand...
Click to collapse
benjieb said:
Can you share a link to the Roms you mentioned ?
thanks
Click to expand...
Click to collapse
what rom is Francko´s build? if you have a link, can you share it please?
Sorry to ask, is this vbmeta patched only for this device or can i installed in others device ?
Please share the links
Please share links for the Franko's build.
and also is there any custom pie rom available??
Pls share if any.. I am very unsatisfied with the global rom. Pls help.
@alexei sir, can you make custom kernel or give way to our devices gets exfat support ?
this is twrp for Lenovo Z6 (not pro) ?
geepnozeex said:
this is twrp for Lenovo Z6 (not pro) ?
Click to expand...
Click to collapse
No this is Twrp for Z6 Pro ( L78051 )
Very tempted to get this phone... has anyone try with phh’s GSI? Does under screen scanner works?
alexeei said:
DISCLAIMER
As usual, you do anything described in this post at your own risk. No one but you is responsible for any data loss, bricking or damage of your device.
INSTALLATION:
Pre-Requirements
ADB means Android Debug Bridge, and it is software that you should always do have installed on your PC.
Pre-Requisite 1
Make sure that you have the drivers for your phone installed on your PC.
If not, you can download and install them from here
Pre-Requisite 2
You must also install: Minimal ADB & Fastboot, you can download the software
from here
Pre-Requisite 3
Your device needs this with unlocked bootloader
Pre-Requisite 4
Make sure you have enabled 'USB Debugging' and OEM Unlocking on your device
Settings -> Advanced settings -> Developer Options
PAY ATTENTION: If you do not see the Developer Options menu you need to do this:
Settings -> Device Info -> tap 6 or 7 times on the 'ZUI version' entry
A pop-up should appear, telling you 'now you are a developer'
And now, how to install:
1.Reboot phone to Fastboot mode (via adb -type adb reboot bootloader)
2.Download patched vbmeta and TWRP recovery
3.Extract it to folder with minimal adb and fastboot
4.Open cmd in this folder and type fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
5.Then type fastboot reboot bootloader
6.Type fastboot flash recovery twrp_3.3.1_decrypt_works_by_alexeei.img
7.Press volume - and select Reboot recovery, then press power button
8.Enjoy
What worked:
All functions (may be if not, please say). Also TWRP now see exFAT microsd.
Thanks wzsx150 for it's TWRP for Lenovo Z5 Pro GT, some decrypt stuff taken from it.
Click to expand...
Click to collapse
At step 4 I'm getting "fastboot: unknown option -- disable-verity"
Any idea?
Thanks
threeeye said:
At step 4 I'm getting "fastboot: unknown option -- disable-verity"
Any idea?
Thanks
Click to expand...
Click to collapse
NVM, just updated the adb tools and now everything is good
Restore stock bootloader?
Hello, I recently went through the whole process of unlocking bootloader, installing TWRP recovery and flashing ROM, and I am at version 11.0.350 ST ROW currently.
The ROM works fine, but now at every boot I am greeted by the "The boot loader is unlocked and software integrity cannot be guaranteed. <snip> Press power button to pause boot/continue" notice.
According to google, it's apparently a result of the bootloader unlocking process.
I tried to lock the bootloader again using "fastboot flashing lock", but then the phone stopped booting normally. It got stuck at the boot logo (which I believe means bricked?).
It wouldn't work until I unlocked bootloader and reflash the ROM.
So what I want to ask is, is it possible at this time to restore the bootloader to stock to avoid that "boot loader unlocked" notice and possibly become eligible for warranty again?
kagoromo said:
Hello, I recently went through the whole process of unlocking bootloader, installing TWRP recovery and flashing ROM, and I am at version 11.0.350 ST ROW currently.
The ROM works fine, but now at every boot I am greeted by the "The boot loader is unlocked and software integrity cannot be guaranteed. <snip> Press power button to pause boot/continue" notice.
According to google, it's apparently a result of the bootloader unlocking process.
I tried to lock the bootloader again using "fastboot flashing lock", but then the phone stopped booting normally. It got stuck at the boot logo (which I believe means bricked?).
It wouldn't work until I unlocked bootloader and reflash the ROM.
So what I want to ask is, is it possible at this time to restore the bootloader to stock to avoid that "boot loader unlocked" notice and possibly become eligible for warranty again?
Click to expand...
Click to collapse
Share screenshot, I think this normal boot step when BL is unlocked on lenovo / Zuk phones.
benjieb said:
Share screenshot, I think this normal boot step when BL is unlocked on lenovo / Zuk phones.
Click to expand...
Click to collapse
Here is the "The boot loader is unlocked..." screen:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
And here's the boot loader:
kagoromo said:
Hello, I recently went through the whole process of unlocking bootloader, installing TWRP recovery and flashing ROM, and I am at version 11.0.350 ST ROW currently.
The ROM works fine, but now at every boot I am greeted by the "The boot loader is unlocked and software integrity cannot be guaranteed. <snip> Press power button to pause boot/continue" notice.
According to google, it's apparently a result of the bootloader unlocking process.
I tried to lock the bootloader again using "fastboot flashing lock", but then the phone stopped booting normally. It got stuck at the boot logo (which I believe means bricked?).
It wouldn't work until I unlocked bootloader and reflash the ROM.
So what I want to ask is, is it possible at this time to restore the bootloader to stock to avoid that "boot loader unlocked" notice and possibly become eligible for warranty again?
Click to expand...
Click to collapse
Do you try flash qfil rom after lock bootloader?

Installation by MIUI Flash Tool is going on forever

Hello, my phone is stuck in Fastboot mode (rebooting does not work, it will always boot into fastboot mode) so I just followed this guide to flash a new ROM: https://c.mi.com/oc/miuidownload/detail?guide=2
But I am wondering, why the installation is still going on after over 10min. - What is wrong?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
After trying it again:
It is just stuck forever and I do not know why, I do not get out of fast boot mode and I really do not know what to do now.
Like doesn't the "status" say something what is wrong here? I cannot identefy it, but has anyone enough experience with it and maybe experienced my issue already?
Try flash non-official rom via recovery (twrp). After successful flash, launch system. Then, try flash latest stable via fastboot (do not use FLASH-AND-LOCK, use it only after successfully flashing like flash, check if everything is ok and then flash it again and lock).
I cannot enter recovery, I am stuck in a Fast boot loop. The phone won't let me get into recovery mode.
So flash TWRP in fastboot mode.
And you could try to flash another ROM because "echo Missmatching image and device"
The name of your directory path should not include any space. Replace the spaces with underscores, dashes or just remove them.
From your screenshot, you selected clean all and lock. Try unlocking the bootloader again.
Sent from my MI 9 using Tapatalk
Thanks, but the thing is I fixed all those things already as my last picture shows: https://img.xda-cdn.com/5kNbM-6ZvzA8Jvc_Fc-qUwGIG-Q=/https://i.imgur.com/ZOhtier.png
@Tomcar do you mean 'fastboot flash recovery name.img' ? That does not work, it still boots me into fastboot mode everytime I try to get into recovery mode.
Shure, because you are locked again
I fixed the problem. I just downloaded a newer version of Mi Flash and now I have the newest version installed. So the plan is to install a new custom rom now.
Why is wipe system not recommended to do?
And do I have to "wipe internal storage"?
I really do not understand.. Now as I sad above I have the newest version installed and the phone is unlocked too!
When I go into fastboot mode and do "fastboot flash recovery twrp.img" it works, but when I boot into recovery mode with volume UP and power button the old recovery is still there.
What am I missing out here?
hallohallo222 said:
I really do not understand.. Now as I sad above I have the newest version installed and the phone is unlocked too!
When I go into fastboot mode and do "fastboot flash recovery twrp.img" it works, but when I boot into recovery mode with volume UP and power button the old recovery is still there.
What am I missing out here?
Click to expand...
Click to collapse
Try after "fastboot flash recovery twrp.img"
"fastboot boot recovery twrp.img"
Once you do this, the recovery should stay permanently there.
Dont know why, but this was working for me.
(I hate this phone, too many strange things with it)
On my Mi 9, what I did to make TWRP stick was to press vol up + power right after flashing the recovery, to boot into TWRP.
Sent from my MI 9 using Tapatalk
sangbuana said:
On my Mi 9, what I did to make TWRP stick was to press vol up + power right after flashing the recovery, to boot into TWRP.
Sent from my MI 9 using Tapatalk
Click to expand...
Click to collapse
You my friend are a genius, thanks for the help. That worked!
abocksberger said:
Try after "fastboot flash recovery twrp.img"
"fastboot boot recovery twrp.img"
Once you do this, the recovery should stay permanently there.
Dont know why, but this was working for me.
(I hate this phone, too many strange things with it)
Click to expand...
Click to collapse
Thanks, this did not work somehow the boot command did not get recognized: "C:\Mini ADB and Fastboot>fastboot boot recovery twrp.img
fastboot: error: cannot load 'recovery': No such file or directory"
I was facing the same issue. I stopped the flashing. Copied manually the recovery.img file that came with the flash tool, and flashed the original recovery manually, cause i had it on a customer recovery. Then i tried again, it showed a more meaningful error, basically the path of the folder we're flashing can't have spaces. moved the folder under C: and tried again.. all worked!!

brick after Lineage 17

Flashed Pixel Expirience without any problems and worked just fine but i didnt like i cant remove date from top of home page
so i done flash of LineageOS 17.1 and worked fine but since i had problems with gaaps (installed but after boot to system nowhere to be found). Flashed Lineage couple more times to flash gaaps
So i installed TWRP 3.3.1 since i got iritated to temporary boot it every time from fastboot
I wipe(and done format ) everything from the phone using installed TWRP but phone still booted LineageOS !!! so i concluded that somehow must be installed on Slot A
Again boot in TWRP and wiped (and done format)Slot A, and again did same with Slot B.
after all this recovery is Lineage OS recovery !!!!!!
Now when i type any command in fastboot i get black screen with "press any key to shutdown"
downloaded stock and tried to force it with MiFlash i also get same "press any key to shutdown" error but sometimes i just get
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
when i forced MiFlash for 50 times it alegedly starts to flash but for eternity
also when i try to change slot with command fastboot set_active (a or b) i get error "Device does not support slots" !!
PS.
Im using USB2.0 and stock cable so USB3.0 is not problem
PPS.
after all this recovery is Lineage OS recovery !!!!!!
BOTTOM LINE:
I got message for whoever came up with slots. Fuk YOU !!
yrakun said:
Flashed Pixel Expirience without any problems and worked just fine but i didnt like i cant remove date from top of home page
so i done flash of LineageOS 17.1 and worked fine but since i had problems with gaaps (installed but after boot to system nowhere to be found). Flashed Lineage couple more times to flash gaaps
So i installed TWRP 3.3.1 since i got iritated to temporary boot it every time from fastboot
I wipe(and done format ) everything from the phone using installed TWRP but phone still booted LineageOS !!! so i concluded that somehow must be installed on Slot A
Again boot in TWRP and wiped (and done format)Slot A, and again did same with Slot B.
after all this recovery is Lineage OS recovery !!!!!!
Now when i type any command in fastboot i get black screen with "press any key to shutdown"
downloaded stock and tried to force it with MiFlash i also get same "press any key to shutdown" error but sometimes i just get
when i forced MiFlash for 50 times it alegedly starts to flash but for eternity
also when i try to change slot with command fastboot set_active (a or b) i get error "Device does not support slots" !!
PS.
Im using USB2.0 and stock cable so USB3.0 is not problem
PPS.
after all this recovery is Lineage OS recovery !!!!!!
BOTTOM LINE:
I got message for whoever came up with slots. Fuk YOU !!
Click to expand...
Click to collapse
search for any tutorial on how to do testpoint and then flash stock in edl
or........ try to flash lineage by using lineage recovery ....then try to enter fastboot
then start over ...
put of a photo of the problem with your fastboot
try something like :
fastboot oem edl
if screen goes black try to flash it in miflash real quick
but now that you have brick convert to wayne ...is A only ... I'm much happier since I converted
KevMetal said:
search for any tutorial on how to do testpoint and then flash stock in edl
Click to expand...
Click to collapse
You mean TO TAKE APART ?!
KevMetal said:
or........ try to flash lineage by using lineage recovery ....then try to enter fastboot
Click to expand...
Click to collapse
Only if i could copy installation zip without twrp
put of a photo of the problem with your fastboot
KevMetal said:
try something like :
fastboot oem edl
Click to expand...
Click to collapse
and i get greetings "press any key to shutdown"
KevMetal said:
but now that you have brick convert to wayne ...is A only ... I'm much happier since I converted
Click to expand...
Click to collapse
I don't understand
PS.
I noticed that in LineageOS recovery i have option ADB sideload
but when i try to do ADB Sideload rom.zip i get message "cannot read rom.zip"
yrakun said:
You mean TO TAKE APART ?!
*NO, to unscrew the screws and open the back cover of the phone
Only if i could copy installation zip without twrp
*boot to lineage recovery , then connect the usb and transfer the rom zip to the phone using file manager on pc
put of a photo of the problem with your fastboot
*yes, upload photos of the errors and what's happening
and i get greetings "press any key to shutdown"
* are you sure you are in fastboot ?
I don't understand
*what don't you understand
PS.
I noticed that in LineageOS recovery i have option ADB sideload
but when i try to do ADB Sideload rom.zip i get message "cannot read rom.zip"
Click to expand...
Click to collapse
* do you know how to use sideload ?
**put the rom in the folder of adb
***connect usb cable to phone and recovery activate sideload
**** on pc open cmd window in adb folder
***** use command :
adb sideload rom.zip
#make sure the name of the rom is rom.zip or call it update.zip
#make sure to use the lineage rom that goes with the recovery on the phone
##lastly "Wayne" or Mi X6 is the same phone as A2 or "jasmine" it just uses A only partition and comes with miui not android 1 and you can convert your phone to have A only partition by flashing miui of mi x6 on the phone which is what i did then your phone won't be a A/B device
Yes i know how to use sideload as i already wroted
"adb sideload rom. zip" get message "cannot read rom.zip"
but i made it. I needed newer version
turned on ADB in LineageOS recovery and tried to
flash stock, flashing started and stuck at 47% with some error
flashed newer stock and stuck at 47% with some error
flashed PixelExpirience and stuck at 47% with some error
flashed newer PixelExpirience and stuck at 47% with some error
flashed new Lineage and stuck on 47% with some error
flashed older Lineage and stuck on 47% with some error
flashed EvolutionX and SUCCESS
thank you Evolution, i will try to live with date at top of home screen
my 2 cents, if that's the only one working and you had it installed before they probly changed something on the default partition layout (which causes all others to fail).
your only way out of the mess is probably to flash the stock rom with miflash (which currently doesnt work because you're trying to flash the pie tgz - since xiaomi are too lazy to release a tgz for android 10). once they releases the 10 that one should let you reset the phone to stock.

Trying to boot my Huawei P9 inot TWRP, stock rom always overwrites even if I boot into recovery correctly

As the title suggests, I decided to flash Lineage OS onto my old Huawei P9 phone. I unlocked the bootloader, which was a mess but I did indeed achieve that goal.
However, things screeched into a halt as I found out that my specific model of P9 does not support SU or rooting. So the only way I can install TWRP is by running the
Code:
adb reboot bootloader
flashboot flash recovery_ramdisk twrp.img
Things got kinda weird when I tried to boot into recovery mode. I've tried all the ways, from using all kinds of key combinations to googling software solutions, sadly all my efforts were in vain. However, I can now boot into recovery mode consistently with the classic "volume + and power button" key combo. The problem I run into is that everytime I boot into it, I get the error screen
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What can I do? all the other solutions on Google say that I need to root to use the software solutions so I'm stuck in this weird circular logic loop. So any suggestions?
Running EMUI 8.0.0.552(C01)
Model EVA-TL00
Cpu: Hisilicon Kirin 955
Kernel version 4.4.23
Catnip202X said:
As the title suggests, I decided to flash Lineage OS onto my old Huawei P9 phone. I unlocked the bootloader, which was a mess but I did indeed achieve that goal.
However, things screeched into a halt as I found out that my specific model of P9 does not support SU or rooting. So the only way I can install TWRP is by running the
Code:
adb reboot bootloader
flashboot flash recovery_ramdisk twrp.img
Things got kinda weird when I tried to boot into recovery mode. I've tried all the ways, from using all kinds of key combinations to googling software solutions, sadly all my efforts were in vain. However, I can now boot into recovery mode consistently with the classic "volume + and power button" key combo. The problem I run into is that everytime I boot into it, I get the error screenView attachment 5281583
What can I do? all the other solutions on Google say that I need to root to use the software solutions so I'm stuck in this weird circular logic loop. So any suggestions?
Running EMUI 8.0.0.552(C01)
Model EVA-TL00
Cpu: Hisilicon Kirin 955
Kernel version 4.4.23
Click to expand...
Click to collapse
TWRP must be flashed with the command:
fastboot flash recovery_ramdisk ...
After flashing, first thing must be rebooting to TWRP by key conbo - it's always that same trick for Huawei phones
And btw, better ask inside the P9 LOS thread, to get attention and help
zgfg said:
TWRP must be flashed with the command:
fastboot flash recovery ...
After flashing, first thing must be rebooting to TWRP by key conbo - it's always that same trick for Huawei phones
And btw, better ask inside the P9 LOS thread, to get attention and help
Click to expand...
Click to collapse
I've tried
Code:
fastboot flash recovery twrp.img
This doesn't work as I've learned that the correct partition name is recovery_ramdisk. Flashing the recovery gives the error.
Catnip202X said:
I've tried
Code:
fastboot flash recovery twrp.img
This doesn't work as I've learned that the correct partition name is recovery_ramdisk. Flashing the recovery gives the error.
Click to expand...
Click to collapse
Yes, sorry, you are right, typo.
But I wanted to point that you must use fastboot flash command (not FLASHBOOT or whatever you used in your post #1)
And that you MUST reboot to TWRP as the first thing after flashing it - otherwise (as you claimed), stock recovery will overwrite the TWRP you flashed
Hence, prepare you fingers for the key-combo, type fastboot reboot, disconnect USB and make sure you properly keep pressing Vol+ until it boots to TWRP. Then you can safely reboot to the system
But also READ the P9 LOS thread - it clearly describes that LOS must bi flashed from fastboot, not from TWRP and it actually asks users not to use TWRP
See here and better ask there to get the answers directly from developer:
[ROM][Treble][microG]LineageOS 16.0 for HUAWEI P9
This thread is dedicated to provide Lineage-OS 16.0 builds with microG included for the HUAWEI P9 with current security patches. It is a treble build, therefore it could also work on other devices, but I haven't tested. And yes, the camera...
forum.xda-developers.com
zgfg said:
And that you MUST reboot to TWRP as the first thing after flashing it - otherwise (as you claimed), stock recovery will overwrite the TWRP you flashed
Hence, prepare you fingers for the key-combo, type fastboot reboot, disconnect USB and make sure you properly keep pressing Vol+ until it boots to TWRP. Then you can safely reboot to the system
Click to expand...
Click to collapse
I have indeed tried this route, but as I have stated before, trying to boot into recovery mode right after flashing TWRP and pressing key combo still boots me into the error screen where it says that I need to update something. On the bottom of the screen will also show errors such as Function11 not found and error 2 no image etc. I’ll try to replicate it and send you a picture of the error screen when I get home from work tonight.

Categories

Resources