Custom Backlight Driver - LG Optimus 4X HD

Recently got this phone was was annoyed with how much the minimum brightness hurt my eyes when I was using it in bed.
A bit of digging around in the kernel sources and Googling for datasheets revealed that there was a parameter used to scale the overall brightness that was fixed to be the default of 19 (20.2 mA max).
This driver exposes that control through sysfs. A sample app is attached for changing that value.
It goes between 0..31, but I'm cautious about going higher than the default.
I think this method of setting is not very intuitive and it would be better for the driver to internally map the supported brightness values (0..255) to a pair of (scale, brightness).
i.imgur.com/R42YP.png
i.imgur.com/0VOiB.png
Since we have the formulas, it should be easy to get a monotonic mapping.
Sample app source: github.com/mzhou/OptimusDim
Driver source: github.com/mzhou/lm3533_bl_custom

for who name " a random person" your funny, i see the thank button on mobile and its said" thanks by : a random person" soo funny ,,,,, sorry to OP i cant resist will try this later
Sent from my LG-P880 using xda app-developers app

dfreake said:
for who name " a random person" your funny, i see the thank button on mobile and its said" thanks by : a random person" soo funny ,,,,, sorry to OP i cant resist will try this later
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
Are you talking to me or just a random person?
On topic: Thanks for the awesome app op :good:

brithnesprofiles apk from market let you dimm your sreen alot more than system

Could this be adapted to work on any device similar to a custom rom's custom backlight settings ala aokp or cm? I am doubtful as you had to hack kernel source but anything is possible if the sys fs interface is present I guess?
Sent from my Galaxy Nexus using Tapatalk 2

wizayne said:
Could this be adapted to work on any device similar to a custom rom's custom backlight settings ala aokp or cm? I am doubtful as you had to hack kernel source but anything is possible if the sys fs interface is present I guess?
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Not really. The GNex is an AMOLED design, not an LCD + backlight design. As such, the GNex doesn't have a backlight controller at all. What you want to do iss mess with the colour curves for the GNex display.
Of course, I may be wrong and the GNex may well have a similar chip as a filter/resistor/amp/attenuator for the AMOLED panel.... I've seen some weird design decisions in my time...

wizayne said:
Could this be adapted to work on any device similar to a custom rom's custom backlight settings ala aokp or cm? I am doubtful as you had to hack kernel source but anything is possible if the sys fs interface is present I guess?
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
I believe not for the Galaxy Nexus, but the general process would be
Find out the model number of the backlight controller
Search for the data sheet
Find what parameters can be tweaked (e.g. brightness value, current, voltage, etc.) and compare with what the driver already lets you change
Modify driver if necessary
You could find what the backlight controller is by running something like:
Code:
[email protected]:/ # stat /sys/class/leds/lcd-backlight/device/driver
File: '/sys/class/leds/lcd-backlight/device/driver' -> '../../../../../bus/i2c/drivers/lm3533_bl'
Size: 0 Blocks: 0 IO Block: 4096 symbolic link
Device: ch/12d Inode: 3114 Links: 1
Access: (0777/lrwxrwxrwx) Uid: ( 0/ UNKNOWN) Gid: ( 0/ UNKNOWN)
Access: 2013-01-20 08:26:39.000000000
Modify: 2013-01-20 08:26:39.000000000
Change: 2013-01-20 08:26:39.000000000
If that doesn't exist, explore the surrounding directories.

Tomorrow I will update this for Jelly Bean now that we have kernel sources.
I will also release my fastcharge for USB kernel module (allows you to increase charging current and also fastcharge no matter what the connection or temperature) once I update my phone to official V20A and test it (my phone is currently a mix of the Chinese leaked V20A with the /system from Euro Open and overall a mess).

arararagi said:
Tomorrow I will update this for Jelly Bean now that we have kernel sources.
I will also release my fastcharge for USB kernel module (allows you to increase charging current and also fastcharge no matter what the connection or temperature) once I update my phone to official V20A and test it (my phone is currently a mix of the Chinese leaked V20A with the /system from Euro Open and overall a mess).
Click to expand...
Click to collapse
thanks by a random person lol again
and nice to hear your development
Sent from my LG-P880 using xda app-developers app

Related

[KERNEL][ICS]JARVIS-v8 for LGP990

