[Samsung Galaxy Player 4.0, 5.0] hanthesolo:
This thread Is a compilation of speed tweaks and mods I have gathered from the forums and used on my Galaxy Player 4.0. I can vouch for all of these tweaks, and all provide at least a modest performance improvement. I claim no credit for any of these mods, the glory goes to the fabulous devs who have created them.

To show you the possible performance increase, I have all of these tweaks installed with the Terrasilent kernel and Klin's R5 ROM, plus an Overclock to 1.5 GHZ, and I have scored over 2750 in Quadrant, as indicated in the screenshot below.

If you have any potential tweaks or suggestions, PM me, and I will check them out!

Note to devs: I believe I have posted this in the right section, as this does not 100% pertain to development.

Now, let's get cracking!

Tweak No. 1: convert RFS filesystem to EXT4.

RFS has been tweaked since it debuted on the galaxy S over two years ago, but still is not quite up to par with today's standards.

Steps:

1. Flash the Terrasilent kernel/ Klin's R3 (basically a kernel with Clockwork recovery 5+ on it)

2. Make a nandroid backup (make sure you have enough free space!)

3.after you reboot, navigate using a file explorer on the Gplayer to the recovery directory and rename all files (excluding boot.img) from .rfs.tar to .ext4.tar.

4. Open up nandroid.md5 and change all filenames (again, excluding boot.img) from .rfs.tar to .ext4.tar

5.Save that, reboot into recovery, perform a full restore, and reboot into download mode.

6. reflash the kernel you were using, and you are done!

The performance improvement is amazing, and I would recommend using this tweak to anyone, since it's safe, and provides a huge boost!

Tweak no.2: Universal Adrenaline shot.

This is an amazing tweak that has provided the biggest improvement for me. It should be pretty risk-free if you follow my directions. Do NOT try to unzip and manually install, as you will have to reflash you rom (bootloop). Additionally, you will have to reinstall any init.d tweaks you have currently, as this script wants to ensure no conflictions, and deletes them all

Steps:

