yashsingh1/xdaforums huggingface dataset:
[HTC EVO 3D] Tilde88:
nice thanks... not really what we looking into, but definately a +500
[HTC EVO 3D] phatmanxxl:
I tried it, went back and fourth between the two. I did notice a little more lag when playing "switch" game using the modified txt file. Its a THD game.
[HTC EVO 3D] Tilde88:
never heard of it... ill bet getting the game later to test... got some ROM bugs to work out.
[HTC EVO 3D] kcodya:
I only changed two settings, HW binning and 2D hardware BLTs (mmmmm sandwich), and it seems like a few games and emulators got a bit of a speed boost.

Also, scrolling is smooth as silk after adding debug.sf.hw=1 to build.prop as suggested earlier.:D
[HTC EVO 3D] phatmanxxl:
I searched the market using THD its one of the free games that popped up.
[HTC EVO 3D] laie1472:
Is this the correct line to add to the bp to force gpu rendering???

# Render UI GPU debug.sf.hw=1

Locked & Loaded
[HTC EVO 3D] il Duce:
Only this:

debug.sf.hw=1

BANG! from my shooter...
[HTC EVO 3D] -viperboy-:
Well, yes and no. The "#" means the line is a comment, so if you have debug.sf.hw=1 on the same line, it won't work. It needs to be on the next line.

Yes, you only need that to work but the comment line might help some people to remember what setting they are actually playing with.
[HTC EVO 3D] laie1472:
Good looking duce. But joelz already helped me figure it out when I shot him a pm. But nevertheless thanks man. I know one of the fam is always on line. Just a challenge to figure out were. Lol

Locked & Loaded
[HTC EVO 3D] laie1472:
Thanks for the break down. Info was definitely c&p for future reference.

Locked & Loaded
[HTC EVO 3D] eduardmc:
how can i add this line. Can i take the build.pro open it with notepad (desktop), edit and then place it back in the system folder?
[HTC EVO 3D] daneurysm:
That'll work, but I'd aim for "build.prop", ;)

Though if you have root explorer it has a text editor built in. Just make sure you are in r/w mode

edit: holy crap, I can't believe I've never dicked around with build.prop more... I just upped the ro.HOME_APP_MEM from 2048 to 4096 and I don't get any more irritating lag when I open my app drawer....I'm going to let it sit for a bit and double and triple check...but, if that setting is what I think it is I've been looking for it for a long time.
[HTC EVO 3D] eduardmc:
i went back and forth looking for ro.HOME_APP_MEM and i couldn't fine it in build.pro. where is it?
[HTC EVO 3D] daneurysm:
all the way at the end...it's the last line, lol....though I'm on a bastardization of a few roms cobbled together, so, who knows which one it came from if that isn't standard.
[HTC EVO 3D] Genjinaro:
Definetly not in mine, last line at the very bottom I have is

dalvik.vm.stack-trace-file=/data/anr/traces.txt

& I put the new

# Render UI GPU debug.sf.hw=1

debug.sf.hw=1

below that.

Can I add ro.HOME_APP_MEM ?
[HTC EVO 3D] daneurysm:
I'm sure... and if you have a good nandroid it couldn't hurt to try ;)

Also mine is sticking even after letting the phone sit and not going 'home' or to the app drawer for a while.
[HTC EVO 3D] Genjinaro:
How does that line look?

ro.HOME_APP_MEM=4096 ?
[HTC EVO 3D] daneurysm:
looks perfect to me, exactly as mine.

Keep in mind this doesn't make anything "faster", it just eliminates that irritating lag/jitter that comes about when you hit your app drawer if you haven't been in it for a while....I'm sure everyone here is familiar with that. I've test it with ADWex, LauncherPro and stock GB launcher with perfect results. GoLauncher doesn't fare as well, but, I have that thing tricked out like crazy and it's likely that just upping the ram another meg or two might make that smoother....

....and I'm not sure how this plays with 'keep in RAM' setting that most launchers have, but I'm sure that's worth looking into.
[HTC EVO 3D] daneurysm:
I take it that worked for you?

