yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] Mitred:
Hi fun thanks for the pm found my way here at last

i have not managed to get into stock recovery on the Excel so far so i have not made any kind of file dump or backup i will see how it goes and keep my eye on this thread i have root and terminal emulator i have installed superuser as an app from market

can i type a command to get into stock recovery or would you think there is no stock recovery

cheers
[Miscellaneous Android Development] FezzFest:
Recovery is also a mistery to me. I tried 'adb reboot recovery' but I guess that was too simple. There is a recovery partition (I created an image with dd above) but haven't found a way to boot into it. I'd love to know how the topic starter got clockworkmod working :)
[Miscellaneous Android Development] fun_:
hi.

stock recovery should work because it's necessary to run "factory reset" from setting menu on stock rom. (it's done automatically so we can't use it to enter recovery mode. I just explained about functionality)

and recovery is not necessary for now. what I need is not complete dump image. I just want to know hardware related things so tar archive is enough.

permanent root is not necessary too. sometimes rooting app makes brick, so I don't recommend it. I don't recommend to modify stock rom unless you have official rom and flash tool.

if adb shell is root shell, then rooting is not necessary at all. if adb shell is not running, or non-root user shell, temporary root is necessary to get root shell.

then, you already got root shell, right?

then, please check following commands are available in your rom, "tar" and/or "busybox".
[Miscellaneous Android Development] fun_:
"adb recovery" doesn't work. I'll post how to enter recovery. please wait for a moment.

anyway, please tell me name of your tablet, or link to web, or photo.

if busybox is in your rom, "busybox find /sys" will work.
[Miscellaneous Android Development] FezzFest:
It's a Bmorn V11. The 'busybox find /sys' command indeed works, I have attached the output files to the zip file in this post.
[Miscellaneous Android Development] Sinlath:
i'm guessing you are referring to the Bmorn V11 rebranded for Promedia ?

If so, keep in mind that there are 2 versions of this tablet, one with 3600 battery and one with 3200 battery, the 3200 version has the goodix_touch drivers.
[Miscellaneous Android Development] K.Chan:
doing my bit =] hope these help :D

1.) Auto Test

2.) Tools

3.) vibrate

4.) screen color

5.) camera

8.) button

9.) speaker

10.) volume source??? (I'm not sure as it is Mandarin Chinese...)

13.) battery

14.) touch screen

17.) g-sensor

19.) tf card???

20.) wifi
[Miscellaneous Android Development] djsebyss:
thanks :) I hoped one of those was a language select :)

Maybe it's in tools?

or button?

Or maybe it's only in chinese and I give up :D
[Miscellaneous Android Development] fun_:
I guess it's some kind of health check tool used in chinese factory.
[Miscellaneous Android Development] fun_:
http://files.androtab.info/allwinner/cm9/20120114/A10GB/

CM9 for NOVO7 Advanced with GB ROM(tested with 2.0.4).

please remember, this is work-in-progress development project. even official CM9 is not released yet.

* not work

3G, camera, hardware accelerated video, HDMI, mount from PC, and many things which you expect to work

* work

3D, accelerometer, audio, gapps, internal NAND flash, SD card, touchscreen, USB host/device, remote controller, vibrator, wlan

* issues

- reboot recovery doesn't work. you need to do it manually. "Factory data reset" in Settings doesn't work too.

- multitouch partially works. please check how it works with "Pointer Location" in Dev Tools app.

- USB mass storage mode(mount from PC) doesn't work.

- some graphical errors on rotating, some popup dialogs, etc.

- navigation bar (soft keys) doesn't work well so it's disabled

- tablet UI doesn't work well so currently phone UI is used

