[Q] Problems with factory reset

heinztomato

Member
Feb 15, 2010
21
2
0
Hi there. After changing some Network-Settings on my Ouya and restarting it, it got stuck in a Boot-Loop.

I tried all the different "Recovery-Mode" - Options. First those that require pressing the Print-Screen (With no success)

After using the adb-way (which worked) I understood why the keyboard-method did not work. I CAN enter the recovery- menu but the keys from my keyboard just don't seem to have any effect (I cannot select any option)
I tried different keyboards

So I tried to use adb directly to wipe the data using
Code:
adb shell recovery --wipe_data
But now I receive
"/system/bin/sh: recovery: not found"
Am I missing a step?

(UPDATE) There is a "wipe" in /system/bin allowing parameters "system data all". (but no "sh" folder at all under "system/bin" I tried starting it with "all" but received errors like

rmdir() error on '/system/vendor/firmware' 'Read-only file system'
unlink() error on '/system/vendor/lib/drm/libdrmwvmplugin.so' 'Read-only file sy
stem'
rmdir() error on '/system/vendor/lib/drm' 'Read-only file system'
unlink() error on '/system/vendor/lib/libWVStreamControlAPI_L1.so' 'Read-only fi
le system'
unlink() error on '/system/vendor/lib/libwvdrm_L1.so' 'Read-only file system'
unlink() error on '/system/vendor/lib/libwvm.so' 'Read-only file system'
rmdir() error on '/system/vendor/lib' 'Read-only file system'
rmdir() error on '/system/vendor' 'Read-only file system'
unlink() error on '/system/xbin/bttest' 'Read-only file system'
unlink() error on '/system/xbin/dexdump' 'Read-only file system'
unlink() error on '/system/xbin/iperf' 'Read-only file system'
unlink() error on '/system/xbin/mkntfs' 'Read-only file system'
unlink() error on '/system/xbin/ntfs-3g' 'Read-only file system'
unlink() error on '/system/xbin/ntfsfix' 'Read-only file system'
unlink() error on '/system/xbin/su' 'Read-only file system'
rmdir() error on '/system/xbin' 'Read-only file system'
unlink() error on '/system/recovery-from-boot.bak' 'Read-only file system'
Error opendir'ing /data 'Permission denied'
I would try to run that again as su. but I am quite surprised it tries to delete essential stuff in the xbin-directory (and of course the "read-only" error. To be honest I am not brave enough. :D

Ok. I WAS brave enough to enter "wipe data" as su. Seems to work\o/

I will leave this post, cause others might step into the same problems.
 
Last edited:

heinztomato

Member
Feb 15, 2010
21
2
0
BTW: I know what causes the problem:

Entering a "0" in an IP - Adress. I entered a DNS containing "037". This bricked my Ouya after rebooting. Entering "37" worked :D
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone