yashsingh1/xdaforums huggingface dataset:
[HTC One X] AuxLV:
Re: [APP] LagFix (fstrim)

Yes, your controller does not support trimming. You don't need this app (:
[HTC One X] oddyZR:
Hi,

On my HTC One X I am running ViperX 3.2.4 JB on default kernel which comes with this custom rom.

In Antutu benchmark, I got Database IO of 550 before run fstrim, and after run it, I have restarted it, in Antutu I get again the same result of Databes IO of 550.

LagFix is v1.1
[HTC One X] TAGTRAUM:
Device One X ViperX 3.2.4

But I can't say about decreased or increased performance, seems same level :cyclops:
[HTC One X] currydude:
Re: [APP] LagFix (fstrim)

Yeah, that's as fast as the hardware can physical go, this app is used to bring performance back to that when you've installed a lot of apps and/or nearly filled up available space.

Compare your sequential write to op
[HTC One X] backfromthestorm:
Thanks, works great.

Sense btw.

Ive made a flashable zip to trim data and cache from recovery if anyone needs that pm me. Might be useful after flashing loads of mods at once or transferring to/from sd.
[HTC One X] AuxLV:
Antutu does NOT perform tests on /data partition, only on /sdcard. They have different file systems and perform differently. LagFix also won't do anything if you did not fill /data enought to cause lags - there is nothing to trim yet.
[HTC One X] dosmac:
I tried running with just "fstrim -v /" and it gave the same typewriter error. I tried /data/data and /dev/block/ etc nothing works just typewriter error :( The only thing that works is typing fstrim gives me syntaxes :D
[HTC One X] AuxLV:
You can use CCTools to compile simple console C apps right from your device to find out what may help you. I used it to compile fstrim right on my Nexus 7 (:

But it looks like your memory does not support trimming, so you're out of luck. I'm sorry.
[HTC One X] dosmac:
Thanks for the help. Looks like I'll be trashing my phone, then. Stupid things last a year then break, ALWAYS. Kind of annoying..
[HTC One X] AuxLV:
Buy Nexus device next time (:
[HTC One X] xaueious:
Maybe you need to add in kernel version (2.6.33+?) and file system detection support before making it available to older devices.

Many older devices run a combination of 2.6.29 (our beloved Acer Liquid) and yaffs2, especially on Android 2.2.

I ran this on a G1 for the lutz, and it didn't work.

Your app should do root detection before running the actual script. It displays an error message when root is granted for the first time: http://code.google.com/p/roottools/wiki/Usage
[HTC One X] AuxLV:
Re: [APP] LagFix (fstrim)

I already disabled some devices in market, but it is impossible to tell until users report their experiences. Market does not detect kernels and memory types (:
[HTC One X] alexflash:
I've just installed stock 4.0.4 rom, and your app works fine! I'll test results and then I'll write the conclusion

P.S. Now I have great perfomance. I think, I need to use device for 1-2 weeks and write again
[HTC One X] AuxLV:
Re: [APP] LagFix (fstrim)

One more thing, guys. Maybe someone wants to make translations to other languages?
[HTC One X] markop90:
R: [APP] LagFix (fstrim)

I could translate it in italian :)
[HTC One X] bomba6:
Thank you very much!

I just installed this on my painfully slow Galaxy Nexus with CM10.1, and it is now amazing fast as it should be.

And I didn't even had to reboot!

Thank you so much for that!
[HTC One X] celtic_frost:
this app is the real deal. my phone had a serious boost. many thanks :good:
[HTC One X] Braneless:
How are you guys verifying your results? I have found Androbench to vary greatly from test to test, even without running ftrim or doing anything else.

I've actually had my benchmarks decrease after running LagFix and it has me wondering if the app is doing anything or if Androbench just sucks.
[HTC One X] xzero425x:
Galaxy nexus user here. Should I click system also before hitting run? I ran it once before and said finished in like....5 seconds
[HTC One X] chrone:
It's up to you. All is good.:)

Sent from my Nexus 4
[HTC One X] Maxr1998:
One quick question: My friend's Nexus 7 is lagging extremely, and he can't update to 4.3. Now I think I could root it with the exploit and then use your app, now my question is, if he can update after it with OTA?
[HTC One X] chrone:
OTA update only works if you are all stock, no modified rom/kernel/system/recovery/etc. Since you rooted the phone, chances are you already using custom recovery, then you need to flash the ota package via custom recovery such as CWM manually in order to make successful update. Easy as pie. :)
[HTC One X] Maxr1998:
No, it isn't rooted by now, and i would root it by a version of dOOmlord's rooting exploit for nexus 7, without unlocking bootloader...
[HTC One X] chrone:
Unlocking bootloader only will not prevent you to install OTA update successfully. :)

Sent from my Nexus 4
[HTC One X] Maxr1998:
I know, bcause of this II want to know if this app does change system heavily and prevent from updating OTA
[HTC One X] fozzie:
NVM.
[HTC One X] chrone:
as far as i know, this app does put fstrim binary in /system/bin and ota update only checks changes in bootloader, /system/build.prop and recovery. since i'm using custom recovery (cwm), chance is the OTA update .zip will be available faster from xdaforums.com thanks for the community sharing -instead of official one- hence flashing the ota .zip package using cwm recovery is way much faster and less hassle if we have modified the overall stock system.

i might be wrong though. have to check some guides first. will update later once i get more information. :)

update:

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

this is on nexus 4 devices, but the method perhaps the same on any nexus devices out there.

since lagfix is not a system app, i guess it's safe to say it will successfully install OTA update. correct me if i'm wrong.
[HTC One X] jordanishere:
If you have a nexus device, this app isn't needed, as nexus devices are on 4.3 with fstrim built-in.

Just flash the factory images in fastboot mode. That's the best part of having a nexus

Sent from my Xiaomi MI2S
[HTC One X] AuroEdge:
Does this app have beta testers and/or a beta version? Last update was March correct?
[HTC One X] fozzie:
No, no & yes.

What are you looking for in a newer version?
[HTC One X] john.smith.gam24:
Thank!!

Thank you very much ... works great
[HTC One X] AuroEdge:
Seems like most of the desired features are already there. Bug fixes are what I am looking for, for the paid version. Maybe the free version too
[HTC One X] fozzie:
You say "most" features; what other features are you looking for? Does the Dev know?

What bug fixes? I'm not seeing any issues on my paid version.
[HTC One X] itenos:
Hi, I just got myself a new Nexus 7 2nd gen trading in my old one. Is this app compatible with the new one's memory chip or do I risk bricking the device?

I know that Android 4.3 has fstrim already built in but as I pointed out earlier the restrictions that Google applied to actually run it makes a manual run still necessary. At least on my Nexus 4 and my old Nexus 7 fstrim never showed up in logcat.
[HTC One X] chrone:
Haven't read anyone tries it on n7 2013 yet, but i guess it's safe since 4.3 already supports it. :)

Sent from my Nexus 4
[HTC One X] Anderson2:
I have it set to automatically trim several times a week. Works great with no problems.
[HTC One X] AuroEdge:
If BrickBug functionality could be built in that would be advantageous. For bug fixes I'm not sure what all the author knows about or is fixing, the one I know about is the scheduler time input is wrong. It's a little weird how it works as well with an install button and then uninstall for scheduler.
[HTC One X] fozzie:
Not sure what you mean as the scheduler works fine here.
[HTC One X] jordanishere:
The scheduler was supposed to run for me today at 230pm but for some reason it failed. I have it set to run each day at 1430 hrs.

Sent from my Xiaomi MI2S
[HTC One X] panfiluta:
I can confirm that LagFix dont work on data partitoon with enabled Phone Encryption in ICS. Without encryption it works fine.

