Problem flashing recovery and lineage; twrp touch notworking - Xiaomi Mi Mix 2 Questions & Answers

Hey people since long time i am loving your base helped me alot for many years with my different projects but now i am really stuck i cant progress any futher, i am quite frustrated.
I flashed the twrp different versions i think all official ones plus one i found somewhere here but it all the time has the same problem of a non working touchscreen. I know that with this kind of adapter USBC to USB and a mouse it should work but i dont have one and I live quite remote.... so it would be nice if it works without.
So what i tried is to boot into recovery and open a but the "set_active b" that was suggested also but i am not sure if i found it with the chiron but rather with the a1 one or something with same problem touchscreen not working. adb shell twrp wipe cache dalvik system data and then adb sideload but when i am trying to flash the lineage it finishes with the success message i found somewhere in a thread here but its way to fast it needs like 0.2 seconds and of course it isnt working. also i tried to fastboot flash the lineage recovery but everytime i am ending up in twrp in the end so it doesnt get replaced also if fastboot reboot recovery afterwards or fastboot boot lineagerecovery. I just dont know anymore also i tried to update to new adb and fastboot but didnt work. Also i tried fastboot -w before doing everything it cleaned the encryption password so twrp looked different afterwards but after repeating the steps still the same result no lineage
I was really excited about this phone but now it got really the hardest phone to flash of all the five I ever tried
Help would be highly appreciated.

Related

Can the original firmware be reinstalled?

So i messed up when trying to update my watch and somehow deleted the firmware so my watch bootloops upon start-up, any way to fix this?
Im have the same problem. Im stuck in bootloop after trying to flash custom kernel. I can not rech recovery. Not original recovery or TWRP. Fastboot works. What to do?
Is there any restore image to flasH?
Here are three solutions in one answer, because you did not give quite enough info.
First, try holding the button on boot up. Hopefully that will get you into usb mode. If it works, download the sony software, and go to the help section, and download and install the update.
Option two,
Code:
adb reboot recovery
Or, download the version of twrp for your build as well as your original image, and use fastboot.
Code:
Fastboot boot twrp.img
then use twrp to install the factory zip. You can do this directly in fastboot too, but it is more difficult because fastboot only installs each image separately. If I knew what versions of software you had, I could help you find the images you need.
I have tried both fastboot flash and fastboot boot for both original recovery and also TWRP, but non of the recoverys will boot, not even with Fastboot boot.
The command lines says OK on my PC, It is getting downloaded, and it says it is booting / flashed [OKAY].
But all I get on my Smartwatch 3 is bootloop.
My Smartwatch 3 is OEM unlocked. I even tried to lock it, and unlock it again.
I have full contact with fastboot on my PC, all the commands are taken in and seems to work, but my smartwatch won't boot no system or no recoverys. Only USB-mode and Fastboot mode...
I have also tried to clear cache and userdata in fastboot after OEM Unlock.
I will try the Sony Software now. That is my last way out I Think.
The Sony PC Companion software from sony's website worked for me to save my smartwatch from bootloops . I just did a update and installed it over what was already on the smartwatch.
Thanks lekofraggle for quick answeres. I had no idea the PC Companion had this feature.
SimDroid, I am glad that helped. If it hadn't, the next step would be to flash an image through fastboot. That would be scary, because it sounds like your boot loader was corrupt. It's nice to know the usb and PcCompanion piece still worked. Another reason this watch is incredible.
Cheers.
does anyone have a download for the original (5.0.2 im guessing) ROM for this watch? I want off the rubbish 5.1.1 update before i am forced to sell the watch due to the terrible battery
The smartwatch works as it should now, original recovery and everything is back!
So, if i may go back to where it started?
I noticed now that I flashed the custom kernel for the watch built for wrong firmware. Im on 5.1.1, and there doesnt seem to be a developed shared kernel with all four cores unlocked for it.
Im also interested in where I can find those images to flash via fastboot as you mentioned lekofraggle

ADB unable to find my Find7 - but Fastboot works

