Stuck in CWM recovery. -Without root

ah, I forgot, flash_eraseall is only included in xionia recovery itself.
wait. I'll try to find it.
get flash_eraseall <here>
put it in the same directory as adb.
copy and paste this whole block of code in your command prompt instead of the one in the other thread:
Code:
adb push flash_eraseall /sbin/
adb shell flash_eraseall /dev/mtd/mtd8
adb reboot recovery
let me know if it works.

could you possibly provide a different link 4shared dont seem to work for me..
ignore that i got it downloaded.. trying it now
 
ok, lots of people gripe about 4shared, but it's always worked for me.
download the attachment and remove the .zip extension. It's not really a zip file, but you can't attach files here on AC with no extension. Pfui.
 

Attachments

it takes perfect timing to get this to work.

you can also try
Code:
adb kill-server
and connect the phone again.
Then try this.
Code:
adb wait-for-device
adb push flash_eraseall /sbin/
adb shell flash_eraseall /dev/mtd/mtd8
adb reboot recovery
 
C:\Users\jezzie\Desktop\adt-bundle-windows-x86_64-20130522\adt-bundle-windows-x8
6_64-20130522\sdk\platform-tools>adb push flash_eraseall /sbin/
4029 KB/s (74273 bytes in 0.018s)

C:\Users\jezzie\Desktop\adt-bundle-windows-x86_64-20130522\adt-bundle-windows-x8
6_64-20130522\sdk\platform-tools>adb shell flash_eraseall /dev/mtd/mtd8
/sbin/sh: flash_eraseall: Permission denied

C:\Users\jezzie\Desktop\adt-bundle-windows-x86_64-20130522\adt-bundle-windows-x8
6_64-20130522\sdk\platform-tools>adb reboot recovery

I think i got the timing right this time but this is what i got
 
closer!
try this.
Code:
adb wait-for-device
adb shell mount -o remount,rw / /
adb push flash_eraseall /sbin/
adb shell flash_eraseall /dev/mtd/mtd8
adb reboot recovery
the wait-for-device line should take care of the timing issue.
 
tried the new one and this is what i got

C:\Users\jezzie\Desktop\adt-bundle-windows-x86_64-20130522\adt-bundle-windows-x8
6_64-20130522\sdk\platform-tools>adb kill-server

C:\Users\jezzie\Desktop\adt-bundle-windows-x86_64-20130522\adt-bundle-windows-x8
6_64-20130522\sdk\platform-tools>adb wait-for-device
* daemon not running. starting it now on port 5037 *
* daemon started successfully *

And its still looping
 
push <CTRL><C> to stop adb wait-for-device
type
Code:
adb root
to restart adb
and try this again.
Code:
adb wait-for-device
adb shell mount -o remount,rw / /
adb push flash_eraseall /sbin/
adb shell flash_eraseall /dev/mtd/mtd8
adb reboot recovery
 
maybe.
but I forgot that even in recovery, / is mounted ro.
and since recovery is all ramdisk, it has to be pushed after every reboot since it won't stick through a reboot.
 
push <CTRL><C> to stop adb wait-for-device
type
Code:
adb root
to restart adb
and try this again.
Code:
adb wait-for-device
adb shell mount -o remount,rw / /
adb push flash_eraseall /sbin/
adb shell flash_eraseall /dev/mtd/mtd8
adb reboot recovery

it says adbd is already on root then adb doesnt seem to respond after the wait-for-device command
 
ok, you'll have to ditch the wait-for-device command and try to time it right instead.
Code:
adb shell mount -o remount,rw / /
adb push flash_eraseall /sbin/
adb shell flash_eraseall /dev/mtd/mtd8
adb reboot recovery
I was hoping it'd co-operate with the easier way.
 
ok, you'll have to ditch the wait-for-device command and try to time it right instead.
Code:
adb shell mount -o remount,rw / /
adb push flash_eraseall /sbin/
adb shell flash_eraseall /dev/mtd/mtd8
adb reboot recovery
I was hoping it'd co-operate with the easier way.

i got this.. dunno why permission is denied

C:\Users\jezzie\Desktop\adt-bundle-windows-x86_64-20130522\adt-bundle-windows-x8
6_64-20130522\sdk\platform-tools>adb shell mount -o remount,rw / /

C:\Users\jezzie\Desktop\adt-bundle-windows-x86_64-20130522\adt-bundle-windows-x8
6_64-20130522\sdk\platform-tools>adb push flash_eraseall /sbin/
1813 KB/s (74273 bytes in 0.040s)

C:\Users\jezzie\Desktop\adt-bundle-windows-x86_64-20130522\adt-bundle-windows-x8
6_64-20130522\sdk\platform-tools>adb shell flash_eraseall /dev/mtd/mtd8
/sbin/sh: flash_eraseall: Permission denied

C:\Users\jezzie\Desktop\adt-bundle-windows-x86_64-20130522\adt-bundle-windows-x8
6_64-20130522\sdk\platform-tools>adb reboot recovery
 
ok, vector84an was correct.
Code:
adb shell mount -o remount,rw / /
adb push flash_eraseall /sbin/
adb shell chmod 755 /sbin/flash_eraseall
adb shell flash_eraseall /dev/mtd/mtd8
adb reboot recovery
it is such a PITA trying to do tech support through the forums, but this way everybody can see how do do things and what can go wrong...

the flash_eraseall on 4shared wasn't chmod'ed before uploading.
the attachment in this thread is.
I'll fix the 4shared upload but its link will probably change.
 
ok, vector84an was correct.
Code:
adb shell mount -o remount,rw / /
adb push flash_eraseall /sbin/
adb shell chmod 755 /sbin/flash_eraseall
adb shell flash_eraseall /dev/mtd/mtd8
adb reboot recovery
it is such a PITA trying to do tech support through the forums, but this way everybody can see how do do things and what can go wrong...

the flash_eraseall on 4shared wasn't chmod'ed before uploading.
the attachment in this thread is.
I'll fix the 4shared upload but its link will probably change.

got /dev/mtd/mtd8: no such file directory this
time
 
C:\Users\jezzie\Desktop\adt-bundle-windows-x86_64-20130522\adt-bundle-windows-x8
6_64-20130522\sdk\platform-tools>adb shell mount -o remount,rw / /

C:\Users\jezzie\Desktop\adt-bundle-windows-x86_64-20130522\adt-bundle-windows-x8
6_64-20130522\sdk\platform-tools>adb push flash_eraseall /sbin/
3296 KB/s (74273 bytes in 0.022s)

C:\Users\jezzie\Desktop\adt-bundle-windows-x86_64-20130522\adt-bundle-windows-x8
6_64-20130522\sdk\platform-tools>adb shell chmod 755 /sbin/flash_eraseall

C:\Users\jezzie\Desktop\adt-bundle-windows-x86_64-20130522\adt-bundle-windows-x8
6_64-20130522\sdk\platform-tools>adb shell flash_eraseall /dev/mtd/mtd8
flash_eraseall: /dev/mtd/mtd8: No such file or directory

C:\Users\jezzie\Desktop\adt-bundle-windows-x86_64-20130522\adt-bundle-windows-x8
6_64-20130522\sdk\platform-tools>adb reboot recovery

C:\Users\jezzie\Desktop\adt-bundle-windows-x86_64-20130522\adt-bundle-windows-x8
6_64-20130522\sdk\platform-tools>
 

Trending Posts

Forum statistics

Threads
956,398
Messages
6,968,082
Members
3,163,539
Latest member
kimlien