yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] orlox:
32MB 24bpp shared full day at work with 3g 11 hours and was using the phone with internet calls and 2-3 sms.

No bsod or what so ever.

Super responsive and fast

Please marry me and kang for me forever :P
[LG Optimus 2x] Schmeichel1:
Same as on mine Optimus 2X everything works great :-)

SMS, calls and WiFi 3G internet use all worked grate for all day.

Sent from my Optimus 2X
[LG Optimus 2x] Keltek:
At first

Many thanks to Vadonka The Great!​

His work is awesome and I admire him! I use your kernel about a month and can recommend it everyone who ask me.

I have one question - at previous versions there are "vr" scheduler, now it is removed - please can you tell me the reason for this?

And now I'm really impressed what the all users of this forum are able :)

Should be very appreciating to not mix thinks - vadonka release kernels with different bpp (bits per pixel) and someone just renamed it to bitrate - please, this parameter have nothing with bitrate, which is variable to measure a data flow.

And next, someone cry here for very awful output from stock Gallery app. The one and only solution - do not use the stock Gallery app, it is crap, use the QuickPic instead. Stock Gallery display images with reduced color space (as anyone can see using the color transition picture from this thread). It is not related to kernel, CM7 (or banding someone write it). Just try QuickPic and you'll see.

And all who have an issues with these kernels - please be patient and try everything you can think of, because I don't trust it is the kernel problem. I keep my fingers crossed for all of you.

Don't worry... be happy :D
[LG Optimus 2x] umirza85:
I was just using the previous normal version which had the suffix 'RH0M' but now in vadonkas link there are all these with RH0M at the end:

[ ]	20120127-1201-LGEK-RH0M-16bpp.zip

[ ]	20120127-1201-LGEK-RH0M-24bpp.zip

[ ]	20120127-1201-LGEK-RH0M-32bpp.zip

I was just curious which would be the closest to his normal version. I am just looking for mostly stability, then battery - I use the data connection quite a bit for work/email & browsing and play demanding games (modern warfare, gta3, real racing 2 etc....) . Im not really sure what the difference between the 16/24/32 bpp means or which would be most beneficial to me.

I read that the stock is 16bpp, so the first one in the list would be the one i am looking for?

what is the benefit for adding ramhack or greater bpp?

Ive been searching but have come up with no answers. Im also having an issue with 2g/3g switching, either freezes or deletes apns and i have to reboot (using Jan23 normal version, 0823 bb).
[LG Optimus 2x] jefbeck:
man you have to wipe cache and dalvic cache, its a must!!
[LG Optimus 2x] :
Read the first post. The installer wipes the dalvik cache and formats the cache. I have sent the install.sh script too and confirm. It is not required to wipe dalvik ad cache!
[LG Optimus 2x] Pete Rask:
No, it's not a must as vadonkas install script does this for you :) For the paranoid, yes, wipe cache and dalvik before installing a new kernel. You never know ;)
[LG Optimus 2x] hadi_rena:
Hi Vadonka,

I have been following this thread from the beginning and test some of your kernels and its work great...

I have one (noob) question: What the difference between compcache from 90tweakaio and cyanogenmod settings ? Does it have same effect ? What the pros and cons between them ? Which one should I use if I require it ?

Thanks for your kernel
[LG Optimus 2x] qgtxqj:
20120127-1209-LGEK-RHS32M-32bpp works well with my phone like most versions of your great kernel. The only released (not test) version cannot work well is Jan 22 version with most SU660 patch in it.
[LG Optimus 2x] jefbeck:
oh yes that true. i forgot about that. lol.

i really dont know why this kernel is not working on some people. for me it works great but those unstable kang is so annoying.
[LG Optimus 2x] crankyboy:
Installed ram hack shared 32mb with 24bpp.. my phone is one of the chosen once. Lol

Thanks vadonka!!

Using miui btw!
[LG Optimus 2x] rskyline:
Reporting in.... CM7 kang temasek with vadonkas kernel 32MB RAMHACK Shared 32BPP

