yashsingh1/xdaforums huggingface dataset:
[Sony Xperia T, TL, TX, V] nreuge:
No problem for me... Just comment out the line with a # if you don't want of it.

No, it's not a problem. In case of duplication, only the last line is taken into account.

Download this app from the playstore, you'll get a reliable value of entropy.
[Sony Xperia T, TL, TX, V] sinnadla:
I already installed

Just the script doesnt autostart despite autostart version

So if i use, i should input command through terminal emulater

Sorry for english
[Sony Xperia T, TL, TX, V] nreuge:
Well, install SManager, select your script in SManager, set it "su" and "boot" and save the script setup.

Reboot and it should work.
[Sony Xperia T, TL, TX, V] sinnadla:
All of them?...

I dont know what script adapted and what script not adapted

Plz check some necessary script

Sorry for english
[Sony Xperia T, TL, TX, V] nreuge:
You can activate all the scripts. Anyway, always do an CMW backup before.
[Sony Xperia T, TL, TX, V] Steven How:
Nreugn,is the crossbreeder disable default by u? When I try disable it says invalid :confused:

Send from my NTT Docomo Xperia AX SO-01E
[Sony Xperia T, TL, TX, V] nreuge:
No buddy, it should be fully operational.

I can disable or enable CrossBreeder without any error.
[Sony Xperia T, TL, TX, V] davidment:
Thanks, I'll try it.
[Sony Xperia T, TL, TX, V] nreuge:
Thread updated with minfree settings.
[Sony Xperia T, TL, TX, V] WhiteNeo:
Just wondering.. Won't that low minfree values cause lag in certain circumstances?

EDIT: Having zero lag and zero app redraws with these values:

#echo "0,1,2,4,7,15" > /sys/module/lowmemorykiller/parameters/adj

echo "1024,2048,4096,8192,12288,16384" > /sys/module/lowmemorykiller/parameters/minfree

Credits go to the dev of System Tuner :)
[Sony Xperia T, TL, TX, V] nreuge:
Your values are close to the default ones of PurePerformances X. I had redraws with them.

With my low values, I've no redraw and don't notice any lag.

That beeing said, I suppose that the best values for someone can be bad for someone else. It may depend on the apps that we use, the number of apps that we use regularly, the number of background active apps, etc, etc...
[Sony Xperia T, TL, TX, V] WhiteNeo:
Probably, yes.. I'm using pretty many of background apps however.. Tasker, Greenify, the big fat Honami keyboard, etc :D

Well.. It off course also depends on the amount of multitasking you like. I usually use maximum 3 apps at the same time ;)
[Sony Xperia T, TL, TX, V] nreuge:
Thread updated with better minfree values.

There are indeed some lags with the too low values. I've found better ones that are good for me :

1536,2048,4096,6144,9216,13312 (intermediate between the low ones and the PurePerformances X ones)

No redraw and no lag :D
[Sony Xperia T, TL, TX, V] WhiteNeo:
Sounds good :D

Btw, is the CrossBreeder entropy generator working for you?

I have noticed that my entropy is still increasing only very slowly :o
[Sony Xperia T, TL, TX, V] nreuge:
It works fine for me. Most of the time around 4096, sometimes decreases to 3000 but then rapidly increases and stabilizes around 4096 (in 2 or 3 seconds).
[Sony Xperia T, TL, TX, V] WhiteNeo:
Strange.. Increasing only by 100 in 2sec for me. :eek:

This will have to change, what can I do? :D
[Sony Xperia T, TL, TX, V] nreuge:
Throw your phone in the fire, it will generate a lot of entropy!!! :D

No, seriously, I don't know...
[Sony Xperia T, TL, TX, V] WhiteNeo:
Haha, alright. :DD

Will try reflashing Pure Performances X tomorrow.. If I still remember by then ^^
[Sony Xperia T, TL, TX, V] nreuge:
Update 25/10/13

Updated §7. Tuning the minfree settings, Better minfree settings. :)
[Sony Xperia T, TL, TX, V] qubbus:
Try .141 FW kernel. It is really better.
[Sony Xperia T, TL, TX, V] nreuge:
Thanks, but I'm happy enough now with my tweaks...
[Sony Xperia T, TL, TX, V] WhiteNeo:
So.. What tweaks are you exactly using right now? Only Pure Performances X?

