• Announcements

    • Reminder - MoDaCo position on illegal content   07/30/15

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such softwareNintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)CUSTOM ROMS You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)ROMs must give full credit to the original authorISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • Reminder: Selling items on the forum directly is not allowed   07/30/15

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspension / ban.

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

340 posts in this topic

Posted

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'.

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[/code]

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

Share this post


Link to post
Share on other sites

Posted

My Galaxy feels a lot quicker on the whole after doing this...

P

0

Share this post


Link to post
Share on other sites

Posted (edited)

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
0

Share this post


Link to post
Share on other sites

Posted

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

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

Share this post


Link to post
Share on other sites

Posted

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

Share this post


Link to post
Share on other sites

Posted

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

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

Share this post


Link to post
Share on other sites

Posted (edited)

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
0

Share this post


Link to post
Share on other sites

Posted

I'm also running my optimised ROM (which i'll be posting soon), so that probably helps...

P

0

Share this post


Link to post
Share on other sites

Posted

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

Share this post


Link to post
Share on other sites

Posted

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'.

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

Share this post


Link to post
Share on other sites

Posted

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

Share this post


Link to post
Share on other sites

Posted

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

P

0

Share this post


Link to post
Share on other sites

Posted (edited)

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
0

Share this post


Link to post
Share on other sites

Posted

Yeah, definitely a noticeable improvement imho!

P

0

Share this post


Link to post
Share on other sites

Posted

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

Share this post


Link to post
Share on other sites

Posted

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

Share this post


Link to post
Share on other sites

Posted

I did highlight that as a potential issue in the first post... hmmm, i'll think some more on this one...

P

0

Share this post


Link to post
Share on other sites

Posted (edited)

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
0

Share this post


Link to post
Share on other sites

Posted

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

P

0

Share this post


Link to post
Share on other sites

Posted

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

Share this post


Link to post
Share on other sites

Posted

Potentially, we'll see...

P

0

Share this post


Link to post
Share on other sites

Posted

I'm really surprised to hit the full 130MB tho tbh...

P

0

Share this post


Link to post
Share on other sites

Posted

I'm really surprised to hit the full 130MB tho tbh...

P

Why? Isn't down to the applications you have and where they choose to store stuff?

Say you downloaded a mapping application that allowed you to download/cache maps from online, would that go into this data directory (I'm not sure on the APIs or any sandboxes that are available to devs when producing an android app)

0

Share this post


Link to post
Share on other sites

Posted

Only if it was brainless... it would ideally store to the sdcard.

P

0

Share this post


Link to post
Share on other sites

Posted

I'm really surprised to hit the full 130MB tho tbh...

P

I made a list of directories using the most and here they are:

143.000.000 /data/data

18.800.000 /data/data/com.navngo.igo.javaclient

18.500.000 /data/data/com.google.earth

17.600.000 /data/data/com.navigon.navigator

16.300.000 /data/data/com.google.earth/lib

15.800.000 /data/data/com.navigon.navigator/lib

7.300.000 /data/data/com.gameloft.android.GAND.GloftDUNQ.DungeonHunter/lib

7.300.000 /data/data/com.gameloft.android.GAND.GloftDUNQ.DungeonHunter

7.000.000 /data/data/com.google.android.youtube

6.900.000 /data/data/com.google.android.youtube/cache

6.700.000 /data/data/com.gameloft.android.GAND.GloftHAWX.Hawx

6.600.000 /data/data/com.gameloft.android.GAND.GloftHAWX.Hawx/lib

6.500.000 /data/data/com.gameloft.android.GAND.GloftNOHP

6.400.000 /data/data/com.skyfire.browser

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.