• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [Test]NoT WoRkInG![Back to Stock!] Restore Phone via Calibration mode.

Status
Not open for further replies.
Here it is:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Windows\system32>cd c:\sdk

c:\sdk>adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
Coolpad_5860E device


c:\sdk>adb shell mount
rootfs / rootfs rw 0 0
tmpfs /dev tmpfs rw,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
debugfs /debug debugfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mtdblock5 /system yaffs2 ro,relatime 0 0
/dev/block/mtdblock6 /data yaffs2 rw,nosuid,nodev,relatime 0 0
/dev/block/mtdblock7 /cache yaffs2 rw,nosuid,nodev,relatime 0 0
/dev/block/mmcblk0p2 /data/sdext2 ext4 rw,relatime,barrier=1,data=ordered 0 0

c:\sdk>
 
the problem isnt flash_image it has to be the recovery.img...hmm we need to get it off a reliable source...
 
I was wondering about that. I think the same img has been thru CWM builder and Playful God did a repack of stock img and all failed installation.
 
OK used Android Control to copy your flash_image to /system/bin
copied stock recovery.img to /data/local (Tried /system/bin 1st)

Ran this:

C:\sdk>adb shell
$ su
su
# mount -o rw,remount -t auto Coolpad_5860E /system
mount -o rw,remount -t auto Coolpad_5860E /system
# chmod 777 /system/bin/flash_image
chmod 777 /system/bin/flash_image
# chmod 777 /system/bin/recovery.img
chmod 777 /system/bin/recovery.img
Unable to chmod /system/bin/recovery.img: No such file or directory
# chmod 777 /system/bin/recovery.img
chmod 777 /system/bin/recovery.img
Unable to chmod /system/bin/recovery.img: No such file or directory
# chmod 777 /data/local/recovery.img
chmod 777 /data/local/recovery.img
# ^C
C:\sdk>adb shell flash_image recovery /data/local/recovery.img
[1] Segmentation fault flash_image reco...

C:\sdk>

Don;t know if that helps???

Also if I'm su, do I have to leave su to flash? Could iI run:

flash_image recovery /data/local/recovery.img (as su)?

or does it have to be:
adb shell flash_image recovery /data/local/recovery.img

Thanks again
 
Tried this with a different flash_image file:

C:\sdk>adb shell
$ su
su
# mount -o rw,remount -t auto Coolpad_5860E /system
mount -o rw,remount -t auto Coolpad_5860E /system
# chmod 777 /system/bin/flash_image
chmod 777 /system/bin/flash_image
# chmod 777 /data/local/recovery.img
chmod 777 /data/local/recovery.img
# ^C
C:\sdk>adb shell flash_image recovery /data/local/recovery.img
error writing recovery: Permission denied

C:\sdk>
 
OK... Got it! After the segmentation error I did this:

C:\sdk>adb devices
List of devices attached
Coolpad_5860E device


C:\sdk>mount -o rw,remount -t auto Coolpad_5860E /system
'mount' is not recognized as an internal or external command,
operable program or batch file.

C:\sdk>adb shell
$ su
su
# mount -o rw,remount -t auto Coolpad_5860E /system
mount -o rw,remount -t auto Coolpad_5860E /system
# chmod 777 /system/bin/flash_image
chmod 777 /system/bin/flash_image
# chmod 777 /data/local/recovery.img
chmod 777 /data/local/recovery.img
# flash_image recovery /data/local/recovery.img
flash_image recovery /data/local/recovery.img
# ^C
C:\sdk>adb reboot

#1 ^^ Above reboot hangs at "Recovery mode..." screen. (Note, try pullng battery and boot normal, may work.)
If not then try:

C:\sdk>adb devices
List of devices attached
Coolpad_5860E device


