Jump to content

UPDATED : Real fix for the "stalling/lagging" problem


Guest mimocan
 Share

Recommended Posts

A very good question, I connect the phone quite regularly.. is this going to cause problems?

no, because as soon as you cannect the phone the software on your PC looks for a readable partition and mounts it. Because your software can not read ext3 it leaves it there untouched.

you are safe.

Link to comment
Share on other sites

no, because as soon as you cannect the phone the software on your PC looks for a readable partition and mounts it. Because your software can not read ext3 it leaves it there untouched.

you are safe.

just don't attach it to a Linux box in USB Mass storage mode. This caused me some trouble on my G1 with Apps2SD

Link to comment
Share on other sites

16GB class 2

Hi mimo,

Thanks for your interesting find, however i have 2 questions for you before i get a microsd card just for this fix :)

1. I wonder what's the max speed the phone can read/write from the sd card? Even if i get a Class 6 card, is the phone going to bottleneck the transfer speed? What's the optimum class should i get? What class are you personally using?

2. Will the size of partition affect the access speed on the sd card? Say 512Mb vs 2gb?

Edited by gravityz3r0
Link to comment
Share on other sites

Hi!

I stil have the bug, that the market cannot download any files, saying it hasnt enough space left..

I set the symlink to /disk/media, but no help?

Why is it not working for me?

Link to comment
Share on other sites

I hope you don't mind, but here is a link that can serve as a mirror. It's my personal Google Apps account (Docs FTW). Forgive my ignorance for not asking first, but I hope it's useful :)

Edited by Pachira
Link to comment
Share on other sites

Ok, it is important, that the ext3 partition isnt to big..

WIth 4GB i got the "not enough space" message..

But with 1.9 (just little under 2GB) it is working now...

Maybe edit your first post and describe this too..

Link to comment
Share on other sites

I have made a custom kernel to mount an ext3 partition on the sdcard at the boot time.

Fantastic to see someone dabbing into custom kernels!

- partition 2 (ext3) / for program database

Anything wrong with using ext 4?

-- fire up Odin and attach the phone to the USB

-- choose only the PDA section and put the downloaded tar into there ( do NOT choose repartition or something else otherwise you will use settings)

-- it should finish within 5 seconds and wait till the phone is booted

Ugh, I hate Odin, it won't work on my Mac, even in VMWare. Any chance of getting this as an update.zip for use in recovery?

Download:

http://www.mediafire.com/?4wmnkkwqumo

Download v2: (if you have market problems afterwards)

http://www.mediafire.com/?yhzy54jmt2g

Any reason to not just use v2 in the first place, rather than trying v1 and hoping you don't have the market issue?

Looks very promising. Thanks a ton mimocan.

Too bad I need to root my phone for this. I flashed my first firmware yesterday from that sammy FW site but am still too chicken to try rooting my beauty. :)

You'll boot a firmware from an unknown Russian site, but won't root from someone trusted like Paul? Hmmm.... Go for the root, dude! ;-)

Link to comment
Share on other sites

Ok.

I think I know what the problem is. There is not enough room in the /system partition.

we will make some room there, here it goes:

adb shell

su -

mount -o remount,rw rootfs /

mv /system/media /disk

ln -s /disk/media /system/media

this should fix the bug.

Hi,mimocan

thx for your kernel

can you tell me how to unpack and repack zimage ?

i need try something in the init.rc ,please .

Link to comment
Share on other sites

Fantastic to see someone dabbing into custom kernels!

Anything wrong with using ext 4?

Ugh, I hate Odin, it won't work on my Mac, even in VMWare. Any chance of getting this as an update.zip for use in recovery?

Any reason to not just use v2 in the first place, rather than trying v1 and hoping you don't have the market issue?

You'll boot a firmware from an unknown Russian site, but won't root from someone trusted like Paul? Hmmm.... Go for the root, dude! ;-)

valid questions:

there is no specific reason for not using ext4, but because ext3 is more stable and proven I have chosen for this one.

anyone who tries the kernel for the first time should use v2 instead of 1.

update.zip won't work right now cause the rootfs directory is recreated everytime you reboot the phone so this should be in the kernel itself.