Or also the updated CrossBreeder?
[Sony Xperia T, TL, TX, V] nreuge:
CPU governor : msm-dcvs

I/O scheduler : noop

Scrolling cache disabled

PurePerformances X with my personalized add_to_buildprop_1

Minfree settings : 1536,2048,4096,6144,9216,20480

I didn't mean that I'll not tweak anymore, don't worry ;)

But all these tweaks makes my user experience much better :)
[Sony Xperia T, TL, TX, V] WhiteNeo:
Ah, alright :)

You know, I have flashed a new Rom and now I'm wondering about the tweaks I should apply.. :p
[Sony Xperia T, TL, TX, V] nreuge:
Maybe best is keep it tweak-free for a while...
[Sony Xperia T, TL, TX, V] WhiteNeo:
Agreed.. Feels pretty damn smooth anyway :D
[Sony Xperia T, TL, TX, V] tiftek:
On xperia T with miuiv5 before using pureperformance x i have 300mb free ram and now i have 400-500mb?
[Sony Xperia T, TL, TX, V] nreuge:
Good, but be aware that there are pros and cons to have more free memory.

With low free memory, many sleeping apps that you have used before are kept in memory and will be reactivated faster when you re-use them.

On the other side, with a lot of free memory, apps that you have not yet used will be lauched faster because the system doesn't need to kill sleeping apps first to free memory.

So, it's not so simple...

That beeing, said, I have about 250-300Mb free memory with my settings, and I think that's a good balance.
[Sony Xperia T, TL, TX, V] devilmaycry2020:
[MENTION=5231789]nreuge[/MENTION]

why in add_to_buildprop_2.sh have some 2 same code line ? such as

dalvik.vm.verify-bytecode=false
dalvik.vm.execution-mode=int:fast
dalvik.vm.execution-mode=int:jit

And the order of code line have different effect or not ?
[Sony Xperia T, TL, TX, V] nreuge:
Good questions!! You can delete dalvik.vm.execution-mode=int:fast

Anyway the 3rd line overrides the 2nd one.
[Sony Xperia T, TL, TX, V] nreuge:
Important update (27/10)

[MENTION=5122093]WhiteNeo[/MENTION]

[MENTION=343021]TiMiN8R[/MENTION]

[MENTION=5180168]exeon[/MENTION]

[MENTION=2840195]jewkhok[/MENTION]

[MENTION=3844251]josephnero[/MENTION]

[MENTION=5014436]Leo[/MENTION]

[MENTION=3849535]Yenkazu[/MENTION]

[MENTION=3954488]Steven How[/MENTION]

[MENTION=3041732]Phoenix-Lead[/MENTION]

[MENTION=2306721]eybee1970[/MENTION]

[MENTION=4534334]Pollie81[/MENTION]

[MENTION=4941499]sinnadla[/MENTION]

[MENTION=5238883]devilmaycry2020[/MENTION]

Important update (27/10) :

After deeper investigations, I've realized that the executable sqlite3 (databases defrag) provided by PurePerformance X is not working at all. I'm attaching a good sqlite3 for JB that is working fine. Extract sqlite3 from the zip, copy it in /system/xbin with Root Explorer and set all permission.
[Sony Xperia T, TL, TX, V] WhiteNeo:
What do you mean with "not working at all"?

Does it cause corrupted data? :o
[Sony Xperia T, TL, TX, V] Yenkazu:
It's mean sqlite binary doesn't compatible with our device

Yes, it can cause "segmentation fault" and may lead an corrupted .db on our device
[Sony Xperia T, TL, TX, V] nreuge:
Nothing so bad I think, the system simply can not launch it and displays "error blah blah blah".

The attached sqlite should works fine, I've tested it without any problem.
[Sony Xperia T, TL, TX, V] Yenkazu:
Which sqlite3 version do you used ?

Mine 3.7.11, 2012-03-20
[Sony Xperia T, TL, TX, V] nreuge:
The one of PurePerformances X, I don't know, but it was manifestly a old version (size: only 24Kb).

