[MOD]Disable CPU rendering/Full GPU rendering/Improve the performance of your GPU - Samsung Galaxy Gio GT-S5660

Introduction:
The UI of android keeps improving as updates from the android team keep flowing in. There has been a massive improvement in the aesthetics and looks of the system UI from the ancient Eclair till Jelly Bean. With improving UI and better graphics the system keeps becoming an resource hog. All android smartphones these days come with a separate GPU to satisfy the graphics rendering needs of the apps these days. However the GPU doesn’t exactly help in rendering of the system UI that means the load falls of the CPU to render the system UI and other system framework.
so here is a Mod that will disable CPU rendering and enable full GPU rendering,which will let you enjoy the true power of your adreno200!
Improvements:
-Improved performance.
-Blazing speed.
-Better sound quality.
-Improved responsiveness.
-Smoother UI experience.
-Some apps(bloatware) that earlier ran slow like Facebook will turn snappy.
-Free up CPU for other tasks.
requirements:
-Rooted device
-CWM installed 4 or 5!
How to install:
1-Download the file.
2-boot to recovery mod.
3-Make a nandroid backup just in case.
4-install zip from sdcard.
5-choose Zip from sdcard and choose the file.
6-Reboot your device!
Credit:
-leolawliet
-devilpera64

reserved 1

reserved 2

ty man for this awesome mod

Looks too good to be true, but i'll have to test it then ...
EDIT: Does it work on CM9 aswell?

Will it work on adreno 205 with cwm 6??
Sent from my WT19i using xda app-developers app

Jyrx said:
Looks too good to be true, but i'll have to test it then ...
EDIT: Does it work on CM9 aswell?
Click to expand...
Click to collapse
Yes,but with a little improve since android4.0 has already GPU accelerated!

Jeanbassil said:
Will it work on adreno 205 with cwm 6??
Sent from my WT19i using xda app-developers app
Click to expand...
Click to collapse
yes you can test it but before that you will need to edit the egl.cfg config:
from 0 1 adreno200
to 0 1 adreno205
notice that:CWM 4/5/6 doesn't matter!

How can't we be sure it was flashed correctly? My phone feels faster and I see an improvement but I just want to be sure
Sent from my HTC-PG762 using xda app-developers app

icu64 said:
How can't we be sure it was flashed correctly? My phone feels faster and I see an improvement but I just want to be sure
Sent from my HTC-PG762 using xda app-developers app
Click to expand...
Click to collapse
egl.cfg in /system/lib/egl should be 0 1 adreno200!

Hello,
Marcin from MaclawStudio here. I have to say something as someone who know something about Android source code.
This tweak won't improve performance, battery life and anything other. It does nothing because Android always tries to use h/w accelerated EGL libs, and if something goes wrong, then it falls back to software libs (b2r2)
After applying this tweak, android will select h/w accelerated libs, it's true... But before applying it, Android also was selecting h/w libs. The only thing that would change after applying is the software renderer used as fallback will be broken, and your device will crash in some rare cases when it's necessary.
I don't recommend using it. If someone don't believe me, go and study android source code, especially libsurfaceflinger.
BTW. I lol'd after reading that it will improve sound quality... EGL has nothing to do with sound. NOTHING.
BTW2. If the "tweak" really works, tell me why Google - creator of Android, who know everything about Android, why they don't use this tweak on Nexus devices?
Don't get me wrong, I don't want to offend anyone, I'm only telling you my opinion.
Cheers.

Omg...booot looop...

marcin1147 said:
Hello,
Marcin from MaclawStudio here. I have to say something as someone who know something about Android source code.
This tweak won't improve performance, battery life and anything other. It does nothing because Android always tries to use h/w accelerated EGL libs, and if something goes wrong, then it falls back to software libs (b2r2)
After applying this tweak, android will select h/w accelerated libs, it's true... But before applying it, Android also was selecting h/w libs. The only thing that would change after applying is the software renderer used as fallback will be broken, and your device will crash in some rare cases when it's necessary.
I don't recommend using it. If someone don't believe me, go and study android source code, especially libsurfaceflinger.
BTW. I lol'd after reading that it will improve sound quality... EGL has nothing to do with sound. NOTHING.
BTW2. If the "tweak" really works, tell me why Google - creator of Android, who know everything about Android, why they don't use this tweak on Nexus devices?
Don't get me wrong, I don't want to offend anyone, I'm only telling you my opinion.
Cheers.
Click to expand...
Click to collapse
-about effects of this tweak go and see people's reports with this patch on other devices forum which has adreno200 as a GPU,and before applying this patch android was using software libs before with a higher propriety than H/W accelerated ones!
-Google doesn't use a lot of optimizations on their nexus devices not even this one(you want an example,with the galaxy nexus they use GPU at @308Mhz instead of 384Mhz which is the default one on Ti-Omap 4460 chips).
-"I lol'd after reading that it will improve sound quality... EGL has nothing to do with sound. NOTHING.",improving sound quality is already reported by thousands of people using this patch with their adreno200 powered devices(they are a lot of devices with adreno200).
-This tweak is used in all versions of the legendary ROM:Android Revolution HD by mike1986. for many HTC devices!

http://en.wikipedia.org/wiki/Placebo
I know everything about Adreno 200, I'm the guy who ported ICS to Galaxy Gio and Ace.
If you want to prove me your right, show me the fragment of Android source code confirming your theory. I can show you fragment confirming my.

