Jump to content


Photo

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


  • Please log in to reply
339 replies to this topic

#41
gravityz3r0

gravityz3r0

    Regular

  • Members
  • PipPip
  • 66 posts
hey there, i'm a first time Android user and is very excited about development of custom ROM. I manged to root my GS and get to busy box, but how do you guys check the size of data/data and bdata?

Edited by gravityz3r0, 29 June 2010 - 09:26 PM.

  • 0

#42
Ash_786

Ash_786

    Regular

  • Members
  • PipPip
  • 57 posts

I used busybox du -h



hey there, i'm a first time Android user and is very excited about development of custom ROM. I manged to root my GS and get to busy box, but how do you guys check the size of data/data and bdata?


The first quote was posted 6 posts ago .... You seriously missed it ? Wow ...

  • 0

#43
megakid

megakid

    Newbie

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

EDIT 3 : Got adb access !!! . Now if someone could assist in the reversal commands. Theres a point or two I don't get. Thanks.


To undo I believe these are the steps (Based on my linux knowledge), if you followed the initial steps 100% correctly/completely:

su
rm /data/data (This will delete your symlink)
mv /data/data.bak /data/data (Restore your backup)
reboot


Edited by megakid, 29 June 2010 - 09:51 PM.

  • 0

#44
gravityz3r0

gravityz3r0

    Regular

  • Members
  • PipPip
  • 66 posts

The first quote was posted 6 posts ago .... You seriously missed it ? Wow ...


I tried before i posted, but the list came out really long, but i did not see anything that says data/data or dbdata

edit : or maybe i cant see it because it's on top of the list and i do not know how to scroll it back up.

edit 2 : ok got it, he did not mention du -h data/data. doh

Edited by gravityz3r0, 29 June 2010 - 09:57 PM.

  • 0

#45
Ash_786

Ash_786

    Regular

  • Members
  • PipPip
  • 57 posts
I re-flashed the phone and re-did the steps and it works fine. Everything seems to be zipping along, but some testing is needed yet. Thanks @megakid for your assistance, but the phone lost adb access and I was ... well screwed by then !!!

  • 0

#46
flash_235

flash_235

    Newbie

  • Members
  • Pip
  • 1 posts
  • Devices:Germany
sorry i have great problem. after i type su in the cmd the massage is: permission denied. What´s mistake???

Thanks for help

P[/quote]

Edited by flash_235, 30 June 2010 - 12:46 AM.

  • 0

#47
bigbuffalo2009

bigbuffalo2009

    Newbie

  • Members
  • Pip
  • 25 posts
  • Gender:Male
  • Devices:Galaxy Nexus
This is great. The phone is superfast now. I have over 20 apps install and only 20.53MB used.

  • 0

#48
Toreak

Toreak

    Newbie

  • Members
  • Pip
  • 5 posts
I uninstalled Google earth just to get /data/data down to 80Mb. After following the steps, the phone is blazing fast now. Thanks Paul.

  • 0

#49
nikker

nikker

    Newbie

  • Members
  • Pip
  • 5 posts
The data foder in my phone is too large, more than 300MB. I didn't install google earth, just some gameloft games.

I wonder whether there is any other ways to mv and ln some parts in the data folder, not all things in data folder.

Thanks.

  • 0

#50
dan 6a

dan 6a

    Newbie

  • Members
  • Pip
  • 29 posts
  • Devices:SGS I9000
THANKS TO PAUL!

This is my first smartphone and I managed to follow the instructions and it worked :lol: I think, I am not sure how to see if it did, but the adb commands went off without a hitch and then rebooted fine. Phone is running well (not sure if same or better though)

  • 0

#51
zenkinz

zenkinz

    Regular

  • Members
  • PipPip
  • 59 posts
  • Devices:motoq

They've kinda done that already, if you have a look around dbdata. There's other partitions that seem to be unmounted, gonna look into what they are for...

P


ok I saw that. but it's for db. maybe we can try with those core apps with huge cache/file in /data/data first, and i noticed its namely the com.android.providers/emails, imes and maybe the launcher.

now I am wondering, Galaxy S has 512MB RAM, 2G ROM and 16G internal storage.

I see that the 16G internal storage is mounted on /sdcard

and 2G ROM apparently has been partitition into multiple blocks and mounted as folders such as /system and /data ?

If so, what's rootfs (and the fs that mounts dbdata?) part of the 512MB RAM?

Edited by zenkinz, 30 June 2010 - 05:52 AM.

  • 0

#52
Toreak

Toreak

    Newbie

  • Members
  • Pip
  • 5 posts
Check your /data/data first to see which apps are storing lots of data in the megabyte range. Here's how:
adb shell
su
cd /data/data
busybox du -h|busybox grep M

games like gameloft games do take a few Mbs and google earth took about 20Mb. Unless there are new workarounds, the easiest way right now is to uninstall those apps that u can do without that takes up megs of space in /data/data. Alternative is try to identify apps that cause the stall and create symbolic links for those apps' data to /dbdata

  • 0

#53
KUNG_C

KUNG_C

    Newbie

  • Members
  • Pip
  • 4 posts
  • Devices:I9000
