yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] fun_:
just FYI,

lichee/linux-2.6.36 is almost same as source code on http://rhombus-tech.net/allwinner_a10/kernel_compile/.

EDIT:

both kernel and android can be compiled.

I replaced bImage with compiled one, but it doesn't boot :(

(I didn't use pack tools. it may be wrong...)
[Miscellaneous Android Development] sillycc:
TripleW(dot)wits-tech.com/pages/board.jsp

this seems to be the same file released earlier today

here's mine lame translation for description of Linux SDK folder

Lichee/linux-2.6.36

Kernel code, linux-2.6.36/modules is for A10 modules

arch/arm/configs/

sun4i_defconfig is configuration for A10 Linux kernel

sun4i_crane_defconfig is configuration for A10 Android kernel

These two configurations have some minor difference, for example:

weaklock is on only in Android kernel

Lichee/buildroot

Linux root file build environment

Lichee/buildroot/dl

ARM toolchain，DirectFB，tslib

Lichee/buildroot/tools

buildroot/tools/pack

related to packing tool for linux kernel, which is alternative to Android SDK tools

Lichee/buildroot/docs

buildroot/docs

some documents about A10 BSP

Lichee/buildroot/scripts

for initial setup, copy lichee/buildroot/scripts/top_build.sh to lichee/build.sh

then run build.sh under lichee folder, for example

./build.sh -p sun4i -b evb1.2B

And for further information

./build.sh -h

Lichee/buildroot/boot/u-boot

A10 u-boot version of 1.1.6 ,newer version will be released soon
[Miscellaneous Android Development] sillycc:
clockworkmod backup for Novo 7 Advanced official 2.0.4T firmware

file should be decompressed into / of ext_sd

multiupload.com/DDFU7NQSWM
[Miscellaneous Android Development] fun_:
Quarx,

I roughly checked your repo. I guess following changes may be useful.

https://github.com/naobsd/cm_bootable_recovery/commit/1b284b1fed8d00e594d726a69f4966675afeb3bb

https://github.com/naobsd/cm_bootable_recovery/commit/2a8c9267562fbda19e944c62259c4b4b8b5d2ea8

https://github.com/naobsd/cm_hardwa...mmit/5812f47d764db97e9d5ecd72165bbe182db0d75d

"write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor performance" on early-init in recovery_init.rc should be removed. it may cause overheating problem. I'm not sure which governor is default, but that change was reverted on my another tree.

CM9 has a function to swap 2 storage device, please refer

https://github.com/naobsd/cm_device_amlogic_aml8726m/commit/58564b9c9a29d7e58e0e3fc28954e4eb894b1562

there is an another property to set default state, so you can set internal NAND flash to /sdcard(swapped state) with it. (sorry, I forget name...)
[Miscellaneous Android Development] murre87:
Its the same as eken advance P90.

Stock rom: http://www.sendspace.com/file/ynghmx

Sent from Arc S using Tapatalk
[Miscellaneous Android Development] Christian Troy:
mmmmmm any hint on which file i have to edit to make "reboot to recovery" work since our tablet needs a command in misc partition to boot to recovery and not just a simple "reboot recovery"?
[Miscellaneous Android Development] fun_:
recently TARGET_RECOVERY_PRE_COMMAND was added to CM9 system/core/. enable it in BoardConfig.mk.

I'm not sure about current status of CWM and adb code.

EDIT: I can see references to android_reboot() in bootable/recovery and system/core/adb. it should work.

EDIT2: sorry, it's not "recently" ;) it seems I misunderstood it was not merged at some point... anyway, just use it ;)

EDIT3: and it was enabled in Quarx's repo yesterday. as I said, refer his work ;)
[Miscellaneous Android Development] Christian Troy:
thanks :)
[Miscellaneous Android Development] fun_:
I guess "adb reboot" will not work correctly if you'll use commands in my TARGET_RECOVERY_PRE_COMMAND. (you'll get recovery mode)

I think current adb code is not correct, but you should make wrapper script which update misc partition only when "recovery" is passed as argument.
[Miscellaneous Android Development] ToJa92:
How do you load the touchscreen kernel module in Quarx's latest nightly?