JARVIS Kernel for LGP990
Only for CM/Miui or AOSP roms​
Deceided that XDA needs a thread too. I won't look through it really often. I hope that other more experienced members can answer some easy questions, so I can focus on developing things.
Features:
3.0.y Kernel
Interfaces to control a bunch of Features (Like vibration strength)
Overall optimized parameters to provide a smooth user experience
working UMS - thanks Harsh
App which controls all the interfaces
Disclaimer:
I'm not responsible if your phone is fried by the kernel or you miss some important phone call! I'm not forcing you to install this Kernel and so it isn't my fault.
Download:
Download
Or Update via my app:
​
Don't use profiles, because they can lead to instabilities.. and they're unnecessary.
Stay away from SetCPU or any other app. Could lead to problems because of the customizable OC. Wait for my app until it's not ready use command line coupled with a init.d script.
You don't need to optimize any values in the ram disk. It should work perfectly without any other tweaks.
When you experience problems like random reboots, SODS, etc. try to go back to stock settings. And apply my 1 GHz frequency table. If this isn't fixing your problems report a bug with detailed informations. Like ROM, Settings, etc.
If a person reported a bug and you experienced it too, +1 this bug report or whatever. In this case I know that the bug isn't only happening on one specific device.
Changelog:
I'm damn lazy. So just use my github commit history (here).
Source Code:
Github
Thanks to:
Dekudan/Victor Von Zeppelin - for creating awesome icons for the app
Arcee - Setting up CyanogenMod and everything.. Just awesome
wkpark - for his cherry-pick marathon.. This guy really has endurance hehe
Ezekeel - Really innovative dev with impressive ideas.
Everyone who open sourced their work
Interfaces:​
CPU Control:
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
Used to set the minimum frequency.
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
Used to set the maximum frequency.
​
Fsync Control:
/sys/class/misc/fsynccontrol/fsync_enabled (Read and Write)
Enable/disable single file/filessystem sync.
WARNING: This could lead to potential data loss after a unwanted reboot (battery pull)
enable=1, disable=0 (default enabled)​
Vibrator Control:
/sys/class/misc/vibratorcontrol/vibrator_strength
Set the vibration strength.
possible values: 1500-3600​
Force Fast Charge:
/sys/kernel/fast_charge/force_charge_mode
changes the usb charging mode. We have 3 modes:
Fast - Forces fast AC charging. Disable data transfer!
Slow - Always charges slow (like on a normal PC USB bus)
Auto - automatical detects which mode should be set.
Possible values: fast=1, slow=2, auto=0​
Example
Use adb to connect to your device and then in adb shell (with su) (you can setup a init.d script to auto apply everything)
We want more vibration because we can hardly notice it and want to pwn our friend with benchmarks. Additionally we want to charge our device faster.
Code:
echo 3500 > /sys/class/misc/vibratorcontrol/vibrator_strength
echo 1 > /sys/kernel/fast_charge/force_charge_mode
echo 0 > /sys/class/misc/fsynccontrol/fsync_enabled
And that's it
reserved2
Ics only right? cool stuff man I'll give it a try
Verstuurd van mijn Optimus 2X met Tapatalk
awesome, benee
Thanks!
Sent from my LG-P990 using xda premium
Hi
Installed and testing over half day. Until now seems to be a quite good kernel. No problems, no bsod. Battery drain its difficult to tell now
Tnx for new kernel.
Sent from my Tapatalk
great kernel!
I've use it since JARVIS-1
most stable one for me so far.
works fine so far !
looking forward to your kernel control app !
Awesome post! Thanks for sharing.
Really fast Kernel.
Two Screenshots with 1,4GHz and 1,2GHz.
Sent from my LG-P990 using XDA Premium App
Edit:
Your going to update your Sources to 3.0.32?
zerocoolriddler said:
Really fast Kernel.
Two Screenshots with 1,4GHz and 1,2GHz.
Sent from my LG-P990 using XDA Premium App
Edit:
Your going to update your Sources to 3.0.32?
Click to expand...
Click to collapse
Later. Doesn't benefit so much and only clutters the git history. (I don't like to squash the commits)
zerocoolriddler said:
Really fast Kernel.
Two Screenshots with 1,4GHz and 1,2GHz.
Sent from my LG-P990 using XDA Premium App
Edit:
Your going to update your Sources to 3.0.32?
Click to expand...
Click to collapse
damn... really fast. grats benee
---------- Post added at 01:41 PM ---------- Previous post was at 01:35 PM ----------
zerocoolriddler said:
Really fast Kernel.
Two Screenshots with 1,4GHz and 1,2GHz.
Sent from my LG-P990 using XDA Premium App
Edit:
Your going to update your Sources to 3.0.32?
Click to expand...
Click to collapse
damn, it really is fast, never seen any kernel score so high when it comes to cpu, just need a lil I\O tweaking and its perfect. i think
I think CPU and Mem is more important than I/O, but not so easy to do.
skylinegt77 said:
damn, it really is fast, never seen any kernel score so high when it comes to cpu, just need a lil I\O tweaking and its perfect. i think
Click to expand...
Click to collapse
It's pretty much io tweaked. If you want more disable fsync (interface)
zerocoolriddler said:
I think CPU and Mem is more important than I/O, but not so easy to do.
Click to expand...
Click to collapse
When I finished my app I will work on live gpu oc and maybe a ram only oc is possible (havn't looked deeply into it and the stuff what we can do easily is damn limited)
CM7 support?
CM9
---------- Post added at 03:10 PM ---------- Previous post was at 03:04 PM ----------
Benee said:
It's pretty much io tweaked. If you want more disable fsync (interface))
Click to expand...
Click to collapse
How to disable this? I´m not able to do it. Tried it via Console and Estrong File Explorer but always changes back to 1 after a Reboot.
zerocoolriddler said:
CM9
---------- Post added at 03:10 PM ---------- Previous post was at 03:04 PM ----------
How to disable this? I´m not able to do it. Tried it via Console and Estrong File Explorer but always changes back to 1 after a Reboot.
Click to expand...
Click to collapse
that is the way sysfs works
you will need to make a init.d script for it so it will set the values at boot time
or just wait for the app
Benee said:
It's pretty much io tweaked. If you want more disable fsync (interface)
When I finished my app I will work on live gpu oc and maybe a ram only oc is possible (havn't looked deeply into it and the stuff what we can do easily is damn limited)
Click to expand...
Click to collapse
not only that, if you try to change it in sys it will never even save the changes to the file, we gotta do it sumwhere else
+ im waiting 4 the app coz from what i saw it apears to be really great
PAIIITET said:
CM7 support?
Click to expand...
Click to collapse
I flash the kernel on cm7 and the phone do not appear usb storage when link to pc.
It can boot on cm7.
rexren said:
I flash the kernel on cm7 and the phone do not appear usb storage when link to pc.
It can boot on cm7.
Click to expand...
Click to collapse
i had to change some things in my rom to support UMS on 3.0.y kernel (since it differs really alot from 2.36.x kernel) i think that is the cause

Project Butter on android 4 possible on GB?

Does any dev know if it is possible on Gingerbread to use this "technology" to create "buttersmooth" refresh rates using vsync and videobuffer?
Thank
This is what i know accurate as per my HW knowledge multiplied by driver programing experiences.
Phones' LCD hw as per resolution doesnt support Vertical Sync more than 65Hz. Although LG has used 75Hz to all LG devices. Increasing Vertical Sync only gives high benchmarks by false 2D/3D results. Increasing HW Vertical Sync HZ rather than supported by phone actually worsens performance, needless to mention in longer run it damages LCD controllers. Phone LCD supports max 65HZ refresh rate thats what called VSync(Virtical Sync).
FramBuffer refresh rate is another story. We can setup kernel kill fd signal(SIG KILL) to specific ms to refresh forcefully kill and restart framebuffer artificially but that will gives blinking display. I am already done with FB refresh rate
Sent from my LG-P990 using Tapatalk 2
But spica surely it works in a similar way to PCs? I.e the Vsync is only set to the max possible frame render of the display, e.g. a 60HZ monitor will sync at 60FPS where Vsync will kick in if enabled... you can also do this for any refresh rate like the newer 120hz monitors.
Wouldnt it simply require changing the variables to acknowledge this extra hz in our displays?.
Just curious, probably wrong but it would be nice if it were true as it would be even easier .
Project butter also uses both the CPU and the GPU to render frames. Its switches between the 2 and one can "prepare" while the other one is still being used to render
Sent from my LG-P990 using xda app-developers app
Chris4evernoob said:
Project butter also uses both the CPU and the GPU to render frames. Its switches between the 2 and one can "prepare" while the other one is still being used to render
Sent from my LG-P990 using xda app-developers app
Click to expand...
Click to collapse
Hmm I dont know much about this project.
Wider LCDs for CPU as per the resolution, can support hight refresh rate but our phone LCD cant:/ it works(increasing vsync and it doesnt damage to LCD controllers in short run) but it will cheat benchmark(as softwares detects wrong info and muliplication) but in realtime performance will be worsened. And its not good for LCD controller HW. We will find every phone with 65hz max except LG. As because phone's LCD controller HW can draw only max 65 HZ sync. Increasing it will draw more frames but it wont be used by HW resulting in wasted frames. FrameBuffer refresh is completely different thing unrealated to vsync. If I can find more detailed refrence link about it than I will post the link when i get PC access soon
This project might be using combination of FB and vSync, not only vsync.
Can anybody rdirect me towards link of this project?
Sent from my LG-P990 using Tapatalk 2
I previously had phone Samsung Galaxy Spica((I-5700).
I began Horse Power Kernel Development 1st with these kernel. Reffer this link:
http://forum.samdroid.net/f53/development-kernel-horse-power-4973/
Click on Previous Changelogs History spoiler.
You can see in older changes i have increased Vertical Sync rate to 80Hz. But believe me it gives only massiv e 2d/3d score. But the performance of games were worsenedd incl. Of UI smoothness. I did revert it in newer version.
Yes its just matter of changing values in kernel display driver
I dont anything about butter project, can anubody provide me link of it?
Sent from my LG-P990 using Tapatalk 2
http://www.google.com/search?hl=en&...3.0.0.0.8612.2.0.0.2.2.0.0.0..0.0...0.0...1ac.
Don't know what you are looking for Spica?
And another link with some info.
http://www.androidpolice.com/2012/0...e-responsive-apps-that-anticipate-your-touch/
Thank you for providing links.
Edit: oh sorry w/o reading it I completely misunderstood before. Its different
Sent from my LG-P990 using Tapatalk 2
Okay I read overly not in deep. Its not related to kernel-HW's refresh rate that I was discussing, hence its safe. Okay its related to android framework I guess, not read in deep. Not related with Kernel and kernel needs no changes. Its google's work I guess
It seems good. I will look more deeply tomorrow as soon as I get PC access
Sent from my LG-P990 using Tapatalk 2
IF this would ever be ported to Gingerbread for our phone, it would only be found on CM7 ROMs, not on Stock ROMs.
Android has kinda bad design concerning the scrolling stuff in its framework which causes it to never be as smooth as other Smartphone OS like iOS or WP are or will be.
This base design can't be change easily anymore, in order to NOT break the (available) Android apps.
It's also clear that even though Google can't change the whole base, they will put efforts in creating and finding workarounds for providing a smoother UI anyway.
This and faster hardware will make Android smoother every year.
They have already proven with both ICS and Jelly Bean that they are able to improve the smoothness. But the changes they had to perform for this surely (without knowing further details) affect big parts of the Android Framework.
This means in order to get a smoother scrolling experience on Gingerbread, ROM DEVs would need to backport features and changes of the new OS revisions to GB framework. And I'm sure this is way too much work (for our crappy little phone ).
Also it can only be done if the whole framework source is available, so no smoother scrolling for STOCK. And there is nothing kernel DEVs could do in this case by their own (besides the things they are doing already), unfortunately.
But you guys could ask Temasek to backport smoother scrolling to his CM7 ROM *jokingly - won't be that easy*
Answering to the OP, it's quite impossible... We need to backport lots of changes in GB framework (for example hw acceleration) and to do a lot of work that it doesn't worth it. And the only rom that would support these changes is cm7, and it isn't so stable.
If you like project butter, get a galaxy nexus. We have doubts to get ics update on our 2x...
markop90 said:
Answering to the OP, it's quite impossible... We need to backport lots of changes in GB framework (for example hw acceleration) and to do a lot of work that it doesn't worth it. And the only rom that would support these changes is cm7, and it isn't so stable.
Click to expand...
Click to collapse
Yeah that's exactly what I wrote - just in short But I wouldn't call CM7 unstable.
markop90 said:
Answering to the OP, it's quite impossible... We need to backport lots of changes in GB framework (for example hw acceleration) and to do a lot of work that it doesn't worth it. And the only rom that would support these changes is cm7, and it isn't so stable.
If you like project butter, get a galaxy nexus. We have doubts to get ics update on our 2x...
Click to expand...
Click to collapse
Cm7 is one of the most stable roms on our phone...
Sent from my LG-P990 using xda app-developers app
Stefan Gündhör said:
IF this would ever be ported to Gingerbread for our phone, it would only be found on CM7 ROMs, not on Stock ROMs.
Android has kinda bad design concerning the scrolling stuff in its framework which causes it to never be as smooth as other Smartphone OS like iOS or WP are or will be.
Click to expand...
Click to collapse
Actually scrolling in Android is very well implemented. The reason for the lag is twofold:
1) Android started as keyboard driven OS (a better blackberry), with no touch interface in mind, so the UI thread is of normal priority. That means that touch events don't have a higher priority than any other process that runs on your phone at the same time, thus any animation or transition can be interrupted (in cpu cycles) by another process. Say for example that you are scrolling a long list. Every other process that does something at the same time (updating your widgets, checking your email etc) will get equal time with the cpu as the scrolling animation. That means allot of interrupts during that animation that cause frames to drop and thus lag to occur. It also means that the ui thread must wait for it's time whenever there is a touch event (user interaction through the touchscreen) to respond. Changing the UI thread priority would solve most ui problems with android but it would also indeed break compatibility with older apps.
2) The other problem is that most devs do a very poor implementation of lists. Android lists are actually very efficient but badly documented, and many developers implement them in ways that are sub-optimal. In order to save memory, the list only uses as many views (items) as fit the screen, and when the user scrolls it simply recycles them by changing their content. That means that the objects displayed in the list are cleared from the memory as soon as they leave the screen. So every time you return to the place where those objects where, an interrupt followed by IO with the filesystem takes place (the worst kind of interrupt). That's not such a big problem when the only thing you want to display is text, but what if you use bigger stuff like bitmaps? Then you get allot of lag. To avoid that you have to keep the list objects in memory. If you have too many such objects and want to avoid filling all the heap you can create a cashe with a limited size, or simply load object to the list only after scrolling has stopped (look to the cm9 music player cover art for one such example). Anyway, to make a long story short you can implement very complex and content heavy lists that run like butter on a arm6 600mhz gingerbread phone, but you can also make those same lists lag on OneX with the wrong implementation.
And btw, project butter DOES use the kernel, it makes use of a custom governor that immediately rumps up the cpu freq to the max whenever there is a touch event.
Stefan Gündhör said:
Yeah that's exactly what I wrote - just in short But I wouldn't call CM7 unstable.
Click to expand...
Click to collapse
I didn't say that cm7 is unstable, but it still has some freezes and random reboots... For example, yesterday I flashed cm7 again, after 2h of runtime I opened the browser and the phone froze and restarted himself... It is sufficiently stable, but I cannot use it as daily rom... And it is also battery hungry...
Ricardo has done a really great job on this phone, but cm7 isn't a rom for my business.. I prefer max stability, so I had to flash a 2.2 rom... GB memory leak is very annoying..
Supupa said:
Cm7 is one of the most stable roms on our phone...
Sent from my LG-P990 using xda app-developers app
Click to expand...
Click to collapse
"one of the most stable"? Maybe you just haven't tried a good stock based rom... I used cm7 for 7 months and i had a lot of problem...that's because of the closed Tegra2 sources...
markop90 said:
"one of the most stable"? Maybe you just haven't tried a good stock based rom... I used cm7 for 7 months and i had a lot of problem...that's because of the closed Tegra2 sources...
Click to expand...
Click to collapse
What do the closed sources have to do with cm7? It's GB as well and they are fully compatible.
I used CM7 for over half a year, never had any real problems.
ICS and GB are very diferent in the way they interact with the hardware.
Butter smoth stuf on GB is not possible.
This is what Ricardo Cerqueira answered about this:
"Project Butter is mostly about synchronizing gfx composition with the display's actual refresh rate... and Gingerbread didn't have a hardware compositor at all."

[Kernel][CM10][26/08] CMOC10-Kernel [New! MaxOC version]

Hello people,
This is a CM10 overclocked kernel, based on Metallice's CM9 version. Thanks for jumpstarting me, mate! :laugh:
It's features:
Overclockable to 1.38GHz, 1.52GHz for MaxOC
Underclockable to 150MHz, both
GPU overclocked to 384MHz, 512MHz for MaxOC
L3 overclocked to 224MHz for MaxOC
Wheatley governor (by Ezekeel)
Pegasusq governor
NTFS Read-only support
SIO scheduler (by Ezekeel)
SLQB memory allocator (by Ezekeel)
Optimized CRC32 & ARM RWSEM algorithms
LowMemoryKiller backported from 3.4 kernel
and several other fixes and optimizations
Click to expand...
Click to collapse
***Read Me***
DO NOT, UNDER ANY CIRCUMSTANCE, USE SETCPU PROFILES OF ANY KIND OR ANYTHING SIMILAR WITH THIS DEVICE. Things like screen off max frequency, temperature throttling, and others are already built in to the OMAP architecture. Using ANY profiles will ONLY lead to problems, instabilities, and battery drain.
***************
***Changelog***
26-08:
Included cifs module in zip. Re-enabled touchboost for smoother response. NTFS support (read-only)
NEW! MaxOC version. CPU @ 1.52, GPU @ 512, L3 @ 224 & significant overvolt @ max speed.
***************
Download links:
Regular version: http://goo.im/devs/Johnsel/kernels/CMOC10-Kernel_P31xx-20120826.zip
Use at own risk!! These values are HIGH!
MaxOC version: http://goo.im/devs/Johnsel/kernels/CMOC10-Kernel_P31xx-20120826-MaxOC.zip
Source:
https://github.com/Johnsel/android_kernel_samsung_espresso10/tree/jellybean
Installing right now. Thank you
Awesome! Thanks man. Will give it a good run.
Edit: won't boot. Gets stuck at the Samsung logo. Will try to post logs.
3113
scottx . said:
Awesome! Thanks man. Will give it a good run.
Edit: won't boot. Gets stuck at the Samsung logo. Will try to post logs.
3113
Click to expand...
Click to collapse
for me too (P3100)
Tried to reinstall, but after some minutes on Samsung logo my P3100 has rebooted, but still on sam logo (
P3110, flashed zip via CWM, same problem here, no-boot: stuck at Samsung logo.
How do we acquire logs to post, by the way?
Thanks though, Johnsel! Nice to see we're on our way to a swish new kernel for CM10
New build uploaded. Hope it works now.
boots but wifi not working on my P3100
Edit: tried also with a full wipe but nothing, Wifi doesn't work
jym1975 said:
boots but wifi not working on my P3100
Click to expand...
Click to collapse
Agreed - boots now (hurrah!) but no Wifi, it will not turn on. P3110 here
And updated again.
Wifi still broken.
Now it should work. Please don't hit me for f'ing up that many times in a row :]
Yeah, WiFi now working
Sent from my GT-P3100 using xda app-developers app
Zoom Zoom on my p3113! Thank you!
Johnsel said:
Now it should work. Please don't hit me for f'ing up that many times in a row :]
Click to expand...
Click to collapse
Glad to see you got it all up and running. Good work! I'm always open to PMs if you have any more questions or whatnot.
Also be careful with live OC. It doesn't just overclock CPU/gpu/bus. It overclocks EVERYTHING. A lot of which don't like being overclocked. I would disable it for things like the DSP or other miscellaneous frequencies if you want it to go higher and be more effective. The source should be pretty straightforward on how to disable it for those elements. At least that's how it was the last time I looked. Maybe its different now.
Sent from my Nexus 7 using xda premium
I confirm, so far it's fine.
Try @1200 and 1380. Thx for the work.
Sent from my GT-P3110 using xda app-developers app
Metallice said:
Glad to see you got it all up and running. Good work! I'm always open to PMs if you have any more questions or whatnot.
Also be careful with live OC. It doesn't just overclock CPU/gpu/bus. It overclocks EVERYTHING. A lot of which don't like being overclocked. I would disable it for things like the DSP or other miscellaneous frequencies if you want it to go higher and be more effective. The source should be pretty straightforward on how to disable it for those elements. At least that's how it was the last time I looked. Maybe its different now.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
I'll respond in a PM on your post to not clutter the topic. Aside from that, again thanks for the help, couldn't have done this without it :highfive:
Good work. Now I don't mind using 10 as a DD.
Just need tablet mode @ 145dpi now.
Touch screen , became unresponsive, after sitting there, over 3 hours ,,anyone have had this happen?, (OC setting was at default )
Sent from my GT-P3100 using xda app-developers app
Just tested latest version. Works pretty well.
Today I played with LiveOC:
CoreOC: setting 101 or any number -> instant crash.
GPU: works well.
As Metallice said, it just overclocks everything, so this behavior is expected.
I just want to ask you if you can add 2 features?
1. Pegasusq governor. I'm using it on my I9100 (Siyah kernel for S2) and it's really good in performance/battery.
2. Can you take a look at the sound enhancement (voodoo sound based) found in Siyah kernel for S3. The tab uses the same audio DAC WM1811, so it wouldn't be difficult.
Regards,
RJ
I had voodoo sound on my infuse and it was nice and clean. Would really like it here.