HTC Desire S - Fallout ROM
[HTC One X] AuroEdge:
The display is wrong e.g. I put 0500 and it shows 5 0. A couple posts ago a user said it didn't work for them. Really the scheduler should be redone, it is sort of weird how it works. I would mimic how the 4.3 alarm clock scheduler performs.

I realize these are minor issues, assuming behind the scenes everything is working properly and not breaking anything in the OS or hardware.
[HTC One X] RmatriX1218:
Is it safe to use this app on HTC Incredible S?

My current ROM and kernel details are

http://xdaforums.com/showthread.php?t=1996570
[HTC One X] jordanishere:
Read the thread and find out. If your device originally shipped with gingerbread, probably not.

Sent from my Xiaomi MI2S
[HTC One X] shahtheass:
Galaxy Tab 3 8.0

Sorry for asking a noob question. ?... ut does this work with the new tab 3 8.0.... it is running on jellybean 4.2.2 stock firmware with a rooted kernel.

Thanks in advance
[HTC One X] SKAm69:
Not working on HTC myTouch 4g Slide CM10.1
[HTC One X] moosc:
No luck on vzw lg g2 :(

Sent from Bad Azz VZW LG G2 Cyan Tapatalk
[HTC One X] pgrvloik:
Thanks, but looking for paid version for SGS

Hi,

Thanks a lot for this great app that seems to have fixed the lags I was experiencing on my old Galaxy S (using CyanogenMod 10.1.2).

However I'd like to use the paid app and Google Play sais it's NOT compatible with my phone, when it obviously is... (I had to download the free .apk from the link in this forum).

Is there any way I can get the paid app for my SGS?

Pat
[HTC One X] arana1:
something weird i have used it on 3 droid bionics with stock (rooted) 4.1.2, and worked perfectly, today i tried with another one and it says it cannot run on DATA or CACHe (nor system either), i have reset to factory, clean install from RSD (FXZ ROM), and it still wont let me, i did the same as i did with the other 3 bionics so i know its not a kernel issue (also tried from an AOKP ROM 4.2 milestone 2), what could be the problem???
[HTC One X] fozzie:
What was the error?
[HTC One X] jmarcnms:
2013-10-05 11.26.44.png

Hi !

Have discovered that tool recently but checking the thread & other screenshots i wonder if it is actually working on my Intl GT-i9300..

As you can see on the screen capture, fstrim output just says "partition was trimmed" but it doesn't show any detail on how many bytes where trimmed.. it just runs and exit, pretty quickly, and will not report anything else.

Is that normal? Is trim aborted for some reasons?

Cheers!
[HTC One X] arana1:
says lagfix cannot run on DATA or CACHE partitions, in the other bionics i used it on it only gave me that message for SYSTEM, but data and cache were done fine, now in this one it does not want to fix any of the partitions.
[HTC One X] jmarcnms:
No idea?
[HTC One X] FReaKRaNT:
I bet he is glad to have your input bud.

Cheers, FReaKRaNT
[HTC One X] arana1:
any idas what migth happen here? just yesterday i did another bionic and in this one lagfix does work, they both have the same 4.1.2 stock rom (one updated from 2.3->4.0->4.1 OTA the other flashed with FXZ stock 4.1 using rsd. (both rooted of course), and it really makes a difference after running , so im sure it should work , unless the hardware is different in the 2 same model bionics (which i doubt)
[HTC One X] MountainX:
Nexus 4 with serious lag problems. Here are my results:

sequential write:

2.5 MB/s

before LagFix

----------------------------

sequential write:

10.15 MB/s

after LagFix before rebooting

----------------------------

sequential write:

9.32 MB/s

after LagFix after rebooting
[HTC One X] lujosh87:
please help. I ran this app on my htc one xl with data and catch checked and it finished in a few seconds. I ran the app a few weeks later but with system also checked and it took a long time so I just left it to do its work. I checked back later and the screen would not turn on anymore. I does not do anything when I try a hard reset. There is no charging light when I plug it in to charge, it says device driver could not be installed when I plug it into the computer. The first time I ran the app the phone was on Cyanogen mod 10.1.3 rc2 the second time I ran it was on 10.1.3 stable. Under device manager it is called QHSUSB_DLOAD. Any help would be greatly appreciated
[HTC One X] arana1:
i finally was able to run lagfix in this bionic, i was doing another one, and i needed the battery from the one that it didnt run on (i was stuck on fastboot with no charge and an interrupted flash lol :P) well turns out i tried it with the data cable plugged in and in media device or usb mode turned on (dont remember wich one), of course it didnt work as storage was locked by PC i supposed) so i unplugged, but it popped a message that was a hardware or kernel problem so it would not run, i didnt give up, i just did another bionic and it DOES work but my data and cache checkboxes were now disabled, so i went to apps and cleared lagfix app data, tried again, again and now superuser permission window popped up i granted access, but ...nothing, it disabled them again,i noticed it lasted very long between the time i gave permission and the message saying it wouldnt work on cache or data, so i supposed it was a timeout issue, i rebooted, cleared lagfix data, made sure it was added on SU app before running to avoid timeouts, this time it went FINE, rebooted all working perfect, trying to make sure i uninstalled and removed from SU,

run rebooted, installed again, tried to run, SU popup for permission, i gave it root perms, and it worked fine, somehow the LAG was causing the app to timeout (or at least thats what i assumed, since with that method it worked) now it works normally.

so i can confirm it DOES work on all bionics 4.1.2JB.
[HTC One X] gelo01:
Correct me if i'm wrong, but i think it hard bricked your phone. :(
[HTC One X] davidvooo:
suddenly freeze after lagfix!!!

how to I delete lagfix/recover to before lagfix??
[HTC One X] fozzie:
The same as any other app i.e. uninstall it.
[HTC One X] davidvooo:
the nonedht

but why I using after lagfix will freeze randomly?
[HTC One X] hasan4791:
LG Optimus G E975 Intl variant...confirmed working..tried triming /system, /data and /cache...:good::good:

So cool app...ya i can feel little improvement..

---------- Post added at 05:42 PM ---------- Previous post was at 05:39 PM ----------

HighSpeedUSB mode..I think its hardbrick...some can confirm this...??
[HTC One X] Miki800:
can someone please explain to me why would I need this?

I have some bad blocks on my external sd card, I would love to be able to mark these blocks as "USED" once identified

so that no future files would get their nodes allocated on these bad sectors

trimming which sounds a lot like 2 dimentional shrinking also sounds much less sophisticated, at least by it's name

does it only resize a partition from END_OF_PARTITION_OFFSET to lets say END_OF_PARTITION_OFFSET - 33554432 ?

I don't really get it, I don't really understand what it does and what it's used for

would it be able to help me?

I think I got stumbled on bad sectors in the middle of my 32G SDHC micro sd card

I wouldn't want to disregard the remaining 16Gigs of that card, is this really what this project suggest that I'll be doing?

I appreciate relevant responses and explanations.
[HTC One X] fozzie:
http://www.unix.com/man-page/all/8/fstrim/
[HTC One X] AuxLV:
Trimming works virtually like defragmentation. SD cards do not support trim. Use PC software to fix your SD card.
[HTC One X] dinos3:
Does it work on S2?
[HTC One X] gpzbc:
Any word on the update? Thanks for your work. I appreciate this app.
[HTC One X] AuroEdge:
If you decide to update the paid app, will you include a function that checks to see if Android OS performed TRIM and disable the LagFix scheduler for that day?
[HTC One X] djp952:
Just wanted to chime in that I built a one-off fstrim binary for my Galaxy Tab 2 (10.1) and it worked wonders for my tablet. I get about 8-10 days before my tab goes to crap, and executing the FITRIM ioctl against /data and /cache (and rebooting) absolutely cures it, just as expected.

I never tried executing an fstrim until after the final Android 4.2.2 update, so while I can't speak for potential brick problems with earlier kernels/ROMs, I highly recommend making this app available for installation on the Galaxy Tab 2 series of devices in the Play Store. At the moment, it comes up as "incompatible with your device".

Nice work; it's much easier to execute the TRIM from an application like this rather than dropping to a terminal to do it :highfive:
[HTC One X] cobra11111:
Works on S4 device?

Gesendet von meinem GT-I9505 mit Tapatalk 2
[HTC One X] mw86:
Works on my S4 gti9500 and my friends SPH-L720 GS4 LTE.
[HTC One X] lexluthor:
Been running using defaults on my Verizon gs3 and it seems to help a bit. Is it safe and will it help more if I check /system too?
[HTC One X] ridingshark:
Samsung Galaxy I9070P

Hy,

thanks a lot for this great solution.

It definitely works - i had time outs and freezes 3 - 4 times a day.

Now everything is smooth again, flawlessly.

My device:

Samsung Galaxy Advanced GT-I9070P (NFC) - with official ROM 4.1.2 XXLPE (German) and Kernel 3.0.31-1165456.

I guess that it makes sense for devices with less memory like mine (750 MB).

I also tried to use "Seeder", it also worked for me, especially when on WIFI, but now i dont need it anymore - lets see how long until next usage of the App.

By the way, when it is finished, i do not have a message with the amount or size of blocks - it just says "finished" and it is very fast (2 seconds). Is that behaviour correct?

It must work, as device is remarkable faster without lag since yersterday - so it cannot be a placebo effect.

Kind regards and thanks

R
[HTC One X] arana1:
lol, what is your country?

and btw

Thank you for the app , didnt find a thank button nor do i need the pro version, so ill just hit the donate one :P, it really made a difference in some of the phones i have tried it on, you can add droid bionic to the list of devices this works on (system, data and cache sweeet)
[HTC One X] hafizam:
I run lagfix on my device . but evry time i run this app always said not saported . why ? Anyone can help me ?
[HTC One X] drewski_1:
maybe this prone to bricking issue?

http://xdaforums.com/showpost.php?p=37084856&postcount=192

it's also mentioned at the top of the FAQ

http://xdaforums.com/showpost.php?p=37029420&postcount=122
[HTC One X] hafizam:
Thanks babe ;)
[HTC One X] zooster:
Will this app work on HTC Sensation?
[HTC One X] hova1888:
I use this app my Sensation, ROM Revelation 1.0.3 (ROOT!)
[HTC One X] parsifal968:
work with asus memo pad hd 7? they need it?
[HTC One X] clarkg:
Feature request

Hi, could you add a setting to configure whether LagFix notifies when trim is performed? I schedule it to run at 3:00am, and really don't want to see it in the notification bar in the morning. I would rather have the option to have it silently do its job.

Otherwise... great app, and I'll give it 5 stars if I can turn the notifications off.
[HTC One X] nereis:
Why not just uncheck show notifications in app info?

Makes sense and never thought of it myself, might as well do it for my own device now.
[HTC One X] AuroEdge:
OP wrote a while ago an update was to be shortly released, relatively speaking. Is this project sort of in limbo or is it turning into vaporware?
[HTC One X] Anderson2:
Huh? Where is that setting?
[HTC One X] Braneless:
System Settings > Application Manager > Lagfix: uncheck "show notifications"

I think this was introduced in ICS or JB.
[HTC One X] nereis:
it's the android app list where you get to see app info and uninstall apps.
[HTC One X] Anderson2:
Thank you both. I was looking for it in the app's own (non existent) settings. This is cool. I have other apps I need to silence :)
[HTC One X] denzel09:
Hi, free version works like a charm on my lg L9, but premium version instead give me the error:

$list$

Kernel problem etc etc

But both are same 1.5.1 version. So is there a fix?
[HTC One X] AbhishekS:
Will this work fine on the Galaxy Nexus running KitKat?
[HTC One X] chrone:
I guess it will. Running flawlessly in Nexus 4 KitKat 4.4.1. :)

