Jump to content


Photo

[ROM] CyanogenMod 10 for Allwinner A13


  • Please log in to reply
105 replies to this topic

#1 AnonFBI

AnonFBI

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 68 posts

Posted 29 June 2013 - 01:49 AM

Hello, i just created cm10 for allwinner a13 tablets (EVB versions)

Posted Image

Android 4.1.2

I compiled cm10 source and I made a custom kernel

Features:
- CyanogenMod Features
- Expanded desktop mode
- Init.d Scripts:
-- ZipAlign
-- Internal speed fix
-- Perfect Mounts
-- SQL Optimize
-- Auto setup sensors Script
- Xbox 360 gamepad support (xpad)
- PS3 USB gamepad support (hid-sony)
- PS2 USB gamepad support (hid-sjoy)
- Generic / chinese (Pantherlord / GreenAsia) gamepads support (hid-dr and hid-gaff)
- OpenVPN support (tun)
- NTFS and ExFat support

- Custom Kernel Features (based in stock kernel version 3.0.8+):
- Smartass2 governor (Default)
- SIO I/O Scheduler (Default)
- Mali OS = 90 mb
- Cyanogenmod compatible Sound
- Gamepad support

- Preloaded modules:

- Touchscreen:
-- ft5x_ts
-- gslX680
-- ft5x02 (Ainol novo7legend ts)

- Camera:
-- gc0308
-- gc0329
-- sp0838

- G-sensor:
-- mxc622x

BUGS: You tell me

Instructions:

ATTENTION: This rom is NOT compatible with faaastJB v2 rom, (You need to be in WORKING stock rom or faaastJB v1 to make all modules work)

FaaastJB v2 use a modified script.bin who BREAK modules in this ROM

REMEMBER BACKUP YOUR ROM AND HAVE .IMG IMAGE IN CASE IS SOMETHING GOT WRONG

DO THIS BEFORE FLASH To check what is your modules drivers, enter on terminal emulator or ADB and make:


lsmod
and
getevent


