ClockworkMod Recovery with Touch Support for Allwinner A10-based Tablet

Sorry, I dont really have the time to write steps by steps guides. There are many good information on the web, search using google or visit XDA, The best way of learning this is to get your hand dirty and keep trying. I might sound unhelpful, but once you have experience/understand the time/effort required, you will understand why.

There is one nice guy(who can afford the time) though who seem to be willing to provide steps and guidance for compiling rom for a10. You can check out this thread:

[TUTORIAL/DEV]Build AOSP Android 2.3.7 for Allwinner A10 tablets (Teclast P76Ti) - xda-developers

How can I make a Rom for Android ICS (MID9742) from the system dump files?
 
killerkink I am trying to install this on my polaroid 702c which i believe is very similar to the polaroid 701c, but the apk when opened shows just a blank screen, no options. Is this due to it checking for a compatible tablet? Perhaps can you post the restore.img file for the polaroid701c so that I can manually install or can this be fixed on my end?

thank a lot for the help.
 
killerkink I am trying to install this on my polaroid 702c which i believe is very similar to the polaroid 701c, but the apk when opened shows just a blank screen, no options. Is this due to it checking for a compatible tablet? Perhaps can you post the restore.img file for the polaroid701c so that I can manually install or can this be fixed on my end?

thank a lot for the help.

I dont have the time to work on support for other tablets than p76ti at the moment. Really sorry.
 
Hi. My new tablet is Gemei G3. Tablet has 3 buttons VOL+, VOL-, POWER and 3 touch buttons MENU, HOME, BACK

sun4i-keyboard.kl

key KEY_VOLUMEUP VOLUME_UP
key KEY_VOLUMEDOWN VOLUME_DOWN

dmesg - cutted