The new one I've attached is 3.7.11 (size: 36Kb).
[Sony Xperia T, TL, TX, V] exeon:
Is it better to use the newer version? :confused:
[Sony Xperia T, TL, TX, V] nreuge:
Yes, the old version does not work...
[Sony Xperia T, TL, TX, V] exeon:
May I ask where should I place the sqlite3? /system/xbin?
[Sony Xperia T, TL, TX, V] nreuge:
Yes, and set all permissions.
[Sony Xperia T, TL, TX, V] nreuge:
What updated CrossBreeder? It doesn't seem to have been updated.

Btw, PurePerformances X is basically Crossbreeder + Thunderbolt + Minfree settings + several buildprop tweaks.

I don't like the way sqlite and zipalign are automated by this mod. Actually, they are launched by a counter every 5 and 4 reboots respectively. It does not make any sense since 4 or 5 reboots can been made in one day for a user and one month for another user!!! A much better solution exists : delete these scripts from init.d, take the orginal scripts sqlite and zipalign from thunderbolt (without counter), create a directory in /system/, copy them into it and schedule them with SManager. I've scheduled zipalign everyday at 4:00 am and sqlite every week at 4:30 am.
[Sony Xperia T, TL, TX, V] WhiteNeo:
I thought PPX is using CrossBreeder 5.???.. And in the CrossBreeder thread they already use 7.???
[Sony Xperia T, TL, TX, V] WhiteNeo:
Just noticed that Crossbreeder development was ceased because of terroristic activities against the dev.. Oo
[Sony Xperia T, TL, TX, V] joonlin:
Sorry. I don't understand. Where to create init.d script for minfree? And I'm using PurePerformances X, I try go to /system/etc/init.d/ ram_optimize and edit the value then reboot but can't work.
[Sony Xperia T, TL, TX, V] nreuge:
It seems you have troubles with your init.d support. I had troubles with this too, sometimes worked, sometimes not, some scripts worked, some others not. You can use SMannager to launch your scripts at boot (see the thunderbolt thread, it explains how to use it).
[Sony Xperia T, TL, TX, V] Steven How:
Nreuge,i tried both min free value, both enable me to do some like multitask..but after opening a lot of app the phone slow down..which would cause a 2-5 sec delay,do u think is ram not sufficient enough? Atm I got around 180mb free ram

Send from my NTT Docomo Xperia AX SO-01E
[Sony Xperia T, TL, TX, V] peter-k:
When is that? Right after booting up or after normal using the device for a while?
[Sony Xperia T, TL, TX, V] Steven How:
Most of the time,after reboot..or on normal use..i try to move it higher and it get smooth abit then later it lags again..

Send from my NTT Docomo Xperia AX SO-01E
[Sony Xperia T, TL, TX, V] peter-k:
It is the same as the V, right?

With stock ROM but cleaned from bloatware after some h usage, free RAM ranges from 450 - 430 mb, occasionally ony less than that. Now, with Honami Xperience free memory is usually around 400 quite stabil.

At below 200 mine starts behaving laggy, too.
[Sony Xperia T, TL, TX, V] nreuge:
Did you tried the third minfree values ? 1536,2048,4096,6144,9216,20480

Always around 180-300Mb free memory, it's works fine for me, no delay at all.
[Sony Xperia T, TL, TX, V] Steven How:
Trying now,btw Im using stock kernel now...with the msm dcvs governor..my phone run at 384mhz at all times...any idea? :confused:

Send from my NTT Docomo Xperia AX SO-01E
[Sony Xperia T, TL, TX, V] nreuge:
Hum... You're stuck at the min frequency :eek:

Try to use the following script :

