yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] $$pasquale:
Good news friends,

I fixed first issue

(camera : rotation of the recording).

Monday I will release new ROM!

Bye

EDIT!: libcamera fixed http://ubuntuone.com/1szJPpl5dYICaRiD7WmgmC
[Miscellaneous Android Development] dandel:
I figured out part of the work on your system by looking at the source. You have Meson3 board with using reference board F33. Anyways, Did your vendor release gpl source by any chance?
[Miscellaneous Android Development] haydar75:
No they did not, provide a gpl source, they don't even provide me with the uImage and uImage_recovery to make my work easier.

The only think i can use is the upgrade script from Ramos W6HD, but when i install there system, i get a very poor colored screen (i think 8bit colors), and the touch screenand buttons does not work.

i have a backup of these mtds, but i don't know how to restore them
[Miscellaneous Android Development] dandel:
The color being wrong hints at either a misconfiguration in either the user space, or kernel driver.
[Miscellaneous Android Development] ifynk:
Hi. Yes, i tried, but video still not worked.

PS: i dont try to use you cheepchip1 files.
[Miscellaneous Android Development] jcbarbosa:
Problem in gapps

Thank you all for the good work.

ROM is already awsome!

I have a problems with GAPPS. They install fine (using cyanogen CM7 recomended) but market crashes right on start.

Should i use other gapps verision?

Thanks in advance. Keep up good work!
[Miscellaneous Android Development] $$pasquale:
hi jcbarbosa,

you're right. Should be fixed by monday ;)

EDIT2:Solved in next release
[Miscellaneous Android Development] $$pasquale:
hi,

this is new version

# - last ROM - CyanogenMod_7.2.0-RC0-NOVO8-0.84a

# - last recovery - ClockworkMod_5.0.2.8-NOVO8
[Miscellaneous Android Development] naguz:
edit: posted it in your thread instead.
[Miscellaneous Android Development] cathacy:
Thanks Psquare for your effort

but the last rom was find error to unzip and update.... Pls help me
[Miscellaneous Android Development] $$pasquale:
please, download it again
[Miscellaneous Android Development] $$pasquale:
Hi friends,

sources are online!

EDIT:

new version , now GAPPS works

http://ubuntuone.com/6NQVO7FhxrPSgRiAXDSoBP
[Miscellaneous Android Development] Amon_Re:
Just a quick question, is this rom only for the Ainol Novo8 Tablet or is it more generic? I own 2 amlogic AML8726 devices, one has already been mentioned here by someone (that Yinlips thing), the other one hasn't.

Should I post about these in a different/new thread or just post the config.gz etc here?
[Miscellaneous Android Development] gebnadiy63:
hi guys have a device digma IDx7

with the same processor and gpu a little bit more screen resolution

Question CWM from your device will work on digma or not?

if yes then how to install if you do not have what you need to earn
[Miscellaneous Android Development] CrazylegsFE:
I own a JXD S7100 and was wondering the same thing as Amon_Re before I try to install anyway and brick this thing. Clockwork mod is telling me this device is unsupported and therefore I have no way to go back and tinker myself.
[Miscellaneous Android Development] $$pasquale:
this new (16-02-2012) firmware work ONLY on Novo8

http://ubuntuone.com/3drdcvm9PoAJQDJ9UEIL40

bye
[Miscellaneous Android Development] MrRimmer:
Hi, do you have a changelog for this update?

Thanks.
[Miscellaneous Android Development] zb7401:
very good i will test the soft
[Miscellaneous Android Development] $$pasquale:
New version 0.93

Now VideoPlayer decode AC3/DTS.

New powerpack with some cheeyee improve (alpha version)

Don't work only HDMI-Switch, I'm working on.

Bye
[Miscellaneous Android Development] fun_:
I could get some time today...

http://files.androtab.info/amlogic/cm9/20120225/NOVO8A/

here is test CM9 image for NOVO8 Advanced. again, it's test image for further development work. there are issues, not for daily use, absolutely.

you should reboot after 1st boot. it will work fine just after reboot, but it will be unstable at some point. then, you need to reboot again.

