yashsingh1/xdaforums huggingface dataset:
[HTC One X] AuxLV:
Looks like 4 gigs were processed (: It can't be done in one second. Ook, so the problem is diagnosed, I'll move processing to a service with status notification.

By the way, scheduler auto-trim in Premium version already runs in background service and no one complained yet.

Many thanks for your report! I wish Google had promo codes like in AppStore so that I could give away Premium version for free to everyone who helped me improve LagFix. Eh...
[HTC One X] qdoba:
It looks like 1.5 does work, it takes a little longer to complete but it doesnt hang. I was too quick to judge.
[HTC One X] AuxLV:
Re: [APP] LagFix (fstrim) v1.5 2013.02.10

No problems, I'll just improve UI to avoid confusion (:
[HTC One X] chrone:
lagfix 1.5 autoscheduled running fine this morning at 5am on n4 stock rom, faux kernel 006b07, at least the notification was displayed. :)

haven't tested with the dynamic fsync as available from the kernel with trickstermod, though.
[HTC One X] kecek:
Re: [APP] LagFix (fstrim) v1.5 2013.02.10

Lagfix premium not support on CM 10.1 i use this rom

___________________________________

Using XDA Premium

N7100 - International

Rom CyanogenMod Nightly

Kernel Redpill
[HTC One X] AuxLV:
The image is not visible.
[HTC One X] MASOUD_PC:
not working on JB 4.1.1 stock Rom

tested with superSU v1.04
[HTC One X] chrone:
and what is your device?
[HTC One X] kecek:
Re: [APP] LagFix (fstrim) v1.5 2013.02.10

Sorrry. Solved. I change my kernel with neak 1.6 aosp

Fix permision on cmw

Reboot n lagfix run as root.

But i dont feel anything. I thing seeder must be good. I feel smooth if use this app. But lagfix nothing.

Any one to explain. Sorry im newbie n speak english bad

Sorry...

___________________________________

Using XDA Premium

N7100 - International

Rom CyanogenMod Nightly

Kernel Redpill
[HTC One X] AuxLV:
Re: [APP] LagFix (fstrim) v1.5 2013.02.10

Which device do you have? What is written in log?
[HTC One X] chrone:
if you're not using your storage heavily (lots of write-delete-write accumulative) and reach or beyond its full capacity, then this app may not help you gain performance or smoothness. :)
[HTC One X] kecek:
Re: [APP] LagFix (fstrim) v1.5 2013.02.10

Thanks. I see now.

___________________________________

Using XDA Premium

N7100 - International

Rom CyanogenMod Nightly

Kernel N.E.A.K
[HTC One X] MASOUD_PC:
HTC One X
[HTC One X] AuxLV:
Re: [APP] LagFix (fstrim) v1.5 2013.02.10

And what is the problem?
[HTC One X] margaretiak:
As I said in gnex pa thread. I had really huge problems with lagging nexus. Everything was slow like I was used to from htc desire. Installed this, it just said that it trimmed partition and voi la..have no idea if it did something or not but the speed is again amazing. Multitasking is smooth as before. Bought premium.
[HTC One X] echohack:
Worked on Asus TF300T running Hydro 7
[HTC One X] truplayr:
Re: [APP] LagFix (fstrim) v1.5 2013.02.10

Hi. Your app has done wonders to my nexus 7. When I used it for the first time I noticed also improvements as experiencing the games were smoother and the stuttering or lagging was less attending in several graphically demanding games.

However I noticed that one partition seems to remove all the words I have thought to SwiftKey and was wondering in which partition the data of the words might be kept? Just a bit annoying to start to teach words again as I'm not native English speaker. Is there anyway to prevent the loss of data from words not being wiped out clean?

I appreciate all help
[HTC One X] AuxLV:
Apps store their data in /data partition in most cases. But LagFix does not touch any existing data. If you are using beta version of SwiftKey then it might be the reason.
[HTC One X] gpzbc:
Re: [APP] LagFix (fstrim) v1.5 2013.02.10

I was looking at the commits for the next cm 10.1 nighly for the Nexus 7 and there is mention of fstrim. Are they integrating your Lagfix?
[HTC One X] AuxLV:
Re: [APP] LagFix (fstrim) v1.5 2013.02.10

I don't know. But discard is now enabled.
[HTC One X] itenos:
Is it still working on 4.2.2?

Hi, I'm just wondering how comes that this thread here now is nearly dead. Your app has been simply amazing for my 3 devices (Nexus 4,Nexus 7,Samsung Galaxy S1 running slim bean). Since the last update though the lagfix finishes in a few seconds and does not report any amount of trimmed bytes anymore. Further it does not seem to speed up my devices anymore. Am i doing something wrong or is it just not compatible anymore?
[HTC One X] chrone:
you need to understand the characteristic of nand chipset first to analyze why did lagfix didn't speed up things anymore on your device.

once you've fstrimmed and didn't fill up your storage over the max capacity, or you didn't do much write-delete-write cycle with its accumulation beyond your storage capacity, or you keep more than 25% of your storage capacity available, then using lagfix won't do you any good since it's at optimum performance level. :)
[HTC One X] AuxLV:
The thread is nearly dead because nothing to talk about. I removed trimmed bytes info because it tells nothing at all and is dependent on device. As I already said, the number does actually show number of trimmed bytes on Nexus 7, yet it shows amount of free and available for use block on my HTC One X. So it is confusing for users and I'm tired explaining that every other day. No more info, no more questions.

CM10.1 is now built with discard option, so CM10.1 users don't need LagFix anymore. I believe custom kernel authors are also implementing it, so this might be the reason why you see nothing improving. Anyways, check with benchmark and check your kernel. Unless all prerequsites met, LagFix does nothing indeed.
[HTC One X] carlo67:
hi

i have the p6800

do anyone recommendations to try lagfix with http://xdaforums.com/showthread.php?p=38570578#post38570578
[HTC One X] lesp4ul:
Re: [APP] LagFix (fstrim) v1.5 2013.02.10

flash chip dependant, i suggest to try it yourself bro :)
[HTC One X] carlo67:
ok, can I break my tablet?
[HTC One X] nitsua98:
Re: [APP] LagFix (fstrim) v1.5 2013.02.10

Yes you can. I give you permission to break your tablet.
[HTC One X] carlo67:
ru joking ?
[HTC One X] chrone:
Re: [APP] LagFix (fstrim) v1.5 2013.02.10

Do it with your own risk i suppose. Most tweaks in xda cannot guarantee if you brick your device. Hehe

Sent from my Nexus 4
[HTC One X] nitsua98:
Re: [APP] LagFix (fstrim) v1.5 2013.02.10

Derp
[HTC One X] AuxLV:
Re: [APP] LagFix (fstrim) v1.5 2013.02.10

You should ask users of your device of anyone tried.
[HTC One X] carlo67:
I tried the lagfix.

I got error. http://imageshack.us/a/img580/2320/screenhunter04mar021029.gif

I have the cm9
[HTC One X] AuxLV:
Re: [APP] LagFix (fstrim) v1.5 2013.02.10

Your device has incompatible memory type, you don't need this app.
[HTC One X] Taurdas:
Re: [APP] LagFix (fstrim) v1.5 2013.02.10

works great here on htc desire s vipersaga 2.1.3
[HTC One X] Bryan_B:
working on galaxy s3 international?
[HTC One X] AuxLV:
Should work just fine.
[HTC One X] patrickliu:
Can't install/update large size app after lagfix applied

Phone: GSM Galaxy Nexus (Maguro)

Rom: CM10.1 latest nightly (20130302 build now)

Kernal: Franco Kernal nightly (r366 for now)

I've been using lagfix (free) for some time on my Galaxy Nexus and Nexus 7 (wifi) for some time.

