yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] fun_:
"waiting" doesn't help this project at all. why you didn't try 1st?

really soon unless no one prevent me by posting worthless question.

(for me, soon is one of which, within a day, within a week, within a month, within a year, or never happen)

--

I forgot to write (and did it just now) "don't ask ETA" on post#9.
[Miscellaneous Android Development] fun_:
HDMI output is tweaked. remote controller is working properly now.

20111023 files are uploaded.

repos are pushed to github. see OP. some tips should be added (will do later).
[Miscellaneous Android Development] fun_:
20111024 uploaded (replaced few hours ago)

fix small graphics issue
[Miscellaneous Android Development] Zagdima:
You are really cool man. Nice job.
[Miscellaneous Android Development] aludal:
Excellent development, Mr. fun_!

I plan to do a write up in my blog about this. As for your questions about Zenithink ZT280 of different form-factors, it's unclear whether they based on Android 2.3 or -- most probably for me, at least -- on Android 2.2.

Together with Ainol Novo 8 and Gadmei T820 there's another device looking like an Ainol's rebrand: Aigo M801.

Can anyone with this build make some screenshots, or better video clips and post them (link) here? Of interest are:

-- 2D (GUI rendering/video decoding and rendering) hardware acceleration/performance, preferably with some comparison to stock A2.2;

-- overal agility of the build, maybe some benchmarks;

-- what doesn't work at this point?

Thank you! Can't wait to publish this Mr fun_'s great breakthrough for my readers in English, Russian, Japanese.
[Miscellaneous Android Development] fun_:
as I wrote Zenithink released 2.3 rom. and I found Pandigital Nova has 2.3.

I got my novo8 few weeks ago, until then I didn't care any amlogic tablets at all. I need more time to learn about them ;)

I think 2D is not so fast due to screen size. hardware video decoding doesn't work. I didn't use stock rom well (only few days). I need to reinstall stock rom to check some things.

I'm not sure benchmark is meaningful at this stage. anyway, I'll post 0xbench result soon.

(but some 2D/3D score may not be reliable because it reaches limit(refresh rate) easily on 0xbench)

is there any other good benchmark app? I don't like Quadrant.

http://www.glbenchmark.com/ looks nice but I need to register to get result.

i/o may be slow. I feel lags e.g. while installing app.

I'm not sure what/how works on stock yet ;) "work" things are listed on OP.

please write review freely, but I don't think my CM7 port is excellent ;) further development is needed to get excellent one. I can't promise I can do it.

thank you for your cooperation!
[Miscellaneous Android Development] aludal:
I will do whatever I can in support of this development. Meanwhile, you're welcome to comment on my write-up in fineoils.blogspot.com
[Miscellaneous Android Development] fun_:
yup. at least I need to comment about motoya font ;)
[Miscellaneous Android Development] fun_:
well, sorry,

do you want to know how to use CWM/CM7 without NAND?

or

do you want to know how to restore NAND?

no need to erase NAND to use CWM/CM7. so I recommend to restore NAND at 1st.
[Miscellaneous Android Development] ifynk:
Ok. I will restore NAND.

I can save to NAND u-boot. Then i can start CWM. Can i write CWM to NAND and how?

---------- Post added at 10:17 AM ---------- Previous post was at 10:07 AM ----------

To start Android with erased NAND i used this steps.

1. Start recovery.

fatload mmc 0 82000000 uimage_recovery

bootm 82000000

Recovery loaded.

2. Then i install Update.zip

Restart

3. Run Android

fatload mmc 0 82000000 uimage

bootm 82000000

Android loaded and worked.

In your files i cant see uimage file or something like. And i tried this:

1. Clocworkmod started automatically.

2. Install aml8726m_update.zip Restart.

3. Try to run Android with uImage file from original firmware

fatload mmc 0 82000000 uimage

bootm 82000000

Loading started, but stoped on ALSA init.
[Miscellaneous Android Development] fun_:
please treat uImage_cwm as same as uImage_recovery in stock rom.

