How-To repair your bootloader after using the 2.1 RUU
1. Make sure you have the Android SDK installed. Read HERE for more info.
2. Download 4shared.com - online file sharing and storage - download flash_image.zip
3. Download 4shared.com - online file sharing and storage - download recovery-RA-heroc-v1.5.2.img
4. Unzip the first file, and place both in your Android SDK/tools folder.
5. Make sure USB debugging is ON
6. Connect your phone to the PC
7. Open the command window and navigate to the Android-sdk/tools folder on your computer.
8. At the prompt enter the following, one line at a time followed by enter
adb shell su mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system exit exit adb push flash_image /system/bin adb push recovery-RA-heroc-v1.5.2.img /sdcard adb shell chmod 0755 /system/bin/flash_image reboot
adb shell su cd /sdcard flash_image recovery recovery-RA-heroc-v1.5.2.img reboot recovery
Last edited by Jerry Hildenbrand; 04-11-2010 at 05:43 PM.ಠ_ಠ
- 04-11-2010, 02:19 PM #2
- 04-11-2010, 02:24 PM #3
- 04-11-2010, 02:41 PM #4
- 04-11-2010, 03:32 PM #6
Yeah it's there, I think the real error here is the fact that when I tried to push it, I got a "Read Only" error, so I manually put the file on the SD card..
EDIT: So yeah, the only problem that I seem to be having at this point is the fact that flash_image cannot see the .img file on my SD card..
Last edited by spatel14; 04-11-2010 at 03:41 PM.
does /system/bin/flash_image exist?
Did you get any error when you tried to chmod /system/bin/flash_image?
(Making sure the program to flash it got copied over correctly)
from the adb shell
does /sdcard/recovery-RA-heroc-v1.5.2.img exist?
(Making sure the recovery image is in the right place)ಠ_ಠ
- 04-11-2010, 03:43 PM #8
No, I didn't get any errors. Basically, I got through the entire process but when I get to flash_image recovery recovery-..., it doesn't see the file on my SD card.. And the .img is on my SD card, I am seeing it on my card right now.
EDIT: so when I do /sdcard/recovery-RA-heroc-v1.5.2.img, it says not found. So what I did was completely remove the .img from my SD card and try the push again, and when I tried the adb push line to copy the .img to the card, I got a read-only error.
Last edited by spatel14; 04-11-2010 at 03:47 PM.
unplug phone from PC
Plug phone back in to pc
check to be sure you have it set as charge only (not as a disk) from the pull down bar.
adb shell cd /sdcard mkdir test
The settings when you hook your phone to the PC have changed. Double check that the phone is set to charge only. If this does not work, we can push the image to /data/local/ and skip the sd card completely.ಠ_ಠ
- 04-11-2010, 04:05 PM #10
- 04-11-2010, 04:09 PM #12
- 04-11-2010, 04:11 PM #14
- 04-11-2010, 04:19 PM #15
- 04-11-2010, 04:21 PM #16
- 04-11-2010, 04:23 PM #17
- 04-11-2010, 04:26 PM #19
- 04-11-2010, 04:27 PM #20
- 04-11-2010, 04:28 PM #21
I was in the same boat you were, trust me, it's not hard at all, just make sure you follow the directions down to the last period!
Last edited by spatel14; 04-11-2010 at 04:30 PM.
- 04-11-2010, 04:35 PM #22
- 04-11-2010, 04:36 PM #23
- 3,808 Posts
Get familiar with the recovery after doing so, like nand-backups (makes a bootable backup at a set point and time), nand-restore (how you would go back after said bootable backup), usb toggle (just in case you forgot to add a file or put it in the wrong directory, or need to back up your SD card before you partition but are already in recovery mode), Wipe (clears all data/settings on phone, EXT partition (you apps if you use A2SD) and Dalvik), Flash (heres where you flash your custom ROM). It sounds like a lot, but it really isn't once you see it.
- 04-11-2010, 04:39 PM #24
- 04-11-2010, 04:41 PM #25