Jump to content


Photo

Got the 'stalling' problem? Rooted? Try this...


  • Please log in to reply
339 replies to this topic

#1
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 36,369 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien
Try at your own risk... if things go wrong you'll need to wipe your device. I have done this and it seems to have eradicated the 'stalling' i've seen on the device...

You need to be rooted and have ADB on your PC to run these commands. If it's confirmed this helps, i'll make the process easier with an 'installer'.[/i]

Enter the following commands in adb on your PC with your device attached (rooted, with USB debugging enabled):

adb shell
su
cp -rp /data/data /dbdata
mv /data/data /data/data.bak
ln -s /dbdata/data /data/data
reboot
I've done this on mine, and i'm yet to see a 'stall'. Let me know how you get on!

NOTE: This basically moves the application data stuff from the internal SD to the NAND, which seems to be faster. The caveat is that the size limit for dbdata is about 130MB, so if you go over that with your app data, bad things might happen. On the plus side, we're only moving data not the apps themselves, so filling up 130MB will take a while. :lol:

P

  • 0

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#2
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 36,369 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien
My Galaxy feels a lot quicker on the whole after doing this...

P

  • 0

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#3
woutf

woutf

    Newbie

  • Members
  • Pip
  • 20 posts
  • Devices:Samsung Galaxy S
  • Twitter:@woutf
I get this message after the first command

# cp -rp /data/data /dbdata
cp -rp /data/data /dbdata
cp: can't stat '/data/data/LeveloKment.PatternControl/shared_prefs/LeveloKment.P
atternControl_preferences.xml.bak': No such file or directory

Should I just continue with the rest?

Edited by woutf, 29 June 2010 - 03:39 PM.

  • 0

#4
rrradiogirrrl

rrradiogirrrl

    Newbie

  • Members
  • Pip
  • 2 posts
Oh, great! Thanks, Paul! Can't try it right now since I'm heading over to Samsung HQ tomorrow in Belgium
They read my blog and contacted me after I posted a video on Youtube because they were really surprised to see the Galaxy S being so slow. They invited me to come over and have a look at it together, possibly flash some new firmware on it. So that hopefully means Samsung is working on it or will work on it soon!

  • 0

#5
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 36,369 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien

I get this message after the first command

Should I just continue with the rest?

Strange!

Try running it again? Do NOT continue until it completes successfully!

P

  • 0

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#6
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 36,369 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien

Oh, great! Thanks, Paul! Can't try it right now since I'm heading over to Samsung HQ tomorrow in Belgium
They read my blog and contacted me after I posted a video on Youtube because they were really surprised to see the Galaxy S being so slow. They invited me to come over and have a look at it together, possibly flash some new firmware on it. So that hopefully means Samsung is working on it or will work on it soon!

NICE! :lol:

P

  • 0

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#7
woutf

woutf

    Newbie

  • Members
  • Pip
  • 20 posts
  • Devices:Samsung Galaxy S
  • Twitter:@woutf

Strange!

Try running it again? Do NOT continue until it completes successfully!

P

Ok, somehow got it to work. So far so good, just started about 10 apps and started switching between them, no stalls to be seen (yet) :lol:

Edited by woutf, 29 June 2010 - 03:55 PM.

  • 0

#8
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 36,369 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien
I'm also running my optimised ROM (which i'll be posting soon), so that probably helps...

P

  • 0

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#9
Xoneso

Xoneso

    Newbie

  • Members
  • Pip
  • 43 posts
  • Devices:Samsung Galaxy S, SE X10
got a small problem doing this on my ubuntu box.

root@xoneso-laptop:/home/xoneso/sdk/tools# ./adb shell
$ su
# cp -rp /data/data /dbdata
cp: not found

any ideas?

  • 0

#10
dherrero

dherrero

    Regular

  • MoDaCo Silver
  • PipPip
  • 87 posts
  • Devices:Nexus One / Samsung Galaxy S
  • Twitter:@dherrero