Enviado desde mi Optimus 2X usando Tapatalk
[LG Optimus 2x] silentmelodies:
Lol. Me too :D

I'm using the same version, and after one day of use I can confirm it's been problem free. On my phone at least, it works wonders ;)
[LG Optimus 2x] k101d:
Short time use of RHS32 with temasek I try 24bpp and 32bpp both run smooth IMO I prefer quality of picture of 32bpp let try for some time if I got problem I will post here.
[LG Optimus 2x] tomsi91:
64 MB 32bpp very stable and very low battery consumption
[LG Optimus 2x] jefbeck:
report:

1 bsod after 1 day using 48mb 32 bpp. sigh.....
[LG Optimus 2x] grognaz:
i have a question about this bpp, our screen spec is 16bpp so is this just what the software is set to or is this the screen limitation?

and how do you notice the difference when for example using a 32bpp kernel? to me it looks the same as 16bpp o_O
[LG Optimus 2x] rskyline:
Our screen supports 24-32bpp, the 16bpp was limited by software and you can check de diference in deep of color like in this pic

Enviado desde mi Optimus 2X usando Tapatalk
[LG Optimus 2x] qgtxqj:
seems MIUI originally support 24bbp. I flashed 32bpp kernel and can view this pic normally on my o2x with MIUI
[LG Optimus 2x] grognaz:
thanks for the info and for the test picture
[LG Optimus 2x] mrmaffen:
Just last night I tested your kernel from 27th Jan. Every 30 minutes I got a bsod. So now I'm back on the version from 23th Jan, and everyhings fine so far. Hope I won't have a charging bsod or sth.
[LG Optimus 2x] mind_challenge:
20120127-1209-LGEK-RHS32M-32bpp.zip works like a charm here with temasek's KANG #50
[LG Optimus 2x] jeremyharith:
Is this kernel compatible with official MIUI-1.12.23?

Thanks alot.
[LG Optimus 2x] silentmelodies:
I assume it is. I'm currently using the newest version on official MIUI 1.12.30 :)
[LG Optimus 2x] 75markus:
+1, me too !

2301 last stable for me ...
[LG Optimus 2x] ron_gangte:
Great work with the Hybrid Kernel, Vadonka!! :-)

I have no BSOD, no freezes and no issues.

Using the Shared Memory 24BPP version.

Thank you so much, Vadonka! :-) :-)
[LG Optimus 2x] 75markus:
wait some hours and check , i got sleeping bsod´s after a few hours not using the phone ...
[LG Optimus 2x] joe1660:
I had a charging bsod also. With 32mb shared 24. Untill now for me the most stable kernel is the 17-1 shared. No bsods at all
[LG Optimus 2x] rskyline:
I've installed the kernel till vadonkas release it and no BSOD at all... maybe is your phone...

Enviado desde mi Optimus 2X usando Tapatalk
[LG Optimus 2x] ron_gangte:
Flashed the Kernel yesterday.

Left the phone on charge overnight.

Had no BSOD, or problem. :-)

You might wanna do a fresh install.
[LG Optimus 2x] RohanAJoshi:
can u tell me that lower color depth will improve my battery ? (lot)

.

i m getting sucked by huge battery drain.
[LG Optimus 2x] ron_gangte:
I don't think BBP affects the battery life. :-)
[LG Optimus 2x] tonyp:
I don't think the bbp kernel settings do have any affect at all. It appears that the apps can ask for an own setting anyway - as the default gallery app is using 16bbp always (test it with the test picture two pages before).
[LG Optimus 2x] zhehao:
I received BSOD as well.

Just left my phone alone for a few minutes and BSOD everytime. Tried reflashing still the same though.

Reverted back to stock KANG kernel.

This rom has really good performance though.
[LG Optimus 2x] vadonka:
updated the developement status in the OP, release probably tomorrow
[LG Optimus 2x] mrmaffen:
just had another bsod with your kernel from 23th jan. is there any way i can increase voltage on 216mhz even more? i think i got quite a ****ty lg os in comparison to you guys.