New to XDA, so hopefully this is in the right place!
My problem
I tried to install a new ROM and it's gone badly wrong. First, I couldn't get the recovery bootloader to launch or to re-install. Then suddenly ADB wasn't working any more, and I was unable to boot up into the system.
Now I get boot loops with the Oppo logo. If I hold down volume up + power, I have access to Fastboot. I can use my Mac to send commands with Fastboot, but I cannot get ADB to find my device. Typing Fastboot getvar all gives me 'All: ' in response, which is not a good sign.
Attempted solutions
I've tried installing TWP and CWM, but both of them just end up booting to a black screen. At one point I tried to flash stock Oppo recovery and got a black and white flickering recovery screen for my trouble, which was unresponsive..so I wiped it and started over. I suspect it was not the correct recovery file, as I really struggle to find what are definitely the correct files now the OppoStyle Forums where I used to download recovery files no longer seem to be active.
After two days of reading various threads and trying solutions, I am really out of ideas now. So any help would be greatly appreciated!
Before embarking on this journey I cleared my phone of anything important, made sure it was rooted and enabled USB debugging. I also wipe everything from Fastboot whenever attempting any fresh flashes.
More context
I've had problems with my Find7 ever since I tried to unify my storage a couple of years back. In the end, I got unified storage to work but on a very old version of ColorOS. I had a lot of problems getting to that point, so from then I decided to just live with the outdated OS. But finally, the frustration of apps not being compatible got to me a few days ago and so I decided to try and install a new ROM. That's when my recent troubles began! I think legacy issues from my initial problems years ago may have contributed to the mess my phone is in now.
So what next?
Ideally, I'd love to get my Find7 completely wiped clean and a modern, stable ROM with unified storage working on it. But at this point, I'd settle for original ColorOS with non-unified storage again if I had to!
Hoping someone here has some suggestions I can try! Can't get worse surely

Is it possible to get back to stock ROM at this point?