It's already in the ROM kernel modules, but it does not load automatically and I can't load it manually either:

adb remount

adb shell

su

cd /system/lib/modules

root@android:/system/lib/modules # insmod ft5x_ts.ko

insmod ft5x_ts.ko

insmod: can't insert 'ft5x_ts.ko': Operation not permitted

Obviously, the entire system is rw and I'm root. Not sure what's wrong here. On the upside, at least USB host works so I can use a USB mouse.
[Miscellaneous Android Development] DynaMight:
I just tried this (CM9-NIGHTLY-120517-A10.zip) on a NATPC Primatab/MPMan MID 74C and it boots correctly although its in Phone mode, not tablet. Not sure if thats normal or not.

Anyway, touchscreen doesnt work but I progressed with a mouse. Camera app cant connect to camera. Hardware buttons mostly dont work, well Power button works and so does the back button. Wifi works fine however and so does the sound.

Let me know if you need anything from me, if you're looking to expand the compatibility to more A10 tabs, I'd be extremely happy to be able to use CM9!
[Miscellaneous Android Development] Christian Troy:
thanks again fun ;)

btw I think I've figured out why there are issues with flash videos playback and in apps like netflix... we're missing stagefright's cedar acceleration.

stock firmwares have a file "libstagefright_soft_cedar_h264dec.so", I've tried to edit Kcomponent of file SoftOMXPlugin.cpp inserting something like

{ "OMX.google.h264.decoder", "cedar_h264dec", "video_decoder.avc" },

and that library in /system/lib but I had no luck...

in logcat I get

E/SoftOMXPlugin( 495): unable to dlopen libstagefright_soft_cedar_h264dec.so

root@android:/ # ll /system/lib/libstagefright_soft_cedar_h264dec.so

-rw-r--r-- root root 26728 2008-08-01 14:00 libstagefright_soft_cedar_h264dec.so
[Miscellaneous Android Development] askrulous:
Would this recovery be ok on my natpc m009s RTB 16gb? I just want it for backing up my rom.
[Miscellaneous Android Development] muciak:
Hi Quarx:)

I'm a happy user of your great CM7 on my Motorola Defy and I hope you'll make me even more satisfied by porting CM9 to another A10 tablet - Bmorn V99, which I have. At the moment your Allwinner CM9 nightly doesn't provide touchscreen response, screen rotates in a weird way from portrait to 180 degrees flipped landscape mode, and camera doesn't work.

Could you be so nice and provide proper fix for my tablet?

Here is what lsmod command gives:

8192cu 653505 0 - Live 0xbf0e0000

rtl8150 8910 0 - Live 0xbf0d9000

mcs7830 6557 0 - Live 0xbf0d3000

qf9700 8513 0 - Live 0xbf0cc000

asix 22500 0 - Live 0xbf0c1000

usbnet 23745 3 mcs7830,qf9700,asix, Live 0xbf0b5000

sun4i_csi0 26905 0 - Live 0xbf0aa000

gt2005 23058 1 - Live 0xbf09f000

gc0308 17836 1 - Live 0xbf096000

videobuf_dma_contig 5659 1 sun4i_csi0, Live 0xbf091000

videobuf_core 18067 2 sun4i_csi0,videobuf_dma_contig, Live 0xbf087000

bma250 6806 0 - Live 0xbf081000

mali 130579 12 - Live 0xbf054000

ump 42410 15 mali, Live 0xbf043000

goodix_touch_3F 20010 0 - Live 0xbf031000

ft5x_ts 46004 1 goodix_touch_3F, Live 0xbf021000

pl2303 11242 0 - Live 0xbf01a000

xpad 7970 0 - Live 0xbf015000

ath3k 5021 0 - Live 0xbf010000

btusb 13936 0 - Live 0xbf008000

tun 13867 0 - Live 0xbf000000
[Miscellaneous Android Development] jordonwu:
how to build cm9 from source

Hi _fun,

could you tell me where to get information about how to build cm9 from source step by step? thanks advance.
[Miscellaneous Android Development] tripledes:
Quarx cm9 on aurora v3