It's OK on Nexus 7, fast processing time on /system, /data and /cache/ partition with your app, and resulting a performance boost after that.

However there's not that smooth on Galaxy Nexus. It takes much more time to run this app and the performance boost is not significant. I also found after that I'm not able to install large apps / update existing large apps from Play Store. I'm pretty sure that as I tried flashing stock rom, apply same CM10.1, then try to install a large app (success), uninstall the large app, run your app once, and I can't install the same large app again as it prompted that Insufficient storage...

I believed that you'll improve the app so I've just purchased the paid version, as it works well on Nexus 7. I hope there's some day my Galaxy Nexus will be good as well :)
[HTC One X] AuxLV:
Re: [APP] LagFix (fstrim) v1.5 2013.02.10

Please check if your GN mounts partitions with discard option - recent kernels do so. If you have/data with discard then lagfix is useless. At least for/data partition.
[HTC One X] AuxLV:
Version 1.5.1 is released! Changelog:

+ Added CWM SuperUser support;

+ Added android.permission.ACCESS_SUPERUSER permission;

* Fixed disabling scheduler;

+ New notification icons.

Please also note, that Premium version is now ON SALE! Hurray!
[HTC One X] guastucci:
Works for galaxy s3? Tks.

Enviado de meu GT-I9300 usando o Tapatalk 2
[HTC One X] AuxLV:
Users report - YES!
[HTC One X] guastucci:
So, lets buy it and try.

Enviado de meu GT-I9300 usando o Tapatalk 2
[HTC One X] AuxLV:
You can try free version before buying (:
[HTC One X] cecilyen:
I was stupid enough to try LagFix on my TF101. Now, it is running out of available space for no reasons. :crying:
[HTC One X] AuxLV:
Wipe?
[HTC One X] ogre_x:
Sv: [APP] LagFix (fstrim) v1.5.1 2013.03.04

Bug report :

New install and using the new Superuser app with PIN protection.

The request to su took too long when I entered the PIN, so the command got permission denied.

Then the app disabled trim for data and cache...

Only way to fix was to delete cache and data for the app and run again.
[HTC One X] chrone:
you could try superuser by koush from google play, it's an opensource superuser app made by the clockworkmod creator himself. i tried and it's speedier than current supersu 1.25, or at least same speed as supersu 0.98. :)
[HTC One X] ogre_x:
Sv: [APP] LagFix (fstrim) v1.5.1 2013.03.04

That's the Superuser I used..
[HTC One X] chrone:
Oh my bad. I didn't have problem for both supersu and superuser with lagfix premium on nexus 4 though.

Perhaps trying to disable the pin before running lagfix just to save it on the ssu app then reenable pin might help. :)

Sent from my Nexus 4
[HTC One X] AuxLV:
OK, I'll remove disabling, will just uncheck failed partitions.
[HTC One X] signumized:
I am using the premium version since some time.

Only 2 mentions:

- had a scheduler for running at 3 in the night with only data and cache selected. However in the morning I saw in the notification and SuperSU log that it trimmed also the System partition - bug.

- could you please add also rotation for the app, since some of us are using the device in landscape mode?

Other than that, great app, 5 stars.