don't forget to wipe dalvik-cache on every reboot. otherwise you'll get boot loop during boot animation.

I don't know I can get enough time to make it better. sorry.
[Miscellaneous Android Development] $$pasquale:
wipe dalvik-cache on every reboot - solved

Hi fun_,

there was same problem in my custom ICS...

delete /system/lib/hw/gralloc*

and use this libs instead

http://www.mediafire.com/?d6hw77a22mdoxze

bye :)
[Miscellaneous Android Development] fun_:
thank you. I was thinking to try tweak around gralloc/egl because there is another issue around them ;)

btw where does it come from? at this time I picked from W6HD 0203 ROM.

EDIT:

downloaded. ah, I see, you replaced kernel modules and EGL files too. yeah, this is exactly what I'm thinking to try next :) really thanks.

just FYI, kernel, kernel modules and EGL libs are picked from NOVO8 2.3 1214 ROM. gralloc(and some files) are picked from W6HD 4.0.3 0203 ROM. (no strong reason to chose them... just work to some degree... it's really work-in-progress things)

my egl.cfg has "0 0 android" line but it should not be a problem(except performance on benchmarks/games).

EDIT:

compared.

your gralloc.default.so is same as my gralloc.amlogic.so. (I renamed it)

your libs in lib/egl/ are same as libs in W6HD 0203 ROM. I'll try to replace them.

currently no idea for your modules. I'll try them too.

EDIT:

I guess all your files are picked from ZT280 C91 4.0 ROM. same CPU, same kernel version so it's reasonable. thanks :)
[Miscellaneous Android Development] fun_:
aml8726m_update.zip was replaced just now. please download again.

some proprietary files are replaced with files from ZT-280 C91 4.0 ROM. "wipe dalvik-cache" issue should be fixed and some other issues may be fixed.

there are still some graphical errors. I will re-test some tweaks with new prop files.

(I can see similar errors on CM9 for Allwinner A10 tablets (which also has Mali-400) so it may not be fixed soon...)
[Miscellaneous Android Development] hillbeast:
Does the WiFi work on your ICS or is it the same as on the other ICS ROM?
[Miscellaneous Android Development] fun_:
yes of course, it just work. please remember CyanogenMod has no relation to such kind of rom. and there is no wifi issue on psquare's custom ICS ROM.
[Miscellaneous Android Development] $$pasquale:
Sorry fun_

I forgot to write, W6HD uses kernel 3.0.8 but fortunately ZT-280 C91 uses 2.6.34 ;)

Maybe with ZT-280_C91's libraries we can use chainfire 3D

bye

EDIT

Maybe is better if we use

libMali.so and libUMP.so

from ROM of module;

egl.cfg

libEGL_mali.so

libGLESv1_CM_mali.so

libGLESv2_mali.so

libMali.so

libUMP.so

mali.ko

ump.ko

from C91.

bye
[Miscellaneous Android Development] fun_:
thank you. no problem. I'm sure about it.

as I said, ZT-280 C91 uses same CPU and same kernel ver. as NOVO8 Advanced. it's reasonable to use files from it.

(of course it will not be good for CM9 for AML8726-M3 tablets but it's not available yet)

why I used files from W6HD is, it was only one 4.0 ROM for AML8726 I could get at that time. lately I was busy and I didn't notice 4.0 ROM for C91 was released.

my updated CM9 uses following files from C91 ROM

gralloc.default.so (renamed to gralloc.amlogic.so in my zip)

hwcomposer.amlogic.so

libEGL_mali.so

libGLESv1_CM_mali.so

libGLESv2_mali.so

libMali.so

libUMP.so

mali.ko

ump.ko

(actually some of them were not replaced because they are same as W6HD)
[Miscellaneous Android Development] fun_:
http://www.slatedroid.com/topic/298...120222-3a-ics-rom/page__p__320506#entry320506

"we are plan to update the kernel from 2.6.34 to 3.0" oh...
[Miscellaneous Android Development] fun_:
link for psquare's CM7 thread is added to post#1 on this thread.

I roughly checked slatedroid but probably there is no thread related to this kind of dev work...

if you know good thread/site related to dev work, please tell me.

----

I know there are some custom rom threads for AML8726-M tablets. it should be good for all users, and some of them are useful for developer too. but I think, basically, making custom rom is different thing. so I'll not add info about custom rom here.

(I don't say which is better. I think cheeyee's/psquare's custom rom is good for NOVO8)

----

I'll update my site and this thread for CM9. currently my CM9 is more unstable than my CM7 but I don't have enough time to care both version.

my project goal is not to make perfect rom even though people want it/people think CM must be better. ;)

I'm just learning Android by making CyanogenMod for my own devices :)

thank you for your help!
[Miscellaneous Android Development] $$pasquale:
Thank you, it is an honour :)

