TWRP for Sony XZ2c instead of Lineage Recovery? - LineageOS Questions & Answers

Hi everyone
After some research, I can't find a succeful way to install TWRP recovery instead of Lineage stock recovery.
It's really embarasing because I'm currently setting up my brand new XZ2c compact to run the way I want it to on Lineage OS 17.1 with Magisk and Xposed modules, and I experienced 3 or 4 endless bootloop that led me to fully format my phone after bunch of hours setting it and tailoring it up... Huge waste of time, frustration overload, as you could expect. So, I really miss tremendous TWRP backup fonctionnality I used to run frequently on my old Z5c... :crying:
Does anyone here as figured out how to replace Lineage stock recovery on this device? Is so, I'd really to hear him out
Have a good week-end!

tomboudiboudi said:
Hi everyone
After some research, I can't find a succeful way to install TWRP recovery instead of Lineage stock recovery.
It's really embarasing because I'm currently setting up my brand new XZ2c compact to run the way I want it to on Lineage OS 17.1 with Magisk and Xposed modules, and I experienced 3 or 4 endless bootloop that led me to fully format my phone after bunch of hours setting it and tailoring it up... Huge waste of time, frustration overload, as you could expect. So, I really miss tremendous TWRP backup fonctionnality I used to run frequently on my old Z5c... :crying:
Does anyone here as figured out how to replace Lineage stock recovery on this device? Is so, I'd really to hear him out
Have a good week-end!
Click to expand...
Click to collapse
You don't install a recovery, but only temporally boot one
https://wiki.lineageos.org/devices/xz2c/install

kurtn said:
You don't install a recovery, but only temporally boot one
https://wiki.lineageos.org/devices/xz2c/install
Click to expand...
Click to collapse
Thanks for replying!
Ok, but if I want this recovery bootable permently away from my computer?