Thanks for looking into the issues addressed.
[HTC One X] AuxLV:
Thanks for your feedback, will look into issues soon.
[HTC One X] Raijin:
Can you add an option to deactivate the notification when a scheduled action is done?
[HTC One X] AuxLV:
Ok!
[HTC One X] Kodell:
Well now...where do i start :(

I used this lag fix on my SGS3 (GT-I9300T, stock 4.1.2, ROOTED), that was lagging noticeably when going from some apps (or home screen) to a phone function (like contacts). It run successfully, well at least it said it did after about 30 seconds but yet after rebooting i did not and have not noticed any decrease in lag, what i have noticed is that my phone is now broken.

It is now no longer recognized by ANY PC, not the phone, internal memory or micro SD...nothing and i have tried in several machines (running different OSs). The second issue that is the one that brakes it, is that i'm unable to update ANY of my apps nor am i able to install any new ones, every time i try it says "Insufficient space" and aborts the operation. Storage lists total space as 11.25GB with 1.93GB free yet applications manager says total free space is 2.2GB.

If anyone can help me with the two issues i would be very grateful, i have only JUST got the phone back into useable order from a reset i had to do 2 weeks ago, i don't have the time to do it again with all the uni coursework i'm in the middle of. :crying:

Thanks
[HTC One X] chrone:
Will wiping cache and dalvik-cache from cwm recovery fix your issue? Sorry to hear that. Some Samsung emmc chips have these weird bug issue if fstrimmed, secure erased, and mount discard. :/

Sent from my Nexus 4
[HTC One X] Kodell:
Thanks for the suggestion and the help, i did both of them as well as "fix file permissions" from CWM and upon rebooting i'm now able to update and install apps again but still no luck on the PC connection issue ...sigh...:rolleyes:
[HTC One X] chrone:
Care to try this one out for the pc connection issue?

http://xdaforums.com/showthread.php?t=1996051

[ADB/FB/APX Driver] Universal Naked Driver 0.72

Should work on your device.

Sent from my Nexus 4
[HTC One X] Raijin:
Thank you! :good:
[HTC One X] Kodell:
Tried them with no luck, thanks for the help.

After a bit of searching i tried all the tips and tricks listed here and here and when i plug in my phone with just the Samsung USB i now get connection :laugh:

Only strange thing is, using my Samsung galaxy 3 dock, i don't get a data connection still, just the power....
[HTC One X] AuxLV:
I'm very sorry, but Samsung has a lot of broken memory chips in one way or another. At least you did not brickbug your device. And the worst thing is that it is simply impossible to detect hardware issues. Even brickbug detection tools do not give 100% guarantee.

The only thing I can recommend is to reformat all the memory and reinstall everything from scratch. And don't buy Samsung in the future.
[HTC One X] Slomodrop:
I have a Sprint SGS3 LTE 2gb ram on stock 4.1.2 via Sprint's two recent OTAs. Would like to try app, any way to be sure problem the guy above had would not happen on this phone?
[HTC One X] chrone:
don't use this app, or other fstrim/secure erase methods on your phone, then you'll be safe. :)
[HTC One X] Kodell:
Thanks for the advice and the information. After some research, it seems my phone DOES have the memory chips that are prone to brickbug as well as Sudden Death, yay for me. My advice if you have a SGS2 or 3, this app can speed up your phone, just be prepaid for it to also brake it and have a backup.
[HTC One X] wictor1992:
Holy ****! This tool really rescued me.

My GNex already started lagging some months ago. Factory Reset was no option for me, due to time issues, so I lived with it.

Here are my (absolutely insane) benchmark results before/after using LagFix:

I don't know why my device was that slow, a writing speed of 0,45 mb/s is awful. Fact is, the device turns on immediately after pressing the key, instead of taking between 3~10 seconds like before :)

A huge thanks to the developer!

Greetings

wictor1992
[HTC One X] Slomodrop:
Brickbug checker app said my device was unknown if affected.
[HTC One X] chrone:
Well, you could give it a try if you really2 need this. You know the risk. :)

Sent from my Nexus 4
[HTC One X] Sami Kabir:
Hey hi.. I have a Galaxy S Advance and I wanted to try this out... as the OP said that most Samsung devices have this BrickBug issue, so I tried the app that he told to use.. Here's what I get..

