flash_image: not found - G1 Q&A, Help & Troubleshooting

I can't find the flash_image command in my android (i have just installed the lastest HTC_ADP_1.6_DRC83_rooted_base) so i cant install cyanogen 1.4 ... please any workaround or help will be very appreciated
Thanks in advanced
chineseman

You are going to be directed to ask this in the Q&A section.

chineseman said:
I can't find the flash_image command in my android (i have just installed the lastest HTC_ADP_1.6_DRC83_rooted_base) so i cant install cyanogen 1.4 ... please any workaround or help will be very appreciated
Thanks in advanced
chineseman
Click to expand...
Click to collapse
You just type it in terminal.

chineseman said:
I can't find the flash_image command in my android (i have just installed the lastest HTC_ADP_1.6_DRC83_rooted_base) so i cant install cyanogen 1.4 ... please any workaround or help will be very appreciated
Thanks in advanced
chineseman
Click to expand...
Click to collapse
Take it from someone who just spent last evening re-rooting their phone, reinstalling apps etc...I would get familiar with ADB. And fast:
http://forum.xda-developers.com/showthread.php?t=502010
From there, you can pretty much do whatever you need to the phone, and it's a LOT less hassle.

I've got the same problem,
I can't flash via adb shell, because flash_image is not found
using fastboot , i flash recovery img file, which doesn't give me errors
but I still don't get cm's recovery.
I'm stuck at the stock HTC ADP1.6 rom

sleepy_sanchez said:
I've got the same problem,
I can't flash via adb shell, because flash_image is not found
using fastboot , i flash recovery img file, which doesn't give me errors
but I still don't get cm's recovery.
I'm stuck at the stock HTC ADP1.6 rom
Click to expand...
Click to collapse
Did you read this thread?
http://forum.xda-developers.com/showthread.php?t=567943

can't get into recovery mode
B-man007 said:
Did you read this thread?
http://forum.xda-developers.com/showthread.php?t=567943
Click to expand...
Click to collapse
I just did. The problem was solved via fastboot, which I've tried. Itdoesn't give me errors and says writing 'recovery'.... OKAY, but I still don't get cm's recovery mode.

sleepy_sanchez said:
I just did. The problem was solved via fastboot, which I've tried. Itdoesn't give me errors and says writing 'recovery'.... OKAY, but I still don't get cm's recovery mode.
Click to expand...
Click to collapse
does your phone show up when you type
Code:
fastboot devices
?
EDIT: Also, try updating to cyan's latest build from the stock recovery
Alt-L
Alt-W
Alt-S
Make sure you rename cyans update to update.zip
then try updating the recovery from there
if that doesnt work, try
Code:
fastboot erase recovery
and then reflash the recovery

yes, I'm able to see the device in fastboot.
I am able to erase and flash the recovery and get no error, but I can't login to the cm's recovery. Actually for some reason, the first time I try to go to recovery, the phone ignores me and boots directly to android.
. I did try to update from stock recovery, however I get installation aborted error during the update
It turns out flash_image isn't available in htc's stock rom, so I copied it to /system/bin . What happens when I try to flash the recovery img the first time is like this: I get
mtd: erase failure at 0x002e0000 (I/O error)
mtd: erase failure at 0x002e0000 (I/O error)
mtd: skipping write block at 0x002e0000
the second time i get no messages.
if I try flash_image erase recovery, it says
can't find erase partition

Ok, found my answer after googling with some people who had similar problem in an unrelated forum
ah ... i think the problem is that the recovery is replaced with each reboot.
first do:
adb root
adb remount
adb shell
cat /system/etc/install-recovery.sh > /system/etc/install-recovery.sh.disabled
rm /system/etc/install-recovery.sh
cat /system/recovery-from-boot.p > /system/recovery-from-boot.p.disabled
rm /system/recovery-from-boot.p
Flash a recovery-image like before ... I would recommend this one (from cyanogen) - the one I'm using: http://n0rp.chemlab.org/android/cm-recovery-1.4.img
Click to expand...
Click to collapse
after this I was able flash and login to cm's recovery

sleepy_sanchez said:
Ok, found my answer after googling with some people who had similar problem in an unrelated forum
after this I was able flash and login to cm's recovery
Click to expand...
Click to collapse
Thanks for posting that. So the reason the stock recovery was flashed is because you booted on the 1.6 recovery instead of flashing cm right after, correct?

B-man007 said:
Did you read this thread?
http://forum.xda-developers.com/showthread.php?t=567943
Click to expand...
Click to collapse
Yes it did works!! my SPL was very outdated... then after update my SPL i could use fastboot!

@sleepy_sanchez you're my hero tried the whole day to get the cm recovery on my stock ADP1.6... thanks nandroid is back as well as my backup from 4.9.1.1

