Jump to content

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


Guest mimocan

Recommended Posts

Guest mimocan
Yea, i have root access from MCR r2, i did not reflash from the scratch though. I apply your fix directly.

Microsoft Windows [Version 6.1.7600]

Copyright (c) 2009 Microsoft Corporation.  All rights reserved.


C:\Users\gravityz3r0>adb shell

$ su

su

# du -h /disk/

du -h /disk/

0	   /disk/

# cp -rp /data/data /disk/

cp -rp /data/data /disk/

cp: can't create directory '/disk/data': Read-only file system

#

Does this have to do with the way i partition my drive? Maybe i should use gparted instead of paragon but the problem is i do not have a blank CD to boot up gparted :angry:

update 2 : i use gparted, splitted my partition into 300Mb (fat32) + 1.6gb (ext3) on a 2gb microsd card. Still having the same problem. Should i just reflash again everything from the scratch? hate to restore my apps/data from backup though :D

can you do this right after you do su:

su -

mount -o remount,rw /dev/block/mmcblk1p2 /disk

and then do the cp stuff

Link to comment
Share on other sites

Guest gravityz3r0
can you do this right after you do su:

su -

mount -o remount,rw /dev/block/mmcblk1p2 /disk

and then do the cp stuff

It says invalid argument :S

Microsoft Windows [Version 6.1.7600]

Copyright (c) 2009 Microsoft Corporation.  All rights reserved.


C:\Users\gravityz3r0>D:


D:\>cd\android


D:\android>cd tools


D:\android\tools>adb shell

$ su

su

# mount -o remount,rw /dev/block/mmcblk1p2 /disk

mount -o remount,rw /dev/block/mmcblk1p2 /disk

mount: mounting /dev/block/mmcblk1p2 on /disk failed: Invalid argument

#
however, i tried again with partial command without the /disk at the end and i get this :
# mount -o remount,rw /dev/block/mmcblk1p2

mount: can't find /dev/block/mmcblk1p2 in /proc/mounts

#
hmmm, something is missing? and just for extra info if it helps, this is what i get my typing mount only :
# mount

mount

rootfs on / type rootfs (ro)

tmpfs on /dev type tmpfs (rw,mode=755)

devpts on /dev/pts type devpts (rw,mode=600)

proc on /proc type proc (rw)

sysfs on /sys type sysfs (rw)

/dev/block/stl6 on /mnt/.lfs type j4fs (rw)

tmpfs on /sqlite_stmt_journals type tmpfs (rw,size=4096k)

none on /dev/cpuctl type cgroup (rw,cpu)

/dev/block/stl9 on /system type rfs (rw,vfat,llw,check=no,gid/uid/rwx,iocharset=

utf8)

/dev/block/mmcblk0p2 on /data type rfs (rw,nosuid,nodev,vfat,llw,check=no,gid/ui

d/rwx,iocharset=utf8)

/dev/block/stl10 on /dbdata type rfs (rw,nosuid,nodev,vfat,llw,check=no,gid/uid/

rwx,iocharset=utf8)

/dev/block/stl11 on /cache type rfs (rw,nosuid,nodev,vfat,llw,check=no,gid/uid/r

wx,iocharset=utf8)

/dev/block/stl3 on /efs type rfs (rw,nosuid,nodev,vfat,llw,check=no,gid/uid/rwx,

iocharset=utf8)

/dev/block//vold/179:1 on /sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,uid=

1000,gid=1015,fmask=0102,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=is

o8859-1,shortname=mixed,utf8,errors=remount-ro)

/dev/block//vold/179:9 on /sdcard/sd type vfat (rw,dirsync,nosuid,nodev,noexec,u

id=1000,gid=1015,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset

=iso8859-1,shortname=mixed,utf8,errors=remount-ro)

#

Also, just want to double check, during flashing with Odin, the checkbox "Auto-Reboot" and "F.Reset Time" is checked by default and i did not touch the setting at all. That should not be a problem right?

Edited by gravityz3r0
Link to comment
Share on other sites

Guest kanzlr

same problem as gravityz3r0.

disk is partitioned as fat32 first, ext3 second.

when I type "mount" I don't see /disk mounted at all, btw.

when I just try to remount /disk by issuing "mount /disk" it says

