FORUMS
Remove All Ads from XDA

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

1,018 posts
Thanks Meter: 569
 
By DorianX, Senior Member on 18th December 2013, 12:30 AM
Post Reply Email Thread

Hey guys! Here I am with my latest contribution:



..:: Introduction ::..
Quote:

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 ::..
Quote:

- 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 ::..
Quote:

/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 ::..
Quote:

- 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 ::..
Quote:

- 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!

The Following 66 Users Say Thank You to DorianX For This Useful Post: [ View ] Gift DorianX Ad-Free
 
 
18th December 2013, 12:31 AM |#2  
DorianX's Avatar
OP Senior Member
Flag Zapopan, Jalisco
Thanks Meter: 569
 
Donate to Me
More

..:: Disclaimer & Warning ::..
Quote:

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 ::..
Quote:

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. ::..
Quote:

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 ::..
Quote:

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-Bootanimation (The flashable won't backup your current Bootanimation).

..:: Banner ::..
The Following 36 Users Say Thank You to DorianX For This Useful Post: [ View ] Gift DorianX Ad-Free
18th December 2013, 12:32 AM |#3  
DorianX's Avatar
OP Senior Member
Flag Zapopan, Jalisco
Thanks Meter: 569
 
Donate to Me
More
Reserved...
The Following 9 Users Say Thank You to DorianX For This Useful Post: [ View ] Gift DorianX Ad-Free
18th December 2013, 02:33 AM |#4  
Guest
Thanks Meter: 907
 
More
@DorianX
Confirmed working awesome on my LG L3 and HTC One S! Good work

BTW:

LG L3 (CM9)
HTC One S (CM11)
The Following 2 Users Say Thank You to Maurice5813 For This Useful Post: [ View ] Gift Maurice5813 Ad-Free
18th December 2013, 04:23 AM |#5  
DorianX's Avatar
OP Senior Member
Flag Zapopan, Jalisco
Thanks Meter: 569
 
Donate to Me
More
Thanks for try this, and thanks for your review :thumbup:

Enviado desde mi Motorola Razr HD mediante Tapatalk
The Following 3 Users Say Thank You to DorianX For This Useful Post: [ View ] Gift DorianX Ad-Free
18th December 2013, 09:57 AM |#6  
Ricky Divjakovski's Avatar
Inactive Recognized Developer / Recognized Contributor
Flag Sydney
Thanks Meter: 6,423
 
Donate to Me
More
Quote:
Originally Posted by DorianX

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.
The Following User Says Thank You to Ricky Divjakovski For This Useful Post: [ View ] Gift Ricky Divjakovski Ad-Free
18th December 2013, 01:43 PM |#7  
p2pjack's Avatar
Senior Member
Flag Shropshire
Thanks Meter: 353
 
More
Working on nexus 4 4.4.2 aosp all good so far thanks for sharing

Sent from my Mako using XDA Premium 4 mobile app
The Following User Says Thank You to p2pjack For This Useful Post: [ View ] Gift p2pjack Ad-Free
18th December 2013, 03:13 PM |#8  
vaikz's Avatar
Senior Member
Flag Cebu
Thanks Meter: 374
 
More
So far so good on slimkat 4.4.2 LG L7.
OP, how to check if it's working or not?

Sent from my LG-P700 using Tapatalk
The Following User Says Thank You to vaikz For This Useful Post: [ View ] Gift vaikz Ad-Free
18th December 2013, 03:59 PM |#9  
DorianX's Avatar
OP Senior Member
Flag Zapopan, Jalisco
Thanks Meter: 569
 
Donate to Me
More
Go to /data if exists *.log files the mod is working

Enviado desde mi Motorola Razr HD mediante Tapatalk
The Following 4 Users Say Thank You to DorianX For This Useful Post: [ View ] Gift DorianX Ad-Free
18th December 2013, 11:28 PM |#10  
DorianX's Avatar
OP Senior Member
Flag Zapopan, Jalisco
Thanks Meter: 569
 
Donate to Me
More
Quote:
Originally Posted by ricky310711

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
The Following 3 Users Say Thank You to DorianX For This Useful Post: [ View ] Gift DorianX Ad-Free
19th December 2013, 07:44 AM |#11  
soham93's Avatar
Senior Member
Flag Mumbai
Thanks Meter: 243
 
More
Currently working great on LG P500 running CM10.1
The Following User Says Thank You to soham93 For This Useful Post: [ View ] Gift soham93 Ad-Free
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes