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

I prepared serial cable to my TV box. I'll try to make c03ref kernel on mine.

I also have interest to keep USB on while suspending for another reason. I'll try to investigate it. (but I'm not sure when I can get time, sorry)
[Miscellaneous Android Development] murigny64:
What about dev CM9 for aml8726m ?
[Miscellaneous Android Development] fun_:
I'm thinking to add the code to swap/rotate accelerometer axes... but progress is slow as usual, sorry.
[Miscellaneous Android Development] fun_:
just FYI, CM9 is running on my Android TV box(MP016, MBOX, SKU102992) by modifying some lines (by hand, for now).

it needs few more time to make 1st "release" image but if you need I can put snapshot image. there is some limitation and it may not be good for you.

and also I want to check compatibility to other c03ref based model.
[Miscellaneous Android Development] $$pasquale:
Hi all,

I build new ROMs for Ainol Novo8.

CM7 - http://origovacua.altervista.org/wordpress/cyanogenmod7-novo8

CM9 - http://origovacua.altervista.org/wordpress/cyanogenmod9-novo8

bye :)
[Miscellaneous Android Development] zuluman:
Hi. I have a c03ref model android TV box. Can I test your cm9 relase
[Miscellaneous Android Development] stane1983:
You can share with me also your CM9 for c03ref to see how it works :)
[Miscellaneous Android Development] fun_:
http://files.androtab.info/amlogic/cm9/20120524/MP016/

test image for MP016, MBOX, SKU102992. please make sure your box is same as mine(see attached pics). please don't use different type of c03ref clone for now.

you need 720p display.

unzip uImage_recovery in MP016_recovery.zip and put it on root of SD card. (aml_autoscript is not necessary)

power off, insert SD card, connect USB keyboard directly, then boot CWM by push & hold recovery switch in bottom hole while power on.

cursor UP/DOWN for up/down, HOME for select, TAB for back.

wipe /data and install MP016_update.zip.

ethernet can be used with DHCP by default. no config UI for ethernet.

realtek 8192cu USB wifi is recognized but it connect/disconnect repeatedly. realtek 8192su and ralink rt3070 may work but not tested.

it's not finished yet. please don't expect so much.
[Miscellaneous Android Development] stane1983:
Just to confirm that it's not working on Visson's c03ref...

Recovery doesn't have picture (TV says unsupported resolution). Tried to convert to standard aml recovery, but still doesn't work. Dont have much time now, maby I messed something up with updater script...
[Miscellaneous Android Development] zuluman:
when i flash your cm9, cwm screen shows product.device and build.product errors. than i flashed uImage_recovery with nand command. but my device bricked. now i fixed my device with old uImage_recovery.

can you make cmw for me
[Miscellaneous Android Development] stane1983:
Don't really like to quote my own posts but... :)

Ok, it stands that CWM recovery doesn't work on Visson's c03ref, but manually editing updater script and using Vissons kernel for 4.0.3 and recovery image, resigning zip I managed to install it on device and it works.

FYI, ralink 3070 which is built in my box doesn't work.

There is missing option for preventing device to go to sleep. When it goes to sleep, I can't wake it up. Maybe remote codes, didn't change those...
[Miscellaneous Android Development] fun_:
at first, please read my message carefully. 2nd, please explain detail about your device.

you can't install MP016_update.zip with stock recovery. (updater-script needs to be modified and resigned for stock recovery)

I never say flash my uImage_recovery to NAND. just boot it.
[Miscellaneous Android Development] fun_:
I need detail information to support other devices. at least I need stock rom for your device to make working image and to get information.

EDIT:

about wifi, I guess module is not loaded or interface name is not "wlan0" (probably "ra0"). but I don't want to use my time to guess something w/o information.

EDIT3:

I checked 4-23 4.0firmware.rar for Vission's box. 8192cu/su and rt3070 drivers are compiled as modules, and only 8192cu.ko is available in /system/lib.

currently my CM9 doesn't load any wifi module, so wifi must not work with any wifi which needs kernel module.

I'll add support for modules. but anyway information is necessary to support something properly.

EDIT2:

about "CWM recovery doesn't work", more correctly "CWM for MP016 doesn't work on your Vission". I said it's not for other device.

did you replace kernel in my uImage_recovery? I think CWM will work on your Visson after necessary modification. I know stock recovery can handle update.zip signed with test-key. but CWM will be useful for other purpose.

on my box USB is stopped when suspend. I need to use remote controller to resume.

you can stop suspend by enabling "stay awake" option in development setting. getting wakelock may be another workaround.
[Miscellaneous Android Development] Toshimitsu:
unfortunately same result as your image
[Miscellaneous Android Development] orb3000:
.

