[Q] Can't start recovery: "Fastboot mode - no boot or recovery img" - Nexus S Q&A, Help & Troubleshooting

Hi.
I installed Clockworkmod 3.0.0.5 when I was on Android 2.3.1, and I've used it without problems after the upgrades to 2.3.2 and 2.3.3.
Now, for some reason I don't understand, I'm unable to boot the recovery image. I get this on the bootloader:
FASTBOOT MODE - NO BOOT OR RECOVERY IMG
PRODUCT CODE - HERRING
...(more stuff)...
LOCK STATE - UNLOCKED
...(more stuff)...
REBOOT BOOTLOADER
REBOOT
RECOVERY
POWER OFF
Click to expand...
Click to collapse
I've tried reinstalling the recovery from Rom Manager, which says it does it successfully. It still won't start CWM in the recovery img.
ADB and root access works as it should.
What's wrong here?

Wrong section :|

From general section (allgamer)
NOTES:
It's normal to lose the recovery after the reboot, the steps to flash the CW recovery needs to be repeated every time you want to access the CW recovery.
This is due the build in protection in 2.3
As some one pointed it out on another topic, the good thing about this is that you'll never lose the stock recovery of 2.3, thus minimizing the chance of a bricked phone.
If you want to the CW recovery to remain permanently, you'll need to rename /etc/install-recovery.sh to something thing else
To simplify things with the Command Line, it's best to copy and paste the contents inside ..\android-sdk-windows\platform-tools to ..\android-sdk-windows\tools
that way you'll have all the necessary files in the same location to prevent errors

Related

[Q] Possibly made redundant my Nexus S!!

9020 – Eur model. Was 2.3.3, but upgraded to 2.3.4 after one day.
I followed the Unlockr guide, and followed the following, before deviating!!Can someone help me recover from this recover from this?
Bootloader successfully unlocked
Then it all went pear shaped!!
IV. Flash a Custom Recovery Image
1. Download the custom recovery image and save it to your computer: DONE
ClockworkMod Recovery for Nexus S
2. Copy the recovery.img file inside the tools folder of the sdk (so it is in the same folder as fastboot.exe) DONE
3. Then in the command prompt that should still be open, type the following with hitting enter at the end of
each line:
fastboot flash recovery recovery.img DONE
This is where for some insane reason (moment of madness) I deviated and don’t know how to get out of it. I rebooted and it went into clockwork mod. I couldn’t get out of it so I thought I would flash a backed up nanroid rom (2.3.1) which I down loaded. Big mistake, as it boots then freezes after 1minute.
I then booted into recovery (clockwork mod) and wiped cache, and pretty much everything else. Now the phone hangs on the google start page, recovery (clockwork mod) says there’s misc missing, cache missing etc....Cant flash any new rom. Can get to recovery but that’s about it.
I need some help to fix it!
mittu1 said:
9020 – Eur model. Was 2.3.3, but upgraded to 2.3.4 after one day.
I followed the Unlockr guide, and followed the following, before deviating!!Can someone help me recover from this recover from this?
Bootloader successfully unlocked
Then it all went pear shaped!!
IV. Flash a Custom Recovery Image
1. Download the custom recovery image and save it to your computer: DONE
ClockworkMod Recovery for Nexus S
2. Copy the recovery.img file inside the tools folder of the sdk (so it is in the same folder as fastboot.exe) DONE
3. Then in the command prompt that should still be open, type the following with hitting enter at the end of
each line:
fastboot flash recovery recovery.img DONE
This is where for some insane reason (moment of madness) I deviated and don’t know how to get out of it. I rebooted and it went into clockwork mod. I couldn’t get out of it so I thought I would flash a backed up nanroid rom (2.3.1) which I down loaded. Big mistake, as it boots then freezes after 1minute.
I then booted into recovery (clockwork mod) and wiped cache, and pretty much everything else. Now the phone hangs on the google start page, recovery (clockwork mod) says there’s misc missing, cache missing etc....Cant flash any new rom. Can get to recovery but that’s about it.
I need some help to fix it!
Click to expand...
Click to collapse
If you have recovery, then you are fine. Just flash a rom. Flash the stock rom if you want. Any rom. Then you should be fine.
Sorted!! The solution was found here:
http://forum.xda-developers.com/archive/index.php/t-992114.html
New ROM up and running, no issues so far.