you can flash uImage_cwm instead of uImage_recovery into recovery area of NAND from u-boot prompt, or flash uImage_cwm into recovery partition from shell prompt on clockworkmod with flash_image command.
[Miscellaneous Android Development] ifynk:
I realized that I must first install the original firmware. Then run CWM and install the aml8726m_update.zip. Is this true?
[Miscellaneous Android Development] fun_:
as I said, no need to erase NAND. everything can be put on NAND and no extra user interaction is needed unless you break u-boot environment.

my CWM/CM7 work like as stock recovery and stock android.
[Miscellaneous Android Development] fun_:
you can skip to install original firmware if you understand what is needed well. but I recommend to restore original firmware at 1st.

procedure for installing CM7 is correct. please see post#2 here. it's simple.
[Miscellaneous Android Development] ifynk:
Ok. I understand you. I wil restore original firmware and i will try to run CM7. logs will be later. Thanks.
[Miscellaneous Android Development] fun_:
just to clarify, installing aml8726m_update.zip will do necessary work.

as same as stock rom, no need to load uImage from SD card, no need to enter any command on u-boot prompt to boot.
[Miscellaneous Android Development] ifynk:
I am restored original firmware. Then run CWM and installed aml8726m_update.zip. Android are started, but at the momemt looped.

Loop started from [ 8.090000] === property triggers ===

Logs attached.
[Miscellaneous Android Development] fun_:
sorry, what I want is logcat output.
[Miscellaneous Android Development] ifynk:
No problem :) I hope they help.
[Miscellaneous Android Development] fun_:
well, I need logcat output to fix bootloop on your tablet.
[Miscellaneous Android Development] ifynk:
Sorry, but I not understand that I need to do.

---------- Post added at 04:24 PM ---------- Previous post was at 04:22 PM ----------

Logs from #189 post are not suitable?
[Miscellaneous Android Development] fun_:
connect USB, run "adb logcat" on PC, save output, then post it here.
[Miscellaneous Android Development] ifynk:
Ah!!! Now i understand you ) Ok. I will do it later.
[Miscellaneous Android Development] ifynk:
I can't run adb command adb logcat. adb devices show 0 devices.

But in recovery mode adb devices show 1 device.
[Miscellaneous Android Development] fun_:
did you flash uImage from stock rom?

if yes, please don't do it.

if no, please flash boot.img in zip by run "flash_image boot boot.img" command manually on shell, then tell me output of flash_image command.

and please tell me what is displayed on screen. I guess, on stock rom, you can see 2 boot logos and boot animation. how about on my CM7? can you see CyanogenMod boot animation?
[Miscellaneous Android Development] fun_:
I changed title of this thread from "for ainol NOVO8 Advanced" to "for Amlogic AML8726-M tablets". I hope my CM7 will work on iRobot A907 soon.

if you have another tablet with Amlogic AML8726-M, please tell me detail about your tablet.

thank you for your cooperation!
[Miscellaneous Android Development] ifynk:
Firstly i clear my NAND. Then i install stock firmware with files (aml_logo, logo, uImage, uImage_recovery, u-boot-512M-UartB.bin, update.zip, aml_autoscript).

Now stock firmware are worked.

Then i run CWM and install aml8726m_update.zip. After reboot i can see A9 logo,then Amlogic logo, then Green Droid. No CW7 Logo. Loadind a loopped on Green Droid logo and i can't see anything.
[Miscellaneous Android Development] fun_:
I see. then, please try to flash boot.img manually.

I guess it didn't flash properly. so it will fail...

EDIT:

adb is disabled on stock rom(uImage flashed in boot partition).
[Miscellaneous Android Development] ifynk:
Can i do this from uboot promt?
[Miscellaneous Android Development] fun_:
please try flash_image on shell on clockworkmod recovery.

boot.img should be flashed so it may show some error.
[Miscellaneous Android Development] ifynk:
But i CWM recovery i can't find shell for flash_image.

Stop. I understand now.
[Miscellaneous Android Development] ifynk:
I am flashed boot.img file from recovery with ADB
[Miscellaneous Android Development] fun_:
hmm... succeeded...

then, what happen after reboot?

this time I want to see console output too. and please try adb logcat too.
[Miscellaneous Android Development] ifynk:
Nothing new. A9 logo, Amlogic, green droid and loop.

adb logcat not worked.

Console output from terminal?