When I get more time this weekend I'm going through build.prop and I'm going to fatten up any other memory allocations and caches I come across. We've got a ton of memory and I don't really use huge apps or play intense games... I would prefer that light apps and the UI were flawless even at the expense of memory. Not so sure we need a gigantic heap size either though...like I said all of my apps I run are pretty light weight. I'll experiment and if I make a breakthrough I'll def post it here.....I should just dredge through all of the config files and fatten any caches, buffers and mem allocations. I'm so thrilled with this one tiny thing...that has always irked me so much.
[HTC EVO 3D] Genjinaro:
Perfectly, thanks again.
[HTC EVO 3D] kcodya:
Wanted to make sure to let you guys know that when you change a setting in the adreno_config.txt file to replace the ';' with a space in front of the setting you're changing in order for it to take effect.

For example:

If you were to change binning from software to hardware, it would need to change from:

;binning=sw

to:

binning=hw
[HTC EVO 3D] Tilde88:
i really dont think thats the case.
[HTC EVO 3D] kcodya:
It seemed that way to me, I thought if a ';' was at the beginning of a line, then that statement was "commented" out. If you notice, there is a semi-colon in front of each line of a description, however if you notice the very first setting:

performance=normal

there is no semicolon.

So my theory is, to override the driver defaults you need to replace the semi-colon with a space on the setting you want to change from default.

Maybe someone could experiment a little to see if this is the case or not.
[HTC EVO 3D] daneurysm:
lol, srsly?
[HTC EVO 3D] Tilde88:
; is used sort of as a wild card space... this is directly from a stock adreno file, word wrap on, of course. they are simply there to tell the system where the print text stops (@echo for dos users). the line [instruction]=[state] determines the rest. no two instructions are the same for a reason. for example, binning= will not be found again anywhere. neither will performance= nor any of them. Also, a line can be printed and executed.

You can actually delete almost everything in there (minus all [instruction]=[state]). And it would work the same. I'm sure there are functions not in there that could be added... I just don't know what they are nor how to find them.
[HTC EVO 3D] kcodya:
Ah ok, thanks for the clarification.
[HTC EVO 3D] sniperkill:
How did you do this? I looked thru the whole build.prop and didn't see anything like that setting of 2048 for HOME_APP_MEM.
[HTC EVO 3D] daneurysm:
You can just put it in there... I don't know how it got there but I have been flashing ROMs on top of each other without wiping (since they aren't all that different yet), so, one of the ROMs I flashed put that in there.

oh yeah, you probably also wanna drop ro.HOME_APP_ADJ=1 in there as well...I hear that helps....it's hard to tell, the difference between "already awesome" and "perfection" is a very thin line...and it's blurry.
[HTC EVO 3D] Tilde88:
stock rom... NO SOUP FOR YOU!
[HTC EVO 3D] sniperkill:
That's too funny, lol. I like chicken noodle soup please..

Also, where in the build.prop do you put these? Anywhere? At the bottom?
[HTC EVO 3D] daneurysm:
yup

+10char
[HTC EVO 3D] vboyz103:
For hw rendering UI, u can put this line in /system/build.prop

debug.sf.hw=1

Just learned that from the CRT animation thread
[HTC EVO 3D] NYCguy2020:
This thread is too good.So much potential there.I hope more knowledgeable devs look into it and figure out the best values for optimal GPU performance.
[HTC EVO 3D] Genjinaro:
If I've been following these tweaks & wikipedia right, Hardware-accelerated binning is better than software only.

My evo had that as default & applying the tweak that forces the UI to use the GPU (in the build prop) toggled it back to hw (in the adreno config).
[HTC EVO 3D] Drewmungus:
Great thread guys!

Is there anything anywhere that we could use to overclock the gpu?

Has there been any android phone that has gotton it's gpu overclocked or anything like that?

Kinda makes you wonder why HTC left aa and stuck like that off. And not uping the home app memory.
[HTC EVO 3D] sgt. slaughter:
Really wanna say there was an old thread in the evo4g forum that was about the possibilities of oc'ing the gpu.
[HTC EVO 3D] daneurysm:
Yeah, and if I recall correctly that lead nowhere...I wanna say because the GPU operates synchronously with the CPU...being an SoC and all that makes sense. So OCing the CPU will yield that result.

