I just got an Xperia 1 ii (AT51) and I just wanted to install the Pixel Experience (12). I got the bootloader unlocked successfully, but I'm unable to boot to recovery (TWRP) - it fails with "unknown command". I'm able to flash TWRP into recovery, or even to boot, and my phone restarts to it, but it comes up for half a second showing TWRP screen, and then phone just restarts. Does this over and over, and only can ever see TWRP screen for a few seconds.
When I get to instructions in a ROM for fastboot flash system_a, it gives "no such partition" error.
My phone is currently running A12, so I'm not sure if that has something to do with it, but it seems like at this point there is no way to flash a custom ROM to this phone. Or at least an up to date one, maybe an old one if you flash back somehow to A10 or something. Thoughts? Is this the case?
Thanks!
Please take the time to read
biopsin said:
Please take the time to read
Click to expand...
Click to collapse
Thank you for absolutely nothing. Anyone else have any information?
Fine; current TWRP does not support A12
Related
Hey guys, Im fairly new to this stuff, but I got a question or two, it may take me a day to reply so i'll try to put as much info as posible.
Now recently I received the OTA 4.20 (Lolipop) on my phone, so I flashed my stock recovery to download the OTA, making me reroot my phone.
So my phone is re-rooted (after 2 tries) but now it seems like I cant write to my SD card, so I got fed up and went into TWRP recovery and selected wipe data and restore. (Restore point was before I got lolipop) I try to reboot but it takes me as far as HTC One screen. Next I go to recovery and try a factory reset, says its successful, but it lied to me! Still stuck at HTC One screen. So I flash back to stock recovery to try the factory reset with that, it went for a moment, then tried to boot, getting stuck at HTC one screen again, so once more, I flash TWRP to my phone in attempt to get the recovery back, but now I can't load recovery, or boot. So Im stuck there. Is there any advice to what to do from here? I tried command 'fastboot erase cache' thinking that would do something and reflashing the recovery.img but it's still not working. I hope someone can help me.
Sir,
Please wait until mods will move this thread to the device specific forum for more relevant answers.
Stand by
Good luck
The reason you can't write to your SD card isn't because of lollipop, that was actually added but on kit Kat, but the devs went and added a line of code to a file to allow it again. I am currently running my stock rooted, built from decrypted ruu, originally I wasn't able to but I added that one line of code. I believe all you have to do is flash a stock rooted and SD card write should be enabled. As for not being able to get into recovery or boot at all, boot to bootloader and ruu then flash twrp.
Ok so correct me if im doing something wrong, but I flashed the stock recovery in attempt to factory reset it, it wont work, so I flash TWRP with command line (Fastboot flash recovery twrp.img) And it's 'successful' but it wont load, it will attempt to load but one second in and it goes back to fastboot, how to I move forward from here?
Edit: so idiot me did it again, I was trying to install M7 version into a m8. Resolved, Now I can enter recovery again.
Alright, so now my only problem is now that it wont boot normally, it freezes at HTC one screen. I have access to TWRP recovery, just not sure what to do next from here.
ArthAngel said:
Alright, so now my only problem is now that it wont boot normally, it freezes at HTC one screen. I have access to TWRP recovery, just not sure what to do next from here.
Click to expand...
Click to collapse
I actually just unlocked my bootloader yesterday, installed TWRP today, and had what I thought was the same. The thing is, let it sit. Mine sat at the HTC ONE screen for what seemed to be between 5 and 10 minutes. I read that it happens in one of these threads.
But I let it sit and it eventually went to "Android is Upgrading" and was loading the apps.
dopy25 said:
I actually just unlocked my bootloader yesterday, installed TWRP today, and had what I thought was the same. The thing is, let it sit. Mine sat at the HTC ONE screen for what seemed to be between 5 and 10 minutes. I read that it happens in one of these threads.
But I let it sit and it eventually went to "Android is Upgrading" and was loading the apps.
Click to expand...
Click to collapse
Ok thanks, I'll post back in 20 minutes with an update.
So i've waited about 20 minutes on the HTC one screen, (Still on it as I post this) It is still stuck on it. I dont know if this helps but im able to view my internal and external card via computer cable, but I only see folders, no files of any kind in any of them..
Edit* I WAS able to read it, now I can't.
I GOT IT! I was able to revert to a backup I made. Even though I gotta flash stock again for OTA but F it! I got it working again. Thanks for all your help!
So I recently decided to flash a rom based on the newest android m preview. Everything flashed fine, no errors, no 'failed' messages. However, when I try to reboot my phone it immediately sends me to the boot loader with a Boot Failed message. Furthermore, at the top of the log it says "fastboot fall through from normal boot mode". I have never experienced this code before and could not find an answer on the forums. I was really hoping I could get a solution as this is my primary phone.
Thanks guys.
Naked Sam said:
So I recently decided to flash a rom based on the newest android m preview. Everything flashed fine, no errors, no 'failed' messages. However, when I try to reboot my phone it immediately sends me to the boot loader with a Boot Failed message. Furthermore, at the top of the log it says "fastboot fall through from normal boot mode". I have never experienced this code before and could not find an answer on the forums. I was really hoping I could get a solution as this is my primary phone.
Thanks guys.
Click to expand...
Click to collapse
Did you flash the M bootloader?
Yep. Boot loader and radio. My guess is something wonky happened with the damn toolkit. Probably what I get for being lazy. I'm gonna try manually reflashing all of it via adb and see how it goes.
Naked Sam said:
Yep. Boot loader and radio. My guess is something wonky happened with the damn toolkit. Probably what I get for being lazy. I'm gonna try manually reflashing all of it via adb and see how it goes.
Click to expand...
Click to collapse
Not ADB. Fastboot flash while in bootloader.
Yeah, fastboot. My bad. I actually just got done with attempt # god knows how many and so far no luck. I still get the same messages on reboot.
Hey, was just setting up my mi5 for custom roms. Got the bootloader unlocked, then installed TWRP via fastboot as per the instructions here (https://twrp.me/devices/xiaomimi5.html).
After I got into TWRP I made a quick backup of the image, and then set the phone to reboot. Now its in a bootloop, flashing the mi logo (and bootloader unlock on the bottom). Doesn't turn off, doesn't do anything when plugged into pc, fastboot reboot doesn't do anything.
Any ideas? Didn't think I had done anything wrong (done this kind of thing a couple times before).
Cheers!
EDIT: Hang on, managed to get into fastboot, I guess I should be able to sort things out from there? What should I aim to do. I can also get into recovery. Still won't boot into system anymore though.
flobbadob said:
Hey, was just setting up my mi5 for custom roms. Got the bootloader unlocked, then installed TWRP via fastboot as per the instructions here (https://twrp.me/devices/xiaomimi5.html).
After I got into TWRP I made a quick backup of the image, and then set the phone to reboot. Now its in a bootloop, flashing the mi logo (and bootloader unlock on the bottom). Doesn't turn off, doesn't do anything when plugged into pc, fastboot reboot doesn't do anything.
Any ideas? Didn't think I had done anything wrong (done this kind of thing a couple times before).
Cheers!
EDIT: Hang on, managed to get into fastboot, I guess I should be able to sort things out from there? What should I aim to do. I can also get into recovery. Still won't boot into system anymore though.
Click to expand...
Click to collapse
Which twrp version are you using?
Did you actually flash any custom rom or do you try to start miui?
Did you change any partition?
Something similar happened to me one time. I solved it by doing the root right after installing the twrp. And magically started my rom.
lanceindie said:
Something similar happened to me one time. I solved it by doing the root right after installing the twrp. And magically started my rom.
Click to expand...
Click to collapse
+1! Thanks :highfive:
Did you solve it? I might have some ideas.
Hi, I need some help with my Mi A2.
I tried to install the RR Rom and was already struggeling in the beginning to get twrp up and running, after I got twrp running Ive got, while trying to install the RR rom (yes I did wipe everything that needed to be btw) error code 1 . So I tried to just shut my phone off and retried the installation after being back in twrp. and it did sort of install, I wasnt getting any error this time but after rebooting or atleast trying to I was stuck in a bootloop. soooo, I went back into twrp and tried wiping everything except internal storage and did an factory reset. but now fastboot mode wont let me use any commands for example "fastboot boot twrp.img" it just responds with "command write failed" or something like that. and when trying to boot into the "system" I get an blackscreen with a smal text in the top left corner saying "press any key to shutdown".
I hope someone can help me I tried now for hours to get anything running.
as a side-note I am not that new to flashing roms but, I have no idea what I screwed up this time.
Thanks for anyone that tries to help!
Edit: Using MiFlash and downloading the stock room from Xiaomi worked.
Minxxe said:
Hi, I need some help with my Mi A2.
I tried to install the RR Rom and was already struggeling in the beginning to get twrp up and running, after I got twrp running Ive got, while trying to install the RR rom (yes I did wipe everything that needed to be btw) error code 1 . So I tried to just shut my phone off and retried the installation after being back in twrp. and it did sort of install, I wasnt getting any error this time but after rebooting or atleast trying to I was stuck in a bootloop. soooo, I went back into twrp and tried wiping everything except internal storage and did an factory reset. but now fastboot mode wont let me use any commands for example "fastboot boot twrp.img" it just responds with "command write failed" or something like that. and when trying to boot into the "system" I get an blackscreen with a smal text in the top left corner saying "press any key to shutdown".
I hope someone can help me I tried now for hours to get anything running.
as a side-note I am not that new to flashing roms but, I have no idea what I screwed up this time.
Thanks for anyone that tries to help!
Click to expand...
Click to collapse
Try installing Stock Rom using MiFlash
gmoura5010 said:
Try installing Stock Rom using MiFlash
Click to expand...
Click to collapse
Yea, did that yesterday and that recovered my device. Still thanks for the advice.
My device is stuck in the initial boot sequence in which the logo will show as if it is booting normally, then it will stay on this screen until it goes completely blank, at which point I have to hold the power button for a long period of time to get it back to the boot sequence. My phone is unlocked and I was trying my first time at flashing a custom recovery and OS, I flashed my device with TWRP and successfully installed it along with a flash of pixel experience, After using pixel experience I wanted to try lineage OS since it wasn't as good as I hoped, so I tried to get into the TWRP and I could not do it at all I tried every method I could search. After an hour of trying different methods of getting to twrp I tried to re-flash the recovery and that is when the phone because unresponsive and does what I have described above. I currently have access to fast boot and I dont want to go ****ing my phone up more than I have. If anyone can give me a step by step guide on how to fix this it would help so much since im new to android and I cant afford another £400 phone.
Thanks
BJack0 said:
My device is stuck in the initial boot sequence in which the logo will show as if it is booting normally, then it will stay on this screen until it goes completely blank, at which point I have to hold the power button for a long period of time to get it back to the boot sequence. My phone is unlocked and I was trying my first time at flashing a custom recovery and OS, I flashed my device with TWRP and successfully installed it along with a flash of pixel experience, After using pixel experience I wanted to try lineage OS since it wasn't as good as I hoped, so I tried to get into the TWRP and I could not do it at all I tried every method I could search. After an hour of trying different methods of getting to twrp I tried to re-flash the recovery and that is when the phone because unresponsive and does what I have described above. I currently have access to fast boot and I dont want to go ****ing my phone up more than I have. If anyone can give me a step by step guide on how to fix this it would help so much since im new to android and I cant afford another £400 phone.
Thanks
Click to expand...
Click to collapse
try booting twrp
'fastboot boot img name' then flash recovery from there. hope it works.
BJack0 said:
My device is stuck in the initial boot sequence in which the logo will show as if it is booting normally, then it will stay on this screen until it goes completely blank, at which point I have to hold the power button for a long period of time to get it back to the boot sequence. My phone is unlocked and I was trying my first time at flashing a custom recovery and OS, I flashed my device with TWRP and successfully installed it along with a flash of pixel experience, After using pixel experience I wanted to try lineage OS since it wasn't as good as I hoped, so I tried to get into the TWRP and I could not do it at all I tried every method I could search. After an hour of trying different methods of getting to twrp I tried to re-flash the recovery and that is when the phone because unresponsive and does what I have described above. I currently have access to fast boot and I dont want to go ****ing my phone up more than I have. If anyone can give me a step by step guide on how to fix this it would help so much since im new to android and I cant afford another £400 phone.
Thanks
Click to expand...
Click to collapse
Don't worry, things can be recovered easily. Until you get more knowledgeable and you understand more about flashing use this failsafe to recover from (almost) anything
Go here and get the latest fastboot ROM for your phone.
https://xiaomifirmwareupdater.com/miui/raphael/
For now make sure you get the one that matches the region for your phone.
Then follow this guide to flash it
https://c.mi.com/thread-1857937-1-1.html
Use the fastboot flashing section.
Make sure you change the flash option to 'clean all' when flashing. The default option will lock the bootloader again after flashing. If you do the default option with any ROM that is not the same region as the phone you will hard brick the phone, this is why I recommend getting the ROM that matches your phone.
When unpacking the fastboot ROM, it is a Linux/Unix zipped tarball, most Windows zip software will need to extract it twice. The first time will give you a single .tar file (if it doesn't have an extension then rename it and add .tar to the end) You will then need to extract everything from the tar file, which you give you the folder, containing the ROM data, to point the Mi Flash Tool at.
After doing this you, if you've remembered to change the flash option to 'clean all', then you'll have restored to stock and kept the bootloader unlocked. Now you're good to try again.
Keep a copy of the fastboot ROM on your PC and back everything up on your phone before flashing. Then if you get in a mess you know how to easily recover things.
Once you get more experienced there will be other things you might be able to do, depending on the situation, that allow you to get things working without losing everything and needing to start from scratch.
Thanks
Robbo.5000 said:
Don't worry, things can be recovered easily. Until you get more knowledgeable and you understand more about flashing use this failsafe to recover from (almost) anything
Click to expand...
Click to collapse
Thank you so much for the details post, I will try what you have said above and will report back with my results. I have one question if you know the answer ( My phone is the UK edition of the Mi 9T pro ) Would I need to download the global or EEA fastboot version.
BJack0 said:
Thank you so much for the details post, I will try what you have said above and will report back with my results. I have one question if you know the answer ( My phone is the UK edition of the Mi 9T pro ) Would I need to download the global or EEA fastboot version.
Click to expand...
Click to collapse
For safety download the EEA ROM.
I also suggest you immediately flash dm_verity (https://forum.xda-developers.com/k20-pro/how-to/flashing-orangefox-recovery-mi-9t-pro-t3980579), after you flash twrp, wipe data and then flash that
Sent from my Redmi K20 Pro using Tapatalk
Robbo.5000 said:
For safety download the EEA ROM.
Click to expand...
Click to collapse
Everything you said worded flawlessly and your a life saver. If you dont mind do you have a link to a set of guides on how to correctly flash a custom recovery and lineage OS? since when I try to research these guides I get 5 different versions of TWRP and lock my phone out :laugh:
ishaqtkr said:
I also suggest you immediately flash dm_verity after you flash twrp, wipe data and then flash that
Click to expand...
Click to collapse
If you dont mind me asking could you go into slightly more detial on that since I have seen orange fox but I dont understand what dm_verity is.
Please ignore all reply's above as I am going to make another separate post about lineage OS
Thank you for replying and resolving my issue.