Speed Up Your Galaxy S

One thing I noticed about my Galaxy S was it did tend to slow down as I added more and more apps.  Me being an appoholic, it wasn’t long before I had 60 user added apps on it and it started to slow a little.  It would appear Samsung have used in this device, one of the slowest internal memory cards known to man in.  To counter the drag effect caused by this, you use your own SD card to store the apps.  This is nothing new, many ROM developers have an Apps2SD hack which will store the whole app on a partition of the SD card.  In this hack, we move just the Apps data to the SD, in much the way I believe FroYo might do.

During this process we will also root the SGS, which seems very easy to do.  We don’t yet have a recovery mode for the SGS though, so procede with extreme caution.  We cannot take any responsibilty for you turning your lovely new Samsung into a paper weight…

If you have the cojones for it, read on!

I should start off by pointing out, I haven’t figured this out myself, as I have before, I’m taking other people’s hard work and spelling it out for the everyman.

I#m going to assume you have USB drivers already and your PC can see your SGS when plugged in.  If not, you want to look for a Samsung Kies download, which brings with is the necessary drivers. Start of by downloading this zip file, it has everything we’re going to need.  Unzip it all onto your desktop. Ready?

Step 1 – Flashing to JG5*

At the time of writting, JG5* is the latest version of software for the SGS, so we’re going to update to this.

*UPDATE 8th AugustI’ve moved on to a more recent firmware version, so you might want to try downloading this file and using the contents for the next step.  I’ve also now moved up to **Ext4 which is giving me an even better speed improvement!

  1. Put your SGS into download mode (hold volume down + home button and turn it on)
  2. Run Odin and plug in your SGS via USB.  It should appear just under ID:COM
  3. Click on PIT and select ‘s1_odin_20100512.pit’
  4. Click PDA and select ‘CODE_I9000XWJG5.tar’
  5. Click PHONE and select ‘MODEM_I9000XXJG1.tar’
  6. Select ‘re-partition’ only if you want to wipe and start fresh.
  7. Click start.  This should take maybe a couple of minutes and will reboot your device.

Step 2 – Partition your Micro SD

I did this in my Nexus One, using RA Recovery but I realise not everyone will have this option.  You need to partition it to have 2 physical partitions, the first is FAT32 and the second Ext3**.  The Ext3** partition is where the apps data goes, so should be 512 to 1024 meg in size.  If you have Linux experience, you can use Gparted.  If you’re windows based, look for Paragon Hard Disk Manager.  Better results are reported from a proper Linux format though.  Remember, FAT32 first, then Ext3 but both should be Physical drives.

Step 3 – Flashing the Mimo fix

Head back into Odin for this again.  Connect your SGS back up, sometimes you need to remove the battery and go back into download mode to get it to recognise the device on your PC.

  1. Select the same PIT file
  2. This time select ‘Kernel_GalaxyS_mimo_v3.tar’ as the PDA file.
  3. Click start and you should be done in a matter of seconds.

Boot the device back up and take a look in the root using a file browser of some kind.  You should hopefully see /disk/ which is your mounted SD Ext3 partition.

Step 4 – The root update

While the phone is still on, copy the update.zip to the root of the SD card.  Shut down the phone and then boot into the basic console by holding volume up, home button and then powering on.  Select to update using the update.zip and again, in a matter of seconds this will apply.  Reboot and we’re ready to apply the actual hack.

Step 5 – The actual hack

Connect your SGS and then head to your ADB folder on your PC.  If you’ve never used ADB before, I might suggest you want to take 5 minutes to look into that first.  Hopefully you know a little about this already, as you’re attempting rather dangerous stuff on your device.  So, these are the commands you want to type -

  1. adb shell  -  gets you to the devices shell
  2. su – gives you root access
  3. busybox cp -rp /data/data /disk/  - copies your app data to the SD card
  4. busybox mv /data/data /data/data.bak  - backs up your app data
  5. busybox ln -s /disk/data /data/data – links your new folder, so it uses the SD card partition

You should now be set.  There is a ‘market fix’ too -

  1. busybox mv /system/media /disk/ – moves your market data
  2. busybox ln -s /disk/media /system/media – sets up a link to the SD card partition
  3. reboot  - reboots the device!

When it comes back up, you should be all done!  Hopefully things are moving much slicker now.

In case you need to undo this, you should be able to do so with these commands -

  1. adb shell
  2. su
  3. busybox rm /data/data – removes the link
  4. busybox cp -rp /disk/data /data/ – copies app data back to the phone from the SD partition
  5. busybox rm /data/data.bak – deletes the backup file

The final thing I did to try and keep the Galaxy S moving along nicely was to install MinFreeManager and set it to aggressive (don’t forget to set it to apply on boot).  My understanding is, this uses the inbuilt memory manager, but makes it a little more brutal on killing apps not in use any more.

As I said before, this is not my own work and taken mainly from this thread on the MoDaCo forums.  A big thanks to Mimocan and also DistortedLoop for the ‘undo’.