somewone tell me wy did my phone got boot lop after instaling this script...for wath is this..cm?gb? or wath??
i was on stoc and aftel instal my phone was in black screean after restart...???some answers?plz

marcin1147 said:
http://en.wikipedia.org/wiki/Placebo
I know everything about Adreno 200, I'm the guy who ported ICS to Galaxy Gio and Ace.
If you want to prove me your right, show me the fragment of Android source code confirming your theory. I can show you fragment confirming my.
Click to expand...
Click to collapse
I don't need to show you anything,and I know you very well and I don't want someone like you that presume having previous problems with me to came here and starts complaining,If you don't see any effect with this patch this is your opinions and I think you should keep it for yourself !

You have proven my right with your last post xD
As I said before, I have written my post to share my opinion, not to offend anyone.

Nice mod dude ...
Keep work and create awsome mod ...
respect for your work

god job and thanks

I'm just posting fragment of code confirming my theory...
FILE* cfg = fopen("/system/lib/egl/egl.cfg", "r");
if (cfg == NULL) {
// default config
ALOGD("egl.cfg not found, using default config");
mDriverTag.setTo("android");
} else {
while (fgets(line, 256, cfg)) {
int dpy, impl;
if (sscanf(line, "%u %u %s", &dpy, &impl, tag) == 3) {
//ALOGD(">>> %u %u %s", dpy, impl, tag);
// We only load the h/w accelerated implementation
if (tag != String8("android")) {
mDriverTag = tag;
}
}
}
fclose(cfg);
}
Click to expand...
Click to collapse

Related

[INFO] ICS with full functional camera

Hi guys!Started new thread cause don't want to post it in every ICS ROM thread.Here is link legend's CM9 rom with almost full functional camera.Hope this will help.
But.... we have ICS with working camera.
I said
harut56 said:
full functional camera
Click to expand...
Click to collapse
awesome! is it possible to port ?
lol, they have everything working (stable) for their Legend. They are lucky !
Can't we take some fixes (Bluetooth, Wifi and so on...) from their build or from CM9 ?
Legend is ARMv6 too .. they say they have : 24) Hw Acceleration (Stock Gallery, Live Wallpapers, Video, Youtube, Google Maps App, etc.). Could that be made for the hero also or Legend has GPU ?
Ciprilik said:
Legend is ARMv6 too .. they say they have : 24) Hw Acceleration (Stock Gallery, Live Wallpapers, Video, Youtube, Google Maps App, etc.). Could that be made for the hero also or Legend has GPU ?
Click to expand...
Click to collapse
I'm sorry but it is not ARMv6. It is ARM11.
Specs as per gsmarena:
Chipset Qualcomm MSM7227
CPU 600 MHz ARM 11
GPU Adreno 200
So, no! HW accel is running for them because they have the hacked drivers from Qualcomm which are released and working only with Adreno200. We have Adreno160. No HW accel!
1ceb0x said:
I'm sorry but it is not ARMv6. It is ARM11.
Specs as per gsmarena:
Chipset Qualcomm MSM7227
CPU 600 MHz ARM 11
GPU Adreno 200
So, no! HW accel is running for them because they have the hacked drivers from Qualcomm which are released and working only with Adreno200. We have Adreno160. No HW accel!
Click to expand...
Click to collapse
I posted it only to mention everybodys attention on camera,we already have video and panoramic mode working on armv6(ARM 11 is armv6),also HTC wildfire(not S) has working video and panormic mode too,its MSM 7225,vfp but without GPU
1ceb0x said:
I'm sorry but it is not ARMv6. It is ARM11.
Specs as per gsmarena:
Chipset Qualcomm MSM7227
CPU 600 MHz ARM 11
GPU Adreno 200
So, no! HW accel is running for them because they have the hacked drivers from Qualcomm which are released and working only with Adreno200. We have Adreno160. No HW accel!
Click to expand...
Click to collapse
And what about Bluetooth, Wifi and others tweaks ?
borice,
nope, their bt and wifi fixes most likely wont help you guys. other tweaks they uses (as long as they pertain to fixes that are universal across phones) could possibly be used though, such as build.prop entries, etc.
also im downloading that legend rom right now to see if i cant get it working for heroc, if it works for heroc then it will most likely work for hero gsm.
I tried to get camcorder working on our camera driver, but it crashed whenever I tried to record something. I don't think that the problem lies in tha camera. It's rather the same reason that YouTube doesn't work and so on.
yup no love on heroc with the legend stuff
stritfajt,
thanks for your continued work on this. does the camcorder use gpu/hw acceleration while trying to record? im wondering if the reason legend got camcorder going because they have the adreno200 libs and a real gpu instead of our situation. please bare with me, im talking out of my rear end. i have no clue the code that makes cam/camcorder tick.
also, figured i'd tell you again, you are awesome. :good:
1ceb0x said:
I'm sorry but it is not ARMv6. It is ARM11.
Specs as per gsmarena:
Chipset Qualcomm MSM7227
CPU 600 MHz ARM 11
GPU Adreno 200
So, no! HW accel is running for them because they have the hacked drivers from Qualcomm which are released and working only with Adreno200. We have Adreno160. No HW accel!
Click to expand...
Click to collapse
ARM 11=ARMv6
The problem is not cpu but gpu!
whoshotjr2006 said:
yup no love on heroc with the legend stuff
stritfajt,
thanks for your continued work on this. does the camcorder use gpu/hw acceleration while trying to record? im wondering if the reason legend got camcorder going because they have the adreno200 libs and a real gpu instead of our situation. please bare with me, im talking out of my rear end. i have no clue the code that makes cam/camcorder tick.
also, figured i'd tell you again, you are awesome. :good:
Click to expand...
Click to collapse
I believe it's because we lack HW drivers, yes.
stritfajt said:
I believe it's because we lack HW drivers, yes.
Click to expand...
Click to collapse
Then how is it working on wildfire,which has NO GPU?
i thought there were 2 different wildfires, one with gpu and one sans gpu? wildfire s has adreno 200, and im not sure about the regular one.
by the way, did anyone seem to notice that buzz has working youtube? http://forum.xda-developers.com/showthread.php?t=1473344
im pretty sure the buzz is the wildfire without gpu, i downloaded the rom and upon initial glance see nothing to do with adreno 200
edit: currently harvesting the crap out of libs from buzz to see if i cant get youtube working, wouldnt that be sweeeeeeeeeeeeeeeeet, but dont get hopes up
edit 2: (best one by far on my part) boys and girls, YOUTUBE IS GO. I REPEAT, YOUTUBE IS GO!
ill upload the libs and build.prop from the buzz to take entries from, sweet jeebus its really happening!
edit 3: zip is attached, i included a copy of the youtube apk, i havnt tried one from the market as i just installed aokp and forgot to flash gapps, also build.prop from my aokp heroc is attached with relevant entries
if anyone decides to include this, please give all credit to erwinp at the buzz forums, he fixed it, not i
Is it a flashable fix?
hero/heroc flashable zip added, go ahead and flash it (after nandroid backup if your worried about losing anything) and see if it works for you
youtube apk is not in this zip, so install it from market
also gles from buzz is included, im not sure if it will work with our hacked up 1.1 gles, ill see about that and get back to you guys

