5/14/2016 || Note 4 (msm 8084) || CPU, TCP, IO, RAM "Tweaks" - Sprint Galaxy Note 4 Android Development

Hello from the V10 Forum! This is a mod I created and posted for V10 users, but as various devices use Qualcomm hardware and similar operational conditions, the biggest similarity being Linux , and by some requests from others here to post this, I am offering this modification to other devices as well. It is already thoroughly tested and the logic and rationale behind the conditions are cross compatible with many Linux systems/machines anyways. You should see positive results just as everybody else has.
You must be rooted to apply this mod.
**SEE POST 2 FOR CHANGE LOG**
***VERY IMPORTANT IF YOU ARE GOING TO USE THIS MOD, you need to navigate to the /system/etc folder on your device, and rename any files that exist in that sub-folder that have the words "ZRAM" in them to have a .bak extension rather than a .sh extension so it does not run at boot.
You will also need to navigate to the /system/bin directory with a root explorer and rename the "mpdecision" binary to "0mpdecision.bak" .... The added 0 is just to move it to the top of the list of files so you can find it easily if you need to.
This is a step by step instruction on how to replace the /system/etc/init.qcom.post_boot.sh file for the device. Be it known, however, that this instruction (and file) can be used with any device running the Snapdragon 805 SoC combo.
What does this do?
Simple. It turns your device into an even more efficient powerhouse. Here are is a list of everything done:
-Interactive Governor tuning for performance and better battery life, a quick description of what I did...
-low load, quick response, low frequency
-high load, quick response, higher frequency
-modified input boost settings for Interactive
-Locked cpu cores on - your battery life will not suffer, don't worry.
-Modified a bunch of system permissions to remove samsung garbage from controlling hardware.
-Switched IO scheduler to noop, and tuned accordingly
-Adjusted minfree values (RAM management, it is a little more multi-tasking friendly)
-Adjusted VM parameters - swappiness, dirty ratios, cache pressure, centisec values, etc (again to complement multi-tasking... your data will hang out a little bit more before being written to disk, but house cleaning won't happen all at once, so there is still good performance and your system won't bog down while it is flushing the toilet)
-DISABLED zRAM!!! - I have no idea why a device with 3 GB of RAM has zRAM enabled. This is purely a waste of CPU cycles and other system resources. You want physical memory, not compressed memory.
-Changed congestion algorithm to cubic (better network performance... assuming the network bandwidth is already there
-Cleaned up the shell file and fixed some errors.
-Removed calls to mpdecision
-More to come!
How to do this, we'll just get right to it.
Download this app https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en
Download this file https://drive.google.com/file/d/0BzM9W6qUvx-gX1I4UDlLV3VIUWM/view?usp=drivesdk
Very important you put the file on the root of your INTERNAL SDCARD!!!
Do not forget to do this.
After you do that, open terminal emulator, and type the following commands in the order they are presented (I would highly recommend just copying them from this post one by one and switching back and forth between your browser and the terminal app):
Code:
su
Code:
cd /
Code:
mount -o remount,rw /system
Code:
cd /system/etc
Code:
rm init.qcom.post_boot.sh
Code:
cd /sdcard
Code:
mv init.qcom.post_boot.sh /system/etc
Code:
chmod 0644 /system/etc/init.qcom.post_boot.sh
Double check the file has been replaced with a file explorer of some sort, double check permissions, then reboot. Good to go.

***CHANGE LOG
5/14/2016
-Modified scaling up activity to be a little less aggressive, this should help battery life quite a bit
-Switched scheduler to cfq and tuned it, huge increases in io throughput - the new cfq should be used for these devices, no comparison in performance to any other
-Moved. above_hispeed_delay module down the pole a bit (moAr batteries)
4/28/2016
-Initial Release

Why does it say ef you bro?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my Not4 Mod using Tapatalk

souluneek said:
Why does it say ef you bro?
Sent from my Not4 Mod using Tapatalk
Click to expand...
Click to collapse
Lol. I originally did this for a good friend of mine, I left him a message in the file as a joke - forgot to change it lol.

Interested to see what others results are like. .
Sent from my SM-N910P using Tapatalk

the note 4 has 3gb ram..?

So just copy and paste and hit return after each line in terminal
Edit: i think it worked because my i/o is set to noop now
Sent from my Not4 Mod using Tapatalk

I just did this the old manual way in root explorer. Added .bak to post boot instead of .sh, copied the new post boot to system/etc and changed permissions. Added .bak to mpdecision. No zram files for us to edit. Rebooted. Ran antutu with a 5,000 point increase. With MM I steady got 70,450's and now.
This is great for now until we get some well built custom kernels. All the roms I flashed since I had the note 4 from launch day, and I don't think any devs worked on tweaking the post boot like they used to on the HTC eVo line like I was used to.

Hello only for sprint note 4? Can be used for 910c?
SM-910C EROBOT 13.4 SUEMAX 1.7.8

Can it be use on MM??
Sent from my SM-N920P using XDA-Developers mobile app

To the users above ↑
File can be used on ANY device running the snapdragon 805 processor.
And I fixed the typo about 4 GB of RAM. This device has 3, v10 has 4 (I copied the thread over from the other forum)

Says no such file or directory.?
Sent from my Not4 Mod using Tapatalk

souluneek said:
Says no such file or directory.?
Sent from my Not4 Mod using Tapatalk
Click to expand...
Click to collapse
Our directory is different, this needs to be corrected in the OP. Follow what I did a couple posts up.

]
Where did you find mpdecision in the file i don't see it
Sent from my Not4 Mod using Tapatalk

Death-Dealer said:
Our directory is different, this needs to be corrected in the OP. Follow what I did a couple posts up.
Click to expand...
Click to collapse
Fixed it for you

Well my experience with this is odd. I did what Death-Dealer suggested and I can tell things are working faster/better but my antutu score went down instead of up. As long as I'm happy with the performance I guess it doesn't matter what antutu says.

souluneek said:
]
Where did you find mpdecision in the file i don't see it
Sent from my Not4 Mod using Tapatalk
Click to expand...
Click to collapse

Kernel/Rom combo?
Death-Dealer said:
I just did this the old manual way in root explorer. Added .bak to post boot instead of .sh, copied the new post boot to system/etc and changed permissions. Added .bak to mpdecision. No zram files for us to edit. Rebooted. Ran antutu with a 5,000 point increase. With MM I steady got 70,450's and now.
This is great for now until we get some well built custom kernels. All the roms I flashed since I had the note 4 from launch day, and I don't think any devs worked on tweaking the post boot like they used to on the HTC eVo line like I was used to.
Click to expand...
Click to collapse
Hello, as the title says, wich setup are u using?

liriolebron said:
Hello, as the title says, wich setup are u using?
Click to expand...
Click to collapse
tx's stock deodexed PC1 rom with xposed

New file in the link in the OP, made some pretty drastic improvements for you note 4 guys.
You should see a good bump in performance with no hit to the battery life.
Check the change log in the second post.
I'll be around

Related

[MOD] A100 Peformance Enhancing build.prop for CM9 / ICS 4.0.4