@ B-man007 yes after I flashed stock adp image, I couldn't flash cm's image immediately(since I had to rename htc's adp1.6 image to sth else and the cm's image to update.zip). my CM 1.2 recovery was overwritten somehow, or disappeared during the many times I tried to get my G1 working(wiping reinstalling htc's image) . and I couldn't flash CM 1.4 recovery neither using fastboot nor adb.

sleepy_sanchez said:
@ B-man007 yes after I flashed stock adp image, I couldn't flash cm's image immediately(since I had to rename htc's adp1.6 image to sth else and the cm's image to update.zip). my CM 1.2 recovery was overwritten somehow, or disappeared during the many times I tried to get my G1 working(wiping reinstalling htc's image) . and I couldn't flash CM 1.4 recovery neither using fastboot nor adb.
Click to expand...
Click to collapse
ahh ic. judging from the instructions you posted, it looks like the HTC recovery image has a script to replace the stock recovery upon each boot

I can't install recovery via fastboot, cos after ENTER this command:
fastboot flash recovery recovery.img my PC freezes.
So I wanted flash it via terminal, take a look at my log:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
File is placed directly in /sdcard

ZduneX25 said:
I can't install recovery via fastboot, cos after ENTER this command:
fastboot flash recovery recovery.img my PC freezes.
So I wanted flash it via terminal, take a look at my log:
File is placed directly in /sdcard
Click to expand...
Click to collapse
Sorry for bump. I have the exact same problem as you. Anyone know the soloution?
Thanks

Do you have flash_image installed? Is flash_image executable? Is flash_image in your path?
Btw.: This is a G1 thread, not a Desire thread.

from those who display flash_image: not found
this works for me:
mount -o remount,ro -t yaffs2 /dev/block/mtdblock5
cat /sdcard/flash_image > /system/bin/flash_image
chmod 755 /system/bin/flash_image
flash_image recovery /sdcard/nombre del recovery.img
(for me: recovery-RA-sapphire-v1.7.0G.img)
reboot recovery
and its done!

Related

Can't find flash_image (and adb doesn't work on my pc)

My phones recent history: Up until a few weeks ago, I was running the ION remix rom on my g1. While recovery from surgery (read as: hopped up on pain killers), I was awesome and dropped the tmo 1.6 rom on top of it, without wiping first. The phone has been somewhat unstable, lots of problems, etc.
so tonight, I downloaded all the cm 4.999 files, dump them on to the sdcard, reboot to my old jf 1.42 bootloader, and i can't find flash_image anywhere on the phone. i've looked all over the damn thing. so i get adb downloaded, and i can't get that going because all the usb drivers i've tried have always refused to load on this pc (both vista x64 and win 7 x64).
help? i can't find anywhere i can download flash_image at, and adb just isn't an option.
adnans said:
My phones recent history: Up until a few weeks ago, I was running the ION remix rom on my g1. While recovery from surgery (read as: hopped up on pain killers), I was awesome and dropped the tmo 1.6 rom on top of it, without wiping first. The phone has been somewhat unstable, lots of problems, etc.
so tonight, I downloaded all the cm 4.999 files, dump them on to the sdcard, reboot to my old jf 1.25 bootloader, and i can't find flash_image anywhere on the phone. i've looked all over the damn thing. so i get adb downloaded, and i can't get that going because all the usb drivers i've tried have always refused to load on this pc (both vista x64 and win 7 x64).
help? i can't find anywhere i can download flash_image at, and adb just isn't an option.
Click to expand...
Click to collapse
Try using Recovery 1.4 or something like that.
flash_image is part of the recovery.img file that get's flashed. You could search or just use this link to the Amon_RA 1.2.3 Recovery (also in my signature).
Either one will do the job. You can also wipe from the recovery and apply any .zip file as long as it is on the root of your sdcard. It's pretty easy really. Wipe, install, boot. If it works, reboot, nandroid backup (if you use Amon_RA 1.2.3 you can go to terminal and 'switchrom -s ROMNAME') and you only need to do a recovery should anything get messed up again.
Hope that helps.
it's cm 1.4 i'm trying to get installed. i don't have flash_image on my phone and i can't use fastboot to get cm 1.4 installed :/ that's what i'm trying to get help with.
if you want cyans recovery, you can use
su
cd /sdcard
wget http://n0rp.chemlab.org/android/cm-recovery-1.4.img
flash_image recovery /sdcard/cm-recovery-1.4.img
Click to expand...
Click to collapse
in terminal
note about upgrading to cyan: you can get the single flash version to avoid all the problems caused by a bad htc recovery rom flash while updating to 4.1.999
guys, i don't have flash_image. it's not on my phone i've gone through every directory on the phone either through terminal on it or the console in jf 1.42. it's just not there.
umm, flash image is a command
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
so i decide to risk trying adb on my crashy old laptop. it installed and the usb driver is working there, and fastboot devices was listing my phone. fastboot flash recovery cm-recovery-1.4.img (which is on the sdcard) returned "error: cannot load 'cm-recovery-1.4.img'"
i'm about to give up on this thing :/
gridlock32404: here's a transcription from terminal on my phone,
$ su
# flash_image
flash_image: not found
fastboot prob won't work, i suggest a reroot
tried rerooting back to rc29 last night, hardspl is refusing to do it though.
a friend of mine just sent me flash_image from his system/bin, but when i try to mv it to my system/bin, it's complaining about the cross-device link, which i don't recall how to get around atm. and now i'm outta time and have to head to work. guess i'll pick this back up tonight.
hahha o man love all the hijackin
btw to OP
if it says Cm-recovery,img not found or w/e
your not using the right path to the file
put the image in the same folder as the fastboot.exe
B-man007 said:
hahha o man love all the hijackin
btw to OP
if it says Cm-recovery,img not found or w/e
your not using the right path to the file
put the image in the same folder as the fastboot.exe
Click to expand...
Click to collapse
you, sir, i owe a beer. thank you!
i accidently flashed the htc image as well and I no longer have /system/bin/flash_image and my recovery is broken. tried to reflash with fastboot and the recovery is still broken. how can i get flash_image back?
rerooting is the only way. flash rc29 and reroot
go to bootloader and load dreamimg.nbh again, start her up, do the old login deal and download telnet from market, put cm-recovery-1.4.img on your sdcard, reboot phone normally when home starts without doing anything else hit enter enter (type) telnetd (press) enter, don't worry about what it does, open up telnet, connect to local host, type:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cd sdcard
flash_image recovery cm-recovery-1.4.img
cat cm-recovery-1.4.img > /system/recovery.img
then reboot, then put on the new SPL, make sure your Radio is good, if not update that and then flash cyans new rom.
Andddd there's a guide here that explains all that a lot better than I did...good thing I typed all that out.
http://forum.xda-developers.com/showthread.php?t=563679
guys re rooting isnt the only way....its the easy way lol
instructions to flash the recovery are found in cyans installation issue thread

Recovery Gone No ADB Please Help

I tried to flash the new recovery image for Amon- Ra and I have now lost my recovery image. I did see the thread giving instructions on possible fixes and it seemed to work for some, but I am having no luck, because I dont have access to install adb at my location.
On to my problem I am now not able to update any of my apps, and I was not able to un-root to start over. I have tried many different times through the console (terminal emulator) to reflash the proper image, but I have had no luck. So now i feel i screwed myself, because I was not able to get firerats script to work. Can anyone help me with this.
I have a Mytouch 3g I have stock radio and spl 8g cls 6 sd running superbad 1.3
crxforya said:
I tried to flash the new recovery image for Amon- Ra and I have now lost my recovery image. I did see the thread giving instructions on possible fixes and it seemed to work for some, but I am having no luck, because I dont have access to install adb at my location.
On to my problem I am now not able to update any of my apps, and I was not able to un-root to start over. I have tried many different times through the console (terminal emulator) to reflash the proper image, but I have had no luck. So now i feel i screwed myself, because I was not able to get firerats script to work. Can anyone help me with this.
I have a Mytouch 3g I have stock radio and spl 8g cls 6 sd running superbad 1.3
Click to expand...
Click to collapse
Sounds like you need to flash a good hardSPL in terminal and then with fastboot-usb, flash recovery.
Hard SPL
Do you know where I can find a good one. And doesnt it require me to have a working recovery in-order to flash the spl???
thanks for your response.
crxforya said:
Do you know where I can find a good one. And doesnt it require me to have a working recovery in-order to flash the spl???
thanks for your response.
Click to expand...
Click to collapse
Anything that can be flashed in recovery/console/terminal can be flashed (more safely, according to lbcoder, ezterry, etc) in fastboot-usb. So you want to use the .img file out of this zip and flash it in fastboot to the hboot partition. This spl is a recoded sapphire 2005 hboot, made to look like 2004 -- for DVT board 32As, but less risk of crossing wires with radio, AFAIK. The second one is just a straight-up 2009, which is pretty current. I assume you have a Sapphire MT3G, not a Magic MT3G (Fender/v1.2) because I wouldn't count on these files working for you. If you happen to have DangerSPL installed (although that's not necessary with MT3G) check the rooting/SPL instructions on that forum to make sure these files are right. Good luck!
NOTE: Here's a good Wiki on SAFELY flashing hboot/radio/recovery images that I found in Firerat's sig. As someone who has bricked a G1 by willy-nilly flashing, I implore you to have a look-see:
http://wiki.xda-developers.com/index.php?pagename=HTC_Dream_Bootloader
rynosaur said:
Anything that can be flashed in recovery/console/terminal can be flashed (more safely, according to lbcoder, ezterry, etc) in fastboot-usb. So you want to use the .img file out of this zip and flash it in fastboot to the hboot partition. This spl is a recoded sapphire 2005 hboot, made to look like 2004 -- for DVT board 32As, but less risk of crossing wires with radio, AFAIK. The second one is just a straight-up 2009, which is pretty current. I assume you have a Sapphire MT3G, not a Magic MT3G (Fender/v1.2) because I wouldn't count on these files working for you. If you happen to have DangerSPL installed (although that's not necessary with MT3G) check the rooting/SPL instructions on that forum to make sure these files are right. Good luck!
Click to expand...
Click to collapse
BUT, no adb , so chances are no fastboot..........
OP needs to get over the adb issue
Firerat said:
BUT, no adb , so chances are no fastboot..........
OP needs to get over the adb issue
Click to expand...
Click to collapse
Hmmm, I remember that way back in the day, JF included native ADB access in first custom RC30 Roms and then he packaged it into his custom recovery, but I don't know if losing a recovery image means losing ADB access and therefore fastboot access whatsoever?
Ill have to check
I have used adb before but Im not at my personal computer so I am not able to utilize the adb shell, and the computer that I am using, I do not have access to install. Is there another option that does not require adb, or is there a reason that I cant flash a sappimg file unroot, and start over???
crxforya said:
I have used adb before but Im not at my personal computer so I am not able to utilize the adb shell, and the computer that I am using, I do not have access to install. Is there another option that does not require adb, or is there a reason that I cant flash a sappimg file unroot, and start over???
Click to expand...
Click to collapse
No problem at all doing that, nbh overwrites radio, hboot, recovery. Just make sure you have the rooting files stored locally, i.e. custom rom, custom recovery, custom/hard/eng SPL, new radio, recovery test keys, etc.
crxforya said:
because I dont have access to install adb at my location.
Click to expand...
Click to collapse
rynosaur said:
Hmmm, I remember that way back in the day, JF included native ADB access in first custom RC30 Roms and then he packaged it into his custom recovery, but I don't know if losing a recovery image means losing ADB access and therefore fastboot access whatsoever?
Click to expand...
Click to collapse
did you read the post?
no adb = no fastboot
@crxforya'
your best bet is
Code:
su
ash
flash_image recovery /sdcard/recovery.img
if it fails, scroll up with track ball, and hit enter again, repeat until it works
crxforya said:
I tried to flash the new recovery image for Amon- Ra and I have now lost my recovery image. I did see the thread giving instructions on possible fixes and it seemed to work for some, but I am having no luck, because I dont have access to install adb at my location.
On to my problem I am now not able to update any of my apps, and I was not able to un-root to start over. I have tried many different times through the console (terminal emulator) to reflash the proper image, but I have had no luck. So now i feel i screwed myself, because I was not able to get firerats script to work. Can anyone help me with this.
I have a Mytouch 3g I have stock radio and spl 8g cls 6 sd running superbad 1.3
Click to expand...
Click to collapse
read this it might help it did for me when i try 2 use ROM MANAGER APP n i lost my recovery-->>> http://forum.cyanogenmod.com/index....toasted-not-bricked-phone-thread/page__st__40
No luck
Thanks for your help Firerat, It seems that everytime I hit enter to flash recovery it just gives me another command line. Ive done it about 30 times and doesnt appear that its gonna take. Do you know what I would need to do to unroot, and start over. I looked at the Unlockr website and the process with the NBH file looks like it works until i reboot and it is still 2.1. Any help there I really appreciate it.
ur recovery is corrupted try this
To boot into fastboot you need to hold back and power.
Then plug the original usb cable into your pc then into phone. your phone should say FASTBOOT USB
If not you will have to use USB deview (a few posts above). Then using it unistall anything that says Android or HTC or ADB or Fastboot... You get the idea.
Then unplug and replug the usb cable to your pc.
Windows should say that there is an unrecognised item or something, go into device manager and there should be one with an "!" mark, or a wizard to install the drivers appears.
When it asks you where to find drivers, click the option that says select where the drivers are (advanced), or something. Then point it to the folder were the USB drivers are and let it do its work.
After its finished start cmd and use the command "cd" to go to the tools folder where your sdk is extracted if it was at "C:\android-sdk-windows\tools" you would type in cmd "cd C:\android-sdk-windows\tools"
Then put in "fastboot devices" and it should give you your phones serial number, as long as the drivers work and you are in fastboot (phone should say FASTBOOT USB)
If that works we are back on track
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Ok now download the latest Amon_Ra recovery XDA link
Now check the md5 using this tiny standalone app Download.cnet.com link this is self explanatory, as the md5 sum is on the XDA link.
Ok, so now you have checked that its not corrupted, move the .img file to the tools folder. For me it would be "C:\android-sdk-windows\tools" . (The .img file needs to be where the fastboot.exe is, so it finds it.)
Now this is where you get the stuff you type in to cmd.
Fastboot devices
Fastboot erase recovery
Fastboot flash recovery recovery-RA-dream-v1.7.0.img
Click to expand...
Click to collapse
same problem
i have the same problem except i have danger spl, i noobed it up and tried to flash recovery with cm 5.0.7...
i tried to flash the recovery a bunch of times, and i treid to get into fastboot, but idk where the drivers are, and idk how to find them.
help plz
crxforya said:
Thanks for your help Firerat, It seems that everytime I hit enter to flash recovery it just gives me another command line. Ive done it about 30 times and doesnt appear that its gonna take. Do you know what I would need to do to unroot, and start over. I looked at the Unlockr website and the process with the NBH file looks like it works until i reboot and it is still 2.1. Any help there I really appreciate it.
Click to expand...
Click to collapse
ok, thats interesting
straight after you do that
logcat
<track ball> then c
( or in terminal preferences, change the control key )
I'm guessing you see
I/flash_image( 2410): header is the same, not flashing recovery
so, try flashing a different version ( 1.6.2 ) , then 1.7.0
edit: or
Code:
erase_image recovery
flash_image recovery /sdcard/recovery-RA-dream-v1.7.0.img
I need to start over
What does changing the control key do??? I know Im a noob!! Sorry and thanks for your help
Same problem here, on mt3g with latest super bad. I no longer have recovery and cant seem to flash one. And the latest amon-ra says not to flash from terminal if using latest cyanogenmod, yet my computer doesn't recognize my device, so I cant use adb.
-------------------------------------
Sent via the XDA Tapatalk App
Well im back at the out of memory messg
well after erasing recovery and trying to reflash on the 3rd time it gave me the out of memory error again. Now that script you made Fire do i just
su
sh firstboot.txt and your script will work???
crxforya said:
well after erasing recovery and trying to reflash on the 3rd time it gave me the out of memory error again. Now that script you made Fire do i just
su
sh firstboot.txt and your script will work???
Click to expand...
Click to collapse
well, I have a spaming script here
http://forum.cyanogenmod.com/index.php?/topic/3867-broke-recovery/page__view__findpost__p__39273
spamming the flash in CM5 seems to be working for most
Code:
#!/system/bin/sh
test=1
while [ "$test" = "1" ];do
flash_image recovery /sdcard/recovery.img
test=`echo $?`
done
echo "we got there in the end....."
[attachment=1106:spamflash.txt]
get that onto your sdcard
rename the recovery image to recovery.img and put on the sdcard
then
Code:
su
sh /sdcard/spamflash.txt
that will keep trying to flash until it works
another way is to flash before android starts ( plenty of free memory available )
this is a firstboot.sh script
Code:
flash_image recovery /data/recovery.img
if [ "$?" = "0" ];
then
rm /data/recovery.img
echo "recovery flashed"
else
echo "recovery flash failed..."
fi
[attachment=1107:firstboot.txt]
get that onto your sdcard
then
Code:
su
cp /sdcard/firstboot.txt /data/firstboot.sh
again rename the recovery image to recovery.img, but for this method you need to put it on /data/
It will 'self clean', i.e. if it works it will delete the recovery image, and the bit which runs the firstboot.sh deletes that ( but it will delete that regardless of it working or not )
Click to expand...
Click to collapse
deltawye said:
Same problem here, on mt3g with latest super bad. I no longer have recovery and cant seem to flash one. And the latest amon-ra says not to flash from terminal if using latest cyanogenmod, yet my computer doesn't recognize my device, so I cant use adb.
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
When my phone does not recognize the USB connection I simply reboot my G1 while the USB is is still connected and that seems work for some odd reason.
I had the same problem. All I did was install rom manager, flash the rom manager recovery nothing. From there flash RA- recovery nothing and then did that back and fourth until it worked I also tried flashing it with one click root hope all help. Also tried the terminal. Hope you fine a way. Good luck!!!!!!!
-------------------------------------
Sent via the XDA Tapatalk App