[MOD] G•P•U Rendering = C.P.U Rending Off!!

DISABLING CPU RENDERING
Credit goes to Leowaliet.
So what does this mod give to us?
What does this help us with?
•Speed √
•Smoothness √
•Sound √
•Less Battery Drain √
Works with any ROM
So, if you have Faux 11 kernel + this mod.
(In Algebraic Equation)
F+M=EpixNeshh
In technical terms, we are disabling CPU Rendering from the system so it force GPU to work on all Graphics.
So why not?
Would it hurt no?
Try it, YOU WONT REGRET IT :screwy:
*THIS WILL LET IMAGES IN XDA APPEAR*
*WILL NOT BREAK APPS*
First To Port MIUIv4 to T989
Isn't this already a toggle under Developer settings in ICS+ ROMs?
thehandi said:
Isn't this already a toggle under Developer settings in ICS+ ROMs?
Click to expand...
Click to collapse
This stops it for all ROMS. And doesn't brake some of the apps.
First To Port MIUIv4 to T989
Link won't work if you don't have an account on that site.
bobpantsspongesquare said:
Link won't work if you don't have an account on that site.
Click to expand...
Click to collapse
+1
here it is...havent tried it
alphadog32 said:
DISABLING CPU RENDERING
So what does this mod give to us?
What does this help us with?
•Speed √
•Smoothness √
•Sound √
So, if you have Faux 11 kernel + this mod.
(In Algebraic Equation)
F+M=EpixNeshh
In technical terms, we are disabling CPU Rendering from the system so it force GPU to work on all Graphics.
So why not?
Would it hurt no?
Try it, YOU WONT REGRET IT :screwy:
http://forums.androidcentral.com/at...uide-disable-cpu-rendering-vm670_eglpatch.zip
First To Port MIUIv4 to T989
Click to expand...
Click to collapse
This is already set by default in many custom ROMs but alsoeans you can't see pictures on apps like XDA
Sent from my SGH-T989 using xda premium
Try it, YOU WONT REGRET IT
Click to expand...
Click to collapse
Actually...I did regret it, as I can't see any pics in XDA and in
my Sopcast, the stream is very "choppy" and with worst
color quality. So......Sorry.
Even in custom Roms, the first thing I do is uncheck the "Force GPU..."
:crying:
This is not using the phone's Settings.
First To Port MIUIv4 to T989
alphadog32 said:
This is not using the phone's Settings.
First To Port MIUIv4 to T989
Click to expand...
Click to collapse
this mod is wrong!! dude! it will brake apps that need it to work, GPU only works wen need it, this mod desable 2D and 3D drawing
richardlibeau said:
you do not need this mod. just go to system/lib/egl and delete the first line android 0 0. this does the same thing as this mod. I did it on my phone and it works fine. No graphics problems . All hi tech games like asphalt,spiderman, avatar. cs portable, gta3 all play great. Videos do too. You can also add debug.composition.type=gpu to build prop and delete any other composition type that's in build prop to force gpu rendering for graphics
Click to expand...
Click to collapse
Thank you. Every one thinks it will break things. It is like saying I have a Land Rover with 4v4. Now, you're going up a hill and to run it up, you buy newer and better wheels. It still gets up, but slower. It would be a lot smarter to enable 4v4 so it can climb faster and more efficient. So GPU is supposed to run the Graphics Interface. Not the Processing Unit. Does it make sense? Of course not. Using GPU for its dedicated reason it is a way more reasonable thought. So why would you want it disabled?
First To Port MIUIv4 to T989
alphadog32 said:
Thank you. Every one thinks it will break things. It is like saying I have a Land Rover with 4v4. Now, you're going up a hill and to run it up, you buy newer and better wheels. It still gets up, but slower. It would be a lot smarter to enable 4v4 so it can climb faster and more efficient. So GPU is supposed to run the Graphics Interface. Not the Processing Unit. Does it make sense? Of course not. Using GPU for its dedicated reason it is a way more reasonable thought. So why would you want it disabled?
First To Port MIUIv4 to T989
Click to expand...
Click to collapse
The theory is all nice and logical, however, let me quote something:
Every one thinks it will break things.
Click to expand...
Click to collapse
I'm one of the "everyone" and I do not "think" it will break stuff, I know it does and I can reproduce it at a drop of my hat!
So why would you want it disabled?
Click to expand...
Click to collapse
Because of my above proof (proof for me)....that's why.
However, it's nice that people can have a choice. For others may work better.
:highfive:
Well it hasn't broken any apps for me.
First To Port MIUIv4 to T989
I'm not sure why everyone is jumping on the OP so hard.. he stated clearly in the second or third post that it Works without breaking anything .. I flashed it on my AOKP JB build with no problems and it didn't break anything like the option in development settings does... for example .. xda app loads pictures perfectly.
Maybe test it next time before flaming give it a test...
Sent from my SGH-T989 using xda app-developers app
All I know is the guy is trying to help the community and you guys all just bashed him.. I dont even think any of you even bothered to say thanks..
RushAOZ said:
Because you're probably not using any old apps that haven't been updated for ICS. Not jumping on the OP I'm simply stating this mod isn't needed because the GPU is already rendering everything. CPU will only render old apps so if you don't have any old apps then this mod is essentially useless. You're not forcing the GPU to do something it isn't already doing.
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
OK.. then riddle me this.. Using the option in development settings breaks my XDA and my FRF app, meaning they wont load pictures in the app.. However this mod has not caused this side effect..
RushAOZ said:
This mod isn't needed. The whole reason GPU rendering exists in ICS/JB is for apps that were written on GB. GB written apps didn't support GPU acceleration by default. With ICS and JB apps are written with GPU rendering on by default.
Basically these settings ONLY effect old apps that haven't been updated to ICS/GB. This is why disabling CPU rendering will break some apps as experienced by some of you above. GPU rendering is supposed.to force the GPU to render old apps and while it works most of the time there are apps that you can't force and you get errors and artifacts. So many misconceptions with this setting lol. Just leave it on. Problem solved.
Sent from my SGH-T989 using xda premium
---------- Post added at 10:46 PM ---------- Previous post was at 10:32 PM ----------
According to pocket now force gpu rendering is basically used to off load the graphical tasks given to the CPU in apps that aren't optimized for ICS. ICS has this option enabled by default when writing apps for it but with apps written on GB down to cupcake 1.6, gpu rendering when writing apps is off by default.
Basically, leave it on as its probably helping your CPU run older unoptimized apps more efficiently since it doesn't have to process the graphical UI for that app too.
http://pocketnow.com/2012/05/25/wha...-in-ice-cream-sandwich/?wpmp_switcher=desktop
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
Its also pretty hilarious that you say this and are bending it to make your self correct..
YES newer applications that are based on the newer SDK have the ability to do this Nativity regardless of what you have checked or unchecked..
BUT it is not ONLY going to be beneficial for apps that are not.. it will force ALL rendering through your GPU and leaving the computation to the CPU giving your system an edge.. while be it a small one, but never the less an edge as far as CPU processing times and Graphics quality output ..
PJcastaldo said:
All I know is the guy is trying to help the community and you guys all just bashed him.. I dont even think any of you even bothered to say thanks..
OK.. then riddle me this.. Using the option in development settings breaks my XDA and my FRF app, meaning they wont load pictures in the app.. However this mod has not caused this side effect..
Its also pretty hilarious that you say this and are bending it to make your self correct..
YES newer applications that are based on the newer SDK have the ability to do this Nativity regardless of what you have checked or unchecked..
BUT it is not ONLY going to be beneficial for apps that are not.. it will force ALL rendering through your GPU and leaving the computation to the CPU giving your system an edge.. while be it a small one, but never the less an edge as far as CPU processing times and Graphics quality output ..
Click to expand...
Click to collapse
Thanks man. Felt it right in the heart.
First To Port MIUIv4 to T989
Ok enough arguing here, stay on topic and stop assuming that this or that will happen until you have tried the MOD. If you don't like or want to try it, stay out of the thread. Don't troll dev threads.
Noellenchris
XDA Forum MOD
alphadog32, thanks (I did hit the Thanks button), but one needs
more info in the OP, like, how to install it, does it work with default
kernel, or only with Faux, what Rom is compatible with....and so on.
Thanks for this.
:good:
I apologize I misread/ misunderstood what the OP was saying. Since the mod is actually configuring the egl libs, this WILL NOT break your pics as force gpu in setting will. Everybody thank the OP and move this thread forward
Sent from my SGH-T989 using xda premium
Flashed it a few hours ago, seems pretty solid so far. At least it certainly hasn't given me any problems with games or other apps. It's almost weird seeing pictures load on the XDA app btw, because it's been a long time since I've seen them work... lol. Running it on CM9.1.

