yashsingh1/xdaforums huggingface dataset:
[Gen8 Android Development] ArcSmurf:
Found my old ics image from letama, attached are the init.rc and idc files.

Going to try and push the idc files to your image and see what happens
[Gen8 Android Development] bizcuite:
Thanks but i have already this :) This files comes from archos firmware ^^ and the init.rc can't work with my Rom (not same version, i have a cyanogen based on 4.0.4 r2.1, the last version, not an AOSP 4.0.3).

I will see to make two possible fix, i have 2 ideas in head. I compile the first now, it takes lot of time to compile modification, i will made the second tomorrow (kernel).

Thanks for Divx118 to have put me in another way :) (not surfaceflinger but another file in CM9 code and in the kernel)
[Gen8 Android Development] ArcSmurf:
Thanks, will try and test your new files but off on business for next few days and doubt i will get much time until after weekend.
[Gen8 Android Development] Mavasilisk:
You will miss the party then. The rest of the community is ready for test.
[Gen8 Android Development] bizcuite:
:D tired like me?

Well!

ONLY FOR A101

i make an image for A70S if it works.

i have made another image with a little modification on Display.java. I have find a part of code who choose the display and apply resoltuion (i don't know which file it read, but it attributes a value: 1280x720 for external display).

I have change the value. By this way i want to see if your system thinks that your screen is an external display.

I have include a debug to see values return:

[B]<4>V/Display ( 1585): ##########################Returning display name: 0
<4>V/Display ( 1585): ############################Returning display size complete : Point(1024, 552)[/B]
<4>I/ActivityThread( 1585): Pub media: com.android.providers.media.MediaProvider
<4>D/dalvikvm( 1236): GC_EXPLICIT freed <1K, 74% free 2148K/8131K, paused 2ms+2ms
<4>I/ActivityThread( 1585): Pub downloads: com.android.providers.downloads.DownloadProvider
<4>D/dalvikvm( 1236): GC_EXPLICIT freed <1K, 74% free 2148K/8131K, paused 20ms+55ms
<4>I/ActivityThread( 1585): Pub drm: com.android.providers.drm.DrmProvider
<4>I/DownloadManager( 1585): in removeSpuriousFiles
<4>W/ActivityManager( 1332): Permission Denial: receiving Intent { act=android.intent.action.BOOT_COMPLETED flg=0x10 } to com.android.musicfx requires android.permission.RECEIVE_BOOT_COMPLETED due to sender null (uid 1000)
<4>V/Display ( 1613): ##########################Returning display name: 0
<4>V/Display ( 1613): ############################Returning display size complete : Point(1024, 552)
<4>D/dalvikvm( 1410): GC_FOR_ALLOC freed 275K, 55% free 3699K/8131K, paused 107ms
gids={3003, 1015}
<4>V/Display ( 1633): ##########################Returning display name: 0
<4>V/Display ( 1633): ############################Returning display size complete : Point(1024, 552)
<4>I/ActivityThread( 1633): Pub com.android.email.provider;com.android.email.notifier: com.android.email.provider.EmailProvider
<4>I/ActivityThread( 1633): Pub com.android.email.attachmentprovider: com.android.email.provider.AttachmentProvider
<4>D/dalvikvm( 1410): GC_FOR_ALLOC freed <1K, 26% free 13281K/17799K, p

How install it:

I have already patch the init.rc for A101 and include tsenabler (i don't know if it has an any influence, but Letama uses it on his Rom.

Just install the kernel from the first page (try others kernels test if you can :) )

copy paste the image on the root of the internal sdcard after uncompress it (and rename if you use another name)

reboot with minicom enable and see if you have a log, and 1280x600 size screen.

I hope!! :)

EDIT LINK: I haven't the eyes on its orbits, i have put a bad size, all appologizes, i make another image this evening :) A70 users: your ROM V0.3 works

Bizcuite
[Gen8 Android Development] bizcuite:
http://www.mediafire.com/?p63gjie6zgid1vq

