yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] fun_:
no.

at 1st, different hardware may generate different value. this is what we need to know.

kernel has convert table from raw value to key code. different kernel may have different table, so different kernel may generate different key code.

it's ok to use different kernel to find raw value. it may work fine. but kernel dependent information (e.g. key code) may not be able to share with another different kernel on same device.

(I'm not sure using same kernel on different hardware is really ok. I'm sure it work on most case but I'm not sure everything works perfectly.)

use 40 -49 for index #6.

34-39 is for index #5, KEY_ESC, key code 1, BACK on your device/kernel.
[Miscellaneous Android Development] fun_:
which repository are you using?
[Miscellaneous Android Development] mornage:
I'm using the kernel source from the first post of this thread: http://xdaforums.com/showthread.php?t=1490886 (github.com/allwinner/linux-2.6.36 lichee)
[Miscellaneous Android Development] fun_:
it's old, for GB.

CM9 can be made with stock kernel. if you want to use kernel source, try amery's source tree,

https://github.com/amery/linux-allwinner/wiki

allwinner-v3.0-android-v2(up-to-date) or lichee3-qware(leaked, non-modified) will be good.
[Miscellaneous Android Development] Christian Troy:
i wished amery's tree had goodix_touch_3F source... in that case I'd used a custom kernel but without touchscreen it's a no go :/
[Miscellaneous Android Development] fun_:
https://github.com/amery/linux-allwinner/issues/26

join #arm-netbook on freenode :)
[Miscellaneous Android Development] mornage:
Thanks for that. Will give it a go after I re-install my build environment. Having very strange behavior at the moment.
[Miscellaneous Android Development] solard:
I'm trying to use Ricky's instructions for my Protab 2XXL but I get errors about cpio not being found - does anyone have any ideas?

cat /data/install-recovery.sh

#!/system/bin/sh

if busybox test ! -e /data/recovery.cpio; then

echo no /data/recovery.cpio

exit 1

fi

mkdir /data/recovery

mount -t ext4 /dev/block/nandf /data/recovery

busybox rm -fr /data/recovery/*

(cd /data/recovery && busybox cpio -idmuv < /data/recovery.cpio)

umount /data/recovery

rmdir /data/recovery

echo done

root@android:/ # /data/install-recovery.sh

/data/install-recovery.sh

mount: Invalid argument

cpio: applet not found

failed: Invalid argument

done
[Miscellaneous Android Development] silv0r:
Is CyanogenMod 9 possible on Sanei N10?
[Miscellaneous Android Development] doctormord:
Hey Chris,

nice work. Could you provide further informations on this? I'm researching a solution for this since days, even tried via script.bin on bootloader, but tablet wont boot anymore then. Might be a problem with fex2bin.

I tried to decompile different settings.apk (i.e. Mele A1000) with no success to find the key. Is it possible to reach the Display-Manager via adb shell?

Regards,

doc (Chris)
[Miscellaneous Android Development] Christian Troy:
nops, you have to edit the file that handles the hdmi connection, it defaults to "max hdmi mode" but you can create a settings entry and read the value like in the example i did above
[Miscellaneous Android Development] doctormord:
Well, you did this on a Asus Transformer, as i actually can't find any hint in the CM9 settings?

-> Quarx2k-android_packages_apps_Settings-45ca3d0

o.0
[Miscellaneous Android Development] Christian Troy:
you have to add it to the settings app... have a look at these commits:

https://github.com/christiantroy/an...mmit/5d1a86f58d3ba140841dbc2a51c1e6e03c791aa6

https://github.com/christiantroy/an...mmit/4f4ec54080fbd6f7af0309b09be7c5e7076b5fcd
[Miscellaneous Android Development] doctormord:
Hey Chris,

i was half the way, thanks for pointing me into the final direction. :)

Cheers doc (Chris)
[Miscellaneous Android Development] doctormord:
Hmm, unfortunately i does not work. :D

I checked your implementation from 0615, pulled settings.apk and system.apk and pushed them into the latest quarx-rom (cm9 0611). This gave me the options, but output wont change at all.

Hardware: Ainol Aurora v1

After this, i flashed your latest rom at all, (excluding bootloader) but this also does not work. o.0 Maybe theres something different with the Aurora-tabs.

Regards,

doc
[Miscellaneous Android Development] fun_:
https://github.com/naobsd/cm_device_allwinner_a10/commit/6552c4e891b7b0ed7f5fb64038cd57bba692bcf6

my recovery image can be used with HDMI TV(and keyboard, mouse) now.

----

http://files.androtab.info/allwinner/cm9/20120615/MK802/MK802_recovery.zip

(it will be linked from my site. do not use direct link for future updates)

this is CWM for MK802/Z802 mini PC. ramdisk in this image has this change: https://github.com/naobsd/cm_device_allwinner_a10/commit/19650065eb84ef990b3d3a15e5abcde154281e37

it may be useful as a generic recovery image for most A10 ICS devices. feel free to use it on your project.

(I know some devices use incompatible key codes. it doesn't work well on them. sorry.)

EDIT:

dispctl changes only signal output. it doesn't change framebuffer resolution.

your TV may not show overscan area.

EDIT2:

(physical buttons) VOL-/MENU: down, VOL+/HOME: up, POWER: select, BACK: back

(keyboard/mouse) DOWN: down, UP: up, LEFT: select, RIGHT: back
[Miscellaneous Android Development] merc200k:
guys help me pls

i have a tablet 8...from china

type aishuo

model p76ti

android 4.0.3

kernel 3.0.8 arch@arcdev64#14

crane_p76ti-eng 4.0.3 iml74k 20120402 test-keys

help me pls how to root this and any custom rom for best stabylity
[Miscellaneous Android Development] Snotmann:
Hello together,

is it possible to put the A10 Cyanogen-Mod's to the A13 ?

I read that its nearly the same, but even not the same hardware ?!

There should be sheaper hardware in the A13 ...

So somebody tried this so far ?
[Miscellaneous Android Development] charlesdyp:
Always booting to welcome screen

Hi All,

I have just installed CWM recovery on my Novo 7 Aurora, after rebooting I found that all my apps and settings were gone. It was as if I did a factory reset, now the worst part is that every time I restart the tablet, it takes me straight into the Welcome screen. It seems like the tablet gets wiped each time I restart it.

I have googled and search tablet forums but didn't find anyone with this kind of problem. Any help will be greatly appreciated.
[Miscellaneous Android Development] Eflatun:
i couldnt install cwm recovery my ampe a90. gscrip dont see "recovery.sh" . recovery.sh in the sdcard but gscript couldnt find. what can i do. (sorry for my horrible english)
[Miscellaneous Android Development] Christian Troy:
i've added support for AOKP too...

here you find the rom and the link to github repository (there's a new branch called AOKP in repos that needed tweaks)
[Miscellaneous Android Development] fun_:
very nice!

link to that thread is added in post#1 on here.
[Miscellaneous Android Development] fun_:
I think it's possible, but you need to use stock kernel for your tablet.

I don't have any A13 device so I can't try it myself.
[Miscellaneous Android Development] HugoCar:
Hello!!

Can we help me with my Onda vi10 elite??

Which compatibility zip I need??

More thank...and sorry for my english
[Miscellaneous Android Development] ~Altair~:
Will this work on my Domo Slate N9SE?

Config is A10.1GB Ram?
[Miscellaneous Android Development] Tonikosch:
Will this work on a Sanei N10
[Miscellaneous Android Development] digital0:
So it worked with 34-39, right? I tried the same on ICOO D50, but unfortunately it did not work here.

Am I doing it correctly? What I did:

adb shell dd if=/dev/block/nanda of=/mnt/sdcard/bootloader.img

copy bootloader.img to Linux PC

mount -t vfat -o loop bootloader.img /mnt/cdrom

cd /mnt/cdrom

bin2fex script.bin > script.fex

changed numbers in [recovery_key]

fex2bin script.fex script.bin

umount /mnt/cdrom

copy bootloader.img to the tablet

adb shell dd if=/mnt/sdcard/bootloader.img of=/dev/block/nanda
[Miscellaneous Android Development] Preceptor:
Androtab is down.

I'm trying to download the Novo 7 Aurora files from there but I just can't. Does anyone have an alternative link?

Thanks a lot
[Miscellaneous Android Development] bartcrusades:
Same here, I'm looking for the Novo 7 Paladin CWM file, but as the guy above me said, Androtab appears to be down!
[Miscellaneous Android Development] ConnexYe:
broken link MK802_recovery.zip

Hi fun_, seems your server is down, I can not download your MK802_recovery.zip.

Could you kindly help to have a check ? I indeed need your recovery img as my A10 tablet's monitor was broke, the only way I can taste the CM9 rom is using HDMI as the screen output.
[Miscellaneous Android Development] fun_:
sorry, it's in the middle of migration. please give me some time :(
[Miscellaneous Android Development] Nooby-McNoobness:
Hi fun

sorry for jumping in like this with my first post. Do you have an eta for the server by any chance? I'm looking for SCROLL7-8K-recovery-signed.zip and can't seem to find it anywhere else.

Thanks

Tom
[Miscellaneous Android Development] fun_:
server is now online. sorry for this inconvenience.

for some people who posted here to ask files for non-A10 devices, read topic, use proper thread. if you can't, I'll remove files.
[Miscellaneous Android Development] Nooby-McNoobness:
Cheers dude, you are a legend
[Miscellaneous Android Development] ConnexYe:
Cheer~ the link is ok. great job fun_
[Miscellaneous Android Development] apenz147:
excuse me but i need CWM for my allwinner a10 tablet...

my tablet is doesnt have back button and home and menu button....

can u suggest me which CWM is fit for my tablet?...

i really need this fir custom rom pleasee
[Miscellaneous Android Development] john_petrucci:
Info

Hello, there is clockworkMod recovery 5 for Ainol Novo 7 Aurora II, its compatible a10_recovery.zip or its only for Aurora/Elf ??

Thank You!

Paolo
[Miscellaneous Android Development] fun_:
here is thread for Allwinner A10 devices. please check what CPU is used in your device.
[Miscellaneous Android Development] fun_:
my latest CWM image supports USB mouse & keyboard. if you want to use it, please unpack ramdisk from boot.img, and repack it with your kernel.

(probaby links on my web site is old. please see files.androtab for now... I'll update my site if I can get more time...)
[Miscellaneous Android Development] fun_:
http://files.androtab.info/allwinner/cm9/20120712/

here is my latest images. I forget what I changed from previous... probably nothing.

build with latest CM9 source to confirm my sources are still buildable.
[Miscellaneous Android Development] fun_:
thank you for sharing your experience. I'm thinking to try vanilla JB(w/o allwinner codes)... it gives some experience to me.
[Miscellaneous Android Development] Christian Troy:
that'd compile fine but it won't be a daily driver without video acceleration :(

maybe i'll build one without cedar too if i get some time
[Miscellaneous Android Development] JDfense:
You have a fast and fine tablet with an ips screen, but no allwinner 10 inside. Will possible my next tablet too.

It is based on Dual Core Cortex-A9 Amlogic8726-M6 1.5GHz:cool:
[Miscellaneous Android Development] love4chat:
Please make CWM Touch Recovery For LY-F1!!!
[Miscellaneous Android Development] ludester:
Hey I have the Z802 how would I go about loading CWM and either AOKP or CM ?
[Miscellaneous Android Development] fun_:
CWM Touch Recovery (by koush) is not open source product. I know there are some other recoveries which supports touch control, but I have no time to maintain my changes for recoveries other than CWM.

I already added a quick hack to support touch control on my CWM based recovery. it's working, but I found some another problem(not related to touch control) with latest CWM... e.g. I can't install update.zip from menu :(

latest CWM built from same source works fine on another tablet. it seems this problem happens only on A10 or only on my NOVO7 Advanced. I didn't use recent CWM binaries so I'm not sure when this problem is appeared.
[Miscellaneous Android Development] fun_:
I heard Z802 is same as MK802. you can try CWM for MK802 on my site.

currently I don't release any AOKP or CM.
[Miscellaneous Android Development] ludester:
But does it support hardware accelerated video ? What doesnt it have that it does my default ?
[Miscellaneous Android Development] fun_:
why do you need hardware accelerated video on CWM? I believe it's not necessary for recovery.
[Miscellaneous Android Development] ludester:
Sorry not CWM but your update file which I assume is CM ?
[Miscellaneous Android Development] fun_:
if you have an interest to any file on my site, feel free to try it. then you'll know how it works.

currently, I have no time to modify my working build & upload script. I have no time to do something other than what I am doing. I have no time to explain something which was not explained. really sorry.
[Miscellaneous Android Development] fun_:
oh I found a bug in my hack... I hope problem will be fixed soon...
[Miscellaneous Android Development] fun_:
http://files.androtab.info/allwinner/cm9/20120716/

CWM with touch screen control. (quick hack, it doesn't work with TS which needs calibration)

please imagine virtual joypad used in some games. touch the screen, there is center position. move your finger up/down/left/right, then one of KEY_UP/DOWN/LEFT/RIGHT event will be generated respectively. in my recovery, KEY_UP/DOWN are assigned to move up/down, KEY_LEFT is assigned to select item, and KEY_RIGHT is assigned to back.

you need to move your finger some amount of distance(for now, 1/4 of touch screen height for up/down, 1/8 of touch screen width for left/right).

if you lift your finger without moving(or less than "some amount of distance"), BTN_TOUCH event will be generated. in my recovery, currently it's just ignored. I tried to assign it to select item, then default "reboot system now" item was selected by mis-operation several times ;)

----

generally, on A10 Android devices, touch screen driver is provided as a kernel module. if your kernel needs TS driver module, you need to add TS driver module as "/ts.ko" in ramdisk in recovery.img. otherwise you can't use TS to control recovery.

----

as usual, my changes will be pushed to github when I can get more time.

EDIT:

upstream CWM was updated to ver.6. my changes will be conflict but currently I have no time to update my changes for ver.6.

EDIT2:

well... maybe "disable TS control" knob should be prepared...? comments are welcome ;)

EDIT3:

this should work on many single-touch and multi-touch device, but it will not work on multi-touch type B protocol device.
[Miscellaneous Android Development] fun_:
I heard keyboard doesn't work on it. I'll check & fix when I can get time...
[Miscellaneous Android Development] getexsm:
Did try the same zip, did get upside-down CWM (when using terminal in the tablet) and installed CM9 nightlies,, it booted okey, but now i dont have any touch, and i dont know how to get into Recovery again,, it only shows up as a un-known unit in my Windows..

Whats some good ADB drivers for this ? D90w..
[Miscellaneous Android Development] sas_sas:
Missing options in CWM recovery

I have owned a Sanei N83 Deluxe tablet recently.

I have upgraded to the latest FW from manufacturer's support page. It is ICS 4.0.3..

I also rooted it by MrTasselhof script.

Everything is alright, running very well..

I have one trouble which makes me crazy..

CWM Recovery is a simplified and 3e version. It has no Backup/ Restore option..

I tried to upgrade it to a proper version but none of them successfully ends despite all those recovery image are made for AllWinner A10 tablets as here..

Can any one comment ?

Ths in advance..
[Miscellaneous Android Development] scorpio16v:
I tried out the 20120716 version of CM9 for the MK802. Looks beautyfull. :good:

But I realized, that this version doesn't support my on the stock ROM working USB-Ethernet adapter anymore. There isn't a menu option for that. Any way to make it work another way ?
[Miscellaneous Android Development] KEgg1:
Also been playing with CM9 Mk802... Its really fealing lovely.. couple of things have hit me though.. Main one is I seem to be lacking Audio, and have not been able to change screen res from 160(phone) to 120(tablet)

great work on both CWM + CM9.. many thnx
[Miscellaneous Android Development] fun_:
I guess you're talking about MK802_update.zip on my site, right?

then, you for your report!

--

at first,

there are some other better CM9/AOKP for some A10 tablets(see post#1 here). officially I closed my CM9 project because I don't have enough time and other CM9 projects are more active. my CM9 project was started before Allwinner's source code was available, my CM9 doesn't use any part of Allwinner's code, my CM9 can't use some parts of A10 hardware.

sometimes I still do something for A10 and I upload my output. files for MK802 are part of them. please feel free to use these files. I'll not remove my CM9 files unless someone ask me to remove it. I'll accept questions about it. but I may not do any further work... I don't promise anything.

--

about MK802,

I don't have MK802(I don't have any A10 device other than NOVO7 Advanced1). I can guess something, but please understand it takes time to do something w/o real device.

(you may think "buy it! it's very cheap!". exactly! I always want new toy! ...but I already bought tooooooo many cheap toys. oops.)

in my CM9, I didn't change anything for MK802 yet. HDMI output is optional for other A10 devices. I think HDMI audio will work by changing mixer configuration.

I added a function to detect supported HDMI video output mode to CWM, but it isn't added to CM9 yet. I think MK802's default output mode is 720p 50Hz. some display doesn't like 50Hz, then my CM9 will not be displayed unless default output mode (written in script.bin in nanda) is changed.

screen dpi is 160 on my CM9, but tablet UI should be selected if you are using 720p or above... if you really need my CM9, please tell me detail about your environment.

I don't have enough time to read other forum like as rikomagic. please give me feedback on here.

thank you for your cooperation.

EDIT:

hmm... my CM9 doesn't work with latest official rom for MK802, right?

my CM9/CWM doesn't update bootloader and other things which runs just after power-on. I used kernel from 20120524 rom... probably 1st rom. it may not work well on MK802 flashed with latest rom.

I'll try to use files from latest official rom for next(if possible). please tell me URI to download latest official rom for MK802.

(please don't tell custom rom. I need to learn some things from rom. customization may confuse me)
[Miscellaneous Android Development] fun_:
thank you for your report!

about drivers, some kernel modules for USB-ethernet need to be loaded. I can see some drivers in 20120524 rom for MK802. it should be easy to add them.

about android things, some lines need to be added to use ethernet with DHCP. it should be easy too.(I did it on my CM9 for Amlogic device)

about config UI for ethernet, there are some codes on android-x86 project. I think it can be merged.(I did it in CM7 age)

some of "other better CM9/AOKP" may have ethernet support. please check them too.
[Miscellaneous Android Development] fun_:
nothing is missed. you're just using stock recovery(3e). CWM recovery is not stock recovery.

and sorry, CWM for Sanei N83 is not available here. (CWM for some another tablet may work on your tablet, but I don't have any information about it)
[Miscellaneous Android Development] KEgg1:
Not got round to trying this out on the new Mk802 firmware that was made public on the 18th July. But will see if it does work at somepoint tomorrow.

Its a real shame you wont be concentrating on this Firmware quite so much.. this would make the ever growing community for the Mk802 very excited..

I cant post outside links as yet as I am a new person on here.. But they can be found easily over on the rikomagic . co . uk / forum /

They're in the thread Rev.2 Firmware Page One

or

store.cloudsto.com/downloads/MK802_0710B.rar

Even though there are some really nice new additions to the new Firmware, there's a lot of Video based bits that have broke.. ac3/dts hardware audio support is a great example of no longer working. I think there a lot a people wanting to use the Mk802 as a Smart Tv extension.. im using it as a universal media player that will govern all Torrents downloaded to Nas, and act as a server/renderer for other devices around the house.

you may want to look at mix and matching the best bits from both roms out there

Cheers:D
[Miscellaneous Android Development] scorpio16v:
I use the latest firmware from july that came up a few days before. Tried other roms already, from Cristian Troy, but booting ended without screen output.

I've used his test compatibility update.zip for mk802 for that.

In his changelog, he has flaged hdmi as not working,.

Other people reports, that even an adb connection failed. So I guess it doesn't boot.

Something between the old firmware and the currend one must be changed too.

On the new firmware, your recovery is shown with 4 times on the screen. Colors are messed and every second menu option, the screen went black.

But the good thing is, it's working. :)
[Miscellaneous Android Development] t-bon3:
Where are the MK802 compatibility files for Christian Troy's generic A10 CM9 roms?

I don't see anything on the download server:

http://www.androidfilehost.com/main/Allwinner_A10_Developers/christiantroy/
[Miscellaneous Android Development] fun_:
strange, but no idea for now.

EDIT: can you use adb on stock rom or on my CWM?

it seems frame buffer is running in 32bit color mode... hmm...?

it should be easy to change CWM to use 32bit color mode, but I'm not sure why it doesn't work with 16bit color on new rom...
[Miscellaneous Android Development] KEgg1:
Is there anything you need from us Mk802 owners that will help?

output logs from the likes of Lumberjack, etc?
[Miscellaneous Android Development] fun_:
I really need more free time :(
[Miscellaneous Android Development] scorpio16v:
Sorry, have no luck for ADB. Maybe wrong driver or so. Using Lifesuite " LiveSuitPack_version_1.07_2011026 " on 64-bit Windows 7.

"adb connect" via WLan, the same for me.

On CWM, Windows shows a missing driver, but after manual search for the driver it reports, that there isn't a newer one.

Damn thing :silly:
[Miscellaneous Android Development] t-bon3:
ADB working fine on the stock ROM using drivers from here:

http://chinamobiles.org/downloads/zap/Drivers_AllwinnerA10_32and64.zip

Dont bother with windows update it will not find the drivers, use the ones from the archive above and you are good to go.

Livesuite drivers will only enable the connection to the device in bootloader mode.
[Miscellaneous Android Development] fun_:
LiveSuit is completely different thing. please forget about it while talking about adb.

on windows, generally any adb driver can be used... google's official one in sdk is enough. the problem is difference of vendor id/product id written in .inf and used in your rom. these ids can be changed. you may need to edit .inf to match ids used in your rom. there are a lot of howtos on the net.

adb can be configured as "disabled" at initial boot. in this case you need to enable debugging from Setting UI.

some kernel build from source may have bug around adb. in this case, adb will not work even with proper driver.
[Miscellaneous Android Development] fun_:
it seems Christian Troy did the work :) thank a lot!

for MK802 users who want CM9, please refer his thread!
[Miscellaneous Android Development] KillerKink:
fun,

you can check out this touch recovery. work well on a10.

http://xdaforums.com/showthread.php?t=1485829

too lazy, i will try and get the source for a10 out on github when i can. :)
[Miscellaneous Android Development] fun_:
thank you for your infomation.

the problem is, my free time ;) I can't rebase my changes to CWM6 yet... :(
[Miscellaneous Android Development] scorpio16v:
I see,you have made a new recovery for mk802. It boots, but I can't select something. Looks like the old version ( splited screen and wrong colors )