ClockworkMod Won't work - Upgrading, Modifying and Unlocking

Basicly I have A samsung galaxy s i9000 // 2.3.6 // XXJW4
And I have flashed clock work recovery so many times and every time I tap "reboot into recovery" it takes me to Android System Recovery (3e) not clockwork mod, please help me?

Meet too!!!

Cinemah said:
Basicly I have A samsung galaxy s i9000 // 2.3.6 // XXJW4
And I have flashed clock work recovery so many times and every time I tap "reboot into recovery" it takes me to Android System Recovery (3e) not clockwork mod, please help me?
Click to expand...
Click to collapse
Do
Code:
fastboot erase recovery
then reflash it.

Theonew said:
Do
Code:
fastboot erase recovery
then reflash it.
Click to expand...
Click to collapse
When you say reflash "it", what exactly do you mean by "it"?
I have CWM 5.0.2.7 provided by the Semaphore kernel. When I enter Recovery via either 3-button salute method or QuickBoot app, I get CWM 5.0.2.7: No problem.
BUT if I choose recover from Titanium Backup, I get the dreaded Samsung Stock recovery 3e. So apparently I have both recoveries on my device.
Which one will the Fastboot command erase?
Thanks!

cmd:
fastboot erase recovery
then go to Recovery Mode immediately after it

PlanetPron said:
cmd:
fastboot erase recovery
then go to Recovery Mode immediately after it
Click to expand...
Click to collapse
well this is not good because with fastboot erase recovery command you delete recovery partition from phone
so you have to reflash it before to go recovery
Code:
fastboot flash recovery recovery.img
now you can enter recovery directly
in fact if you have a corrupted recovery is not necessary to erase it just flash it again by fastboot flash
look here for a tutor how to use fastboot

Catalyst2012 said:
When you say reflash "it", what exactly do you mean by "it"?
I have CWM 5.0.2.7 provided by the Semaphore kernel. When I enter Recovery via either 3-button salute method or QuickBoot app, I get CWM 5.0.2.7: No problem.
BUT if I choose recover from Titanium Backup, I get the dreaded Samsung Stock recovery 3e. So apparently I have both recoveries on my device.
Which one will the Fastboot command erase?
Thanks!
Click to expand...
Click to collapse
By "it" I mean the recovery image. So do
Code:
fastboot erase recovery
fastboot flash recovery recovery.img

Theonew said:
By "it" I mean the recovery image. So do
Code:
fastboot erase recovery
fastboot flash recovery recovery.img
Click to expand...
Click to collapse
Thank you for the clarification!
I don't have any recovery.img to flash. The only CWM image available directly from CWM site is very old, 2.5.x.x and not compatible with newer 5.0.2.7 backups.
I have three "recovery" files on my device. The Samsung recovery files are: \recovery, and \sbin\recovery-samsung; both are identical.
The Semaphore/CWM 5.0.2.7 file is: \sbin\recovery. I suspect that depending what method or app is used to enter recovery, one location is chosen or the other.
I am considering renaming the Samsung: \recovery to something like \recovery.bak, and then copying the Semaphore/CWM 5.0.2.7 recovery into its location. If it works, I will always enter the newer recovery. It if does not work, I could boot into download and revert. But not sure?
Any advice is welcome

You could try building your own.

Theonew said:
You could try building your own.
Click to expand...
Click to collapse
Thanks Theonew. The Recovery Builder attempt failed. Nearly 50% of the attempts on that website are also failed builds, so I don't feel so bad.
Thanks anyway.

App "Quick Boot"
And did you try (free) App "Quick Boot" for rooted devices? Does it boot to stock recovery or CWM recovery mode?

Related

[Q] Installing CM mod via fastboot