For A70S => 800x480 same "how to" like last post.

Thanks for your report, for your tab

i have include other debug

..please try it, i haven't time to test.

The other test will be the kernel, i will update GPU and video driver (display include). I have seen on Letama gitorious that the kernel was in 2.6.35, mine in 2.6.29 (OPENAOS base).

I have many errors but it's in good way. (i have already port sound driver from 2.6.35 (work) and DSP, it compile but cannot boot :) )

Bizcuite
[Gen8 Android Development] letama:
Hi there,

I'm trying to follow a bit your progress but I'm still a bit busy and can't do much more than read. Anyway, few things:

1) I think remembering something similar to your problem with resolution, I checked my gits and couldn't find any reference of it, so I can't help much, but as I didn't see anything in my kernels, it could be something I solved with surface flinger patch. I can't find any trace of it though, so it may not be the same thing at all.

2) I did run ics with both 2.6.29 and 2.6.35 kernel. I think the old alpha I release was on 2.6.29 as my 2.6.35 kernel was not finished (wifi mostly I think.). Backporting gpu was problematic on 2.6.29 at that time, I took the gpu from another phone if I recall correctly, but things changed now with the 2.6.35 for it2 and TI releases, so I don't know which kernel is the way to go.

Sorry to not being able to help more...
[Gen8 Android Development] bizcuite:
Thanks for your help!!

Don't be sorry, you have inspire all my rom with your work shared. This rom exists because you exists :victory:

To resume the situation, i have just one problem: how configure the screen size for A70 an 101? (by default it's 1280x720, like HDMI size imposed by Android.java)

Without the tab, it's very difficult to test, have information and debug...but i try , and the forum help me very well, thanks to them!!

I will see which variable gives the information.

I see actually inputreader.cpp, it's very interesting :D

Bizcuite
[Gen8 Android Development] bizcuite:
TO ALL:

I look this:

I think that's a possible solution:

if (mParameters.orientationAware
|| mParameters.deviceType == Parameters::DEVICE_TYPE_TOUCH_SCREEN
|| mParameters.deviceType == Parameters::DEVICE_TYPE_POINTER) {
mParameters.associatedDisplayIsExternal = false;
[B]mParameters.deviceType == Parameters::DEVICE_TYPE_TOUCH_SCREEN
&& getDevice()->isExternal();
[/B] mParameters.associatedDisplayId = 0;

I must remove the part who associate the TS like an external source.

If my idea of yesterday is good (system takes the resolution like an external source:1280x780 by default, like your tab).

Well if the fix works, if can think that the last rom published works, i have change this size for your tabs.

Bizcuite
[Gen8 Android Development] wilsey:
Am just home from work, downloading now A101 image as i type

Thanks for sticking with us on this issue, much appreciated!

The A101 has an Micro HDMI slot, didn't even cross my mind that that was the issue!! I never use the feature tbh!

Will flash the image now and let you know how it goes
[Gen8 Android Development] wilsey:
Hi, Install and booted v3 , unfortunaly issue still remains, I Put in bold your quote as you mentioned 1280x600, screen is actually 1024x600, i dont know if this was a typo?

I have included a minicom dump for you :)
[Gen8 Android Development] nikunj87:
Hoooooorrrayyyyy..........

the touch screen pointer works nicely on A70S for the first time. Bizcuite and team congratulations :good: .

Many thanks,

Nikunj
[Gen8 Android Development] bizcuite:
Hi

Bluetooth can work by a command on the first page. But I haven't try it.

It will work, before I play a little with the kernel. I make a little 'pause' by this.

Use a70 file :)

Axm6, and a43 users I will made a test release with a fix. I can try it with my tab, I hav just to include the option.

I will see this week end.

Bizcuite
[Gen8 Android Development] Mavasilisk:
Biz, take a look here: http://xdaforums.com/showthread.php?t=1977149 for