Try at your own risk... if things go wrong you'll need to wipe your device. I have done this and it seems to have eradicated the 'stalling' i've seen on the device...

You need to be rooted and have ADB on your PC to run these commands. If it's confirmed this helps, i'll make the process easier with an 'installer'.[/i]

Enter the following commands in adb on your PC with your device attached (rooted, with USB debugging enabled):

adb shell
su
cp -rp /data/data /dbdata
mv /data/data /data/data.bak
ln -s /dbdata/data /data/data
reboot
I've done this on mine, and i'm yet to see a 'stall'. Let me know how you get on!

NOTE: This basically moves the application data stuff from the internal SD to the NAND, which seems to be faster. The caveat is that the size limit for dbdata is about 130MB, so if you go over that with your app data, bad things might happen. On the plus side, we're only moving data not the apps themselves, so filling up 130MB will take a while. :lol:

P

Hi
my device is rooted but when I write the first command I read ????????????????? no permisions. Any idea

  • 0

#11
dherrero

dherrero

    Regular

  • MoDaCo Silver
  • PipPip
  • 87 posts
  • Devices:Nexus One / Samsung Galaxy S
  • Twitter:@dherrero

Hi
my device is rooted but when I write the first command I read ????????????????? no permisions. Any idea

Fixed using other pc (now linux). Now testing speed :lol:

  • 0

#12
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 36,369 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien
Ah, you need Busybox mod installed too for now then!

P

  • 0

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#13
dherrero

dherrero

    Regular

  • MoDaCo Silver
  • PipPip
  • 87 posts
  • Devices:Nexus One / Samsung Galaxy S
  • Twitter:@dherrero

Ah, you need Busybox mod installed too for now then!

P

Well, programs open very fast..... :lol:
edit. wow, and programs like accuweather and others move very very fast between screens. Before the movement wasnt very good.

Edited by dherrero, 29 June 2010 - 04:43 PM.

  • 0

#14
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 36,369 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien
Yeah, definitely a noticeable improvement imho!

P

  • 0

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#15
Xoneso

Xoneso

    Newbie

  • Members
  • Pip
  • 43 posts
  • Devices:Samsung Galaxy S, SE X10
right got it to work using busybox to cp :lol:

also noticed that apps open up faster now and haven't had any shuttering yet

  • 0

#16
vitalijb

vitalijb

    Newbie

  • Members
  • Pip
  • 6 posts
  • Devices:Samsung Galaxy S

right got it to work using busybox to cp :lol:

also noticed that apps open up faster now and haven't had any shuttering yet


Well this solution is not actually usable on the phone. On my device size of /data/data is already 143 Mb, and its greater than free space in /dbdata (96 Mb)

  • 0

#17
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 36,369 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien
I did highlight that as a potential issue in the first post... hmmm, i'll think some more on this one...

P

  • 0

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#18
megakid

megakid

    Newbie

  • Members
  • Pip
  • 11 posts
  • Devices:Samsung Galaxy S

Well this solution is not actually usable on the phone. On my device size of /data/data is already 143 Mb, and its greater than free space in /dbdata (96 Mb)


What apps do you have installed?

I was only concerned about map caching apps and such like.

My /data/data was only 44Mb.

EDIT: just tried this - works great! Definite improvement to overall responsiveness. NICE :lol:

Edited by megakid, 29 June 2010 - 05:58 PM.

  • 0

#19
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 36,369 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien
There's more complex things we might be able to do with this, so all is not lost... :lol:

P

  • 0

You can follow me on Twitter - http://twitter.com/paulobrien / Follow MoDaCo on Twitter - http://twitter.com/modaco

Want to donate? MoDaCo is raising money for the Multiple Sclerosis society.

Posted Image


#20
woutf

woutf

    Newbie

  • Members
  • Pip
  • 20 posts
  • Devices:Samsung Galaxy S
  • Twitter:@woutf

There's more complex things we might be able to do with this, so all is not lost... :lol:

P

Like? are there other parts of the nand we might possibly get write acces to?

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users