Hi,

I wrote a little script for supporting aurora v3 on Quarx's CM9 port, those of you interested, please have a look at slatedroid.com

Enjoy :-)
[Miscellaneous Android Development] fun_:
hi

do you want to use my obsolete source? if yes, below is my answer. if no, please ask Quarx.

----

did you already try to build AOSP android? if no, please try it first. how to is well described, and everything can be used to build CM9.

then, get official CM9 source by repo, add my cm_device_allwinner_a10 to device/allwinner/a10 by git. that's all.

there are some changes(patches). if you need, please cherry-pick them.

links to all information are already provided on my site. please read them.
[Miscellaneous Android Development] fun_:
for someone who want to refer my source for NOVO7 Advanced2/Elf/Aurora(and others), please remove lines related to nano_if.ko and nano_ksdio.ko kernel modules. they were added for Advanced(1) but it makes boot loop for some tablets. (some other tablets are fine with them but no need to use them unless they have nano wifi module)

except nano modules issue, my CM9 should work(at least boot) on other tablets. of course you may need to add necessary modules, key layout, idc, etc. but you may use my source as a reference for your work.

----

BUT, as you know, my CM9 is obsoleted now. no need to refer my source/images and no need to follow me anymore. Quarx already made a lot of enhancements than mine.

I'll remove descriptions about my CM9 on this thread soon. at this time I can't get answer from Quarx about "he want to use this thread or not". I want to transfer this thread to him(I'm not sure it's possible. I'll ask admin), but if I can't get any reply from him, I'll remove this thread.

this thread have a lot of obsoleted information. google provides a lot of links to here. it's difficult to keep information up-to-date as OP.

thank you for all people who helped me.
[Miscellaneous Android Development] ToJa92:
And for those who have Windows, or never installed a custom rom, I made a equivalent Windows version of it(it was extremely easy, thanks Tripledes): http://www.slatedroid.com/topic/33263-cyanogenmod-9-for-ainol-aurora/page__view__findpost__p__365159
[Miscellaneous Android Development] jordonwu:
====

got it. I had build AOSP android and will try CM9 later. thanks.
[Miscellaneous Android Development] onthebridge:
This rom would be really great for the allwinner handheld consoles, like the yinlips ydpg16

Specification:

BOXCHIP A10 1.2G , Android2.3 OS; RAM:512M

4.3" HD TFT double touch screen

Internal Capacity: 4GB

Support 8bit NES / FC, GB, GBC; 16bit SMC, SMD, SFC / SNES; 32bit GBA, MAME; 64bit N64 and SONY PS games

Support 3D PSX (480X272); HD 3D (800x480) Android APK 3D games; Flash11games; Flash online games; support full screen touch games, direction and gravity sensor games, multi-player fight games

Dual camera for DC&DV function

Support gravity sensor direction

Full format audio decoding; multitask play; listen to music while reading e-book and playing games; multi-channel outputs

Support 1080P(1920x1080pixel)decoding;support RM/RMVB, PPTV, online TV and online movie

Support flash player11 flash online

Wi-Fi

Audio and video output (HDMI)，HDMI 720P - 1080P HD output

2200mAh battery (about 3-4.5 hours battery life depanding on how you use it)

Would it be possible?
[Miscellaneous Android Development] homecanibal:
how can you solve this?

i cant load touchscreen driver, but my tablet isnt a novo7...
[Miscellaneous Android Development] FezzFest:
Dude, I'm still trying... :p How did you figure it out?

Do you have a link to QuarX's github by any chance? :) Can't seem to find it using a quick search.
[Miscellaneous Android Development] Christian Troy:
hi fezz:

link -> https://github.com/Quarx2k

first i diffed allwinner's /framework/base code and applied changes to cm9's forked repo and then i have tried to replace seekTo function of LiveSession.cpp according to allwinner's and worked...

then I've seen that quarx was doing the same thing and decided to start over and fork his repo because he's really good ;)

with his tree maybe hdmi could not work (it didnt to me because there were missing some patches to some files, you can find my commit here)