This patch is ment to fix YouTube HD. I cant test it cuz it has to be installed and my tab is sent for repairment. Cuz its .zip dont forget to fix the permissions when you install it.
[Gen8 Android Development] bizcuite:
Thanks, but i can affirm that this will not work ;)

Because this files are for MSM7227 CPU (snapdragon S1), not a TI.

Only files for OMAP3630/3430 can work (except files with Ion compatibility, our kernel hasn't this function)

EDIT: i have just read on wiki that the HD decoder depend of Adreno GPU

I think that a new DSP driver is the solution to have HD with Youtube.

But I can't explain why sound size buffer has an influence on youtube playback.....(in LD)

FYI:

I will upload before the final version, a beta version, with zram in the kernel (yes again, but not activated by default) and a swap of 175MB include in the image file with compcache activated (60MB) =

root@bizcuite-laptop:/media/_home2/bizcuite/Documents/ICS/android-sdk-linux/platform-tools# ./adb shell free
total used free shared buffers
Mem: 501432 498480 2952 0 24040
-/+ buffers: 474440 26992
Swap: [B]240604[/B] 5072 235532

240604KB + 250MB = 490MB of ram, i hope that it will be ok :)

You will try to activate zram, and report me what's the result.

It will be better with the swap.

Let me just finish the image file.

Bizcuite
[Gen8 Android Development] Mavasilisk:
LoL. Isnt Zram and Compcache the same thing? I know there is a little difference but as far as I know Zram is some kind of Compcache. It stil uses compressed blocks of the ram...

EDIT #1: To make sure of what I've written I checked several sites and some topics around the XDA and finally I'll put something that I got from wikipedia: zRam is a module of the Linux kernel, previously called "compcache"

EDIT #2: Biz, take a look here: http://www.gsmarena.com/lg_gt540_optimus-3081.php this phone has CM9 and people say: "I've got the PreRC version and﻿ to make it real smooth is to set Swap to 256 or above, Smartass Min: 245 Max: 600 VMHeap: 32m Ram manager: Balanced with HTKL and Launcher locked in memory SD Read Speed: 3073kb (3mb)"

Also, look at their specs: http://www.youtube.com/watch?v=hDJ-sTC7Exk&feature=player_detailpage#t=31s 600 Mhz CPU with 256 ram also running MIUI which is heavier then CM9.

EDIT #3: Biz, take a look at this swapness patch: http://xdaforums.com/showthread.php?t=1753850
[Gen8 Android Development] bizcuite:
Sure it's the same thing, i know this, but i have backport zram from another kernel, and maybe there is something wrong in the kernel. I have let compcache because it's natively in the code, and works without problem. ;)

If you don't use /dev/block/zram0 or 1 like a swap, zram is not activated.

Thanks for the last tips,i have try it, and have a effect.I have include it in init.rc directly for the next release.

For the others tweak, i let you (and others users who has 256MB of RAM) try and report!!

But only for VM heap

Many thanks again!!

Bizcuite
[Gen8 Android Development] Mavasilisk:
I cant test it now because my tablet is sent for repairment. As I told you guys before a white line of pixels appeared at the right hand side of the screen and the MicroSD slot doesnt keep the SD card inside. Hope it comes back soon.

About the compcache. Why dont you enable 60 mb of compcache and completely disable zram? Its in the kernel and if the performance gain from the swap patch that I posted above is good enough we can make something like this: 60 mb compcache + 100 mb swap with 60-80 swapness in the internal storage/external SD card (script for 3k kb cache for the SD card also) and I think it will be O.K. + Seeder + inbuilt zipaligh + agressive Minfree + OOM tweaks and some adjustments on VM heapsize

EDIT #1: Hmmm after taking an eye on the swapness patch I noticed that the minfree values are set for multitasking "1536,2048,4096,5120,5632,6144". You guys can play around with these values. I'd like to do it myself but you have to wait atleast 1 or 2 weeks til my tablet is back. You can edit it by installing System tuner and tweaking OOM. You dont have to reboot.

