CM9 for Coby 9740 + New Recovery

dukkha67

Member
Oct 13, 2013
11
0
Back then I did it on windows, one of those one-click root.
$one-click-root-android.jpg

No idea about the recovery. I didn't do any system dump and never got clockworked. Now I know that was such a terrible idea.
 

vampirefo.

Senior Member
Developer
Nov 8, 2011
3,836
1,394
post output of lsmod, I want to see if you have nand lock on your tablet.
 

dukkha67

Member
Oct 13, 2013
11
0
OK here you go

dukkha-post@Dukkha-Ubuntu:~$ adb shell
shell@android:/ $ su
shell@android:/ # lsmod
rtl8150 8910 0 - Live 0xbf0ad000
mcs7830 6557 0 - Live 0xbf0a7000
qf9700 8513 0 - Live 0xbf0a0000
asix 22500 0 - Live 0xbf095000
usbnet 23745 3 mcs7830,qf9700,asix, Live 0xbf089000
mma7660 5671 0 - Live 0xbf083000
sun4i_csi0 26905 0 - Live 0xbf078000
gc0308 14124 1 - Live 0xbf070000
videobuf_dma_contig 5659 1 sun4i_csi0, Live 0xbf06b000
videobuf_core 18067 2 sun4i_csi0,videobuf_dma_contig, Live 0xbf061000
mali 130387 4 - Live 0xbf034000
ump 42254 5 mali, Live 0xbf023000
gt8110_2plus1 17705 0 - Live 0xbf01a000
gt801_2plus1 22840 0 - Live 0xbf010000
sun4i_vibrator 2278 0 - Live 0xbf000000
shell@android:/ #

Btw, thanks for all this time you are having helping me. Appreciate it!
 
Last edited:

vampirefo.

Senior Member
Developer
Nov 8, 2011
3,836
1,394
copy and paste below in a text document name it install-recovery.sh



Code:
#!/system/bin/sh

echo -n boot-recovery | busybox dd of=/dev/block/nandf count=1 conv=sync; sync; reboot

busybox mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak

adb shell

su

busybox mount -o remount,rw /system

in another terminal

adb push /install-recovery.sh /system/etc/install-recovery.sh

in first terminal

chmod 755 /system/etc/install-recovery.sh

reboot
 

dukkha67

Member
Oct 13, 2013
11
0
Mate I tried that, after the busybox mount, in another terminal window and says...


|1st terminal|

dukkha-post@Dukkha-Ubuntu:~$ adb shell
shell@android:/ $ su
shell@android:/ # busybox mount -o remount,rw /system
shell@android:/ #


|2nd terminal|
dukkha-post@Dukkha-Ubuntu:~$ adb push /home/dukkha-post/install-recovery.sh /system/etc/install-recovery.sh
failed to copy '/home/dukkha-post/install-recovery.sh' to '/system/etc/install-recovery.sh': Permission denied
dukkha-post@Dukkha-Ubuntu:~$ adb shell
127|shell@android:/ $ su
shell@android:/ # adb push /home/dukkha-post/install-recovery.sh /system/etc/install-recovery.sh
error: device not found
1|shell@android:/ #


dukkha-post@Dukkha-Ubuntu:~$ adb push install-recovery.sh /system/etc/
failed to copy 'install-recovery.sh' to '/system/etc//install-recovery.sh': Permission denied
dukkha-post@Dukkha-Ubuntu:~$ adb shell
shell@android:/ $ su
shell@android:/ # adb push install-recovery.sh /system/etc/
error: device not found
1|shell@android:/ #



No luck yet :(
 
Last edited:

tpaine

Senior Member
Aug 18, 2012
525
130
Are you sure you have the file install-recovery.sh created ? You might try to push another known file.
 
Last edited:

dukkha67

Member
Oct 13, 2013
11
0
Yes, I even tried making it to another location, same result. I re-made the file and put it in different folders: not working.
 

vampirefo.

Senior Member
Developer
Nov 8, 2011
3,836
1,394
Well if you can't write to system either, then there is nothing else I can think of.

Sent from my SPH-D710 using Android Tablet
 

dukkha67

Member
Oct 13, 2013
11
0
It's ok. I'll try it again sometimes but I believe the tablet is in limbo so it won't come back. Thank you a lot for you help mate!!
 

iCameronRB

Member
Oct 25, 2013
19
0
Shouldn't be too hard, The Hard part was porting from Aurora/Elf to Coby, I had to compile the libs, and wifi files, But This should be able to be ported to any Coby allwinner.
I am on my way to work, I work nights right now.

Anyway download the rom open the zip, delete /system/vendor /system/usr /system/etc/camera.cfg /system/lib/hw/camera.exDroid.so
/system/lib/hw/sensors.exDroid.so /system/lib/hw/lights.sun4i.so

Now replace the above files and or folders with your own 9742 files and folders.

The next thing most likely add the 180 rotation to build.prop

You then would need to edit the boot.img add your kernel. If you upload your kernel I will do it for you when I can.

From here we see how the rom runs on your 9742, if not working well add more files from /system/lib/hw

I'm gonna ask an extremely newb and possibly stupid question. Can I just drag and drop the boot.img from my dump into the zip file and delete the cm9_boot.img?
 

iCameronRB

Member
Oct 25, 2013
19
0
Ok, so I take that as a no. Glad I read this in time. Was close to trying it since I always restore different boot images on other roms on my phone, I figured it would be the same for a tablet.
 

vampirefo.

Senior Member
Developer
Nov 8, 2011
3,836
1,394
CM 9 CM 10 and so on need a certain boot.img to work, it's different from stock boot.img.

Sent from my Coby MID7065 Android Tablet
 

paulwalter824

Member
Oct 17, 2013
14
4
I installed this Cm9 on my tablet with clockwork and now my tablet works great! including the locations services
thanks for all your work.
 

vampirefo.

Senior Member
Developer
Nov 8, 2011
3,836
1,394
I installed this Cm9 on my tablet with clockwork and now my tablet works great! including the locations services
thanks for all your work.

Glad it's working well for you.

Sent from my SPH-D710 using Android Tablet
 
Top