---------- Post added at 09:24 AM ---------- Previous post was at 09:21 AM ----------

Boot animation in stock firmware are started after Green Robot.
[Miscellaneous Android Development] fun_:
all output from u-boot to boot loop... like as Loading_CM7.log.txt you posted.
[Miscellaneous Android Development] fun_:
EDIT: nevermind

please make sure SD card for installing stock firmware is not inserted after CM7 is installed.

and I want to see "cat /proc/mtd" on clockworkmod, and printenv output currently using.

if flashing boot.img is OK, but stock boot image is loaded, then stock boot image exists somewhere and u-boot load it.

and if CM7 boot.img is not properly loaded, then load & boot it manually from u-boot prompt like as "fatload mmc 0 82000000 boot.img; bootm 82000000".
[Miscellaneous Android Development] ifynk:
No.This has always been.

In stock: A9, Amlogic, Green droid, bootanimation (android).

After installing aml8726m_update.zip: A9, Amlogic, Green droid...loop

---------- Post added at 09:38 AM ---------- Previous post was at 09:36 AM ----------

Ok, later. Tablet at home and i on my workplace.

---------- Post added at 09:40 AM ---------- Previous post was at 09:38 AM ----------

I remember that loop in the same place. I think the Loading_CM7.log.txt log should help.

---------- Post added at 09:42 AM ---------- Previous post was at 09:40 AM ----------

Ok. I will do this.
[Miscellaneous Android Development] fun_:
I said "I want to see". you really sure my request is meaningless?

you flashed boot.img. I want to see that boot.img is properly loaded or not. if you didn't do anything after that log was recorded, then that log should help. you didn't flash boot.img after that log was recorded?

EDIT:

no need to hurry it, of course. I just want to know fresh, and correct information.
[Miscellaneous Android Development] ifynk:
Ok. I will save new log.
[Miscellaneous Android Development] ifynk:
Log. This is after flashing boot.img file.
[Miscellaneous Android Development] fun_:
thanks.

NAND read: device 0 offset 0x3000000, size 0x1000000
16777216 bytes read: OK
## Booting kernel from Legacy Image at 82000000 ...
Image Name: Linux-2.6.34
Image Type: ARM Linux Kernel Image (lzma compressed)
Data Size: 3210729 Bytes = 3.1 MiB

it's not boot.img in CM7 zip. correct one is

Image Name: CM7 for A907 20111214
Created: Wed Dec 14 23:52:35 2011
Image Type: ARM Linux Kernel Image (lzma compressed)
Data Size: 2878544 Bytes = 2811.08 kB = 2.75 MB

please try to load boot.img manually from u-boot prompt.
[Miscellaneous Android Development] ifynk:
~ # logcat
logcat
/sbin/sh: logcat: not found
~ #

~ # cat /proc/mtd
cat /proc/mtd
dev: size erasesize name
mtd0: 00400000 00200000 "bootloader"
mtd1: 00400000 00200000 "environment"
mtd2: 00400000 00200000 "splash"
mtd3: 01000000 00200000 "recovery"
mtd4: 01000000 00200000 "boot"
mtd5: 0f000000 00200000 "system"
mtd6: 02400000 00200000 "cache"
mtd7: 20000000 00200000 "userdata"
mtd8: c3c00000 00200000 "media"
~ #
[Miscellaneous Android Development] ifynk:
Yeah. CM7 loaded.
[Miscellaneous Android Development] princeover:
AML 8726

Hi Ifynk I see that you did revved the new system on the your tablet. I try to read about it, maybe more teaching, but my situation is much more difficult...
[Miscellaneous Android Development] fun_:
can you explain more specifically? no problem at all?

if there is issue, please tell me detail and show me logcat output.

--

I guess your u-boot and kernel is out of sync. I'm not sure what happen. I don't know current u-boot setting but at least boot.img(uImage) must be placed at 0x3000000. I think it's not related to CWM/CM7.
[Miscellaneous Android Development] ifynk:
CW7 loaded.

Touch screen calibration - OK

Music - OK

...

Not worked:

Wi-Fi

Video

Logcat will be later.
[Miscellaneous Android Development] princeover:
Hi I wanted to ask, "fun"