the cheeyee's rom is more powerful and complete. His work is great and he is willing to send me his upgrade! (for cm7)

Right choice.

I try to integrate HDMI on cm7 and after we merge our work.

I believe that with a little luck we can have cyanogenmod9 on all amlogic tablet.

Thanks for your work, your CM9 is better than how you describe... :)
[Miscellaneous Android Development] hillbeast:
What trouble areyou having with HDMI switch? It worked fine for me after adding the HDMI apk and the lib for it from a stock ROM.
[Miscellaneous Android Development] $$pasquale:
Really??

In my last CM7-ROM (0.93) there are

system/app/HdmiSwitch.apk

system/lib/libhdmiswitchjni.so

already.

Missing something? Or you plugged-in HDMI on boot?

EDIT

when I tried it is crashed..
[Miscellaneous Android Development] hillbeast:
Let me see what happens here. I'm on your ICS ROM now.

EDIT: Just plugged it into my Samsung LED TV and it worked fine. I haven't even changed anything. It's just ICS as you gave it out in your zip.
[Miscellaneous Android Development] $$pasquale:
I know, on ICS works fine

but this thread is for CyanogenMod..

HDMI-Swich is widespread throughout the system:

API, framework, hal, browser, file manager, settings, usb libraries etc...

There is also problem with cursor when hdmi cable plugged-in, but I think it will be easier solve into ICS.

The application appears to be slightly different (GB-ICS),

I hope to find the sources of some amlogic based tablet (ics version)