echo 'msm-dcvs' > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo "1512000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo "384000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
[Sony Xperia T, TL, TX, V] Steven How:
Tried...still it doest work :(

Send from my NTT Docomo Xperia AX SO-01E
[Sony Xperia T, TL, TX, V] nreuge:
Hum...hum... Are you sure you don't have another script fixing the max freq at 384 MHz ?
[Sony Xperia T, TL, TX, V] Steven How:
I only have swap script..i dun have any app that cause speed lock too..i do have set cpu and tricker but I have delete data and uninstalled it..still like this.:(

Send from my NTT Docomo Xperia AX SO-01E
[Sony Xperia T, TL, TX, V] nreuge:
Try to install No Frills CPU and try to set the max CPU manually.
[Sony Xperia T, TL, TX, V] joonlin:
Thanks. Have to set on boot only will change the minfree :fingers-crossed:
[Sony Xperia T, TL, TX, V] Steven How:
Installed and try out.

Still stuck in 384 mhz...i tried 2 stock based kernel already..its still the same :(

Send from my NTT Docomo Xperia AX SO-01E
[Sony Xperia T, TL, TX, V] WhiteNeo:
Had the same issue.

It's because msm governor on XV is more of a battery saver.. Doesn't have anything to do with your maximum cpu frequency. :)

Try interactive if you want nice performance ;D
[Sony Xperia T, TL, TX, V] peter-k:
I concur. Interactive + deadline. I tried different combinations, for me this was the best combo for lag free performance and battery life. If you switch it die airplane mode at night, most of the time you will have 0 % juice loss when you wake up. I highly recommend the Honami Experience ROM. Selectable CPU speed + governor and several other tweaks are integrated. I do not know which but the V likes it.
[Sony Xperia T, TL, TX, V] dadnox:
what exact script to delete and what ,,original scripts,, to set them schedule, help please, advanced noob here :), also find a ???, set ur minfree values (last value 20480) and at terminal check it say it something around 20750, any idea? also, offtopic (for admins>if is not alowed, will remove from post), may i use .145 kernel with .141 stock rom? it is for 'msm-dcvs', or should do that from app ..set cpu..(and will have a effect since 141?)
[Sony Xperia T, TL, TX, V] nreuge:
Delete S70darky_zipalign and sqlite_optimize. Take the ones from Thunderbold mod and shedule them with SManager.

About the minfree, you don't have the good values so you init.d support may not work properly (or not all). Just use SManager to run the scripts at boot as "su".

I know that the .145 kernel works fine with .142 stock rom, but with .141 I don't know. Just test it (but let the .141 kernel zip in your internal memory to easily reflash it if there are issues).
[Sony Xperia T, TL, TX, V] davidmarcoes:
GPS tweak (connection is alot faster), requires root:

1. Edit /etc/gps.conf (same as /system/etc/gps.conf)

2. Change this:

NTP_SERVER=time.gpsonextra.net

To this:

NTP_SERVER=YOUR_ISO_3166-1_COUNTRY_CODE.pool.ntp.org

Example (for Spain):

NTP_SERVER=es.pool.ntp.org

You can view the available pools here (follow the area links for concrete country codes).
[Sony Xperia T, TL, TX, V] peter-k:
Probably slightly better using the regional zone, unless you never leave your country.
[Sony Xperia T, TL, TX, V] lagunabad:
can someone help me. i use pureperformancex. this mod really awesome make my tx fast and responsive. but my home redraws, even im use facebook application. if i play any games, my Home also redraws. my wallpaper also change so ugly stock one. already make build.prop tweaks, n change minfree values, but still my home keep redraws.

i use stock 9.1.b.0.411 roms

my memory left around 400-200b

sorry bad english
[Sony Xperia T, TL, TX, V] Pangkoy08:
Just Curious.

Would there be a tweak to make wi-fe connect more faster?

If there is would there be a tut or a link where I can check it out?
[Sony Xperia T, TL, TX, V] nreuge:
I don't know any reliable solution to get no home redraw at all. If your home redraws too frequently, you may have too much background apps. Try to disable or freeze the background apps that you don't use.

200-400 Mb of free ram is ok.
[Sony Xperia T, TL, TX, V] nreuge:
Wi-fi speed mainly depends on your access point...
[Sony Xperia T, TL, TX, V] Pangkoy08:
...

I have already a good wifi connection. What I am trying to say is that when you turn on your wifi it connects right away to the hotspot.
[Sony Xperia T, TL, TX, V] peter-k:
I had a mod for faster access to connect, but the it also dropped connection easier. Another mod was slower to connect, but then it kept the connection even when the signal was weaker. So, there is always a trade-off it seems.
[Sony Xperia T, TL, TX, V] nreuge:
Currently testing a method to lock home in memory which seems really promising. Easy method and reliable, seems to good to be true, but it is!!

I may update the thread this weekend after further tests. Check the thread!!
[Sony Xperia T, TL, TX, V] nreuge:
Update 15/11/13 : §8. Definitely get rid of home redraws

[MENTION=5122093]WhiteNeo[/MENTION]

[MENTION=343021]TiMiN8R[/MENTION]

[MENTION=5180168]exeon[/MENTION]

[MENTION=2840195]jewkhok[/MENTION]

[MENTION=3844251]josephnero[/MENTION]

[MENTION=5014436]Leo[/MENTION]

[MENTION=3849535]Yenkazu[/MENTION]

[MENTION=3954488]Steven How[/MENTION]

[MENTION=3041732]Phoenix-Lead[/MENTION]

[MENTION=2306721]eybee1970[/MENTION]

[MENTION=4534334]Pollie81[/MENTION]

[MENTION=4941499]sinnadla[/MENTION]

[MENTION=5238883]devilmaycry2020[/MENTION]

[MENTION=5288030]ghemanth[/MENTION]

[MENTION=5296385]wurstherpes[/MENTION]

[MENTION=5475254]dadnox[/MENTION]

[MENTION=4383179]joonlin[/MENTION]

[MENTION=5373011]peter-k[/MENTION]

[MENTION=4570342]davidmarco[/MENTION]

[MENTION=4272562]lagunabad[/MENTION]

[MENTION=5151571]Pangkoy08[/MENTION]

Thread Updated!! Definitely get rid of home redraws!!

Despite all these tweaks, home redraws can persist... Nevermind, a great app will help us!!

First, install the latest version (2.3.1) of Xposed Framework.

Then install App Settings v0.4 (don't install v1.5, it won't work).

Launch Xposed Installer and in the tab called "modules" tick the App settings and reboot.

Then, open App Settings and search the Home Laucher. Select it, swipe the button to turn it on and enable the "resident" option. Save changes and close the app. It will restart the launcher and after that home will be definitely locked in memory = no more redraws!!

After having done several tests on my device, I find that this method is safe and reliable (I've also added Walkman as resident, it prevent it to be killed during web browsing).
[Sony Xperia T, TL, TX, V] peter-k:
Is this doing the same as ro.HOME_APP_ADJ=1? Coincidentally I did that today
[Sony Xperia T, TL, TX, V] WhiteNeo:
Locking home in memory this way can lower game performance in certain cases.

Just to let you all know :D
[Sony Xperia T, TL, TX, V] nreuge:
No, ro.HOME_APP_ADJ=1 does not work in JB, it has no effect at all.

Ok, seems logical, thanks.
[Sony Xperia T, TL, TX, V] exeon:
Thanks a lot for mentioning!! It's really useful especially after using some heavy apps haha. :good::laugh:
[Sony Xperia T, TL, TX, V] peter-k:
I'll remove it then. Thanks, and also for the mentioning.
[Sony Xperia T, TL, TX, V] josephnero:
to be honest i hardly get redraws
[Sony Xperia T, TL, TX, V] Yenkazu:
I patched my service.jar, so no redraws from my launcher

Also, I don't use Walkman, it's hiccup when playing music from sdcard. . .

So for music, I'm using PowerAmp

I'm still using Sony Movies, for Bravia effect

XD
[Sony Xperia T, TL, TX, V] blackcat510:
lock home like this gave me the frequently killed keyboard in mah old rom :D

if you have probs with game performance / keyboard frequently disappear, then you should disable the resident settings :3
[Sony Xperia T, TL, TX, V] whalesplaho:
how come yhu dnt? if i open apps for long, when i tap on home key, i need to wait lil before tha apps load!

---------- Post added at 08:19 PM ---------- Previous post was at 08:15 PM ----------

how can one patch service.jar not to get redraws?

but PowerAmp too closes....
[Sony Xperia T, TL, TX, V] Yenkazu:
Read this

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

If PowerAmp also closed, it's mean you have too many background app running

Also, if you set too high LMK, it's same same too, since Android will more aggressive to kill app to reach free RAM parameters
[Sony Xperia T, TL, TX, V] whalesplaho:
i dnt know bout LMK, never touch anything like dat.... buddy dat thread is fully loaded, please can yhu point me to what exactly to do like yhu did please?
[Sony Xperia T, TL, TX, V] nreuge:
:D

You may have not many background apps. But, for instance, if you go to a web site with many images, you will probably have home redraw.

Yes, patchintg service.jar is indeed another solution.

Btw, I prefer MXplayer instead of Sony Movies, more codecs available and Bravia does work.

You can try to enable the resident setting for you keybord app. Also,check your minfree values, set them not too agressive.
[Sony Xperia T, TL, TX, V] Yenkazu:
I did what everyone else do

Read and trying

=)

The thread it's hard to read, but if you read carefully, the thread give a complex information about Android system management

What I do it's from the thread above, if you want to try, try it

=)

