yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] DorianX:
Should work but install this mod first then install mount2sd/swapper2 scripts, what device do you have? Is really necessary a swapp partition? With this mod you will get a better memory management .

Thanks for trying this :thumbup:

Enviado desde mi Motorola Razr HD mediante Tapatalk
[Android Software/Hacking General [Developers Only]] memaro_maro:
ran successful with gnex maguro + slimkat 4.4.2.. also compatible with trickster n other Tweak's apps so far..

tqvm. will give my feedbacks later.

galaxy nexus i9250
[Android Software/Hacking General [Developers Only]] nebixts:
works

Hi [MENTION=2185114]DorianX[/MENTION],

thanks for share your works with us.

i just try your xtweak and awesome, performance increase before i use this.

:good::good::good:
[Android Software/Hacking General [Developers Only]] jr_718:
Interesting. .
[Android Software/Hacking General [Developers Only]] bendungan:
what is the permission of init.d script ? 777 or 644 ?
[Android Software/Hacking General [Developers Only]] tukijembz:
Working great on Galaxy Nexus toroplus(sprint) with rom Carbon 4.4.2

Maybe i will try with other roms, like CM11 if i got bored with this roms :p

Thanks for this build :)
[Android Software/Hacking General [Developers Only]] DorianX:
755 also 777 works

Your welcome :thumbup: thanks for trying this

Enviado desde mi Motorola Razr HD mediante Tapatalk
[Android Software/Hacking General [Developers Only]] manan001:
guys has anyone tested on galaxy S2 9100 with stock rom... how does it work ?
[Android Software/Hacking General [Developers Only]] J_Whit85:
The sqlite3 included is perfered over the one available from busybox installer?
[Android Software/Hacking General [Developers Only]] reywal:
Is this compatible with KILLJOY or CROSSBREEDER?
[Android Software/Hacking General [Developers Only]] DorianX:
Make a nandroid and try :)

Doesn't matter which version do you have the mod will run in the same way.

Maybe with Crossbreeder (I never tried) but NOT with KillJoy.

Enviado desde mi Motorola Razr HD mediante Tapatalk
[Android Software/Hacking General [Developers Only]] DorianX:
Make a nandroid and try :)

Doesn't matter which one do you have the mod will run in the same way.

Maybe with Crossbreeder (I never tried) but NOT with KillJoy.

Enviado desde mi Motorola Razr HD mediante Tapatalk
[Android Software/Hacking General [Developers Only]] manan001:
Guys for now script works well on S2 9100 stock neat lstest wiyh apolo 4.13 light.

Sent from my GT-I9100
[Android Software/Hacking General [Developers Only]] ramkrsn:
please assist..

[MENTION=2185114]DorianX[/MENTION]

will any part of this conflict with crossbreeder ....
[Android Software/Hacking General [Developers Only]] DorianX:
Maybe this lines:

busybox sysctl -w kernel.random.write_wakeup_threshold=128;

busybox sysctl -w kernel.random.read_wakeup_threshold=1376;

In 04System_Tweaks script

Enviado desde mi Motorola Razr HD mediante Tapatalk
[Android Software/Hacking General [Developers Only]] pianistaPL:
Hello, i installed xTweaks and Codename LightingBolt http://xdaforums.com/showthread.php?t=2431647 Everything is working fine and for me phone is working much faster (i hope this is not placebo).

So if these tweaks phone is booting and working it means that these tweaks will not make conflict?
[Android Software/Hacking General [Developers Only]] anilyarki:
Working great here on my lenovo P770, with custom 4.1.1 and stock kernel and universal in it. D support. Great work dev. Thanks a lot. :thumbup::thumbup:
[Android Software/Hacking General [Developers Only]] DorianX:
New version on second post, sorry for not mentioning

Enviado desde mi Motorola Razr HD mediante Tapatalk
[Android Software/Hacking General [Developers Only]] DorianX:
The tweaks will not conflict, some values will be taken from XTweaks and some will be replaced by Codename LightingBolt