Please have in mind this is a thread of developing work and discussion, stay on topic and respect each one.

I don´t want to come again and give some bans or close the thread:rolleyes:
[Miscellaneous Android Development] naguz:
Correction noted.

Just retested the wifi issue with another app (Firefox), and the exact same thing happened again. It fails to start wifi after waking up, if you were downloading a file over wifi when the screen times out and goes to black, or jou lock the device using the power button. (Refer to previous pastebin-link)

As it will be quite messy with a lot of dfferent bugs commented on here, you might want to start a google issue tracker or run your own to have some order in the soon-to-be chaos.
[Miscellaneous Android Development] fun_:
how about this one?

http://androtab.info/files/novo8/cm7/flash_image

EDIT: temporary removed. I'll upload new w/o padding ver. soon

EDIT2: uploaded. I confirmed padding issue is solved. please confirm crash issue on 8MB erase size case. I'll make new whole images asap for working clockwrokmod etc.
[Miscellaneous Android Development] fun_:
20111028 is uploaded.

fix flash_image padding issue, and support 16GB model (hopefully. not yet confirmed but it should be better than keep 20111024 online...)
[Miscellaneous Android Development] hillbeast:
I am going to be purchasing one of these tablets within a week. I am currently a developer for the Galaxy 3 and would like to also do development on the tablet once it arrives. Would you like any help?
[Miscellaneous Android Development] Toshimitsu:
The more people work on it, the better it will be :)

EDIT: gonna try the newly uploaded ROM in a few mins

EDIT2: flashed successfully :) great job fun_!
[Miscellaneous Android Development] fun_:
thank you for your cooperation! enjoy!

patch is uploaded to http://review.cyanogenmod.com/9512

will be merged eventually.
[Miscellaneous Android Development] x10dead:
Hello.

There is a fresh (official) ROM for the Wayteq xPAD-70, maybe you can use it

Android v2.3.4. (kernel: 2.6.34)

It's clocked to 1GHz

Latest MALI drivers

I'm sorry but I'm not allowed to post outer links, but you can find it here:

wwwDOTwayteqDOTeu/hu/sw-update-xpad70-gingerbread-v1

Notes:

We weren't able to root it atm.

The original recovery was updated (missing option to make AC3 decoding enable)

Skype works, better wifi, better quadrant results, (maybe) better power usage.

Some people experiencing various lags/freezes/graphical glitches

Cheers,

X.
[Miscellaneous Android Development] fun_:
thank you for your info.

--

for chinese cheap tablets, rooting is easy if original/update firmware is available. in most cases, they are not protected at all. (why rooting is difficult on major phones is because they are protected)

no need to use rooting app for such a case. just add/edit necessary files in update firmware, then install it.

on aml8726-m tablets, AC3 license should be stored in efuse. it will not be erased on firmware update/factory reset/etc.
[Miscellaneous Android Development] johnpozas:
initramfs in uImage

Hi fun_

Can you please tell me how to repack an initramfs to uImage in novo 8 advance?
[Miscellaneous Android Development] fun_:
do you already know about uImage format and can extract raw kernel?

here is dev thread. I think you have some knowledge, then please explain what you already know, not just asking everything.

EDIT:

ah, you asked same question on chinadigitalcomm http://www.chinadigitalcomm.com/ainol-mid-f105/initramfs-repack-in-uimage-t11044.html

and you should know many things http://www.chinadigitalcomm.com/ainol-mid-f105/kernel-compile-error-t11033.html

you could/should explain yourself :(

which do you want to know, how to make uImage which contain only ramdisk? or how to replace ramdisk in raw kernel binary(extracted from stock uImage)?
[Miscellaneous Android Development] cheeyee:
Hi fun_,

I know how to extract the raw kernel and initramfs, but not sure if this is the only way.

1. first skip the 64 bytes of uImage, everything after that is the compressed kernel.

2. Use lzma -d to uncompress.

3. The initramfs in the Novo8 is an uncompressed cpio archive. So to get the beginning of the initramfs, find the offset of by the text value "070701". And get the end of initramfs by find offset of the text "TRAILLER!!!".

4. Use dd to extract the initramfs from the raw kernel by the offsets obtained from step3.

5. Use cpio to expand the fs.

I only know how to repack the initramfs by replacing the segment of raw kernel with the new initramfs.cpio. It works only if the size of the new initramfs is the same as the old initramfs.

If the new initramfs has a different size the kernel will not boot. How do you work around this issue?
[Miscellaneous Android Development] fun_:
yup, exactly same method I do :)