I don't remember the details but I do remember that lead nowhere.
[HTC EVO 3D] Tilde88:
uhhh... i did... find it
[HTC EVO 3D] daneurysm:
lol

+2347char
[HTC EVO 3D] NYCguy2020:
Thanks for such an informative post.:rolleyes:
[HTC EVO 3D] sgt. slaughter:
yup here are the two threads on it.

http://xdaforums.com/showthread.php?t=743885&highlight=GPU+overclock

http://xdaforums.com/showthread.php?t=710870&highlight=GPU+overclock
[HTC EVO 3D] laie1472:
Wondering can't I just c & p the .txt file in system/etc using root explorer and change permissions and reboot???

Locked & Loaded

"" Shooter on Deck""
[HTC EVO 3D] xybyre:
Actually, kcodya was correct. Semicolons mark the beginning of comments. The default values are listed as a guide. If you want to change the default, uncomment the line (by removing the semicolon) and change the value. This is a common convention for properties files.

Your Notepad image shows everything on one line because you are viewing a UNIX file in a DOS editor. UNIX uses a LF (line feed) character to ends its lines, while DOS uses CRLF (carriage return + line feed). Notepad is expecting CRLF at the end of each line. Since it only sees LF, it loads everything as one line. If you use a programmer's editor (or even Wordpad), it will be able to load the Unix-mode file correctly.

regards,

Xybyre
[Galaxy S I9000 Android Development] mialwe:
The Midnight kernel (mngb) is a personal project aiming for "average", daily use and stability. Not benchmark performance. Nothing fancy. I really liked the Speedmod kernel while using Froyo but missed some features so 2011/07 I decided to work on this kernel which has now been completely rebuilt 2012/06 using latest Samsung sources.

Big thanks to Mahd for tenacious testing and beeing patient with me, all users, donators and developers and especially stratosk, hardcore, supercurio (Voodoo), koush (CWM), neldar (BLN) and everybody else developing Open Source software, helping or reporting.

OVERVIEW

- for Samsung JW4/5/6 based firmware, support for RFS and EXT4 partitions

- autoROOT, init.d support

- optional overclocking to 1.128Ghz, undervolting support

- Midnight SMOOVE CPU governor, SmartAssV2, SIO IO scheduler, 366Mb RAM \w full video capabilities

- backlightnotification (use BLN Control), VoodooSound10 (use VoodooControl)

- some tweaks, removed debug stuff

- for ADB users: adb shell remount

- extended CWM

--> reinstall/remove su/busybox/Superuser

--> backup/restore/delete Nandroid FULL/DATA-only/SYSTEM-only