Enviado desde mi Motorola Razr HD mediante Tapatalk
[Android Software/Hacking General [Developers Only]] andynroid:
Can I flash directly from the 1st version ?
[Android Software/Hacking General [Developers Only]] davidben73:
Hello friend, I like this Tweak.

My phone is 1gb ram but just have 720mb of available ram.

My free RAM usually about 100mb, after flash this it's about 300mb :good:

But, is the minfree setting is set too high? I'm afraid that my alarm app get killed easily.

thank you friend :highfive:
[Android Software/Hacking General [Developers Only]] hoops04:
when i flash this mod, my antutu benchmark lost near 200, my phone laggy, so i uninstall this and everything become normal

p/s: sorry for my bad english
[Android Software/Hacking General [Developers Only]] DorianX:
Uninstall first, I'll make some changes in the installer to prevent doing this.

The minfree isn't to high is a kinda balanced so don't worry about the alarm :thumbup:

This mod isn't for benchmarks OK can you be more specific? Phone, ROM, do you have another mods installed?

Enviado desde mi Motorola Razr HD mediante Tapatalk
[Android Software/Hacking General [Developers Only]] UrielGT-X:
This MOD is amazing...

Excellent work..!
[Android Software/Hacking General [Developers Only]] core7x:
its working good at GT-I8190N
[Android Software/Hacking General [Developers Only]] DorianX:
Thanks for trying this :thumbup:

I'm*just*going to leave this here:

Device: Motorola RAZR HD (xt925), CM11 on ART, Ondemand, SIO.

Device: HTC Explorer (Pico), CM 10.1, Ondemand, NOOP.

Enviado desde mi Motorola Razr HD mediante Tapatalk
[Android Software/Hacking General [Developers Only]] mario1634:
The tweak is conflicting with xposed
[Android Software/Hacking General [Developers Only]] DeveDroid:
May I know how?

I mean I'm on 4.4.2 plus I'm using Xposed & these tweaks and I have no issues!
[Android Software/Hacking General [Developers Only]] xylu:
compatible with crossbreeder?

Edit: flashed and noticed the smoothness on my phone, lags gone!
[Android Software/Hacking General [Developers Only]] DeveDroid:
Yes, already told bout this!
[Android Software/Hacking General [Developers Only]] zacutesz:
what's the meaning "SQlite binary is not installed"

is that important?? i'm using this tweak into my Xperia L with JB 4.2.2
[Android Software/Hacking General [Developers Only]] NecromantiA:
Hmm what is wrong I want to uninstall I type it with su and uninstall and nothing happens

Στάλθηκε από το LT18i μου χρησιμοποιώντας Tapatalk
[Android Software/Hacking General [Developers Only]] tamingsarix:
This mod is great....i love it..make my phone faster then before... Can u put dns and ad block from crossbreeder....it will be great...
[Android Software/Hacking General [Developers Only]] rvdj:
So far working good
[Android Software/Hacking General [Developers Only]] andynroid:
You are back congrats yet to try your latest release will update later but 1st to BU :)
[Android Software/Hacking General [Developers Only]] lohanbarth:
works on the MOTO G XT1032 4.4.3 CM11. thank you
[Android Software/Hacking General [Developers Only]] derride8:
Is this tweak good to use on the note 3?
[Android Software/Hacking General [Developers Only]] DorianX:
Good news I will update XTweaks to 2.0 tomorrow
[Android Software/Hacking General [Developers Only]] DorianX:
Sorry for don't reply I was very busy

This mod works on any device, wait for the next version will be better than ever

You're welcome [emoji106]

Cheers

Thanks for use this

I won't put anything from crossbreeder in my mod cuz have some issues on WiFi tether and about adblock you can use any app/mod in XDA I don't want to increase the size of my mod to much (a good host file is really heavy).

Can you post the output?

Wait for the next version, I fixed the SQlite installation