Let us know how you get on!



  • alonso

    In my test jg5 is better than jm2

  • Robertashitey

    Ok whats the new method?

  • Anonymous

    I don’t think so, but I couldn’t be sure.

    This fix has now been surpassed by another method though, check our guides.

  • Hero

    hey andy, quick question: does the “market fix” part of it need to be undone as well? :)

  • Pingback: All Droid.org has a Dev Phone!!!

  • Pingback: FroYo With New Speed Fix! - Hemorrdroids.net

  • Andy

    I’ve just updated my external partition to Ext4.  It feels quicker, although my Quadrant score is much the same as it was before….

  • Andy

    I’ve just updated my external partition to Ext4.  It feels quicker, although my Quadrant score is much the same as it was before….

  • khiyatesh

    hey andy….nice job…nicely described….well wana share some experiences regarding this procedure…wel i first tried this method with jm2 firmware and ext4 method n quadrant benchmark rating was more den 1600..games started to run a little bit more smooth….well…but i have noticed one thing..when third party apps are not installed,phone runs 99.9% percent lag free whether its mimo fixed on or not…and if your galaxy s is heavily loaded with third party apps,a lil lag will b there no matter if its quadrant rating is above 1600…dats wat my observations were…well i tried ext 4 method…and used paragon harddrive manager…no issues at all….well m doin this method again with my stock firmware,,,jf3….will tell u the results soon…

  • khiyatesh

    hey andy….nice job…nicely described….well wana share some experiences regarding this procedure…wel i first tried this method with jm2 firmware and ext4 method n quadrant benchmark rating was more den 1600..games started to run a little bit more smooth….well…but i have noticed one thing..when third party apps are not installed,phone runs 99.9% percent lag free whether its mimo fixed on or not…and if your galaxy s is heavily loaded with third party apps,a lil lag will b there no matter if its quadrant rating is above 1600…dats wat my observations were…well i tried ext 4 method…and used paragon harddrive manager…no issues at all….well m doin this method again with my stock firmware,,,jf3….will tell u the results soon…

  • Pingback: Samsung Galaxy S - Page 3 - HEXUS.community discussion forums

  • Andy

    I think it can be done, but I think it’s then rather buggy. I wouldn’t advise it.

  • Andy

    I think it can be done, but I think it’s then rather buggy. I wouldn’t advise it.

  • Banjo

    It was my understanding that flashing to new ROMs (“flashing to JG5″) was not available for US models (it’d break them). Is this all safe to do on Vibrants/Captivates/US carrier phones?

  • Banjo

    It was my understanding that flashing to new ROMs (“flashing to JG5″) was not available for US models (it’d break them). Is this all safe to do on Vibrants/Captivates/US carrier phones?

  • Andy

    I had a few similar issues.  I just moved up to the new JM2 firmware (they seem to be releasing them every other day at the minute!)  Check in ‘About phone’ what is set for USB connection.  It should be on Mass Storage.  Also go to Applications – Development and check USB Debugging is selected still.

    Then, just try a couple of reboots.  Also, check the SD shows in your browser on the phone and that it’s details show in Settings – SD Card and phone storage.

  • Andy

    I had a few similar issues.  I just moved up to the new JM2 firmware (they seem to be releasing them every other day at the minute!)  Check in ‘About phone’ what is set for USB connection.  It should be on Mass Storage.  Also go to Applications – Development and check USB Debugging is selected still.

    Then, just try a couple of reboots.  Also, check the SD shows in your browser on the phone and that it’s details show in Settings – SD Card and phone storage.

  • Filgaliel

    I now seem to have another problem. The computer will no longer recognize the SD card when i mount. Only the Internal SD.. Is that normal ?

  • Filgaliel

    I now seem to have another problem. The computer will no longer recognize the SD card when i mount. Only the Internal SD.. Is that normal ?

  • Filgaliel

    Great.

    Thank you for the quick replies.. Appreciated.

  • Filgaliel

    Great.

    Thank you for the quick replies.. Appreciated.

  • Andy

    It wouldn’t be on your SD card, its the linux partition that the OS will mount in a folder called /disk on the root.  A lot of File Explorers might not even let you look at root, one that will is Root Explorer, but it’s a paid app.

    At 1117 the fix is working though, so don’t worry :)

  • Andy

    It wouldn’t be on your SD card, its the linux partition that the OS will mount in a folder called /disk on the root.  A lot of File Explorers might not even let you look at root, one that will is Root Explorer, but it’s a paid app.

    At 1117 the fix is working though, so don’t worry :)

  • Filgaliel

    I ran quadrant and got a score of 1117 compared to some 800 before. But I do not have the /disk/data folder on my SD card. Weird.

  • Filgaliel

    I ran quadrant and got a score of 1117 compared to some 800 before. But I do not have the /disk/data folder on my SD card. Weird.

  • Andy

    Well, check if you have a /disk/data folder, with lots of info in it.

    Also, run Quadrant and see what score you get.  Over 1000 means you have the fix working.

  • Andy

    Well, check if you have a /disk/data folder, with lots of info in it.

    Also, run Quadrant and see what score you get.  Over 1000 means you have the fix working.

  • Filgaliel

    Woow it worked.. I think. How can I be sure that the fix has worked ?

  • Filgaliel

    Woow it worked.. I think. How can I be sure that the fix has worked ?

  • Andy

    I’m not sure it matters, but generally you’re safer to perform it with them both removed.

  • Andy

    I’m not sure it matters, but generally you’re safer to perform it with them both removed.

  • Filgaliel

    When performing step 3 should SIM and SD card be in the phone ?

  • Filgaliel

    When performing step 3 should SIM and SD card be in the phone ?

  • Andy

    What method did you use to partition?  I would suggest try a different way or even just format and try again.  If these both fail, I would assume you have a faulty MicroSD :-(  I hope it wasn’t bought from eBay? 

  • Andy

    What method did you use to partition?  I would suggest try a different way or even just format and try again.  If these both fail, I would assume you have a faulty MicroSD :-(  I hope it wasn’t bought from eBay? 

  • Filgaliel

    After performing step 2 the phone says that the external SD card is damaged ?

  • Filgaliel

    After performing step 2 the phone says that the external SD card is damaged ?

  • Andy

    Thanks guys.  Correction made on download mode.  Sorry about that.

    Yes, there is a Ext4 version, you can get it from the link to the thread at the end of the post.  To be honest, I wanted to keep it nice and simple, so stuck to just Ext3 at this point :-)

    I’ve read someone has applied this to their US version of the phone but it did mess up their ‘hardkeys’ as the US has 4 and the European has 3… it is a slightly different make up. 

    Any time I’ve tried to use the CSC file it wouldn’t actually flash.  I’ve always done it without and it works fine…

  • Andy

    Thanks guys.  Correction made on download mode.  Sorry about that.

    Yes, there is a Ext4 version, you can get it from the link to the thread at the end of the post.  To be honest, I wanted to keep it nice and simple, so stuck to just Ext3 at this point :-)

    I’ve read someone has applied this to their US version of the phone but it did mess up their ‘hardkeys’ as the US has 4 and the European has 3… it is a slightly different make up. 

    Any time I’ve tried to use the CSC file it wouldn’t actually flash.  I’ve always done it without and it works fine…

  • do0fusz

    isn’t the CSC file important for flashing ?

  • do0fusz

    isn’t the CSC file important for flashing ?

  • aeo087

    Hey Andy,  good job with the description.  You should also comment that this kernel can handle an ext4 partition which make it even faster! :D   Gparted is definitely the best way to go to make the partitions, I couldn’t get it to work with Paragon.  Also, you don’t need a pit file to flash the kernel, you can just leave that blank.  I’m gonna try to make a video tutorial of this this weekend.  This truly makes a difference in the phone, the previous lag-fix was nice, but this is awesome!   I/O was a big handicap for this phone…

  • aeo087

    Hey Andy,  good job with the description.  You should also comment that this kernel can handle an ext4 partition which make it even faster! :D   Gparted is definitely the best way to go to make the partitions, I couldn’t get it to work with Paragon.  Also, you don’t need a pit file to flash the kernel, you can just leave that blank.  I’m gonna try to make a video tutorial of this this weekend.  This truly makes a difference in the phone, the previous lag-fix was nice, but this is awesome!   I/O was a big handicap for this phone…

  • durtypockets

    NICE write up BTW. Very detailed. 

  • durtypockets

    NICE write up BTW. Very detailed. 

  • durtypockets

    I been reading and reading and reading to learn how to do this MOD on my phone. In fact, i bricked my first phone ever trying to do this. Then again, i don’t have the int’l version of Galaxy S. I have the US version aka Captivate. I heard that this was done without any issues but i haven’t really got any confirmation. Some said that their volume buttons didn’t work and home buttons didn’t work . Could you tell me by doing this MOD, can the kernal applied can mess up the hardware functions of the phone? I just don’t really want to MOD if this can happen since i already bricked one. 

  • durtypockets

    I been reading and reading and reading to learn how to do this MOD on my phone. In fact, i bricked my first phone ever trying to do this. Then again, i don’t have the int’l version of Galaxy S. I have the US version aka Captivate. I heard that this was done without any issues but i haven’t really got any confirmation. Some said that their volume buttons didn’t work and home buttons didn’t work . Could you tell me by doing this MOD, can the kernal applied can mess up the hardware functions of the phone? I just don’t really want to MOD if this can happen since i already bricked one. 

  • Toto

    Thanks, bur as a i900 newbie I wasted a lot of time because the instructions for download mode are wrong, volume up puts it in recovery mode…please correct this mistake, was driving me crazy…

  • Toto

    Thanks, bur as a i900 newbie I wasted a lot of time because the instructions for download mode are wrong, volume up puts it in recovery mode…please correct this mistake, was driving me crazy…