Ok, so I bricked my wildire s.
Is there a way to install the unofficial cm mod using fastboot?
It seems I need boot.img, systems.img and data.img but in the "unofficial-CM7-marvel-nigthly-20111218.zip", I can only find boot.img. I do seem to have Clockworks Recovery Mode installed. And it's unlocked via htcdev.com.
I need to do it via fastboot, because i dont think I can access the sd card while in hboot, fastboot.
And if anyone reads this, please learn from me and always create a backup before you do anything with your phone. Otherwise you'll end up with just a brick.
Just reinstall cwm with recovery.img
in fastboot mode type:
fastboot flash recovery recovery.img
cwm recovery.img is attached below.
then you can install cm7 from cwm
theq86 said:
Just reinstall cwm with recovery.img
in fastboot mode type:
fastboot flash recovery recovery.img
cwm recovery.img is attached below.
then you can install cm7 from cwm
Click to expand...
Click to collapse
This might work.
How "bricked" is it? Does it boot to hboot/fastboot with vol down/power after a battery removal/replace?
If so follow the instructions to install CWM recovery then flash CM7.2 1218 Nightly and GAPPS from there.
yeah hboot, fastboot and cwm is working. However i can't figure out how to access the sd card while in these modes. So, I am not sure if i can install cm with the traditional method.
So I am trying to figure out how to do it via fastboot.
abhishiv said:
yeah hboot, fastboot and cwm is working. However i can't figure out how to access the sd card while in these modes. So, I am not sure if i can install cm with the traditional method.
So I am trying to figure out how to do it via fastboot.
Click to expand...
Click to collapse
In CWM you have the possibility to mount sdcard to your pc. what you need is the cm7 zip file, nothing more.
Guys you are awesome!
It works, it's installing
Thanks
abhishiv said:
Guys you are awesome!
It works, it's installing
Thanks
Click to expand...
Click to collapse
Another happy customer...
PS
If that is what you call a brick it was more like a nerf brick.
theq86 said:
Just reinstall cwm with recovery.img
in fastboot mode type:
fastboot flash recovery recovery.img
cwm recovery.img is attached below.
then you can install cm7 from cwm
Click to expand...
Click to collapse
sir help please. i cant acccess to the fastboot.
whenever i attempt to fastboot mode. itflashes green to red screen then, it directs me to the home screen.
what should i do?
i think i loss my the fastboot mode.

Bricked while flashing ViperX 2.0.0

Hi, I think I bricked my device. I have HBOOT working, but no recovery and /system. When I enter recovery, it shows recovery bootscreen (I use TWRP) and it reboots after 2-3 seconds. After this I will not flash any ROMs I think. I can't do fastboot erase cache, coz I'm on Windows XP, and CMD says that this command does not exist.
change the recovery to clockworkmod 5.8.4.0
you have the fastboot.exe file ?
wsleone said:
change the recovery to clockworkmod 5.8.4.0
you have the fastboot.exe file ?
Click to expand...
Click to collapse
I have it. I will flash the recovery.
EDIT: CWM reboots too.
EDIT 2: Iw works, I unbricked it.

[Q] Flashing to pure stock 4.3 with the latest bootloader, recovery, etc.?