If you have any other tips, please remember me! :p
[Miscellaneous Android Development] fun_:
oops. applyAveragingTouchFilter() is not available in ICS... bother ;)
[Miscellaneous Android Development] fun_:
I just tried HdmiSwitch.apk and libhdmiswitchjni.so from NOVO8 2.3 12/14 ROM on my CM9. it works fine. I can see 480p/720p/1080p output. screen is scaled (fit to display) correctly. (I can't test HDMI audio output now)

my CM9 is not prepared for HDMI output yet so I changed permissions for following files manually.

/dev/graphics/fb0
/dev/graphics/fb1
/sys/class/amhdmitx/amhdmitx0/disp_cap
/sys/class/amhdmitx/amhdmitx0/disp_mode
/sys/class/display/axis
/sys/class/display/mode
/sys/class/video/axis
/sys/class/video/disable_video
/sys/devices/platform/aml-bl/backlight/aml-bl/brightness

just for completeness, following files may be accessed too. but 12/14 kernel has no CONFIG_POST_PROCESS_MANAGER.

/sys/class/ppmgr/ppscaler
/sys/class/ppmgr/ppscaler_rect

I guess it should work on CM7 too.
[Miscellaneous Android Development] $$pasquale:
Hi fun_

I don't understand, maybe I have problem with my cable but

works fine with other rom...

I will try again

(in my init.amlogic.rc cm7 the permissions there are alredy)
[Miscellaneous Android Development] topo:
Any pointers for an image that loads in the Plandigital Planet Refesh (2.3.4)?
[Miscellaneous Android Development] $$pasquale:
hdmi-switch

Hi fun_

in init.amlogic.rc (cm7)

there are this permission:

chmod 0666 /sys/class/tsync/pts_video
chmod 0666 /sys/class/tsync/pts_audio
chmod 0666 /sys/class/tsync/pts_pcrscr
chmod 0666 /sys/class/tsync/event
chmod 0666 /sys/class/tsync/mode
chmod 0666 /sys/class/tsync/enable
chmod 0666 /sys/class/graphics/fb0/blank
chmod 0666 /sys/class/graphics/fb1/blank
chmod 0666 /sys/class/graphics/fb0/enable_key
chmod 0666 /sys/class/graphics/fb0/enable_key_onhold

chmod 0666 /sys/class/video/blackout_policy
chmod 0666 /sys/class/video/screen_mode
chmod 0666 /sys/class/video/axis
chmod 0666 /sys/class/video/disable_video
chmod 0666 /sys/class/video/zoom
chmod 0666 /sys/class/ppmgr/angle

chmod 0666 /dev/amstream_sub_read

chmod 0666 /sys/class/subtitle/enable
chmod 0666 /sys/class/subtitle/total
chmod 0666 /sys/class/subtitle/width
chmod 0666 /sys/class/subtitle/height
chmod 0666 /sys/class/subtitle/type
chmod 0666 /sys/class/subtitle/curr
chmod 0666 /sys/class/subtitle/size
chmod 0666 /sys/class/subtitle/data
chmod 0666 /sys/class/subtitle/startpts
chmod 0666 /sys/class/subtitle/fps
chmod 0666 /sys/class/subtitle/subtype

# HDMI/LCD switch
chmod 0777 /sys/class/display/mode
chmod 0777 /sys/class/display/axis
chmod 0777 /sys/class/graphics/fb0/scale
chmod 0777 /sys/class/graphics/fb1/scale
chmod 0777 /sys/class/amhdmitx/amhdmitx0/disp_mode

# Free scale
chmod 0666 /sys/class/graphics/fb0/free_scale
chmod 0666 /sys/class/graphics/fb0/scale_width
chmod 0666 /sys/class/graphics/fb0/scale_height
chmod 0666 /sys/class/graphics/fb1/free_scale
chmod 0666 /sys/class/graphics/fb1/scale_width
chmod 0666 /sys/class/graphics/fb1/scale_height

# Speaker mute
chmod 0666 /sys/devices/platform/soc-audio/codec_reg

# Backlight control
chmod 0666 /sys/class/backlight/aml-bl/brightness
chown system system /sys/class/backlight/aml-bl/brightness

chmod 777 /sys/class/amhdmitx/amhdmitx0/debug

where is fault?
[Miscellaneous Android Development] fun_:
well, I thought you fixed HDMI issue on your latest rom(0.96). please tell me what's the problem.
[Miscellaneous Android Development] $$pasquale:
i couldn't test before...

I was able to compile fine but:
[Miscellaneous Android Development] fun_:
then, at this time, you also tried and got same result, right?

at this time I didn't try your rom so I don't know any technical detail. it's difficult to investigate issue w/o technical information. logcat may have information, but I don't have time to do it.

I noticed you changed something in frameworks/base by this commit https://github.com/psquare/cm_devic...mmit/125e955f1f9d7a33e8f3173db16893fc92153921

I don't read it yet but it may cause reset issue reported by jqv.

as I tried on CM9, HdmiSwitch.apk can run w/o amlogic's code in frameworks. you can check permission things w/o amlogic's code. if your problem still occurs w/o changes in frameworks, then you may need to check your old changes.
[Miscellaneous Android Development] $$pasquale:
sorry, this commit is incomplete!

I'm changing the code right now.

I did not want to ask you a solution, I know it is complicated to solve in a short time ..

DId you change the code or CM9 works well natively?
[Miscellaneous Android Development] fun_:
I see. I just suggest you can try HdmiSwitch.apk w/o modification to investigate where's the problem, your incomplete commit or not.

I don't use any code from allwinner's source code in my CM9 yet. (and my CM7, as you know)

I'll push my CM9 repo soon. (I'm preparing it just now)
[Miscellaneous Android Development] $$pasquale:
w/o = with or without ?

Yes, I tried many times!

The problem is identical. For this reason I ask you about permissions..
[Miscellaneous Android Development] fun_:
sorry, "without".

