Coby Kyros MID1042 Problem

mvancil

Member
Aug 25, 2011
114
9
I have a Coby Kyros MID1042 that has a corrupted Superuser.apk

I have attempted to reset to factory and to re-root using ADB. This has failed, because the file already exists and all of the rooting tools (and manual attempts) to copy the file will not overwrite the existing. I am able to boot the tablet as normal and I can access the system recovery, but I cannot use any of the custom roms because they fail signature verification. I cannot upgrade the rom manager because I can't get root.

So....my question is this....does anyone have the stock rom for the MID1042 that will pass signature verification? Or any other rom for that matter that will pass?
 
Last edited:

vampirefo.

Senior Member
Developer
Nov 8, 2011
3,836
1,394
no way it can't work, you are simply do it wrong, post exact commands you are using.
 

mvancil

Member
Aug 25, 2011
114
9
no way it can't work, you are simply do it wrong, post exact commands you are using.

It's absolutely does not work. I do know what I'm doing. The problem is that it will not overwrite any files that already exist, and I cannot erase them without root access. Here's an example of the commands issued...

adb.exe push data /data/local/tmp/
adb.exe shell chmod 0777 /data/local/tmp/mempodroid
adb.exe shell /data/local/tmp/mempodroid 0xd7cc 0xad27 sh /data/local/tmp/root.sh
 

mvancil

Member
Aug 25, 2011
114
9
I also attempted to use the -f flag to force the overwrite, but that doesn't work.
 

mvancil

Member
Aug 25, 2011
114
9
Oh....and the root script...

busybox mount -o remount,rw /system


cd /data/local/tmp
busybox cp su /system/xbin/su
busybox cp reboot-recovery /system/bin/reboot-recovery
chmod 755 /system/bin/reboot-recovery
chown 0:0 /system/xbin/su
chmod 6755 /system/xbin/su
busybox ln -sf /system/xbin/su /system/bin/su


busybox cp Superuser.apk /system/app/Superuser.apk
chown 0:0 /system/app/Superuser.apk
chmod 0644 /system/app/Superuser.apk
 

vampirefo.

Senior Member
Developer
Nov 8, 2011
3,836
1,394
adb shell

su

mount -o remount,rw /system

rm -r /system/app/Superuser.apk
 

mvancil

Member
Aug 25, 2011
114
9
adb server is out of date. killing...
* daemon started successfully *
shell@android:/ $ su
su
Segmentation fault
139|shell@android:/ $ mount -o remount,rw /system


rm -r /system/app/Superuser.apkmount -o remount,rw /system


mount: Operation not permitted
255|shell@android:/ $
255|shell@android:/ $
 

mvancil

Member
Aug 25, 2011
114
9
It was rooted...the files are now corrupted...hence the need for original post.

Unless you know a way to force an overwrite while rooting?
 

vampirefo.

Senior Member
Developer
Nov 8, 2011
3,836
1,394
rooting has nothing to so with Superuser.apk, you must be root before you can even push the Superuser.apk.
 

vampirefo.

Senior Member
Developer
Nov 8, 2011
3,836
1,394
adb push data /data/local/tmp/

adb shell

chmod 0777 /data/local/tmp/mempodroid

/data/local/tmp/mempodroid 0xd7cc 0xad27 sh /data/local/tmp/root.sh

su

$ should now change to #
 
Top