---------- Post added at 04:19 AM ---------- Previous post was at 04:14 AM ----------

Of course

=)

I'm using MX Player too, but I didn't see Bravia effect in there

Only Sony Movies can have Bravia effect

I didn't know if you using tweak or something else, but for my device, Bravia working with Sony Movies only

=)
[Sony Xperia T, TL, TX, V] whalesplaho:
NP.... thanks once again, i ll see if i can get it working!
[Sony Xperia T, TL, TX, V] nreuge:
In MXplayer, go to parameters / decoder and select H/W+ decoders. I garantee you will have bravia enabled.
[Sony Xperia T, TL, TX, V] lagunabad:
thanks bro. now my home no more redraws~~!! really appreciate it. can i use this method to keep my wallpaper to. coz, just now only wallpaper missing or restore to default
[Sony Xperia T, TL, TX, V] nreuge:
I don't know buddy, I don't have this issue. Strange...
[Sony Xperia T, TL, TX, V] WhiteNeo:
Wallpaper is related to SystemUI.. Try setting this one as resident as well.. :)

EDIT: Also try re-setting the permissions for SystemUI.apk (to rw-r--r--)... These being wrong has caused a similar issue on my previous rom, where the wallpaper suddenly disappeared and on reboot even the statusbar was gone. Oo
[Sony Xperia T, TL, TX, V] WhiteNeo:
Did my advise help you?

