Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,729,557 Members 46,270 Now Online
XDA Developers Android and Mobile Development Forum

[HOWTO] Speed Fix! (variant of mimocan fix)

Tip us?
 
NukaCola
Old
(Last edited by NukaCola; 11th August 2010 at 04:15 AM.)
#1  
Senior Member - OP
Thanks Meter 0
Posts: 137
Join Date: Jul 2010
Default [HOWTO] Speed Fix! (variant of mimocan fix)

This is a quick walkthrough of how to apply my variant of "Mimicans speedfix" using my kernels on the Captivate. The speedfix essentially consists of making an ext3 or ext4 filesystem on an sdcard, and using that as our /data directory. This method is different from the original method in many of the details, but the underlying basis is that the stock /data partition is slow as molasses so we replace it.

This method should be pretty safe. As you will notice we dont copy around stuff and create a symlink mess. We just mount a partition over the current one. Yes we still mount the old one as well, even though it wont be used unless you take your card out. If that happens the phone will mount your old /data (that will probably be very out of date at the time) but itll get you up and running right away.

Right now there are two kernels, these mount the default partition, ext3 or ext4 on the second sdcard partition, the two options are:
Stock clock speed and Overclocked.
The overclocked kernel will clock from 100 to 800 Mhz as stock, then skippinig 1Ghz going to 1.2 Ghz.

Also, before we begin make sure you have this version of Odin. I used Samsung windows drivers that I found here.

You'll also want to read this thread about download mode. here you'll learn that you will have to try real hard to actually brick these phones, and even then it may still boot.

Ofcourse you also want to have root on your captivate.

You'll also need the android sdk.

If you are on Windows or Mac you will need some software to partition and format the sdcard, this live cd will work. You could also just get an ubuntu live cd or similar.

So, now we have the necessary tools and our new kernels and can get started.

Partition the disk:
There were reports from the modaco forums when mimocan first released his fix that ext3/4 partitions larger than 2gb were a problem, so keep your 2nd partition 2gb or smaller.

Use your favorite partitioning sofware to create 2 partitions on your sdcard. the first one will be formated FAT32 (vfat), and the second one ext3 or ext4. Make sure both are 'primary partitions'. You may want to make the second partition have partition type 83 (linux native).

Copy data files to sdcard:

If you are coming from stock, (eg without an existing a2sd /data partition on your sdcard) boot the phone without your formatted card and hotplug it before starting this process.

Using the sdk you need to connect the phone and use 'adb shell' to get a prompt on the phone.
Then follow these steps:
Code:
$
$ su -
# mkdir /sdcard/mnt
# mount -t ext4 /dev/block/mmcblk1p2 /sdcard/mnt
# busybox cp -a /data/* /sdcard/mnt
# umount /sdcard/mnt
# exit
$ exit
Flashing the kernel

1) Disconnect USB cable.

2) Open up odin.

3) Put your phone into download mode.

4) Connect USB cable, wait a second Odin should detect your phone, if not fiddle about with your drivers and reboot windows or something. This can be a real PITA.

5) In Odin load the kernel tarfile as "CSC"

6) Click "Start" in Odin, flashing should only take a few seconds.
You may run into issues here randomly and have a phone with the phone-!-computer image (I did!). Just go read up on the 'download mode' thread linked above it tells you how to proceed.

7) When you have booted your new kernel and /data partition you may have some issues with a few widgets/apps. Reinstalling or waiting/fiddeling with them seems to solve the issue. Maps was slow to open the first time after a new /data partition was mounted for me a few times, but subsequent launches were snappy.

If you want you may donate to my beer fund. It is not necessary but much appreciated
 
Postal76
Old
#2  
Member
Thanks Meter 5
Posts: 80
Join Date: Mar 2009
Didn't work for me. I partitioned my external SD card, flashed the speedup2 kernel, then ran the commands you posted, replacing 'ext3' with 'ext4'. My quadrant score is still in the low 900's.

Can you explain exactly what those commands do? The mimocan fix makes a lot more sense to me. Why did you decide to take a different approach?

Thanks for your help and effort!
 
ranova
Old
(Last edited by ranova; 31st July 2010 at 04:51 PM.)
#3  
ranova's Avatar
Senior Member
Thanks Meter 200
Posts: 1,286
Join Date: Jul 2010
I get 1716 scores in quadrant, but with real world running tests Touchdown and Dolphin HD browser still lag like holy hell.

I originally had the "method 2" hack (moving apps to the NAND) and that worked wonders, especially with these apps.

Can anyone test these two applications and see if there is lag for you?

Dolphin - try opening a new tab, closing it, and goto a large page and scroll with the volume buttons - it should all be smooth and quick