Disabling CPU Rendering (?)

Just flashed a new ROM today (OneOfAKindV11 by ipromeh) and gaming works really smooth even when its clocked at 1.6GHz... I heard Disabling CPU Rendering will make gaming more faster... Last time, when i tried it, game lags alot and overall performance is bad...
Can anyone tell me if the tweak is good or not?
Maybe it's good disabling CPU Rendering on newest CPU with newest GPU...But our GPU needs an additional support from the CPU
So its not good to disable it even with cm10 alpha 7? Just leave it as is?
Sent from my GT-I8150 using xda premium
Disabling CPU rendering diables the CPU rendering for the User Interface and forces the GPU to do it. So it affects the launcher, browser and scrolling but not games. For JB it´s not needed because of project butter which makes it already smooth.
JB also dosen´t use the exact same drivers like ICS, so what gives you a performance boost in CM9 doesn´t have to do the same in CM10.
I install seeder for disable CPU rendering... But I have problem with flash when I see flash video (ex: youtube)...
arya_ruby said:
I install seeder for disable CPU rendering... But I have problem with flash when I see flash video (ex: youtube)...
Click to expand...
Click to collapse
That´s interessting.... does the problem disappear if you re-enable CPU rendering? Also are you using CM9 or CM10?
For me there is no problem in watching youtube after disabling CPU rendering in CM9, but must agree that in both ROMs some flash videos are not displayed correctly. This is more related to the GPU drivers in CM9 and CM10 and the missing flash support in ICS and JB.
There are sites where the flash videos are not displayed correctly in CM9 and CM10, no matter you disable CPU rendering or not, but at least youtube is working well in CM9 after disabling CPU rendering. Can´t tell how about CM10, but CM10 needs both for project butter to work.
honeyx said:
That´s interessting.... does the problem disappear if you re-enable CPU rendering? Also are you using CM9 or CM10?
For me there is no problem in watching youtube after disabling CPU rendering in CM9, but must agree that in both ROMs some flash videos are not displayed correctly. This is more related to the GPU drivers in CM9 and CM10 and the missing flash support in ICS and JB.
There are sites where the flash videos are not displayed correctly in CM9 and CM10, no matter you disable CPU rendering or not, but at least youtube is working well in CM9 after disabling CPU rendering. Can´t tell how about CM10, but CM10 needs both for project butter to work.
Click to expand...
Click to collapse
I running CM10. And I was disable it, but I can't find the different.
Thanks for help me.
arya_ruby said:
I install seeder for disable CPU rendering... But I have problem with flash when I see flash video (ex: youtube)...
Click to expand...
Click to collapse
Seeder is *NOT* for disabling CPU rendering.
--- Sent from Opera on Lenovo T420 ---
pepoluan said:
Seeder is *NOT* for disabling CPU rendering.
--- Sent from Opera on Lenovo T420 ---
Click to expand...
Click to collapse
True dat...
Too much flashing! I'm blinded on my Galaxy W!
pepoluan said:
Seeder is *NOT* for disabling CPU rendering.
--- Sent from Opera on Lenovo T420 ---
Click to expand...
Click to collapse
Ohhh. Thanks for clarify this. Never dealed with seeder so am not aware atm what it is for.
So if someone is saying it disabled CPU rendering as well, I take this information as to be true.
@arya_ruby: Your postings are very irritating. In the one hand your a claiming seeders is disabling CPU rendering and this is causing problems with youtube, in the other hand you are saying you disabled it but can´t (find?) (or see) a difference.
So what?
First you should inform what seeder is for and what´s doing on your phone before making conflicting claims.
honeyx said:
Ohhh. Thanks for clarify this. Never dealed with seeder so am not aware atm what it is for.
So if someone is saying it disabled CPU rendering as well, I take this information as to be true.
@arya_ruby: Your postings are very irritating. In the one hand your a claiming seeders is disabling CPU rendering and this is causing problems with youtube, in the other hand you are saying you disabled it but can´t (find?) (or see) a difference.
So what?
First you should inform what seeder is for and what´s doing on your phone before making conflicting claims.
Click to expand...
Click to collapse
Since I was slightly involved in the development of Seeder, let me give some information:
Seeder's purpose is to quickly fill up the entropy pool used by /dev/random and /dev/urandom. If this pool gets empty, lags will happen as the kernel interrupts things (including, blocking multithreading temporarily) to fill up the pool. With Seeder running, it periodically fills up the pool to prevent it from ever draining completely.
Some people swear that installing Seeder makes their phones run smoother, because the kernel never has to trigger 'urgent refilling', which as I mentioned before, temporarily disables multithreading.
However, things learnt during the (sometimes heated) discussion about how Seeder does its magic, undoubtedly have trickled down to kernel makers; many have identified the possible bottlenecks where lags happen, and many actively took steps to prevent such situation from happening. Thus, as time goes by, the improvement Seeder brought originally gets less and less significant, even to the point that it's no longer perceptible.
Sent from my GT-I8150 using xda app-developers app
pepoluan said:
Since I was slightly involved in the development of Seeder, let me give some information:
Seeder's purpose is to quickly fill up the entropy pool used by /dev/random and /dev/urandom. If this pool gets empty, lags will happen as the kernel interrupts things (including, blocking multithreading temporarily) to fill up the pool. With Seeder running, it periodically fills up the pool to prevent it from ever draining completely.
Some people swear that installing Seeder makes their phones run smoother, because the kernel never has to trigger 'urgent refilling', which as I mentioned before, temporarily disables multithreading.
However, things learnt during the (sometimes heated) discussion about how Seeder does its magic, undoubtedly have trickled down to kernel makers; many have identified the possible bottlenecks where lags happen, and many actively took steps to prevent such situation from happening. Thus, as time goes by, the improvement Seeder brought originally gets less and less significant, even to the point that it's no longer perceptible.
Sent from my GT-I8150 using xda app-developers app
Click to expand...
Click to collapse
Sadly, some using Seeders... Some use crossbreeder... Its the same rite?
Too much flashing! I'm blinded on my Galaxy W!
TiTAN-O-One said:
Sadly, some using Seeders... Some use crossbreeder... Its the same rite?
Too much flashing! I'm blinded on my Galaxy W!
Click to expand...
Click to collapse
Kinda similar...
Seeder uses rngd, which uses a PRNG.
Crossbreeder uses haveged, which uses a CSPRNG based on a multitude of CPU counters.
From a security point of view, haveged is more secure than rngd. But I can find no way to tune haveged's parameters, so I can't be sure that it won't be triggered at inopportune times.
rngd, OTOH, is much more tunable; the flashable-zip available in the Seeder thread has been tuned by me and @ryuinferno to be less intrusive.
(Just in case anyone is wondering: we had tuned rngd's nice value so it yields to higher-priority processes, tuned its cycle period so that it won't get triggered too frequently, tuned its 'high watermark' to make it return faster, and so on).
Sent from my GT-I8150 using xda app-developers app
pepoluan said:
Kinda similar...
Seeder uses rngd, which uses a PRNG.
Crossbreeder uses haveged, which uses a CSPRNG based on a multitude of CPU counters.
From a security point of view, haveged is more secure than rngd. But I can find no way to tune haveged's parameters, so I can't be sure that it won't be triggered at inopportune times.
rngd, OTOH, is much more tunable; the flashable-zip available in the Seeder thread has been tuned by me and @ryuinferno to be less intrusive.
(Just in case anyone is wondering: we had tuned rngd's nice value so it yields to higher-priority processes, tuned its cycle period so that it won't get triggered too frequently, tuned its 'high watermark' to make it return faster, and so on).
Sent from my GT-I8150 using xda app-developers app
Click to expand...
Click to collapse
But Seeders will Conflict with Crossbreeder rite? I thought its 2 separate tweaks so that we can use both and have NO lags at all ^~^
Too much flashing! I'm blinded on my Galaxy W!
TiTAN-O-One said:
But Seeders will Conflict with Crossbreeder rite? I thought its 2 separate tweaks so that we can use both and have NO lags at all ^~^
Too much flashing! I'm blinded on my Galaxy W!
Click to expand...
Click to collapse
Not conflict, but since both will fill the same entropy pool, why install both and consume valuable RAM and CPU cycles?
There are *no* other purpose of rngd and haveged.
That said, Crossbreeder is not just haveged; there are other tunings that Crossbreeder does in addition to haveged.
Sent from my GT-I8150 using xda app-developers app

