[MOD][TWEAKS][SCRIPTS] XTweaks V2.0 (08-27-2014)

Search This thread

DorianX

Senior Member

Hey guys! Here I am with my latest contribution:
XTweaks5_zps4c8b0173.jpg



..:: Introduction ::..
XTweaks is a script pack similar to others availables on XDA BUT with some of the logic from
SuperCharger V6 by zeppelinrox
(automatically set some values based on your total available RAM because not everybody have the same device isn't it?).
I've been using this scripts in my custom roms and it worked very well, so I decided to release it to public.


..:: With XTweaks you will get ::..
- Less lag.
- Faster and safer conections on WiFi/Mobile Networks.
- Better battery life.
- Better memory management.
- Less force closes on your apps.
- Faster SD Card read/write speeds.
- SQlite optimizations.
- Cleaned RAM every hour (Cached apps).
- Excelent overall performance.
- Your android device will feel smoother!


..:: In the pack ::..
/system/bin:
check
(This script check if the mod is working, just go to terminal emulator and type:
su [enter], check[enter]).
entropyness (With this script you can install/uninstall the Entropy-ness script, just go to terminal emulator and type:
su [enter], entropyness[enter]).
uninstall (This is an uninstaller, in case that you don't like the mod just go to terminal emulator and type:
su [enter], uninstall [enter] then XTweaks will get uninstalled and your phone will reboot by itself).
restoreboot (This is an uninstaller for bootanimation only, just go to terminal emulator and type:
su [enter], restoreboot[enter]).

/system/etc/init.d:
00SQlite
(This script check if sqlite binary is installed, if not then install the binary and deletes by itself).
01SetProp (This script will change some system property values for better performance).
02KSM (This enable "Kernel SamePage Merging" (KSM))
03RAM (Better memory management).
04CPU (This contain some Governor & I/O Scheduler tweaks).
05System (Another memory tweaks and kernel tweaks for better battery life).
06SDCard (This script change the read_ahead_kb value to 2048 (faster speeds on SD card)).
07Network (You will get faster and safer conections on WiFi/Mobile Networks).
08Cleaner (This clear some unnecessary files and disables logcat) (if you need to get a logcat delete this script).
09Entropyness (This script change read_wakeup_threshold value keeping entropy_avail full (MAY save battery and/or boost responsiveness) discovered by zeppelinrox).
92vac (This script optimize the database of your apps every boot (made it by zeppelinrox)).
94fixfc (This script fix permissions to your apps and folders every boot preventing force closes (made it by zeppelinrox)).
96superflush (This script clear the cached apps every hour so will get more true free RAM (also made it by zeppelinrox)).


..:: Requirements ::..
- Rooted phone.
- Android 2.3+.
- Kernel/ROM with init.d support.
- About 4-5mb free in system partition.
- Custom recovery.

Tested devices:
- HTC Explorer (CM10).
- HTC One S (CM11).
- HTC Sensation XL.
- Lenovo P770.
- LG L3 (CM9).
- LG L7 (Slimkat 4.4.2).
- LG Optimus One (P500).
- LG Optimus SOL (CM7.2 Based ROM).
- Motorola Razr HD (CM11).
- MOTO G (XT1032).
- Nexus 4 (AOSP 4.4.2).
- Samsung Galaxy Ace.
- Samsung Galaxy Core (I8260).
- Samsung Galaxy Nexus (SPH-L700).
- Samsung Galaxy Nexus I9250
- Samsung Galaxy S II (i9100).
- Samsung Galaxy S II (i9100G).
- Samsung Galaxy SIII (i9300).
- Samsung Galaxy SIII mini (I8190).
- Samsung Galaxy Tab 3 "7 (SM-T211).
- Samsung Galaxy Young (Stock based ROM).


..:: Installation ::..
- Download the latest version of this mod.
(Downloads on second post).​
- Copy it on your SD card.
- Go to recovery mode.
- Flash it.
- Reboot.
- Enjoy!
 
Last edited:

DorianX

Senior Member

..:: Disclaimer & Warning ::..
Code:
/*
 * Your warranty is now void.
 *
 * I am not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this
 * Tweaks before flashing it! YOU are choosing to make these modifications, and
 * if you point the finger at me for messing up your device, I will laugh at you.
 *
*/


..:: Downloads ::..


..:: Changelog ::..
V2.1
- Another fix on SQlite binary installation (hopefully now will install on every device without problems).
- Now the Bootanimation is optional (in consequence the mod was reduced to about half of the size, benefiting to devices with low system partition size).
- Now you can uninstall/install (installed by default) Entropy-ness script (if you preffer to install an entropy generator binary) typing:
Code:
su
entropyness
- Added adj's values to RAM script.
- Added more governors to CPU script.
- Small changes/fixes on some scripts.

V2.0
- New way to install SQlite binary (some devices was having problems on the "old" installer way).
- Some changes in the main installer (you can flash it on top of the old versions).
- A few changes in the "check" script.
- Deleted 00Buildprop script and changed by 01SetProp (some devices/ROMS doesn't ran the 00Buildprop script in consequence the values doesn't applied to build.prop, now the 01SetProp script applies those values with the "setprop" command).
- Now all the scripts will run until the system fully boots.
- Now the RAM manager script will set the lowmemorykiller parameters based on your total available RAM (balanced values).
- Now you can see all the changed parameters in the logs (Maybe you will see some errors and are caused because your ROM doesn't support those changes, just ignore it).
- Minor changes on some scripts.
- Renamed all the scripts (small changes).

V1.0.2
- Added check script
- Renamed uninstallboot script to restoreboot

V1.0.1
- Fixed "permission denied" on uninstallboot script
- The integrated Bootanimation will install only on ROMS where
/system/media/bootanimation.zip is persent to prevent issues
related to Bootanimation.

V1.0
- Initial release


..:: F.A.Q. ::..
Q. How can I uninstall this mod?
A. Go to terminal and type:
Code:
su
uninstall

Only apply to 2.0- versions
Q. How can I restore my stock bootanimation?
A. Go to terminal and type:
Code:
su
restoreboot
Q. How can check if this mod is working?
A. Go to terminal and type:
Code:
su
check
You can also go to /data and check the logs.

Q. Is this mod compatible with other mods?
A. Maybe with Crossbreeder but you need to test it, first install this mod then install the one you want to try.

Q. Have this mod an entropy binary (haveged/rngd)?
A. No, this pack have a mod that keeps entropy_avail full (MAY save battery and/or boost responsiveness) discovered by zeppelinrox.

..:: Credits ::..
Many thanks to this people for their awesome work!
- zeppelinrox (without him this mod wouldn't have been possible! many thanks for his great contributions to XDA community and his awesome scripts! if you want a Complete Memory Management Fix please use his script available on his main thread: http://forum.xda-developers.com/showthread.php?t=991276 and please rate the thread with 5 stars, press the thanks button and consider a donation to him).
- Exit_Only (for some ideas on his scripts).
- slaid480 (for some ideas on his scripts).
If I forgot someone or if you believe you deserve to be here let me know and I'll add you ASAP.

If you want to integrate this Tweaks on your ROM just give me and give them the appropriate credits.

..:: Boot Animation ::..
XTweaks_zpsc89ae65f.gif

XTweaks-Bootanimation (The flashable won't backup your current Bootanimation).

..:: Banner ::..
XTweaks9_zps8c59ae06.jpg
 
Last edited:

Ricky Divjakovski

Recognized Developer / Inactive RC
Feb 4, 2013
5,216
7,645
27
Sydney
Thanks for try this, and thanks for your review :thumbup:

Enviado desde mi Motorola Razr HD mediante Tapatalk

hey, i have got some improvement to add the the script, also we could add my aggression mod to this!
also i can create a custom bin file to set the bootanimation path to a seperate location and zip format(samsung devices play .qmg files)
but confirmed on the Samsung galaxy S3(i9300), HTC sensation XL and Samsung galaxy ace.
 
Last edited:
  • Like
Reactions: DorianX

DorianX

Senior Member
hey, i have got some improvement to add the the script, also we could add my aggression mod to this!
also i can create a custom bin file to set the bootanimation path to a seperate location and zip format(samsung devices play .qmg files)
but confirmed on the Samsung galaxy S3(i9300), HTC sensation XL and Samsung galaxy ace.
Thanks for your feedback!
About your mod and custom bin I would like to discuss this via pm or something else
 

mrjoy

Senior Member
Aug 24, 2012
2,572
171
The Heaven Of Punjab
Not working for me. I flashed on galaxy s3 & after flash, the device reboots itself in standby mode in every 1 minute. Whats wrong with with me.
 

Souroking

Senior Member
May 4, 2012
1,007
254
Kolkata
Will test it out.

||""Playing Asphalt™ 8 Airborne on my sgy. :p :p LoLz.
Joke of the year. Gameloft devs will die if they hear this. :p""||
 
  • Like
Reactions: DorianX

DorianX

Senior Member

Top Liked Posts

  • There are no posts matching your filters.
  • 66

    Hey guys! Here I am with my latest contribution:
    XTweaks5_zps4c8b0173.jpg



    ..:: Introduction ::..
    XTweaks is a script pack similar to others availables on XDA BUT with some of the logic from
    SuperCharger V6 by zeppelinrox
    (automatically set some values based on your total available RAM because not everybody have the same device isn't it?).
    I've been using this scripts in my custom roms and it worked very well, so I decided to release it to public.


    ..:: With XTweaks you will get ::..
    - Less lag.
    - Faster and safer conections on WiFi/Mobile Networks.
    - Better battery life.
    - Better memory management.
    - Less force closes on your apps.
    - Faster SD Card read/write speeds.
    - SQlite optimizations.
    - Cleaned RAM every hour (Cached apps).
    - Excelent overall performance.
    - Your android device will feel smoother!


    ..:: In the pack ::..
    /system/bin:
    check
    (This script check if the mod is working, just go to terminal emulator and type:
    su [enter], check[enter]).
    entropyness (With this script you can install/uninstall the Entropy-ness script, just go to terminal emulator and type:
    su [enter], entropyness[enter]).
    uninstall (This is an uninstaller, in case that you don't like the mod just go to terminal emulator and type:
    su [enter], uninstall [enter] then XTweaks will get uninstalled and your phone will reboot by itself).
    restoreboot (This is an uninstaller for bootanimation only, just go to terminal emulator and type:
    su [enter], restoreboot[enter]).

    /system/etc/init.d:
    00SQlite
    (This script check if sqlite binary is installed, if not then install the binary and deletes by itself).
    01SetProp (This script will change some system property values for better performance).
    02KSM (This enable "Kernel SamePage Merging" (KSM))
    03RAM (Better memory management).
    04CPU (This contain some Governor & I/O Scheduler tweaks).
    05System (Another memory tweaks and kernel tweaks for better battery life).
    06SDCard (This script change the read_ahead_kb value to 2048 (faster speeds on SD card)).
    07Network (You will get faster and safer conections on WiFi/Mobile Networks).
    08Cleaner (This clear some unnecessary files and disables logcat) (if you need to get a logcat delete this script).
    09Entropyness (This script change read_wakeup_threshold value keeping entropy_avail full (MAY save battery and/or boost responsiveness) discovered by zeppelinrox).
    92vac (This script optimize the database of your apps every boot (made it by zeppelinrox)).
    94fixfc (This script fix permissions to your apps and folders every boot preventing force closes (made it by zeppelinrox)).
    96superflush (This script clear the cached apps every hour so will get more true free RAM (also made it by zeppelinrox)).


    ..:: Requirements ::..
    - Rooted phone.
    - Android 2.3+.
    - Kernel/ROM with init.d support.
    - About 4-5mb free in system partition.
    - Custom recovery.

    Tested devices:
    - HTC Explorer (CM10).
    - HTC One S (CM11).
    - HTC Sensation XL.
    - Lenovo P770.
    - LG L3 (CM9).
    - LG L7 (Slimkat 4.4.2).
    - LG Optimus One (P500).
    - LG Optimus SOL (CM7.2 Based ROM).
    - Motorola Razr HD (CM11).
    - MOTO G (XT1032).
    - Nexus 4 (AOSP 4.4.2).
    - Samsung Galaxy Ace.
    - Samsung Galaxy Core (I8260).
    - Samsung Galaxy Nexus (SPH-L700).
    - Samsung Galaxy Nexus I9250
    - Samsung Galaxy S II (i9100).
    - Samsung Galaxy S II (i9100G).
    - Samsung Galaxy SIII (i9300).
    - Samsung Galaxy SIII mini (I8190).
    - Samsung Galaxy Tab 3 "7 (SM-T211).
    - Samsung Galaxy Young (Stock based ROM).


    ..:: Installation ::..
    - Download the latest version of this mod.
    (Downloads on second post).​
    - Copy it on your SD card.
    - Go to recovery mode.
    - Flash it.
    - Reboot.
    - Enjoy!
    36

    ..:: Disclaimer & Warning ::..
    Code:
    /*
     * Your warranty is now void.
     *
     * I am not responsible for bricked devices, dead SD cards,
     * thermonuclear war, or you getting fired because the alarm app failed. Please
     * do some research if you have any concerns about features included in this
     * Tweaks before flashing it! YOU are choosing to make these modifications, and
     * if you point the finger at me for messing up your device, I will laugh at you.
     *
    */


    ..:: Downloads ::..


    ..:: Changelog ::..
    V2.1
    - Another fix on SQlite binary installation (hopefully now will install on every device without problems).
    - Now the Bootanimation is optional (in consequence the mod was reduced to about half of the size, benefiting to devices with low system partition size).
    - Now you can uninstall/install (installed by default) Entropy-ness script (if you preffer to install an entropy generator binary) typing:
    Code:
    su
    entropyness
    - Added adj's values to RAM script.
    - Added more governors to CPU script.
    - Small changes/fixes on some scripts.

    V2.0
    - New way to install SQlite binary (some devices was having problems on the "old" installer way).
    - Some changes in the main installer (you can flash it on top of the old versions).
    - A few changes in the "check" script.
    - Deleted 00Buildprop script and changed by 01SetProp (some devices/ROMS doesn't ran the 00Buildprop script in consequence the values doesn't applied to build.prop, now the 01SetProp script applies those values with the "setprop" command).
    - Now all the scripts will run until the system fully boots.
    - Now the RAM manager script will set the lowmemorykiller parameters based on your total available RAM (balanced values).
    - Now you can see all the changed parameters in the logs (Maybe you will see some errors and are caused because your ROM doesn't support those changes, just ignore it).
    - Minor changes on some scripts.
    - Renamed all the scripts (small changes).

    V1.0.2
    - Added check script
    - Renamed uninstallboot script to restoreboot

    V1.0.1
    - Fixed "permission denied" on uninstallboot script
    - The integrated Bootanimation will install only on ROMS where
    /system/media/bootanimation.zip is persent to prevent issues
    related to Bootanimation.

    V1.0
    - Initial release


    ..:: F.A.Q. ::..
    Q. How can I uninstall this mod?
    A. Go to terminal and type:
    Code:
    su
    uninstall

    Only apply to 2.0- versions
    Q. How can I restore my stock bootanimation?
    A. Go to terminal and type:
    Code:
    su
    restoreboot
    Q. How can check if this mod is working?
    A. Go to terminal and type:
    Code:
    su
    check
    You can also go to /data and check the logs.

    Q. Is this mod compatible with other mods?
    A. Maybe with Crossbreeder but you need to test it, first install this mod then install the one you want to try.

    Q. Have this mod an entropy binary (haveged/rngd)?
    A. No, this pack have a mod that keeps entropy_avail full (MAY save battery and/or boost responsiveness) discovered by zeppelinrox.

    ..:: Credits ::..
    Many thanks to this people for their awesome work!
    - zeppelinrox (without him this mod wouldn't have been possible! many thanks for his great contributions to XDA community and his awesome scripts! if you want a Complete Memory Management Fix please use his script available on his main thread: http://forum.xda-developers.com/showthread.php?t=991276 and please rate the thread with 5 stars, press the thanks button and consider a donation to him).
    - Exit_Only (for some ideas on his scripts).
    - slaid480 (for some ideas on his scripts).
    If I forgot someone or if you believe you deserve to be here let me know and I'll add you ASAP.

    If you want to integrate this Tweaks on your ROM just give me and give them the appropriate credits.

    ..:: Boot Animation ::..
    XTweaks_zpsc89ae65f.gif

    XTweaks-Bootanimation (The flashable won't backup your current Bootanimation).

    ..:: Banner ::..
    XTweaks9_zps8c59ae06.jpg
    9
    4
    I will more active on this thread I promise
    4
    Go to /data if exists *.log files the mod is working

    Enviado desde mi Motorola Razr HD mediante Tapatalk