hmm :(

what happen if run following command?

echo 1080p > /sys/class/display/mode

(if you don't have 1080p display, use 720p or 480p)

it just changes video output to HDMI. screen doesn't scaled correctly but it should not cause reset issue...
[Miscellaneous Android Development] $$pasquale:
appears the Ainol green android bootup screen on about 75% on the upper left TV screen and reboot

I do not want to bother you, I will do tests tomorrow.

Now it's late in Italy...

Thanks for your patience

EDIT
[Miscellaneous Android Development] fun_:
ah, probably I misunderstood "bootup screen" = "reset". it looks like it just shows wrong framebuffer.

tomorrow, try followings

echo 1080p > /sys/class/display/mode
echo 0 0 1280 768 0 0 1280 768 > /sys/class/display/axis

then

echo 0 > /sys/class/graphics/fb0/blank
echo 1 > /sys/class/graphics/fb1/blank

and

echo 1 > /sys/class/graphics/fb0/blank
echo 0 > /sys/class/graphics/fb1/blank

in my CM7/9 only fb0 is used, but probably fb1 may be used in your CM7 by hw video support code or something else.
[Miscellaneous Android Development] $$pasquale:
with follows script works

#!/system/bin/sh

echo 1080p > /sys/class/display/mode
echo 0 0 1280 768 0 0 1280 768 > /sys/class/display/axis

echo 0 > /sys/class/graphics/fb0/blank
echo 1 > /sys/class/graphics/fb1/blank

When I upgraded my init.rc

I forgot

write /sys/class/graphics/fb0/blank 0
write /sys/class/graphics/fb1/blank 1

the usual forgetful... thanks fun_!
[Miscellaneous Android Development] fun_:
yesterday new CM9 files were uploaded and my site/post#1-3 on here were updated for CM9.

old CM7 repo on github was renamed and new CM9 repo was pushed. sorry for inconvenience.

some graphical rendering issue should be solved and stability is better than before. some features are still missing but I hope it's not so bad ;)

at this time I didn't test well. I'll update current status later.

enjoy.

EDIT:

audio input(record) doesn't work. TS needs to be tweaked.

gapps work almost fine. market app crashes when starting download, but download will be restarted on next market app start. youtube crashes when selecting video from list, but video can be played by another way like as direct link, video preview in market, etc.

Flash11 app works fine, Flash11 video sometimes works, sometimes not.
[Miscellaneous Android Development] fun_:
20120303 is uploaded.

no change is done by me. I just rebuild with 0303 source. no need to update if you are using 0302.
[Miscellaneous Android Development] wappyema:
Any working rom for Ramos w12 v2.0?
[Miscellaneous Android Development] apeelme:
CWM CT704

Hi fun_!

Please tell me how to make CWM recovery! From CM source?

I have CT704 with amlogic8726 soc and i "develop" CM7...i try to at least. ;)

The kernel unpack from the stock uImage with hillbeast Kyorakernel unpack-uimage.sh. This file copy to my device tree and create the recovery.fstab file when build the rom "generate" the recovery.img but it's not uImage_recovery, it's standard android recovery.img...correct? (not included the "magic word"...)

how to made uImage_cwm?

Thanks for your answer, and i respect your patience! (and i apologize my english)

apeelme

UPDATE!: with psquare / uImage_builder?

Ok, i tried...

i've done this:

- copy uImage_builder folder in my device directory

- copy in uImage_builder/my-device folder the stock (3e) uImage_recovery

- rom building previously...the /out/target/product/my-device/recovery/root folder contents is ok

- run script : ./build-image_recovery.sh my-device

- script terminated, an error message:

>>>>> Fix initramfs size

Sorry, initramfs_rec.new.cpio exceeds 973152 bytes!

- i looked at why:

initramfs_rec.old.cpio file size: 1.255.608byte (stock uImage_recovery initramfs)

initramfs_rec.new.cpio file size: 2.228.760byte (from recovery/root folder contents)

initramfs_rec.new.cpio file in the folder sbin content of the difference...this is normal? where you'll get it right? :confused:
[Miscellaneous Android Development] $$pasquale:
please send me the original uImage_recovery with recovery/root folder
[Miscellaneous Android Development] $$pasquale:
hi fun_

I fixed remote, but work only on novo8 (I think)

interests you?
[Miscellaneous Android Development] fun_:
thank you for your comments about remote controller and TS on github. I'm sure what I should do about them, but I didn't do yet by some reason. I'll do it at some time.

I also know current aml_keypad.kl is wrong, but your change omits key codes for old kernel. I'll not omit them to support other tablets. so I will not apply your change directly.

anyway, thank you.
[Miscellaneous Android Development] $$pasquale:
yes, I guessed.

I added a branch for novo8 only in my github because I can't test other tablet...

bye

---------- Post added at 05:45 AM ---------- Previous post was at 05:33 AM ----------

oh sorry fun_,

maybe is better this config

# Set CPU scaling policy to conservative
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor [B]ondemand[/B]
#write /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 1090000
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 300000
chmod 666 /sys/devices/system/cpu/cpu0/cpufreq/conservative/freq_step
write /sys/devices/system/cpu/cpu0/cpufreq/conservative/freq_step 20

because "performance" keeps the cpu too hot

(and there is a little overclock, but only for novo8)...
[Miscellaneous Android Development] fun_:
overclock should happen only with overlocked kernel.

I'm not sure which is better "for everyone" so I decided to remove tweaks for cpufreq. anyone can set governor from settings -> performance and/or can use apps like as SetCPU.

the reason that I added "performance" is to speedup booting and recovery for kernel which uses non-performance governor by default. (my work is not only for NOVO8/AML8726-M)

probably I should add description about it if I continue to use "performance", but I may change it in future... everything is ongoing, need to time to make it stable ;)

there are some other values e.g. for lowmemorykiller, buffer management for storage device, etc... and there are many howtos about them. "better" values may differ among people and people can change these values themselves. I'll not do this kind of tweaks in my repo unless it's really necessary for this device.
[Miscellaneous Android Development] $$pasquale:
hdmi-switch work!

In cm9 wifi work without patch,

your work?

tonight I try to include libcamera and videoplayer.

bye

EDIT

in my github there is busybox with fbset support, but not enough to set resolution into hdmi mode (permission added already).

Now I'm uploading my cm9

EDIT2

wow fixed! :D
[Miscellaneous Android Development] fun_:
sorry, I'm not sure what you asked. wifi is working from very beginning w/o problem.

sounds very nice. currently I don't have enough time to do it. and I'm trying to modify my build environment to build CM9 for other tablets easily...

hmm, what was problem? last time I tried HDMI switch for you, output is fitted into screen correctly w/o fbset. at this time I think fbset is not needed.
[Miscellaneous Android Development] $$pasquale:
In cm7 there was the problem with load/unload wifi module. In cm9 there isn't but there was into my first cm9 build. Have you personally solved this problem?

I added fbset into cm7 busybox, after in cm9 because I thought it was needed.

Then I build the firmware and hdmi-switch works like in my cm7. I made a stupid mistake using only Ainol/RamosW6HD/zenithinkC91 permissions...When I tried to launch set_display_mode.sh from terminal I understand. Are needed

chmod 666 /dev/graphics/fb0
chmod 666 /dev/graphics/fb1

Unfortunately I'm studying and working without sleep...When I finish my duties I devoted myself to CyanogenMod but are not very bright... :p :o
[Miscellaneous Android Development] fun_:
well, there is no separate wifi module for NOVO8 Advanced kernel, and CM7 can't handle such a case w/o patch. CM9 can handle it. please see hardware/libhardware_legacy/wifi/wifi.c in CM9.

(I don't know how amlogic's dev people fixed this issue)

I see. probably I mentioned about fb permission at that time :)

oh. take care.
[Miscellaneous Android Development] $$pasquale:
I apply this patch, but maybe there's a better solution ... Anyway it works well.

Exactly....... http://xdaforums.com/showpost.php?p=22991234&postcount=426
[Miscellaneous Android Development] fun_:
it's different to my patch but both are just a hack. it works, then it's ok :)

anyway, patch is not needed anymore in CM9.