EDIT #2: Biz, try to add Paranoid Settings if you can. This way we can increase the size of our combined bar and change the DPI for different apps to 160 DPI and the problem with A70S 128 dpi will be gone, can you? http://xdaforums.com/showthread.php?t=2232773 Here is a guide how-to-port-paranoid and if u try to do it dont forget to fix paranoid settings and .conf permissions. I would do it myself but I cant deal with .img files under windows.
[Gen8 Android Development] bizcuite:
For zram, the perf are better than with compcache. This the reason that i have keep it in the kernel.

And i have said that in the next release zram is deactivated and compcache enable with a swap of 175mb in the ext4 image (better perf than on fat partition).

Don't try to tweak a lot. You can have more problem than before. It seems work well with this values. I will let its if i was you.

I don't know if i will change it in the future.

For paranoid. I have tried 2 times to port it in the code, but i have a f@cking error that i cannot fix. I have found the code for zte phone under ics.

I will see by myself how do the modifications.

But i have maybe a way with a43.

A43 has a dpi of 160 with a 800x400 screen. Something to change in the kernel may let you an access to 160 dpi.

I finish the kernel for v2.5 and i upload it.

My priority after, is to fix a43 ts. There is a pb with landscape or portrait.

Bizcuite
[Gen8 Android Development] Guanfy:
So to clarify, you have reupped your 2.5 kernel? When I look at the beginning of the thread I can't tell if you have the old 2.5 kernel up or the new one.
[Gen8 Android Development] nimafire:
i have install kernel initramfs.cpio.gz now archos boot with new kenel to a menu with two option:

Angstrom

advanced menu

now how can i install CM9 ? (i have download all files)
[Gen8 Android Development] Guanfy:
Seems you forgot to update your menu.lst. You need to update a file that will be on your Archos device called menu.lst. Update just like Biz instructs in the first post of this thread, and you should see a third entry come up called CYANOBIZ.
[Gen8 Android Development] nimafire:
mm problem is how can i upload this file to archos after install new kernel ?

should i do this with recovery >>>> update firmware ?

now when reboot archos. it dowsent show main menu list

and go to advanced menu option.

there is no way to go back to mani menu
[Gen8 Android Development] Guanfy:
If you installed everything correctly, you should let your tab boot normally, then enter the default firmware os. Once booted into the stock os then mount your tab like normal. If you have somehow wiped that out, you need to install it as there are some files it contains that will be used by CYANOBIZ.
[Gen8 Android Development] bizcuite:
No ;) when i said v2.5 it's the version of the ROM (i know that is not logic), the kernel will be v2.6,because it will be not compatible with all others kernel (TLS is activated, and change lot of things in bionic and framework/openGL folders in AOSP code!! If you forget it, your image cannot boot).

A101 - v2.5 = http://www.mediafire.com/download.php?eo2d962dss1527f

====> Bad link removed - new link added A70 - A70S2 (change the dpi to 160 in build.prop for A70S2 only) - v2.5 = http://www.mediafire.com/download.php?4kkvy8h3t26g7od

A43 - TS not fix in landscape ATM = http://www.mediafire.com/download.php?agdq8cc8nw8mhi0

Kernel in attachment on this page.

I wait users reports before to update the first page ;)

FYI i had another one time the data image not mount error. I have make another test with ext3 driver (with the ext4 perf)

I have try 2 times without any problems

What's news:

-TLS register is activated in kernel and CM9 boardconfig.mk

-Swap of 175MB is include in the ROM

Zram include but not activated by default,

How Activate It:

You have a file named swap_activation.sh in /system/xbin/

Just removed "#" char in this lines:

#mkswap /dev/block/zram0
#swapon /dev/block/zram0
#swapoff /dev/block/ramzswap0

AND add a comment char '#'

#swapon /dev/block/ramzswap0

root@android:/ # mkswap /dev/block/zram0
Setting up swapspace version 1, size = 49995776 bytes
root@android:/ # swapon /dev/block/zram0
root@android:/ # free
total used free shared buffers
Mem: 501352 479368 21984 0 26872
-/+ buffers: 452496 48856
Swap: 289408 776 288632