[RECOVERY] Amon RA_v1.7.0.1 for swift

I played a little today and did Amon-Ra recovery for our Swift
This enables us
Partition your sd card to swap, ext2, fat32
Backup NAND + ext
Backup BART
Screen
Files update.zip require slightly different syntax for the script updater-script
Files are available http://forum.android.com.pl/f200/
DOWNLOAD
recovery_ra1.7swift.img
what is it swift?
angelsanges said:
what is it swift?
Click to expand...
Click to collapse
codename lg gt540 Optimus
Good job! Thanks man.
Sent from my GT540 using XDA App
How to install?
Is like clockworkmod: rom with fastboot and then fastboot flash recovery recovery_ra1.7swift.img
bluepower said:
How to install?
Is like clockworkmod: rom with fastboot and then fastboot flash recovery recovery_ra1.7swift.img
Click to expand...
Click to collapse
Yes installation by fastboot
Thanks a lot and wonderful job
so is this better than the clockwork recovery?
will this overwrite clockwork recovery if I already have that installed?
and the most important question:
DOES THIS WORK WITH PS3 JAILBREAK? I heard someone did it with this recovery, I want this to happen with the GT540!!!
I had clockwork now i have amon ra, it will overwrite clockwork when you install it
I've been trying to put this info my phone. But I have a problem.
Phone is ruining in fastboot mode, am typing command in cmd am pressing enter, then my PC reboot :/
Does somebody had the same problem?
__________
Written with Tapatalk on GT540
ZduneX25 said:
Phone is ruining in fastboot mode, am typing command in cmd am pressing enter, then my PC reboot :/
__________
Written with Tapatalk on GT540
Click to expand...
Click to collapse
Why you do that?
- Put your phone on fastboot mode
- Link it to the pc and turn on adb command
type:
fastboot flash recovery recovery_ra1.7swift.img
and you're done
I did this... I wrote I did. After ENTER the command my PC doing a reboot by itself, before apply recovery in my phone.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Is it working now? If it doesn't, download this: http://www.mediafire.com/?07qod3dg208mb30
Then, put the amon ra file in that folder.
- Put your phone on fastboot mode
- Link it to the pc and turn on adb command
type:
fastboot flash recovery recovery_ra1.7swift.img
you can try this method too (i use it)
1) copy recovery_ra1.7swift.img to sdcard
2) download/install some terminal into your phone.
3) run terminal and write :
Code:
#su
#flash_image recovery /sdcard/recovery_ra1.7swift.img
(or when it's not working:)
flash_image recovery recovery_ra1.7swift.img ;
flash_image recovery "/sdcard/recovery_ra1.7swift.img"
also you can to it in adb shell(connected into PC):
Code:
#su
#adb shell flash_image recovery /sdcard/recovery_ra1.7swift.img
or
Code:
#su
#adb shell
#flash_image recovery /sdcard/recovery_ra1.7swift.img
Hope this helps. (for me, it helped, because my computer freezes when using "fastboot flash" commands. )
Am reinstalling SDK and will check.
@hani93 thanks for this tut, it can be very helpful for me, cos my PC freezes too :/
ZduneX25 said:
Am reinstalling SDK and will check.
@hani93 thanks for this tut, it can be very helpful for me, cos my PC freezes too :/
Click to expand...
Click to collapse
no problem.
it should work.
(i googeld it for 4-5 days :S)
now i'm always using this method
I don't have to use fastboot with you method I guess, am I right??
ZduneX25 said:
I don't have to use fastboot with you method I guess, am I right??
Click to expand...
Click to collapse
that's right
just copy recovery image to sdcard (root dictionary) , install some terminal app( in market "terminal emulator" ) and enter commands...
and after that.. when you enter it . and terminal says "flashing recovery" ..or something, and then ends(with new command line)..
something that:
Code:
#su
#flash_image recovery /sdcard/recovery_ra1.7swift.img
flashing recovery...
#
make reboot and hold on home+power, and recovery comes up.
No way, so don't I need rom with fastboot to get recovery?? I just flashed my phone about 2 days ago with ROM+Fastboot to get recovery via fastboot (I lost some data - all angry birds saves).
And you are saying that I could use your method on my previous ROM without Fastboot, am I right??
ZduneX25 said:
No way, so don't I need rom with fastboot to get recovery?? I just flashed my phone about 2 days ago with ROM+Fastboot to get recovery via fastboot (I lost some data - all angry birds saves).
And you are saying that I could use your method on my previous ROM without Fastboot, am I right??
Click to expand...
Click to collapse
yeah...
i'm not sure. that it works with rom what's without fastboot..
but. for me it worked xD

[INFO] ClockworkMod 5.0.2.0 [09-05-11]

Originally posted by Koushik Dutta on Google+:
I've just finished releasing updates to a bunch of devices to ClockworkMod Recovery 5.
Major changes: update from 09.05.11
Fix the fact that some users were loosing root access with 5.0.1.0
Fix menu bug Even if you select no during wipe dalvik cache, it still says it wipes it (it is not actually wiping it, it is just a display bug)
Please update to ROM Manager 4.4.0.3 or higher and try out the new recovery!
Troubleshooting:
Flashing issues: If a recovery does not flash properly, enable erase recovery in settings and try flashing it again. Recovery flashing can be finicky at times.
Bugs: Report them to me! You can always revert back to the older recovery too from within ROM Manager!
Click to expand...
Click to collapse
To flash recovery for Nexus S, download recovery and place it into your sdk tools folder. Reboot into bootloader and execute:
Code:
fastboot flash recovery recovery-clockwork-5.0.2.0-crespo.img
ill try
Sent from my Google Nexus S using XDA Premium App
I'm on it!
Or you can directly flash it from Rom Manager
You can also just put it on SD and flash from terminal then reboot.
Edit- before someone asks
su(press enter)
flash_image recovery /sdcard/5014cw.img(press enter)
reboot recovery(press enter)
Obviously the sdcard/* is whatever you rename the file
sent from my nexus s on a kang from simms
zadnica said:
Originally posted by Koushik Dutta on Google+:
To flash recovery for Nexus S, download recovery and place it into your sdk tools folder. Reboot into bootloader and execute:
Code:
fastboot flash recovery recovery-clockwork-5.0.1.0-crespo.img
Click to expand...
Click to collapse
I wish I would have seen this BEFORE I updated. It kept taking me to bootloader screen!!!!! But I unistalled and installed and finally got it to work!
Sent from my Nexus S using Tapatalk
Hey guys,
Everytime I restore from a backup through Rom Manager with the new recovery, I lose root. Right now, I'm stuck at work and cannot flash a rom, theme, battery mod, etc. I'll go back to 4.0.1.4 as soon as I go home
Am I the only one?
Edit: Found a solution==> Reboot into Recovery, flash su.zip again, and it's all good now!
f.
suhas_sm said:
Or you can directly flash it from Rom Manager
Click to expand...
Click to collapse
doesn't work for me..
I always recommend not using rom manager for anything flashing related, most problems occur for people when they're using rom manager and get fixed when done through recovery or in this case terminal/adb
RevengeITA said:
doesn't work for me..
Click to expand...
Click to collapse
sent from my nexus s on a kang from simms
sinik420 said:
I always recommend not using rom manager for anything flashing related, most problems occur for people when they're using rom manager and get fixed when done through recovery or in this case terminal/adb
Click to expand...
Click to collapse
Code:
fastboot flash recovery recovery-clockwork-5.0.1.0-crespo.img
I prefer my previous post using terminal
zadnica said:
Code:
fastboot flash recovery recovery-clockwork-5.0.1.0-crespo.img
Click to expand...
Click to collapse
sent from my nexus s on a kang from simms
When i try to flash this through android terminal i get a whole bunch of errors saying that its out of memory. Any solutions? I also tried using rom manager and ended up with no recovery instead of a new version
It took me two or three tries through terminal
Robin_216 said:
When i try to flash this through android terminal i get a whole bunch of errors saying that its out of memory. Any solutions? I also tried using rom manager and ended up with no recovery instead of a new version
Click to expand...
Click to collapse
sent from my nexus s on a kang from simms
Robin_216 said:
When i try to flash this through android terminal i get a whole bunch of errors saying that its out of memory. Any solutions? I also tried using rom manager and ended up with no recovery instead of a new version
Click to expand...
Click to collapse
What the errors?
Worked like a charm thanks
Backups are significantly faster, thanks. (Flashed using fastboot)
zadnica said:
What the errors?
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
These are the errors that appear. I however managed to flash it with rom manager after some tries so it works now.
Sent from my Nexus S using XDA App
Robin_216 said:
These are the errors that appear. I however managed to flash it with rom manager after some tries so it works now.
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
I had the same issue. What helped for me was (in Terminal) :
su
mount -o rw,remount /dev/block/mtdblock3 /system
chmod 755 /system/bin/flash_image (wait for a minute)
(Reboot if the next step didn't work)
flash_image recovery /sdcard/RECOVERY.img
Click to expand...
Click to collapse
If I use the latest one, can I boot into recovery by using Rom manager? Will Rom manager detect my latest clockworkmod?
Accidentally sent from my Nexus S using XDA Premium App
Strangely, *immediately* after flashing the new recovery, I have begun to experience the Nexus S Google Voice Search bug. In the two months I've had the phone, this never happened - not even once.
This was with a two week old CM nightly, and a Matrix kernel.
Regardless - I'm hoping we'll start to see 2.3.6 kernels/roms come out soon which will fix it permanently. I'm just shocked that this issue popped up immediately after flashing the updated Clockwork.

Partitions not mounting @boot

Hey Guys,
first off i had this issue once before, but in that case i could restore a cwm backup from sd card and after sometime the problem fixed itself,
this time, i switched to bacon and i wanted to prepare the p880 for my sister to use, i downloaded zaiben, formatted my external sd card and put the rom on it, i rebooted to recovery wiped( i used the clean to install new rom in philz recovery if i remember correctly) everything and flashed the rom and exactly as last time, the flash seems to go way too fast and ofc i cant boot into android. now as i formatted my sd i have no backup to restore to. kdz flashing seems hopeless as well, as none of the tools recognize the phone when i put it in s/w upgrade mode,
for proof: i checked /system with aromafm and found it being empty after flashing a rom, i even tried extracting the rom zip on sd and moving the content from the zip to /system manually but after a recovery reboot, /system was empty again( only empty "bin" folder)
is somebody able to explain me why i have this issue and maybe how to fix it, or upload a clean cwm backup of whatever rom for me to use?
thx
Thanks for the help until now, really.......
In Further investigation i could find out that Roms ARE actually flashing properly, but /system and probably other partitions are not being mounted
At Boot or in recovery(manually mounting works Here) which is why aromafm reports an empty /system, after a manual Mount in either recovery itself of Aroma console i can See /system being filled with Rom files, now i will change the thread title accordingly, and now ASK: can i force /system to be mounted at Boot somehow? Someone pls answer this time
Okay this is ridicoulous.... why am i getting no help AT ALL?, thank you srsly.....
i investigated even further and suspected that something with fstab might be wrong, but fstab file looks fine to me:
Code:
/dev/block/platform/sdhci-tegra.3/by-name/CAC /cache ext4 rw
/dev/block/platform/sdhci-tegra.3/by-name/UDA /data ext4 rw
/dev/block/platform/sdhci-tegra.3/by-name/APP /system ext4 rw
if someone bothers to answer: what do you think?
pls help........
bump
please help
What recovery are you using? Are you sure your partitions aren't formatted to F2FS? (which would explain why the (F2FS-) recovery can mount the partitions but the system cannot as it expects an ext4 formatted partition rather than a F2FS formatted one)
i'm using an older version of philz touch (i dont think it has f2fs functionality), as i had weird flickering issues with latest philz,
using cat /proc/mounts shows ext4 for /system and other partitions
~MaX~ said:
i'm using an older version of philz touch (i dont think it has f2fs functionality), as i had weird flickering issues with latest philz,
using cat /proc/mounts shows ext4 for /system and other partitions
Click to expand...
Click to collapse
Did you try to boot another ROM (Slim, nameless, whatever) or using another kernel?
laufersteppenwolf said:
Did you try to boot another ROM (Slim, nameless, whatever) or using another kernel?
Click to expand...
Click to collapse
i tried latest aospa,zaiben, pa 3.99 and iodak kernel (stock or cm according to the kind of rom i tried to boot)
thank you for helping btw, i appreciate it
EDIT: I attached an image of output of cat /proc/mounts (sorry for the size)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
~MaX~ said:
i tried latest aospa,zaiben, pa 3.99 and iodak kernel (stock or cm according to the kind of rom i tried to boot)
thank you for helping btw, i appreciate it
EDIT: I attached an image of output of cat /proc/mounts (sorry for the size)
Click to expand...
Click to collapse
hmm, can you please grab me a kmsg? (from when it is stuck)
laufersteppenwolf said:
hmm, can you please grab me a kmsg? (from when it is stuck)
Click to expand...
Click to collapse
could you give me a quick how to on using adb in recovery from pc? i put the phone in sideload mode and tried "adb shell dmesg" but the output just was "error close" and using the command in aromafm terminal gave me an endless stream of log
(Also currently need to charge the phone a bit)
EDIT: NVM kmesg incoming....
okay next question, how can i dump the output into a file and how do i know where it hangs? time in recovery is not correct anymore(i set it once but after reboot it was wrong again, also in kmesg the time again seems to be different)
does that part help? i think it has to do with boot
~MaX~ said:
does that part help? i think it has to do with boot
Click to expand...
Click to collapse
nah, I need the entire log
here's how you get it:
boot the system until it is stuck
hard reboot into recovery (don't enter sideload)
then run the following commands:
Code:
adb shell cat /proc/last_kmsg > /sdcard/last_kmsg
adb pull /sdcard/last_kmsg C:\whatever\path\you\like\last_kmsg
then post the file via pastie.com or any other online paste site
laufersteppenwolf said:
nah, I need the entire log
here's how you get it:
boot the system until it is stuck
hard reboot into recovery (don't enter sideload)
then run the following commands:
Code:
adb shell cat /proc/last_kmsg > /sdcard/last_kmsg
adb pull /sdcard/last_kmsg C:\whatever\path\you\like\last_kmsg
then post the file via pastie.com or any other online paste site
Click to expand...
Click to collapse
no such file or directory
by hard reboot you mean vol - and hold power without pulling battery after hang?
~MaX~ said:
no such file or directory
by hard reboot you mean vol - and hold power without pulling battery after hang?
Click to expand...
Click to collapse
Yes, I meant that. But no kernel log seems like your boot partition/kernel is messed up... I guess you'll have to find a way to restore your entire phone via LG tools, I can't see any other way around that..
laufersteppenwolf said:
Yes, I meant that. But no kernel log seems like your boot partition/kernel is messed up... I guess you'll have to find a way to restore your entire phone via LG tools, I can't see any other way around that..
Click to expand...
Click to collapse
two last things then: when i hold vol - and then hold power until i reboot, recovery does not start, it tries to boot android again (has always been like that)
and also: all roms except cm official show no bootanimation before hang, cm does
~MaX~ said:
two last things then: when i hold vol - and then hold power until i reboot, recovery does not start, it tries to boot android again (has always been like that)
and also: all roms except cm official show no bootanimation before hang, cm does
Click to expand...
Click to collapse
1) yeah, I know, easiest way to fix that is to simply pull the battery and then boot into recovery
2) if the bootanimation shows up, it means the kernel as well as the ramdisk have booted properly. So in this case, you should be able to grab a last_kmsg as well as a logcat
hi
today I installed that application " LG-Optimus-4XHD-Recovery-v1.0.apk "
I have selected ClockworkMod Custom Recovery.
It showed that Operation is successful.
than i clicked on "Boot Recovery" to restart my Phone in CloclworkMod Custom Recovery.
since then I am getting only Starting animation. (LG LOGO).
nothing happens.
My battery was full when i performed this procedure
any help please

Categories

Resources