Is it possible to boot and run from the USB port or SD card model tablet that HYSTON_9587 Aml8726M? Tablet does not NAND memory now?

Please apposition.

Help me.
[Miscellaneous Android Development] fun_:
sorry, it's impossible "to answer your question" from your very short message. I couldn't understand about your tablet and your problem from your message.
[Miscellaneous Android Development] fun_:
I'm not sure why you needed to remove NAND. anyway, Android on SD card is technically possible, but it's impossible to explain everything because I'm really busy. sorry.
[Miscellaneous Android Development] fun_:
http://bbs.imp3.net/thread-10517021-1-1.html

new 2.3 ROM for NOVO8 is released before I finish work with previous ROM...

I'll try to make new image with it.
[Miscellaneous Android Development] ifynk:
I writed CWM5 and CM7 to NAND manualy. With commands:

CWM5 (uImage_cwm) - nand write 82000000 2000000 1000000

CM7 (boot.bin) - nand write 82000000 3000000 1000000

Now, the tablet will start automatically.

What logs do I need to write now?
[Miscellaneous Android Development] ifynk:
Logcat CM7 loaded + WiFi

WiFi now worked.
[Miscellaneous Android Development] kokesh:
I got this one...

I got this one from ahappydeal.com (now they changed the product page to 1.2GHz A9 with camera

- it has the same specs, but no full USB port and no camera

- power button on the side (instead the button on the front there is little Android logo instead)

- build.prop says it is "HYSTON_9587"

Can anybody identify this tablet? I've attached some photos

I think it may be this one:

http://androidfragmentation.com/dat...n;jsessionid=0D1E54B64551A1746BB9D9CDCD7AD4B3
[Miscellaneous Android Development] fun_:
you may need to use this procedure to install(update) another rom(other than my CWM/CM). kernel should know partition layout correctly, and "flash_image" should write new image to correct area...

can you tell me what you did to enable wifi?

do I need to change my sources?

and can you check "working" things on OP current status?

if all of them are working, then iRobot A907 is "supported".
[Miscellaneous Android Development] fun_:
I don't not know well about it but it seems it's also sold by hyston.

http://micdigi.com/2011/08/disassemble-the-tablet-pc-with-the-price-at-￥399/

this one is also no camera and no normal USB port.
[Miscellaneous Android Development] ifynk:
I just wipe data.

At the moment I checked (worked):

WiFi, Music, Internet, DSP, SU, Calibration, USB flash

Checked games:

Fruit Slice, Plants-vs-Zombies.

At the moment, does not work:

BlueTooth (built-in), Video, Microphone, Nand flash (not available)

---------- Post added at 09:44 AM ---------- Previous post was at 09:21 AM ----------

fun_, please tell me how you collect the firmware? How to extract the uImage? Where can I read about the structure of the firmware? Thank you.
[Miscellaneous Android Development] inunxelex:
this rom support nat/iptaples for auto proxy apps...? :confused:
[Miscellaneous Android Development] dandel:
Do you have need for a developer to help with getting support added for the Pandigital Star tablet?

Also, The Pandigital star tablet is on sale for about $100 on Walmart's website.
[Miscellaneous Android Development] fun_:
thank you for your information!

I'm not sure how many Pandigital Star owner is here now, but you will be able to help them!
[Miscellaneous Android Development] fun_:
I see. then I think iRobot A907 is almost working/supported :)