"can't read /etc/fstab no such file of directory"

and doing a "more /proc/mounts" also doesn't show disk at all

Edited by kanzlr
Link to comment
Share on other sites

Guest mimocan
same problem as gravityz3r0.

disk is partitioned as fat32 first, ext3 second.

when I type "mount" I don't see /disk mounted at all, btw.

it looks to me that the partitioning process is not sucessfull completed.

Link to comment
Share on other sites

Guest gravityz3r0
it looks to me that the partitioning process is not sucessfull completed.

This is what i do in gparted.

1. delete all partition clean, such that it shows unlocated of a bout 1.9Gb

2. Create 1 pending FAT32 partition of 300Mb.

3. Create pending Ext3 partition of remaining size (about 1.6+gb)

4. Apply

5. Format FAT32 (pending)

6. Format Ext3 (pending)

7. Apply

Reboot.

mimocan if you dont mind can you let me know your msn or something so we can discuss and probably sort this out quicker? thanks!!

Edited by gravityz3r0
Link to comment
Share on other sites

Guest kanzlr

hm, when I insert the SD in my PC, partitio manager shows it as two partitions, first fat32 with 996MB and the rest in ext3...?

so you mean I should repartition the disk again?

Link to comment
Share on other sites

Guest Xoneso

Right update to my post yesterday with benchmark results.

Reflashed my phone so i don't have JIT on it this time: (Got a Sandisk 8GB Class 2 card in the phone, Getting a Class 4 tomorrow or so and ill post the new results then)

Added two graphs of the phone before and after fix applied. Can't show one with JIT as that crashes the app.

First the results without fix:

Total CPU score;762.7128

MWIPS DP;56.62514;MWIPS(DP)

MWIPS SP;59.63029;MWIPS(SP)

MFLOPS DP;5.7290645;MFLOPS(DP)

MFLOPS SP;8.730493;MFLOPS(SP)

VAX MIPS DP;41.383533;VAX MIPS(DP)

VAX MIPS SP;39.822357;VAX MIPS(SP)

Memory

Total memory score;643.94385

Copy memory;585.1375;Mb/sec

Filesystem

Total file system score;55.29891

Creating 1000 empty files;35.915;sec

Deleting 1000 empty files;28.999;sec

Write 1M into file;2.5575447;M/sec

Read 1M from file;108.695656;sM/sec;
With Fix:
Total CPU score;764.54297

MWIPS DP;56.78592;MWIPS(DP)

MWIPS SP;59.594757;MWIPS(SP)

MFLOPS DP;5.6709156;MFLOPS(DP)

MFLOPS SP;8.819333;MFLOPS(SP)

VAX MIPS DP;41.150608;VAX MIPS(DP)

VAX MIPS SP;40.407852;VAX MIPS(SP)

Memory

Total memory score;647.3529

Copy memory;588.2353;Mb/sec

Filesystem

Total file system score;272.45197

Creating 1000 empty files;0.419;sec

Deleting 1000 empty files;0.292;sec

Write 1M into file;71.942444;M/sec

Read 1M from file;476.1905;sM/sec;
Taken from my earlier post (Fix and JIT enabled):
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;

post-722507-1279098381_thumb.png

post-722507-1279098386_thumb.png

Edited by Xoneso
Link to comment
Share on other sites

Guest Archer13

I had similar problems with "no /disk". The main reason - wrong preparation of SD card.

Success steps:

- you need a card reader

- create partitions both as primary

- format partitions! At least ext3 partition, cause fat32 may be formatted from the phone

I have created and formatted partitions as described above by Paragon HDM, and it's worked for me. In case of problem with mounting fat32 partition to windows - just format it by the phone, it will not erase ext3.

Edited by Archer13
Link to comment
Share on other sites

Guest crabby09

Holy crap!

So this fix does wonders to the phone?

Can anyone explain in real terms what this does... I'll give it a go tonight, but am really interested why this helps so much.

crabby

Link to comment
Share on other sites

Guest gravityz3r0
I had similar problems with "no /disk". The main reason - wrong preparation of SD card.

Success steps:

- you need a card reader

- create partitions both as primary

- format partitions! At least ext3 partition, cause fat32 may be formatted from the phone