1. Head to this link, read, and download Adrenaline shot v14 (don't worry, our device can handle the two risky tweaks).

2. Boot into recovery, and flash!

3. After flashing, I would optionally format /cache. After reboot, you should see a drastic performance increase!

Tweak no.3: EXT4 Journalism tweaks.

EXT4 is much faster than RFS, but on our Players, the lag is still noticeable, just navigating around the UI.

WARNING

:This provides a nice speed increase, especially to large games, but if you have an unclean shutdown, or force restart your Gplayer, YOU WILL HAVE TO RESTORE!

Dire warnings said, This actually increases the smoothness of the Gplayer a decent amount, although for me the risk far outweighs the benefit.

Your partitions are as follows:

System: STL9

Data: mmcblk0p2

Dbdata: stl10

cache (use this partition if you want to test):stl11

Remember, you need su permissions for all of this!

Instructions:

1.First, FSCK the partitions (make sure you answer no to all but the first questions, as that could lead to file corruption! the errors are generated when the partition is accessed during the FSCK, which generates an error, since data is in a different section than it was before. Don't worry, most/all of those errors are flukes. The instruction is: e2fsck -f /dev/block/(partition name)

2. Disable journalism with tune2fs: tune2fs -O ^has_journal /dev/block/(partition name)

Note: tune2fs will not have the capabilities necessary unless you install the one from the one shot adrenaline tweak above.

3.reboot and enjoy!

If you want to reverse this, you will have to restore a nandroid backup, as CWM formats EXT4 with journalism, and a format is required to reset it. On the same note, you will have to reapply this tweak every time you restore a nandroid backup, just something to keep in mind.

Tweak no.4: Supercharge, and apply Loopy smoothness!

I am sure everyone knows about the ubiquitous v6 supercharger script out there, and it provides a big performane increase! Also, Loopy smoothness helps a lot in stabilizing launcher performance, and I view them to be equally valuable.

1. Visit here to download the latest supercharger script, and here to download T2 of loopy smoothness.

2. Launch the supercharger from the /sdcard/download directory, go throught the basic instructions, and the custoomize, reboot, and install nitro lag nullifier. Optionally install for easier access. I would also explore some of the other options especially reindexing.

3. move the loopy smoothness script into the init.d directory, open it, and remove the quotation marks around the launcher name if you are using the touchwiz launcher, or delete the quotations and name and add your launcher's process name (run ps in terminal emulator and find the most likely name, or look it up).

That's it! you should notice a definite performance increase, especially improvements in multitasking thanks to v6 supercharger. The launcher should also be a lot smoother.

Bonus (I have it in R5 rom, but have not actually applied it)

head here, download the latest script, and run it. It should add some extra build.prop tweaks that will greatly boost performance!

Some final suggestions:

1. Move to a custom launcher.

Using touchwiz, I always had about 125+- ram free after using a taskiller, but when I moved to go launcher EX (imho, the best launcher for the gplayer out there, beautiful, not hard on resources, and very customizable), I had over 160+ free after using a taskiller, which resulted in far smoother operation, and excellent multitasking!

2. use ondemand or ondemandx.

All the Gplayer profiles are good, but ondemand, although not the best at power saving, provides the best performance on our aging system, and gives a little extra juice when you need it.

3. use the deadline governor.

None of the other I/O governors come even close to NOOP and Deadline, but deadline is better for everyday use, and noop is better if you have several file transfers occurring at once (eg. hooked up to a computer, updating apps, and browsing the web). It comes down to your usage style, but I prefer Deadline.

4. Disable uneeded /system/app apps.

Fortunately our Gplayer is pretty bloat free, but you can disable more apps if you want. You should rename them to .apk1 instead of deleting them, just in case. Do not delete phone.apk, because for some reason it breaks the default camera app ( you can delete it if you don't use it).

Open up a terminal, run the ps command, and disable any system, apps you recognise in the list (una, fota, etc.).

Beta: Format sdcard as ext2

I had limited success with this mod, and it is definitely worth hassle of converting to ext2. Unfortunately, you must have an init.d script that runs at boot, and there will be the occaisonal permissipn issue, but chmoding the sdcard fixes that.

Steps:

1. Backup all of your /sdcard data

2.connect the gplayer to a linux computer in mtp mode.

3. Open a terminal, and type:

sudo umount /dev/sdx

sudo mkfs.ext2 /dev/sdx

4. Disconnect it from the computer. It will output an error when the media scanner runs, this is okay.

5. Create an init.d script with the following info:

#!/system/bin/sh

mount rw /dev/block/vold/179:1 /mnt/sdcard

chmod 777 /mnt/sdcard

chmod 777 /mnt/sdcard/*

chmod 777 /mnt/sdcard/Android

chmod 777 /mnt/sdcard/Android/*

6. Reboot, and restore your data.

That should be it! I used ext2 because i got permission errors with ext3/4 constantly, and ext2 was stable. The performance improvement is amazing, especially with apps that store data to /sdcard. My performance is at least doubled! Even thouh this is beta, I STRONGLY recommend doing this, as the performance is incredible (as I said)!

Note: after doing this, windows machines will not recognize the player, you will have to do all file transfers via linux.

Note: of app data is not recognized after restore, delete and redownload, after backing up the save file/s. At the moment, it is the only way I have to fix it.

Enjoy the speed!

Dalvik machine: the ULTIMATE speed booster.

I was poking around lately, and I discovered that dalvik settings are really far more powerful than most people give them credit for. Using them on an (unreleased) version of EtherealRom gave me a nice speed increase!

All of these can be added/edited in build.prop, if you so choose, under the variable "dalvik.vm.dexopt-flags=".

The most important one is u=y. This indicates that you want all VM code to be optimized for a single core, and provides a NICE speed boost. The next most important is o=a, as that indicates that you want it to optimize ALL the code, instead of selective batches.

I will update this later, I am exhausted right now, and need some sleep.

I now have my own custom rom that you can flash, that includes most of these amazing features (no ext converting, that has to be manual), plus some more! Note: this rom is ONLY for the 4.0. you will have to restore if you flash it onto the 5.0!

Download

That's it! I will certainly add on as time progresses, but at the moment that is all I can remember/know about, so be sure to pm me with potential tweaks so I can put it up here!