<5>[ 0.000000] Linux version 3.0.8 (ringsd@ringsd) (gcc version 4.5.1 (Sourcery G++ Lite 2010.09-50) ) #4 PREEMPT Sat Mar 24 19:04:15 CST 2012
<7>[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
<7>[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
<7>[ 0.000000] Machine: sun4i
<6>[ 0.000000] Total Detected Memory: 512MB with 1 banks
<6>[ 0.000000] Memory Reserved(in bytes):
<6>[ 0.000000] LCD: 0x5a000000, 0x02000000
<6>[ 0.000000] SYS: 0x43000000, 0x00010000
<6>[ 0.000000] G2D: 0x58000000, 0x01000000
<6>[ 0.000000] VE : 0x44000000, 0x05000000
<6>[ 0.000000] VE : 0x49000000, 0x01000000
<7>[ 0.000000] Memory policy: ECC disabled, Data cache writeback
<7>[ 0.000000] On node 0 totalpages: 114688
<7>[ 0.000000] free_area_init_node: node 0, pgdat c07b2338, node_mem_map c0978000
<7>[ 0.000000] Normal zone: 896 pages used for memmap
<7>[ 0.000000] Normal zone: 0 pages reserved
<7>[ 0.000000] Normal zone: 113792 pages, LIFO batch:31
<7>[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
<7>[ 0.000000] pcpu-alloc: [0] 0
<7>[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 113792
<5>[ 0.000000] Kernel command line: console=ttyS0,115200 rw init=/init loglevel=8
<6>[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
<6>[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
<6>[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
<6>[ 0.000000] Memory: 448MB = 448MB total
<5>[ 0.000000] Memory: 313716k/313716k available, 145036k reserved, 0K highmem
<5>[ 0.000000] Virtual kernel memory layout:
<5>[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
<5>[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
<5>[ 0.000000] DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
<5>[ 0.000000] vmalloc : 0xdc800000 - 0xf0000000 ( 312 MB)
<5>[ 0.000000] lowmem : 0xc0000000 - 0xdc000000 ( 448 MB)
<5>[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
<5>[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
<5>[ 0.000000] .init : 0xc0008000 - 0xc002f000 ( 156 kB)
<5>[ 0.000000] .text : 0xc002f000 - 0xc076a768 (7406 kB)
<5>[ 0.000000] .data : 0xc076c000 - 0xc07bc410 ( 322 kB)
<5>[ 0.000000] .bss : 0xc07bc434 - 0xc0977af8 (1774 kB)
<6>[ 0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
<6>[ 0.000000] NR_IRQS:96 nr_irqs:96 96
<6>[ 0.000000] timer0: Periodic Mode
<6>[ 0.000000] Console: colour dummy device 80x30
<6>[ 0.000000] Calibrating delay loop... 1001.88 BogoMIPS (lpj=5009408)
<6>[ 0.040000] pid_max: default: 32768 minimum: 301
<6>[ 0.040000] Mount-cache hash table entries: 512
<6>[ 0.040000] CPU: Testing write buffer coherency: ok
<6>[ 0.040000] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
<6>[ 0.040000] devtmpfs: initialized
<6>[ 0.040000] print_constraints: dummy:
<6>[ 0.040000] NET: Registered protocol family 16
<6>[ 0.040000] hw-breakpoint: debug architecture 0x4 unsupported.
<7>[ 0.040000] SOFTWINNER DMA Driver, (c) 2003-2004,2006 Simtec Electronics
..........



lsmod

8192cu 566489 0 - Live 0xbf0b4000
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
sun4i_csi0 26905 0 - Live 0xbf07e000
gc0308 14208 1 - Live 0xbf076000
videobuf_dma_contig 5659 1 sun4i_csi0, Live 0xbf071000
videobuf_core 18067 2 sun4i_csi0,videobuf_dma_contig, Live 0xbf067000
mma7660 5671 0 - Live 0xbf061000
mali 130035 4 - Live 0xbf034000
ump 42022 9 mali, Live 0xbf023000
hv2605 4513 0 - Live 0xbf01e000
ssd253x_ts 12838 0 - Live 0xbf016000
goodix_touch 13126 0 - Live 0xbf00e000
ft5x_ts 39934 0 - Live 0xbf000000

build.prop

# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=IML74K
ro.build.display.id=crane_gm_g3-eng 4.0.3 IML74K 20120326 test-keys
ro.build.version.incremental=20120326
ro.build.version.sdk=15
ro.build.version.codename=REL
ro.build.version.release=4.0.3
ro.build.date=2012&#24180; 03&#26376; 26&#26085; &#26143;&#26399;&#19968; 13:36:00 CST
ro.build.date.utc=1332740160
ro.build.type=eng
ro.build.user=ringsd
ro.build.host=ringsd
ro.build.tags=test-keys
ro.product.model=gemei G3
ro.product.brand=softwinners
ro.product.name=crane_gm_g3
ro.product.device=crane-gm-g3
ro.product.board=crane
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=unknown
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=exDroid
# ro.build.product is obsolete; use ro.product.device
ro.build.product=crane-gm-g3
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=crane_gm_g3-eng 4.0.3 IML74K 20120326 test-keys
ro.build.fingerprint=softwinners/crane_gm_g3/crane-gm-g3:4.0.3/IML74K/20120326:eng/test-keys
ro.build.characteristics=tablet
# end build properties

#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.com.android.dateformat=MM-dd-yyyy
ro.config.ringtone=Ring_Synth_04.ogg
ro.config.notification_sound=pixiedust.ogg
ro.config.alarm_alert=Alarm_Classic.ogg
dalvik.vm.heapstartsize=5m
dalvik.vm.heapgrowthlimit=48m
dalvik.vm.heapsize=256m
ro.kernel.android.checkjni=0
persist.sys.timezone=Asia/Shanghai
persist.sys.language=zh
persist.sys.country=CN
wifi.interface=wlan0
wifi.supplicant_scan_interval=15
debug.egl.hw=1
ro.display.switch=1
ro.opengles.version=131072
persist.sys.strictmode.visual=0
persist.sys.strictmode.disable=1
hwui.render_dirty_regions=false
persist.sampling_profiler=1
persist.sys.usb.config=mass_storage,adb
ro.sf.lcd_density=120
ro.build.display.id=V2.00
ro.product.firmware=V4.50T
ro.setupwizard.mode=OPTIONAL
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt

link to firmware ICS 4.0.3
http://www.gemeitech.com/profile/G3_V4.50T.rar

link to Youtube video


link to any photos of the hardware
https://plus.google.com/u/0/photos/103282469015493570967/albums/5756145178613513121
 
Last edited by a moderator:
i was try your cwm touch for Treq A10C and it's working.. I can use the buttons VOL+for select, VOL- for down and POWER buttons for back...but the touch buttons isn't work....and i can mouting the storage so i can't backup the rom...its show some error mesage...cant mount sdcard.....can you fix its for me???....sorry my english so poor
 
I have a huge problem...

I have one a10 device from hungary..the name is xTAB50...i make CWM reco, but however there are problems with it. i need help!

it has no physical buttons, only power and reset...

install KKRomkit v1.22 on stock rom (2.3.4), install p76ti version and copy to recovery partition (nandf) the correct disp.ko, lcd.ko, goodix_gt82x.ko, etc/recovery.fstab, init.rc...and reboot to cwm

it works but not perfect...the white buttons do not perceive it in the vertical position is okay, but not the horizontal

ok..no problem...build my own version :D (I use CWM Based Recovery On-Screen Touch Navigation Controls [Team UtterChaos])
i have "device tree" for this a10 device (but stock android 2.3.4)...copy in my CM7 source (the source is o.k., build other device)...
and:
. build/envsetup.sh
lunch
make -j4 recovery

the completed recovery binary file copy in my recovery partition to sbin directory. and reboot...

and here is the problem the screen is not perfect...and useless
$P1090972_small.jpg


make screencapture with ddms:
$device-2012-08-11-200024.png

At the end of the log:
Code:
<3>[    1.650000] init: width = 800<3>[    1.650000] init: height = 480
<3>[    1.660000] init: s.st_size = 1536000
<3>[    1.750000] init:  do_mount 
<3>[    1.750000] init: Unable to open persistent property directory /data/property errno: 2
<6>[    1.780000] enabling adb
<6>[    1.780000] adb_open
<4>[    1.830000] [DISP WRN] file:drivers/video/sun4i/disp/dev_fb.c,line:649:    invalid bits_per_pixel :16
<4>[    1.920000] [DISP WRN] file:drivers/video/sun4i/disp/dev_fb.c,line:649:    invalid bits_per_pixel :16
<6>[    1.960000] EXT4-fs (nandg): recovery complete
<6>[    1.960000] EXT4-fs (nandg): mounted filesystem with ordered data mode. Opts: 
<4>[    2.010000] [DISP WRN] file:drivers/video/sun4i/disp/dev_fb.c,line:649:    invalid bits_per_pixel :16
<4>[    2.030000] JBD2: Disabling barriers on nandf-8, not supported by device
<4>[    2.040000] JBD2: Disabling barriers on nandg-8, not supported by device
<4>[    2.180000] [DISP WRN] file:drivers/video/sun4i/disp/dev_fb.c,line:649:    invalid bits_per_pixel :16
<4>[    2.230000] [DISP WRN] file:drivers/video/sun4i/disp/dev_fb.c,line:649:    invalid bits_per_pixel :16
<4>[    2.780000] [DISP WRN] file:drivers/video/sun4i/disp/dev_fb.c,line:649:    invalid bits_per_pixel :16
<6>[    2.810000] android_usb gadget: high speed config #1: android
<4>[    2.830000] [DISP WRN] file:drivers/video/sun4i/disp/dev_fb.c,line:649:    invalid bits_per_pixel :16


Why is this???:confused:
 
I have a huge problem...

I have one a10 device from hungary..the name is xTAB50...i make CWM reco, but however there are problems with it. i need help!

it has no physical buttons, only power and reset...

install KKRomkit v1.22 on stock rom (2.3.4), install p76ti version and copy to recovery partition (nandf) the correct disp.ko, lcd.ko, goodix_gt82x.ko, etc/recovery.fstab, init.rc...and reboot to cwm

it works but not perfect...the white buttons do not perceive it in the vertical position is okay, but not the horizontal

ok..no problem...build my own version :D (I use CWM Based Recovery On-Screen Touch Navigation Controls [Team UtterChaos])
i have "device tree" for this a10 device (but stock android 2.3.4)...copy in my CM7 source (the source is o.k., build other device)...
and:
. build/envsetup.sh
lunch
make -j4 recovery

the completed recovery binary file copy in my recovery partition to sbin directory. and reboot...

and here is the problem the screen is not perfect...and useless
View attachment 7752


make screencapture with ddms:
View attachment 7751

At the end of the log:
Code:
<3>[    1.650000] init: width = 800<3>[    1.650000] init: height = 480
<3>[    1.660000] init: s.st_size = 1536000
<3>[    1.750000] init:  do_mount 
<3>[    1.750000] init: Unable to open persistent property directory /data/property errno: 2
<6>[    1.780000] enabling adb
<6>[    1.780000] adb_open
<4>[    1.830000] [DISP WRN] file:drivers/video/sun4i/disp/dev_fb.c,line:649:    invalid bits_per_pixel :16
<4>[    1.920000] [DISP WRN] file:drivers/video/sun4i/disp/dev_fb.c,line:649:    invalid bits_per_pixel :16
<6>[    1.960000] EXT4-fs (nandg): recovery complete
<6>[    1.960000] EXT4-fs (nandg): mounted filesystem with ordered data mode. Opts: 
<4>[    2.010000] [DISP WRN] file:drivers/video/sun4i/disp/dev_fb.c,line:649:    invalid bits_per_pixel :16
<4>[    2.030000] JBD2: Disabling barriers on nandf-8, not supported by device
<4>[    2.040000] JBD2: Disabling barriers on nandg-8, not supported by device
<4>[    2.180000] [DISP WRN] file:drivers/video/sun4i/disp/dev_fb.c,line:649:    invalid bits_per_pixel :16
<4>[    2.230000] [DISP WRN] file:drivers/video/sun4i/disp/dev_fb.c,line:649:    invalid bits_per_pixel :16
<4>[    2.780000] [DISP WRN] file:drivers/video/sun4i/disp/dev_fb.c,line:649:    invalid bits_per_pixel :16
<6>[    2.810000] android_usb gadget: high speed config #1: android
<4>[    2.830000] [DISP WRN] file:drivers/video/sun4i/disp/dev_fb.c,line:649:    invalid bits_per_pixel :16


Why is this???:confused:

no idea. But if you are interested, there is source for patched for a10 device. However, mine is using goodix_touch.ko. You have to figure it out if it does not work out of the box

https://github.com/killerkink/android_bootable_recovery
 
no idea. But if you are interested, there is source for patched for a10 device. However, mine is using goodix_touch.ko. You have to figure it out if it does not work out of the box

https://github.com/killerkink/android_bootable_recovery

thx for help...which branch for official CM7? gb-release-7.2?

I think my device tree is a bad...but why,what? :( i don't know...

i need a "universal" a10 dev.tree...or p76ti dev.tree because it worked

your profile on GitHub have a cm_device_allwinner_a10 and android_device_allwinner_common...these two only for ICS? which branch for CM7?

must be something else?
 
Hi Killerkink,I wish to install cwm on my Sanei N10 tablet running ICS ver 4.03 do you have something for it please ?I am not so technical and new to installing roms.My tablet is already rooted though.
 

Current Release: v1.22

I have successful ported the CWM with Touch support for Teclast P76ti and planned to extend this to other A10-based tablets. If you have one of those and wish to run CWM on it, do let me know.

Note that this is only applicable for tablet with screen resolution of 800x480. Other resolution is possible but not at the moment.

What I need is the following:

1. your touchscreen controller

do a "lsmod" using android terminal or adb

2. your keyboard mapping file(/system/usr/keylayout/sun4i-keyboard.kl)
Hi, I have unknown A10 tablet, which uses Goodix touch...
How am I supposed to install the CWM? AS i see the download is APK - so I have to simply download and execute the .apk?
 
Hi Killerkink,I wish to install cwm on my Sanei N10 tablet running ICS ver 4.03 do you have something for it please ?I am not so technical and new to installing roms.My tablet is already rooted though.

what is the touch driver that is running on your tablet? Do a "lsmod" using android terminal.
 
Hi, I have unknown A10 tablet, which uses Goodix touch...
How am I supposed to install the CWM? AS i see the download is APK - so I have to simply download and execute the .apk?

In that case, its likely that it will work on your tablet. Which android version are you running on 2.3 or 4.x?
 
Back
Top