now i'm stucked with that damn stagefright cedar acceleration to make flash videos and other apps like netflix useble but i'm out of ideas... and i repeat, i can't code anything by myself, i can only merge sources and do small changes... i've not that skill, lol :)
[Miscellaneous Android Development] spigot:
I have problem on my Allwinner tablet with Camera (Can't connect to camera), I get "Camera HAL module not loaded" at logcat. Any suggestions? :)
[Miscellaneous Android Development] Microphone:
Same question here.

Thx quarx for your great help!!!
[Miscellaneous Android Development] gringofr:
Hello all

Is it possible to bring this rom on the tablet Storex eZee'Tab 10C

I flacher with CM9-nightly-120517-A10 tactille but does not work if the problem without Roma smith

thank you
[Miscellaneous Android Development] 79bass:
Hi fun.. please don't remove any information...I'm sure your cm9 and Quarx's might merge togheter at some level...as I've experienced with Android for the HTC Kaiser..few good developers, wide comunity of user/tester... worked out well...please keep working on it!...
[Miscellaneous Android Development] spigot:
Stupid question:

Can anyone explain me how to sync my synced CM9 repo with all Quarx git repo at once, that I always have actual state?

Thanks.
[Miscellaneous Android Development] droblesa:
Polaroid PMID701C/I 10

Fun,

I hope these file will help you to add support for the Polaroid PMID701C/I 10 in CWM.

http://www.mediafire.com/?2zoo0exdsnw5d7o
[Miscellaneous Android Development] 79bass:
Playing around in the cwm menu in my icoo d90w i found the key testing option.

The recovery can't be started by a key combination in the d90w, in a previous post I pasted the recovery part of sys_config1.fex (from decompiled original .img) file.. probably relevant.

Testing the keys they gives this output:

Power: 116
Vol-: 102
Vol+: 28
Vol+Vol-: 217
Back: 1

It would be nice to know if, in a device in which the recovery is accessible by button combination, the recovery part in the sys_config1.fex file is matching the key output...

Thanks
[Miscellaneous Android Development] tripledes:
We had a same problem on Novo7 Aurora, I've created a quick and dirty patch and got it working on Quarx's CM9 port but only with camera app...for now Skype and GTalk didn't notice the device and don't allow video calls...

The thing was finding an original ROM where camera worked, took libraries and kernel modules, installed them on CM9 and worked...have a look:

https://www.dropbox.com/s/3hgemszjskmmsyq/fix_cam_and_screen_aurorav2.tar.gz

This patch fixes touch screen and camera for Aurora v2 (there're 3 different versions of hardware). I think there're some files on the patch which could be skipped but had not enough time to test last night, I hope today I'll do some clean up :)
[Miscellaneous Android Development] corvus:
Hi.

I just modifyed the Quarx version to work in a GemeiG9 (and possibly in a Momo11)

http://bit.ly/KWCfSA

I didnt test so much, but i know the camera is not working.

Corvus.
[Miscellaneous Android Development] Sj12345:
i have a allwinner tablet Hyundia A7HD

Very similar componets a Ainol Novo 7 Aurora.

Motherboard: RK-S7S01-V1.2_20120215

TouchPanel controller: Goodix GT801

Processor: AllWinner A10

RAM Memory: 4x Hynix H5TQ2G83CFR ( 4 x 256 MB = 1 GB )

Flash Memory: 2x Samsung K9GBG08U0A ( 2 x 4 GB = 8 GB )

Chip Wireless: Realtek RTL8188CUS

Battery controller: AXP209

Acelerometer: KXTE9

Sound: I only see the chip XPT4890, 1 watt audio amplifier

Allwinner 1Gz + Mali400 + 1GB RAM + 1024x600 IPS + ICS 4.0.3

I try install the CWM and work fine!, then successfully flashed CM9 for Allwinner Devices, along with GApps.. Booted through the Bootscreen, Boot Animation (CM9 boot anim!), went through the setup, but found it hard as touch points were not even close (used Ainol Novo Aurora's ROM), After the botched CM9 Allwinner ROM, I restore the backup I had made

this tablet could have support for CM9?

Thank
[Miscellaneous Android Development] FezzFest:
People, please understand that it is impossible to support every Allwinner A10-based tablet. If your tablet is not supported, find out what modules it uses and add them to init.sun4i.rc. Posts like "touch screen not working on <insert random tablet>" are not usefull!
[Miscellaneous Android Development] Dukerth:
I understand that is impossible to give support to every allwinner. But if I could only find a guide to extract "device descriptors" from a tablet, lot of people will do the job. Is the only thing that stop me from build a 4.0.4 aosp for my tablet :(

Someone who can clarify this?? Thanks!

Enviado desde mi Teclast A10T usando Tapatalk 2
[Miscellaneous Android Development] fun_:
thank you for your comment.

I don't say I stopped working for A10 devices. currently I'm looking allwinner's leaked source. I'll try amery's kernel and probably Quarex's CM9 too.

but it's clear that my CM9 is obsolete for other people. posting something about my CM9 will confuse other people who want to get information about Quarx's CM9. (even though here is still my thread for my work..)

my output in my CM9 was small. I guess Quarx already referred some of my output. I want to talk with him but currently I have no reply yet. I don't want to stick to him (e.g. sending many PMs) if he doesn't want my output anymore.
[Miscellaneous Android Development] fun_:
you are quite right.

different tablet has different internal unit. "hey! it doesn't work on my tablet!". yes of course. it's different. proper kernel modules, key layout, etc need to be prepared. necessary information need to be informed to developer.

I'm still not sure Quarx is watching here, and how does he think about other tablets.
[Miscellaneous Android Development] Microphone:
There is a new nightly from quarx!

Is working great!!

http://quarx2k.ru/cm9-nightly-novo7(aurora)/CM9-NIGHTLY-120524-A10.zip
[Miscellaneous Android Development] brenobf:
wopad

hi,

I have a "wopad" AllWinners Cortex A10 tablet but it is *not* listed as "supported".

I'd like to know anyways if it really does *not* support CM9/CWM, could you answer me? :confused:

I want to update it because there's a bug in the sync process.

And I see this new update also makes the touchscreen response better.

I'll post everything I have extracted from it.

If there's anything else I can tell you to make it works in my Wopad, just tell me what! :D

That's my brand new tablet's specs:

Model Number T02A

Android Version 4.0.3

Baseband 0.8.1

Kernel Version 3.0.8+, pshu@lngen-cross #23

Build Number crane_evb-eng 4.0.3 IML74K 20120220 test-keys

Item Type:

Tablet PC

Tablet Data Capacity:

4GB

Screen Size:

7"

Products Status:

Stock

Brand Name:

Wopad

Processor Manufacture:

AllWinner

Touch Screen Type:

Capacitive Screen

Processor Main Frequency:

1.2Ghz

Memory Capacity:

512MB

Feature:

Wifi,3G,Webcams,Multi Touch,HDMI,G Sensor,Camera

Operating System:

Android 4.0

Weight:

1000 g

Model Number:

A10

Processor Model:

Cortex A8

Thanks a lot! ;)
[Miscellaneous Android Development] vinuuu7:
link is not working..
[Miscellaneous Android Development] tripledes:
Just one thought about supporting other devices...maybe a "common" folder could be created under device/allwinner/a10 then each new tablet just need to import common definitions and only specific ones be written...

It might be harder at the beginning but I think it may speed up support for new tablets
[Miscellaneous Android Development] fun_:
sounds good. I did it for telechips so I'm sure it's good. but I couldn't do it for allwinner.

I'm looking forward to progress from new team.
[Miscellaneous Android Development] brenobf:
Hey, could anyone of you say what do I need to tell you to make the rom also support my A10?

Thanks in advance!

Ps: I'm a hardcore GNU/Linux user (x86/amd64), I think I can help.
[Miscellaneous Android Development] vinuuu7:
Help me with how to make touch screen in Hyundai A7HD ???

Help me with how to make touch screen in Hyundai A7HD ???

:rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes::rolleyes:

CM9-NIGHTLY-120524-A10 i used this rom but the touch screen working but not correctly so i guess the touch screen drivers are not correct please help me wich CM9 A10 ROM is correct to for hyundai a7hd....:):):):):) thank you..