setcpu doesnt allow me to increase voltages. decreasing works though

greetz
[LG Optimus 2x] ron_gangte:
Increasing voltages above the ones that Vadonka has set is not possible. Over-volting is not supported.

Edit: I stand corrected. The user who posted after me is right. I guess System Tuner allows that. :-)
[LG Optimus 2x] morckx:
You can use System Tuner to increase voltages.
[LG Optimus 2x] rskyline:
Ppl it's better to let voltages like they come or anyone has tried any safe undervolting?

Enviado desde mi Optimus 2X usando Tapatalk
[LG Optimus 2x] VSwensson:
With latest kernel with 0RAMHack, 24bpp-WajkUi. Running it on latest WajkUi.

Got one random shutdown, but I was able to power it on again without pulling battery though.

EDIT: Two reboots now...damn worked great before :\
[LG Optimus 2x] tonyp:
With the test version from 26.01 the people I called (not me) heard some kind of hall and it seemed that the background noise didn't get filtered out. But I have a made in Korea device which is really picky in terms of call quality - I need to use 824 BB to have an acceptable phone quality after all.
[LG Optimus 2x] Pacas:
Nice, been using the 32 mb shared, 32 bbp for wiui. No problems! Great battery life 8 h and 95% (have been mostly standby of course, phone on 46 min)

Great work vadonka!

__________________

ROM: MIUI 101/WIUI

Kernel: Vadonka Kang kernel for Wajkiui
[LG Optimus 2x] bosskraker:
BSOD after few mins. I cleaned cache and davilk But didn't work, also tried different kernel versions but BSOD continues.
[LG Optimus 2x] RohanAJoshi:
plz someone expain what is bpp ?

which should i use ?
[LG Optimus 2x] 4lph4:
Using jan27 64mb 24bpp version. All working well: battery life as good as usual, data connection stable with RIL218 and bb725. :) Nice work.

One question about the swap space in RAM. I enabled it in the tweak script with 50mb compcache. I don't see it anymore listed in the OP, can I leave it running or it's better I remove it?

---------- Post added at 10:05 AM ---------- Previous post was at 10:02 AM ----------

It's "bit per pixel" and it's linked to the number of colors the SW will render. The bigger the number the more the colors and better the image.
[LG Optimus 2x] mind_challenge:
20120127-1209-LGEK-RHS32M-32bpp.zip Worked fine, but last night I've had Airplanemode problem twice, and once this morning. It happens when switching from Wi-fi to Data and backwards
[LG Optimus 2x] 七恰八叶:
HI

update vadonka v1.1.0

Immediately after, cannot create the directory. Hope you test.
[LG Optimus 2x] capellone85:
great

Inviato dal mio Optimus 2X usando Tapatalk
[LG Optimus 2x] 七恰八叶:
http://bbs.gfan.com/android-3551633-1-1.html

SU660 :D
[LG Optimus 2x] vadonka:
nice work :)

im was doing a huge update on the github, check out :)
[LG Optimus 2x] tr@p:
With last version I had a lot of random BSOD's, freezes, reboots (when playing GTA, running benchmarks, using sygic navigation, while screen is off, using power amp... no obvious pattern).

I've been using 0m, 32mshared and 32mb hack. All the same. Shame, because it is really fast.
[LG Optimus 2x] Schmeichel1:
I have installed BB from this link and now WiFi don't work and has no MAC i think i did something wrong ... but what? Is it important to flash all files from this BB archive ?

Sent from my Optimus 2X
[LG Optimus 2x] mrmaffen:
yes it is .. you need to flash all 4 files included in the archive. flash the files orderer by size (beginning with the biggest)
[LG Optimus 2x] joe1660:
Can anybody tell me what is not working in every RAMhack? 32,64,80 etc
[LG Optimus 2x] VSwensson:
Got a black screen, was able to call but no sound at all. Had to pull battery, is it because of the low Mhz @sleep?