I know this may have been answered several times. I did a search too, but to be honest couldn't find something to the point.
Can someone post an easy guide of the files to download and the commands to type in the Command Prompt to install 4.3?
I'm currently on 4.2.2 (LiquidSmooth). Rooted obviously with TWRP recovery. I have the ADB and fastboot drivers installed in my PC.
This is what I want to know.
1. Flashing pure stock 4.3 and wipe everything (including SDcard - I will take a backup)
2. Updating the bootloader
3. Updating the radio
4. Updating the stock recovery
5. Installing TWRP recovery for 4.3
Will be glad if someone could help me.
Thank you.
you didnt search very well...
there's a return to stock thread in the general section.
Just use this: http://forum.xda-developers.com/showthread.php?t=1766475
Read last 3-4 pages.
AbhishekS said:
I know this may have been answered several times. I did a search too, but to be honest couldn't find something to the point.
Can someone post an easy guide of the files to download and the commands to type in the Command Prompt to install 4.3?
I'm currently on 4.2.2 (LiquidSmooth). Rooted obviously with TWRP recovery. I have the ADB and fastboot drivers installed in my PC.
This is what I want to know.
1. Flashing pure stock 4.3 and wipe everything (including SDcard - I will take a backup)
2. Updating the bootloader
3. Updating the radio
4. Updating the stock recovery
5. Installing TWRP recovery for 4.3
Will be glad if someone could help me.
Thank you.
Click to expand...
Click to collapse
search again... and in short if u are flashing your rom with stock image u dont have to install the bootloader and radio img again... search how to flash stock image using adb..
Sent from my Galaxy Nexus using xda premium
AbhishekS said:
I know this may have been answered several times. I did a search too, but to be honest couldn't find something to the point.
Can someone post an easy guide of the files to download and the commands to type in the Command Prompt to install 4.3?
I'm currently on 4.2.2 (LiquidSmooth). Rooted obviously with TWRP recovery. I have the ADB and fastboot drivers installed in my PC.
This is what I want to know.
1. Flashing pure stock 4.3 and wipe everything (including SDcard - I will take a backup)
2. Updating the bootloader
3. Updating the radio
4. Updating the stock recovery
5. Installing TWRP recovery for 4.3
Will be glad if someone could help me.
Thank you.
Click to expand...
Click to collapse
Hi, let me try to help you
Galaxy Nexus is my first smartphone. So i'm pretty new at flashing things. I did some research last year to learn how to flash stuff in it and that's how i learned to make a fresh install:
-Make sure you have the SDK platform-tools and the Galaxy Nexus driver properly installed on your PC. Also, make sure you have USB debuging enabled on your device.
-Download the factory image that fits your phone at https://developers.google.com/android/nexus/images
-Open up the tgz file you just downloaded and extract the files:
-boot.img
-bootloader-maguro-primemd04.img
-radio-maguro-i9250xxlj1.img
-recovery.img
-system.img
-userdata.img
Extract the files in the platform-tools folder to make things easier.
-Connect your Nexus to your PC, open the command prompt, go to the platform-tools folder and type
(Do not turn off, disconnect or close the cmd prompt windows until everything is done. Again, make sure you have the nexus driver properly installed on your Windows)
Code:
adb reboot-bootloader
(this command will reboot your device to recovery mode)
With your device on recovery mode, type the following commands to erase your device:
Code:
fastboot erase boot
Hit enter, then:
fastboot erase cache
Hit enter, then:
fastboot erase recovery
Hit enter, then:
fastboot erase system
Hit enter, then:
fastboot erase userdata
-Now you're going to flash the new files you have downloaded and extracted steps before:
Code:
fastboot flash bootloader bootloader-maguro-primemd04.img
(or whatever name your bootloader img file has. In this case the bootloader file is "bootloader-maguro-primemd04.img")
Code:
fastboot reboot-bootloader
(you'll need to reboot after flashing the bootloader)
Code:
fastboot flash radio radio-maguro-i9250xxlj1.img
Flash the radio
Code:
fastboot reboot-bootloader
Reboot again
Code:
fastboot flash system system.img
Flash system
Code:
fastboot flash userdata userdata.img
Code:
fastboot flash boot boot.img
Code:
fastboot flash recovery recovery.img
Code:
fastboot reboot-bootloader
We are almost done!
Code:
fastboot erase cache
Code:
fastboot reboot
Done! Reboot to Android. The first boot may take some more time than the usual. Don't worry!
-
If you want to flash a custom recovery, download it from their website, go into fastboot mode and flash it using the command to flash the recovery.
Code:
fastboot flash recovery [recovery filename].img
The same command used when flashing the recovery on the fresh install above
That's the way i learned how to do it from scratch. In case someone more experienced has any thoughts about it, i'd like to hear as i'm not an expert and learned by researching it on my own...
This is how it's done, PROPER. Well done, mnoguti.
a maguro wrote this.
@mnoguti: You have said that to flash a custom recovery, one needs to go to the recovery mode and flash the custom recovery, but you said that flashing the stock recovery should be done in bootloader.
Is it fine to flash custom recovery from bootloader instead of recovery?
AbhishekS said:
@mnoguti: You have said that to flash a custom recovery, one needs to go to the recovery mode and flash the custom recovery, but you said that flashing the stock recovery should be done in bootloader.
Is it fine to flash custom recovery from bootloader instead of recovery?
Click to expand...
Click to collapse
you don't have to go into the recovery mode to flash recovery, just boot into fastboot mode and flash recovery using command:
fastboot flash recovery recovery.img
Click to expand...
Click to collapse
obviously replace the recovery.img with the name of the custom recovery file you downloaded, make sure the custom recovery file is in the same folder as fastboot/adb otherwise you'll have to do it like:
fastboot flash recovery C:\Downloads\recovery.img
Click to expand...
Click to collapse
Yes, that's what I thought. Thank you.
I had initially felt that stock recovery can flashed only in bootloader and custom recoveries can be flashed only by booting into stock recovery. But somewhere in my mind had a doubt on it and so asked. Thanks for clearing the doubt.
And a big thanks to @mnoguti for posting those steps. Worked like a charm for me.
Obviously he meant fastboot mode..
a manta wrote this.
AbhishekS said:
Yes, that's what I thought. Thank you.
I had initially felt that stock recovery can flashed only in bootloader and custom recoveries can be flashed only by booting into stock recovery. But somewhere in my mind had a doubt on it and so asked. Thanks for clearing the doubt.
And a big thanks to @mnoguti for posting those steps. Worked like a charm for me.
Click to expand...
Click to collapse
It's "fastboot mode". Sorry for the mistake!
I've updated my post and now it's right

TWRP not persistent

Hi guys,
I've just updated to newest OOS firmware wich is 5.1.2 and I'm facing a weird problem.
Every time I flash codeworks TWRP and reboot to system, the next time i try to boot to recovery it boots to the original recovery.
It's like when I flash TWRP it doesn't remain persistent. When i flash it through fastboot and straightly boot from fastboot to recoverry I succeed to get in TWRP but as soon as I reboot to system and try to boot to recovery I reach the original OnePlus recovery.
Is anyone facing the same problem ?
And also do you have any idea about what i could do to solve this problem ?
Thanks in advance for your answers !
If you don't have root or custom kernel its normal, plus you should use blu spark's twrp, its newer and more reliable.
Adnan008 said:
If you don't have root or custom kernel its normal, plus you should use blu spark's twrp, its newer and more reliable.
Click to expand...
Click to collapse
Indeed, I just needed to flash magisk to get it persistent. I'll try blu spark's one as you suggested.
Thank you very much for your answer !
Cheers !
Nothing to do with recoveries or kernel. After you do the fastboot flash recovery TWRP in fastboot, do this: "fastboot boot TWRP". I believe that's the right command. Basically after you flash it, manually boot to recovery through fastboot one time. After that it'll work from inside the phone or with the button combination with the phone off.
Jesus people are lazy these days.
First off there are official twrp versions for a reason!
Download the latest version: https://dl.twrp.me/dumpling/
Reboot into flash boot with the following command from your rom: adb reboot bootloader
With phone in fastboot mode: fastboot flash recovery 'twrp.img'
(You don't need to type out the entire file path you can just drag the file into the terminal and it'll insert the file location)
The reason you're not getting back into that recovery is because you're not booting into the recovery before you reboot into your ROM.
There is an option to boot straight into the recovery from the fastboot mode
pinnekeshaar said:
Jesus people are lazy these days.
First off there are official twrp versions for a reason!
Download the latest version: https://dl.twrp.me/dumpling/
Reboot into flash boot with the following command from your rom: adb reboot bootloader
With phone in fastboot mode: fastboot flash recovery 'twrp.img'
(You don't need to type out the entire file path you can just drag the file into the terminal and it'll insert the file location)
The reason you're not getting back into that recovery is because you're not booting into the recovery before you reboot into your ROM.
There is an option to boot straight into the recovery from the fastboot mode
Click to expand...
Click to collapse
Actually not that lazy because I used to do what you mentionned.
The thing is that a flash of Magik is needed to patch twrp. That's the step I forgot in the procedure and explained here.
So before being unpleasant, please know what you're talking about...
Cheers !

Question installing custom recovery when device has AOSP recovery

So I installed a A13 AOSP rom (Evolution x) via orangefox and when I rebooted to recovery orangfox was gone and now I'm on AOSP recovery. I tried to "fastboot boot" TWRP but the phone restarts on black screen for several seconds then restarts again to system. and when I enter fastboot thro AOSP recovery and try to boot TWRP it just fails (says unrecognized command boot). how can I flash custom recovery? i was thinking of trying sideload but with fastboot not working properly, I dont want guessing and rather ask someone with more knowledge with AOSP recovery and what could be causing fastboot not working properly
PS/ AOSP recovery is not detecting otg, and when choosing apply updates from internal storage it says it cant mount /data
Aserar said:
So I installed a A13 AOSP rom (Evolution x) via orangefox and when I rebooted to recovery orangfox was gone and now I'm on AOSP recovery. I tried to "fastboot boot" TWRP but the phone restarts on black screen for several seconds then restarts again to system. and when I enter fastboot thro AOSP recovery and try to boot TWRP it just fails (says unrecognized command boot). how can I flash custom recovery? i was thinking of trying sideload but with fastboot not working properly, I dont want guessing and rather ask someone with more knowledge with AOSP recovery and what could be causing fastboot not working properly
PS/ AOSP recovery is not detecting otg, and when choosing apply updates from internal storage it says it cant mount /data
Click to expand...
Click to collapse
What is the code name of your device?
NOSS8 said:
What is the code name of your device?
Click to expand...
Click to collapse
Its alioth poco f3
Aserar said:
Its alioth poco f3
Click to expand...
Click to collapse
Seems that in official no TWRP A13
https://androidfilehost.com/?w=files&flid=322193
Here boot version A12(more recent).
1. fastboot boot twrp.img
2. go to Advanced > Flash Current TWRP
https://dl.akr-developers.com/?dir=skkk/TWRP/A12/v5.6_A12
https://forum.xda-developers.com/t/recovery-12-official-teamwin-recovery-project.4272625/
Aserar said:
So I installed a A13 AOSP rom (Evolution x) via orangefox and when I rebooted to recovery orangfox was gone and now I'm on AOSP recovery. I tried to "fastboot boot" TWRP but the phone restarts on black screen for several seconds then restarts again to system. and when I enter fastboot thro AOSP recovery and try to boot TWRP it just fails (says unrecognized command boot). how can I flash custom recovery? i was thinking of trying sideload but with fastboot not working properly, I dont want guessing and rather ask someone with more knowledge with AOSP recovery and what could be causing fastboot not working properly
PS/ AOSP recovery is not detecting otg, and when choosing apply updates from internal storage it says it cant mount /data
Click to expand...
Click to collapse
It is because flashing rom also flash the recovery packed along with the rom, and it will replace your old recovery. To prevent it you need to also tick on the reflash ofox option when you flash a rom, which is too late in your case.
So, if you want to reflash ofox recovery, download and extract the zip file, locate the recovery.img in the extracted folder, reboot to bootloader and issue this command:
Code:
fastboot boot /path/to/recovery.img
then reboot to recovery with the command:
Code:
fastboot reboot recovery
and your device will temporarily boot into ofox recovery
The last step is to flash the recovery to ramdisk to make it permanently, you can find this option in ofox settings.
NOSS8 said:
Seems that in official no TWRP A13
https://androidfilehost.com/?w=files&flid=322193
Here boot version A12(more recent).
1. fastboot boot twrp.img
2. go to Advanced > Flash Current TWRP
https://dl.akr-developers.com/?dir=skkk/TWRP/A12/v5.6_A12
https://forum.xda-developers.com/t/recovery-12-official-teamwin-recovery-project.4272625/
Click to expand...
Click to collapse
This is what I did befor posting but but TWRP wouldnt boot through fastboot. it just gives me blackscreen for a few seconds then it boots to system. but the problem was solved with ofx. thank you for your help
disconmair said:
It is because flashing rom also flash the recovery packed along with the rom, and it will replace your old recovery. To prevent it you need to also tick on the reflash ofox option when you flash a rom, which is too late in your case.
So, if you want to reflash ofox recovery, download and extract the zip file, locate the recovery.img in the extracted folder, reboot to bootloader and issue this command:
Code:
fastboot boot /path/to/recovery.img
then reboot to recovery with the command:
Code:
fastboot reboot recovery
and your device will temporarily boot into ofox recovery
The last step is to flash the recovery to ramdisk to make it permanently, you can find this option in ofox settings.
Click to expand...
Click to collapse
Thank you mf this worked! Booting twrp through fastbood just gave me black screen so I didnt think that booting Ofox would be any different but it actually booted Ofox recovery and I flashed it no problem. If anyone's going to attempt this make sure to backup your data before cause you'll need to format data

Categories

Resources