- video streaming in Browser app(e.g. Youtube mobile) doesn't work. video app(e.g. Youtube app) should work but software decode only.
[Miscellaneous Android Development] fun_:
if you have another CM9 device, please tell me difference. I have a lot of questions about CM9, but I can't check myself :(
[Miscellaneous Android Development] black7even:
Ive own a bmorn v9 plus with allwinner 10 cortex 8, I have tried to make a dump with the Rom manager app, but it don't work so I tried your commands and the clockwork mod started, with display errors. It don't backup anything and can't restart the system. How can I boot back to the normal android, or does anybody have here a system image / firmware that I can use to flash it with live suit back? Help plz!

Btw things that I tried are flashing other firmwares, but they don't work couse of the resolution, my pad have normally 800x600 and is 8inch. All the other firwares have 800x460 or 1024x768. So I really need your help guys
[Miscellaneous Android Development] fun_:
on CWM, I thought physical VOL+ is up and VOL- is down, but I noticed it's swapped... ;)

I think these keys are also used on Bmorn V11 and Scroll Excel. then, may I change(swap) VOL+/-?
[Miscellaneous Android Development] FezzFest:
Go ahead ;) I changed recovery_ui.c to swap the keys.

Now trying to modify your CM9 build for the Bmorn V11, probably some edits in init.rc are enough.

I'd still like to build it from source though :)
[Miscellaneous Android Development] fun_:
yup. anyhow proper support for other tablets need to be done ;)

of course I'll push source code when I have a time...

on CM9, wifi modules are loaded in init.sun4i.rc because I got "module is loaded when wifi on but logcat says not loaded" error. so please add your kernel module & modify some lines in init.sun4i.rc.

about accelerometer, at this time I didn't enable legacy sensor module support code in CM9 because I can use new module from NOVO7A ICS ROM.

kernel module should work, please add kernel module in your stock rom into CM9 and load it from init.sun4i.rc.

then, please try this sensor module: http://files.androtab.info/allwinner/cm9/test/sensors.exDroid.so

it's taken from ONDA Vi40 ICS ROM. it seems Vi40 also have mma7760.

of course you can enable legacy sensor module support after I pushed my codes :)

EDIT:

launcher doesn't rotate with default setting. please check Settings -> Trebuchet -> General
[Miscellaneous Android Development] Mitred:
Agreed i just tested Scroll Excel and

CWM vol+ moves down

vol - moves up

power button to select

Back button to go back

i did not notice before because CWM only works in landscape on Excel
[Miscellaneous Android Development] fun_:
yup I also didn't see icon/text on side keys. but I guess users already learned "this one is up, another one is down" so they must be confused ;)

current CWM uploaded with CM9 is also swapped. I'll upload new CWM with fixed key assign. new CWM can be used independently but please wait new CWM.

(I want to do it today...if I have enough time)
[Miscellaneous Android Development] fun_:
CM9/CWM for NOVO7 Advanced with ICS ROM(new partition layout & format) is almost ready. I'll upload it soon.

CWM works fine.