I just use files you provided. (sorry, I'm not sure what you asked)

uImage is image format used by u-boot. it's widely used and has long history. there are a lot of information/code/tool for it. please check "mkimage" command.
[Miscellaneous Android Development] ifynk:
And what about video? How do I get hardware acceleration?
[Miscellaneous Android Development] ifynk:
http://openlinux.amlogic.com/downlo...ernel-2010-12-10-14.28-git-a56e4234af.tar.tgz

It can help? As I understand it the kernel?

---------- Post added at 03:51 PM ---------- Previous post was at 03:30 PM ----------

It's something new

http://openlinux.amlogic.com/download/linux/GPL_code_release/2011-12-20/
[Miscellaneous Android Development] fun_:
currently I have no time to try it.

thank you for your info. it seems amlogic released android kernel (and others) again.
[Miscellaneous Android Development] fun_:
http://www.ainol.com/plugin.php?identifier=ainol&module=download&action=info&downloadid=72

same ROM is uploaded on ainol official page too.
[Miscellaneous Android Development] dandel:
What about the log from the Original Kernel? This looks like the original manufacturer modified some source and did not publish the changes.

Also, I am worried about the following part that appears in the logs...

[ 4.280000] NAND detect Bad block at 1000fe000
[ 4.280000] ethernetinit(dbg[c07b2d30])
[ 4.283000] addr is f9010000
[ 4.354000] can't find any mii phy device !
[ 4.354000] dwc_ahci: version 3.0
[ 4.356000] dwc_ahci lm2: base address: 0xF9400000
[ 4.361000] dwc_ahci lm2: irq no: 62
[Miscellaneous Android Development] ifynk:
http://xdaforums.com/showpost.php?p=20187822&postcount=165

---------- Post added at 09:18 AM ---------- Previous post was at 09:14 AM ----------

On the http://openlinux.amlogic.com/wiki/index.php/Arm/Android/3.Building_the_Code

used this config meson_refc01_defconfig.

May need another one? How to determine the correct configuration?

---------- Post added at 09:20 AM ---------- Previous post was at 09:18 AM ----------

I still have a question. For Android 2.3 can I use any kernel and rootfs?
[Miscellaneous Android Development] fun_:
amlogic's source code is for amlogic's product. not for any tablet from other company.

it will not work w/o modification. as far as I know no one can make fully functional kernel for his tablet.
[Miscellaneous Android Development] hillbeast:
I have started work on making the kernel work. At this stage, it's very limited. No support for Android, the NAND doens't work 100%, the touchscreen and jogball have incorrect IRQs and there are probably various other issues.

https://github.com/hillbeast/Kyorakernel
[Miscellaneous Android Development] fun_:
oh, amlogic removed android kernel source again ;)

http://www.chinadigitalcomm.com/post23865.html#p23865
[Miscellaneous Android Development] hillbeast:
I'll update my kernel repo to it.
[Miscellaneous Android Development] anmolmX5A:
I am interested also into Cyanogenmod support for GADMEI and P4D-SIRIUS.

So, looking into the git-server Kyorakernel

I believe that the nearest config is: "meson_refb10_defconfig"

Attached is the config.gz from /proc of the tablet, translated to .config.

OOOpps, newbie cant send attached files..sorry for the inconvenience.

Please, dont hesitate to make any remark or question,

Best Regards,

Antonio
[Miscellaneous Android Development] Vl(@)d:
Hi, fun_

How is unpack and repack boot.img?

split_bootimg.pl doesn't work.:(
[Miscellaneous Android Development] hillbeast:
There are two scripts here on my GIT repo:

https://github.com/hillbeast/Kyorakernel

unpack and repack-uimage.sh
[Miscellaneous Android Development] dandel:
Thanks for the information... Anyways i got a few updates.

First off, I ran the tool you have on my device, and the output is:

./unpack-uimage.sh boot.img
Checking for uImage magic word...
1+0 records in
0+1 records out
4 bytes (4 B) copied, 6.5799e-05 s, 60.8 kB/s
uImage recognized.
Extracting data...
51663+1 records in
6457+1 records out
3306446 bytes (3.3 MB) copied, 0.0433624 s, 76.3 MB/s
Checking for ARM mach-type...
3+0 records in
0+1 records out
3 bytes (3 B) copied, 3.0216e-05 s, 99.3 kB/s
Checking for zImage...
1+0 records in
0+1 records out
4 bytes (4 B) copied, 5.5959e-05 s, 71.5 kB/s
>>> boot.img extracted to Image
>>> Image unlzma'd to Image-ext
Extracting initramfs image (start = 151552, end = 2180196)
2028644+0 records in
2028644+0 records out
2028644 bytes (2.0 MB) copied, 4.49185 s, 452 kB/s
cpio: /sbin: Cannot change mode to rwxr-xr-x: Operation not permitted
cpio: /sbin/adbd: Cannot open: Permission denied
cpio: /dev: Cannot change mode to rwxr-xr-x: Operation not permitted
cpio: /proc: Cannot change mode to rwxr-xr-x: Operation not permitted
cpio: /sys: Cannot change mode to rwxr-xr-x: Operation not permitted
cpio: /system: Cannot mkdir: Permission denied
cpio: /data: Cannot mkdir: Permission denied
cpio: /default.prop: Cannot open: Permission denied
cpio: /init.rc: Cannot open: Permission denied
cpio: /initlogo.rle.bak: Cannot open: Permission denied
cpio: /init.goldfish.rc: Cannot open: Permission denied
cpio: /boot: Cannot change mode to rwxr-xr-x: Operation not permitted
cpio: /boot/mali.ko: Cannot open: Permission denied
cpio: /boot/ump.ko: Cannot open: Permission denied
cpio: /init: Cannot open: Permission denied
3963 blocks
initramfs.cpio extracted