[MOD] General performance and A-GPS lockout speed up in seconds

It works on STOCK ROMS and any CM x.x
A-GPS FIX
I have found another solution to speed up the GPS fix. Please find it here:
forum.xda-developers.com/showthread.php?t=1447593
I have checked and it works if you flash in CWM mode the patch with A-GPS lock. GPS found the location just in seconds even inside the buildings.
This is the link for the file CWM http://derekgordon.com/gps-files/agps.patch.google.build.cwm.v3.1.zip
If you are happy with the patch and find this thread useful, please consider pressing the "Thanks" button on any of my posts on this thread. You may also consider rating this thread with five stars if you're satisfied. You may do so just below "Search This Thread" on the right-side at the top of this post. Donations are appreciated (See last NOTE)
REVIEW THE WHOLE THREAD BEFORE POSTING QUESTIONS.
PERFORMANCE
To general speed up the whole andoid system I used a MOD from this thread http://forum.xda-developers.com/showthread.php?t=2360985
◢ Features ◣
- Android performances improved at 360°
- Radically improved management ram on android (Lags...adios!)
- Script lightweight and revised to be adapted to this engine
- Improves a lot the graphics: of course Pure Graphic™HD, Pure Dithering Plus™ and... AOSPA 3.60 system tweaks
- Scan multimedia time drastically reduced
- Network Improvements, 3G experience even in 2G modality
- All SQlite database optimized
- Enable hardware features turned off by default for a better experience on entry level devices
- Greatly increases the score AnTuTu: Try it to believe it!!
- Reduces the startup time of Android
- A version for stock rom and one for CM, to squeeze any roms!
- Allows you to play ported games without lags
- Cleans the system every 24 hours, thecache every week and the Dalvik every month (cronos easter egg)
- Automatically Zipalign on each boot (sensitive to the user)
Battery
- Drastically decreased the drainage of battery
- Check the activities that consume too much battery stop them with PureWakelocks™
- When the phone is charging reduces system services for faster charging
- The battery is calibrated on every boot
- Disable animation of the system when the battery is nearly exhausted
- Improvements in build.prop as regards the part of consumption
Graphics, Screen, Images
- Enables a non-aggressive dithering to save CPU
- When you lock the device, the engine makes sure that the GPU is turned off
- Enables deep sleepalso in the bugged rom
- Parts of bravia engine
- Of course parts of CrossBreeder (credits to dev)
- Of course parts of Adrenaline Engine (credits to dev)
- Of course PureGraphics HD, even though I already told you
- Of course V6 supercharger
- Generates video entropy (like seeder)
CPU, Governors, I/O Schedulers
- Slightly improves the scaling of the frequencies (for better results you need a good kernel)
- Lightens the load on the CPU switching the workload to GPU rendering
- Enable the swap partition in Android (experimental)
I've said too much, man. Install this engine and discover its power!
◢ Compatibility ◣
This engine works on any devices with any rom, but there is a version for CM's rom and one for stock based firmwares. So, CMx.x, Lewa Os, MIUI, etc.
Install the stock version only on your stock firmware of your phone....
if your device don't have gingerbread or ICS officially, install the CM version (This also applies to the AOSP)
◢ Positive feedbacks ◣
And finally ROM works like a charm.
Credits
crypted for his work on A-GPS
zeppelinrox for his V6
ImbaWind for his parts of Adrenaline Engine
Exit_Only for his Turbo concepts, there aren't any parts of his work in mine
idcrisis for his CrossBreeder
All credits goes to these people
L.E.D 26 for his support
Jeeko for the rest
And you for having received the power of the PurePerformances X
thank you but what is pure performans , the performance of the system can deliver up to
The Pure Performance mode is a pure ****.Read the comments on the official thread.
Nightshadow931 said:
The Pure Performance mode is a pure ****.Read the comments on the official thread.
Click to expand...
Click to collapse
I have not seen anything bad. I am currenty using this patch and I am very impressed by the speed increase. Just try first and after you can leave the comment.
Bad for wildfire s REMOVE
Htc Wildfire S cihazımdan Tapatalk 2 ile gönderildi
cw3tai said:
Bad for wildfire s REMOVE
Htc Wildfire S cihazımdan Tapatalk 2 ile gönderildi
Click to expand...
Click to collapse
What is BAD ... Can you mention in detail ....
abumsufyan said:
What is BAD ... Can you mention in detail ....
Click to expand...
Click to collapse
I try but not performans antutu 3000
GT-I9300 cihazımdan Tapatalk 2 ile gönderildi
I have the Wildchild V3.3
Can I use it?
And how to install it?
Do I need to wipe something or just flash it?
Send from my HTC
Xperia SOLA CM9.1
I have tried it but couldn't find any betterment in performance. anyways nice patch. keep up the good work
anhelogr said:
I have the Wildchild V3.3
Can I use it?
And how to install it?
Do I need to wipe something or just flash it?
Send from my HTC
Click to expand...
Click to collapse
Sorry I did not see any updates for this thread. Yes you can just reboot your mobile to bootloader and flash a version for CM just there. Reboot the mobile and it will be updating on boot up. Do not wipe anything. Just patch and go.
zivalarasa said:
I have tried it but couldn't find any betterment in performance. anyways nice patch. keep up the good work
Click to expand...
Click to collapse
I see the difference on my mobile in everyday use. I don't know about antutu score but overall see the difference, windows open very quickly without lags or delays. Camera work better and quicker. I am using Wildfire S and have a 1 GB ext4 partition on my micro sd card.
I flashed that GPS fix and now GPS locks (didn't even lock before) but it shows wrong coordinates, about 200 kilometers from my actual location. Any ideas?
(I am using Owl Project's Jellybean CyanogenMod)
Hello same problem with 'Shisco' please heeeelp
can i disable some feature in that mod?
like the title, i wanna disable some feature after flash this mod such "Cleans the system every 24 hours, thecache every week and the Dalvik every month (cronos easter egg)" or "Enable hardware features turned off by default for a better experience on entry level devices",..etc. can i?

Teach me to Android

マスター!どのようにコーディングを教え!
So since i couldent find any guides that actualy helped me to do with C, Linux,Android, android kernels , kernel modifying CODING IN C or anything like such... i then decided ill make a thread
Almost all devs i know are strapped for time or just dont have a XS anymore if not that they just ignore me :crying:
So this was originaly posted by our Well known RaymanFX and it seems his questions are exactly what i want to ask
[Q1] How to overclock a kernel
which files are needed -> kernel source
what files need to be edited ?
is the cpufreq driver related ?
how to determine which frequencies need higher voltage and how high exactly ?
[Q2] Undervolting
which files are needed -> kernel source ..
what files need to be edited
is the cpufreq driver related
how to determine which frequencies can use lowered voltage and how to calculate them ?
#ifdef not RaymanFX's Questions
[Q3] how to overlock your GPU
which files are neeeded
what files need to be edited
what determines your GPU voltages/clocks
how to determine what your hardware can handle
[Q4] how to add features like fastcharge
What files i need
what files need to be edited
where are great places to learn about sutch things
[Q5 Addapting
adding features from other kernels may work but if they dont then how will i addapt them to work (wide horizon to cover but lets use display drivers for an example)
if not adding features, lets say Porting 4.4 from Sony Xperia ZU (which is a nightmare for devs (or so says one of the many gods of developing we know as letama) couldent we just use most of the coding for the drivers which was officialy release by sony?
(in short, could we use drivers from our (SXS(L)4.1.2 to port 4.4 from ZU)
If we were to use drivers from official firmware to use on a unofficial firmware, what would we have to do for them to actualy work with the firmware that we are porting
#endif
- i know some tiny bits of this already from playing around with ForzaFerrarileo and DooMLorD's Kernel Source (only enough to fix the smallest of problems)
Envious_Data said:
マスター!どのようにコーディングを教え!
So since i couldent find any guides that actualy helped me to do with C, Linux,Android, android kernels , kernel modifying CODING IN C or anything like such... i then decided ill make a thread
Almost all devs i know are strapped for time or just dont have a XS anymore if not that they just ignore me :crying:
So this was originaly posted by our Well known RaymanFX and it seems his questions are exactly what i want to ask
[Q1] How to overclock a kernel
which files are needed -> kernel source
what files need to be edited ?
is the cpufreq driver related ?
how to determine which frequencies need higher voltage and how high exactly ?
[Q2] Undervolting
which files are needed -> kernel source ..
what files need to be edited
is the cpufreq driver related
how to determine which frequencies can use lowered voltage and how to calculate them ?
#ifdef not RaymanFX's Questions
[Q3] how to overlock your GPU
which files are neeeded
what files need to be edited
what determines your GPU voltages/clocks
how to determine what your hardware can handle
[Q4] how to add features like fastcharge
What files i need
what files need to be edited
where are great places to learn about sutch things
[Q5 Addapting
adding features from other kernels may work but if they dont then how will i addapt them to work (wide horizon to cover but lets use display drivers for an example)
if not adding features, lets say Porting 4.4 from Sony Xperia ZU (which is a nightmare for devs (or so says one of the many gods of developing we know as letama) couldent we just use most of the coding for the drivers which was officialy release by sony?
(in short, could we use drivers from our (SXS(L)4.1.2 to port 4.4 from ZU)
If we were to use drivers from official firmware to use on a unofficial firmware, what would we have to do for them to actualy work with the firmware that we are porting
#endif
- i know some tiny bits of this already from playing around with ForzaFerrarileo and DooMLorD's Kernel Source (only enough to fix the smallest of problems)
Click to expand...
Click to collapse
Cannot answer all of your questions but i'll try to answer as many as i currently know
Every device is specific but some parts are same..For example i'll take Xperia S as an example..
Q1..
For overclocking you need. acpuclock-8x60.c for xperia S. You will find it under kernel/arch/arm/mach-msm/
You will find a few lines defined under the structure struct clkctl_acpu_speed
so lets say you wish to add frequency 1782000...
based on the pattern add:{ {1, 1}, 1782000, ACPU_SCPLL, 0, 0, 1, 0x21, L2(22), 1325000, 0x03006000},(you will recognize the pattern from the lines in the file itself.
that is just an example of changes to one line. There are many more to edit. A good place to start would be to study someone else's OC kernel's features. You can study his/her github source to see the changes added for overclocking.
is the cpufreq driver related??: Didnt understand your question. technically you can add OC to any device. Only point is if the board gets heated up badly, it will shut down. Not burn itself to death. So there is a limit to how much u can overclock a processor..Try increasing step by step and then test. If board gets heated up to the point of shutdown, you will know ur processor's limit.
higher frequencies would require a higher voltage if performance is concerned. One suggestion here is to to give a 25 V increase per line of freq you add. What you might be asking is undervolting. What if your cpu is running at a higher freq and if u give it less voltage.right? In such scenarios your phone will be at a medium state. Where it is giving a minor compromise in performance to save battery. Giving high voltage with high freq will give you the best performance but at the cost of your battery.
Q2] three files(xperia s)
avs.h,board_semc_fuji.c
vreg-fuji_nozomi.c all under mach-msm folder
which freq and use less voltage...any freq can use less voltage. you give it less voltage and cpu wont perform as well as it would if you give it more voltage. udervolting is added so that you can have a minor compromise in performance to save ur battery. Eg: you are OCing your device at 1.8 Ghz. now you give it 1.3 V...It is running very very fast with a lot of battery drain. Now you undervolt it. you give it 0.8 V..Processor doesn't run as fast as 1.8 GHZ should run but still faster than normal but your battery is preserved.
Q3] I have forgotten totally,sorry. But i had studied Doomlord's kernel sources to find out about GPU. It would be a good place for you to start as well
Q4 and Q5] I have vague knowledge about these so wont be able to help you much. By porting do you mean porting some kernel modules from a different device to your kernel??
ty, i cant realy work off of a notepad for ever
ill look into playing with things more
i know what to do for porting lets say 4.4 from the default device but not how
Sent from my LT26i using XDA Premium 4 mobile app
Envious_Data said:
ty, i cant realy work off of a notepad for ever
ill look into playing with things more
i know what to do for porting lets say 4.4 from the default device but not how
Sent from my LT26i using XDA Premium 4 mobile app
Click to expand...
Click to collapse
haha..true..Try installing virtualbox and install ubuntu...you'll learn way faster how a linux kernel based OS just like android works...
Dark Wraith said:
haha..true..Try installing virtualbox and install ubuntu...you'll learn way faster how a linux kernel based OS just like android works...
Click to expand...
Click to collapse
i allready have ubuntu
not virtualbox
i have been playing with kernels and compiling, i am able to get around some issues
same goes with my aosp 4.4 build, it boots but crashes when certain graphic modes are needed (aka openGL based games)
takes on avarage about 32hours to compile on a normal day (if im lucky 17hours)
Sent from my LT26i using XDA Premium 4 mobile app
Envious_Data said:
i allready have ubuntu
not virtualbox
i have been playing with kernels and compiling, i am able to get around some issues
same goes with my aosp 4.4 build, it boots but crashes when certain graphic modes are needed (aka openGL based games)
takes on avarage about 32hours to compile on a normal day (if im lucky 17hours)
Sent from my LT26i using XDA Premium 4 mobile app
Click to expand...
Click to collapse
hehe...takes me 2days and crashes half the time.....(on a 512 mb ram stupid laptop)
Dark Wraith said:
hehe...takes me 2days and crashes half the time.....(on a 512 mb ram stupid laptop)
Click to expand...
Click to collapse
i got 4gb but my harddrive slows down and then it just starts messsing up
got a bug where mount ntfs starts generating errors and causes its self to use 99% of my cpu
so compiling can take estimated upto a week
also a laptop
Sent from my Xperia S using XDA Premium 4 mobile app

Categories

Resources