[GUIDE] bcvictory's War On Lag

Hey XDA-ers!
BCVictory here! (Call me Bailey, my real name, if you want)
Ever since our beloved Nexus 7 came out there has been claims of people having problems with lag.
Especially since 4.2, the claim has gotten even more traction and it's more of an issue.
I'm here with some things you can do that may help fix/stop the lag.
But first, what is lag?
Lag is: Fall behind in movement, progress, or development; not keep pace with another or others.
So in Android the definition of that could mean: Falling behind in frame rate, not keeping up with or detecting your finger and not 'buttery' or 'smooth' (microstutters)
So now we know what lag is here is a few ways that people claim it stops/reduces the lag.
THIS ALL COULD BE PLACEBO!
ANDROID SETTINGS
Go into Settings
Under the System heading, go into 'About Tablet'
Tap 7 times on the Build Number
You should see Developer Options appear
In Developer Options
Turn these options on:
Disable HW Overlays
Force GPU Rendering
And change these options to either off or 0.5x
Window Animation Scale
Transition Animation Scale
Animator Duration Scale
APPS
Seeder
https://play.google.com/store/apps/details?id=com.lcis.seeder&hl=en
This app claims to:
Assist the kernel in "topping off" the entropy pool by re-seeding it with data from the non-blocking (high performance) random device. Optionally, it can also help alleviate MMC I/O contention by extending the I/O queue, allowing the I/O scheduler to make better decisions, and combine more writes.
On some devices, applications load significantly faster (particularly large ones like Facebook, Chrome, and Youtube), and task switching becomes effortless. Fewer visual "hiccups" occur.
Alot of the media and devs have said this app does not work but it does make this note:
This app does not increase raw performance, but rather eliminates some types of annoying lag (ie. applications briefly freezing, jerky scrolling, delays returning to the home screen, etc).
LagFix
https://play.google.com/store/apps/details?id=com.grilledmonkey.lagfix
LagFix is a user-friendly implementation of fstrim utility. It allows you to select which partitions to trim (you should leave defaults unless you know what you are doing) and run the process easily.
Forever Gone
This app will fill your SD Card with many blank files(*.blank), then delete all of the *.blank files.
One of the main 'fixes' people say to fix the N7 lag is to delete some files to make sure the storage has at least 2GB's free.
This app has helped fix lag that relates to this problem without having to delete those files.
Greenify
https://play.google.com/store/apps/details?id=com.oasisfeng.greenify
Greenify help you identify and put the bad behaving apps into hibernation when you are not using them, stop them from lagging and battery leeching, in an unique way!
This app helps reduce the amount of rouge apps in the background and save RAM. It's not like a normal Task Manager, It does it automatically.
Pimp My Rom
https://play.google.com/store/apps/details?id=com.androguide.pimpmyrom
http://forum.xda-developers.com/showthread.php?t=1908269
Pimp My Rom is an app that will allow you to choose between a plethora of tweaks, mods, hacks, features and apps to modify and improve your current rom. Pimp My Rom gives you alot of options to enable speed and battery saving tweaks therefore theoretically reducing lag.
FLASHABLE MODS / INIT.D SCRIPTS
Crossbreeder
http://forum.xda-developers.com/showthread.php?t=2113150
This is a new take at Android lag reduction. It's lightweight and won't consume battery. Users have reported drastic improvements in usability and even benchmark scores. It will show noticeable improvements on all Android devices from Donut to Froyo to Gingerbread to Honeycomb to ICS and Jellybean.
This is a combination of 5 different methodologies to reduce Android lag.
1. Removal of DNS lag
2. Change wakeup threshold kernel parameters so read blocks are released instantly and writes never wake up as we have an external entropy generator.
3. Modulate OS entropy levels for lag reduction. (Just like Seeder)
4. Remove /dev/random as it's blocking
5. Frandom support
Mitsuyoshi EXT4 Mod
http://forum.xda-developers.com/showthread.php?t=2280496
This removes the journal from all EXT4 partitions. This gives (on average) a 25% increase in system speed (due to the increased I/O rate)
V6 Supercharger
http://forum.xda-developers.com/showthread.php?t=991276
This claims to: Makes your phone/tablet FAST... super snappy with better multitasking! It rearranges and fixes the OOM Groupings and Priorites and lowmemorykiller values. So basically, it's a COMPLETE MEMORY MANAGEMENT FIX! NO LAUNCHER REDRAWS, faster than ever, multitasking is better... why? Because it works with the lowmemorykiller and letting it work the way it's meant to work.
Jay's Recipe for Buttery Goodness
http://forum.xda-developers.com/showthread.php?t=1946347
The script remounts /data and /cache with discard and noauto_da_alloc, disables fsync, enables a 128mb zRAM and set-ups a good, stable starting point for further modification. The result is a stable, considerably smoother multitasking powerhouse with overall better power management and performance.
INSTALL/CHANGE KERNEL - OVERCLOCKING
If you are running stock kernel or another kernel, it might be a good idea to try a new one.
One of these benefits is to overclock the CPU and/or GPU.
For my guide to the 'best' kernels for the Nexus 7 click here: N7 'Best' Kernel? (Performance & Battery Tests)
CHANGE LAUNCHER
If your launcher is the only thing that is lagging you might want to change it. There is a guide to the smoothest launchers at this link: http://forum.xda-developers.com/showthread.php?t=1899350
CHANGE ROM
If none of these tweaks aren't working or aren't enough for you, one of the last options is to change your ROM. There are lots of options out there so have a look around the Android Development and Original Development sections.
My personal favourites are Paranoid Android, P.A.C- Man, RasbeanJelly & SaberMod.
DOWNGRADE TO 4.1.x
If all of the above is not working try some of the older roms that use 4.1.x as their base.
WIPE EVERYTHING AND START FRESH
If absolutely nothing above works then it might be best to wipe everything and install a clean rom.
If any of these steps worked or didn't work for you, please vote in the poll above and also post below what did so you can help others.
If you find anything that helps or doesn't help reduce lag, please post it below.
If you found this helpful, give this post a thanks and give the people who made these tweaks a thanks too.
Reserved.
Sitting back and waiting....
Sent from my Nexus 7 using xda premium
Great guide, I'm gonna try and use jays butter and cross breeder for now!
Sent from my Nexus 7 using xda app-developers app
Thanks for the comprehensive guide!
Can't say I've seen any lag on my N7. Maybe something in this mix would actually increase the performance of my N7?
I'll have to sit back and wait for any recommendations that might improve performance. But thankfully, no lag here.
This is pretty frikkin detailed. Good job.
Sent from my MB612 using xda app-developers app
Would this work on other devices?
CuttyCZ said:
Would this work on other devices?
Click to expand...
Click to collapse
Somethings will, if it is device specific, it depends what device you have
Sent from my Nexus 7 using xda app-developers app
In Developer Options
Turn these options on:
Force 4x MSAA
Click to expand...
Click to collapse
What? :laugh:
You realize what MSAA is right? this will greatly reduce your frame rate while gaming.
darkchazz said:
What? :laugh:
You realize what MSAA is right? this will greatly reduce your frame rate while gaming.
Click to expand...
Click to collapse
I will remove that
Sent from my Nexus 7 using xda premium
Fixed
How about minimizing the number of apps that you have that run in the background and limit the number of widgets you have.
Sent from XDA app
darkchazz said:
What? :laugh:
You realize what MSAA is right? this will greatly reduce your frame rate while gaming.
Click to expand...
Click to collapse
Either way it doesn't stick after reboot
Sent from my Incredible 2 using xda app-developers app
Greenify does the same like iOS does.
the only time i experience lag is after installing from the play store. any recommendations on how to fix this?
bobprobert said:
the only time i experience lag is after installing from the play store. any recommendations on how to fix this?
Click to expand...
Click to collapse
I've always had that lag, I've never found a solution other than waiting a few seconds for it to settle.
Sent from my Incredible 2 using xda app-developers app
bobprobert said:
the only time i experience lag is after installing from the play store. any recommendations on how to fix this?
Click to expand...
Click to collapse
Because the tegra 3 has low(ish) i/o
Sent from my Nexus 7 using xda app-developers app
Anyone use more than just one of the apps listed at same time?
Sent from my Nexus 7 using Tapatalk
What about formatting file system to F2FS ?
F2FS has given me a new tablet.