Is this output normal? it has a few errors ( probably because i ran it as non-root )

Also, when building the kernel, I love the fact it is missing source:

CC arch/arm/mach-meson/board-8726m-refb17.o
[... Cut a whole bunch of warnings ...]
arch/arm/mach-meson/board-8726m-refb17.c:1313:31: error: 'MESON_I2C_PREG_GPIOB_OUTLVL' undeclared here (not in a function)
arch/arm/mach-meson/board-8726m-refb17.c:1314:27: error: 'MESON_I2C_PREG_GPIOB_INLVL' undeclared here (not in a function)
arch/arm/mach-meson/board-8726m-refb17.c:1316:27: error: 'MESON_I2C_PREG_GPIOB_OE' undeclared here (not in a function)
arch/arm/mach-meson/board-8726m-refb17.c:2147:6: error: 'aml_sound_card' undeclared here (not in a function)
arch/arm/mach-meson/board-8726m-refb17.c:2262:5: warning: "CONFIG_VIDEO_AMLOGIC_CAPTURE_GT2005" is not defined [-Wundef]
arch/arm/mach-meson/board-8726m-refb17.c: In function 'm1_init_machine':
arch/arm/mach-meson/board-8726m-refb17.c:2428:5: error: implicit declaration of function 'set_audio_en' [-Werror=implicit-function-declaration]
arch/arm/mach-meson/board-8726m-refb17.c: At top level:
arch/arm/mach-meson/board-8726m-refb17.c:2311:20: warning: 'eth_pinmux_init' defined but not used [-Wunused-function]
arch/arm/mach-meson/board-8726m-refb17.c: In function 'gc0308_init':
arch/arm/mach-meson/board-8726m-refb17.c:1063:1: warning: control reaches end of non-void function [-Wreturn-type]
[Miscellaneous Android Development] hillbeast:
Are you running the script as su?

Also you have chosen the wrong configuration to build with. It should be board-8726m-refb10
[Miscellaneous Android Development] dandel:
No.

I am fairly certain I have the right configuration, because the configuration is a copy and paste directly from the tablet.
[Miscellaneous Android Development] hillbeast:
Yeah there is clearly something missing then.
[Miscellaneous Android Development] fun_:
hi

lately I'm busy so no visible progress is done yet. I'm trying to make CWM/CM7 for other tablets, but I'm also thinking about CM9.

I'm not sure I should use my time for CM7 or CM9. anyway some more time is needed for next my output...

thank you for your cooperation!
[Miscellaneous Android Development] fun_:
I didn't see that script well, but I think --no-absolute-filenames should be added to cpio.
[Miscellaneous Android Development] ifynk:
Why repack script always show New initramfs is too big? I have not changed anything in ramfs.
[Miscellaneous Android Development] hillbeast:
Might be the way the cpio is being packed up. Delete the initlogo.rle.bak as it's not needed. It just shows the Cortex A9 logo.
[Miscellaneous Android Development] ifynk:
but in my kernel does not initlogo.rle.bak file
[Miscellaneous Android Development] hillbeast:
What does it have?
[Miscellaneous Android Development] ifynk:
I've already solved the problem. I used uImage_recovery with the original firmware in initramfs which is large.
[Miscellaneous Android Development] kokojojobobo:
+1 I also have the ct1002 and porting cyanogenmod would be awesome!did you find any solution?