build.prop debug.composition.type - AT&T Samsung Galaxy S 4 General

Hi Everyone,
Currently, our /system/build.prop file has the debug.composition.type value set to dyn. I've changed this to gpu and it seems to have increased UI performance, particularly for the transition animations.
Sources online indicate that this may be equivalent to checking "Disable hardware overlays" in Developer options -- the setting in Developer options does not persist after a reboot, whereas a build.prop edit does.
Please test if you have a chance and post back with results if you do.
Thanks.

Related

[APP] 13 Feb. 2012 : Pimp My Cpu 5.0 (OC/UV kernel control tool)

If you like PimpMyCpu, you can donate by buying "PimpMyCpu" on the Market!
If you want your device/kernel to be supported, you can find informations here so you can ask your favorite kernel developer to take a look
If you have a compatible kernel, please send me a link to the kernel so i can list it here
PimpMyCpu is an application to manage your device cpu frequency, voltage, governor and scheduler based on profiles and rules. PimpMyCpu can now also load profiles per application !
Requirement:
root and busybox (you probably already have that)
A compatible kernel, currently available for Galaxy S (i9000), LG Optimus 2x/g2x, G-Tab, Samsung G3, Asus Transformer, and maybe more...
Usage:
The application consist of 3 views : the "profiles list" view, the "profile edit" view and the "per application" profiles view
The profiles list view : This is the main view you see when launching the application. This view list all the profiles you created plus the "Current" configuration.
Touch the "Application" icon to go to the per application profiles view
Touch the "Add" button to create a new profile based on your default cpu configuration.
Touch the "Delete" button to delete a profile.
Touch the "Edit" button to go to the "profile edit" and change the profile configuration.
Touch the "Profile rules" box to apply a profile when the selected rule is meet (see "Profiles rules").
Check the "Enable PimpMyCpu at boot" to apply the current profiles configuration when your device start.
The profile edit view : this view is used when you edit a profile.
Touch the "Profile" item to change the profile name.
Touch the "Governor" item to change the governor to be used.
Touch the "Scheduler" item to change the scheduler to be used.
Touch a cpu icon to set the selected frequency as maximum or minimum frequency.
Touch a frequency to change the voltage.
The per application view : this view is used to assign a profile to an application
Touch an application to set a profile (or disable a profile)
Touch the "Search" icon to only show applications with a profile assigned
Touch the "Application" icon to go back to the profiles list view
Profiles rules:
For a profile to be active, you need to set a rule (classed here by priority) :
Disabled : the profile is never used
Test : the profile is used until next reboot or by manually disabling the profile. This rule will override any other rule and should be used every time you create and/or modify a profile.
Screen Off : the profile is used when screen goes off. This rule will override any other rule except the "Test" rule. This means that if you enable a "Screen off" and an "Powered" profile for example, the "Screen off" profile will override the "Powered" profile when (and only when) screen is off.
Powered : the profile is used when the device is powered (via AC or USB). This rule will override (when the device is powered) any other rule except "Test" and "Screen off" rules (see previous lines...)
Battery Level : the profile is used when the battery run lower than specified. This rule will be overridden by "Test", "Screen off" and "Powered" rules (see previous lines...)
Default : the default profile. This rule will be used when no other of the previous rules apply (or no other rules are enabled).
Applications profiles:
When a profile is assigned to an application, THIS PROFILE BYBASS ALL OTHER PROFILES.
Problems:
If you do not test a profile but apply a rule to it (another than the "Test" rule of course), since the profile will be loaded as soon as the rule is meet your device may crash due to a massive overclock or undervolt and result in the impossibility to boot your device anymore. You'll have to remove PimpMyCpu via CWM manager for exemple.
Changelog
1.0 : Initial release
1.1 : Added new tab with scheduler selection
1.2 : Added governor selection (this version should restore stock settings on first launch, including removing boot settings, and rebuild its configuration so you can use the new options. If you have any problem, "Reset" manually to default settings, uninstall previous version then install this update).
1.3 :
Fixed "superuser not available" error while it is
UnderVolting dialog now has the current setting selected by default
Complete code rewrite, need some testing
Preliminary Optimus 2X support (compatible kernel to come soon)
Be sure to reset previous applied settings and uninstall older version before installing this one !
1.4 :
Now almost 100% compatible with the LG Optimus 2x device (with the use of my modified kernel), only "Save as boot" isn't available for now but will come very soon.
Added a "Stress Cpu" test.
1.5 :
100% compatible with the LG Optimus 2x device, including "Save as boot"
"Stress Cpu" test now loop trought all the enabled cpu values to test each of them for 30 secondes, and show cpu temp on Optimus 2x (if someone know the file to check on GalaxyS to get cpu temp, i do not have it anymore).
Added "Save Profile" option to the menu, your current configuration can be saved to sdcard ( "/sdcard/PimpMyCpu/device/*" ) or overwrite a previous saved configuration.
Added "Load Profile" option to the menu so you can restore a previous saved configuration.
Added "Delete Profile" option to the menu so you can delete a previously saved configuration.
1.6 :
Fix a bug in "Cpu Stress" test preventing the cpu speed to change.
1.7 :
Fix a force close on profile load/save (it's better if i create the directory before trying to save to it ).
1.8 :
Fix a bug in "Save as boot", it was a fail if the profile had spaces.
Allow undervolt to -250 mV instead -200mV.
1.9 :
Probably fixed "Cpu Stress" test on Galaxy S.
2.0 :
Added a little widget to quickly switch between saved profiles
2.1 :
Compatible with new Optimus 2X kernel ( 2x-kernel-2.6.32.9-fakeShmoo-cpasjuste.4.zip )
Optimus 2x users : YOU HAVE to update your kernel to use this version.
2.2 :
Added back compatibility with older kernels, including EternityProject Optimus2X kernel until all kernels are properly updated to the standard cpufreq sysfs devices name.
2.3 :
Changed the way settings are read/applied. Pimp My Cpu usage should be smoother now.
Added a "Force minimal freq when sleeping" option to the "More" tab, this will force your actual minimal cpu speed to be activated when screen off / device sleep. This require a reboot for changes to be applied.
2.4 :
Fix a little bug in the "Force minimal freq when sleeping" option, on wake up (screen on) the maximum cpu frequency restored was the maximum boot frequency (generaly 1000Mhz) instead of the current maximum frequency enabled on the current profile.
2.5 :
Now "Reset" button also remove "Force minimal freq when sleeping" settings.
Fixed a bug in "Force minimal freq when sleeping" settings, the option could be checked even if the setting wasn't active.
Better internal command handling, should again improve smoothness.
Now save/load profile according to the kernel version instead of device, this prevent wrong profiles to be loaded if the new kernel support new frequency steps.
Disabled "Governor" setting on Tegra devices since the cpu scaling is done by the tegra driver itself.
2.6 :
Probably fixed a bug when using an old kernel
2.7 :
Fixed a delay between effective frequency and displayed frequency in cpu stress test
Added an option to select the timing for frequency change in cpu stress test (menu button)
Probably fixed scheduler error on GTAB ( http://forum.xda-developers.com/showthread.php?t=895825 )
2.8 :
Allow the application to work even if no governor was found.
2.9 :
Fix a bug in governor selection
3.0 :
Fix "Save as boot" permission on some devices
4.0 :
Complete code and ui rewrite
Better profile management
Added SQL database for profiles management
No "init.d" support needed for "set as boot" option anymore
Removed profile change on screen on/off, android kernel handle that correctly, and this was wasting memory as a service (source: stackoverflow.com)
Removed old "FakeShmoo" kernel support (with obsolete devices name)
Removed "Cpu Stress Test" since it was not accurate for daily usage, better use specific applications
Allow screen orientation changes
Added support for stock tegra 2 kernel (without oc/uv)
Probably more and waiting for reports ...
BE SURE TO RESET YOUR DEVICE CPU SPEED CONFIGURATION (UNINSTALL PIMP MY CPU AND REBOOT) BEFORE UPGRADING TO 4.0
TO GET CORRECT DEFAULT VALUES (ELSE DEFAULT VALUES WILL BE YOUR LAST OC VALUES).
4.1 :
Fix a bug when changing kernel if a profile is set at boot (restore default kernel value instead apply profile)
4.2 :
Added power management service, you must now enable profiles to be used for (in priority order) :
"Screen Off" : will override any other settings, this means that if you enable a "screen off" AND an "AC/USB powered" profile for example, the "screen off" profile will override the "AC/USB powered" profile when screen is off.
"AC/USB Powered" : will override (when the device is powered) any other setting except "screen off" (see previous lines...)
"Battery Level" : will be applied when the battery run lower than specified (overridden by "Screen Off" and "AC/USB Powered" settings)
"Default" : The default profile, will be used at BOOT and when no other of the previous rules apply (or no other rules are enabled) and it's your "main" profile. If no default profile is set, "Stock" profile will be loaded.
Now using a service (less than 3MB memory usage and very few cpu call's)
Sort profile list alphabetically
Fix a bug with Galaxy i9000 runnin FuguMod kernel
Fix default profile creation/restore when changing kernel (was only working if boot was enabled)
Again sorry but many changes were made so BE SURE TO RESET YOUR DEVICE CPU SPEED CONFIGURATION (UNINSTALL PIMP MY CPU AND REBOOT) BEFORE UPGRADING TO GET CORRECT DEFAULT VALUES (ELSE DEFAULT VALUES WILL BE YOUR LAST OC VALUES).
4.2.1 :
fix a problem on some device where PimpMyCpu profiles where not applied due to the presence of an old init.d script ("/system/etc/init.d/S_volt_scheduler")
4.3 :
No root needed anymore for profiles change, so no more "su" toast messages (root still needed for the application to work)
Prevent "crash boot loop", if PimpMyCpu service crash (device crash) in the first 15 secondes (from service start or application start), all profiles will be disabled at next reboot
Add a "Test" profile management, a profile set as "Test" will override all other profiles, but will be only enabled until next reboot (or if manually disabled). Used to test a profile stability
Interface redesigned to have more room for profiles list
Add admob ad on free version
4.4 :
Improve service code, profiles "should" now correctly be loaded and stay (hopefully)
Add tray icon and persistent notification to show current profile and to be sure PimpMyCpu service is running
Add per application profile : assign a profile that will be loaded when an application start, restore default values on exit !
Minor UI changes
4.4.1 :
Fix "Set at boot": CheckBox was not checked when application start when it should be
4.4.2 :
Finally fix an old bug: profile where not applied correctly on some device if profile minimum frequency was higher than current maximum frequency !
5.0 :
Add "SiyahKernel" OC/UV compatibility (used in AbyssNote for GNote, SiyahKernel for Galaxy S2 and more)
Allow disabling notifications in preferences
Improve service stability by setting "OOM" to -17
Minor UI changes
Download "PimpMyCpu" on the Market!
oh that's cool that this app gets some support, thanks!
why can't SGS go beyond 1.3ghz, while htc desire hd can go to 1.8ghz?
Very nice!!
Currently, there is no scheduler options available. And this app does not allow you to set to 1.3ghz on its own. Having said that, xan's Voltage Control can do that. At this moment it goes hand in hand with xan's app.
I use xan's app to set scheduler and Max CPU speed, and use your app to set the voltage. Sure beats using the slider.
Note: I use xan's app to check if the voltage is applied. Looks like it did. Thank you.
Sent from my GT-I9000
g00ndu said:
Very nice!!
Currently, there is no scheduler options available. And this app does not allow you to set to 1.3ghz on its own. Having said that, xan's Voltage Control can do that. At this moment it goes hand in hand with xan's app.
I use xan's app to set scheduler and Max CPU speed, and use your app to set the voltage. Sure beats using the slider.
Note: I use xan's app to check if the voltage is applied. Looks like it did. Thank you.
Sent from my GT-I9000
Click to expand...
Click to collapse
I did upload a new version which allow scheduler selection.
Also for your problem setting max freq to 1.3ghz, i do not encounter this problem, i think you maybe missed something. If you long click (hold) on the 1300mhz item, you'll see the menu with "Set as Max"/"Set as Min". Select "Set as Max" then either "Apply for now" or "Save as boot settings". This work here !
retskrad said:
why can't SGS go beyond 1.3ghz, while htc desire hd can go to 1.8ghz?
Click to expand...
Click to collapse
They use completely different processors... Why should they overclock similarly?
Maybe it needs 1.8ghz to run sense properly
New version :
Version 1.2 : Added governor selection (this version should restore stock settings on first launch, including removing boot settings, and rebuild its configuration so you can use the new options. If you have any problem, "Reset" manually to default settings, uninstall previous version then install this update).
Cpasjuste said:
I did upload a new version which allow scheduler selection.
Also for your problem setting max freq to 1.3ghz, i do not encounter this problem, i think you maybe missed something. If you long click (hold) on the 1300mhz item, you'll see the menu with "Set as Max"/"Set as Min". Select "Set as Max" then either "Apply for now" or "Save as boot settings". This work here !
Click to expand...
Click to collapse
My bad, didn't know about the long press. my apologies...
Sent from my GT-I9000
Does it work on Samsung Vibrant ? I got it installed but when I ran it, I got an error "Superuser is not Available" ???? (I got the latest superuser and the program was accepted by superuser)
nbhnohome said:
Does it work on Samsung Vibrant ? I got it installed but when I ran it, I got an error "Superuser is not Available" ???? (I got the latest superuser and the program was accepted by superuser)
Click to expand...
Click to collapse
If your kernel doesn't support Over/Underclocking I think you get the same message.
nbhnohome said:
Does it work on Samsung Vibrant ? I got it installed but when I ran it, I got an error "Superuser is not Available" ???? (I got the latest superuser and the program was accepted by superuser)
Click to expand...
Click to collapse
You should not get this message, is it possible for you to provide me a logcat output ?
If I may suggest a new feature - when you pop up the menu to select a new UV, could you have the current setting highlighted?
Loving it so far!
Cpasjuste said:
You should not get this message, is it possible for you to provide me a logcat output ?
Click to expand...
Click to collapse
Well, i did found the problem, i'll update a fixed version very soon.
Spirit02 said:
If I may suggest a new feature - when you pop up the menu to select a new UV, could you have the current setting highlighted?
Loving it so far!
Click to expand...
Click to collapse
I'll do that !
Hey mate, which scheduler do you recommend?
Sent from my GT-I9000 using Tapatalk
Lazy Rich said:
Hey mate, which scheduler do you recommend?
Sent from my GT-I9000 using Tapatalk
Click to expand...
Click to collapse
I have not idea at all
Cpasjuste said:
I have not idea at all
Click to expand...
Click to collapse
That's okay. Your app is much easier to tweak than xan's voltage control sliders. Thanks again for this.
How low have people been able to go with still having a stable system on uv on cm7-sgs?
New version, please give some feedback, thanks a lot
1.3 :
Fixed "superuser not available" error while it is
UnderVolting dialog now has the current setting selected by default
Complete code rewrite, need some testing
Preliminary Optimus 2X support (compatible kernel to come soon)
Be sure to reset previous applied settings and uninstall older version before installing this one !
Cpasjuste said:
Well, i did found the problem, i'll update a fixed version very soon.
Click to expand...
Click to collapse
Thank you. You're great

Build.prop tweaks

I am starting this thread to maximize our build.prop tweaks. There are several threads with values and keys tested on other devices, will the similar props for Sprint LTE phones work on this as well? I am uploading a screenshot of some SysTuner tweaks I have added, and I do notice a difference.
So far this is the reoccurring LTE build.prop value I could find, gonna make a Nandroid & try it out:
# NetSpeed Tweaks
Net.tcp.buffersize.lte= 524288, 1048576, 2097152, 524288, 2048576, 2097152
(Same values for wifi)
Here goes using ROM Toolbox Pro to enter the values.
The only thing simple is the belief in simplicity.

[Q] Build.prop and Development Settings Question?

Does anybody know if the GPU settings under development settings are essentially the same as some build.prop edits? For example:
In Developer Settings "Force GPU Rendering" forces GPU for 2d drawing. Is that essentially the same as adding ""debug.egl.hw=1 or debug.sf.hw=1" to your build.prop? Also if anybody can give me a technical explanation for the following development settings and build.prop edits (if they are even coded in KitKat) I'd greatly appreciate it.
Developer Settings: ""Force GPU Rendering", "Force 4x MSAA", and "Disable HW Overlays"
build.prop mods that may be similar or complete non sense at this point: "debug.composition.type=gpu", "debug.performance.tuning=1", "debug.egl.hw=1", "debug.sf.hw=1", "video.accelerate.hw=1"
Any solid advice would be appreciated.

Nokia 6.1 (2018) - battery, RAM & performance tweaks (root & non-root)

●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●
BEFORE WE START...
●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●​
De-bloat your ROM using this method
This will free +700mb of storage and there will be more RAM available for other apps to use, also I've noticed this helps a bit with the memory management
●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●
DEVELOPER SETTINGS
●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●​
Enable developer settings, go to developer settings and enter the system performance tab
Disable trace debuggable applications, click on categories and disable every single one
This will disable (some) logging and it will improve battery life a bit as well as free up some ram
●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●
KERNEL ADIUTOR SETTINGS
●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●​
CPU:
tbh if you have a stock kernel I wouldn't bother changing CPU settings, I haven't found the voltages for each frequency for the sd630. When I find them I will improve this part
GPU:
same thing as the CPU part
Low Memory Killer:
if you are an average user set this to agressive, otherwise set it to very aggressive
Virtual Memory
if you are an average user set the "swappiness" to "65", if you are an hardcore user set it to "70" or "75"
*experimental* set the "vfs_cache_pressure" to "95" if you set the "swappiness" to "75"
●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●
OTHER SETTINGS
●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●​
Go to Magisk settings and touch on the "Systemless Hosts" button, reboot and then check is the "Systemless Hosts" module properly installed
After that download AdAway and install the latest ad blocking hosts file
And if you reallyyy want a snappy phone go to developers settings and set all the animations to 0.5x
That's it, this post will be updated over time so keep an eye on it
PS: I may need some testers so reach out to me if you are intrested
Changelog
28.11.2019 - updated virtual memory values, simplified memory killer settings, added a way to disable logging

Themes / Apps / Mods Storms tweak/mod/tricks/appsmega thread

Leica Camera Magisk Module
____________________________________________________________________________________________
Releases · a406010503/Miui_Camera
一個基於 MIUI 13-14(Android 12-13)適配的 Magisk 相機模組。. Contribute to a406010503/Miui_Camera development by creating an account on GitHub.
github.com
https://github.com/a406010503/Miui_Camera/releases/download/Miui_Camera_4.5.000851.0_220924/Magisk-MIUI_Camera-v220924-Pre-dev.zip
Instructions in chinese but app isn't. Best app by far, all settings even unlocked dev settings in stock app. Mandatory camera app in my mind and will replace current camera.
Volume (+) on first prompt, Volume (-) on second prompt, make sure it says installation completed. Your Welcome.
__Apps______________________________________________________________________________________________
=Motioncam=Raw video/camera, one of my favorite apps, unfortunately can't access 8192x6144 yet if even possible
=Bacon Camera=Bmp loseless image
=FreedCam=Camera app that can give front cam 6528x4896/30fps video, can run feature detector to get full res showing but doesn't work yet.
=Photon Camera=Good camera app
=FDEAI=Root AI performance optimizer, low level tweaks
=PimpMyRomBetaw/busybox=One of my favorite general tweaks
/Tweaks/Touchscreen&Display/
-Min pointer Duration-Personally I set it to 1, but can be touchy, 3 or 5 is good also.
-Max events/second 300,speeds up phone drastically
-SurfaceFlinger Max/min Velocity, you choose.
=Lanthanum system toolbox from Coolapk=Good for flashing/backing up partitions, or prop edits.
=Setedit=good for system, global, secure android settings, prop edits also, does not show all though
=Konabess=Overclock GPU but as of right now night for sure if working.
=MIUI downloader=Update Miui/Camera app
=Activity Launcher=hidden activity/hidden settings/Band mode settings
____Magisk Modules&Mods_____
____Prop Edits____ (?) =still need to test
persist.miui.extm.bdsize 12288 (external memory 12gb size tweak)
persist.sys.spc.cpulimit.enabled false
persist.sys.dng.compression.enable 0
vendor.audio.feature.compress_in.enable false
persist.vendor.night.charge false (?) (speed up charging but could be bad for battery)
persist.vendor.sensors.enable.min_filter false gl resize image
persist.vendor.sensors.enable.mag_filter false magnification filter
Read more here https://gdbooks.gitbooks.io/legacyopengl/content/Chapter7/MinMag.html
____Tweaks____
Dev settings
Low light anti-flicker mode
Duration scale 0
Disable window blurs
____Exploits/Mods to find/Test____
Full res 8192x6144 rear camera
Surge C2 ISP exploits
Userdebug/eng controls prop edit
Awesome thread, will definitely be looking for more of your edits to this thread

Categories

Resources