Not booting to recovery

what i did -->
1. Unlock bootloader
2. Flash cwm via "fastboot flash recovery recovery.zip"
3. Boot to recovery
4. Factory reset
5. Flash cm zip from sd card.
what i got -->
1. "E:Can't open /sdcard/cm.zip
(bad)
Installation aborted."
Then -->
1. Rebooted, copied again, booted to bootloader
2. selected recovery
Now -->
1. shows the android mascot with its lid open and "No command"
2. no cwm (where did it go ?!?!)
Everytime i flash recovery, it boots the first time (till the time I've not rebooted after flashing recovery) and still won't flash my zip file, and then the recovery won't show.
EDIT (FIXED)
WHAT WENT WRONG...
1. Was using CWM (When i was last active in android flashing, twrp was just another custom recovery, cwm was needed for cm)
2. When i did use TWRP, it was an older version, and did not work (did not even boot to recover, in fact)
3. When i did get twrp working, i used a bad cm.zip file (corrupted)
nishant_713 said:
what i did -->
1. Unlock bootloader
2. Flash cwm via "fastboot flash recovery recovery.zip"
3. Boot to recovery
4. Factory reset
5. Flash cm zip from sd card.
what i got -->
1. "E:Can't open /sdcard/cm.zip
(bad)
Installation aborted."
Then -->
1. Rebooted, copied again, booted to bootloader
2. selected recovery
Now -->
1. shows the android mascot with its lid open and "No command"
2. no cwm (where did it go ?!?!)
Everytime i flash recovery, it boots the first time (till the time I've not rebooted after flashing recovery) and still won't flash my zip file, and then the recovery won't show.
Click to expand...
Click to collapse
first mistake here is u used Flash cwm via "fastboot flash recovery recovery.zip" which is wrong u need to use .img after recovery but not zip so try once again and flash latest twrp as cwm support is ended
bloodhound42 said:
first mistake here is u used Flash cwm via "fastboot flash recovery recovery.zip" which is wrong u need to use .img after recovery but not zip so try once again and flash latest twrp as cwm support is ended
Click to expand...
Click to collapse
Thanks for the promt reply mate. Actually it was recovery. IMG only, not zip, i typed it wrong here otherwise the recovery wouldn't have loaded at all, as mentioned earlier. Moreover, I did try flashing twrp, but using twrp, I can't even get recovery to boot once (which does happen on cwm 6.0.4.7)
P.S - can it anyhow be related to bootloader ? I am on stock Lollipop. And device is dual sim (xt1033)
nishant_713 said:
Thanks for the promt reply mate. Actually it was recovery. IMG only, not zip, i typed it wrong here otherwise the recovery wouldn't have loaded at all, as mentioned earlier. Moreover, I did try flashing twrp, but using twrp, I can't even get recovery to boot once (which does happen on cwm 6.0.4.7)
P.S - can it anyhow be related to bootloader ? I am on stock Lollipop. And device is dual sim (xt1033)
Click to expand...
Click to collapse
If u r on stock lollipop then u boot loader is already upgraded and its good for twrp recovery can u try flashing twrp v 2.8.6.0 and check it out using adb if it is already rooted then try flashing by flashify and let me know
bloodhound42 said:
If u r on stock lollipop then u boot loader is already upgraded and its good for twrp recovery can u try flashing twrp v 2.8.6.0 and check it out using adb if it is already rooted then try flashing by flashify and let me know
Click to expand...
Click to collapse
Ok did that. When it booted to cwm (which is all i can manage to boot to, if at all) i selected root phone option. But it didn't root actually. Then i rooted successfully using cf auto root. Then used flashify to flash twrp image, and now when i select recovery from bootloader, it boots normally, not even showing the "no command" screen. (And yea, I'm pressing vol up to select, not power)
Update -- Ok flashed 2.8.6.0 and now boots to revovery (even after a restart) but still can't flash cm. Something pops on screen for a fraction of screen and then recovery reboots. It says "no md5 file found". Any chance of zip being corrupt ?
Update 2 -- Now my internal memory has stopped working :/ can't even take a screenshot, nor a photo. says memory full. Doesn't even copy file to memory when connected to pc. Although in recovery mode (twrp) , with usb mounted, it does copy.
nishant_713 said:
Ok did that. When it booted to cwm (which is all i can manage to boot to, if at all) i selected root phone option. But it didn't root actually. Then i rooted successfully using cf auto root. Then used flashify to flash twrp image, and now when i select recovery from bootloader, it boots normally, not even showing the "no command" screen. (And yea, I'm pressing vol up to select, not power)
Click to expand...
Click to collapse
weird did u flash normal recovery or gpe recovery ? U have to flash normal recovery and one more thing are u sure that its going into cwm recovery ?
May be the ROM is corrupted buddy download again and flash or try other Roms
Haha. After a hell lot of effort, i did get TWRP installed, and after breaking my head on why cm nightly won't install, i downloaded another one, and it installed fine. Now rocking CM 12.1 (4th device which I'm using on CM, and yet never had so much trouble getting it running..)