50MB of zram swapwill be activated

Use swapoff /dev/block/ramzswap0 command to deactivated compcache

Bizcuite
[Gen8 Android Development] nimafire:
ok i have fix kernel problem and now able t go to main menu

now how can i upload menu file?

use reboot to recovery ? then .... ?
[Gen8 Android Development] Guanfy:
Ok. Did you do what I told you to do? Did you mount your tab and then either edit your menu.lst file or take the one that Biz provides from the first post? If you don't want to mount via your stock os, then you will need to go under the recovery menu and mount via USB MMC. In either case you need to mount your storage drive somehow and change your menu.lst before you will be able to boot cyanobiz. If you are using windows you will need to edit your menu.lst file with notepad++ and not standard notepad. Otherwise, the file will not work correctly.
[Gen8 Android Development] nimafire:
yep i have creat menu file and now upload it on archos from recovery >>> repair >>> usb

i have upload 3 file on this folder:

openaos-cm,img

menu.lst

ICS||/openaos-cm.img|/init|0Archos|ARCHOS|ARCHOS|/init

but after reboot device , nothing change.

i have check menu.lst file and see its empty.then renter that line and save it.

again after rebot. it change to an empty file !
[Gen8 Android Development] Guanfy:
This is my menu.lst

Archos|ARCHOS|ARCHOS|/init|0
Angstrom||/rootfs.img|/sbin/init|1
CYANOBIZ||/CYANOBIZ_BETA2.5_A70.img|/init|0Archos
||/CYANOBIZ_BETA2.5_A70.img|/init|

yours needs to be setup the same way, except the name of the .img file needs to match the name you put in your menu.lst file. Also, don't forget to have a data_ICS.img file on the root of your storage, or cyanobiz will not work.
[Gen8 Android Development] bizcuite:
GO TO SUPPORT THREAD PLEASE AND DON'T POLUTE MY DEV THREAD WITH YOUR PROBLEMS OF BABIES NIMAFIRE.
[Gen8 Android Development] Guanfy:
Ok Biz, I've got the new image and kernel installed, with GApps installed. It's running much better than before, and for the most part the screen off of doom is gone. With the GApps pack though, not all of the GApps are showing up, such as gmail, google maps, chrome, etc. Once I get a mail solution working I will provide the dmesg and free outputs of my tab to you. Great work!

Ok, i've attached my terminal output from dmesg and free.

Hope it helps.
[Gen8 Android Development] bizcuite:
Is it ok at the first boot for all users who has try the new release?

Can i change the fist page?

Wipe is not necessary!! But it's better to do it if you want to have a smooth ICS

You can try this too:

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

Will be added in next release if report is good :)

Bizcuite
[Gen8 Android Development] Mavasilisk:
Biz, I think this tweaks will reduce the benefit of the swap patch that I posted before cuz it reduces such things like cache_pressure etc. Also, bear in mind that it may not work since its reported to be good for 2.3.4 and not that good for 2.3.5. We are in 4.0.4 and it might screw smth. Need tests. ^^

People stil dont understand how to install it? o.O use my thread dont spam here. And read! Its made so easy. Tell me if u need some details and I will add 'em.
[Gen8 Android Development] bizcuite:
First page updated.

V2.5 added with new kernel.

No bad reports from users, i think it's ok.

Bizcuite
[Gen8 Android Development] bizcuite:
To A70 USERS (Not A70S2 or others).

INSTALL IT ONLY IF YOU WANT TO MAKE TEST FOR ME

I have a kernel to try.

I have made a little modification in the kernel.

Can you,please, install it. (just rename it and install with initramfs on first page.

A - Install Display tester, and share me the informations about screen (not all, not opengl, just screen => size, dpi etc etc).

B - Try to change your dpi to 160 AND qemu.hw.mainkeys=1 to 0. Reboot

(keep a backup of the CM9 image file before the modification ;) )