--> extended cleanup options (sounds, bloatware and unneeded system-apps (profiles ~ 0.7-60Mb)

--> choose 800Mhz/1Ghz/1.128Ghz maxfreq

--> choose Smoove, Conservative, Ondemand, SmartAssV2 governor

--> toggle logger/tun/bthid modules, Noop, touchscreen sensitivity, shorter touchLED timeout, init.d

--> set screen gamma and RGB profile

DEFAULTS

Stock frequencies, SMOOVE, SIO, all options disabled.

INSTALL

Flash from sdcard using sgs-kernel flasher, flash extracted zImage using Heimdall or flash downloaded TAR archive with Odin

DOWNLOAD (changelog @ post #2)
[Galaxy S I9000 Android Development] cantIntoCode:
Nice to see a new kernel dev for the i9000. Welcome!
[Galaxy S I9000 Android Development] wonsky21:
Oh wow, something new to flash :D I'll just wait for some feedback, and give it a try :D
[Galaxy S I9000 Android Development] Mirciulikkk:
That was really nice of you to thank everyone that way. I can rarely see this on the forums..

Nice kernel, hope you will become big and probably a new ROM chef in the near future, who knows...

Wish you all the best.
[Galaxy S I9000 Android Development] Lukiqq:
I wish you all good! You don't need to be programmer or anyone else like that to make something big, just keep your mind open for new challenges and see what ppl says, do not give up and do not be discouraged by some of them :)
[Galaxy S I9000 Android Development] pinpong:
Here is a .tar image and a cwm .zip

Removed
[Galaxy S I9000 Android Development] awandroid89:
Congratulation for your new kernel. more kernel choice for me.
[Galaxy S I9000 Android Development] mialwe:
Thank you for your kind "welcome", I'm glad to be able to give something back to XDA.

@Lukiqq: Jup, I'm not a full-time programmer but made some experiences with BASIC/Python/Bash/little bit of C/C++, even looked into Java about 10 Years ago and mainly PHP/MySQL/CSS (+ a little bit of MS SQL @work) since starting with BASIC/PASCAL almost 20 years ago (2086XT,black/yellow monitor :) ). I like code of all kinds but just don't have enought time to learn...

@pingpong: Thank you for the packages, just answered your PM.
[Galaxy S I9000 Android Development] rocky23:
thanks m8 will try this...keep up the good work.....cheeerz:)
[Galaxy S I9000 Android Development] pinpong:
No Bootanimation support??
[Galaxy S I9000 Android Development] mialwe:
As I'm using Speedmods' initramfs bootanimation should work as /system/media/bootanimation.zip. Never used it myself, though.

Prepared 0.1.8 with Voodoo10, 341Mb RAM and updated Patchfile (to work with -p1 :) ) but did a "make clean" before saving a zImage backup so this will be here tomorrow as I'm doing a recompile this night. Have made a copy using this which works on my device but I'm not sure about uploading this DD-zImage...

Edit: Recompiled and uploaded. Near midnight...
[Galaxy S I9000 Android Development] FLaMiNGo_:
Thank you for your work @mialwe!
[Galaxy S I9000 Android Development] mialwe:
- 0.1.9 uploaded, includes BLN support (tested with bln pro app and Gmail).

- cleaning up first post a bit

- thinking of uploading my build script... maybe useful for someone...
[Galaxy S I9000 Android Development] zenosteam:
mialwe keep the good work and thanks for this kernel i will stay tunned:)
[Galaxy S I9000 Android Development] DonVito2020:
Good to see new kernels coming up. All the best :). Gonna give it a spin tonight.

Edit - Sorry didnt work out for me "Bootloops" :( went back to semaphore via odin.

Juwes 5.2
[Galaxy S I9000 Android Development] HM.Carbide:
Good kernel, stable and fast. Looking at all day behaviour the next days.

Thanks for the good work.
[Galaxy S I9000 Android Development] zenosteam:
Very good kernel fast stable. I love it
[Galaxy S I9000 Android Development] mialwe:
@all: Glad it works for most of you :)

I'm thinking of tweaking conservative governor to scale up a bit faster, should give better battery as conservative steps up frequency after frequency - ondemand uses highest frequency much faster.

@DonVito2020: If you flashed via CWM - the CWM script does not include any clear-cache or clear-dalvik-cache actions (and does not erase any init.d-script btw), maybe this would have been an option to try - reboot to recovery, clear caches from there, reboot again and check if you get bootloops.
[Galaxy S I9000 Android Development] Rawpunzel:
Is the CWM 2.5 version you use compatible to 3.x CWM installpacks? Like Modems etc?
[Galaxy S I9000 Android Development] betoNL:
I also dont care about benchmarks and never convert the file system

Overclocking can be also counter-productive and i do it sometimes just for fun.

But the main issue of the sgs , imho, is the insufficient ram issue. Believe me.

Perhaps you are not using the sgs anymore, or you dont run ram hungry apps on a daily basis as I do (iGo navigation) but only on speedmod bigmem versions, I could run iGo Motonav, completely stutter free and without eventual crashes.

Anyway if i was a developer and STILL using the sgs, I would try such a thing (bigmem) not only to get my own device better, but also, those rewards offered on my thread look promising.....just the funds i would need to purchase that Nexus Prime :D:D
[Galaxy S I9000 Android Development] mialwe:
INFO

