I have a relatively old phone that I would like to make some use of again. It's the GT-I9000, and it's currently stuck in a bootloop.
I'd like to install CyanogenMod on it. I've already flashed it with the CWM, however, I'm experiencing problems when trying to finally put the actual mod on the internal sd card.
First off, when I execute:
adb push cm.zip /sdcard, ADB complains that
/sdcard is a directory... Of course it is!
So, I've tried to be a bit more specific...
adb push cm.zip /sdcard/Videos - I didn't expect any significant change, but there was. It now complained about the permission being denied.
I overcame this on Linux by becoming root, and executed the command again...
Then, it complained about not having enough space...
I used the CWM recovery to navigate internal storage, and noticed that it really was crammed with all my data.
In order to get more space, I tried factory resetting, data wiping, and partitioning. The first two finished successfully, but didn't delete any of my files, and CWM recovery couldn't partition the thing.
After that, I noticed that ADB can provide a shell connection, so I tried
On both Windows and Linux, this is the error:
link_image: 2950 could not load needed library 'libm.so' for '/system/bin/sh' (reserve_mem_region: OOPS: 2950 prelinked library 'libm.so' mapped at 0x40008000, not at 0xafc00000)CANNOT LINK EXECUTABLE
So I suspect it has something to do with my Android phone, not my computers.
And the best thing is: my phone cannot read external cards for some reason. What a great combination!
How can I wipe internal storage without a shell connection?