Can you tell me how?
[Android Software/Hacking General [Developers Only]] DorianX:
I will more active on this thread I promise
[Android Software/Hacking General [Developers Only]] chrisdlc119:
I hope someone could reply to me. If someday I need to uninstall this mod, this recover all the settings I had before I flashed it (like original build.prop), right?

Thanks.
[Android Software/Hacking General [Developers Only]] DorianX:
Yes, the uninstaller deletes all the traces of the mod
[Android Software/Hacking General [Developers Only]] DorianX:
New version is up! Download and changelog on second post

I hope feedbacks :)
[Android Software/Hacking General [Developers Only]] chrisdlc119:
I made this answer because other mods don't uninstall-self.

Thanks again.
[Android Software/Hacking General [Developers Only]] chrisdlc119:
Does this modify the virtual memory settings (like the RAM manager)?
[Android Software/Hacking General [Developers Only]] DorianX:
You're welcome

Yes, modify some parameters based in the total of RAM in your device. Try it you can easily uninstall if you don't like
[Android Software/Hacking General [Developers Only]] chrisdlc119:
Ok, thanks. I had problems when trying to open some games. :(

I have a LG L5 - CM 11, without the mod I can play normally, why this could happen?
[Android Software/Hacking General [Developers Only]] DorianX:
Can you tell me which ones? I want to do some tests on similar device.

Can be related to a low minfree values, can you post the content in data/03RAM.log or attach that file
[Android Software/Hacking General [Developers Only]] chrisdlc119:
Well, were Clash of Clans and Pixel Gun 3D.

Sorry, I can't post the log, I had to uninstall the mod to test some games more faster (because I'm an editor).
[Android Software/Hacking General [Developers Only]] DorianX:
Ok thanks, I'll give it a shot
[Android Software/Hacking General [Developers Only]] chrisdlc119:
Do you think you can solve this? If something goes wrong just tell me to flash it again.

Regards.
[Android Software/Hacking General [Developers Only]] DorianX:
Sure I can, but can you post the output of this?

cat /sys/module/lowmemorykiller/parameters/minfree

And this:

cat /proc/sys/vm/min_free_kbytes

Before and after installing the mod
[Android Software/Hacking General [Developers Only]] chrisdlc119:
Of course!

Here you have everything you need, brother :)

Before:

After:

And I attached the log file you tell me before.

What about vfs_cache_presure parameter from Virtual Machine, brother? Does it changes according to my memory configurations? May I change from 10 to 100 (like the original value)? I know I make a lot of questions, sorry.

Thanks a lot!
[Android Software/Hacking General [Developers Only]] chrisdlc119:
I share this with you, brother: http://xdaforums.com/showthread.php?t=2544330

If this work for you :)
[Android Software/Hacking General [Developers Only]] :
Hi,

Works for LG G3?
[Android Software/Hacking General [Developers Only]] core7x:
Init.d folder not restore original init.d script when uninstall. /etc/init.d/init.d_bak. Its auto reboot a few times after uninstall. Btw. Its good.
[Android Software/Hacking General [Developers Only]] DorianX:
When you try to open the game do you get a force close? or the game open and then closes?

If you think that your device will perform better with that vaule chang it, but I leave you this:

vfs_cache_pressure
------------------

This percentage value controls the tendency of the kernel to reclaim
the memory which is used for caching of directory and inode objects.

At the default value of vfs_cache_pressure=100 the kernel will attempt to
reclaim dentries and inodes at a "fair" rate with respect to pagecache and
swapcache reclaim. Decreasing vfs_cache_pressure causes the kernel to prefer
to retain dentry and inode caches. When vfs_cache_pressure=0, the kernel will
never reclaim dentries and inodes due to memory pressure and this can easily
lead to out-of-memory conditions. Increasing vfs_cache_pressure beyond 100
causes the kernel to prefer to reclaim dentries and inodes.