persistent stock recovery

Hi,
I hope this question wasn't asked before, I couldn't find a solution to my problem yet.
I tried using the toolbox to flash Philz and later TWRP recovery. the phone booted normaly and not to the custom recovery.
When I tried to boot to custom recovery the stock recovery loaded instead.
I even tried the command prompt method.
Eventually I used the command m=prompt method and immediately manually booted to recovery and the custom recovery (Philz this time) loaded. I though I was done, but right after I set up the phone as I like it and wanted to make a backup of it, the stock recovery loaded instead of the custom recovery.
any ideas?
what as I doing wrong?
Thanks
Unlock bootloader amd ise the fastboot commands to flash tje recovery permanently. Guides in the general section.
I see I need to elaborate
I will tell you what I did step by step.
1. Using the toolbox (V6), I unlocked the bootloader, the phone booted as if it was just got out of the store (all my data was erased)
2. Entered the gmail account and basically went through the entire initial setup process.
3. Booted to fastboot again and flashed TWRP recovery (using the toolbox).
4. The phone automatically booted normally (not to custom recovery)
5. I tried booting to custom recovery and I got the stock recovery instead
6. Booted to fastboot again and flashed Philz recovery this time (using the toolbox).
7. The phone automatically booted normally (not to custom recovery)
8. I tried booting to custom recovery and I got the stock recovery instead
9. I opened command prompt and used the "fastboot flash recovery recovery.img" command, the recovery.img I got from the "philz_touch_6.59.2-bacon" zip file.
10. I immediately forced boot to recovery and got Philz
11. I set up my phone as I like it (app + settings)
12 tried booting to recovery again (from power off of course) and got the stock recovery again !!!!
Any ideas?
I tried again and partially succeeded
Hi,
I decided to do all using the command prompt.
This time I disabled the CM Recovery Protection (though I clearly remember doing so before but might have done it before unlocking the bootloader).
I tried flashing using "fastboot flash recovery" command TWRP recovery but when I tried booting to the recovery I got one vibration (the one supposed to be before the recovery loads) and after a few seconds (+1 logo on screen) I got another vibration and the system normally booted (not to recovery).
I did it again with Philz and it worked, I booted twice to recovery and it holds.
The only difference was that Philz recovery was named recovery.img and TWRP was named TWRP.img, I don;t think that matters.
I really wanted TWRP. don't know why it didn't work.
This question has been asked several times, see the FAQ thread:
http://forum.xda-developers.com/showthread.php?t=2839471

twrp doesn't boot