sadly legacy TS support need to be enabled with 3.0.8 kernel :(

it means mutitouch has same issue on this CM9 too.

graphical error on rotate is gone, but some other errors still remain.

I got some silent reboot. it didn't happen on CM9 for GB ROM. I guess leaked ICS ROM also have same issue...

it's not tested well but I think other parts should be same as CM9 for GB ROM.

--

now we know it's possible to make CWM9/CWM for A10 tablets with GB ROM and ICS ROM. I don't have enough time to do everything but I'll push my source code so you can enjoy development work yourself.

enjoy!

(I'll add support for Bmorn V11 and Scroll Excel but please give me time)
[Miscellaneous Android Development] fun_:
forgot one thing,

you can see red border line on screen at random. it's because "strict mode" is enabled. current CM9 is "eng build". I'll change it to "userdebug build" on next release.

please ignore for now.
[Miscellaneous Android Development] findus10:
Hi i have this tablet : http://www.tomtop.com/cell-phones/notebookstablet-pcs/7-allwinner-a10-cortex-a8-1ghz-android-2-3-ultrathin-5-point-capacitive-tablet-pc-wifi.html

u think this rom would work on it? i i really like to help testing.
[Miscellaneous Android Development] Igthorn:
I installed CWM on an iView 760tpc. I swapped out the drivers with the ones from the 760tpc's stock rom (hdmi.ko, disp.ko, lcd.ko, sun4i-keyboard.ko) and disabled hv2605.ko in init.rc. Though I don't know if that really mattered. I didn't test with the drivers that came with cwm, but there is no hv2605.ko in 760tpc's stock rom.

Backing up to internal sd and external sd worked, but '/sd-ext' couldn't mount. The main partitions seemed to backup correctly (boot/system/data/recovery/cache). I haven't tried a restore yet. There is also a '/datadata' mount in the init.rc that doesn't have a fstab reference.

iView 760tpc

Allwinner A10 1ghz

512mb ram

4gb internal

bma250 g-sensor (bma250.ko)

FocalTech systems touchscreen (ft5x_ts.ko)

CWM KeyTest

Vol+ : 139

Vol- : 217

Power: 116

Menu : 115

Home : 102

Back : 1

What the buttons do in CWM

Vol+: Down

Vol-: Up

Power: Select

Back: Back

I've attached dmesg, getevent, ls, and find outputs.
[Miscellaneous Android Development] xenoxc:
Can this CWMod use with Gemei G2?
[Miscellaneous Android Development] K.Chan:
helping again, hope it's not too late :o

First pic

Clear test result ----- IMEI signal

Coupling test ----- Clear data

switch off

good (green) ------- bad (red)

second pic

back button ----- menu button

main button ----- search button

volume - button ----- volume + button

power button

good (green) ----- bad (red)
[Miscellaneous Android Development] K.Chan:
some chinese forum saying that ICS 4.0.3 for 7A will be release next week, hope it will solve silent reboot issue and provide a better foundation to build CM :)
[Miscellaneous Android Development] krylm:
Howto document from crane_sdk translated with pictures

Hello,

I've bought recently GoClever Tab A73

www goclever.com/en/tablet/372-TAB-A73-.html

It should be AllWinner A10 tab too. I've attached dmesg after boot and wifi connection. But I was unable to get to recovery mode yet (tried every combination but without success). I don't know how to backup factory ROM before trying some experiments...

I'd like to help somehow, so I've translated howto from crane_sdk (with help from Google Translate) and merged even highlighted parts in images. (attached) I hope it helps...
[Miscellaneous Android Development] FezzFest:
ICS based on the 2.6.x kernel works fine with some issues:

- Graphics artefacts (also occured on CM7 but not on stock)

- Audio artefacts (only in standby with USB-cable connected)

Most applications work - some don't but most of the crashes can be traced back to the Mali driver having problems. I'm wondering, do the graphics issues also occur on the Novo7 or is it a bad implementation by Bmorn? Anyway, I appreciate your work :)
[Miscellaneous Android Development] fun_:
I understand relation between UI and softkeys...

on Phone UI (which has status/notification bar on top), navigation bar on bottom (which has soft keys) can be enabled at build time.

on Tablet UI (which has status/notification bar with softkeys on bottom), navigation bar can't be used. if it's enabled, bottom bar is missing.

currently navigation bar is disabled. if your tablet has 800x480 screen, and if you lower ro.sf.lcd_density (e.g. 120), you can use Tablet UI. but widget area is too large for 800x480. some tweak should be done. (if your tablet has larger screen, probably Tablet UI will be default and widget area will be fine)

if you want to use Phone UI + navigation bar, you need to rebuild frameworks. probably it can be done by tweaking compiled frameworks, but I don't have interest to do it myself.

EDIT:

I noticed graphical error on popup dialogs (part of dialog is missing) seems to be gone with density=120(Tablet UI). on NOVO7A leaked ICS ROM, density is also 120 and it's Tablet UI. I think density shoud be 120 on NOVO7A.