I have created and formatted partitions by Paragon HDM, and it's worked for me. In case of problem with mounting fat32 partition to windows - just format it by the phone, it will not erase ext3.

I do not have a card reader, can i just leave it in the phone as the card reader?

Paragon gave me problem since it could not partition the sd card because it interprets it as a removable drive. Windows does not allow partitioning of removable drive. So i had to do it on gparted.

Edited by gravityz3r0
Link to comment
Share on other sites

Guest kanzlr

I created two partitions in Paragon, formatted both, still no /disk mounted

Is there a way to explicitely tell him to make them primary partitions?

thats how it looks now:

paragon.jpg

Link to comment
Share on other sites

Guest gravityz3r0
I created two partitions in Paragon, formatted both, still no /disk mounted

Is there a way to explicitely tell him to make them primary partitions?

thats how it looks now:

paragon.jpg

Yes they are right. Use card reader, i happened to find a micro sd -> SD converter. plug it in, repeat the partitioning and now it worked!

For some reason, you can't do it with the card in phone, even though everything seems normal.

Edited by gravityz3r0
Link to comment
Share on other sites

Guest HansBaer2000

Found a sollution for the mounting problem, now windows finds the drive

open disk management (a windows programm, just type it into the start bar)

right click on the fat32 drive

change drive letter and choose one

now it should work fine!

Edited by HansBaer2000
Link to comment
Share on other sites

Guest kanzlr

I already use a card reader :/

tried partitioning with PC with Paragon, also tried it with Mac Disk utility and formatted it ext3 with paragon...hm.

maybe the ext3 formatting in Paragon doesn't work, because I format both partitions, also the fat32 one. But when I insert it in the phone, it wants to format it again, because it says it doesn't recognize it

Edited by kanzlr
Link to comment
Share on other sites

Guest gravityz3r0
I already use a card reader :/

tried partitioning with PC with Paragon, also tried it with Mac Disk utility and formatted it ext3 with paragon...hm.

maybe the ext3 formatting in Paragon doesn't work, because I format both partitions, also the fat32 one. But when I insert it in the phone, it wants to format it again, because it says it doesn't recognize it

Odd, i've been struggling over and over, and it was solved the moment i switch it to a card reader. I'm using gparted by the way.

Yes, it's shown as formatted in Paragon for me too, but upon plugging it in windows, it says that the card cannot be recognized and needed another format :S

my quadrant now shows 1364, increased from 836 :angry:

thanks guys!

Edited by gravityz3r0
Link to comment
Share on other sites

Guest kanzlr

ok, there is definitely something wrong with partitioning.

windows disk manager shows that there is just one, big 1,85 GB GPT protected partition on the drive...weird.

have to explore this in the evening :angry:

Link to comment
Share on other sites

Guest HansBaer2000
I already use a card reader :/

tried partitioning with PC with Paragon, also tried it with Mac Disk utility and formatted it ext3 with paragon...hm.

maybe the ext3 formatting in Paragon doesn't work, because I format both partitions, also the fat32 one. But when I insert it in the phone, it wants to format it again, because it says it doesn't recognize it

format the external sd card in the phone menu first

Link to comment
Share on other sites

Guest Werner99

@mimocan are the fixes in I9000XWJG5 kernel related?!

Changelog:

- improved energy management in suspend mode

- updated YouTube, Google Maps

- Change Low-memory Killer Thread

- many minor fixes

if so is it then still good t use your kernel?!

Link to comment
Share on other sites

Guest mimocan
@mimocan are the fixes in I9000XWJG5 kernel related?!

Changelog:

- improved energy management in suspend mode

- updated YouTube, Google Maps

- Change Low-memory Killer Thread

- many minor fixes

if so is it then still good t use your kernel?!

no it's still based on 2.6.29, so you are safe to apply my fix.

Link to comment
Share on other sites

Guest Archer13
It's even faster when using ext4.

check the screenshot. I will publish the kernel with ext4 support anytime soon.

WOW! Did you think about making ext* partition at the end of the internal SD card? Is it possible?

Link to comment
Share on other sites

Guest mimocan
WOW! Did you think about making ext* partition at the end of the internal SD card? Is it possible?

still thinking about it but hard to create the partition with the internal drives.

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

×
×
  • Create New...

Important Information

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