fortunately CM7 ramdisk is smaller than stock 0719 (no initlogo.rle in CM7). recovery is bit larger, but uImage_recovery in 0719 has large ramdisk area so I'm using it for recovery.

sorry for no new info for you!
[Miscellaneous Android Development] sottaquadrat:
what is the different of cm7 with another roms?
[Miscellaneous Android Development] fun_:
what is "another roms"? another stock rom/custom rom for novo8?
[Miscellaneous Android Development] cheeyee:
Just for completeness. You can re-create the uImage from raw kernel with the following steps.

1. Use lzma to compress the raw kernel after replacing the initramfs.

2. Use mkimage to create uImage.

mkimage -A arm -O linux -T kernel -C lzma -a 80008000 -e 80008000 -d <<compress_kernel_from_step1>> <<image_name>>
[Miscellaneous Android Development] hillbeast:
Cyanogenmod is a complete open source modification of the Android system. It is developed by hundreds of developers all helping to get the best out of peoples phones and devices. It is the most popular mod as well and gives a dramatic improvement in performance over most stock ROMs. The Galaxy 3 for example is currently getting a CM7 port and the performance is incredible compared to the rubbish Samsung firmware.
[Miscellaneous Android Development] fun_:
thank you :)

sometimes I'm using following command line to one time extract:

tail -c +65 uImage | lzma -dc | tail -c +$((pos+1)) | cpio -i --no-absolute-filenames
[Miscellaneous Android Development] johnpozas:
Hi fun_

I will be more specific. I want to replace ramdisk in raw kernel binary from the stock kernel.

Please be more detailed about replacing the initramfs int the raw kernel .

Sorry for the delay.
[Miscellaneous Android Development] Lugaidster:
Hey guys, do you guys know how possible is to hack an AML8726-MX device or if someone has access to the source code? I'm waiting for my device to arrive but I haven't been able to find this SoC's kernel source. I have only found AML8726-M3. Maybe it works?
[Miscellaneous Android Development] fun_:
what is "hack"?

I think I can make CWM/CM9 for M3/MX devices regardless of kernel source availability. for me priority is quite low because I don't have M3/MX devices. I'm sure they are cheap, but my wallet already gone to hell ;)

I don't think M3 kernel (source) works on MX.
[Miscellaneous Android Development] KainXSS:
26-M

does anyone know if the zenithink ZT-280 C-71 is supported yet, its a 8726M- but not the newer M3
[Miscellaneous Android Development] zuluman:
sorry for less information my device.

i added a picture shows inside device and files list in my device's update.zip

i treid boot with your cwm, but nothing show anything to screen. i added putty log for what happen while booting.
[Miscellaneous Android Development] stane1983:
That is Visson ATV-108 rev 1 board or ATV-101 (as you wish, they are the same), same as mine c03ref. See my post above. If you're not familiar with the procedure do not continue.

Link: http://www.2shared.com/file/_GAnLHfz/m1_cm9.html

Upgrade procedure as usual with reset button on the back side. If you're upgrading from 2.3.4, you have to install firmware twice (bootloader changes, this is from vissons instructions)

Btw, can you tell me pin output for uart? It should be ttl interface, right? Never needed it, but...
[Miscellaneous Android Development] zuluman:
yes. ttl interface have su permission over android system.

already pinout named on the board. if your board not show,i can share pinout picture
[Miscellaneous Android Development] fun_:
hi

please read my post

http://xdaforums.com/showpost.php?p=26524679&postcount=780

if you can please copy /system/lib/8192cu.ko from stock rom to CM9 and try insmod manually. wifi may work.

on my c03ref with 8192cu USB dongle, it doesn't work well. it goes into power saving mode while using :(

please tell me how it works on your c03ref.

I tried ralink 3070 USB dongle. it works fine.

I also have 8192su USB dongle, driver is attached, but it doesn't work at all :(

----

btw if both of you have Visson's box which can use 4-23 4.0firmware.rar, I can make CWM/CM9 for it.
[Miscellaneous Android Development] Xelit:
I do not think so, in m3 revision (kernel 2.6.xx) no information about mx.
[Miscellaneous Android Development] zuluman:
some result. working wifi with insmod but show poor signal and drop connection many times.

tried modify build.prob with ro.screen.has.timeout=false for sleep issue

