Jump to content

[ALL] [MOD/Other] Disable/Enable *SWAP *zRam *Fstrim


Recommended Posts

Guest painteramit
Posted

can I enable / create swap on lewa os v5?

Guest SH3H1
Posted

can I enable / create swap on lewa os v5?

Only if the kernel supports swap ;)

Greetings

Guest EmaGiampa
Posted

Is it possible install that script without a modified recovery like clockwork or TWRP?

Guest EmaGiampa
Posted

can I enable / create swap on lewa os v5?

If you want be sure, install from Play Store MemoryInfo-SwapCheck by Rohesoft International. It's free and will test your kernel if support swap.

Guest ferongr
Posted (edited)

Is it possible install that script without a modified recovery like clockwork or TWRP?

Open the archive and copy 77fstrim to the /system/etc/init.d/ directory. Make sure the file has -rwxrwxrwx permissions. Reboot. You should see a trim.log file in /data.

EDIT: This assumes your Android installation has init.d support enabled. Stock roms usually don't have that but there are root-requiring apps and scripts enabling that (you don't have to flash a kernel).

Edited by ferongr
Guest EmaGiampa
Posted

Open the archive and copy 77fstrim to the /system/etc/init.d/ directory. Make sure the file has -rwxrwxrwx permissions. Reboot. You should see a trim.log file in /data.

EDIT: This assumes your Android installation has init.d support enabled. Stock roms usually don't have that but there are root-requiring apps and scripts enabling that (you don't have to flash a kernel).

-rwxrwxrwx permissions? Sorry?

Guest ferongr
Posted (edited)

File permissions. The file should have Read/Write/Execute permissions for all users. A root filemanager like ES can set them or you can input

su
chmod 777 /system/etc/init.d/77fstrim
in a terminal emulator. su so the terminal gains superuser permissions and the chmod command sets the necessary permisssions on the target file. Edited by ferongr
Guest EmaGiampa
Posted

File permissions. The file should have Read/Write/Execute permissions for all users. A root filemanager like ES can set them or you can input

su
chmod 777 /system/etc/init.d/77fstrim
in a terminal emulator. su so the terminal gains superuser permissions and the chmod command sets the necessary permisssions on the target file.

 

very thanks

Guest porozex
Posted

can you create a swap on cache script with 150mb? i tried to edit the 128one but after that the script dosent work :S

Guest EmaGiampa
Posted

can you create a swap on cache script with 150mb? i tried to edit the 128one but after that the script dosent work :S

What's the error? Invalid Argument?

Guest porozex
Posted

yeah now is working thx ;). i write in the script 150000 thats why it didnt work

  • 4 weeks later...
Guest krusty999
Posted

How about 4 swap files in parallel?

 

RPQHzmq.jpg

Guest Victod
Posted

How about 4 swap files in parallel?

 

RPQHzmq.jpg

 

No se que quieres demostrar pero es bastante obvio que has editado la imagen del resultado de AnTuTu Benchmark... 

 

4yna6e4a.jpg

Guest porozex
Posted

No se que quieres demostrar pero es bastante obvio que has editado la imagen del resultado de AnTuTu Benchmark... 

 

4yna6e4a.jpg

it isnt edited. is the new look of the score after latest update of antutu

Guest krusty999
Posted

No se que quieres demostrar pero es bastante obvio que has editado la imagen del resultado de AnTuTu Benchmark... 

 

4yna6e4a.jpg

 

What I want to show is that of 7200 initial points up a few points with this script. And the picture is not edited.

Guest Victod
Posted

it isnt edited. is the new look of the score after latest update of antutu

 

What I want to show is that of 7200 initial points up a few points with this script. And the picture is not edited.

 
New design??
 

Oops! 

 

Sorry  :blush: I didn't know

  • 4 weeks later...
  • 2 weeks later...
Guest noobSU
Posted

When swap partition get full. It lags like hell :( Nothing i can do to clear it?

Guest Victod
Posted

When swap partition get full. It lags like hell :( Nothing i can do to clear it?

reboot.

Guest noobSU
Posted

reboot.

I know that. But nothing without a reboot?
Posted

Hi

Is possible to disable ZRAM without create a SWAP file ?

Benefits?

Thanks

  • 2 months later...
Guest KOUROSHKTKK
Posted
  • Disable zRAM

Download this file and install it by recovery.

 
or
Download this file and put it in /etc/init.d folder, then set the right permissions after this, restarts to apply changes.
 
 
  • Disable zRAM Disabler

Disable zRAM Disabler.zip

_____________________________________________________________

what is that O-o which one disable zram finnaly disable zram disable or 09dis-zram

Guest LotR656
Posted

Please, read closely!!! If you dont know language use Google translate. One disable zRAM, other one enable it.

  • 1 month later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.