Thanks
[LG Optimus 2x] vadonka:
Update delayed to tomorrow, im currently working on improve the installer script.

Im provide only one installer in the future, its auto determine the rom version and act like different in certain roms.
[LG Optimus 2x] grognaz:
so i told i will report back on the test version...(the one with the old sheduler)

it worked for a couple of hours, but then i lost connection and then the device went into BOD.

i flashed back to 09 but i think i should give it an other try since ive had some weired network behavior lately...

or do you have an idea what could have caused the dsiconnection BOD thing?
[LG Optimus 2x] owain94:
32 reboot not working

48 reboot not working (i think but i am not sure that 1080p recording is just fine)

64 reboot and 1080p not working (720p is working fine)

80 reboot and 1080p not working (and maybe 720p sux but dont know for sure)

96 reboot and 1080p/720p not working
[LG Optimus 2x] TheDaftandFilthyOne:
Think I'll try out 823.

824 seemed to work fine at first but it turned out that I can't call certain numbers such as social services (official phone numbers). It connects but I get no sound...

Ever experienced anything like that with 824?
[LG Optimus 2x] owain94:
hey vadonka check out the commits on this page!

maby it can be usefull for you?

if you didn't already included this in the source

http://xdaforums.com/showthread.php?t=1295486&page=303
[LG Optimus 2x] sander-m:
Just got my first BSOD (sleep of death) with your current JAN27 0MB 24BBP kernel + temaseks #50. Really sad, it has been working fine for 20 hours.. Maybe its because of my TPU case... The phone felt really hot(high temperature on back). Had to pull battery to get it working again..
[LG Optimus 2x] vadonka:
already have the latest HP kernel source from the github