but dont work :(
[Miscellaneous Android Development] stane1983:
You're not reading carefully :)

from fun_:

you can stop suspend by enabling "stay awake" option in development setting. getting wakelock may be another workaround.
[Miscellaneous Android Development] 8ovonnovo8:
Inviato dal mio DROID2 GLOBAL usando Tapatalk
[Miscellaneous Android Development] stane1983:
Here is my status....

I'm building test firmware (ICS) with samba support, various subtitle encoding support in videoplayer (Amlogics)...

Seems I was wrong about ralink 3070, sorry for that :)

Anyway, tomorrow I will have fw (not CM9) for test for Visson ATV-108 c03ref users.

fun_, about f16ref... Problem was in sources I had, it was very buggy... With new sources it compiles and runs good. Except for wifi, driver is loaded and shows available networks, but refuses to connect (connecting/disconnecting issue) - 8192cu. There are differences in c03 conf and f16 conf regarding this driver, they are not the same (in size). Will try to switch them tomorrow, now I'm busy with c03ref and porting my GB code to ICS.
[Miscellaneous Android Development] fun_:
about 8192cu driver, I'm thinking to disable power saving code in driver. I'm sure 8192cu works fine on stock rom w/o modification so it's just workaround...
[Miscellaneous Android Development] stane1983:
Visson's stock rom does have same problem (f16ref) and in Amlogic sources there are files with different size for c03ref and f16ref for same device. Driver file which is in c03ref configuration works fine on c03ref board, but driver which is in f16ref configuration doesn't work on f16ref board.
[Miscellaneous Android Development] stane1983:
Anybody have 2.6.x amlogic kernel sources for m1 and ics friendly? Or any instructions how to do it on kernel which was released with GB branch?
[Miscellaneous Android Development] fun_:
I'm using same stock kernel/same 8192cu driver(compiled in kernel) on my CM9 and stock rom. it works fine on stock rom.

I compared wpa_supplicant_6 provided on openlinux.amlogic and in AOSP 4.0.4. there is no difference.

driver and wpa_supplicant should be ok. I'm looking rtw_pm_set() in os_dep/linux/ioctl_linux.c.
[Miscellaneous Android Development] zuluman:
any news about wifi??
[Miscellaneous Android Development] stane1983:
Will publish ICS for Visson ATV-108 rev 1 (c03ref) later today, it's compiling right now...

Features:

- MoviePlayer: added shadow to subtitles

- MoviePlayer: user selectable subtitle encoding

- MoviePlayer: if player starts for the first time, default codepage used is set based on system language (English/Croatian/Chineese)

- FileBrowser: Behaviour of Esc button is changed. When back button or Esc on qwerty keyboard is clicked, FileBrowser goes folder up. When it is in root folder, it asks if you want to exit application

- Network: Added samba support, UI reused from Gingerbread. Working on my own UI app, but for now this... Sometimes it says that it can't connect to ip. Just confirm that message and click once more to connect to share. I'm not sure if this error will occur on c03ref, it occurs on f16ref

- su and Superuser included in firmware

- market etc working
[Miscellaneous Android Development] murigny64:
@ fun_ :

You publish new builds (20120528) but no change for IDX10: rotation and camera still won't work.:confused:
[Miscellaneous Android Development] fun_:
yes, no visible change from me. I just uploaded and not announced. if you don't want new files w/o my change, I'll remove it.
[Miscellaneous Android Development] murigny64:
Ok fun_, it' was just a question. So we wait ... :);)
[Miscellaneous Android Development] fun_:
as you may know, I'm busy :(

please don't expect so much even if I'm doing something for this project. I can't promise anything. (for everyone)
[Miscellaneous Android Development] del-y-sid:
fun_,

Please, on next release MP016 and ATV-108 firmwares

Correct Recovery sellect button to Enter

Add adjustment of the screen

Mouse - usually the right mouse button is the return

Raise the CPU frequency to 900

Turn off screen lock

Tnx
[Miscellaneous Android Development] fun_:
try 20120529(or later) image on my site.

Cursor/Page/Mouse up: UP, Cursor/Page/Mouse down: DOWN, Enter/End/Mouse left button: SELECT, ESC/Home/Mouse right button: BACK

what's this?

"usually" left/middle/right buttons just make down event like as touch on touch screen.

if it's configurable, it will be better. but currently it's not implemented yet.

currently I don't have a plan to do such a modification.

