ClockworkMod Recovery with Touch Support for Allwinner A10-based Tablet

Yet, CWM obviously is trying to backup on internal sdcard - because it fails due to insufficient space - rebooting after failed backup, shows 0byte free on internal sdcard
Is there way to force CWM to create backup on external sdcard?

The CWM function work properly only if you rom partition structure is exactly the same as my tablet. In all the cases that I have encountered, it seem to be the same.

You can use ADB to provide a copy of your /init.sun4i.rc and /etc/vold.fstab so that I can verify if its indeed the same.

I suggest that you read up more(google is your best friend) on CWM to understand which option is use to backup via internal or external sd.
 
vold.fstab:
Code:
dev_mount sdcard /mnt/sdcard auto /devices/virtual/block/nandh
dev_mount extern_sd /mnt/extern_sd auto /devices/platform/awsmc.1/mmc_host /devices/platform/awsmc.0/mmc_host
dev_mount usbhost1 /mnt/usbhost1 auto /devices/platform/sw-ehci.1 /devices/platform/sw_hcd_host0 /devices/platform/sw-ehci.2

keyboard mapping:
Code:
key 102 HOME WAKE
key 115 BACK WAKE
key 114 MENU WAKE_DROPPED
key 1   VOLUME_UP 
key 11   VOLUME_DOWN

Also founf last_log - log from last attempt to backup. It starts with:
Code:
Starting recovery on Wed Aug 22 19:07:57 2012framebuffer: fd 4 (800 x 480)
CWM-based Recovery v5.0.2.8
recovery filesystem table
=========================
  0 /tmp ramdisk (null) (null)
  1 /boot ext4 /dev/block/nandb (null)
  2 /cache ext4 /dev/block/nandg (null)
  3 /data ext4 /dev/block/nandd (null)
  4 /misc emmc /dev/block/nande (null)
  5 /sdcard vfat /dev/block/nandh (null)
  6 /recovery ext4 /dev/block/nandf (null)
  7 /sd-ext auto /dev/block/mmcblk0p2 (null)
  8 /system ext4 /dev/block/nandc (null)


W:Unable to get recovery.fstab info for /datadata during fstab generation!
W:Unable to get recovery.fstab info for /emmc during fstab generation!
I:Completed outputting fstab.
I:Processing arguments.
I:Checking arguments.
I:device_recovery_start()
Command: "/sbin/recovery"


ro.secure=0
ro.allow.mock.location=0
ro.debuggable=0
persist.service.adb.enable=1
ro.factorytest=0
ro.serialno=
ro.bootmode=unknown
ro.baseband=unknown
ro.carrier=unknown
ro.bootloader=unknown
ro.hardware=sun4i
ro.revision=0
init.svc.recovery=running
init.svc.adbd=running


I:Checking for extendedcommand...
I:Skipping execution of extendedcommand, file not found...
SD Card space free: 738MB
Backing up boot...
gc0308.kortl8150.konano_if.kogoodix_touch.kovideobuf-dma-contig.kodisp.kousbnet.kosun4i-

ends with
Code:
l.....
09Backing up .android_secure...tar: write error: No space left on device
fishnoodle.aquarium-1.aseccom.kkapp.rom-1.aseccom.facebook.katana-1.aseccom.opera.browser-2.aseccom.jabu.nailsalon-2.aseccom.wOneDirectionWorld-1.aseccom.bejoy.minipaint-1.aseccm.aptoide.pt-1.aseccom.natenai.artofglow-1.asecError while making a backup image of /sdcard/.android_secure!


Will add init.sun4i.rc in 5 minutes
 
init.sun4i.rc:
Code:
#try to mount /data
mount ext4 /dev/block/nandd /data wait noatime nodev barrier=0
setupfs /dev/block/nandd
umount /data
exec /system/bin/logwrapper
.....
#try to mount /cache
mount ext4 /dev/block/nandg /cache wait noatime nodev barrier=0
setupfs /dev/block/nandg
mount ext4 /dev/block/nandg /cache wait noatime nodev barrier=0
format_userdata crane-evb
 
I'm with GB 2.3.6

After uninstalling several apps, I was able to do full backup ;)
I guess the issue is that simply my partition structure is a bit different and CWM version doesn't find extern_sd
Also, my 4GB internal sdcard is partitioned such that "internal phone" has 1GB and "internal sdcard" has 2.2GB

Is it possible to add option to manually configure sdcard/extern_sd partitions? ie to manualy enter what to mount?

PS: Just to clarify my understanding of Android labels:

internal phone memory = part of internal sdcard which is used for "internal phone storage"
sdcard = internal sdcard, which is part of the tablet/phone
extern_sd = external plug-into-sdhc-slot card
 
Last edited:
I'm with GB 2.3.6

After uninstalling several apps, I was able to do full backup ;)
I guess the issue is that simply my partition structure is a bit different and CWM version doesn't find extern_sd
Also, my 4GB internal sdcard is partitioned such that "internal phone" has 1GB and "internal sdcard" has 2.2GB