but it may not be necessary on other (larger screen) tablets.
[Miscellaneous Android Development] fun_:
CM9/CWM for ICS ROM is uploaded. new CM9/CWM for GB ROM is also uploaded.

project page and post#1-3 on here are updated. please check it.

CM9/CWM for ICS ROM have kernel for ainol NOVO7 Advanced so it must not work on other tablets. DON'T USE IT on other tablets.

for GB ROM may work on your tablet ONLY IF you know how to do development work with it.

other tablets will be supported if I have enough time and you can give detail information about your tablet.

please don't post "please give me" repeatedly. if you fill here with such a useless message, I'll miss necessary information posted here.
[Miscellaneous Android Development] fun_:
can you specify about them?

"on rotate" - very dirty but harmless, ignorable ;)

"popup dialogs" - bit difficult to control, but it disappears on 120dpi/tablet UI

well, while playing some music but screen-off? or no music?

on NOVO7A, if it in standby mode, I can't connect adb shell so I enabled "stay awake" option. this prevent deep sleep while connecting power (and probably USB?).

please check your setting and tell me what happen on both cases. probably it doesn't happen on NOVO7A... anyway, I'll check it.

please tell me which app and error log.

thank you for your cooperation! I'll push my repos asap...
[Miscellaneous Android Development] fun_:
thank you for everyone who posted information about your tablet.

I want to try to make CM9/CWM for your tablet, but I'm really busy. I'll do it when I have enough time. I can't promise when it's done.

I'm just a person. please don't expect so many. thank you for your cooperation!
[Miscellaneous Android Development] kcthomlau:
Your great job is always appreciated! Thanks for it especially when you are quite a busy person. ;)
[Miscellaneous Android Development] fun_:
oops.

on latest recovery, adb shell doesn't work :(

- exec '/system/bin/sh' failed: No such file or directory (2)

I'm sure it was worked before... I guess recent change for "eng build" to "userdebug build" may affect it...

anyway, currently CWM works fine, so it should not be a problem ;)
[Miscellaneous Android Development] fun_:
I just pushed my repository to github.

"cm_device_allwinner_a10" repository is completely new. old one was renamed and will be removed. if you have old one, "git pull" doesn't work. please "git clone" again with new repository.

"master" branch is for ICS ROM, and "gingerbread-rom" branch is for GB ROM.

(currently difference is very small in source code)

there are not-yet-pushed patches in frameworks/base for TS and hardware/libhardware_legacy for vibrator.

I'll update this post when they are pushed.
[Miscellaneous Android Development] saulmrt:
I succsessfully installed CWM on my bmorn v99, but I have 2 problems:

- CWM is unable to mound /sdcard and /sd-ext

- the back and homebuttons are not working

any ideas?

Edit:

I just added the dmesg output. But I have to mention, that bmorn installed something like a beta rom on the first delivered tablets. So some things may change until the release of their final rom (for example: the cpu frequency is supposed to be 1.5ghz but with this rom only 1ghz). I will upload the new dmesg info as soon as I will get the final rom.
[Miscellaneous Android Development] spiros100:
tablo 7"