**Latest Working Revision is Rev-0.4 ** 07/28/12
**Now optional A500 build.prop for extra games/apps from Play Store**
**Thanks das_webos_transformer for testing 4.0.3 and submitting working tweaked 4.0.3 build.prop!! **
**UPDATE** Rev-0.4 For 4.1.1 Jelly Bean << NEW>>
This build.prop is specifically made for ICS and Jelly Bean - has been tested working and verified to improve performance. A500 mod now is working great.
I've been working on getting my A100 to smoking speed / performance and with my custom build.prop for ICS in combination with ezTerry's custom kernel, I think I have achieved the goal!
Yea Yea, So why another build.prop on xda? Well I was looking through the forums and noticed that there isn't much posted for ICS, there are HC tweaks, but the ones that ARE posted for ICS seem to fail.. I am confident that this build.prop will work as long as the person installing reads the instructions and information in this post thoroughly :good:
**EDIT 08/04/2012 - I was originally using the ezTerry kernel overclocked to 1.5 using the lulzactive governor, I am currently testing my own custom kernel that I haven't decided to release yet as I am still testing it myself before I publish - Before the build.prop, my AnTuTu Benchmark score was 6200, after the build.prop I get 7118, Both scores with ezTerry kernel and cm9 ; With stock kernel and stock rom score was <6000. So, that's just a benchmark.. -NO - The main thing is - you can actually feel the difference, and it is easily noticeable, so it's not just a benchmark thing! Here is what this build.prop does:
Enhancements:
*Faster Boot
*Home Screen stored in Memory
*WiFi Data rates increased
*WiFi Scan rate decreased to preserve battery
*Media and Image Quality increased
*Disable verbose kernel logging (consumes less memory/battery)
*HW Acceleration prioritized
*Increased Window Manager / GUI events per second
...Overall Performance is definitely noticeable!
*Optional* the A500 hack has been tested and working with games and shows extra apps in Play Store see notes below.
File naming conventions:
>>Please choose your android release version in #.#.# <<<
build.prop-#.#.#-supertweak-a100-revX.X.txt == Tweaked version keeping device recognized as an A100
build.prop-#.#.#-supertweak-a100-revX.X-A500 == Tweaked version tricking apps/system to think it is A500
build.prop-#.#.#-vanilla-a100-revX.X-A500 == A500 trick with no enhancements or tweaks
**Thanks to das_webos_transformer for testing making necessary changes for cm9 4.0.3 release!**
How to install:
*Download the appropriate build.prop file attached below that you wish to test (see above naming conventions)
*You must have root, and you must mount /System rw (use Root Explorer or similar tool)
*Rename the attached file to: build.prop
*Move the existing /System/build.prop to /System/build.prop.bak
*Move the new file to /System/build.prop
*Reboot to recovery - Wipe Cache - Wipe Dalvik - Reboot System <<Important!! It won't work if you don't do this step!
*Wait for System to upgrade applications and Start to Home Screen. (initial boot takes a while, don't worry after this it wont)
*Reboot again.. Enjoy the performance
**07/28/2012 - A500 build.prop for A100 device back up, tested and working with performance mods intact. Grab the file with revX.X-A500.txt at the end of the file name. This allows extra apps to show up in Play Store/Market and your device will be recognized as the A500 instead of A100. Please don't forget to Wipe Dalvik and Cache before booting. First boot will take a while to update the apps.
**07/28/2012 - If you used the Rev.03 file please update to Rev.04 there was a minor error in the previous build.prop relating to windowmgr max events per second, this had a big impact in the performance and should be fixed in Rev.04
linuxsociety said:
**Edit Please note that the original title of this thread said ICS 4.0.x, it should be ICS 4.0.4 (as it is now) - This build.prop is specifically made for 4.0.4 - this is very important as keys such as: ro.build.version.release=4.0.4 ro.build.id=IMM76L if you know what you are doing you can make minor alterations to fit your build and it will work, but you need to research and do this at your own risk if you aren't using 4.0.4 (hint: ICS 4.0.3 is IML74k) **
I've been working on getting my A100 to smoking speed / performance and with my custom build.prop for ICS in combination with ezTerry's custom kernel, I think I have achieved the goal! PLUS you *should* get all apps that the A500 gets in the Play Store, AND the responsiveness of the tablet is just lightening fast.
Yea Yea, So why another build.prop on xda? Well I was looking through the forums and noticed that there isn't much posted for ICS, there are HC tweaks, but the ones that ARE posted for ICS seem to fail.. I am confident that this build.prop will work as long as the person installing reads the instructions and information in this post thoroughly :good:
I am using the ezTerry kernel overclocked to 1.5 using the ondemand governor. Before the build.prop, my AnTuTu Benchmark score was 6998, after the build.prop I get 7494, Both scores with ezTerry kernel and cm9 ; With stock kernel and stock rom score was <5900. So, that's just a benchmark.. -NO - The main thing is - you can actually feel the difference, and it is easily noticeable, so it's not just a benchmark thing! Here is what this build.prop does:
Enhancements:
*A500 Market/Play Store compatibility
*Faster Boot
*Home Screen stored in Memory
*WiFi Data rates increased
*WiFi Scan rate decreased to preserve battery
*Media and Image Quality increased
*Disable verbose kernel logging (consumes less memory/battery)
*HW Acceleration prioritized
*Increased Window Manager / GUI events per second
...Overall Performance is definitely noticeable!
How to install:
*You must have root, and you must mount /System rw (use Root Explorer or similar tool)
*Rename the attached file to: build.prop
*Move the existing /System/build.prop to /System/build.prop.bak
*Move the new file to /System/build.prop
*Reboot to recovery - Wipe Cache - Wipe Dalvik - Reboot System <<Important!! It won't work if you don't do this step!
*Wait for System to upgrade applications and Start to Home Screen. (initial boot takes a while, don't worry after this it wont)
*Reboot again.. Enjoy the performance
** This has been tested with only 4.0.4 CM 9-20120708 A100 so far (see http://forum.xda-developers.com/showthread.php?t=1597102 ) testers please report results!**
**Note it is very important to know that this build.prop isn't the only thing boosting the performance of my A100 - ezTerry's Kernel OC'd @ 1.5ghz plays a big part in it too! You can find the kernel and instructions for flashing it here: http://forum.xda-developers.com/showthread.php?t=1703683 It is also important that you know that after you use this build.prop your device will register with all apps as an A500 Iconia and not a A100 so if that is an issue with some app you use then please take this into consideration. I will edit this post soon with a build.prop that enables the performance options and keeps the A100 recognized as an A100. I'm sure there will be people who want that also.
*More to come:
* I plan to clone the sources used in ezTerry's kernel and slightly modifying his config in an attempt to patch with CK/PF patches for mainline. I'd like to see the performance when using Brain F**k Scheduler (BFS) in combination with BFQ IO scheduler. These patches also have other features like l7, LinuxIMQ, which may be fun to play with on Android with networking apps (if they will even compile with arm toolchain) I'll keep everyone informed on my progress with this, but I'm saving that work for a rainy day.
Enjoy your A100
Click to expand...
Click to collapse
Have I already supercharger v6, sera compatiblly? Is it a script? That is what I have to install? I neither have kernel Ezterry, nor have intention of putting it with CM9. In all that you put the link, we will prove it ... a greeting and graces.
Fransis88 said:
Have I already supercharger v6, sera compatiblly? Is it a script? That is what I have to install? I neither have kernel Ezterry, nor have intention of putting it with CM9. In all that you put the link, we will prove it ... a greeting and graces.
Click to expand...
Click to collapse
Hi and thanks for checking it out, it isn't a script, it just replaces the file that already exists in /System/build.prop
The file that is attached is made specifically for ICS 4.0.4, you DO NOT have to have eZterry's kernel for this to work, I have tested it only with his kernel (which allows overclocking to 1.5ghz and the use of BFQ I/O scheduler) and had great improvements on my A100. I would like to see how it works for you with your current setup if you are on 4.0.4 If it doesn't work then you just replace /System/build.prop with the file you backed up named /System/build.prop.bak
Don't forget to wipe cache and wipe dalvik
Thanks again
If someone is viewing this thread that is using the stock OFFICIAL ICS 4.0.3 or 4.0.4 firmware could you please pastebin /upload/share your /system/build.prop ? I'd greatly appreciate it, there seems to be some values that have changed recently, and I need to adjust my build.prop in this thread accordingly to the official releases. Thanks again
linuxsociety said:
If someone is viewing this thread that is using the stock OFFICIAL ICS 4.0.3 or 4.0.4 firmware could you please pastebin /upload/share your /system/build.prop ? I'd greatly appreciate it, there seems to be some values that have changed recently, and I need to adjust my build.prop in this thread accordingly to the official releases. Thanks again
Click to expand...
Click to collapse
So in my case, since podras to see in the captures, I have lost performance. I have CM9. And I have never had blackouts or problems. Aviary the keyboard on screen, I use swiftkey and it has never trumped me. So after trumping the keyboard, suddenly salio the image of take-off of the CM9 and was restarting the tablet. you eat it has happened to me. Now I have returned to my original build.prop. A greeting, I leave the captures you of antutu in order that you see, if I can help you in some kind of mas...
my build.prop
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
you build.prop
Fransis88 said:
So in my case, since podras to see in the captures, I have lost performance. I have CM9. And I have never had blackouts or problems. Aviary the keyboard on screen, I use swiftkey and it has never trumped me. So after trumping the keyboard, suddenly salio the image of take-off of the CM9 and was restarting the tablet. you eat it has happened to me. Now I have returned to my original build.prop. A greeting, I leave the captures you of antutu in order that you see, if I can help you in some kind of mas...
Click to expand...
Click to collapse
Francis88: thanks for testing the build.prop, I am sorry to see you had a slight performance decrease in your score. There are many things that could have impacted that score. Did you wipe the caches before you ran the benchmark? Do you have any other performance mods intact? What CPU governor was you running with the tests? the same cpu frequency with both?
Was this ran using a stock kernel? Which build of CM9 did you use?
Could you please put your original build.prop on a pastebin site and give the link here so we can see the differences? Thanks!
Francis88: please use the Rev.04 I think the reason your original build.prop out performed the one you got here has been resolved, there was a minor error in the Rev.03 file that you grabbed. Sorry for the inconvenience bro. Thanks
If anyone here is using a custom build.prop that makes their a100 register as an A500, please let me know if Angry Birds loads for you. I have been trying to resolve the issue with the a500 customization that prevents some games/apps from loading on my CM9 4.0.4 rom. If you have the A500 build.prop customization working and loading games like Angry Birds, can you please provide your build.prop so I can take a look at what may be causing this issue for me ** Edit - <<Solved in Rev.04
The proof is in the puddin'
I just wanted to post these 3 different results so people can see the difference it makes. All 3 runs were controlled, with no background apps, same CPU governor (lulzactive), same frequency (1500mhz), etc.
Rev0.4 Tweaked A100 (not A500) Results with AnTuTu Benchmark:
Rev0.4 Tweaked with A500 mod:
Default build.prop from ICS CM9 (no optimizations):
all I did was change it to work for 4.0.3. I don't know any of the changes for ics, I learned and still learning on froyo and a little cm7. But the changes required for this took about 1 minute.
Not sure how to post an upload on xda. So https://www.box.com/shared/24e5b156fbf12858d946
Also added linpack score.
sent from my ICONia
Uploaded with ImageShack.us
New result. Better good
Enviado desde mi A100 usando Tapatalk 2
Fransis88 said:
https://skydrive.live.com/redir.aspx?cid=b6039d5a2d5945e7&resid=B6039D5A2D5945E7!6737&parid=B6039D5A2D5945E7!114&authkey=!AKcWuovSxOsq82Y[/IM
New result. Better good
Enviado desde mi A100 usando Tapatalk 2[/QUOTE]
you forgot to close the tried to manually view it by copying the URL but it says file no longer exists on skydrive. Glad to see you got better good results with Rev.0.4
Click to expand...
Click to collapse
Excellent results.
sent from my ICONia
Jelly Bean 4.1.x build.prop is in the OP - personally tested and verified by me.. I also have been putting some effort into doing some kernel optimization for Jelly Bean for all of those people who liked the ezTerry kernel back when it was fresh. So far I have done the following:
*patched the kernel with code for compatibility with Tiny HAL in Jelly Bean with backwards compatibility with ICS
*added all I/O schedulers including: bfq, cfq, deadline, and noop - default being 'deadline'
*built in support for CIFS/SMB file systems, NTFS (write)
*More cpu governors are built in including: interactive, ondemand, performance, powersave, userspace, lulzactive, and conservative
*Optional Overclock up to 1504mhz, scaling ranges included are: 216, 312, 456, 608, 760, 816, 912, 1000, 1200, 1408, and 1504 - default is set to factory 1000Mhz
I haven't released the kernel yet as I want it thoroughly tested before hand, and I want to be sure all source changes are fully documented. Kernel Sources are based off CM9 A100/A500 Kernel, Nvidia Android 2.6.39.4 Tegra, Nvidia Android 3.1 (Grouper) - Thanks to eZterry for the original kernel that made so many happy - I just took it into my own hands to bring things up to date with better compatibility with ICS and JB.
Sorry if this seems to be vaporware, just want everyone testing my build.prop to know that I am currently putting more time and effort into the development of a better kernel at the moment and WILL keep my projects linked. Before I do release any zImages or sources I want everyone to be well aware that once they use my kernel that they can NOT report issues of any kind to CM9/10 developers (on the project pages) as the use of any kernel other than the one obtained with your ROM makes your device unsupported by the developer of your ROM!! If you have any issues with JB, ICS, or any ROM you use this kernel with, then you will need to report it on my kernel thread (which I haven't yet made, but once I do a release I will have the thread ready)
I can confirm this does work on cm10. I'll test the market when I get on WiFi, I'm tethering from my phone currently....sprint 3g... from and older phone.....sigh
Also should note I am over clocked to 1.2ghz.
Also, @Linuxsociety i f you want I'll test your kernel, love that testing!
EDIT Market works Fine and games do play
sent from my sexy-a$$-iconia tab
guys when i try to download a build.prop i click on it and it opens the file.same with the QR.how can i download it?
labros1995 said:
guys when i try to download a build.prop i click on it and it opens the file.same with the QR.how can i download it?
Click to expand...
Click to collapse
You need to save the download link instead of open it, if you are using your tablet try long pressing the link and look for an option for "save target" Not sure exactly how your browser on the tablet works, i usually download them to my PC and then
Code:
adb push /path/to/downloaded-build.prop /sdcard/
Then on the tablet I move the /sdcard/downloaded-build.prop to /system/build.prop (after backing up the original build.prop to /system/build.prop.bak) <You have to be rooted and /system has to be mounted as RW to do this, I recommend Root Explorer. Be sure that your downloaded file has the same permissions as the original build.prop.
Hope this helps
the problem is that it doesn't ask for download or open.when i click it just opens the txt
labros1995 said:
the problem is that it doesn't ask for download or open.when i click it just opens the txt
Click to expand...
Click to collapse
In dolphin, just long press the file link, click 'save link', then rename it build.prop
Romman0 said:
In dolphin, just long press the file link, click 'save link', then rename it build.prop
Click to expand...
Click to collapse
or when it opens as text, just save as build.prop fom the text editors menu.
It worked guys.Thanks a lot

[mod] [5/14/13] [tw] full time multi sample anti-aliasing

This mod is full time 4x and 2x MSAA for TW on the d2spr.
Download available in post 2.
Performance Edition in post 3
All development for this mod has been developed through the device on the device for the device.
If you need help with this mod feel free to ask. However, there are a few different mods listed. Please state which mod you are using so I can better help you!
First things first.
I want to thank...
"Kennyglass 123" for you patience in this forum.
"qwerty12"
"x714x"
If it weren't for you guys this would be an absolute fail! Your great knowledge is appreciated!
**If you include this in your rom please include me in your credits as a few haven't.**
If you are a rom developer and would like to include this mod in your next rom then go for it. No need to ask.
This mod is FULL TIME 4xMSAA and produced by a single text file in /data/local/temp/ called "yamato_panel.txt" Set your permissions for the device to read it and reboot. Any changes made to the file are not instantly applied and will need a reboot.
To verify the samples get the app "Basemark ES2 taiji"
It's optional but not necessary to...
- Remove the line "0 0 android from /system/lib/egl/egl.cfg
- Rename "libGLES_android.so" to "libGLES_android.bak" in /system/lib/egl.
This forces the system to use hardware rendering and speeds up the whole system. Even though we have this set in alot of build.props it will still use SW rendering at times. This completely eliminates SW.
The 1 in "0 1 adreno" defines HW.
What is Anti-Aliasing??
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
FT4xMSAA yamato_panel.txt
NOTES..
1. Do NOT attempt to set MSAASmoothing to "high" as it will cause your display to look like 8 bit graphics. (Anybody want to try to fix this be my guest)?
2. MSAAMode=1
Sets samples to 2x
MSAAMode=2
Sets samples to 4x
3. facenessCulling=on
This will drastically increase the picture quality but also put more strain on the system. This can be set to "default" for easier rendering.
ISSUES..
1. Since the recent updates to ASOP, this mod is no longer recommended for it. This is now for T.W. only.
2. The taskbar artifacts have been significantly reduced in 4x and non existent in 2x.
3. This is not a performance mod!
This mod will cause a higher strain on the system. Effects of this mod are slower performance but a far better visual experience.
The text file for 4x MSAA.
Use it at your own risk. Attempting to modify some settings may leave your device soft bricked! However, if this happens you can simply remove the file in TWRP and reboot.
#
Code:
performance=normal
disableExtraSwapBlit=0
ignoreGlFlush=0
binning=hw
forceGuardband=0
guardbandValue=0
forceGmemSize=0
gmemSize=0
veboSetting=0
numBins_weight=80
numGroups_weight=20
log.resolves=0
log.pm4=0
log.pm4mem=0
log.shaders=0
log.sc_dev=0
log.cffdump=0
log.cffdump_with_ifh=0
log.cffdump_no_memzero=0
log.dumpx=0
log.sc_dev_shader_name=sc_dev_dump.txt
log.primitives=0
waitForIdleAfterDraw=0
waitForIdleOnSubmit=0
disableSwapTsIdle=0
useUncachedVBOs=0
clockGating=off
useSafeMode=0
redirectDebugMessages=0
forceChipId=Default
convertTristrips=default
convertTrifans=default
convertLineloops=default
shader_sub.write=0
shader_sub.read=0
shader_sub.trivialfs=0
facenessCulling=on
vboDataAlignment=natural
enableOptimizedTextureUpdates=1
enableOptimizedVboUpdates=1
forceAutoTextureCompression=0
triJuice=0
enableInlineConstantUpdates=1
enableMemoryPool=1
enableFastClears=1
ditherSafeFastClears=1
shadowGmemInAppBuffers=1
textureTiling=1
preserveZStencilOnSwap=0
allowDepthExport=0
untileDynamicTextures=1
fullSurfaceDynamicUpdatePath=1
useGpuTilingHints=1
MSAASmoothing=normal
MSAABufferAllocation=always
forceMSAAMode=1
MSAAMode=2
VAESEnable=0
VAESGenericError=0
VAESFailNth=0
VAESDoNotFailFirstN=0
VAESRandomSeed=0
VAESFailPercent=0
2D.HwBlt=1
2D.forceEglSwapInterval=0
2D.eglSwapInterval=0
leiaEnableLrzWrites=1
leiaEnableLrzExpansion=0
leiaExportColorForLrzUnresolve=0
leiaEnableFastLrzUnresolves=0
oxiliDisableLazyUpdates=0
oxiliDisableChunkedUpdates=0
oxiliForceShaderDirectUpdates=0
oxiliForceConstantDirectUpdates=0
oxiliForceIstoreCacheMode=0
oxiliForceCstoreSingleBuffer=0
oxiliForceShaderSingleContext=0
oxiliForceSuperthreadMode=0
oxiliForceVsSingleThread=0
oxiliForceFsSingleThread=0
oxiliForceSingleSp=0
oxiliSkipClears=0
oxiliForceSysmemRender=0
FPSCap=0
allowFloatFBOs=0
suppressTimestampInterrupts=0
GPUIdleTimeout=off
GPUIdleTimeoutMsec=0
After installing this mod or simply installing any standard rom its recommended to quickly scroll something on your device to properly set the framebuffer. This is why a newly installed rom may be choppy at first.
BUILD.PROP
Additional edits to the build.prop. These alone will create a significant gain in the visual experience and possible scrolling smoothness with or without yamato!
Tweak as you like.
#----HWUI----
Code:
ro.hwui.text_cache_width=2048
debug.hwui.render_dirty_regions=false
ro.hwui.text_cache_height=256
ro.hwui.fbo_cache_size=16384
ro.hwui.layer_cache_size=16384
ro.hwui.path_cache_size=16384
ro.hwui.round_rect_shape_cache_size=16384
ro.hwui.circle_shape_cache_size=16384
ro.hwui.rect_shape_cache_size=16384
ro.hwui.arc_shape_cache_size=16384
ro.hwui.oval_shape_cache_size=16384
ro.hwui.texture_cache_size=16384
ro.hwui.gradient_cache_size=16384
ro.hwui.text_drop_shadow_cache_size=16384
ro.hwui.font_renderer_cache_size=16384
ro.hwui.resource_cache_size=16384
ro.hwui.patch_cache_size=16384
ro.hwui.disable_vsync=false
ro.hwui.layer_size=1024
ro.hwui.render_layers_as_regions=1
ro.hwui.stencil_buffer_size=3.0
ro.hwui.texture_cache_flush_rate=0.9
ro.hwui.panel_bit_depth=32
ro.hwui.default_text_gamma=1.8
ro.hwui.default_text_black_gamma_threshold=255
ro.hwui.default_text_white_gamma_threshold=255
ro.hwui.disable_scissor_opt=true
debug.hwui.show_overdraw=false
debug.hwui.show_layers_updates=false
ro.hwui.text_gamma_correction=shader3
GPU PERFORMANCE GOVERNOR.
Setting GPU governor to "performance" mode. This will help to smooth system performance with or without yamato.
Code:
echo trustzone >/sys/class/kgsl/kgsl-2d0/pwrscale/policy
echo performance >/sys/class/kgsl/kgsl-2d0/pwrscale/trustzone/governor
echo trustzone >/sys/class/kgsl/kgsl-2d1/pwrscale/policy
echo performance >/sys/class/kgsl/kgsl-2d1/pwrscale/trustzone/governor
echo trustzone >/sys/class/kgsl/kgsl-3d0/pwrscale/policy
echo performance >/sys/class/kgsl/kgsl-3d0/pwrscale/trustzone/governor
DOWNLOADS
USE THESE MODS AT YOUR OWN RISK. I AM NOT RESPONSIBLE!
DOWNLOADS-
YAMATO MSAA TEXT FILE (D.I.Y.)
http://db.tt/1qpNeaMe
FLASHABLE YAMATO MSAA ZIP
http://db.tt/0e2WAfgk
FLASHABLE YAMATO UNINSTALL
http://db.tt/8KrQ3M7c
BUILD.PROP
This is a text file you can copy and paste from.
http://db.tt/zaTHjZRC
GPU INIT.D SCRIPT
After download remove ".txt" from the name. Then drop the file in init.d
http://db.tt/gj3mdrtH
Yamato Performance Edition v1.0 update
This does NOT use anti-aliasing. It's settings are specifically set for one purpose... A faster device!
YAMATO PERFORMANCE v1.0 TEXT FILE (D.I.Y.)
http://db.tt/fX7QcRPg
FLASHABLE YAMATO PERFORMANCE v1.0
http://db.tt/70hLynZS
FLASHABLE YAMATO UNINSTALL
http://db.tt/8KrQ3M7c
Thanks for your contribution!:beer:
Sent from my SPH-L710 using Tapatalk 2
what exactly does this do? im confused
r.suchil2 said:
what exactly does this do? im confused
Click to expand...
Click to collapse
It will smooth out the display graphics for a higher definition look. It essentially smoothes the edges of everything rendered on your device. Colors and shading will also be improved.
Added downloads in post 2
This works great with the GPU script and the build prop tweaks but that yamoto file causes some weird lines on my status bar so I deleted that. Quadrant scores are over 6k with this mod now! Thanks! Much smoother user experience!
Sent from my SPH-L710 using xda premium
Visionikz03 said:
This works great with the GPU script and the build prop tweaks but that yamoto file causes some weird lines on my status bar so I deleted that. Quadrant scores are over 6k with this mod now! Thanks! Much smoother user experience!
Sent from my SPH-L710 using xda premium
Click to expand...
Click to collapse
Yes there are some disturbances in status bar. They come and go and not sure why. Switching to 2x mode should completely eliminate it though if you want. The build.prop edits should speed things up a bit. A better scroll, better colors and shading.
Added Performance Edition v.5 added to post 3.
OP: Could you place the code between code tags? Makes it easier to see and copy. Thanks
Nice... Thanks
CNexus said:
OP: Could you place the code between code tags? Makes it easier to see and copy. Thanks
Click to expand...
Click to collapse
I will get to a laptop later this weekend but in the meantime I have everything in the downloads section.
razz1 said:
I will get to a laptop later this weekend but in the meantime I have everything in the downloads section.
Click to expand...
Click to collapse
Yes, but I prefer to enter things myself versus copying them.
CNexus said:
Yes, but I prefer to enter things myself versus copying them.
Click to expand...
Click to collapse
Your all set. Op updated!
Updated yamato performance edition to v1.0
All parameters have been set and tested to obtain the most speed for the GS3
This may be the final update for the performance edition. We'll see.
How exactly do you install this?
Sent from my SPH-L710 using xda app-developers app
Yes, I'm confused as to how to install this as well.
prochargedls2 said:
How exactly do you install this?
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
Yamato..
Download the "yamato_panel.txt" file and drop it into "/data/local/tmp/" then reboot.
Build.prop...
Go to "/system/build.prop" file.
Open it to edit it's text.
Add or copy and paste the lines provided in the OP into the "/system/build.prop file.
There is a download provided for the build.prop so you can easily copy and paste from it.
or
Use your favorite build.prop editor and add them through there.
Reason for no flashable zip?
I don't like messing with others build.prop file as I don't have a good uninstall zip for that if they don't like it.
I didn't feel the need for a yamato zip either because it's just one text file you drop in one file.
However, if it would help, I could make one. I would like everyone that would like to try this out to be able to do it. If there is an issue with installing for anyone, just l let me know and I will help you out!
Yes please create a flashable zip because I'm having troubles.
Sent from my SPH-L710 using xda app-developers app

[MOD] [TWEAKS] Thunderbolt Mod for Smoothness, Performance & Battery improvements

[MOD] [TWEAKS] Thunderbolt Mod for Smoothness, Performance & Battery improvements
Introduction -
This thread is intended to introduce Thunderbolt! Mod by @pikachu01 to Galaxy SIII users. (I did ask for and got Moderator permission due to perceived duplicate nature of the thread.)
First and foremost, here is the Original Thunderbolt thread. I do not take credit for the mod. All thanks go to @pikachu01.
Practically all the D2TMO/D2ATT/D2SPR/D2VZW users are using one version or other of Jelly Bean. So, although the original thread covers anything from Gingerbread to Jelly bean, I wish to provide a simple set for JB specific usage. Another reason for this thread is to explain what this mod does so that the average user understands what's going to happen and also be able to distinguish with other Mods. I have personally used this mod and given that I understand the underlying principle, I strongly recommend this mod.
Benefits -
Better performance through Linux kernel tweaks catered for Android OS and flash memory.
Better battery life through usage of screenstate_scaling whereby it switches thresholds/VM tunables depending on your screen state.
Better performance for database writes as fsync is not utilized any more.
Better network throughput from TCP tweaks and 3G tweaks.
Less RAM usage through zipaligning of all the apps.
Reduced /dbdata, /data, /sdcard usage of *.db files and faster database access through defragmentation of sqlite db files (a lot of apps use Database to store data like Swype dictionaries, Game saves etc)
Faster disk access through remount script (noatime, disable barrier etc)
What does it do -
I will try to explain as simply as possible what the mod does. This will help clarify for the first timers as well as experts.
Partition Remount – Each Partition is Remounted with the Noatime option set. This will avoid a Write operation whenever Android reads from disc. Thus improving performance significantly.
Optimizing SQLITE Database– SQLITE is a lightweight database used extensively in Android apps. Its the basis for saving application data and images. For each app, there is a separate instance. With significant write activity, the database gets fragmented and is not on consecutively arranged on the Flash storage. If this is optimized, read operations as well as write operations of every application will significantly boost. Thus improving overall smoothness. However, if you have a lot of applications and each application having lot of data in the database, (For ex. Games, TiBU or Social Media) optimization operation will take some time. Fortunately you don't have to do this frequently. Even once a week will do wonders.
APK Re-Alignment – Each application comes packaged as APK or Android PacKage file. These are internally packaged as an archive. Within the archive, uncompressed data needs to be aligned with respect to beginning of the file. When aligned in this way, the files are read quicker and executed efficiently. This contributes to a smooth experience. Quiet a few apps on Google Play are not aligned when you install. This will eventually contribute to a sluggish and less than optimal experience. Aligning the files once a week will help avoid this. If you tend to install new apps frequently, you might be better off putting this file in init.d, so this will be executed at each boot.
Network Parameter tweaking – In Build.prop, size values of buffers should be increased given higher RAM sizes on these phones. This tweak is pretty well known to most of the people on XDA.
Scheduler Tweaking – This only applies to Kernels that implement CFS Scheduler. Users of KT747 Kernel can ignore this as that kernel does not implement CFS. For those who have it, tweaking the Scheduler parameters knowing the files are zipaligned, will render smoother experience.
Download & Installation -
I highly recommend taking a Nandroid backup before proceeding to flash this mod.
Download Link for the JellyBean Thunderbolt! Mod zip file download Link- JellyBean Version.
Copy the zip file to your SD Card (internal or external).
Install Script manager from Google Play Store. Also optionally install Terminal Emulator (Only needed to verify successful install).
Flash the Thunderbolt! zip in Recovery and then reboot the device.
If you experince Boot Loops, please flash the undo script or restore your Nandroid. Let me know.
Open Script Manager.
Launch S98screenstate_scaling as Root (The Skull icon). If it executes successfully, set it to run at Boot (The Wheel Icon).
NOTE - This script is not compatible with some Roms. Please test it to see if it works with your Rom before setting it to run at boot.
Launch S98system_tweak as Root (The Skull icon). If it executes successfully, set it to run at Boot (The Wheel Icon).
Launch /etc/bolt_scripts/remountNexus4 as Root (The skull icon) and as Boot (The wheel icon).
Note - Given this re-mount is not for US versions of Galaxy S III, you may get errors on the subsequent screen. Ignore them and hit back button.
Launch /etc/bolt_scripts/sqlite_optimize as Root (The skull icon).
Note - This script can be used at anytime you want except at boot so do not set that way (the wheel icon) or from inside init.d. Given it's a very long running script, it will inordinately held up boot up process.
Launch /etc/bolt_scripts/s70darky_zipalign as Root (The skull icon).
Note - This script can be used anytime you want including as Boot (Wheel icon) or within init.d folder. If you copy it to init.d set its permission to rwx-rwx-rwx. Also note, this script is located under bolt_scripts since users with a large set of apps may experience quiet a bit of delay during boot up.
Launch /etc/bolt_scripts/CFS/S98CFS as Root (The skull icon) and as Boot (The wheel icon).
Launch /etc/bolt_scripts/S98TCPbuffers as Root (The skull icon) and as Boot (The wheel icon).
That's it. Enjoy!
PLEASE DO NOT FORGET TO THANKS @pikachu01 at his original thread here.
Reverting/Undoing ThunderBolt!
To revert ThunderBolt!, download the ThunderBolt! Restore.zip
Do note that reflashing your ROM will remove ThunderBolt! as well.
How to find out if it works
Use File Explorer/ Root Explorer/Root Browser, and navigate to
/system/etc/init.d/
There you should find (among other things) s98system_tweak file. That indicates successful flashing of the mod.
The longer method to confirm success, requires executing some commands via Terminal Emulator. Explore these inside the hidden text bellow if you wish.
The way to validate success and effectiveness of this mod is checking on how often the Kernel writes to internal SD card. For one, android scheduler does not perform an immediate write operation when the app requests it. It rather waits till its buffer is full and then does the write. Secondly, given its solid state storage, it is extremely fast compared to your computer. So what we are doing here is modifying the Buffer size in accordance with your Ram. The more the ram, the bigger the buffer.
The third parameter, vfs_cache_pressure actually tells the kernel to favor File System Cache. So the ram will fill up for the File system cache, thus increasing application performance.
So to test, using Terminal Emulator, do the following Steps. Press Enter after each to execute them individually.
To enter superuser mode and then execute,
Code:
SU
sysctl -a | grep vm
You will get a screen like this.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​
You are looking for the values highlighted in the screen.
If your phone has 1GB Ram or less, you should see values like bellow,
Code:
vm.dirty_background_ratio = 10
vm.dirty_ratio = 20
vm.vfs_cache_pressure = 50
Since Galaxy SIII has 2 GB Ram, you should expect to see values like this
Code:
dirty_background_ratio = 5
dirty_ratio = 10
vfs_cache_pressure = 50
With the phone screen off, you may use ADB to run the same commands.
Code:
su
sysctl -a | grep vm
ADB should get these values with the phone screen turned off.
For devices with 1GB RAM devices or below, you should see in the output,
Code:
dirty_background_ratio = 20
dirty_ratio = 40
vfs_cache_pressure = 100
For Galaxy S III, given it has 2 GB Ram, you should see,
Code:
dirty_background_ratio = 10
dirty_ratio = 20
vfs_cache_pressure = 100
Q&A REGARDING THE MOD -
Please note, there are also following MODs compatible with Galaxy SIII, that I am aware of. However they differ from this mod. So I have given a short Summary of the distinction between those mods and this one.
1. How is this different from Crossbreeder ? So which Mod is better ?
Crossbreeder by @idcrisis is a mod that focuses on better implementation of DNS Catching and Parallalization of DNS queries. It also improves on tethering and blocks Ads. Last but not the least, it also modifies Entropy levels like Seeder.
What Thunderbolt does, is more on installed Apps and disk I/O improvement. So those two MODs can co-exist just fine and do not conflict or have overlapping functionality.
2. How is Thunderbolt different from V6 SuperCharger Mod by @zeppelinrox ?
V6 Supercharger focuses on invincibility of the Android Launcher. This could be any Launcher you are using as default. It also tweaks significantly to Android's Low Memory Management (AKA Low Memory Killer). This latter will significantly improve Multitasking capabilities.
As you see, this too is quiet different from what Thunderbolt does. So there is no overlap or competition per se. You can implement both at the same time.
2. How is Thunderbolt different from Operation Killjoy Mod by @Exit_Only ?
I am investigating the compatibility. Until then Unless noted, the two are not compatible with each other.
Note - If I have not mentioned a compatible Mod, then please let me know and I will be more than happy to post it here.
Running Dandroid. I flashed the mod and it gets stuck on bootscreen
Sent from my SGH-T999 using xda app-developers app
Supamike88 said:
Running Dandroid. I flashed the mod and it gets stuck on bootscreen
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
Thanks for testing.
Do you have a lot of applications installed on your phone ? Also at what step did it get stuck at boot screen ?
Please note, as I said earlier in the thread, while executing boot up script, the phone may appear to be stuck at Boot screen but will eventually come back. It is very important to know at what step it got stuck at boot.
Is this compatible with Killjoy?
Sent from my SGH-T999 using Tapatalk 2
Kama45 said:
Is this compatible with Killjoy?
Sent from my SGH-T999 using Tapatalk 2
Click to expand...
Click to collapse
If you are referring to the Touchwiz Killjoy Rom, yes I believe so.
Please note, given that rom is Touchwiz, the Remount script in op may not work. So please do not set it to run at Boot.
Perseus71 said:
Thanks for testing.
Do you have a lot of applications installed on your phone ? Also at what step did it get stuck at boot screen ?
Please note, as I said earlier in the thread, while executing boot up script, the phone may appear to be stuck at Boot screen but will eventually come back. It is very important to know at what step it got stuck at boot.
Click to expand...
Click to collapse
I downloaded the mod, rebooted into recovery, flashed the mod, rebooted and waited for it to load but it never got past the splash screen. I waited for about 5 minutes
Sent from my SGH-T999 using xda app-developers app
I believe he's referring to the Operation Killjoy script by Team Kernelizer member @Exit_Only and if that's the case then unless stated otherwise, this will not work alongside Killjoy. As of right now the only approved script package to run with Killjoy is Croossbreeder.
Thank you, Luigi. I was referring to Operation Killjoy.
Supamike88 said:
I downloaded the mod, rebooted into recovery, flashed the mod, rebooted and waited for it to load but it never got past the splash screen. I waited for about 5 minutes
Click to expand...
Click to collapse
When you flashed in Recovery, I am sure there was a screen with Script output. I'd love to see what it looked like.
Also before you flashed the mod, did Dandroid happen to have any scripts in init.d folder ? If yes, can you attach them ?
Lastly Can you revert to your Nandroid Backup and try this file instead ?
LuigiBull23 said:
I believe he's referring to the Operation Killjoy script by Team Kernelizer member @Exit_Only and if that's the case then unless stated otherwise, this will not work alongside Killjoy. As of right now the only approved script package to run with Killjoy is Croossbreeder.
Click to expand...
Click to collapse
Thanks Luigi for clarifying. I will add to my Q&A
How ungrateful of me.. Thank you Perseus for putting this thread together for us.. Very convenient and well organized. Subscribed! :good:
Where is your DL link?
Sent from my SPH-L710 using TapaTalk 4 BETA
Want to speed up your device? Click here
Exit_Only said:
Where is your DL link?
Sent from my SPH-L710 using TapaTalk 4 BETA
Want to speed up your device? Click here
Click to expand...
Click to collapse
Are you viewing through browser or XDA app? It's not visible on the app but if viewing through your preferred browser it's right underneath Download and Installation.
Exit_Only said:
Where is your DL link?
Click to expand...
Click to collapse
Fell trap to my own irritation.
I have set the color correctly to show the link in the OP. Also this link gives the Mod zip file. This other link will give you UNDO File to Remove the mod.
LuigiBull23 said:
How ungrateful of me.. Thank you Perseus for putting this thread together for us.. Very convenient and well organized. Subscribed!
Click to expand...
Click to collapse
Its all good Luigi. Thanks for the kind word.
Supamike88 said:
I downloaded the mod, rebooted into recovery, flashed the mod, rebooted and waited for it to load but it never got past the splash screen. I waited for about 5 minutes
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
Same thing here... I got stuck at the splash screen.
Using a LG L9 (p769), rooted, CWM installed, busy-box installed, init.d installed.
Used to work with the original Pika's version...
damathos said:
Same thing here... I got stuck at the splash screen.
Using a LG L9 (p769), rooted, CWM installed, busy-box installed, init.d installed.
Used to work with the original Pika's version...
Click to expand...
Click to collapse
I do assume you have Jellybean on your L9 ? Unlike original Pikachu's version, this is JB specific.
Like I asked the other poster,
1. What Rom & Kernel are you running ?
2. would you please provide the screen from Recovery that shows outcome of the flash ? (Typically you get to save the script output as text.)
Perseus71 said:
I do assume you have Jellybean on your L9 ? Unlike original Pikachu's version, this is JB specific.
Like I asked the other poster,
1. What Rom & Kernel are you running ?
2. would you please provide the screen from Recovery that shows outcome of the flash ? (Typically you get to save the script output as text.)
Click to expand...
Click to collapse
Rom is stock (760 20f), using Jelly Bean 4.1.2
damathos said:
Rom is stock (760 20f), using Jelly Bean 4.1.2
Click to expand...
Click to collapse
Appreciate if you can attach Recovery Log for Flashing Process.
OP and MOD UPDATED since some users experienced Bootloops.

5/14/2016 || Note 4 (msm 8084) || CPU, TCP, IO, RAM "Tweaks"

Hello from the V10 Forum! This is a mod I created and posted for V10 users, but as various devices use Qualcomm hardware and similar operational conditions, the biggest similarity being Linux , and by some requests from others here to post this, I am offering this modification to other devices as well. It is already thoroughly tested and the logic and rationale behind the conditions are cross compatible with many Linux systems/machines anyways. You should see positive results just as everybody else has.
You must be rooted to apply this mod.
**SEE POST 2 FOR CHANGE LOG**
***VERY IMPORTANT IF YOU ARE GOING TO USE THIS MOD, you need to navigate to the /system/etc folder on your device, and rename any files that exist in that sub-folder that have the words "ZRAM" in them to have a .bak extension rather than a .sh extension so it does not run at boot.
You will also need to navigate to the /system/bin directory with a root explorer and rename the "mpdecision" binary to "0mpdecision.bak" .... The added 0 is just to move it to the top of the list of files so you can find it easily if you need to.
This is a step by step instruction on how to replace the /system/etc/init.qcom.post_boot.sh file for the device. Be it known, however, that this instruction (and file) can be used with any device running the Snapdragon 805 SoC combo.
What does this do?
Simple. It turns your device into an even more efficient powerhouse. Here are is a list of everything done:
-Interactive Governor tuning for performance and better battery life, a quick description of what I did...
-low load, quick response, low frequency
-high load, quick response, higher frequency
-modified input boost settings for Interactive
-Locked cpu cores on - your battery life will not suffer, don't worry.
-Modified a bunch of system permissions to remove samsung garbage from controlling hardware.
-Tuned the cfq scheduler
-Adjusted minfree values (RAM management, it is a little more multi-tasking friendly)
-Adjusted VM parameters - swappiness, dirty ratios, cache pressure, centisec values, etc (again to complement multi-tasking... your data will hang out a little bit more before being written to disk, but house cleaning won't happen all at once, so there is still good performance and your system won't bog down while it is flushing the toilet)
-DISABLED zRAM!!! - I have no idea why a device with 3 GB of RAM has zRAM enabled. This is purely a waste of CPU cycles and other system resources. You want physical memory, not compressed memory.
-Changed congestion algorithm to cubic (better network performance... assuming the network bandwidth is already there
-Cleaned up the shell file and fixed some errors.
-removed calls to mpdecision
-More to come!
How to do this, we'll just get right to it.
Download this app https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en
Download this file https://drive.google.com/file/d/0BzM9W6qUvx-gX1I4UDlLV3VIUWM/view?usp=drivesdk
Very important you put the file on the root of your INTERNAL SDCARD!!!
Do not forget to do this.
After you do that, open terminal emulator, and type the following commands in the order they are presented (I would highly recommend just copying them from this post one by one and switching back and forth between your browser and the terminal app):
Code:
su
Code:
cd /
Code:
mount -o remount,rw /system
Code:
cd /system/etc
Code:
rm init.qcom.post_boot.sh
Code:
cd /sdcard
Code:
mv init.qcom.post_boot.sh /system/etc
Code:
chmod 0644 /system/etc/init.qcom.post_boot.sh
Double check the file has been replaced with a file explorer of some sort, double check permissions, then reboot. Good to go.
****CHANGELOG
May 14, 2016
-initial release
Sounds interesting.....would you mind linking to v10 forum so i can read what experiences people are having? Thanks and thanks for your work and time.
Last question (for now ) any reason this wouldn't work with a ported S7 rom?
Edit nvrmd found some threads......reading now
Awesome....something new haha. Thanks bud. I'm currently running Tekhds rom and using Kernel Adiotour with Senthils Nightmare profile and Project Skynet mod......is it a bad idea to try this while using those? Thanks in advance and thanks for your hard work too.
Good info. Thanks.
How effective is this mod on the note 4 n910t
Sent from my SM-N920T using Tapatalk
I'm trying it out now and it seems to be doing a damn noticeable job....on Tek Urv7.4 with Skynet installed. I can't provide data cuz it's only been a few hours but seems legit. Im open to any info on how to test from anyone.
rblckmnjr84 said:
How effective is this mod on the note 4 n910t
Sent from my SM-N920T using Tapatalk
Click to expand...
Click to collapse
I'm trying it out now and will report back it a few hours. On a side note, I tried to install it per op instructions multiple times and it refused to work,so I just copied and pasted,fixed permissions and rebooted. Now the nodded init file is where it needs to be.
Sent from my SM-G935F using XDA-Developers mobile app
marseillesw said:
I'm trying it out now and will report back it a few hours. On a side note, I tried to install it per op instructions multiple times and it refused to work,so I just copied and pasted,fixed permissions and rebooted. Now the nodded init file is where it needs to be.
Sent from my SM-G935F using XDA-Developers mobile app
Click to expand...
Click to collapse
OK cool report back to let me knw how things are
Sent from my SM-N920T using Tapatalk
I'm running RR 5.6.8 on Marshmallow and I'm not seeing any of the files you listed on my phone. No ZRAM files, no mpdecision, and there isn't a init.qcom.post_boot.sh already on the phone. I went through the steps any way just to see if it would do anything and it all worked successfully, but I can't really comment on any performance gains. Is this a Kitkat/Lollipop only mod? Perhaps MM got away from the same file that this is intended to tweak?
Thanks for your help either way. Looking forward to trying it again when I have a rom it's intended for.
Joebroni said:
I'm running RR 5.6.8 on Marshmallow and I'm not seeing any of the files you listed on my phone. No ZRAM files, no mpdecision, and there isn't a init.qcom.post_boot.sh already on the phone. I went through the steps any way just to see if it would do anything and it all worked successfully, but I can't really comment on any performance gains. Is this a Kitkat/Lollipop only mod? Perhaps MM got away from the same file that this is intended to tweak?
Thanks for your help either way. Looking forward to trying it again when I have a rom it's intended for.
Click to expand...
Click to collapse
The file is there. Look in system/etc and scroll down to it.
Sent from my SM-G935F using XDA-Developers mobile app
How's it going for everyone?
So I went to edit the file to change the SD readahead value to 2048 and was greeted by a commented out "F*ck you bro" at the top of the file. Is this really the way we act on XDA now? Apparentry sadly...
necromnicon said:
So I went to edit the file to change the SD readahead value to 2048 and was greeted by a commented out "F*ck you bro" at the top of the file. Is this really the way we act on XDA now? Apparentry sadly...
Click to expand...
Click to collapse
Screens hot? If that is true, that's funny
Sent from my SM-A710F using XDA-Developers mobile app
I saw in the original thread someone post the same thing....dev explained he accidentally left that in....and that it was originally intended for his buddy.....not sure why he hasn't cleaned out the text yet though..
louforgiveno said:
I saw in the original thread someone post the same thing....dev explained he accidentally left that in....and that it was originally intended for his buddy.....not sure why he hasn't cleaned out the text yet though..
Click to expand...
Click to collapse
Can u plz post the link for the original thread?
Sent from my SM-G935F using XDA-Developers mobile app
necromnicon said:
So I went to edit the file to change the SD readahead value to 2048 and was greeted by a commented out "F*ck you bro" at the top of the file. Is this really the way we act on XDA now? Apparentry sadly...
Click to expand...
Click to collapse
Is this the value to edit to change read ahead?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my SM-A710F using XDA-Developers mobile app
Duplicate. Tapatalk bug
ctrlaltdeln said:
Duplicate. Tapatalk bug
Click to expand...
Click to collapse
Yes that's the one
Sent from my SM-G935F using XDA-Developers mobile app
Yes that is the value for internal SD. If you scroll down you will find the one for external SD. It is set to 1024 in the file. I set mine to 2048 as it provides better performance with my SD caRd

Advanced Interactive Governor Tweak

NOTE:
1- First tnx to @soniCron for his amazing work for governor profile... here
2- I edited GhostPepper in to the init.d script and values completly with XZ cpu cores frequency.
3- No need to run terminal any more for set profile at any boot! or use third-party kernel manager or profile manager apps. only copy/past, set permissions, reboot and BINGO
BACKGROUND:
I test Butterfly (from HTC10) profile and MadDog from (Nexus 5x) and edit that for xperia xz. After multi time test and check diffrent values... i fine GhostPepper v1.3 is a complex of smooth like butter, good performance in games and best battery life for day to day use.
Quote from @soniCron :
Uses a quantized, frequency-aligned parametric curve to influence low core clock rates while providing extremely smooth transitions from each clock rate and exceptional battery life. The current favorite, albeit not very well tested so far. HIGHLY RECOMMENDED
Click to expand...
Click to collapse
REQUIREMENTS:
1- rooted xperia xz
2- enable init.d (see post2)
3- TWRP recovery installed (for enable init.d)
4- any file manager with root browsing feature. (or use twrp built-in file manager!)5- enough knowlage about linux permissions, governor, init.d
CREDITS:
@Ryuinferno for add init.d support to any android kernel here
@soniCron for interactive governor tweaks here
@AndroPlus for kernel and twrp for Xperia XZ here & here
DOWNLOADS:
https://drive.google.com/file/d/0Bx-04WhcoxYlLUdLd2txSXN6VEk/view?usp=sharing
SCREENSHOT:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
enable ini.d at Xperia XZ
1- download term-init.sh
2- copy the sh file in root of sdcard
3- reboot device to recovery mod
4- in TWRP, go to advanced/mount then mount the "system" partition
5- go to advanced/terminal and run built-in terminal
6- type this commend line by line in terminal:
Code:
cd /sdcard
sh term-init.sh
7- reboot device. go to /data folder and check any Test.log file is there? YES??? woow you now can run any init.d scripts from boot :laugh:
-------------------------------------------------------------------------------------------------------------
NOW copy 99governor file from last post to /system/etc/init.d/
set all permissions "rwxrwxrwx" then reboot your phone
-------------------------------------------------------------------------------------------------------------
​
Working fine
I will test in some hours and days and give a feedback
karrouma said:
Working fine
I will test in some hours and days and give a feedback
Click to expand...
Click to collapse
Phone speed lower than before.
Before flashing my phone running fast, but now battery are a bit better
Tanks for your feedback
karrouma said:
Phone speed lower than before.
Before flashing my phone running fast, but now battery are a bit better
Click to expand...
Click to collapse
The interactive tweaks change to cpu clock jump step. In medium usage like web surfing or lesson to music you don't need max freq.
Now cpu need more time to raise to max frequency
This profile set gpu clock at maximum for little frame drop in games (play AAA games drain battery fast)
If you no need that only delet init.d folder or delet governor file.
please, help!
sh: can't open 'term-init.sh'
why is it happening?
First mount /system in twrp (your device must be rooted and busybox installed)
Run terminal and
cd /sdcard
sh term.init.sh
OR
sh /sdcard/term-int.sh
Check sh file saved at root of sdcard and check file name
GenomeX said:
First mount /system in twrp (your device must be rooted and busybox installed)
Run terminal and
cd /sdcard
sh term.init.sh
OR
sh /sdcard/term-int.sh
Check sh file saved at root of sdcard and check file name
Click to expand...
Click to collapse
UB - done
TWRP - done
SuperSU - done
in TWRP:
mount system - done
run terminal - done
"cd /sdcard
sh term.init.sh" - done
terminal says "sh: can't open 'term-init.sh' "
term-init.sh is in the root of sdcard, redownloaded it several times (file size 8kb)
what am I doing wrong?
kernel is stock with restored ta and drm fix
Can you make one for drunksauce gov it's the best on Nexus 5X and is used in D.U. has crazy SOT on my Nexus can we get this ported to XZ. If not what do I do to get it ported just open the init file and edit the frequencies and how many CPU like ex: cpu0 cpu1?
Well I tried to port drunk sauce my self using the 99gov for Xperia XZ I found in this thread as a reference for the frequencies on our device. I'm running it now can confirm it is a success. I'll m working on it over the week. If anyone wanna try and give me feedback that be cool. I'm noticing a small drop in proformance in stamina mode but there no lag and SOT seems to be great. Give it a shot :good:
https://drive.google.com/file/d/0B2bXgjj9jECcZkVXOFNfVGYtMXM/view?usp=drivesdk
It´s necesary keeping root to use your modded governor?
thanks in advance
sonice21 said:
It´s necesary keeping root to use your modded governor?
thanks in advance
Click to expand...
Click to collapse
Of course...
:good::good:
The latest update to my port, tried doing a pull request to get help from original devs. I cleaned up some code and changed some values. much better now
https://drive.google.com/open?id=0B2bXgjj9jECcSU5mcmZ0ajFpR3c
Smacksmack206 said:
The latest update to my port, tried doing a pull request to get help from original devs. I cleaned up some code and changed some values. much better now
https://drive.google.com/open?id=0B2bXgjj9jECcSU5mcmZ0ajFpR3c
Click to expand...
Click to collapse
TNX
I check your tweak and feedback.
GenomeX said:
TNX
I check your tweak and feedback.
Click to expand...
Click to collapse
I appreciate it fam. let me know what you think
New update to my DrunkSauce port now on Version 4, Noticed that when I was checking CPU statistics I was showing the most used frequency on LITTLE Cluster was 1593MHz, Also noticed the associated battery drains from this. Added 3072MHZ Target load to LITTLE Cluster and Also changed the Input boost to have LITTLE Cluster firing at lowest frequency 3072MHz for CPU cores 0-3.
Enjoy!!!! Because im loving this thing right now buttery smooth and power saving.
https://drive.google.com/open?id=0B2bXgjj9jECcUVpHQXlYVUFrTDg
Here's what I was talking about earlier
Just updated here is my GitHub so anyone can snag my recent edits. Major improvements overy last commits. Got the original devs looking over my commits. Happying Drunksauce FTW!
-Edit- Drunksauce is the 99governor for our device in my GitHub. And 100drunksauce is the original file from Nexus 5x in my branches. and download from the readme branch
https://github.com/Smacksmack206/Sony-Xperia-XZ/tree/readme-edits
hi! I've installed everything and activated the last edition of governor99, but still get about 3-4 hrs SOT
what am I doing wrong?

Categories

Resources