Check with
lsmod
the loaded modules (CAMERA MODULES: HAVE "1" number after module name, example:
gc0308 16888 1 - Live 0x00000000


this clear show gc0308 camera module loaded.

getevent
help you find touchscreen driver and also G-sensor driver


Example:

add device 1: /dev/input/event4[/color][/size][/font][/center][center][font="Arial, Verdana, sans-serif"][size="2"][color="#111111"]  name:     "gslx680"[/color][/size][/font][/center][center][font="Arial, Verdana, sans-serif"][size="2"][color="#111111"]add device 2: /dev/input/event3[/color][/size][/font][/center][center][font="Arial, Verdana, sans-serif"][size="2"][color="#111111"]  name:     "gt811"[/color][/size][/font][/center][center][font="Arial, Verdana, sans-serif"][size="2"][color="#111111"]add device 3: /dev/input/event2[/color][/size][/font][/center][center][font="Arial, Verdana, sans-serif"][size="2"][color="#111111"]  name:     "mxc622x"[/color][/size][/font][/center][center][font="Arial, Verdana, sans-serif"][size="2"][color="#111111"]add device 4: /dev/input/event0[/color][/size][/font][/center][center][font="Arial, Verdana, sans-serif"][size="2"][color="#111111"]  name:     "sun4i-keyboard"[/color][/size][/font][/center][center][font="Arial, Verdana, sans-serif"][size="2"][color="#111111"]


Cleared show you "mxc622x" g-sensor module
"gslx680" touchscreen module
"gt811" in this case you need to test what is the proper touchscreen driver

After to know what is your driver, show the Proper patches and flash it!

Oh yeah :android-lol: welcome to test the most Smooth allwinner a13 CM10 rom!

- Install CWM
instruction here: http://forum.xda-dev...d.php?t=2189640

- Boot into CWM keeping pressed VOL- (MENU) and POWER for 3 secs, than release POWER and after another sec release VOL- (or use Novo7 tools if it doesn't work for your device)

- Select "wipe data/factory reset"

- Select "install zip from sdcard" -> "choose zip from sdcard" (or "choose zip from internal sdcard" if your files are into internal memory)

- Flash in this order:
1. ROM
2. JB G-apps
3. Compatibility patch (If available)

- Now go back, and select "Reboot system now

- Setup tablet with wizard and Reboot Again (to get g-sensor working)

- Enjoy CM10!


I have tested the rom with OEM A13 Tablet (Is smooth and stable)

I can play dead trigger! ;)

I will try to support the rom and custom kernel


Also if is posible, I will update to CM10.1

- If you wanna use the "phablet" ui change the entry "ro.disable_phablet_ui=1" to "ro.disable_phablet_ui=0" in file /system/build.prop
- If you wanna change external SD card for Internal change the entry "persist.sys.vold.switchexternal=0" to "persist.sys.vold.switchexternal=1" in file /system/build.prop

Download:

Cm10: Build 08-29-2013
G-apps: http://goo.im/gapps/...1011-signed.zip

Compatibility patches

Touchscreen Download

- ssd-253x-ts
- goodix811
- zet6221_ts
- ct360_ts
- elan_ts
- gt811 (goodix811 alternative)
- gt818_ts
- gt828_ts
- gslx680 (gslX680 alternative)
- zet6221-ts (zet6221 alternative)
- goodix_touch


G-sensor Download

- bma250
- mxc622x
- mma7660


Camera Download

- gc0329
- sp0838

I make FREE job but you want support me for development and have more development devices?

Posted Image
Screenshots:

Posted Image

Posted Image

Expanded desktop mode ON:

Posted Image

FAQ

1. Volumen keylayout is different?
A: copy and paste /system/usr/keylayout/sun4i-keyboard.kl from backup rom to CM10 and chmod 644

2. My touchscreen is working descalibrated, is shift inverted?
A. first check if backup rom have kernel version 1.5 and copy and paste your touchscreen from backup rom to CM10 and chmod 644
Example: you have ft5x_ts touchscreen
open windows adb command line and make this:
adb "root"[/color][/size][/font]
[font="Arial, Verdana, sans-serif"][size="2"][color="#111111"]adb remount[/color][/size][/font]
[font="Arial, Verdana, sans-serif"][size="2"][color="#111111"]adb push ft5x_ts.ko /system/lib/modules[/color][/size][/font]
[font="Arial, Verdana, sans-serif"][size="2"][color="#111111"]adb chmod 644 /system/lib/modules/ft5x_ts.ko[/color][/size][/font]
[font="Arial, Verdana, sans-serif"][size="2"][color="#111111"]adb push ft5x_ts.idc /system/usr/idc[/color][/size][/font]
[font="Arial, Verdana, sans-serif"][size="2"][color="#111111"]adb chmod 644 /system/usr/idc/ft5x_ts.idc


3. My g-sensor is inverted?
A. first check if backup rom have kernel version 1.5 and Copy and paste your g-sensor module name from backup rom to CM10 and chmod 644

4. Nothing is working and I want make my own patches?
A. You can do it, if you want load unlisted touchscreen (for example):
edit /system/etc/init.d/07touchscreen

change this line: insmod /system/lib/modules/ft5x_ts.ko with your touchscreen module name, save and exit. chmod 755

copy the ts module into /system/lib/modules and idc /system/usr/idc
chmod 644 that for modules and idc

for camera edit this file: /system/lib/modules/08camera

and g-sensor edit: /system/lib/modules/09gsensor

5. I do not know what is my modules?
A. Extract script.bin and attach here with a post, use this tool:

Script.bin_Extract.zip

TWITTER: @freddyarenas4

Regards from Venezuela


Edited by AnonFBI, 29 August 2013 - 04:45 PM.


#2 AnonFBI

AnonFBI

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 68 posts

Posted 29 June 2013 - 01:54 AM

Changelogs:
Build and Patches 08-28-2013[/b]
[b]
[/b]
[b]- New Rom Build[/b]
[b]- Changed Default g-sensor: mxc622x[/b]
[b]- Changed Default Camera modules:[/b]
[b]-- gc0308[/b]
[b]-- gc0329[/b]
[b]-- sp0838[/b]
[b]- Fixed Ainol Novo7 Legend touchscreen![/b]
[b]- New way to load modules in init.d:[/b]
[b]-- 07touchscreen[/b]
[b]-- 08camera[/b]
[b]-- 09gsensor[/b]
[b]In this case, nobody can get bootloop or black screen with patches[/b]
[b]- Removed No Working Touchscreen patches[/b]
[b]- Added ms8698s touchscreen module[/b]
[b]- Important:[/b]
[b]-- Changed Android Framework AV and added new cedarx to fix video HD decoding (NEED testers)[/b]
[b]- Added a FAQ section with important answer to fix newbies issues[/b]
[b]



[/b]
[b]Update 07/09/13[/b]
[b]Update main thread post with more help to know how find your device drivers,[/b]
[b]Also warning with incompatible faaastjb v2 script.bin file



Update 07/03/13[/b]
[b]
[/b]
[b]Fixed and Update camera modules (this removed the TS modules load)[/b]
[b]
[/b]
[b]Try to flash ts again[/b]
[b]
[/b]
[b]added:[/b]
[b]zet622x[/b]
[b]goodix_touch[/b]
[b]
[/b]
[b]



Build and Patches 07-03-2013[/b]
[b]
[/b]
[b]- New Rom Build[/b]
[b]
[/b]
[b]- Default g-sensor: dmard06[/b]
[b]- removed auto setup sensors (did not work)[/b]
[b]- Update dmard06 module[/b]
[b]- Fixed xbox 360 module (was not present in modules folder)[/b]
[b]- Added:[/b]
[b]
[/b]
[b]- G-sensor compatible patches[/b]
[b]-- bma250[/b]
[b]-- mxc622x[/b]
[b]-- mma7660[/b]
[b]
[/b]
[b]- Touchscreen compatible patches[/b]
[b]-- ct360_ts[/b]
[b]-- elan_ts[/b]
[b]-- gt811 (goodix811 alternative)[/b]
[b]-- gt818_ts[/b]
[b]-- gt828_ts[/b]
[b]-- gslx680 (gslX680 alternative)[/b]
[b]
[/b]
[b]Update google drive shared folder[/b]
[b]



Patches 07-01-2013[/b]
[b]
[/b]
[b]Touchscreen: ssd-253x-ts.zip, goodix811.zip, zet6221.zip[/b]
[b]
[/b]
[b]Camera: gc0329.zip, sp0838.zip[/b]
[b]



Build 06-29-2013[/b]
[b]
[/b]
[b]Initial Release

Edited by AnonFBI, 29 August 2013 - 04:40 PM.


#3 rockstartt

rockstartt

    Member

  • Jr. Member
  • PipPip
  • 10 posts

Posted 30 June 2013 - 04:08 PM

hello could you help me, patch-253x-ts.zip ssd sends me update failed, (status 6) help!

Changelogs:

Build 06-29-2013

- Initial release



Help ssd patch-253x-ts.zip not installed, error (status 6) clockmod

#4 AnonFBI

AnonFBI

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 68 posts

Posted 30 June 2013 - 11:06 PM

hello could you help me, patch-253x-ts.zip ssd sends me update failed, (status 6) help!




Help ssd patch-253x-ts.zip not installed, error (status 6) clockmod


updated, test now:

ssd-253x-ts.zip

Edited by AnonFBI, 01 July 2013 - 12:05 PM.


#5 rockstartt

rockstartt

    Member

  • Jr. Member
  • PipPip
  • 10 posts

Posted 01 July 2013 - 02:09 AM

updated, test now:

ssd-253x-ts.zip


No friend is sending me E: error in / sdcard/ssd253x-ts.zip (status 6) Installation aborted :'(

#6 boyan33

boyan33

    Newbie

  • Jr. Member
  • Pip
  • 4 posts

Posted 01 July 2013 - 10:29 AM

Hi, for me everything is working normally except for g-sensor and the volume + and volume - buttons.
I installed without SSD-253x ts.zip ,because to me applying error
E: Error in / sdcard/ssd253x-ts.zip (Status 6) Installation aborted.-(resolved)
Otherwise job well done and keep it up.
Excuse me for my English

Can you use these files and make my tablet works better with CM10 ?

original fw img file

system backup

Edited by boyan33, 02 July 2013 - 05:25 PM.


#7 AnonFBI

AnonFBI

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 68 posts

Posted 01 July 2013 - 11:29 AM

No friend is sending me E: error in / sdcard/ssd253x-ts.zip (status 6) Installation aborted :'(


Fixed and added more patches, read the main post to download links.

Try to download the patch again, is fixed

#8 rockstartt

rockstartt

    Member

  • Jr. Member
  • PipPip
  • 10 posts

Posted 01 July 2013 - 12:03 PM

Fixed and added more patches, read the main post to download links.

Try to download the patch again, is fixed


I can pass the link friend

#9 AnonFBI

AnonFBI

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 68 posts

Posted 01 July 2013 - 12:06 PM

I can pass the link friend


ssd253x-ts.zip enjoy!

Edited by AnonFBI, 01 July 2013 - 12:06 PM.


#10 rockstartt

rockstartt

    Member

  • Jr. Member
  • PipPip
  • 10 posts

Posted 01 July 2013 - 12:33 PM

ssd253x-ts.zip enjoy!


Thank you very much! I will recommend this post on many sides, many thanks!

#11 rockstartt

rockstartt

    Member

  • Jr. Member
  • PipPip
  • 10 posts

Posted 01 July 2013 - 01:22 PM

friend and I install it, but still does not work the touch: (a ssd253x-ts

#12 AnonFBI

AnonFBI

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 68 posts

Posted 01 July 2013 - 04:26 PM

friend and I install it, but still does not work the touch: (a ssd253x-ts


connect with adb and make:

lsmod

and

dmesg

show result here

Edited by AnonFBI, 01 July 2013 - 04:26 PM.


#13 AnonFBI

AnonFBI

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 68 posts

Posted 01 July 2013 - 04:56 PM

friend and I install it, but still does not work the touch: (a ssd253x-ts


try this new patch and tell me: ssd-253x-ts.ko

https://docs.google....zRiX21pSmc/edit

#14 rockstartt

rockstartt

    Member

  • Jr. Member
  • PipPip
  • 10 posts

Posted 01 July 2013 - 08:33 PM

connect with adb and make:

lsmod

and

dmesg

show result here


ok lsmod

8188eu 581006 0 - Live 0x00000000
rtl8150 10305 0 - Live 0x00000000
mcs7830 7581 0 - Live 0x00000000
qf9700 9152 0 - Live 0x00000000
asix 24601 0 - Live 0x00000000
sun5i_csi0 33255 0 - Live 0x00000000
cedarx 11869 0 - Live 0x00000000
ov5640 31583 0 - Live 0x00000000
mt9m112 15359 0 - Live 0x00000000
gt2005 19412 0 - Live 0x00000000
gc0308 18408 1 - Live 0x00000000
videobuf_dma_contig 6251 1 sun5i_csi0, Live 0x00000000
videobuf_core 20242 2 sun5i_csi0,videobuf_dma_contig, Live 0x00000000
mma7660 6857 0 - Live 0x00000000
mxc622x 6088 0 - Live 0x00000000
mecs 4078 0 - Live 0x00000000
bma250 7545 0 - Live 0x00000000
dmard06 11119 0 - Live 0x00000000
mali 150572 20 - Live 0x00000000
ump 48978 25 mali, Live 0x00000000
ssd253x_ts 10321 0 - Live 0x00000000
hid_sony 2377 0 - Live 0x00000000
hid_gaff 2817 0 - Live 0x00000000


dmsg
klogctl : Operation no permited

thank

#15 rockstartt

rockstartt

    Member

  • Jr. Member
  • PipPip
  • 10 posts

Posted 01 July 2013 - 08:40 PM

try this new patch and tell me: ssd-253x-ts.ko

https://docs.google....zRiX21pSmc/edit


hi thanks for helping me if it works now the touch, but is a little out of calibration can be repaired?

#16 AnonFBI

AnonFBI

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 68 posts

Posted 02 July 2013 - 08:28 AM

hi thanks for helping me if it works now the touch, but is a little out of calibration can be repaired?


hi, the touchscreen is inverted? what is wrong?

#17 rockstartt

rockstartt

    Member

  • Jr. Member
  • PipPip
  • 10 posts

Posted 02 July 2013 - 11:08 AM

hi, the touchscreen is inverted? what is wrong?

No friend if I play a part dela screen and reacts slow or I have to give a few clicks,
and besides this a little unbalanced when the tactile touch a part of the screen

#18 AnonFBI

AnonFBI

    Advanced Member

  • Jr. Member
  • PipPipPip
  • 68 posts

Posted 03 July 2013 - 02:14 AM

New build available

#19 billh65

billh65

    Member

  • Jr. Member
  • PipPip
  • 13 posts
  • LocationUK

Posted 03 July 2013 - 09:13 AM

Hi. I'm really interested in getting a Cyanogenmod rom for my A13 and I tried yours. I flashed it all in the order advised, including the driver zip package for my model, but when I try to boot the device just sits on the cyanogen animation and will not proceed any further. Have you got any suggestions as to what I could try?
Thanks in advance for any advice.PS I forgot to say that when I try to flash the driver it comes up with an error and aborts that part of the operation

Edited by billh65, 03 July 2013 - 09:14 AM.


#20 billh65

billh65

    Member

  • Jr. Member
  • PipPip
  • 13 posts
  • LocationUK

Posted 03 July 2013 - 09:21 AM

Just noticed, since I posted my last reply, that you have posted a new version of the rom and the touch screen drivers. I will try them when I get the time. Thanks for all your hard work.