Increasing vfs_cache_pressure significantly beyond 100 may have negative
performance impact. Reclaim code needs to take various locks to find freeable
directory and inode objects. With vfs_cache_pressure=1000, it will look for
ten times more freeable objects than there are.

Thanks I already check it and this mod only have like 3-4 lines so no big deal :D

Should work

I already test the uninstaller on many devices and works...
[Android Software/Hacking General [Developers Only]] chrisdlc119:
Both jeje ☺ The games don't run as I expect.

Ok, thanks for the info!
[Android Software/Hacking General [Developers Only]] DorianX:
Man I tried that games on my moms phone (HTC Explorer) only have 416MB of total RAM and runs very well... No lags, no FC's, pretty smooth (more than I imagined on that little device) so don't know how to do because I can't duplicate your issue.
[Android Software/Hacking General [Developers Only]] chrisdlc119:
Thanks anyway brother, I don't know much about roms but mine could be the problem, I like your job! Maybe later I will try with another rom with 401 MB of RAM.
[Android Software/Hacking General [Developers Only]] iZLeeP:
[MENTION=2185114]DorianX[/MENTION] Great work buddy. This is similar to the script I made for personal use, also using zep's scripting method. But this is way better & code is easier to follow. Could you tell me why you did not implement ADJ values in lowmemorykiller? I do it on mine using V6_Supercharger values but I do not patch my services.jar on ICS & JB.
[Android Software/Hacking General [Developers Only]] DorianX:
Thanks! I'm testing ADJ values for the next update but I can't decide which ones, what values do you use?
[Android Software/Hacking General [Developers Only]] iZLeeP:
I've used the default values for GB, ICS & JB. Also tried 0,1,3,5,9,15, the values in Fly-On Mod & Thundberbolt script but I get better performance using V6 values of 0,3,6,10,12,15. Although, I do not get the logic of slot 4 & 5 adj since, I think, they fall out of place.
[Android Software/Hacking General [Developers Only]] DorianX:
Ok I'm testing it and is working very well, I'll release a new version with adj's values and a few changes in sqlite installation (now should install without problems on any device) and another small changes
[Android Software/Hacking General [Developers Only]] tamingsarix:
Hyee...are RAM calculated for multitask or balance?
[Android Software/Hacking General [Developers Only]] DorianX:
Multitask, the values are calculated according to the available RAM on your device not like other mods that only have a single value for every device (except V6 SuperCharger obviously).
[Android Software/Hacking General [Developers Only]] danielseeksGod:
Hi,

I am getting a black screen when I boot up after installing this. (Having to re-flash my ROM). Any idea what might be the problem? I'm on CM 11
[Android Software/Hacking General [Developers Only]] DorianX:
First time happening this... What device/recovery?
[Android Software/Hacking General [Developers Only]] danielseeksGod:
Standard CWM 6 for CM11, Samsung Epic 4G.
[Android Software/Hacking General [Developers Only]] tamingsarix:
Hyee..in next version can u put log file in folder? Example data/XTweaks/03RAM.log

What is benefict 'drop cache'
[Android Software/Hacking General [Developers Only]] iZLeeP:
Correct, minfrees are calculated based on RAM available on the device. It should be a balance approach. [MENTION=2185114]DorianX[/MENTION], you're implementation of RAM is based on this code:

ram=$((`free | awk '/Mem:/{print $2}'`/1024))

while the one I use, same with V6_Supercharger make use of this:

ram=$((`awk '/MemTotal/{print $2}' /proc/meminfo`/1024))

Clearly, the 2 are different since the first one refers to Free memory while the latter check total memory.
[Android Software/Hacking General [Developers Only]] DorianX:
Sh*t don't know how did I miss that, if you see in 01SetProp script I set the second one. I'll fix it in next version
[Android Software/Hacking General [Developers Only]] DorianX:
Do you want to help to find the problem? PM me

Sure I can, but what's the point?