(I don't say current performance is best)

did you see Settings screen?
[Miscellaneous Android Development] del-y-sid:
Manualy align the borders of the screen, when they do not fit into tv.

Why not? This works in Recovery. Here are some keylayout codes that I found:

key 288 left mouse button

key 289 right mouse button

0x110	; mouse left click

0x111	; mouse right click

In original firmware left button - select(touch), middle - Menu, Left - Back
[Miscellaneous Android Development] fun_:
are you using non-dot-by-dot/non-fixed-pixel TV?

after playing movie w/ hw codec, screen is scaled(boarder is added). it's not good on dot-by-dot LCD and I want to control it.

but it will needs a lot of time...

recovery is different to android.

sorry, I'm not sure mouse buttons can be configured by keylayout file. if you are sure, please try and tell me result.
[Miscellaneous Android Development] stane1983:
fun_, see this thread starting with my post. Fw from this thread is deleted, but newest is still online, maybe you can get something useful from there, such as samba :D. If you're planing to copy my samba solution, you have to add (with other things, read about starting smbd...) mkdir /NetShares 0775 root system to your init.rc.

About screen scaling, ubootenv variables are used to store these values, and files that actually responsible for scalling are set_display_position.sh and reset_display_position.sh.

UI stuff is not hard to code, in Amlogic fw it's implemented in settings... If you have sources of 2.3.4 from amlogic, you can look there.
[Miscellaneous Android Development] chambejp:
CWM

ok well I hope it's not to late to jump on this bandwagon though I'd really love to get source and a howto.

This is for a Pandigital Planet.

$ cat /proc/mtd
dev: size erasesize name
mtd0: 00800000 00200000 "nandboot"
mtd1: 01000000 00400000 "logo"
mtd2: 01000000 00400000 "aml_logo"
mtd3: 01000000 00400000 "recovery"
mtd4: 01000000 00400000 "boot"
mtd5: 10000000 00400000 "system"
mtd6: 04000000 00400000 "cache"
mtd7: 20000000 00400000 "userdata"
mtd8: 08000000 00400000 "customdata"
mtd9: 3a000000 00400000 "NFTL_Part"
$

And attached is my config.gz

As I don't have fastboot I'm not sure how I'll get this onto the device though but I'll figure it out.
[Miscellaneous Android Development] fun_:
I prepared my Allwinner A10 tablet(NOVO7 Advanced, CPU 1GHz) to use 1280x720 HDMI screen, and I confirmed 3D is faster than MP016(1280x720, CPU 750MHz) and NOVO8(1280x768, CPU 1GHz).

now I'm curious about 3D performance with 3.0.8 kernel/modules on AML8726-M tablets... can anyone run 0xbench app on my CM9 with 3.0.8 kernel/modules?
[Miscellaneous Android Development] fun_:
hi,

some links to sources and docs are available on post#1. if you have a problem, please write more specifically about it.
[Miscellaneous Android Development] fun_:
thanks. your firmware looks very nice :)

about screen scaling, I'm sure about these scripts. I don't want to use any non-licensed code in my CM9 so I need to write something from scratch. and I want to fix other critical issues first...
[Miscellaneous Android Development] xtreme_protector:
@_fun:

Just wondering, is there a changelog for your mbox 016 firmware ?

Thanks !
[Miscellaneous Android Development] fun_:
no meaningful work is done yet.
[Miscellaneous Android Development] xtreme_protector:
@_fun:

Could you please let me know what issues are still left for you to fix ? I still have on my mbox a 2.3.4 so I would like to know the differences, before trying out the new firmware. Thanks again !
[Miscellaneous Android Development] fun_:
I have no responsibility to fix any issue so nothing is left for me. if you need something, please write more specifically about it.

CyanogenMod have no relation to stock Android on mbox. everything is different. please refer CyanogenMod site to learn about it.
[Miscellaneous Android Development] xtreme_protector:
@_fun:

Ok, so here are a few things which do not work well on my current 2.3.4 firmware. Please let me know (if you could),. if they work on your latest fw.

- Sleep and wake up: Whenever I put the mbox to sleep, after waking it up, the ethernet connection cannot be restored (keeps connecting then imeediately disconnecting). After a short while, the device reboots by itself.

- Playing 720p mkv's with high bitrate have sound issues (a click occuring every few seconds). or the whole video is interrupted ,and the last two seconds then get repeated.

- Are usb webcams supported (with sound ) for e.g. skype ?

- Is video playback HW accelerated with e.g. mx player pro ?

- How is the overall speed (including browser speed) compared to stock 2.3.4 ?

I would really appreciate if you could respond to the above questions. Thanks again !
[Miscellaneous Android Development] fun_:
I don't try it yet.

I don't try it yet.

I can see picture from USB webcam but I don't think it's usable.

hw video should work as same as CM9 for other AML8726-M devices. I don't try mx player pro yet.

no idea. I didn't use stock 2.3.4 so much.

I don't think my answer is meaningful. it's just started and nothing is finished.

(or "nothing is finished" may be answer for you...)