Touchdown - It should be very quick going between emails, I get a 5+ second delay before showing the email

Also in Quadrant, even though I get 1700 scores, do you guys get stuck at I/O Database writes for a good 3+ minutes?
 
spyz88
Old
#4  
Senior Member
Thanks Meter 32
Posts: 419
Join Date: Oct 2008
The captivate speedup kernel link is dead. Can soneone please post a mirror? Thanks
 
_Opiate_
Old
#5  
_Opiate_'s Avatar
Senior Member
Thanks Meter 12
Posts: 471
Join Date: Jun 2010
Worked great for me using ext4 partition/kernel. It brought my quadrant to 1817! Thats with a poor little 4gig, class 2 micro sd card. Im also running the i9000 JM2 firmware with Samset 1.6.

Thank you for all your hard work!!!! My phone is now complete (for now lol).
Nexus One (AT&T 3G)
HTC Aria AT&T
Samsung Captivate AT&T
Samsung Vibrant - SIM Unlocked on AT&T
Samsung GalaxyTab (AT&T)
HTC Inspire 4G
Samsung Galaxy S II Int. - Factory Unlocked (AT&T)
Galaxy Nexus GSM
 
_Opiate_
Old
#6  
_Opiate_'s Avatar
Senior Member
Thanks Meter 12
Posts: 471
Join Date: Jun 2010
Quote:
Originally Posted by andy2na View Post
I get 1716 scores in quadrant, but with real world running tests Touchdown and Dolphin HD browser still lag like holy hell.

I originally had the "method 2" hack (moving apps to the NAND) and that worked wonders, especially with these apps.

Can anyone test these two applications and see if there is lag for you?

Dolphin - try opening a new tab, closing it, and goto a large page and scroll with the volume buttons - it should all be smooth and quick

Touchdown - It should be very quick going between emails, I get a 5+ second delay before showing the email

Also in Quadrant, even though I get 1700 scores, do you guys get stuck at I/O Database writes for a good 3+ minutes?
Might be tome for you to pick up a new SD card. I have used both fix's and find this fix to be way better. I get no lag in Dolphin HD.
Nexus One (AT&T 3G)
HTC Aria AT&T
Samsung Captivate AT&T
Samsung Vibrant - SIM Unlocked on AT&T
Samsung GalaxyTab (AT&T)
HTC Inspire 4G
Samsung Galaxy S II Int. - Factory Unlocked (AT&T)
Galaxy Nexus GSM
 
ranova
Old
#7  
ranova's Avatar
Senior Member
Thanks Meter 200
Posts: 1,286
Join Date: Jul 2010
Quote:
Originally Posted by _Opiate_ View Post
Might be tome for you to pick up a new SD card. I have used both fix's and find this fix to be way better. I get no lag in Dolphin HD.
Its a brand new Kingston 8gb class 4 card, havent used it before applying this hack
 
NukaCola
Old
#8  
Senior Member - OP
Thanks Meter 0
Posts: 137
Join Date: Jul 2010
Quote:
Originally Posted by Postal76 View Post
Didn't work for me. I partitioned my external SD card, flashed the speedup2 kernel, then ran the commands you posted, replacing 'ext3' with 'ext4'. My quadrant score is still in the low 900's.

Can you explain exactly what those commands do? The mimocan fix makes a lot more sense to me. Why did you decide to take a different approach?

Thanks for your help and effort!
All you do is copy the files from your original /data partition onto the root of your ext{3|4} partition on the sdcard. Then that is mounted on reboot ontop of /data so you can use the new data partition from your card.

I feel this is a MUCH cleaner method than the original Mimocan fix, that copis a full copy of data into the root of the device (unnecessary backup since you still have your original /data partition as well), then it mounts your sdcard on /disk and symlinks that to /data.

I just don't see the need for the symlinks and stuff and honestly I thought this was a simpler method, no symlinks or anything.

If you arent seeing any speedups I'm betting something didn't go right, you are probably still running of the old /data partition. Are you sure you are running the speedup2 kernel and not the ext4 only kernel?
 
NukaCola
Old
#9  
Senior Member - OP
Thanks Meter 0
Posts: 137
Join Date: Jul 2010
Quote:
Originally Posted by spyz88 View Post
The captivate speedup kernel link is dead. Can soneone please post a mirror? Thanks
It seems to work from here...
 
spyz88
Old
#10  
Senior Member
Thanks Meter 32
Posts: 419
Join Date: Oct 2008
Quote:
Originally Posted by _Opiate_ View Post
Might be tome for you to pick up a new SD card. I have used both fix's and find this fix to be way better. I get no lag in Dolphin HD.
Except the Quadrant scores do you notice any real speed boost?

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


TRENDING IN THEMER...