I installed twrp and were accessible before nowadays I'm not able to boot twrp its just stuck loading screen of twrp(first blue page with written twrp) please help me to fix this issue , I'm tried to flash recovery again and again but still same problem persists ,
Two Solutions :
1) Make sure your fasrt boot is connected . USb debugging on . and you are flashing latest TWRP fro your device. Once you have flashed TWRP recovery do not reboot . Use volume buttons to select recovery and press power button to select it without restarting teh mobile . This shoudl fix the isuse , if it does well and good if not jump on second solution.
2) Flash Clockworld MOD recovery (CWN Rercovery) instead that should overwright old recovery
No it doesn't work , i tried all type of booting to twrp ya also just tried latest twrp still same problem stuck at boot, im able to enter if stock recovery, . and can we flash latest roms on cwm?
There is no cwm for moto g3
Start the phone in the bootloader, now fastboot boot twrp.img and go to the file manager and delete /sdcard/TWRP folder, then reboot into the bootloader. (this wipes all old TWRP configuration information, and any backups you have on the internal storage so make a copy before hand if necessary)
Now "fastboot flash recovery twrp.img" but replace twrp.img with the actual filename of your TWRP image. Once it completes, DO NOT REBOOT, but select Recovery on the phone and start it, TWRP should start.
You will prompted whether to allow write access to system or not, ALLOW write access to system, and TWRP will start.
Go to Reboot menu and select Recovery, the phone should reboot and TWRP should start again... if you are prompted to allow system write access, allow it and repeat this step, if you are not prompted to allow system write access again, you should be good to go, proceed as normal.
That's it... basically the stock ROM has a script that will over-write any recovery change that is not stock, so TWRP needs to be able to write to system and reboot for it's startup script to stop the replacement script in the OS.
So for the most part @chungomungo1 answer was correct.
---------- Post added at 03:57 PM ---------- Previous post was at 03:53 PM ----------
And yes, there is (or rather was) CWM Recovery for the Moto G 2015, both Osprey and Turbo, but it has been discontinued and is no longer available. LineageOS (that replaced CM) seems to have embrassed TWRP recovery, at least as of now. Actually, it seems to still be here: https://download.cyanogenmod.org/?device=osprey however actually trying to download it fails.
I cant get into recovery if fastboot boot twrp.img or fastboot flash recovery twrp.img I'm stuck at the first boot screen can't get in then how can i delete twrp folder from sdcard? Also i tried to delete twrp folder from file manager it restored automatically, there is no fix for my solution?

[Recovery Release] Working TWRP for Sony L1 (G3311 Single SIM others to be confirmed)