I don`t have a clue about development but Ive been having a look around and have found a few other tablets that have the same spec as the Tablo 7".

The Rexing v7 and the Player Momo 9c.There is also a customized firmware on the Player website.Ive installed the Rexing firmware and got a little touch control.im waiting for the momo 9 firmware and will install soon as i can.hope this can help.

ive tried just about every firmware i can find now and have had the most success with the ployer momo9c firmware but the touch is still out of sync with the screen.time to give up and wait for official support.
[Miscellaneous Android Development] fun_:
multitouch issue is fixed :)

I'll push source asap...
[Miscellaneous Android Development] Logseman:
fun_, I've pulled your cm_device_allwinner_a10 repo and given it a peek. I guess that you based your extract-files.sh in the Ainol Novo7A, but from what you have seen, is it valid for all the allwinner tablets or does it need changes?
[Miscellaneous Android Development] FezzFest:
You need to change the name of the modules according to the modules in the stock ROM, but apart from that, there are no changes required.
[Miscellaneous Android Development] Logseman:
Thanks, this is my first time trying to port a ROM (i want to port it to an Onda vx610w) and I'm kind of trying to grasp all the new things I'm seeing :)
[Miscellaneous Android Development] fun_:
I noticed "missing popup dialog" issue also happen on CM9 for NOVO8. probably I need to investigate this issue but will do later...
[Miscellaneous Android Development] fun_:
sorry, I read code carefully, and I noticed TARGET_USES_OLD_LIBSENSORS_HAL in CM9 is for sensors module older than gingerbread. (TARGET_USES_OLD_LIBSENSORS_HAL in CM9 works as same as in CM7)

so sensors module taken from GB ROM should work on ICS/CM9 w/o legacy support code.
[Miscellaneous Android Development] fun_:
oh, 4.0.3 ROM for NOVO7A is released... too busy ;)

I'll use kernel and proprietary files from it on next release...
[Miscellaneous Android Development] hackfinn:
looking forward on this :D
[Miscellaneous Android Development] wangwangzi:
novo7 Elf can use this?
[Miscellaneous Android Development] tsynik:
"official" kernel

Here is the "official" Linux 2.6.36 kernel source from Allwinner

https://github.com/allwinner/linux-2.6.36

With all repo history up to date....

Just only the kernel with the current updates (NOT android framework, NOT buildroot)

From slatedroid
[Miscellaneous Android Development] FezzFest:
Yup, found it on SlateDroid too. But for the moment I don't have the time to look into it. :)
[Miscellaneous Android Development] hackfinn:
@fun_

Can you check on this, the official ICS 4.0.3 firmware for Ainol7A

http://www.slatedroid.com/topic/27567-firmware-official-novo7-advanced-ice-cream-sandwich-403/
[Miscellaneous Android Development] ljeh:
Could someone please point me out how to mount e.g. RFSFAT16_BOOT_00000000000 under linux.

I keep getting errors, even if i try simg2img
[Miscellaneous Android Development] Lesicnik1:
What about this: http://www.focalprice.com/CE0023B/G...et_PC_with_2160P_HDMI_WiFi_3G_Game_Black.html

It says it has the "A10" CPU model.
[Miscellaneous Android Development] fun_:
I managed to make proper fix for multitouch issue. I'll make new CM9 image for NOVO7A both GB/ICS ROM (hopefully)soon.

btw ICS ROM is really unstable. terrible. I don't recommend it :(

tablet UI is really nice but 120dpi is not so nice so I'll use phone UI/160dpi for a while. if you want to try, please change density yourself.
[Miscellaneous Android Development] happyhappy:
FUJITSU LifeBook T5010 Battery

hello FUJITSU LifeBook T5010 Battery
[Miscellaneous Android Development] saulmrt:
I finnaly got a full Gingerbread systemimage for the bmorn v99:

http://ul.to/g0li0ytu & http://saulmrt.de/downloads/V99_firmware_2.0T.zip

Edit:

And ICS Beta Image: http://ul.to/zacefdxx & http://saulmrt.de/downloads/v99_4.0.zip

Thanks to Mark from brmorn :)

I hope this can help :)

Edit2:

Can someone upload the tool to unzip this img files?
[Miscellaneous Android Development] Lesicnik1:
Something like this? http://www.extractnow.com/
[Miscellaneous Android Development] saulmrt:
Well I tried about 12 tools to extract the LiveSuit *.img rom files. But not one was able to. Someone wrote in this thread, that he found a tool that was able to partically unpack that *.img file.
[Miscellaneous Android Development] Logseman:
Have you tried unyaffs?
[Miscellaneous Android Development] saulmrt:
yes, but it said that the file was not valid :-/
[Miscellaneous Android Development] FezzFest:
That was me. I used this tool. Most of the resulting files (e.g. RFSFAT16_SYSTEM) can be mounted as ext4 filesystem in Linux. It does not seem to work on the *.img files that contain new partition layout (ICS).
[Miscellaneous Android Development] fun_:
thank you :)

there are other commands for old SoChip/BoxChip images on the net but only unimg.exe is necessary for us.

here is new partition layout on ICS ROM for NOVO7A.

http://xdaforums.com/showpost.php?p=21273853&postcount=168

but it may be changed. you can get correct information from dmesg.

bootloader area (RFSFAT16_BOOTLOADER_00000 file) is FAT. there are initial bootloader and u-boot. u-boot loads following boot or recovery image.

(in GB ROM there is kernel instead of u-boot)

boot and recovery area (RFSFAT16_BOOT_00000000000, RFSFAT16_RECOVERY_0000000) are android boot image format. it can be handled by unpackbootimg and mkbootimg.

(in GB ROM these are ext4)

system area (RFSFAT16_SYSTEM_000000000) is ext4 but I think simg2img is necessary before mounting(or any another way?)
[Miscellaneous Android Development] KillerKink:
Excellence work, Fun.

I have just forked your a10 device tree to try out on my p76ti.
[Miscellaneous Android Development] fun_:
I tweaked UI layout a little. "Tablet UI" is enabled on 800x480 screen with 160dpi configuration. UI parts may be too large for 7" but probably it's good for 5".

this tweak is applied only in system. app(e.g. launcher) is not changed (3rd party app can't be changed, of course). basically Tablet UI is for 1024x600 or larger screen so if it can be enabled in app on 800x480 screen, UI parts will be too large and layout will be broken ;)

I hope this change will be good for everyone... if you like Phone UI, sorry ;)
[Miscellaneous Android Development] fun_:
thank you. I'm really busy so please do any improvement freely :)

(I was thinking to make CM for IMX515 but mysteriously I couldn't login freescale's site and I found your firmware so I just gave up to do it lol)
[Miscellaneous Android Development] Lesicnik1:
I've got a question now.

I've extracted the contents of Gemei G2's firmware .img file.

But now all I got were some extension-less files and some HDR files.

What do? :/
[Miscellaneous Android Development] KillerKink:
Oh. you own an imx515 tablet? Cool. I did consider doing a CM7 for IMX515 but was too noob about cyanogen to do it.

I am trying to learn more about CM this time round using the A10. If I gain sufficient knowledge, I will attempt to do a CM9 for imx515. :)

Yeah, I guess you must be really busy since you have been saying it often. I will see how much I can do and add on to your tree. Github is new to me though.
[Miscellaneous Android Development] fonix232:
After adding the tablet characteristics, modify DPI to 120, and it will have a proper layout!
[Miscellaneous Android Development] fun_:
did you read my message carefully? did you read my codes? did you try my CM9 yourself?
[Miscellaneous Android Development] fonix232:
I read your code after I posted my message, sorry.

I had luck with CM9 on other devices with setting DPI to 120 and tablet characteristics (tablet base hw is different but screen size is same, 7" and 800*480), so basically, yes I did try CM9, but not on these tablets (also given that there are a lot of variants for A10, and I own an LY-F1, LYXF Aura F1, what has different wifi, sensors, etc, it won't work mostly).

Your recovery will need updating too - now we can use a proper recovery.img with the latest update of Ainol/Onda/whoever else releases such tablets
[Miscellaneous Android Development] fun_:
"DPI to 120"? did you read post#3 here?

I can't understand "your recovery will need updating too". how? why?

if you just said "please make CWM for other tablets too", I'll do it when I have enough time.

EDIT:

my post was for 800x480 but 160dpi configuration. clearly described. I can't understand why you need to blame my work.
[Miscellaneous Android Development] fun_:
I just start CM9 build with latest changes now... I hope I can upload this output today ;)

EDIT:

http://files.androtab.info/allwinner/cm9/20120122/

uploaded but not tested yet. I'll test & update my site later...