however with the cm7 bpp adjust not working. im not building 24 and 32bpp build for now, its still remain in 16bit no matter what i set in the kernel args.
[LG Optimus 2x] vadonka:
it has been a charger/battery problem, not sure its related to the kernel. many people have this issue even with the stock kernel.
[LG Optimus 2x] emoriatov:
I'm now on 824 with it's corresponding ril, and it's the call quality for me. But my battery drains a lot, could that be baseband related?
[LG Optimus 2x] Schmeichel1:
After Flashing Wifi Error and phone still restarting :( what can I do ??

Can somebody help.
[LG Optimus 2x] vadonka:
Flash the 823 not the 824

if your phone doesn't like the SU660 based baseband then use the P990 based

here you can find everything: http://www.mediafire.com/temasek#ee8t9l8ubv8jk
[LG Optimus 2x] owain94:
the commits on page 303 i linked you are not included yet in hp kernel and are from nvidea git?
[LG Optimus 2x] spica1234:
24/16/32 BPP is useless unless application is made to support higher BPPs. Cause higher BPPs are usually slight noticable in HQ images in HD videos but unfortunately apps for video and pics are 16bpp compatible which overrides kernel higher BPPs in 16BPPs:/ doesnt letting higher BPPs of FB to work on:/
[LG Optimus 2x] owain94:
but in cyanogenmod kang by temased you can use 32bit in gallary 3D now thanks to pastetime!
[LG Optimus 2x] vadonka:
ohh i almost forgot, in the next release im using a new freq/voltage step for the cpu. it will be availabe the 389Mhz frequency. this can be usefull for who have charge BSOD, just need to a profile with setcpu/cpumaster and set the minimum cpu freq to this instead of the 216 mhz. it seems to be helping some BSOD while the phone in low level freqs. this voltage levels very very close to the stock LGE reference voltages.

the new cpu step is:

216Mhz - 790mV (min. safe: 770mV)

389Mhz - 800mV (min. safe: 770mV)

503Mhz - 850mV (min. safe: 780mV)

800Mhz - 900mV (min. safe: 850mV)

1015Mhz - 1000mV (min safe: 950mV)

1100Mhz - 1050mV (dont UV)

1216Mhz - 1150mV (dont UV)

1408Mhz - 1250mV (dont UV)

every BSOD seems to be related to the the lower cpu freqs, so im using a bit higher voltages in the low level for safety reason, but it can be undervolted. however the higher levels is already in a low voltage level, its still safe but im not recommended to undervolt more. this voltage table is the same like in the neoblaze kernel. im ported this from there.

im also adjusted the dedicated cpu voltages low corner to 770mV, so its impossible to undervolt below this level.

im testing this voltage sets for a day now and its stable and the battery life is also better. im using this profiles:

in call: 216-389

screen off: 216-389

battery level below 20%: 216-800

no endcall bsod, no charge bsod, no sleep bsod. the installer script is almost ready, tomorrow i will build all ramhack version.
[LG Optimus 2x] grognaz:
my bsods definitel dont come from the low level freqs since you alredy provided testversions with the stock voltage and i had the same problems as on the other versions.

how can i compare what has changed fro the 09 to the next version? is there a comparison system in git like in svn?
[LG Optimus 2x] owain94:
Freq and voltages are not the same thing

You can get a bsod caused by a low freq

And you can get one caused by a to low voltage
[LG Optimus 2x] grognaz:
then why dont i get a bsod with same voltage and same freq in 09?

oh and vadonka is there no history left on github for the 09 kernel? can you provide me with the source of 09 and whaterver build followed after that so i can trace my problem?
[LG Optimus 2x] vadonka:
do you have this 32bpp patch from the HP kernel ?

i see that not pushed to the github, but im still think that the cm7 interfered with this. there is a patch for the gallery 3d 32bpp, as i see temasek already working on this.
[LG Optimus 2x] owain94:
Again it can be caused by the freq OR the voltage

so if you get an BSOD or the voltage is unstable or the freq is or even both

Some people get an BSOD caused by to low voltage for there chipset

And some get an BSOD caused by a to low freq for there chipset

You got it caused by a to low voltage but others can also get it from a to low freq

No is am taking about the one in the 3th post in temasek his Kang topic made by pasttime it is working great on cyanogen mod 32bpp i didn't try it without a 32bpp kennel made by you so is don't know if your patch it's making it look Nice
[LG Optimus 2x] vadonka:
i try to search in cm7 source for the bpp and i find only a one possible place:

frameworks/base/services/surfaceflinger/Android.mk

somebody can confirm that?
[LG Optimus 2x] owain94:
it can also be in an app itself by the way edited my previous post with an answer to you

When i am on my pc i will look in the cm sources and hope i can confirm it for you!
[LG Optimus 2x] vadonka:
what i made 32bpp kernel it just a kernel argument adjust for the default color depth, but this will be overrided by the cm7, and set back to 16bit.

i dont even think its worth to set everything to 32bit, chainfire 3d drivers can be unroll the textures to 32bit already, so for the gamers its no problem. only the gallery is the problem.
[LG Optimus 2x] owain94:
You are right just delete it and only make an default 16 bit one people can make it 32 bit by using chainfire

Much easier and less time consuming for you

And this way we are sure it is working like it should
[LG Optimus 2x] pastime1971:
i think android (ROM) creates windows 16 bpp by default (see http://stuffthathappens.com/blog/2010/06/04/android-color-banding/ ) no matter what device is capable of.

p990 is well capable of doing 32bpp (cm stock web browser has no issue of banding)

Gallery3D was one of those which uses default 16bpp. my commit, http://review.cyanogenmod.com/#change,12265 , makes it use 32bpp. it works on cm kernel. i don't think you need to augment bpp argument in your kernel.

---------- Post added at 04:37 PM ---------- Previous post was at 04:32 PM ----------

you can look at my commit, http://review.cyanogenmod.com/#change,12265 , and see where it overrides RGB_565 to ARGB_8888

besides that, windows needs to be 32 bpp as well. it was a bit trick to make RenderView.java (GLSurfaceView) but i found it at http://andrewhague.wordpress.com/2011/05/24/how-to-set-a-transparent-glsurfaceview/

if you don't do anything, window is created as 16 bpp by default.
[LG Optimus 2x] vadonka:
thx for the note :)

unfortunatelly im not making cm7 custom builds, but i hope somebody will integrate this soon :)
[LG Optimus 2x] Schmeichel1:
VADONKA again thanks for your help problem was restoring wifi settings ...