Sorry in advance if this has been covered elsewhere.
-followed the steps to install a custom rom. unlocked the boot loader, installed twrp, cleared dalvik/data/etc.
-ROM eventually booted up ok, however, I could not connect to project fi with it. (unfortunately, your project fi service can't be activated right now-code t120).
-So, my intention was, ok, I will go ahead and go back to the latest stock. however, booting to recovery it appears to have reverted back to the stock recovery, and adb will not detect the device(fastboot will, but, when trying to run anything, be it to repush twrp, it just hangs. If I try and do the flash-all.bat off of the stock rom zip, it tells me flashing is not allowed for critical partitions, even though it is in fact unlocked. To be safe, I tried both fastboot flashing unlock, and unlock_critical.. both went to a '...' and sat there).
It still boots up and loads fine, I just cannot activate Fi, and cant seem to get anywhere with it otherwise. Any suggestions?
One final question- since i cannot get it to install stock rom via fastboot- if i drop the taimen-opm zip onto the phone directly, can i install it that way? Or am I S.O.L. because i do not have the custom recovery on there anymore?
Okay, what you're going to have to do is.
1. Go into fastboot mode and fastboot boot twrp.img and then flash another rom after doing a factory reset in custom recovery
2. Go into fastboot and flash factory image by downloading it from the google site.
mr.notsotech said:
Okay, what you're going to have to do is.
1. Go into fastboot mode and fastboot boot twrp.img and then flash another rom after doing a factory reset in custom recovery
2. Go into fastboot and flash factory image by downloading it from the google site.
Click to expand...
Click to collapse
Unfortunately that won't work for me. I tried fastboot boot recovery.img (its what I had renamed the twrp img file) and it fails with a data xfer failure, too many links.
otownmarine said:
Unfortunately that won't work for me. I tried fastboot boot recovery.img (its what I had renamed the twrp img file) and it fails with a data xfer failure, too many links.
Click to expand...
Click to collapse
Scratch that. Took some major screwing around (changing usb ports, multiple attempts at getting twrp to stick) but I was finally able to get it to apply the stock ROM and everything seems functional. Thanks.
Use this tool next time, it should help you out. It's worked 100% of the time for myself and I ended up staying on stock after countless minor annoyances with being rooted or using custom roms.
https://forum.xda-developers.com/pi...ol-deuces-bootloop-recovery-flashing-t3704761
otownmarine said:
Scratch that. Took some major screwing around (changing usb ports, multiple attempts at getting twrp to stick) but I was finally able to get it to apply the stock ROM and everything seems functional. Thanks.
Click to expand...
Click to collapse
Very sad to see we are still having so many USB related issues. We really need to come up with a definitive FAQ me thinks. Glad you got it done! ?
otownmarine said:
Scratch that. Took some major screwing around (changing usb ports, multiple attempts at getting twrp to stick) but I was finally able to get it to apply the stock ROM and everything seems functional. Thanks.
Click to expand...
Click to collapse
Yeah I keep forgetting that twrp is super finicky on this device because of the boot slots (a,b). I'm so happy you got it working. your adb has to be up to date as well.
I learned all of that the hard way as well. I just don't have a good memory of the steps I did. lol. I found that for my usage after trying multiple roms on this device that, stock rom is the best for my battery life and smoothness. I did root though and flashed a custom kernel. But that is only because I love thinking that my kernel is helping my battery life somewhat as well.
Just a heads up the reason you cant use project fi on a custom ROMs is because your probably using the e-sim. The software process behind the e-sim hasn't been worked out for custom ROMs and probably never will (not a big demand for it). You can always order a Sim card from project fi and put it into your phone and that will work with a custom ROMs; I have used project fi on every custom ROMs for Pixel 2 xl there is and no issues.

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
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.

NERVOUS about flashing Lineage 18 :-(

HI,
I am not new to flashing phones and tablets, but I am a bit confused about the new partition format.
I have a nokia 6.1.
I want to flash the official lineage 18 ROM on it.
I downloaded the latest version , and also the latest lineage recovery.
I followed the install instructions on the website . I believe, exactly.
But after I have executed this command '' fastboot flash boot xxxxx.img"" to temporarily boot recovery, the phone stays in download mode and does nothing.
I then thought maybe I need to reboot?, and power down, because the next thing on the lineage install instructions is to start the phone having powered down.
Anyways, when it boots up, it hangs and stays on the android one screen.
Power/Volume up does nothing.
Whats worse is, it is no longer recognised in ADB.
I was really worried. I let the battery die overnight, and then tried to get some response, but no - still stuck.
Finally, after more fiddling, I got it into download mode, and was able to flash stock using OST.
I tried again - same thing, and once again luckily managed after an hour or so to get it into download mode.
So I have reflashed stock, and wondering if somebody a lot brighter than me can give some advice??
Currently on stock android 10, but would much prefer lineage 18 , as I have no need for google services.
Can only think something is going wrong with whichever partition I am temporarily booting to recovery?
Many Thanks ( with a relieved sigh for escaping a brick )
pootler
Something similar happened to me, it turns out that from android 10 stock you have to first:
fastboot flash recovery xxxx.img
you will get an error in the cmd, that's good, now
fasboot boot xxxx.img
.
this was mentioned a long time ago but was never mentioned more in other threads
if you get stuck you can use ost la. also remember the slot A B when you flash the rom
Tsuragi said:
Something similar happened to me, it turns out that from android 10 stock you have to first:
fastboot flash recovery xxxx.img
you will get an error in the cmd, that's good, now
fasboot boot xxxx.img
.
this was mentioned a long time ago but was never mentioned more in other threads
if you get stuck you can use ost la. also remember the slot A B when you flash the rom
Click to expand...
Click to collapse
Thanks Tsuragi,
Forgot about that - it was me who posted that solution some time ago duh!
Pootler
pootler said:
HI,
I am not new to flashing phones and tablets, but I am a bit confused about the new partition format.
I have a nokia 6.1.
I want to flash the official lineage 18 ROM on it.
I downloaded the latest version , and also the latest lineage recovery.
I followed the install instructions on the website . I believe, exactly.
But after I have executed this command '' fastboot flash boot xxxxx.img"" to temporarily boot recovery, the phone stays in download mode and does nothing.
I then thought maybe I need to reboot?, and power down, because the next thing on the lineage install instructions is to start the phone having powered down.
Anyways, when it boots up, it hangs and stays on the android one screen.
Power/Volume up does nothing.
Whats worse is, it is no longer recognised in ADB.
I was really worried. I let the battery die overnight, and then tried to get some response, but no - still stuck.
Finally, after more fiddling, I got it into download mode, and was able to flash stock using OST.
I tried again - same thing, and once again luckily managed after an hour or so to get it into download mode.
So I have reflashed stock, and wondering if somebody a lot brighter than me can give some advice??
Currently on stock android 10, but would much prefer lineage 18 , as I have no need for google services.
Can only think something is going wrong with whichever partition I am temporarily booting to recovery?
Many Thanks ( with a relieved sigh for escaping a brick )
pootler
Click to expand...
Click to collapse
Hey bro same experience, thats why im stock in android 10 with unlock bootloader. but i successfully flashed lineage with unofficial twrp but the problem is i cant flashed gapps thats why i cant install pre apps and cant use the default message and call. please help me

Categories

Resources