also let me know how to do it thanks
[Miscellaneous Android Development] KevlarTheGreat:
ShutdownThread->reboot() "now" doesn't work

I am trying to write an advanced power menu for Aurora and your CWM 5. Any time I try to call

ShutdownThread->reboot(context, reason, confirm)

It goes to recovery no matter what value I use for the reason.

I've tried "now", "" , "null", "reboot"

None of them reboot, they all go to recovery. What am I missing?
[Miscellaneous Android Development] fun_:
at first, you should explain what you are using more specifically. this thread was for my (obsolete) CM9. and currently people are talking about another CM9 (w/o its author). but I guess you're not talking about any CM9. for me, "your CWM" is not clear because "my CWM" is also obsoleted.

2nd, you should mention about another thread that you posted same question. people just say "do not do it", but I wonder why you gave fewer information for here. fewer information causes fewer answer.

----

then, this is offtopic but, did you try null (not "null") for reason?
[Miscellaneous Android Development] ludeguy:
Please HELP!

I have to go a bit off-topic here because I'm really desperate to fix this. I rooted my D90W and then I tried to flash the new official firmware (1.2) using LiveSuit and now it enters a boot-loop and doesn't get into the main screen. What can I do???

Thanks in advance!
[Miscellaneous Android Development] boofman:
3rd paragraph looks so familiar..looks like it was taken from a different forum! ;) /offtopic