There is one issue for me camera doesn't record ... I use RSHM 32MB 32 bit must check with other bpp versions tomorrow morning at work.

GOODNIGHT everyone.

Sent from my Optimus 2X
[LG Optimus 2x] pastime1971:
you are very welcome. it's in the gerrit, and looking good so far.

i just figured that i would chip in on the matter of building kernel for 16/24/32 bpp.
[LG Optimus 2x] mags014:
Noob question, how would you determine the bbp to install on the phone or you just choose whatever you want?
[LG Optimus 2x] owain94:
since it isn't working as it should just pick the number you like the most :P
[LG Optimus 2x] tonyp:
It doesn't matter as the kernel setting like it is at the moment won't affect the bbp by the apps (including system), if I understood it correctly.
[LG Optimus 2x] spica1234:
Three things needs to be changed.

First occurence is right. That you found. Nice work.

2nd in drivers/video/tegra/tegra-fb.c , you will find there two occurence of .bits_per_pixel which infact an on the fly exported unsigned integer value. First occurence is run time which takes execution after boot. Thats 16. Means 16bit. You can change this to 24,32,64 upto 128/256 which tegra frambuffer supports upto. 2nd in same driver file is boot time bits per pixel which applied during boot logo and processing of animation during mobile starts. Let it keep default. Change first occurence with 24,32 which 16 by default. But for above bits you needs to change corrosponding RGB offssets (eg ARGB8888 for 32bit with transperancy and offset, Transperancy infact is not supported by our LCD controller HW as we dont have dual-display)and transperancy(i think its there on my git, i will cross check if its not there)

And third you need an application which should support 16 or above bits.

16 bits -256K colors

24bits -16 million colors (default in SGS2).

But why cant i notice the difference?

Basic these colors (256k/16M) are combinations of RED/GREEN/BLUE colors.

But only in REAL HQ photo contents and HD videos these much colors has been used. So these three things needs to be changed. One what you found, one kernel drivers and one applications.some screenshot apps available on market doesnt support 24 bit/above. So resulted captured screen shot is either not visible/ application gives error alike 24bit not supported.

Let me repeat difference is not noticable by a naked eye but somewhat more noticable in lower backlight levels.

One more fact:

-bits are regulated through 3 things.

1. Tegra fb driver, which can support upto 128/256 bits but

2. OS android supports upto 24bits as per froyo refrence i dont know whether GB has more/less support and final

3. HardWare LCD controller-panel which supports "18bit" so in 16BPP 2bits are not being used and is wasted which in 24/32 or above 18bit is used.

Simple example in my way:

+VISTA supports 24/192 khz audio output[OS]

+Suppose your sound card supports 16/48 khz audio[HW]

+suppose Music player application supports 32/192 audio[APP]

Final outcome: Upsampling - Downsampling -final result. Difference is obviously there:)
[LG Optimus 2x] :
I am using the 16bpp with NO (0) RAMHACK. I find signal drops quite often (compared to CM7 stock kernel). I have reverted to the CM7 stock kernel + 20L sensor fix + Voodoo from Temasek to see if the problem persists. Will post my findings. I am using BB218 with matching RIL (from ROM)
[LG Optimus 2x] vadonka:
i found the tegra-fb.c already and see the definitions, but if i understand correctly it just a default value and can be overrided by a kernel cmd line, thats why im not making any changes in there just modify the cmdline like this:

video=tegrafb:bpp=24

for example :)

in the latest temasek kang (51) included the 32bpp fix:

"NEW - Change I7ab734c3: Fix banding for 32 bpp images:"

i guess its not needed to playing the bpp in the next kernel build :)

anyway, thx for the help, its good too see, that other fellow developers reading this forum ;)

its a honor for me.