Requirements:
1. Bootloader Must Be Unlocked.
2. Have a backup of your working Magisk Patched boot.img saved to your External SDcard.​A little INFO:
The Sony L1 recovery seems to be disabled by SONY for some unknown and Probably stupid reason.
I have tried all ways to get the TWRP and Stock recovery to boot up from the fotakernel partition (recovery) but TWRP and even the stock recovery refuse to boot.
Anyway to cut a very long story short I am releasing this TWRP which is 95% functional and needs to be flashed to the boot partition
Working Method/flow:
Make sure you have a Back up of your working Boot.img "You know the one you used to root the device in the first place".
For ease of use You can use this app by XDA dev @wanam (Thread here) app on playstore Here You can also use this app to flash the v5-twrp-l1.img to your "boot" partition or you can go old skool and use dd (Via adb shell) or use the Magisk patched_boot.img you first rooted with..
Make SURE to Copy this working boot.img to your External SDcard.
When you require TWRP flash the downloaded TWRP to your boot partition using Fastboot (cmd's below) or the above app then reboot
You will now boot to TWRP.
Do what you need to do in TWRP.
IMPORTANT:
Remember Just before you leave TWRP go to INSTALL choose your external SDCard choose "image" from the install screen find your boot.img and select "boot" with the little radio button.
Once flashed choose reboot system.
Now when you boot you will be back to normal :good:
Things Not Working:
1. You will not be able to mount encrypted data therefore you would need to FORMAT your data and then leave it unencrypted.
SuperSU and Magisk will disable forceencrypt for you.
2. Does not Charge or show battery % so I don't know if it's actually charging. (Probably Qnovo battery module used by sony)
It will probably work on all variants but I am not able to test that.
It's use is for backups and restores wipes and installs for which it seems fully functional. :good:
Install Instructios.
Boot to the bootloader then
Code:
fastboot flash boot v5-twrp-l1.img
Then
Code:
fastboot reboot
Download HERE v5-twrp-l1.img
Hi @bigrammy!! I have it booting ok, obviously encryption is not working! I was able to do a backup but couldn't boot back into system, just keeps going back to twrp! I had to flashi the patched 3313 boot image from another post to get back into system! Good work though! Tested on g3311
Chronic2k13 said:
Hi @bigrammy!! I have it booting ok, obviously encryption is not working! I was able to do a backup but couldn't boot back into system, just keeps going back to twrp! I had to flashi the patched 3313 boot image from another post to get back into system! Good work though! Tested on g3311
Click to expand...
Click to collapse
:laugh:
Ok maybe I should update the OP as it seems it's not really clear enough that obviously the boot is replaced by the recovery.
Method would be make sure you have a Back up your working Boot.img You know the one you used to root the device in the first place.
You can also use dd (Via adb shell) or a app from the playstore or better still use the Magisk patched_boot.img .
Copy this working boot.img to your External SDcard.
When required flash the recovery to your boot partition using Fastboot then reboot
You will now boot to TWRP.
Do what you need to do in TWRP.
Then just before you leave TWRP go to INSTALL choose your external SDCard choose "image" from the install screen find your boot.img and select "boot" with the little radio button.
Once flashed choose reboot system.
Now when you boot you will be back to normal :good:
OP Updated let me know if it's clearer to understand now.
Thanks for reporting back. :good:
I'll give it a go! Many thanks! Just one question though. How do I enter recovery mode from then on? Is it still power down, power and volume down yeah?
Chronic2k13 said:
I'll give it a go! Many thanks! Just one question though. How do I enter recovery mode from then on? Is it still power down, power and volume down yeah?
Click to expand...
Click to collapse
I don't think you have really read or understood the OP
You are only ever flashing the "boot partition".
When you need to use TWRP you flash the TWRP.img to the boot partition and when your done you flash back your boot.img again to the boot partition as in the OP.
BTW Have you ever been able to enter the STOCK recovery using Power and Volume Down or using any commands
My phone could not enter the STOCK recovery at all let alone a custom one and since no one ever replied to my question about this I assumed this was the case for everyone as many sony devices from 7.0 had the recovery disabled?
I'm unable to get into stock recovery too!
So,
If we don't have a Recovery partition maybe we can
Create one...
Tutorial in here
https://iwf1.com/how-to-re-partitio...-all-options-included-change-size-fs-type-etc
I'll try it if i have time.
I tested twrp 2 times
Worked every time.
I've tried to install superSu.zip via twrp, looked all right, rebooted the phone and now it's in bootloop for over 2 hours...
It's getting hotter... i ca't turn it off
The only thing that works is keeping Power and Volume Up pressed and it looks restarting...
What can i do to revive it safely?
alegatorul said:
I tested twrp 2 times
Worked every time.
I've tried to install superSu.zip via twrp, looked all right, rebooted the phone and now it's in bootloop for over 2 hours...
It's getting hotter... i ca't turn it off
The only thing that works is keeping Power and Volume Up pressed and it looks restarting...
What can i do to revive it safely?
Click to expand...
Click to collapse
Mate you really need to be careful unless you really know what your doing
You will likely brick the phone if you continue to blindly mess with re-partitioning and the like.
If you were in TWRP which was flashed to the boot partition as directed in the OP then flashing the supersu.zip will simply modify your TWRP.img not your boot.img since TWRP is living in the boot partition at the time you run the .zip hence your looping.
This device has bootloader issues since it will not allow the booting of another partition except "boot" recovery, fotakernel, rdimage, all tested all failed to boot the TWRP recovery and stock recovery.
There is another method used by some sony devices but this will need to be heavily modified for this MediaTek SoC and will require a lot of study and script re-writes.
Spending all this time on a device that's pretty much obsolete before it was launched since it's not planned to receive oreo and Sony 90% locked down the bootloader is kinda futile so use the phone for what it is then throw it in the bin when done in a year or two.
Mate, you are right
Hi, please make recovery for L1 G3312 i hope you can do it.
tweak8 said:
Hi, please make recovery for L1 G3312 i hope you can do it.
Click to expand...
Click to collapse
I think this one may very well work for the dual SIM also so please try it and then report back with some actual details.
eg: bootloader status, firmware version, your region, etc etc.
Thanks.
Works great on the G3113 model, thank you for developing this! Now hoping to find a custom rom to install via .zip.
This "HERE v5-twrp-l1.img" is working in my Xperia L1 G3312.
But, after installing TWRP, phone does not get into boot normally. Everytime it boots into recovery mode. I think that it needs separate twrp partition. This twrp is overwriting the main boot. If anyone can make separate partition for TWRP recovery. This problem will be solved.
Hello. I ignored all your post like a retard and basically just went to the last step to flash the image. The twrp works but it wouldn't boot into normal mode but just boot to twrp everytime so I downloaded some random boot image I saw online and installed it. Now it's just stuck in the sony logo and won't even turn off. Is there anything I can do or is it rip for good?
dumb person said:
Hello. I ignored all your post like a retard and basically just went to the last step to flash the image. The twrp works but it wouldn't boot into normal mode but just boot to twrp everytime so I downloaded some random boot image I saw online and installed it. Now it's just stuck in the sony logo and won't even turn off. Is there anything I can do or is it rip for good?
Click to expand...
Click to collapse
No it's only the boot.img Flash the boot.img in this thread https://forum.xda-developers.com/xperia-l1/how-to/root-l1-g3313-magisk-t3693350 if you can get into fastboot that is.
If not then use FlashTool to flash the stock boot.sin and system.sin only. That should get you working again.
This "HERE v5-twrp-l1.img" is working in my Xperia L1 G3312.
But, after installing TWRP, phone does not get into boot normally. Everytime it boots into recovery mode. I think that it needs separate twrp partition. This twrp is overwriting the main boot. If anyone can make separate partition for TWRP recovery. This problem will be solved.
In twrp mode, I can do everything smoothly..... but phone does not get into boot normally..... After installing stock boot again, phone boot into normally, but twrp has gone completely..... So, it is clear that boot & twrp partition overwrites each other due to no separate partition.... So, we need separate partition for boot & twrp.... then everything will be solved...
bigrammy said:
No it's only the boot.img Flash the boot.img in this thread https://forum.xda-developers.com/xperia-l1/how-to/root-l1-g3313-magisk-t3693350 if you can get into fastboot that is.
If not then use FlashTool to flash the stock boot.sin and system.sin only. That should get you working again.
Click to expand...
Click to collapse
I downloaded the boot from the link you posted and flashed it. Now it phone works again. Many thanks!!
riadjblicd said:
This "HERE v5-twrp-l1.img" is working in my Xperia L1 G3312.
But, after installing TWRP, phone does not get into boot normally. Everytime it boots into recovery mode. I think that it needs separate twrp partition. This twrp is overwriting the main boot. If anyone can make separate partition for TWRP recovery. This problem will be solved.
In twrp mode, I can do everything smoothly..... but phone does not get into boot normally..... After installing stock boot again, phone boot into normally, but twrp has gone completely..... So, it is clear that boot & twrp partition overwrites each other due to no separate partition.... So, we need separate partition for boot & twrp.... then everything will be solved...
Click to expand...
Click to collapse
Yes but Sony Disabled the recovery partition (fotakernel) by design so you can not boot from it.
The OP is clear about the need to flash the TWRP to your boot partition and the reason I also give full instruction in the workflow/method but people simply don't read anymore it seems. :crying:
TWRP can be injected into the boot.img so you can boot normally or boot TWRP using the volume keys at boot time but I can't be bothered working on this since Sony are not going to update the Android Version.
While the phone is OK I have far better phones to spend my time on at the moment.
how to backup boot.img without root? if its impossible then how do i root this phone?

Categories

Resources