kurtn said:
You don't install a recovery, but only temporally boot one
https://wiki.lineageos.org/devices/xz2c/install
Click to expand...
Click to collapse
Thanks for your (minimalist) advice. Literally just lost 1 hour fixing the bootloop it just caused by following it, I'm delighted.
Behind my post, I was hoping to find someone who could explain a bit more the process of replacing/flashing/booting/(wateveryouwanti'mnotanexpert) a recovery, and at the same time avoiding me wasting more hours in bootlooping/formating/reinstalling. Hopefully, this time I succeed to came out of the bootloop without formating and reseting eveything, but I almost lost my nerves.
All of this is a bit cloudy for me, could you (or someone else that would give me a little of his time to) be pedagogue and explain clearly the whole proccess (and especially what you should avoid if you don't want to get stuck in a bootloop/getting scarying corrupted device message) ?

No one?

tomboudiboudi said:
No one?
Click to expand...
Click to collapse
Wrong forum. Search in you device section.

Hi guys!
Today I tried again to install TWRP on my Sonyh Xperia XZ2C because LineageOS Recovery doesn't provide Nandroid backup, which is a shame.
I tried many ways described over the web, none of those worked, and I ended up with a boot loop at startup with that naughty message "your device is corrupted it cannot be trusted and will not boot". I can't boot to Lineage, neither to recovery. I'm stuck.
With device turned off, I can eventually press volume down, plug it to computer, access fastboot mode (blue led), flash+boot the LineageOSrecovery.img, then the device restart, Sony logo appears... and that's all, I'm stuck with logo in boot loop, and I can't go anywhere further.
I tried to change boot slot (without knowing if it could help with this problem at all) but I alway get "unknown option".
I'm panicking right now, I can't find any way out to this bootloop, if someone could help it will be sooo appreciated!
I tried hard to find a solution for 4 hours now, I'm completly stuck and I can't even sleep. That's why I finally reached out here.

tomboudiboudi said:
Hi guys!
Today I tried again to install TWRP on my Sonyh Xperia XZ2C because LineageOS Recovery doesn't provide Nandroid backup, which is a shame.
I tried many ways described over the web, none of those worked, and I ended up with a boot loop at startup with that naughty message "your device is corrupted it cannot be trusted and will not boot". I can't boot to Lineage, neither to recovery. I'm stuck.
With device turned off, I can eventually press volume down, plug it to computer, access fastboot mode (blue led), flash+boot the LineageOSrecovery.img, then the device restart, Sony logo appears... and that's all, I'm stuck with logo in boot loop, and I can't go anywhere further.
I tried to change boot slot (without knowing if it could help with this problem at all) but I alway get "unknown option".
I'm panicking right now, I can't find any way out to this bootloop, if someone could help it will be sooo appreciated!
I tried hard to find a solution for 4 hours now, I'm completly stuck and I can't even sleep. That's why I finally reached out here.
Click to expand...
Click to collapse
In fastboot mode you should be able to flash stock rom

Is there any way to make the device boot on the Lineage partition without wiping everything?

For an unknown reason, I succed to boot on Lineage Recovery (not TWRP) this morning. I flashed LineageOs rom.zip using adb sideload. After rebooting, the recovery tolds me that I had to wipe everything because the system partition seems to be corrupted, so I did.
I'm a bit tired to lost everything since I made all of this to do Nandroid backups with TWRP........ but I have a fresh new install, my phone works again so it's fine.
But I still need to make Nandroid backups.
Kurtn, you seem to have skills and knowledge. As you can see, I didn't succeed to boot Twrp since october 2020. I don't see why it would be impossible with my device, I'm probably messing something somewhere.
Would you share your knowledge and help me booting/flashing TWRP without bricking everything again?

Could you make an answer instead of a single smiley?

tomboudiboudi said:
Could you make an answer instead of a single smiley?
Click to expand...
Click to collapse
Sorry, i cant. I don't backup and I don't have an a/b device.

Ok, thanks anyway!

tomboudiboudi said:
I didn't succeed to boot Twrp since october 2020. I don't see why it would be impossible with my device, I'm probably messing something somewhere.
Would you share your knowledge and help me booting/flashing TWRP without bricking everything again?
Click to expand...
Click to collapse
Btw.
Code:
fastboot flash boot recovery.img
DOES install the recovery, since it's permanently flashed. Don't know why they (lineage) didn't change that.
kurtn said:
You don't install a recovery, but only temporally boot one
https://wiki.lineageos.org/devices/xz2c/install
Click to expand...
Click to collapse
However @tomboudiboudi , you could boot twrp manually using
Code:
fastboot boot twrp.img
With that, twrp should appear and ask for a password to decrypt your userdata partition.
If that works, you could try to flash boot this very same twrp.img. Maybe you need an additional twrp.zip too which will be sideloaded within twrp itself.
A note for you which might help: I wanted to update my lineage recovery manually using fastboot (older lineage recovery to newer one) and found that nothing (except fastboot) was booting at all after flashing this.
However, after dirty flashing lineageOS.zip, everything worked fine again.
Keep in mind that flashing a recovery will modify your boot.img. If this one doesn't work / is corrupt etc., your os won't boot up.

User699 said:
Btw.
Code:
fastboot flash boot recovery.img
DOES install the recovery, since it's permanently flashed. Don't know why they (lineage) didn't change that.
However @tomboudiboudi , you could boot twrp manually using
Code:
fastboot boot twrp.img
With that, twrp should appear and ask for a password to decrypt your userdata partition.
If that works, you could try to flash boot this very same twrp.img. Maybe you need an additional twrp.zip too which will be sideloaded within twrp itself.
A note for you which might help: I wanted to update my lineage recovery manually using fastboot (older lineage recovery to newer one) and found that nothing (except fastboot) was booting at all after flashing this.
However, after dirty flashing lineageOS.zip, everything worked fine again.
Keep in mind that flashing a recovery will modify your boot.img. If this one doesn't work / is corrupt etc., your os won't boot up.
Click to expand...
Click to collapse
I fear you still haven't realized, what a/b means. The classic concept of having a recovery partition, where you can boot twrp at any time - doesn't apply.

kurtn said:
I fear you still haven't realized, what a/b means. The classic concept of having a recovery partition, where you can boot twrp at any time - doesn't apply.
Click to expand...
Click to collapse
You're right, there is no recovery partition.
As I said: Flashing a recovery.img will modify the boot.img.

Related

Stuck on team win recovery project please help

I have no idea how to root or anything like that, I bought this oneplus 3 and had a update a week later.. so when I did the software update it took me into teamwin recovery mode and now I don't know how to get back into my phone please help....
Did you buy the phone second hand or did you try to flash TWRP yourself? It shouldn't have TWRP installed by default.
Regardless, you can use TWRP to flash the latest update.
Given that you have TWRP, I'm assuming that you have an unlocked bootloader. Did you notice a warning pop up everytime you reboot your phone before? It should say something along the lines of "your device has been unlocked and can't be trusted". If not, you'll have to unlock it (it wipes your phone in the process).
If the bootloader is unlocked, you can simply download and flash the latest zip for OOS 4.0.3 in TWRP. This will update you phone and replace TWRP with the stock recovery (so you don't run into this problem again in the future when installing an OTA). If you don't intend to modify your phone in any way, then this is all you need to do, your phone should be functional.
There are plenty of threads with detailed guides on how to do all of this.
I'm also stuck on TWRP after stupidly downloading the latest OTA and I don't know what to do!
Phone won't boot normal, just goes off.
Situation:
- Bootloader, Fastboot and TWRP wil load.
- Device seen by windows
- Zip install in TWRP gets stuck at 'patching zip unconditiontally'
- Another zip flashes, but gets stuck at the end, no reboot option (manually but that's not the way)
Can someone please point me in the right direction? I don't care if I lose data, just want my phone back!
not helping:
Saying i'm a dipsh-t I know, I know, I will do better in the future, for now, help a brother out please
sndr1384 said:
I'm also stuck on TWRP after stupidly downloading the latest OTA and I don't know what to do!
Phone won't boot normal, just goes off.
Situation:
- Bootloader, Fastboot and TWRP wil load.
- Device seen by windows
- Zip install in TWRP gets stuck at 'patching zip unconditiontally'
- Another zip flashes, but gets stuck at the end, no reboot option (manually but that's not the way)
Can someone please point me in the right direction? I don't care if I lose data, just want my phone back!
not helping:
Saying i'm a dipsh-t I know, I know, I will do better in the future, for now, help a brother out please
Click to expand...
Click to collapse
Simple, check the OnePlus D/L sites for this one http://oxygenos.oneplus.net.s3.amazonaws.com/recovery_op3.img and flash it by TWRP or fastboot to RECOVERY. Boot once with the official Recovery and all ist fine again.
This is issue of using a faulty twrp so for that when ur phone us booting up go to fastboot and flash twrp 3.0.4-1 and everything will work
emuandco said:
Simple, check the OnePlus D/L sites for this one http://oxygenos.oneplus.net.s3.amazonaws.com/recovery_op3.img and flash it by TWRP or fastboot to RECOVERY. Boot once with the official Recovery and all ist fine again.
Click to expand...
Click to collapse
Similar Problem here:
just wanted to flash latest OOS 4.0.3, so I flashed back stock recovery with flashify and rebooted into recovery mode to flash the already downloaded OOS 4.0.3. zip. That's when it began to go poop! After rebooting it just went dark with no Chance to power it on again! No dice with power button, Volume up/down + power button, nothing! Not even the LED's are blinking when plugged in. So this one seems to be basically dead!
I got it once booting again after randomly pushing the buttons (after x minutes!?), but everytime I reboot the phone it just shuts off without beeing able to power it on again. At the Moment it's dead!
Any ideas what might happened? If I get it on again, should I immediately reset it to factory Settings?
I am kinda lost here! Any help/ideas would be much appreciated!
Flashify? Never used it and never trusted apps which flash stuff on a running system. Use fastboot and reflash the recovery partition. Link to recovery is in my former post.
fastboot flash recovery PATHTOIMGFILE
Thank you for your advice! Still a lot to learn! Got it up again, will try as you suggested!
It appeared that my stock recovery file was corrupted , but all is fine again! Thank you very much!
Mannycolon85 said:
I have no idea how to root or anything like that, I bought this oneplus 3 and had a update a week later.. so when I did the software update it took me into teamwin recovery mode and now I don't know how to get back into my phone please help....
Click to expand...
Click to collapse
I may have been the person you traded with to get the OnePlus 3, but I took the phone back and after 5 hours I got it up and running.
The phone would boot to TWRP, but even after wiping the entire system and dragging a ROM zip to the internal storage, reinstalling did nothing. It just kept booting back to recovery.
The solution entailed the following.
Download stock recovery IMG. Flashed through TWRP. Rebooted recovery and now was back to stock recovery.
Download the official OxygenOS ROM zip from the OnePlus website and changed the name to update.zip
Next I downloaded Android studio for access to ADB. I had never used ADB before, but I knew this was needed to push a file to the phone.
Needless to say, ADB kept freezing my computer when I would type in the commands to side load.
I deleted Android studio and installed a minimal ADB/Fastboot I found online. I opened my command prompt, typed the command for sideloading, and immediately got my installation starting. It took about 10 minutes to fully install. When it was finished, I rebooted and had a fully functioning OnePlus 3
Sent from my ONEPLUS A3000 using Tapatalk

various issues with google variant

I've had Google phones for years now, including previous Pixel, but I just got an XL 2 yesterday and I'm regretting it.
It's Google unlocked and running June's latest image. I've experienced various app crashing on stock, and random reboots.
Then there's the rooting and flashing. I unlocked the bootloader and installed the most recent, twrp (the one verified to work on xda for roms) but can't flash anything.
My twrp either hangs on the twrp start screen, or when it does load, the touch screen doesn't work. When I can get it going, every rom I flash gives me an error on the second step. I'm flashing on slot B by the way, that's what boots up when I boot to twrp.
Lastly, I am unlocked both for flashing and flashing_critical thru adb, so I'm at a loss and seriously confused.
When I FIRST unlocked everything, I was able to flash Nitrogen rom but I got stuck at the rom splash screen.
Tldr:
-What is the Correct install method/sequence for roms?
-do the slots matter?
-is random reboots and app crashing on stock a sign of a hardware issue?
I haven't installed a custom ROM on my P2XL, so I'm running rooted stock. Anyway, for rooted stock, this is what I did.
Entered bootloader mode.
Booted into recovery using the command "fastboot boot recovery.img", where "recovery.img" is the TWRP recovery iteslf. In my case, I renamed it "taimen.img".
Flashed the TWRP installer zip needed for the P2XL (Required if intending to replace the stock recovery).
Rebooted into recovery.
Flashed a custom kernel (Recommended - resolves touch issues in TWRP).
Flashed Magisk.
6. Rebooted.
If installing a custom ROM, flash it prior to the custom kernel. Slots only matter if running stock. Random reboots and app crashes are not signs of a hardware issue.
stevew84 said:
I've had Google phones for years now, including previous Pixel, but I just got an XL 2 yesterday and I'm regretting it.
It's Google unlocked and running June's latest image. I've experienced various app crashing on stock, and random reboots.
Then there's the rooting and flashing. I unlocked the bootloader and installed the most recent, twrp (the one verified to work on xda for roms) but can't flash anything.
My twrp either hangs on the twrp start screen, or when it does load, the touch screen doesn't work. When I can get it going, every rom I flash gives me an error on the second step. I'm flashing on slot B by the way, that's what boots up when I boot to twrp.
Lastly, I am unlocked both for flashing and flashing_critical thru adb, so I'm at a loss and seriously confused.
When I FIRST unlocked everything, I was able to flash Nitrogen rom but I got stuck at the rom splash screen.
Tldr:
-What is the Correct install method/sequence for roms?
-do the slots matter?
-is random reboots and app crashing on stock a sign of a hardware issue?
Click to expand...
Click to collapse
Ya know my friend, after our conversation yesterday, and your questions in the nitrogen thread, and now random reboots and app crashes, I think it's time to consider a factory reset. You shouldn't be having those problems on a stock setup. If that's not successful, then I would definitely consider an RMA. Just my 2 cents worth :good:
I agree. I got it used tho which is an issue.
Badger50 said:
Ya know my friend, after our conversation yesterday, and your questions in the nitrogen thread, and now random reboots and app crashes, I think it's time to consider a factory reset. You shouldn't be having those problems on a stock setup. If that's not successful, then I would definitely consider an RMA. Just my 2 cents worth :good:
Click to expand...
Click to collapse
Just so you know, I got the rom to flash finally, but it's stuck at the rom splash screen during first boot. I'm going to leave it and hope it eventually boots up.
stevew84 said:
Just so you know, I got the rom to flash finally, but it's stuck at the rom splash screen during first boot. I'm going to leave it and hope it eventually boots up.
Click to expand...
Click to collapse
If it doesn't after 5 minutes, do a hard restart with the power button. If that doesn't work, then reboot to twrp and flash the rom and twrp installer zip again.
Ok cool thanks. I relocked bootloader last night and went back to stock. Unlocked it all this morning from my work computer and different unlock app. So here's hoping.
Badger50 said:
If it doesn't after 5 minutes, do a hard restart with the power button. If that doesn't work, then reboot to twrp and flash the rom and twrp installer zip again.
Click to expand...
Click to collapse
I finally got everything to work. My vendor image is a mismatch but I could just flash junes and be done with it, right?
stevew84 said:
I finally got everything to work. My vendor image is a mismatch but I could just flash junes and be done with it, right?
Click to expand...
Click to collapse
What did you do to get it to work? You could just flash the June vendor.img to both slots. If you keep getting a vendor mismatch, probably nothing to worry about according to the Dev of nitrogen.
Different machine, cable and unlocking tool.
But I went to bone stock with locked bootloader, then flashed the newest twrp with the newest all in one tool. Was on slot A so wiped everything and flashed rom plus twrp again. I rebooted system to slot B, but then it just hung at the rom splash screen.
So I did it all over on slot A, ignored the "no os installed" message and booted anyway. Then it fired up. Rebooting into twrp from there took me to B, which is where I need to be for an image file or root.
So yea, thanks for the help.
I'm having this issue also. I tried flashing nitrogen, it hung. I tried to go back with factory reset Img and nothing happens in adb. Flashed the may img and it wouldn't boot all the way up. Now I'm stuck in bootloader trying to figure this all out. Seems like nothing in doing is working. I can get recovery to boot, but no files inside so idk. Tried to sideloadb nitrogen, but it said adb out of date for device when sdk is fully updated.
MatthewRobinson said:
I'm having this issue also. I tried flashing nitrogen, it hung. I tried to go back with factory reset Img and nothing happens in adb. Flashed the may img and it wouldn't boot all the way up. Now I'm stuck in bootloader trying to figure this all out. Seems like nothing in doing is working. I can get recovery to boot, but no files inside so idk. Tried to sideloadb nitrogen, but it said adb out of date for device when sdk is fully updated.
Click to expand...
Click to collapse
You didn't mention the out of date message in your other post, but uninstall SDK and then download the stand-alone adb/fastboot binaries from May of this year. Dump that in a folder (eg. c:\adb) and put that folder in your path statement. Manually flash the full factory image without modifying flash-all.bat. Post your screeen if you have any errors. :good:
stevew84 said:
I agree. I got it used tho which is an issue.
Click to expand...
Click to collapse
Google knows the date the phone was purchased based on imei number and honors their warranty by date, not owner. Unless it was blacklisted.
smartymcfly said:
Google knows the date the phone was purchased based on imei number and honors their warranty based on that.
Click to expand...
Click to collapse
Thanks. I might try to take advantage.

TWRP - Working /data decryption on Android 9 (3.3.1-0)

Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research about modifying your android system before flashing this!
* 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. Hard. A lot.
*/
As you might know, the official version of TWRP for Nokia 8 is not able to correctly decrypt /data partitions that were made using Android 9. This means, if you updated an oreo installation, you can still decrypt your data, but if you did a factory reset under Pie, TWRP will fail at decrypting. Since that makes large parts of it useless, I tried to figure out how to compile TWRP. The result is this TWRP build.
With the prepatched TWRP boot images I have been doing since October, it was required to create a new boot image for every security patch version, since otherwise the wifi driver would fail to load correctly. This new image does not have this problem, since the wifi driver is compiled into the kernel itself, and not loaded externally. This means that as of now I will not continue to upload images for new security patch images to my cloud storage. You can flash my new image on every security patch version and it will continue to work correctly.
How to install:
Reboot into fastboot mode
fastboot flash boot twrp-3.3.1-0-NB1.img
fastboot reboot
You need an unlocked bootloader for this.
After flashing TWRP you will normally boot into android. From there you can then reboot into recovery by doing adb reboot recovery, or powering off the device, and pressing the volume up while connecting it to a PC via USB.
Links:
TWRP: https://github.com/resident-nokia/twrp/releases
Device Tree: https://github.com/resident-nokia/twrp - You *could* build TWRP with the official tree as well but I had various issues with it.
Umbrella Kernel: https://github.com/resident-nokia/umbrella
Credits:
Dhruv Gadhavi - for the official TWRP
Numerous people from the telegram group testing my kernel and TWRP builds
Good Job
Thank you
Sent from my Nokia 8 using XDA Labs
Exactly what I was looking for!! Thanks bunches
It's still not working for me : (
I finally got it to work for me... But now I can't activate WiFi and my MAC address is reading "Unavailable"
Have already tried a factory reset, but then I still can't find any WiFi networks during the system setup
What about custom ROM's?
@THMSP
It's very interesting ?
And it's very good that you tried to make something for our device. Everyone's work will be useful I think.
In these days I also playing with Nokia system files, but only with Nokia camera. It's strange that the newest apks are not working on our device, in the beginning I was surprised, and now I took linuxct mod and made some small modifications (of course I'm a noob ?) to make it more stable. Now it's working not bad. I uploaded it to 4pda forum thread.
But that's not the point. The point is that for some ridiculous reasons HMD restricts Nokia 8 users, it's upsetting.
Anyway, you're doing great. If you don't mind, I'll add a link to your post from 4pda...
Thanks!
this is interesting, good job. I will keep an eye out for future updates regarding the custom kernel.
Great work! One great future for this Phone!
I mistakenly disabled an important system file now the phone reboots into recovery every time it finishes booting up. The problem now is that my current TWRP doesnt decrypt so now I cant get adb and fastboot to work so I can re-enable the app. How can I flash your patched TWRP so i can fix this boot issue? fastboot doesnt recognised my device when booting into download mode from inside TWRP.
MDV106 said:
I mistakenly disabled an important system file now the phone reboots into recovery every time it finishes booting up. The problem now is that my current TWRP doesnt decrypt so now I cant get adb and fastboot to work so I can re-enable the app. How can I flash your patched TWRP so i can fix this boot issue? fastboot doesnt recognised my device when booting into download mode from inside TWRP.
Click to expand...
Click to collapse
Did you install the Nokia 8 fastboot driver? If no, try to install it (https://github.com/StollD/nokia-driver-installer/blob/master/out/Phone_Nokia_USB_Driver_v1.4.0.exe) and see if your device is recognized in fastboot again.
THMSP said:
Did you install the Nokia 8 fastboot driver? If no, try to install it (https://github.com/StollD/nokia-driver-installer/blob/master/out/Phone_Nokia_USB_Driver_v1.4.0.exe) and see if your device is recognized in fastboot again.
Click to expand...
Click to collapse
I managed to install your patched TWRP from within the previous version of TWRP. but the "recovery" partition didnt show up as an option to flash so I flashed your img file to the boot partition. When I rebooted to recovery it worked and the file system was decrypted successfully. Now the problem I have is that when I boot into the OS, Im stuck on the Nokia logo and I keep hearing clicking sounds of the camera lense every 5 seconds. Its still stuck there. Any idea how I can fix this?
MDV106 said:
I managed to install your patched TWRP from within the previous version of TWRP. but the "recovery" partition didnt show up as an option to flash so I flashed your img file to the boot partition. When I rebooted to recovery it worked and the file system was decrypted successfully. Now the problem I have is that when I boot into the OS, Im stuck on the Nokia logo and I keep hearing clicking sounds of the camera lense every 5 seconds. Its still stuck there. Any idea how I can fix this?
Click to expand...
Click to collapse
Reflash the stock firmware using (N)OST. Every attempt to fix this manually is probably not worth the efford. After that, just reflash the TWRP image in fastboot.
THMSP said:
Reflash the stock firmware using (N)OST. Every attempt to fix this manually is probably not worth the efford. After that, just reflash the TWRP image in fastboot.
Click to expand...
Click to collapse
How do I do that? The phone simply wont turn on or off at this point. Its been stuck on the "nokia" screen for the past 2 hours or so. I am just trying to figure out a way to force switching it off since the power button wont respond. Then from then on I plan to just restore a Nandroid backup then restore app data using a Titanium backup I made earlier this week. If only I could get the phone to turn off. Do you have any idea how?
MDV106 said:
How do I do that? The phone simply wont turn on or off at this point. Its been stuck on the "nokia" screen for the past 2 hours or so. I am just trying to figure out a way to force switching it off since the power button wont respond. Then from then on I plan to just restore a Nandroid backup then restore app data using a Titanium backup I made earlier this week. If only I could get the phone to turn off. Do you have any idea how?
Click to expand...
Click to collapse
Keep all three buttons pressed for multiple minutes until the phone turns off. Then boot into recovery by holding down volume up while connecting the phone to a computer via USB.
THMSP said:
Keep all three buttons pressed for multiple minutes until the phone turns off. Then boot into recovery by holding down volume up while connecting the phone to a computer via USB.
Click to expand...
Click to collapse
I decided to let the battery drain. I am recharging now and will attempt to do a system restore once the percentage is at 20%. Btw, I see you are very active in Nokia 8 development and are one of the most knowledgeable members on this sub-forum. So I have to ask, do you ever plan on creating a custom ROM for the Nokia 8 in the future? It doesnt seem like any other people here are interested or have the knowledge to do it.
Okay I managed to restore my system to a previous state that has a prepatched twrp 3.2.3-1 . When i followed these instructions and flashed the updated twrp, the boot hangs at the yellow unlocked bootloader screen then after about 30 seconds boots back into download mode. It wont even let me turn it off and reboot to recovery. not sure how to fix this.
EDIT: decided to switch slots and flash this image on the new slot. Same thing happened. phone wont boot and it hangs and refused to turn off no matter how long i press the 3 buttons. I tried this at the worst time now Im left without a working phone on a weekend
MDV106 said:
Okay I managed to restore my system to a previous state that has a prepatched twrp 3.2.3-1 . When i followed these instructions and flashed the updated twrp, the boot hangs at the yellow unlocked bootloader screen then after about 30 seconds boots back into download mode. It wont even let me turn it off and reboot to recovery. not sure how to fix this.
Click to expand...
Click to collapse
Please post the exact fastboot commands you entered to flash the TWRP image. Also, please redownload it and try to flash it again, just to make sure the image isn't corrupted.
How do I unlock the bootloader on ??
Sent from my NB1 using XDA Labs
THMSP said:
Please post the exact fastboot commands you entered to flash the TWRP image. Also, please redownload it and try to flash it again, just to make sure the image isn't corrupted.
Click to expand...
Click to collapse
sudo fastboot flash boot_a twrp-3.2.3-2-NB1.img
sudo fastboot rebooot
^ These were the commands. even after switching slots the phone froze on boot and then booted itself back to download mode. AFter a couple of tries it just froze on boot and never wanted to turn off. Again, I had to let the battery drain to turn it off.. Now im chargin it again so I can restore my previous backup. Hopefully it will be able to boot into recovery

Help, Moto G5 booting to twrp

I installed twrp for the first time and accidentally deleted my OS, I managed to install it again and my phone is working now, but there is still a problem, when I try to boot my phone or restart it normally, it boots twrp instead of the OS, i can still boot the OS but i need to do it via fastboot and select start, otherwise it always boots to twrp (or stock recovey mode if twrp is uninstalled) , is there any way to solve that?
Sorry for any mistakes, im new to this
elkirath said:
I installed twrp for the first time and accidentally deleted my OS, I managed to install it again and my phone is working now, but there is still a problem, when I try to boot my phone or restart it normally, it boots twrp instead of the OS, i can still boot the OS but i need to do it via fastboot and select start, otherwise it always boots to twrp (or stock recovey mode if twrp is uninstalled) , is there any way to solve that?
Sorry for any mistakes, im new to this
Click to expand...
Click to collapse
Please read the FAQs in my twrp thread as the answer is there (along with many other questions & answers you may find useful)
TWRP thead
https://forum.xda-developers.com/g5/development/official-twrp-3-1-1-0-moto-g5-t3699737
Actual answer to your question
https://forum.xda-developers.com/g5/how-to/fix-phone-reboots-recovery-mode-started-t3705325
It worked, thanks for your reply

TWRP for Sony XZ2c instead of Lineage Recovery?

Hi everyone
After some research, I can't find a succeful way to install TWRP recovery instead of Lineage stock recovery.
It's really embarasing because I'm currently setting up my brand new XZ2c compact to run the way I want it to on Lineage OS 17.1 with Magisk and Xposed modules, and I experienced 3 or 4 endless bootloop that led me to fully format my phone after bunch of hours setting it and tailoring it up... Huge waste of time, frustration overload, as you could expect. So, I really miss tremendous TWRP backup fonctionnality I used to run frequently on my old Z5c... :crying:
Does anyone here as figured out how to replace Lineage stock recovery on this device? Is so, I'd really to hear him out
Have a good week-end!
tomboudiboudi said:
Hi everyone
After some research, I can't find a succeful way to install TWRP recovery instead of Lineage stock recovery.
It's really embarasing because I'm currently setting up my brand new XZ2c compact to run the way I want it to on Lineage OS 17.1 with Magisk and Xposed modules, and I experienced 3 or 4 endless bootloop that led me to fully format my phone after bunch of hours setting it and tailoring it up... Huge waste of time, frustration overload, as you could expect. So, I really miss tremendous TWRP backup fonctionnality I used to run frequently on my old Z5c... :crying:
Does anyone here as figured out how to replace Lineage stock recovery on this device? Is so, I'd really to hear him out
Have a good week-end!
Click to expand...
Click to collapse
Have you seen this- https://forum.xda-developers.com/t/recovery-android-10-stock-sodp-xz2-c-p-3-twrp-unofficial.4074403/ ? I haven't tried it on Lineage, but might work...
Hi levone1 & thanks for answering,
I've tried this one, but I get adb\fastboot.exe: unknown option -- disable-verity
Hi guys!
Today I tried again to install TWRP on my Sonyh Xperia XZ2C because LineageOS Recovery doesn't provide Nandroid backup, which is a shame.
I tried many ways described over the web, none of those worked, and I ended up with a boot loop at startup with that naughty message "your device is corrupted it cannot be trusted and will not boot". I can't boot to Lineage, neither to recovery. I'm stuck.
With device turned off, I can eventually press volume down, plug it to computer, access fastboot mode (blue led), flash+boot the LineageOSrecovery.img, then the device restart, Sony logo appears... and that's all, I'm stuck with logo in boot loop, and I can't go anywhere further.
I tried to change boot slot (without knowing if it could help with this problem at all) but I alway get "unknown option".
I'm panicking right now, I can't find any way out to this bootloop, if someone could help it will be sooo appreciated!
I tried hard to find a solution for 4 hours now, I'm completly stuck and I can't even sleep. That's why I finally reached out here.
Did you ever find a solution @tomboudiboudi ?

Categories

Resources