THANKS TO PAUL!

I've already done it, the phone is super fast now. But i also want to know, can the new apps install to /data/data again? instead of /dbdata/data

like to fuction App2SD

Edited by KUNG_C, 30 June 2010 - 06:10 AM.

  • 0

#54
vitalijb

vitalijb

    Newbie

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

Check your /data/data first to see which apps are storing lots of data in the megabyte range. Here's how:
adb shell
su
cd /data/data
busybox du -h|busybox grep M

games like gameloft games do take a few Mbs and google earth took about 20Mb. Unless there are new workarounds, the easiest way right now is to uninstall those apps that u can do without that takes up megs of space in /data/data. Alternative is try to identify apps that cause the stall and create symbolic links for those apps' data to /dbdata


Actually there is workaround - I just did it :lol:

I just linked everything except biggest folders in /data/data to /dbdata/data, and biggest folders linked separately each one so they would be in /data/data.bak/.

full script is here:

su
cp -rp /data/data /data/data_to_copy/
cd /data/data_to_copy
rm -r com.navngo.igo.javaclient
rm -r com.google.earth
rm -r com.navigon.navigator
rm -r com.gameloft.android.GAND.GloftDUNQ.DungeonHunter
rm -r com.google.android.youtube
rm -r com.gameloft.android.GAND.GloftHAWX.Hawx
rm -r com.gameloft.android.GAND.GloftNOHP
rm -r com.skyfire.browser
rm -r com.gameloft.android.GAND.GloftMCHP
rm -r com.sygic.drive
rm -r com.gameloft.android.GAND.GloftAsphalt5.asphalt5
rm -r com.polarbit.rthunder2
cp -rp /data/data_to_copy /dbdata/data/
rm -r /data/data_to_copy
mv /data/data /data/data.bak
ln -s /dbdata/data /data/data
ln -s /data/data.bak/com.navngo.igo.javaclient /data/data/com.navngo.igo.javaclient
ln -s /data/data.bak/com.google.earth /data/data/com.google.earth
ln -s /data/data.bak/com.navigon.navigator /data/data/com.navigon.navigator
ln -s /data/data.bak/com.gameloft.android.GAND.GloftDUNQ.DungeonHunter /data/data/com.gameloft.android.GAND.GloftDUNQ.DungeonHunter
ln -s /data/data.bak/com.google.android.youtube /data/data/com.google.android.youtube
ln -s /data/data.bak/com.gameloft.android.GAND.GloftHAWX.Hawx /data/data/com.gameloft.android.GAND.GloftHAWX.Hawx
ln -s /data/data.bak/com.gameloft.android.GAND.GloftNOHP /data/data/com.gameloft.android.GAND.GloftNOHP
ln -s /data/data.bak/com.skyfire.browser /data/data/com.skyfire.browser
ln -s /data/data.bak/com.gameloft.android.GAND.GloftMCHP /data/data/com.gameloft.android.GAND.GloftMCHP
ln -s /data/data.bak/com.sygic.drive /data/data/com.sygic.drive
ln -s /data/data.bak/com.gameloft.android.GAND.GloftAsphalt5.asphalt5 /data/data/com.gameloft.android.GAND.GloftAsphalt5.asphalt5
ln -s /data/data.bak/com.polarbit.rthunder2 /data/data/com.polarbit.rthunder2

reboot phone

Edited by vitalijb, 02 July 2010 - 04:40 PM.

  • 0

#55
PaulOBrien

PaulOBrien

    It's My Party

  • Founder
  • PipPipPipPipPipPip
  • 36,369 posts
  • Gender:Male
  • Location:Norwich, UK
  • Devices:All the Nexus!
  • Twitter:@paulobrien
That works, but messy tho. :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


#56
megakid

megakid

    Newbie

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

sorry i have great problem. after i type su in the cmd the massage is: permission denied. What´s mistake???

Thanks for help

P


Follow method 1 on here:

http://forum.samdroi...06-2010-a-1355/

Then su will work.

  • 0

#57
Ash_786

Ash_786

    Regular

  • Members
  • PipPip
  • 57 posts
Weird goings on ..... being lightly using the phone for 1 hour and 50% battery gone ... something aint right. Not sure if any wiping was needed before reflashing, but Ive just flashed again !

  • 0

#58
Fire2fly

Fire2fly

    Newbie

  • Members
  • Pip
  • 5 posts
  • Devices:HTC Hero
I suppose you are replying in the wrong topic.

  • 0

#59
dahoba

dahoba

    Newbie

  • Members
  • Pip
  • 4 posts
This's GREAT!
Thank you Paul

  • 0

#60
LadFromWales

LadFromWales

    Decisions, decisions...

  • Members
  • PipPip
  • 90 posts
  • Location:Pembrokeshire, Wales, UK, Earth, The Universe
  • Interests:The Ladies, Phones, Computers, Coffee
  • Devices:Google Nexus One, HTC Magic
  • Twitter:@LadFromWales
Would using NAND cause any noticable life shortening of the chip?

  • 0

May put something useful here soon, maybe...





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users