If not.. Are you using a live wallpaper? :)
[Sony Xperia T, TL, TX, V] :
Very Impressed

This is one of the best threads (to me) on XDA! A million thanks!
[Sony Xperia T, TL, TX, V] peter-k:
I've set Home, Systemui and the Wallpaper (Theme) resident. Home costs abt 32 - 38 Mb memory footprint, Systemui might be in memory anyway (?), and the wallpaper ads a small amount only, may be 1 or 2 Mb.

I didn't have any issues with screen redraw, except previously when I tried Nova Launcher (or similar launchers). I can effort the memory, as I have usually more than 400 MB free after restart, and still around 250 - 300 even after heavy usage. What please - besides of avoiding possible screen redraws - is the main advantage of putting those items resident into the memory?
[Sony Xperia T, TL, TX, V] nreuge:
Keeping these apps in memory prevent them to be killed by the low memory killer. So, no app restart needed. If you didn't experience screen redraw, home always remained in memory.

So, if you don't see any difference, there is no advantage, no disavantage.
[Sony Xperia T, TL, TX, V] peter-k:
Now I noticed there is actually a screen redraw. When I do something that covers the home screen for a longer time, i.e. have my browser open for reading news articles, on close of the browser there is momentary a naked wallpaper screen that builds up my stuff on it. I guess that's what you are talking, when Home was pushed out by the low memory killer?

It's not a biggy for me, but since I can effort it I'll put Home back to stay loaded in memory. Thank for the tip!
[Sony Xperia T, TL, TX, V] nreuge:
Yes, exactly.

:)
[Sony Xperia T, TL, TX, V] Steven How:
The home redraw mod works. But my phone hangs alot using those minfree u stated..Btw Op have look up on turbo boost triple swap?

Send from my NTT Docomo Xperia AX SO-01E
[Sony Xperia T, TL, TX, V] nreuge:
Ok. My minfrees works perfectly on Xperia T with stock based roms.

I'll take a look at this turbo boost triple swap, it seems interesting...
[Sony Xperia T, TL, TX, V] WhiteNeo:
This turbo swap is awesome, just tested it..

Before, I was unable to play Asphalt 8 because there was always too low ram.

Now, using a 200mb swap file on cache partition, the game is running perfectly - even on the highest quality settings!

To use it, just extract the script that you prefer from the zip provided in the original thread..

I recommend the 200mb one..

Move it manually to /system/etc/init.d and set permissions (rwxrwxr-x) ^^

Just try it, it's awesome! :D