C - To see if there is any difference (if it's ok, menu button must appear).

D - If it doesn't worked, change only the DPI to 160. Reboot (backup again!!)

Make all in this order!!

I wait yours reports!!

Many thanks

EDIT:

I have update the kernel on the first page with another version who include Snappy compression code from Google.

Zram works with it with this kernel, in other case it's LZO compression.

Bizcuite
[Gen8 Android Development] Mavasilisk:
Cmon guys test it! It will be awesome for 70S to use it's 160 DPI.
[Gen8 Android Development] Mikerla:
Is the screen supposed to blink rapidly?
[Gen8 Android Development] bizcuite:
No LOL!!

Forget this kernel!! I had change parameters in screen driver to see if Android will see your like an A43 screen.

It was a test.... ^^

Bizcuite
[Gen8 Android Development] bizcuite:
ANOTHER NEW KERNELS, PLEASE DOWNLOAD YOUR FAVOURITE VERSION (snappy or LZO compression wih zram)

THE PERF WILL BE BETTER, I HAD FORGOTTEN ONE IMPORTANT THING.

GO TO FIRST PAGE

Bizcuite
[Gen8 Android Development] Guanfy:
Hi Biz,

I'm using snappy with 35% RAM. It's running pretty smoothly but still a bit slow at times. The performance is very similar to the 2.6 kernel that you had posted yesterday. With both kernels I'm still seeing the issue of the screen power off of doom. It takes longer to happen though. My theory is that it has something to do with the hard drive spinning down and not being able to spin back up when you press the power button to wake up the screen again. Hopefully the dmesg I included with the other kernel might shed some light on that.
[Gen8 Android Development] 4qu4rius:
Hi, there,

Doing a fresh install on A101. Using Snappy 25. Seems ok and fast for the time being. Will report when gapps is installed again. It's always slower when all the google services are running in the background.

EDIT:

For some reason I don't understand, the "home" button on the lower bar does't work. The touche screen is ok (the touch action is seen, the button changes coulour), but I don't go to the home screen. I have to press BACK many times to go back to home.

EDIT2: and for another reason I understand even LESS, the home button works again when gapps is installed oO...
[Gen8 Android Development] Mikerla:
Is there any of these that are configured better for the A70 with 256MB?

Do you have any test that you run to test performance after changing kernels?
[Gen8 Android Development] Guanfy:
I have the A70 HD version and I am using the snappy kernel with 35% ram. It's running a bit better than the old kernel, angry birds loaded faster and ran more smoothly. Bad Piggies (almost) loaded before locking up. Biz may have some sort of benchmark software to recommend, but for now I would judge based on lag times, how games and other applications open and the overall feel of the tab. If something goes great, use android terminal to provide a

dmesg and free

output for Biz to look at. If it feels bad, do the same thing and get it to Biz.
[Gen8 Android Development] bizcuite:
Try and report, it's goal of this thread. I cannot answer because i haven't this tab (512MB in mine, and i have no problem since the beginning with the RAM)

Huum just try and report yours impressions... The benchmark that i had tried only used the internal memory not the swap :( .

----------------------------------------------------------------------------------------

The V2.6 of the CM9 ROM has a little change in the swap. See the first page to download it

The swap is used with this priority:

root@android:/ # cat /proc/swaps
Filename	Type	Size	Used	Priority
/swapfile file	179156	5716	-1
/dev/block/zram0 partition	51192	0	-2
/dev/block/ramzswap0 partition	175464	0	-3

This the new swap_activation.sh

swapoff /dev/block/ramzswap0
swapoff /dev/block/zram0
echo $((50*1024*1024)) > /sys/block/zram0/disksize
mkswap /dev/block/zram0
swapon /swapfile
swapon /dev/block/zram0
swapon /dev/block/ramzswap0

Just change the order of this lines to start differently the swap.

First to start : swapon /swapfile

second to start: swapon /dev/block/zram0

last to start: swapon /dev/block/ramzswap0

Play with this lines to see if performance are better.

Bizcuite