1. Are you ready for the Galaxy S20? Here is everything we know so far!

[modification] Speed up your Rise while improving battery life at the same time

Discussion in 'Android Devices' started by db2, Jan 5, 2013.

  1. db2

    db2 Android Enthusiast
    Thread Starter

    So, you paid a buck and a half for some app to seed /dev/random because $FOO and can't admit you're experiencing confirmation bias? No problem.

    Edit /system/lib/egl/egl.cfg and remove only the line "0 0 android" from it. Save. Reboot.

    You can pretend it was the $1.50 magic app if you want to. :p

    What it does: Disable default CPU rendering in effect by only leaving GPU rendering as an option. Our GPU is actually pretty decent but it's not used to the fullest by default. But moreover, by offloading the rendering to the GPU where it belongs it frees up processor time, making the whole phone itself effectively faster and more responsive because that freed processor time can be put toward your apps!

    I played a couple rounds of Speedx 3D and several levels of Angry Birds Rio and lost a whopping 1% of battery in that whole time. Additionally they both played much smoother, beyond just the interface. Previously simply checking email made the battery go down that far.

    We've all concluded the Rise isn't very good about battery life, and compared to some it probably isn't. We've also concluded that it's on the low end, and again compared to some... But with this it doesn't appear to be as bad as we thought, the hardware is solid but the software config just kinda sucks.

    Faster more responsive interface AND faster phone AND better battery life, with no incantations or dead chickens? What are you waiting for get editing!

    Source is XDA, there are dozens of threads about it and as far as I can tell they all reference each other in an infinite loop so I'm not sure which to credit! Some contain BS information about build.prop too, telling you to add CM-specific entries to stock roms... derp.

    This should also work for the Hydro but I don't have one to test. They're basically the same under the hood though.

    Edit: You will need to make sure the permissions of egl.cfg stay the same as before, the permissions should look like "rw-r--r--", either use your root file browser to set it or the shell command to do it is "chmod 644 egl.cfg"

  2. db2

    db2 Android Enthusiast
    Thread Starter

    Another way to speed things up:

    Edit /system/build.prop to add the following:

    Tip: don't waste time with dalvik.vm.execution-mode because it's pointless, in 4.0+ JIT is on by default.

    That's not quite enough though, now you need to open a terminal and do this:

    After that reboot your phone. Startup will take longer because the Dalvik cache will be rebuilt, this time according to the flags you had just added in build.prop in the beginning. After that you should notice it's a bit snappier. It won't be like night and day but it's noticeable.
    daffyducknj, dibblebill and sneaky_1 like this.
  3. sneaky_1

    sneaky_1 Android Enthusiast

    That's one of the first things I do on a CM based rom, force gpu rendering. Thanks.
  4. AndroidHaCks

    AndroidHaCks Android Enthusiast

    Confirmation bias? All i was trying to do was help people out. And it's free over at Xda.
  5. db2

    db2 Android Enthusiast
    Thread Starter

    Easy there tiger, I was only joking around.

    edit: Besides, it wasn't directed at you, it was directed at xda mainly.
  6. micku92

    micku92 Newbie

    EDIT: Nevermind what I posted, it was my faulty way of modifying the egl.cfg what caused my phone to lag and go crazy. Turns out that the permissions of the egl.cfg file were messed up and that caused my phone's behavior.

    So it turns out that I did the modification of the egl.cfg file properly and it does work, I can clearly tell that my performance has been increased, draw something doesn't lag anymore for me. I am actually impressed because this is the first time that a tweak works for me.
  7. db2

    db2 Android Enthusiast
    Thread Starter

    Whatever you do, make sure you don't tell us what you actually did. Better you stay upset than accomplish the original goal.
  8. micku92

    micku92 Newbie

    I'm not upset at all, I was just stating what happened to my phone, chill dude!
  9. cooldudezach

    cooldudezach Android Enthusiast

    Part of the problem i've seen with this phone, is that whenever changes are made in/to /system, the phone starts flipping out for a reboot or two.
  10. db2

    db2 Android Enthusiast
    Thread Starter

    lol, my not so subtle hint was to say what happened so it can be fixed. Something's screwy, because these two things I posted do work. If it didn't then I'd like to figure out why and make your device fast too.
  11. db2

    db2 Android Enthusiast
    Thread Starter

    Some Android devices flip their shit if /system isn't set back to read only before rebooting.
  12. micku92

    micku92 Newbie

    Well, what I did first was to make a copy of the egl.cfg into my sd card, then I erased the "0 0 android", saved, deleted my original egl.cfg that was on my /egl/ folder and pasted the modified egl.cfg from my sd card into the /egl/ folder (I did all this because it wouldn't let me edit the egl.cfg file right away)
    Then I restarted my phone and it was lagging like hell, after noticing that the lag wouldn't go away and seeing that my settings wasn't working I proceeded to add the "0 0 android" line back to my egl.cfg file. I restarted my phone once again, with the egl.cfg file fixed, but everything is still the same, my settings are not working and the phone is lagging.
    Thanks for your help :)

    EDIT: I think I got it, I just noticed that the permissions were changed, luckily I remember how the permissions were arranged so I am working on it right now

    EDIT 2: Yep, that was the problem, my phone is back to normal now. The permissions must have got changed when I copied the file over to my sd card
  13. db2

    db2 Android Enthusiast
    Thread Starter

    Yep, sdcard is fat32 so permissions get lost. Try the edit again now with the permissions set.
  14. micku92

    micku92 Newbie

    Yeah I did and my it really works, I can see the difference and I have a lot less lag in games and apps, I already edited my post above so I don't mislead people.
    Thanks for this :)
  15. db2

    db2 Android Enthusiast
    Thread Starter

    Glad to help. :)

    I'm going to edit the OP to include a note about permissions, I really should have done that in the first place anyway.
  16. AndroidHaCks

    AndroidHaCks Android Enthusiast

    I'll try this out, thanks
  17. Petegunns

    Petegunns Member

    Tweaks working superbly on Hydro - Cheers!
    Slayer72 and Thebeast812 like this.
  18. Kritter888

    Kritter888 Android Enthusiast

    Was a lil paranoid about doing this myself but used esexploerer & finally did it the diffrence in peformace and no lag is amazing this definatly deserved a thanks
    Slayer72 likes this.
  19. daffyducknj

    daffyducknj Android Enthusiast

    Curious... is doing this different from the 'Force GPU Rendering' option that can be accessed by going to Settings > Developer options ?
    Slayer72 likes this.
  20. db2

    db2 Android Enthusiast
    Thread Starter

    That option is for apps only, this is for everything. Not sure if there's any effective difference, but checking the box didn't have as much impact as this did for me.
    Slayer72 likes this.
  21. Kritter888

    Kritter888 Android Enthusiast

    Being a newbie useing db2s in this thread advice + playing with some settings without having any issues with pimp my rom my phones peformace is pretty amazing now i know db reccommends nofrills cpu overclocker b4 i download that do u mind / shareing a good setup for no frills as to keeping batt life as good as ya can but also good cpu performance ill sacrifice a lil batt of cource for faster but wanna know ur input on best settings?
  22. db2

    db2 Android Enthusiast
    Thread Starter

    1.024 GHz max
    245 MHz min
    Conservative governor
    noop scheduler

    The governor is the only change, it works like Ondemand (default) but opposite. Ondemand will jump right to max when under load and step down to min when idle. Conservative steps up to max under load and drops right to min when idle. Conservative should be better on battery and it's unlikely you'll really notice any speed changes.

    I'd prefer the deadline scheduler, but Kyocera didn't build it in so it's not available right now.
    Kritter888 likes this.
  23. dibblebill

    dibblebill Android Expert

    Thanks, man. These both seem to work excellently for me.

    EDIT: IF I may, what does the Dalvik adjustment do?

    EDIT 2: The Google is strong with this one. Answered my question, I did.

    V = Verify, n = none, so its not verifying.
    O = Optimize all
    U = send to unprocessor, recommended on single-core devices.
  24. androidfreaky

    androidfreaky Lurker

    hi. thanks for your great insight. i've done the first tweak and works great, now i need to make sure i did the second tweak right lol.

    after i type "rm *" and press enter/execute inside terminal, the prompt moves to the next line & nothing happens.

    is this how it went for you? I reboot phone and it does take slower to boot up since it was updating the apps.
  25. dibblebill

    dibblebill Android Expert

    Yep, that's how it works. Should only take a long time to reboot once.

Kyocera Rise Forum

The Kyocera Rise release date was August 2012. Features and Specs include a 3.5" inch screen, 3MP camera, 512GB RAM, Snapdragon S2 processor, and 1500mAh battery.

August 2012
Release Date

Share This Page