It seems SuperCharger currently does *not* work with Midnight - Supercharger itself works fine, creates the file 99SuperCharger in /system/etc/init.d, permissions are set correctly - but Midnight only executes initscripts starting with an "S" or "E"... eg. the script "S99SuperCharger" would be executed fine.

For now you can just rename the script in /system/etc/init.d, I'll try to get out a version of Midnight supporting scriptnames starting with numbers (or just executing *all* scripts...)...
[Galaxy S I9000 Android Development] andip71:
This was - by the way - also the same with Speedmod on Froyo. So I guess this is the reason why it is the same on Speedmod GB and hence in Midnight :-)
[Galaxy S I9000 Android Development] rom08:
Wait until beginning of september

Also can someone post a step by step method to install supercharger on gti9000 or a link to installation method please.
[Galaxy S I9000 Android Development] mialwe:
Jup. As Midnight uses the initramfs of Speedmod I'm try to fix issues as I'll get noticed about it. 0.5.2 with hopefully working execution of <digit><digit><name>-initscripts building right now... :)
[Galaxy S I9000 Android Development] rom08:
Mialwe did you ty supercharger? Is it as good as anyone says? If yes what settings did you recommend to use with it? And if it is so good why not include some settings as default directly in your kernel
[Galaxy S I9000 Android Development] mialwe:
No, didn't try the settings itself, only tested Supercharger->creating the script->executing@boot->"bug"-fixing initramfs...

I don't know if the settings are good as I do not have enough knowledge about lowmemorykiller/slots/oom right now, therefore I implemented only *slight' lowmemorykiller/slot changes with 0.5.1.
[Galaxy S I9000 Android Development] rom08:
Testing it right now will report in 2 3 days of use
[Galaxy S I9000 Android Development] mialwe:
Update

0.5.2 / 2011-08-25

- small fix: executing initscripts with filename starting with digits, too (e.g. "99SuperCharger")...

[DOWNLOAD TAR]
[Galaxy S I9000 Android Development] rom08:
I get an error while trting to flash it with sgs kernel flasher :

Zimage extracted

Cannot open this file

Kernel installation failed
[Galaxy S I9000 Android Development] andip71:
Yes, I noticed that as well.

Reason: The file name in the tar needs to be zImage only, but Mialwe added the version number.

I am sure he can correct it quickly. I could also upload a fixed version (as I fixed it for myself), but want to leave it up to the master potentially :-)

Thanks

Andi
[Galaxy S I9000 Android Development] andip71:
0.5.2 Installed and running well so far - no immediate issues detected...
[Galaxy S I9000 Android Development] mialwe:
Fixed TAR: [Download]. Thanks :)
[Galaxy S I9000 Android Development] rom08:
Thanks this one works well
[Galaxy S I9000 Android Development] wingg:
Great work.

Kernel fast, stable,and good works with supercharger.
[Galaxy S I9000 Android Development] nikec:
Voodoo Sound working very well... Just a feature request: Can you integrate the autobrightness fix from Speedmod (in froyo)?
[Galaxy S I9000 Android Development] cr4zy.b0y:
We'll see in near future JFS lagfix??
[Galaxy S I9000 Android Development] specialex:
is it ok if i change cpu governor from conservative tp ondemand with midnight kernel ?

coz i feel ondemand is smoother than conservative
[Galaxy S I9000 Android Development] HM.Carbide:
Which rom are you on?
[Galaxy S I9000 Android Development] PoldyA4:
Use Voltage Control.
[Galaxy S I9000 Android Development] fitsbie:
is there a possiblilty to set a specific awake screen and different sleeping screen govenor
[Galaxy S I9000 Android Development] mialwe:
I have to say goodbye as I'll be afk for probably 2 weeks (don't know about internet access) so don't be angry if I will not reply within 1 or 2 days...

Currently I'm running 0.5.4 for testing with again lowmemorykiller values (last three slots) raised a little bit more and some potential speed improvements, thought I'd upload today but as it seems there's not enough time - so I'll test this version for 2 weeks more :)