Link to comment
Share on other sites

This fix will overwrite Paul's ROM (baked +/- software, etc.), right?

It shouldn't...it's just replacing the kernel, not the whole ROM.

Link to comment
Share on other sites

I must be a big noob :)

I followed the instructions:

made 2 partitions on a SD card (a little over 1GB on partition 2 formated as ext3)

downloaded BusyBox installer

downloaded v2 (attached file)

downloaded Odin3 v1.0

downloaded s1_odin_20100513.pit

flashed

trying to start BusyBox but.... won't install cause not rooted according to BusyBox

retried with attachement v1, but no luck either

I didn't had my S rooted, but I was under the impression it would become rooted with this

yeah...

you don't need to root your phone to do this, rooting is already provided in the kernel :D but you need to have the busybox tools...
Edited by FlipFlap3
Link to comment
Share on other sites

I must be a big noob :)

I followed the instructions:

made 2 partitions on a SD card (a little over 1GB on partition 2 formated as ext3)

downloaded BusyBox installer

downloaded v2 (attached file)

downloaded Odin3 v1.0

downloaded s1_odin_20100513.pit

flashed

trying to start BusyBox but.... won't install cause not rooted according to BusyBox

retried with attachement v1, but no luck either

I didn't had my S rooted, but I was under the impression it would become rooted with this

yeah...

with class6 sd card

look the picture :D

post-654098-1279037538_thumb.png

Edited by Kahnmao
Link to comment
Share on other sites

Hello and thanks for your great work ! :)

I successfully applied the kernel but now the market app canot download anymore apps on it. I used the V2 file :D

do we need to do something particular ?

Alex

Link to comment
Share on other sites

This looks great. And having this (and JIT :D) baked into Paul's magic would certainly be awesome :).

Because my phone is currently quite slow (now filling my 6th applications page ^^), but I am hesitant to use that old 'fix', because I heard it could cause problems with maps and games.

Link to comment
Share on other sites

with class6 sd card

look the picture :)

Wow impressive! But is Class 6 really necessary though? Or is Class 2 or 4 sufficient?

Can somebody with class 2 and class 4 use this fix and run the same benchmark as comparison?

Edited by gravityz3r0
Link to comment
Share on other sites

Wow impressive! But is Class 6 really necessary though? Or is Class 2 or 4 sufficient?

Can somebody with class 2 and class 4 use this fix and run the same benchmark as comparison?

Tried with a Class 2 but the app can't complete the test for some reason :angry:

But compare this:

Paul's Fix:

Total CPU score;774.7303

MWIPS DP;58.962265;MWIPS(DP)

MWIPS SP;58.719913;MWIPS(SP)

MFLOPS DP;7.6457057;MFLOPS(DP)

MFLOPS SP;8.701048;MFLOPS(SP)

VAX MIPS DP;41.424477;VAX MIPS(DP)

VAX MIPS SP;39.806553;VAX MIPS(SP)

Memory

Total memory score;617.21814

Copy memory;560.8525;Mb/sec

Filesystem

Total file system score;240.61263

Creating 1000 empty files;4.332;sec

Deleting 1000 empty files;3.322;sec

Write 1M into file;7.8864355;M/sec

Read 1M from file;476.1905;sM/sec;
Mimocan's Fix and JIT:
Total CPU score;1138.4799

MWIPS DP;70.87171;MWIPS(DP)

MWIPS SP;78.12499;MWIPS(SP)

MFLOPS DP;9.773376;MFLOPS(DP)

MFLOPS SP;12.093854;MFLOPS(SP)

VAX MIPS DP;72.30384;VAX MIPS(DP)

VAX MIPS SP;73.160515;VAX MIPS(SP)

Memory

Total memory score;605.6687

Copy memory;550.3577;Mb/sec

Filesystem

Total file system score;241.3051

Creating 1000 empty files;0.428;sec

Deleting 1000 empty files;0.3;sec

Write 1M into file;85.470085;M/sec

Read 1M from file;400.0;sM/sec;

Edit: Can someone run the app Benchmark and post his results with only Mimo's Fix? cba to reflash and that without JIT

Edited by Xoneso
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share


×
×
  • Create New...

Important Information

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