Can you be more specific with "drop cache" question? but in general can help to free up memory
[Android Software/Hacking General [Developers Only]] tamingsarix:
[MENTION=2185114]DorianX[/MENTION]..when proses to clear cache...are some apps been killed?
[Android Software/Hacking General [Developers Only]] DorianX:
No, only the "cached apps" will clear not the running apps
[Android Software/Hacking General [Developers Only]] DorianX:
How many available space do you have in system partition? I think not enough. I will make the BootAnimation optional cuz there's some devices with very low space in system partition
[Android Software/Hacking General [Developers Only]] LeftyGR:
Good morning. Compatibility question. OP states kernel with init.d support required. I'm running a vzw note 3 with a locked bootloader, and I'm not sure by what mechanism init.d is enabled on it. We use kingo or towelroot (depending on when you acquired root...jb or kk) and limited to safestrap for recovery. Is this, or any tool like it usable with a device in this state? Thx
[Android Software/Hacking General [Developers Only]] tamingsarix:
Good result...but the real benchmark when u feel the smooth..and u fell comfortable
[Android Software/Hacking General [Developers Only]] Hamidreza2010:
[MENTION=2185114]DorianX[/MENTION] is it work on sony xperia sp on 4.3 fw ?
[Android Software/Hacking General [Developers Only]] madi3d8:
is this XT Tweak useful on Flagship devices like LG g3, Galaxy S5, Xperia Z2... ??? or it just for low-end device ?
[Android Software/Hacking General [Developers Only]] DorianX:
You have two options:

1.- Try to enable init.d using Ryuinferno's method (don't kow if works on KK).

1.1.- A modded version for 4.4.2 (don't kow if works with safestrap)

2.- Extract XTweaks*\system\etc\init.d on your SD Card and run every script on boot with Script Manager Something like this:

If your device is rooted and have init.d support then yes should work

Is useful on every device
[Android Software/Hacking General [Developers Only]] LeftyGR:
Ok. No, I know I have init.d support, but wasn't sure if this would work with the locked bootloader and all. Thank you. Will give it a try later!
[Android Software/Hacking General [Developers Only]] Hamidreza2010:
For Flagship Device?

I think no because not needed.its for low-end device like p - u or ....

but you can ask OP also
[Android Software/Hacking General [Developers Only]] DorianX:
New version is up, updated first and second post
[Android Software/Hacking General [Developers Only]] iZLeeP:
Where do you get the governor and I/O settings? I use values from Thunderbolt script which is also used in CrossBreeder. Also, for entropy generator, I use haveged from CrossBreeder. These are, suggestions, though, so you could test them out and see which gives better performance.
[Android Software/Hacking General [Developers Only]] noobpremium:
Awesome :D

Awesome bro, gonna give it a shot :p
[Android Software/Hacking General [Developers Only]] DorianX:
I got the governor values from all over the web not on a specific page/post, values are thought for a better battery usage not on big performance. I/O values comes from KickAssKernelizer, do you see a real performance change using a haveged binary? Thanks for your suggestions I'll give it a shot
[Android Software/Hacking General [Developers Only]] DorianX:
Thanks feedbacks are welcome
[Android Software/Hacking General [Developers Only]] iZLeeP:
I've used the I/O values from KAK and governor from Fly-On, but for some reason, I got better performance using CrossBreeder's settings. It's difficult to gauge though anyway, esp. on a high-end device. But it does help on some of my low-end phones. That's why, I don't usually mix & match values because one thing may work for another but for the other it may not.

The haveged binary in CrossBreeder is a better seeder, IMHO. Buried in that thread, look here, someone uploaded only the entropy part of CrossBreeder, the files of which I incorporate in my rom.
[Android Software/Hacking General [Developers Only]] rudim:
Thanks Darianx

Test with LG G Pro E-988

it Works:cool:
[Android Software/Hacking General [Developers Only]] LeftyGR:
[MENTION=2185114]DorianX[/MENTION]

Confirm this working on VZW Note 3 (SM-N900V), if you wanna add that to your list. A little better battery life, and noticable performance increase. Thank you, sir!
[Android Software/Hacking General [Developers Only]] Vishesh:
Is this mod works in mtk device running kk?
[Android Software/Hacking General [Developers Only]] DorianX:
Should work
[Android Software/Hacking General [Developers Only]] DorianX:
You're welcome

OK thanks I'll add it to the list
[Android Software/Hacking General [Developers Only]] tamingsarix:
Flus o matic did not run as should. .example i set 1hour, but till 1 1/2, the script dont run.
[Android Software/Hacking General [Developers Only]] Vishesh:
I installed this mod n its says sqlite binary is not installed.. How to installed it manually?

Edit - yesssss. This mod actually works in my device(micromax canvas HD plus) as well.. Dev.. Pls add this device in testing list ☺☺

As my ph is hexa core device, so it's actually fast but after this mod, I can feel more smoothness with more fre ram for sure.. Hats off to dev.. But pls describe how to install sqlite binary??

Can't we add X-Reality in this mod??
[Android Software/Hacking General [Developers Only]] DorianX:
No logs for flush-o-matic?

Can you post a recovery log? And /data/00SQlite.log
[Android Software/Hacking General [Developers Only]] tamingsarix:
Here screenshot..u can see time
[Android Software/Hacking General [Developers Only]] tamingsarix:
My screenshoot
[Android Software/Hacking General [Developers Only]] istvan_06:
Thank you, it makes my Galaxy Young much faster.:)
[Android Software/Hacking General [Developers Only]] pat99:
XTweaks V3.0 comming? Because i've very few days left. And want to hands on before i goes OFF.