EDIT: 0.5.4 uploaded as "test" version (first post)... bye.

JFS: No, for now I'll not implement other filesystems.

Switching governor: You can switch governors as you like but only conservative was tweaked for Midnight.

Auto brightness fix/Speedmod/Froyo: What exactely does that fix? Tweaked brightness range? This would be a good idea as I'd like to get rid of ScreenFilter app to have a darker screen @ night - but until now I havent found any documentation (searched for more than a week now) on the gamma/color/sharpness...settings in the video/mdnie module(s) - and no time to do experiments...

Screen state dependent governors: No, Midnight uses one governor for all states, right now I do not have enought spare time to work on screen state scripts, sorry.
[Galaxy S I9000 Android Development] DerTeufel1980:
yes, i think so, but you have to do this with a script, placed in /etc/init.d

the script can be found here: http://bit.ly/rd2yfk

make sure, you know what the script is doinig before you modify or activate it. I´m not responsible for any problems, like setting a governor, which is not supported by midnight...
[Galaxy S I9000 Android Development] nikec:
That's what I'm talking about... This was implemented in Speedmod K13E Froyo (where you could turn it off in CWM if you didn't like it). The lowest brightness setting was as low as the brightness with low battery percentage (under 10%).

Also consider implementing the undervolting of RAM and the AMOLED display as in other kernels (and maybe the brightness setting of the white LED's) - that could save a bit of the battery...

Thanks for now and see you in 2 weeks :)

PS.: Voodoo sound volume control hack not working on FM Radio (even if the app is not in foreground) - the full volume is till -55db, then it goes down. I've tried the Voodoo plus app (working normaly with supercurio's module) and the free Voodoo Control (FM Radio not adjusting volume)...
[Galaxy S I9000 Android Development] 2k4ever:
Would be great if you could implement it!

from Hardcores Changelog - just that you see what the brightness fix is about:

K12M: 14-Jan-2011
- Low brightness fix: lower minimum brightness (about 30% lower than stock)
- Auto-brightness tuning:
- - Gets brighter faster than stock outdoors
- - Stays dimmer longer than stock indoors
- - Brightness levels more evenly spread out

and

K13A: 8-Feb-2011
- Disable minimum auto-brightness level option, selectable from Recovery

for those who don't like the lower brightness

i would say that this CWM switch could be a good entry point for you to identify the changes Hardcore has made an port them over to your kernel
[Galaxy S I9000 Android Development] ascariz:
i suggest this kernel has it's own logo. :D
[Galaxy S I9000 Android Development] ascariz:
logo

@mialwe

how about this? :cool:
[Galaxy S I9000 Android Development] krosscheck:
I wanna vote for it :-)
[Galaxy S I9000 Android Development] fitsbie:
anyone tested the 0.5.2?
[Galaxy S I9000 Android Development] PoldyA4:
Yes 0.5.2 and 0.5.4 Test works fine. I have no Problems @1200 MHz.
[Galaxy S I9000 Android Development] fitsbie:
arrrr... i mean 0.5.4 of course.

so if there are no serious issues i'm gonna upgrade :)
[Galaxy S I9000 Android Development] PoldyA4:
You can Upgrade. 0.5.4 is fine :-)
[Galaxy S I9000 Android Development] ascariz:
Buzz!!
[Galaxy S I9000 Android Development] andip71:
Vacation

Hi,

the developer is having (well deserved) holidays for two weeks. So your Buzz will not be heard that soon, sorry :-)

Andi
[Galaxy S I9000 Android Development] hippo_potamus:
So far this kernel is good. Hope it can go a long way like HC has.
[Galaxy S I9000 Android Development] djdeeles:
Waiting for JVS version I like this kernel
[Galaxy S I9000 Android Development] fylim:
Yea I like it too !!

Amazing battery life when used together with SetCPU with some UV/Speed limiting when screen off.

Would be great if the max OC can be set to 1.3Ghz.
[Galaxy S I9000 Android Development] Pfiffle:
By me Bluetooth and Wlan dont Work together!

Sent from my GT-I9000