So can I use LagFix or not?
[HTC One X] AuxLV:
This is unknown as you can see. Ask Samsung (: I don't recommend - bricking device and buying a new one is not fun.
[HTC One X] aaardvark:
LagFix with full device encryption

I just wanted to add my findings regarding LagFix (or trimming in general) with an encrypted device:

according to hxxp://source.android.com/tech/encryption/android_crypto_implementation.html, the full disk encryption uses dm-crypt (an encryption implementation that's also used a lot on "normal" Linux systems).

Support for using TRIM with dm-crypt was added as an optional feature in the Linux Kernel Release 3.1 (hxxps://wiki.archlinux.org/index.php/Dm-crypt_with_LUKS#Discard.2FTRIM_support_for_solid_state_disks_.28SSD.29, optional because it could be considered a minor information leak: you give away how much free space your encrypted partition has).

Pretty much all current Android releases seem to use the 3.0 kernel release

Therefore, fstrim will not currently work, but may very well be possible in the future.

tl;dr: It does not currently work.

Here's a good analysis on why fstrim on a encrypted device is not ideal from a security perspective: hxxp://asalor.blogspot.co.at/2011/08/trim-dm-crypt-problems.html

Personally I don't care if some attacker manages to find out how much free space there is on my encrypted device, as long as I can keep my data private.
[HTC One X] AuxLV:
Thanks for info!
[HTC One X] Slomodrop:
I have the premium version and my phone hasn't exploded yet.

Sprint GS3 LTE - The People's ROM 3.14 - KT747 - sent from xda premium
[HTC One X] Noiz:
Just had to say thanks for this. My Gnex has been getting slower by the day for months and has been driving me mad for the last couple of weeks. I finally decided to investigate and came across comments pointing to your app. Tried the free version and my phone now runs like it's new!

Needless to say I instantly put down the buck for the premium version and set it to run every night while it's on charge. To be honest I probably could've setup the cronjob myself but what's a dollar for the convenience of it, right?
[HTC One X] AuxLV:
Glad to hear!
[HTC One X] SetiroN:
why don't you add support for /sdcard? internal storage is also affected by write amplification and wear levelling, is it not possible to trim it as well?
[HTC One X] chrone:
if i'm not mistaken, he only has htc one x and nexus 7 devices, and both of them do not support external card. perhaps that is why.

but, he might add the feature later on if it's needed, and yes it is a welcomed feature. thanks for the suggestion! :)

edit:

yeap, i was wrong. haha. my bad. :)
[HTC One X] AuxLV:
There is NO need to TRIM SDCARDs. They use SDERASE which works by default and can not be disabled easily.
[HTC One X] chrone:
thanks for the information! :good:

sorry for assuming you don't have the device with external sdcard to test with. :angel:
[HTC One X] AuxLV:
I never throw away useful old devices (:
[HTC One X] SetiroN:
Yup, figured as much after running the command manually and receiving a funny "NOT A TYPEWRITER" message from the guys at qualcomm.:D
[HTC One X] pcdocta:
Brickbug info for SGS3 T-999

For anyone wanting to try lagfix fstrim on a Galaxy S3 T-999 tmo with eMMc chip:

Type:MAG4FB

Revision: 0xF1

get the gotbrickbug app found in this thread somewhere to get this info for your phone..

I can confirm it worked on my S3. I'm using CM10.1 latest nightly and now its moving like Ive never seen it. Everything is super fast. What prompted me to search for a solution was the "lag" and freezing I was experiencing after I had started using cyanogenmod. At first I was thinking its some sort of bug but man is my S3 now really alot faster. See the image I attached to this post. Even though it shows I have an "Unknown chip" I figured I would would try it out as I was at a point where I wanted to throw my phone out... but...here's what I did as I got the idea from lagfix since this is the method he is using.. I opened the app Terminal Emulator, then type su, to get super user access, then type in command as follows:

fstrim -v /data (hit the enter key) (the -v is for verbose... so you can see on screen what was done)

(here will show how much bytes was trimmed)

fstrim -v /cache

and

fstrim -v /system (I understand this partition does not really need it but I wanted to clean as much as I could)

I tallied up all the "bytes" that were trimmed and it came up close to 10gigs..

then restart phone. the difference is very noticeable and the freezing I was experiencing has stopped..

I hope this helps..
[HTC One X] Narenji89:
Is it required to restart i9300 international after trimming?
[HTC One X] chrone:
Why don't you give it a test with androbench app from gplay before and after the trim. If there's no improvement in both sequential and random write, then a reboot might help. Note that you'll notice small or even no improvement at all if you seldom write-delete-write your storage.

Sent from my Nexus 4
[HTC One X] dollyaja:
Works on all device?

? : sent from my Powerful Sensation with CM10.1 M2 latest build 2013?
[HTC One X] chrone:
Nope. Might brick on buggy emmc.

Sent from my Nexus 4
[HTC One X] dollyaja:
Mmmm, mine is htc sensation, is it safe

Using this app, kinda confuse about this kinda apps sorry

? : sent from my Powerful Sensation with CM10.1 M2 latest build 2013?
[HTC One X] AuxLV:
I don't remember any Sensation user reports.
[HTC One X] Taurdas:
work here on htc desire s.
[HTC One X] jmudrick:
I take it there is some risk to trimming system/? Have not tried it yet on the Nexus 4.
[HTC One X] markop90:
R: [APP] LagFix (fstrim) v1.5.1 2013.03.04

No absolutely. It is disabled by default because in general there is no need to trim /system partition (unless you change(d) rom a lot of time, i.e. a lot of writing on that partition)
[HTC One X] chrone:
I schedule this everyday since often write-delete-writw watched serial tvs and movies. Didn't know how the storage lifespan will be though. Guess i'll be jumping to next moto/nexus/iphone next year. Haha

Sent from my Nexus 4
[HTC One X] kafka7:
Lagfix CM10.1 Issue (solved)

This isn't specific to the One X but this seems to be the go-to thread for Lagfix questions.

I don't know if anyone else on here has had an issue with Lagfix on CM10.1 but if so:

I'm on a VZW Gnex (toro) and Lagfix had been working great right up until Cyanogenmod switched over to Koush's SuperUser, at which point I would get that pop-up error saying my hardware wasn't supported. Nobody else on the forums seemed to be having an issue but a couple other guys I know with the same phone were, so maybe this will help somebody.

The (maybe obvious, in hindsight) solution was to go through ROM Manager, download and re-flash Koush's SuperUser from there and reboot. Then open up Lagfix's app info and clear data/cache, then run. Problem solved. The new CM10.1 nightlies have trim enabled on the data partition, I'm told, but there was still a huge difference after running Lagfix again.

Anyway, if anyone else has been having this problem, there you go.
[HTC One X] AuxLV:
Latest versions of cm has discard enabled for hox, but discard trims blocks after write operations and only blocks which were affected by that write operation. So basically you need to trim the whole partition once to enjoy auto-discard.
[HTC One X] -DarkKnight-:
Works great on my desire z
[HTC One X] lyka:
allwinner A10

Hi,

i have a Mediacom 910i (aka Teclast A10t) which mount an Allwinner A10 SoC.

Apparently it has an eMMC (8GB total - 5,5GB usable) and after about 6 month of use it started to lag:

- wake lag (power button pressed and after 10-30 sec the screen wakes up)

- some delay in opening the apps that uses i/o access (or that are in saved-state)

Using lagfix premium on my Allwinner device i receive on output "fstrim: FSTRIM: Operation not supported on transport endpoint".

i know that the faq explains that not every device supports TRIM but i still have some questions regarding the alternatives (sorry for asking here but i couldn't find the answers):

- how can i check if the rom i use (an unofficial version of CM10) mounts with -discard? I can't find any /etc/fstab in android roms :)

- is it possible that the eMMC which is mounted on /sdcard don't support trim just because it's formatted in FAT?

- is it possible that TRIM is not supported by kernel?

- if TRIM it's not an option, then how can i SD_ERASE or STORAGE_ERASE my eMMC?

- Standing to Wikipedia an SD ERASE will delete all data?