Is it possible to add option to manually configure sdcard/extern_sd partitions? ie to manualy enter what to mount?

PS: Just to clarify my understanding of Android labels:

internal phone memory = part of internal sdcard which is used for "internal phone storage"
sdcard = internal sdcard, which is part of the tablet/phone
extern_sd = external plug-into-sdhc-slot card

which cwm did you installed? the one from kkromkit or kkromkit9?
 
kkromkit, afaik romkit9 is for ICS based roms?
ALso, installed as "Teclast" - as I have no idea the difference between 3 options I guessed first choice is best :D
 
kkromkit, afaik romkit9 is for ICS based roms?
ALso, installed as "Teclast" - as I have no idea the difference between 3 options I guessed first choice is best :D

Yes, kkromkit is only for ics rom so presumably you did install kkromkit?

I am only working on the recovery for ICS. No time to work on so many version unfortunately.
 
Looking at log/info I provided, do you at least see explanation why CWM is making the backup at sdcard and not on extern_sd ?
 
Looking at log/info I provided, do you at least see explanation why CWM is making the backup at sdcard and not on extern_sd ?

offhand I cant tell since there is some different btw CWM 5.0 and 5.5 and I am working on 5.5 at moment.
 
Hi all,

Nice project here.:D

I was wondering if somebody would have a cwm touch version for Ainol Aurora/Elf tablet.

Thanks in advance.
 
Hello. Just got a SkyTex Gemini. The KKRomkit 9 v1.00 installed and does reboot using either volume or power (only physical buttons), but looks like it uses the ft5x_ts touch screen driver, so no touch while in CWM. I thought I saw something on here with the proper driver, but can't find.

ft5x_ts.ko

Here is my lsmod output:
nano_ksdio 8580 0 - Live 0xbf1de000
nano_if 551660 1 nano_ksdio, Live 0xbf138000
bma250 6834 0 - Live 0xbf132000
8192cu 566489 0 - Live 0xbf08c000
mcs7830 6557 0 - Live 0xbf086000
qf9700 8513 0 - Live 0xbf07f000
asix 22500 0 - Live 0xbf074000
usbnet 23745 3 mcs7830,qf9700,asix, Live 0xbf068000
sun4i_csi0 26905 0 - Live 0xbf05d000
hm2055 16288 1 - Live 0xbf055000
videobuf_dma_contig 5659 1 sun4i_csi0, Live 0xbf050000
videobuf_core 18067 2 sun4i_csi0,videobuf_dma_contig, Live 0xbf046000
mali 130083 8 - Live 0xbf019000
ump 42006 9 mali, Live 0xbf008000
ft5x_ts 15296 0 - Live 0xbf000000

sun4i-keyboard.kl (edited because I forgot the cat)
cat /system/usr/keylayout/sun4i-keyboard.kl
key 102 HOME WAKE
key 1 BACK WAKE
key 139 MENU WAKE_DROPPED
key 115 VOLUME_UP
key 114 VOLUME_DOWN
If you need the actual touch and keyboard files, let me know. Would love to be able to use CWM. I have installed regular CWM, but the volume doesn't move the selector.

Thanks for all of your hard work.
 
Last edited:
Hello. Just got a SkyTex Gemini. The KKRomkit 9 v1.00 installed and does reboot using either volume or power (only physical buttons), but looks like it uses the ft5x_ts touch screen driver, so no touch while in CWM. I thought I saw something on here with the proper driver, but can't find.

ft5x_ts.ko

Here is my lsmod output:
nano_ksdio 8580 0 - Live 0xbf1de000
nano_if 551660 1 nano_ksdio, Live 0xbf138000
bma250 6834 0 - Live 0xbf132000
8192cu 566489 0 - Live 0xbf08c000
mcs7830 6557 0 - Live 0xbf086000
qf9700 8513 0 - Live 0xbf07f000
asix 22500 0 - Live 0xbf074000
usbnet 23745 3 mcs7830,qf9700,asix, Live 0xbf068000
sun4i_csi0 26905 0 - Live 0xbf05d000
hm2055 16288 1 - Live 0xbf055000
videobuf_dma_contig 5659 1 sun4i_csi0, Live 0xbf050000
videobuf_core 18067 2 sun4i_csi0,videobuf_dma_contig, Live 0xbf046000
mali 130083 8 - Live 0xbf019000
ump 42006 9 mali, Live 0xbf008000
ft5x_ts 15296 0 - Live 0xbf000000

sun4i-keyboard.kl

If you need the actual touch and keyboard files, let me know. Would love to be able to use CWM. I have installed regular CWM, but the volume doesn't move the selector.

Thanks for all of your hard work.

The ft5x_ts driver required to be patched in order to be usable in CWM Touch. Right now, I dont have the time to look into it yet. I will release a new version once I get to it.
 
The ft5x_ts driver required to be patched in order to be usable in CWM Touch. Right now, I dont have the time to look into it yet. I will release a new version once I get to it.
Thanks! Let me know if I can help. Not a guru, but am willing to test.
 
Back
Top