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.
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 04:43 PM.ಠ_ಠ
- 04-11-2010, 01:19 PM #2
- 04-11-2010, 01:24 PM #3
- 04-11-2010, 01:41 PM #4
- 04-11-2010, 02: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 02: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, 02: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 02: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, 03:05 PM #10
- 04-11-2010, 03:09 PM #12
- 04-11-2010, 03:11 PM #14
- 04-11-2010, 03:19 PM #15
- 04-11-2010, 03:21 PM #16
- 04-11-2010, 03:23 PM #17
- 04-11-2010, 03:26 PM #19
- 04-11-2010, 03:27 PM #20
- 04-11-2010, 03: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 03:30 PM.
- 04-11-2010, 03:35 PM #22
- 04-11-2010, 03:36 PM #23
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, 03:39 PM #24
- 04-11-2010, 03:41 PM #25