***OFF to carrier oriented. :p
[Android Software/Hacking General [Developers Only]] AppleYard Junior:
im using an old xperia phone,that is xperia x8 running android 2.3.7 stock,can i use this tweak on

my phone?
[Android Software/Hacking General [Developers Only]] tamingsarix:
As long u have init.d support and custom recovery. If not u can use script manager..i think op has mentioned some where in this thread
[Android Software/Hacking General [Developers Only]] dnkjordan:
Any compatibility issues between this tweak and autokiller?
[Android Software/Hacking General [Developers Only]] DorianX:
Your kernel isn't fully compatible with the script, you can run it manually typing on terminal:

su -c flush

You're welcome [emoji3]

I'll try to release a new version this week.

If your rom have init.d support the yes.

You don't need an autokiller...
[Android Software/Hacking General [Developers Only]] kien_vip:
i got same value on my device with both codes. ex. my phone has 512M physical mem. both codes show result 390M available.

non of codes can show exactly 512M:p
[Android Software/Hacking General [Developers Only]] iZLeeP:
The same? That's interesting...

You're not supposed to get the full 512mb ram since part of it is allocated to the the system/gpu etc. I had a 512mb (ram) device before and total RAM is about 473mb.
[Android Software/Hacking General [Developers Only]] pat99:
I've tried all mods and tweaks here on xda,But out of which some of 'em I like, Some of up to the mark. But to choose one for a long race, I've prefer XTweaks v2.0. Why?

As OP said less laggy. I would say no lag! Even though entropy set to ON since install but here's How to have no lag?

Use combo: XTweaks v2.0 + Seeder v2.0 + Check Extend I/O queue & RNG service set to aggressive.

Reason of concluding the best so far because I'm running Dead Trigger on legacy device Desire HD which has only 591MB allocated RAM without lag.
[Android Software/Hacking General [Developers Only]] DorianX:
Some devices will show the same result on both codes (maybe the older ones?) and like iZLeep said you don't get the full 512MB because you're device take part of that RAM to share with GPU/System, my device is supposed to have 1GB but only shows 793MB so don't worry about that.

Exactly

I'll add some tings from crossbreeder maybe you'll get the same result.

Should I change the OP to NO LAG? [emoji12]