Well, seems like we (A7HD users) have to use this one as base, but we'll definitely have to make our own from the ground up..
[Miscellaneous Android Development] KevlarTheGreat:
Sorry, I didn't think the ROM actually mattered (for this topic) and didn't know there was more than one CWM (for these devices).

I'm on a Novo7 Aurora. The ROM I'm using and helping to add features to is ConROM which is a very close derivative of Feiyu 0515.

I'm using CWM5 from here http://androtab.info/cyanogenmod/allwinner/ which links to this thread. If there is a newer one I should be using, where is it?

I didn't intend to post in more than one place but, at the time, I didn't find this thread so I created a thread in the general area here: http://xdaforums.com/showthread.php?p=26601390#post26601390 By the time I found this thread someone had already posted in my thread. It looked like this was probably the right place to post it and didn't want you guys to miss my quesiton because you are the experts. I posted less details because you guys already have the context because of the thread name, but should have posted more.

Anyhow, do you guys know the answer to my ShutdownThread->Reboot() question?

Is there more information that you need? If so, what do you need to know?

EDIT: Also, I know there are a bunch of links on the OP, but which one of those is the the latest version of the CM9 ROM?

EDIT2: I just noticed you asked about null vs "null". I tried setting the reason to null once but it wouldn't compile.

Looking more thoroughly, when you call ShutdownThread.Reboot() eventually it starts ShutdownThread.Run() which combines mReboot and Reason into one string. If the reason is set to null it gets changed to an empty string anyhow. So I tried an empty string which also doesn't work (reboots to recovery). I tried "null" because tytung's CM9 ROM for my HD2 uses that string to reboot.

From ShutdownThread.java (AOSP)

String reason = (mReboot ? "1" : "0") + (mRebootReason != null ? mRebootReason : "");
SystemProperties.set(SHUTDOWN_ACTION_PROPERTY, reason);

Then it is parsed and if you use an empty string when calling ShutdownThread->Reboot() it's the same as null.

From SystemServer.java (AOSP)

{
final String shutdownAction = SystemProperties.get(
ShutdownThread.SHUTDOWN_ACTION_PROPERTY, "");
if (shutdownAction != null && shutdownAction.length() > 0) {
boolean reboot = (shutdownAction.charAt(0) == '1');

final String reason;
if (shutdownAction.length() > 1) {
reason = shutdownAction.substring(1, shutdownAction.length());
} else {
reason = null;
}

ShutdownThread.rebootOrShutdown(reboot, reason);
}
}

Thanks for your help.