C:\sdk>adb shell
$ su
su
# mount -o rw,remount -t auto Coolpad_5860E /system
mount -o rw,remount -t auto Coolpad_5860E /system
# chmod 777 /system/bin/flash_image
chmod 777 /system/bin/flash_image
# chmod 777 /data/local/recovery.img
chmod 777 /data/local/recovery.img
# ^C
C:\sdk>adb shell flash_image recovery /data/local/recovery.img
error writing recovery: Permission denied

C:\sdk>

#2 ^^ Above returned error message, but pulled battery and tried normal boot and it worked.

YAY! Unbricked One of the 2 worked, not sure which as I didn't pull battery after reboot from #1
 
whoa so it throws an error but it flashes completely!? need to update guide! plz confirm this works again(unless it was luck and end up softbricked)
 
I'll post more if needed on how I did this. Posting this now while its fresh for some mental notes:

#1 13k version flash_image binary from zimlokks.

#2 Use command prompt to start adb server... not the one in the GUI, it's outdated.
Start shell, go su

#3 Copy files from PC to Phone using v.1.3.1 Android Control altered with 64bit sdk tool's adb.exe and fastboot.exe (I used 64bit 'cause I'm on Win7-64, if you are on 32bit use those. I would replace the ones in the GUI since the adb server is outdated, the .exe's might be as well.)

Copied 13k flash_image to /system/bin/
Copied stock recovery.img to /data/local/

Android Control is here:
http://forum.xda-developers.com/showthread.php?t=1049102
Don't use the Download button... I got a bunch of popups from somewhere during all my searching and lost some taskbar icons along the way. XDA has some direct downloads attached near the bottom of the page. Ultimately, if I knew how to use a console better, I could have just copied the files in adb shell.

#4 Return to cmd prompt for mount, chmod and flash.

Yea, I was softbricked I guess. Was hanging at Recovery mode screen but could boot to Calibration. Like I posted, it may have been #1 that worked. It still hung in recovery mode but I didn't try pulling the battery after I flashed. #2 returned an error, but I pulled the battery after and tried a normal boot and it worked.

I don't really want to attempt another flash until someone gets a working custom recovery.:)
I'm really just posting what I did to maybe help some other softbricked members out there.
 
I'll post more if needed on how I did this. Posting this now while its fresh for some mental notes:

#1 13k version flash_image binary from zimlokks.

#2 Use command prompt to start adb server... not the one in the GUI, it's outdated.
Start shell, go su

#3 Copy files from PC to Phone using v.1.3.1 Android Control altered with 64bit sdk tool's adb.exe and fastboot.exe (I used 64bit 'cause I'm on Win7-64, if you are on 32bit use those. I would replace the ones in the GUI since the adb server is outdated, the .exe's might be as well.)

Copied 13k flash_image to /system/bin/
Copied stock recovery.img to /data/local/

Android Control is here:
http://forum.xda-developers.com/showthread.php?t=1049102
Don't use the Download button... I got a bunch of popups from somewhere during all my searching and lost some taskbar icons along the way. XDA has some direct downloads attached near the bottom of the page. Ultimately, if I knew how to use a console better, I could have just copied the files in adb shell.

#4 Return to cmd prompt for mount, chmod and flash.

Yea, I was softbricked I guess. Was hanging at Recovery mode screen but could boot to Calibration. Like I posted, it may have been #1 that worked. It still hung in recovery mode but I didn't try pulling the battery after I flashed. #2 returned an error, but I pulled the battery after and tried a normal boot and it worked.

I don't really want to attempt another flash until someone gets a working custom recovery.:)
I'm really just posting what I did to maybe help some other softbricked members out there.
I've been bricked for a month now, I see you got yours back to stock but if you can post a full guide on how you did it with every single detail that would be helpful because right now im not understanding much..
 
guys i will update this guide(hopefully with ahdunno's help) with full instructions...im on Tapatalk and its hard to edit thingz on here...ill edit and publish y the weekend! sorry guys
 
Status
Not open for further replies.
Back
Top Bottom