Sent from my Nexus 4
[HTC One X] hanschke:
I dont think we will see an update :(
[HTC One X] AuroEdge:
This is an accurate statement. I've asked about updates before and response from OP was nonexistent. Oh well
[HTC One X] WarBorg:
I have read that the fstrim command that is application does was included in jellybean 4.3 to run once every 24 hours approx, so is this app still needed ? I also could not find if this is still the case with kitkat 4.4 ...
[HTC One X] mcrfreaker:
Found this thread and just wanted to inform you, I'm using Galaxy Grand DUOS GT-I9082. Got update yesterday for UBMK7. And the phone is laggy as hell :(

Try this app and voila! work flawlessly. my phone smooth again. I don't know why but thanks for creating this awesome app :) :good:
[HTC One X] cloud_strife84:
Hi guys, do you know why cyanogenmod 10.2 is not compatibile with lagfix???
[HTC One X] devil-kin:
I've been using it for ages on cm10.2, without problems...
[HTC One X] Delingerb:
need some help

Hello I have a xperia acro s I was use lagfix and my phone shut down and dont go on again, no led of charging and pc only read like semc flash tool fail too. any idea?
[HTC One X] arana1:
is it a replacement rom ? or are you using safestrap slot? lagfix will not work on a safestrap in my own experience (since the slot roms are not really using the real file system) but if that is the case use it on your stock rom slot , results will be same and it will even speed up your other rom slots. (i have cm 10.2 in one slot but to run lagfix i just boot from rooted stock slot jb 4.1)
[HTC One X] cloud_strife84:
What do you mean??? I have cm 10.2 stable for my galaxy nexus maguro and franco kernel. But lagfix doesn't work
[HTC One X] djangosteen:
It works great on my LG P705 running CM10.2. At first i didnt even hoping too much. But it did fasten my device. Kudos to dev. :D
[HTC One X] JulioQc:
Hello,

I'm not too sure about this. Will it work on a SGH-i717 (Galaxy Note) running JB 4.1.6 (stock ROM)? I read at some places the Note is bugged, some other say its fine with JB, and the brickbug app says its *PROBABLY* safe... Could someone clarify this for me? so I don't end up with a dead phone!

Thanks
[HTC One X] klau1:
+1
[HTC One X] Agent 47:
Thanks for 50% sale...:highfive: Can't wait to test it now...:D
[HTC One X] ReeX:
Any worth it giving a try to this app on a Samsung Gakaxy S2 with JB? Any corruption risk?
[HTC One X] msgreenf:
I have a RAZR MAXX. Any way to force it to TRIM to system partition?
[HTC One X] AuxLV:
SGS is prone to brick bug. You either brick your device forever or LagFix won't work at all.
[HTC One X] AuxLV:
Most probably your system partition is read only. And since it is read only, it does not need trimming.
[HTC One X] Marx2:
1) Not all SGS2 has BrickBug (you mean BrickBug detected by eMMC check application, yes?)

2) The problem is avoided on JB ROMs, right?

3) AndroBench says my SGS 2 has random write 0.22MB/s. So i think it would need trimming.
[HTC One X] AuxLV:
eMMC check is not 100% proof. New ROMs solve this problem by blocking trim command in kernel on every device, so LagFix will report that command is unsupported and will do nothing.
[HTC One X] denzel09:
I have emmc on moto g. Is it sure to use this app on this or i can brick my phone?

Thanks
[HTC One X] AuxLV:
No one knows until someone tries.
[HTC One X] insanelycool:
is it possible to trim secondary partitions like one made for linking files with Link2SD?

edit: The best method as I understand it is just to back up all the sdcard files onto a computer... reformat, repartition, copy files back. Surely there is a better way to do this?
[HTC One X] AuxLV:
SD cards do not support trim. I don't know what to do with them, sorry.
[HTC One X] Anderson2:
Is lagfix safe to use on a rooted Nexus 5 running stock 4.4.2?