[APP] GL tools (Graphic Optimizer)

GL Tools
------**** Root and a writable /system partition are required! Please, read the description completely! ****-------​
GLTools is a custom OpenGL driver (proxy), that is compatible with any known OpenGLES 2.0-compatible GPU + ARM processor, x86 processors are not supported (Galaxy Tab 3 for example). If you still don't understand, what this app is, the closest known analog is Chainfire3D.
Features list:
- Change resolution and rendering bitness in any app, even if it doesn't support that by default.
- Change GPU name and enjoy enhanced graphics even on a noname low-end GPU.
- Take full control over textures: now you can decompress/recompress them (even if your GPU doesn't support that texture format) and resize. Note that decompression feature is available only if you'll install a plugin (internet is required to do that)
- Optimize shaders on-the-fly for optimal performance (the same optimizer is used in Unity3D engine by default)
- Enable MSAA or CSAA in any app to improve graphics quality (make sure that your GPU supports that)
- Measure gained performance with a nice onscreen FPS counter (or you can output FPS information to Logcat if you are a pro)
GLTools is 100% safe if you have a custom recovery installed (and you didn't disable backup in GLTools install dialog), if you'll find it non-working, you can just flash uninstall_gltools.zip in recovery and email me with details (or request a refund).
Tested on:
- HTC One X
- Nexus 7 2013
- LG G2
Failed on:
- Some Samsung devices (random). The lowest success rate is with SGN3 and SGS4 (thx to Knox). Installing a custom kernel can help, this problem is firmware-related. The same for Lenovo devices.
Legal information
By using this app, you agree to all the following terms:
User is responsible to make sure that any plugins he uses are legal to use. All texture plugins (except for Default) are written by independent developers and are placed on a 3rd-party webserver (except for Default which is builtin), which has nothing to do with me, a GLTools author, except for that I provide a simple in-app browser to install them (as all we know, browser creators have nothing to do with any abusive Internet content, the same thing here).
User is responsible to make sure that this app won't cause any EULA violation. GLTools is designed for debugging of apps that user is author of, any other usage is not officially supported. Anyway, this app changes system libraries only and doesn't cause any binary modification of 3rd-party apps.
All trademark usage is nominative, nominative usage is Fair Use, it doesn't require any permission from trademark holder. Any trademarks are the property of their owners anyway.
If you think that GLTools itself is illegal, you can always contact me via [email protected]
Source code of used GNU Binutils (assembler, linker, etc) and Busybox can be obtained by writing to [email protected]
What is new:
It is not 100% stable, so contact author for any questions! ([email protected])
1.29:
Binary hotfix.
1.28:
Added Android L support.
Fixed Android 2.2 support.
Fixed Samsung KNOX support (partially).
Made license checking more permissive to avoid Samsung-related problems.
Added new plugin API support.
1.26:
sRGB hotfix.
1.25:
Guess what is now supported.
Added emulation options: now some features can not only be faked but also emulated.
How to install:
Download from attachment
Install APK.
That app is a beta pirate version
Sent from my LG-E400 using XDA Free mobile app
Paget96 said:
Only for gamers
check out
http://forum.xda-developers.com/showthread.php?t=2604723
Click to expand...
Click to collapse
i suggest you to respect developer work and dont share apk...
however i tested gltool on my device and work and i can apply setting to most of apps, only something crash...
combine the right setting allow you to get a smooth game but with a BAD resolution, our phone has yet a bad resolution and gltool can decrease /2 or /4 and everything become orrible! :'(
the app do his work and on better device it became really usefull, but not on l5 :'(
For who ask about pirating and such, I quoted here :
**THIS IS THE XDA VERSION OF THE APP BY THE DEVELOPER FOR THE XDA COMMUNITY**​
Click to expand...
Click to collapse
So I guess it's not pirating. Anyway, great share @Paget96
F4uzan said:
For who ask about pirating and such, I quoted here :
So I guess it's not pirating. Anyway, great share @Paget96
Click to expand...
Click to collapse
Thanks, my friend
Thank you for this app, but it is almost useless to my phone.
Do not tell me the best settings for the LG Optimus L7 ?
This is really works on l5 e610 ?
Sent from my LG-E610 using XDA Premium 4 mobile app
Auris777 said:
This is really works on l5 e610 ?
Sent from my LG-E610 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I dont know, try
I gonna try on e610, after will here to post
petit89 said:
I gonna try on e610, after will here to post
Click to expand...
Click to collapse
And?
UPDATE!!!
First post updated.
Works on L5?
Jonas Cardoso said:
Works on L5?
Click to expand...
Click to collapse
Works on every phone.
Paget96 said:
Works on every phone.
Click to expand...
Click to collapse
thanks
@Paget96 installed this and I'm stock how to use this tool. Do you have any suggestion or recommended setup or settings? And how to tell if it's working?
vaikz said:
@Paget96 installed this and I'm stock how to use this tool. Do you have any suggestion or recommended setup or settings? And how to tell if it's working?
Click to expand...
Click to collapse
You have per-app settings, choose your game (I think you use this app for games), and play with settings ,you can reduce textures, quality...
Try, you can't lose anything.
Works perfect. :good::highfive:
Darmer Aldevaran said:
Works perfect. :good::highfive:
Click to expand...
Click to collapse
How it work
Does game run faster and smoother
SMILEVN said:
How it work
Does game run faster and smoother
Click to expand...
Click to collapse
​Sure
You can configure per-app settings try and see
Who can show me how to setting this app for best performance
My device is E612
https://play.google.com/store/apps/details?id=sg.gumi.bravefrontier&hl=vi

Categories

Resources