[Q] How to know Data++ is working? - Desire Q&A, Help & Troubleshooting

Hi,
I have just flash my desire with Revolution 3.0 ROM.
before that i made the partition on ext4 using Gparted.
I have checked using this info:
D. How to check if it worked?
To check whether A2SD is working once you've flashed your ROM,
1)Download Quick System Info from the Market, and check under A2SD Storage, it should give you enough informations.
2)download the Android Terminal Emulator app from the market and use the following commands
Code:
su
ls -l /data
You should see your app directory pointing to /system/sd/app and app-private pointing to /system/sd/app-private (courtesy of ikkokusenkin)
Click to expand...
Click to collapse
From here: http://forum.xda-developers.com/showpost.php?p=7279872&postcount=3
On the Quick System Info, it shows A2SD Storage with a total 1,95Gb and 1.49Gb free. So i think that is ok.
But, on the terminal, it shows the app directory pointing to /system/sd/app but the app-private does not point to the sd.
Is that normal?
Do i need to worry about the app-private redirection?
Thanks

Hello!
That's ok. You are able to access the content of the SD-ext partition with /system/sd/
The /app-private folder is originally located in /data. But usually it is moved to SD-ext too - but this is a thing the ROM-developer can change like he wants. I think, it would be a good idea to ask him to this.
You don't need to be worried about this. Apps which are located there are simply stored completely in NAND.
Sent from my An-Droid loaded Desire

anderl78 said:
Hello!
That's ok. You are able to access the content of the SD-ext partition with /system/sd/
The /app-private folder is originally located in /data. But usually it is moved to SD-ext too - but this is a thing the ROM-developer can change like he wants. I think, it would be a good idea to ask him to this.
You don't need to be worried about this. Apps which are located there are simply stored completely in NAND.
Sent from my An-Droid loaded Desire
Click to expand...
Click to collapse
Thanks, after a while and after reading a lot i realise that i didn´t change the hboot into Data++ and that is a requirement for the revolution 3.0 version.
So now i am updating the radio, updating the hboot and after i will flash the rom again.
So thats the reason that the rom is not working properly.
I will update this if something goes wrong.

Related

How to check if Apps2SD has been installed correctly...

The following information is for those who are still unsure of whether Apps2SD has been installed and if it is working correctly after root.
Open a Terminal Editor on your phone (I currently use ConnectBot, which is available for download via the Android Marketplace, comes with hotkeys, and it's free, link <here>).
When you have the client open, type "su" to gain super user access, and then hit enter. Now type "ls -l /data" and hit enter. You should see a few lines, a couple of which should read on the far right column:
dalvik-cache -> /system/sd/dalvik-cache
app-private -> /system/sd/app-private
app -> /system/sd/app
Notice the -> indicating symlinks and the 'sd'
You can also run: busybox df -h to check the /system/sd that the folder is being used
If this output is visible to you, then Apps2SD is working properly and you have installed it correctly. You will notice that by checking Menu > Settings > SD & phone storage, there is still some internal memory going down due to cache, other data, etc, but the main apps all go on the SD card given the above result. I currently have 29 apps installed (including Google Earth, which is 22.1 MB in size itself) and my internal memory currently shows 119MB of available space.
You can perform more extensive checks by executing the following command:
ls /system/sd/app (this will list all the apps which you have installed to the SD card)
If you prefer to run it from a PC with your phone connected, then this can also be checked via ADB by installing the relevant Android SDK for your OS. Downloads for SDK versions, link <here>.
Alternatively, you can use the script (written by theboxman from MoDaCo.com), which you can run via GScript Lite to test if Apps2SD is working correctly, link <here>.
how about unlock?
thank you for the info. btw, i havent seen in the forum if there a way to unlock the Desire form a certain network. any idea? sorry i know its the wrong place to ask and post this.
Hi Mastoid,
Could you tell me how exactly to run this from PC?
I've got the whole SDK installed but no idea what i have to do...open a prompt or something? Please inform as i'd really like to check.
You need to download the Android SDK and also Java.
http://java.sun.com/javase/downloads/widget/jdk6.jsp
http://developer.android.com/sdk/index.html
Then open a command prompt in Windows, plug in your Desire (your phone does not need to be in hboot/fastboot to access adb shell).
1) Open a command prompt on your computer and cd to your adb tools directory (it will be wherever you extracted the sdk; ie, c:\android-sdk_r04-windows\android-sdk-windows\tools
2) In that window enter the following commands:
adb shell
su
ls -l /data
this should list the top 2 items as:
lrwxrwxrwx root root 2010-04-28 22:54 app-private -> /system/sd/app-private
lrwxrwxrwx root root 2010-04-28 22:54 app -> /system/sd/app
ls -l /system/sd/app (will list apps on installed to your SD Card)
Now, for final proof, type:
busybox df -h
iom_jack said:
thank you for the info. btw, i havent seen in the forum if there a way to unlock the Desire form a certain network. any idea? sorry i know its the wrong place to ask and post this.
Click to expand...
Click to collapse
Do you mean to have it sim-unlocked?
http://uk.answers.yahoo.com/question/index?qid=20100328154024AA1abkl
Great!
That worked, though the items you mention are not at the top but a couple of rows down. Busybox did show the apps installed on the SD.....ah, peace of mind
thx for the instructions!
no problem bud, glad it worked out for you
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
Question about APP2SD.....if anyone can answer
can it stop working halfway? i mean at first it really looked like apps were on SD but now it takes the flash memory instead....
i have 38m left with APP2SD
totorip said:
can it stop working halfway? i mean at first it really looked like apps were on SD but now it takes the flash memory instead....
i have 38m left with APP2SD
Click to expand...
Click to collapse
I posted a thread recently showing how to check if Apps2SD has been installed correctly and is working:
http://forum.xda-developers.com/showthread.php?t=677073
How to setup App2SD?
Anyone got a clear, easy guide on getting it working? Can you install it on the standard rooted ROM from MoDaCo? Do you need to have it cooked into a ROM?
A video or something would help but I'm interested in getting it setup incase I need to get a load of apps
î did your think i i use better terminal pro
app => system/sd/app
dalvik cache => /system/sd/dalvik cache
app private => /system/sd/ app private
so how can i have around 40mb left only?
Re: Question about APP2SD.....if anyone can answer
How many apps have you installed?
How have you partitioned your sd card? i.e. swap size?, ext2 size?
Have you applied the Apps2SD update zip?
-------------------------------------
Sent via the XDA Tapatalk App
ive got maybe 40/50apps
i partitionned , 66 cache 1280m EXT 2=> EXT3
and no update....i dont need with the latest modaco R2 custom rom do i?
im afraid to reboot everything again, spent the whole day to isntall everything
30mb left :x
Re: Question about APP2SD.....if anyone can answer
I would suggest that you apply the dalvik-cache update zip and that should hopefully fix it. Note that you should only allocate 512MB to 1024MB (max) for the ext2 size and, you do not require a swap of 66MB, it is not recommended. I have my swap set to 0MB, ext2 set to 512MB which is more than enough space for apps, and rest to FAT32.
Search google for the "Apps2SD mini guide" (found via MoDaCo website) click the link and scroll down to the bottom of page one, the update zip file is available there.
-------------------------------------
Sent via the XDA Tapatalk App
is it bad? (64 swap)
i calculated, i installed 170m worth of app. And i have "43" left (started at 138)
so , somewhere, APP2SD is working...but not verry effective
Re: Question about APP2SD.....if anyone can answer
I think it is working, run the command (ls /system/sd/app) in terminal editor in the link i posted earlier and check what apps are stored to the sd card. Also, download and install "cachecleaner" from the marketplace (free) to free up some cache space.
-------------------------------------
Sent via the XDA Tapatalk App
Re: Question about APP2SD.....if anyone can answer
You have something wrong. I have also this Rom with about 53 apps and have still 134MB free.
Sent from my HTC Desire
i installed the update.zip
i went from 38 to 53mb
then i use cache cleaner , i now have 60....
and still 170m worth of app...
so is my app2sd working in half?
Re: Question about APP2SD.....if anyone can answer
I ran the command in Su, and only the 2 app ones said sd, my dalvic cache didn't say SD card. I ran the suggested update fix but had bootloop, do I need to wipe anything first? I'm using evil 1. 0 Rom and thought it came pre app2sd. . .
Id like to get dalvic moved. . .
Thanks
-------------------------------------
Sent via the XDA Tapatalk App
Lol since thazt update zip i have no more wifi....cant start wifi it says. Great

does rom manager app work with slide?

I have never used the rom manager app from clockwork but I just read it referenced in a comment about cyanogen. Since we don't have a recovery that stick (as far as I know) does this app work with the slide?
skullkandy said:
I have never used the rom manager app from clockwork but I just read it referenced in a comment about cyanogen. Since we don't have a recovery that stick (as far as I know) does this app work with the slide?
Click to expand...
Click to collapse
Yes sir, it does... support was just added for the Slide a day or so ago. Before, the Aria recovery 2.0.2.4 worked just fine.
(sidenote)....I'm now having problems with it seeing my ext partition, again...grr.
(EDIT!!!) DO NOT use the SLIDE RECOVERY IN ROM MANAGER...I flashed it and yes, it was the culprit in breaking my ext support. USE HTC ARIA file here... http://www.koushikdutta.com/2010/02/clockwork-recovery-image.html Drop the file onto the root of your sdcard, making sure to name it update (or update.zip) if you're using XP. Then create a clockworkmod folder on your sd card, then create ANOTHER clockworkmod folder inside it. Then drop the same file into this folder and name it recovery-update. You should now be able to flash to your hearts content.
jreed3786 said:
Yes sir, it does... support was just added for the Slide a day or so ago. Before, the Aria recovery 2.0.2.4 worked just fine.
(sidenote)....I'm now having problems with it seeing my ext partition, again...grr.
Click to expand...
Click to collapse
in regards to the ext partition, how do we know if it is noticing it correctly or not. i have a2sd setup w/ a 512mb ext2 partition setup using eugene's latest clockwork update.zip. with a plethora of apps installed, i'm down to about 245mb on the ext. however, my internal storage (145mb) has gone down to ~60mb. this is even w/ all caches cleared. i have been wondering if there is something wrong w/ my setup or if this is considered as normal?
poetik517 said:
in regards to the ext partition, how do we know if it is noticing it correctly or not. i have a2sd setup w/ a 512mb ext2 partition setup using eugene's latest clockwork update.zip. with a plethora of apps installed, i'm down to about 245mb on the ext. however, my internal storage (145mb) has gone down to ~60mb. this is even w/ all caches cleared. i have been wondering if there is something wrong w/ my setup or if this is considered as normal?
Click to expand...
Click to collapse
If you have ADB and drivers installed, in command prompt issue the following:
adb shell ls -l /data
(alternatively, in Terminal Emulator it's simply "ls -l /data")
If among other directories you see this:
lrwxrwxrwx . . . .. ............. app -> /system/sd/app
lrwxrwxrwx . . . .. ............. app-private -> /system/sd/app-private
it means that Apps2SD (and your ext partition) is working fine.
jreed3786 said:
If you have ADB and drivers installed, in command prompt issue the following:
adb shell ls -l /data
(alternatively, in Terminal Emulator it's simply "ls -l /data")
If among other directories you see this:
lrwxrwxrwx . . . .. ............. app -> /system/sd/app
lrwxrwxrwx . . . .. ............. app-private -> /system/sd/app-private
it means that Apps2SD (and your ext partition) is working fine.
Click to expand...
Click to collapse
well yea, its listed. thanks. just didn't wanna see that dreadful "storage low" msg pop up later on for the wrong reasons or due to faulty setup.
this is a little non-related to the topic but in addition to cache clearers, are there any cleaning tools for android, as there are for winmo (ie. sktools). i understand the cleaning of caches, but does that cover temporary files, histories, corrupt files?
poetik517 said:
well yea, its listed. thanks. just didn't wanna see that dreadful "storage low" msg pop up later on for the wrong reasons or due to faulty setup.
this is a little non-related to the topic but in addition to cache clearers, are there any cleaning tools for android, as there are for winmo (ie. sktools). i understand the cleaning of caches, but does that cover temporary files, histories, corrupt files?
Click to expand...
Click to collapse
Yes, it should clear basically everything you listed...yes...I used cachemate, on Android and enjoyed it...not sure about with the Slide, though.

Apps2SD on HTC Hero with default 2.1 ROM

Hi all, i've bought an HTC Hero with HTC's 2.1 ROM, and since it's still in warranty i don't want to flash it with a custom ROM now
I can't find a way to install apps on the SD, because all i find are cusom roms which already have apps2sd enabled...
What can i do if i want to keep my warranty?
Cero92 said:
Hi all, i've bought an HTC Hero with HTC's 2.1 ROM, and since it's still in warranty i don't want to flash it with a custom ROM now
I can't find a way to install apps on the SD, because all i find are cusom roms which already have apps2sd enabled...
What can i do if i want to keep my warranty?
Click to expand...
Click to collapse
no. you need root. If you like your warranty, and your phone gets broken in some way while rooting, you can just run the official RUU and return it back to stock state, and your provider will never know.
Cero92 said:
Hi all, i've bought an HTC Hero with HTC's 2.1 ROM, and since it's still in warranty i don't want to flash it with a custom ROM now
I can't find a way to install apps on the SD, because all i find are cusom roms which already have apps2sd enabled...
What can i do if i want to keep my warranty?
Click to expand...
Click to collapse
You can't enable app2sd without root, and if I am not mistaken, it's the rooting the will void your warranty....
I don't think you can mess with anything at the system level without voiding your warranty, which makes sense.
But, Andyt95 is right, if you mess something up, the RRU should restore it to the unrooted state.
I rooted it using this guide: http://forum.xda-developers.com/showthread.php?t=645253
I followed the first part up to the fourth point (i think recovery img is needed to flash, not to root, am i wrong?)
But, now?
ya recovery image needs when you want to flash something in your mobile . But to root your phone it don't need recovery
there are many apps out there which can give you root & most of them are compatible for Hero
Yes i rooted it
But what to do next to install apps on sd?
I can't find a tutorial, my mistake?
Cero92 said:
Yes i rooted it
But what to do next to install apps on sd?
I can't find a tutorial, my mistake?
Click to expand...
Click to collapse
You need to partition your card with a EXT 2 partition. Then install any custom ROM. Most support app2SD
nirmalv said:
You need to partition your card with a EXT 2 partition. Then install any custom ROM. Most support app2SD
Click to expand...
Click to collapse
Yes, but i'd like to jeep the default ROM for a while
Sent from my HTC Hero using XDA App
Cero92 said:
Yes, but i'd like to jeep the default ROM for a while
Sent from my HTC Hero using XDA App
Click to expand...
Click to collapse
The problem is, its not a simple update, it needs support in the kernel ramdisk, busybox installed and some scripts.
Usually I don't like to recommend the Darktremor app2sd, because its a bit too bloated in my eyes, and I don't like things which are so complicated I can't understand them (and I have tried, but he has so much script for a relatively simple task...).
Anyway in this case, I think its your only bet.
DO A NANDROID BACKUP BEFORE YOU TRY ANYTHING - ESPECIALLY THIS!
EDIT: Taking another look, even it (the Darktremor app2sd) does not seem to fix the kernel's ramdisk. You might want to test it after a nandroid backup on the odd chance I am wrong (i.e. if your original ROM does run the init.d scripts - mine did not). I am afraid if I am right, the only way you can keep the original ROM and enable app2sd, is if you unpack the kernel ramdisk and edit the init.rc to run the init.d scripts - which is a bit more complicated than it sounds, but not that hard if you have the proper background....
erasmux said:
The problem is, its not a simple update, it needs support in the kernel ramdisk, busybox installed and some scripts.
Usually I don't like to recommend the Darktremor app2sd, because its a bit too bloated in my eyes, and I don't like things which are so complicated I can't understand them (and I have tried, but he has so much script for a relatively simple task...).
Anyway in this case, I think its your only bet.
DO A NANDROID BACKUP BEFORE YOU TRY ANYTHING - ESPECIALLY THIS!
EDIT: Taking another look, even it (the Darktremor app2sd) does not seem to fix the kernel's ramdisk. You might want to test it after a nandroid backup on the odd chance I am wrong (i.e. if your original ROM does run the init.d scripts - mine did not). I am afraid if I am right, the only way you can keep the original ROM and enable app2sd, is if you unpack the kernel ramdisk and edit the init.rc to run the init.d scripts - which is a bit more complicated than it sounds, but not that hard if you have the proper background....
Click to expand...
Click to collapse
I'm down to give this a try, my girl wants the stock rom and a2sd. Dam cake eaters! but is there a process to follow with this? I'm good enough to follow a process but not create it for a2sd. Any links to reference??
da-pharoah said:
I'm down to give this a try, my girl wants the stock rom and a2sd. Dam cake eaters! but is there a process to follow with this? I'm good enough to follow a process but not create it for a2sd. Any links to reference??
Click to expand...
Click to collapse
why stock though? have you considered that villainrom 13 is just like stock but better and has apps2sd? it's a full HTC sense 2.1 rom but rooted with apps2sd and a few small additions to ensure it runs as fast as possible and gives as much room as possible and runs a custom kernel ***
and you can revert by flashing an RUU which is super easy to do (I've done it before for warranty reasons) and the RUU (stock rom) works exactly the same, in fact IS exactly the same except for the features you're asking for.
***(which is pretty much required for apps2sd unless you want to hack it for a while and know how to do it yourself (it's a lot to ask the devs here to tell you everything you need to do if you're not a kernel developer already imho and even then there isn't a guarantee you wont' mess up your phone's stock rom).
dkelley said:
why stock though? have you considered that villainrom 13 is just like stock but better and has apps2sd? it's a full HTC sense 2.1 rom but rooted with apps2sd and a few small additions to ensure it runs as fast as possible and gives as much room as possible and runs a custom kernel ***
and you can revert by flashing an RUU which is super easy to do (I've done it before for warranty reasons) and the RUU (stock rom) works exactly the same, in fact IS exactly the same except for the features you're asking for.
***(which is pretty much required for apps2sd unless you want to hack it for a while and know how to do it yourself (it's a lot to ask the devs here to tell you everything you need to do if you're not a kernel developer already imho and even then there isn't a guarantee you wont' mess up your phone's stock rom).
Click to expand...
Click to collapse
Hi I am trying to find the step by step guide about how to setup Apps2SD working. But having tough time. I have done this with my HD2 but cant find much help for Hero.
I have Recovery image flashed with 8GB (class 6) SD Card.
Next I am looking to partition the card from recovery, but what should be the swap size?
Once partitioned I will try flashing Villainrom 13 ROM.
Thanks
nbhor said:
Hi I am trying to find the step by step guide about how to setup Apps2SD working. But having tough time. I have done this with my HD2 but cant find much help for Hero.
I have Recovery image flashed with 8GB (class 6) SD Card.
Next I am looking to partition the card from recovery, but what should be the swap size?
Once partitioned I will try flashing Villainrom 13 ROM.
Thanks
Click to expand...
Click to collapse
Swap does not seem to work well for the hero, therefore most ROMs will not enable it and I use 0 for the swap size when partitioning. If you still prefer to reserve room for it use something like 32 or 64.
dkelley said:
why stock though? have you considered that villainrom 13 is just like stock but better and has apps2sd? it's a full HTC sense 2.1 rom but rooted with apps2sd and a few small additions to ensure it runs as fast as possible and gives as much room as possible and runs a custom kernel ***
and you can revert by flashing an RUU which is super easy to do (I've done it before for warranty reasons) and the RUU (stock rom) works exactly the same, in fact IS exactly the same except for the features you're asking for.
***(which is pretty much required for apps2sd unless you want to hack it for a while and know how to do it yourself (it's a lot to ask the devs here to tell you everything you need to do if you're not a kernel developer already imho and even then there isn't a guarantee you wont' mess up your phone's stock rom).
Click to expand...
Click to collapse
thanks for the reply! but to answer your in short, My girl doesnt speak geek and gets pissed right away when the ROM she uses acts up. So in short stock roms is whats she likes. I have been trying to convince her to do another ROM but she is hard headed. I think i'll just flash the villainrom 13 and tell her its stock lol. Thanks again i'll check it out!
Tried multiple attempts from scratch every time.
Attempt 1 - Failed
Partitioned my SD Card for EXT 2 (512MB).
Tried flashing of Villainrom 13 ROM along with Dalvik2SD patch.
Installed bunch of apps. Checked size of EXT2 partition. Nothing changed. Its still same size as it was before installing apps. System memory reduced from its original value.
Attempt 2 - Failed
Partitioned my SD Card for EXT 3 (512MB).
Tried flashing of Villainrom 13 ROM along with Dalvik2SD patch.
Installed bunch of apps. Checked size of EXT3 partition. Nothing changed. Its still same size as it was before installing apps. System memory reduced from its original value.
Any suggestions?
nbhor said:
Tried multiple attempts from scratch every time.
Attempt 1 - Failed
Partitioned my SD Card for EXT 2 (512MB).
Tried flashing of Villainrom 13 ROM along with Dalvik2SD patch.
Installed bunch of apps. Checked size of EXT2 partition. Nothing changed. Its still same size as it was before installing apps. System memory reduced from its original value.
Attempt 2 - Failed
Partitioned my SD Card for EXT 3 (512MB).
Tried flashing of Villainrom 13 ROM along with Dalvik2SD patch.
Installed bunch of apps. Checked size of EXT3 partition. Nothing changed. Its still same size as it was before installing apps. System memory reduced from its original value.
Any suggestions?
Click to expand...
Click to collapse
System memory is still reduced with app2sd, since the /data/data folder is not moved to the SD.
Assuming you have adb working, check these two commands:
Code:
adb shell df -h
adb shell ls -ld /data/app
If you think you still have a problem please post the result of these two commands.
erasmux said:
System memory is still reduced with app2sd, since the /data/data folder is not moved to the SD.
Assuming you have adb working, check these two commands:
Code:
adb shell df -h
adb shell ls -ld /data/app
If you think you still have a problem please post the result of these two commands.
Click to expand...
Click to collapse
Do I run this command in terminal emulator on droid or use droid explorer > Terminal Command?
Can Root Explorer help? I am getting adb permission denied from terminal emulator.
nbhor said:
Do I run this command in terminal emulator on droid or use droid explorer > Terminal Command?
Can Root Explorer help? I am getting adb permission denied from terminal emulator.
Click to expand...
Click to collapse
well, I actually meant connecting the device w/ a USB cable to your computer and then from a command prompt (i.e. start -> run -> "cmd") using the "adb.exe" utility that comes with the android SDK (under the tools folder)....
You can run the same commands in a terminal windows just without the "adb shell":
Code:
df -h
ls -ld /data/app
Only problem is that then it you can't copy paste your result here.
for the "df -h" command take note of the mount of your sdcard which should start like this line:
Code:
/dev/block/mmcblk0p2 720.9M 506.3M 178.0M 74% /sd-ext
I would assume that for you the mount point (last value) would be /system/sd.
next check the "ls -ld /data/app" and make sure it is linked to the same location, in my case it is:
Code:
lrwxrwxrwx 1 root root 11 Apr 20 09:59 /data/app -> /sd-ext/app
erasmux said:
well, I actually meant connecting the device w/ a USB cable to your computer and then from a command prompt (i.e. start -> run -> "cmd") using the "adb.exe" utility that comes with the android SDK (under the tools folder)....
You can run the same commands in a terminal windows just without the "adb shell":
Code:
df -h
ls -ld /data/app
Only problem is that then it you can't copy paste your result here.
for the "df -h" command take note of the mount of your sdcard which should start like this line:
Code:
/dev/block/mmcblk0p2 720.9M 506.3M 178.0M 74% /sd-ext
I would assume that for you the mount point (last value) would be /system/sd.
next check the "ls -ld /data/app" and make sure it is linked to the same location, in my case it is:
Code:
lrwxrwxrwx 1 root root 11 Apr 20 09:59 /data/app -> /sd-ext/app
Click to expand...
Click to collapse
My results from above 2 commands
C:\Program Files (x86)\Android\android-sdk\platform-tools>adb shell df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 95.6M 0 95.6M 0% /dev
tmpfs 4.0M 0 4.0M 0% /sqlite_stmt_journals
/dev/block/mtdblock3 170.0M 162.8M 7.2M 96% /system
/dev/block/mtdblock5 165.8M 11.2M 154.5M 7% /data
/dev/block/mtdblock4 130.0M 58.8M 71.2M 45% /cache
/dev/block/mtdblock4 130.0M 58.8M 71.2M 45% /data/dalvik-cache
/dev/block//vold/179:1
6.8G 4.0G 2.8G 59% /sdcard
C:\Program Files (x86)\Android\android-sdk\platform-tools>adb shell ls -ld /data/app
drwxrwx--x 1 1000 1000 2048 Apr 22 01:34 ?[1;34m/data/app?[0m
nbhor said:
My results from above 2 commands
C:\Program Files (x86)\Android\android-sdk\platform-tools>adb shell df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 95.6M 0 95.6M 0% /dev
tmpfs 4.0M 0 4.0M 0% /sqlite_stmt_journals
/dev/block/mtdblock3 170.0M 162.8M 7.2M 96% /system
/dev/block/mtdblock5 165.8M 11.2M 154.5M 7% /data
/dev/block/mtdblock4 130.0M 58.8M 71.2M 45% /cache
/dev/block/mtdblock4 130.0M 58.8M 71.2M 45% /data/dalvik-cache
/dev/block//vold/179:1
6.8G 4.0G 2.8G 59% /sdcard
C:\Program Files (x86)\Android\android-sdk\platform-tools>adb shell ls -ld /data/app
drwxrwx--x 1 1000 1000 2048 Apr 22 01:34 ?[1;34m/data/app?[0m
Click to expand...
Click to collapse
Well, you really do *not* have app2sd enabled (I am sorry for my previous disbelief but I have seen many users in the past which only thought they did not have app2sd enabled).
From your previous posts I understand you are using VR13, so either ask on the VR13 thread how to enable app2sd (you can post the above as proof it is not working for you), or change to a ROM with more "stable" app2sd....

where did my storage space go?

Hey for some days now i have not been able to instal any apps, then i checked how much space i have left on the phone and it was 2mb. now here is the thing, i got 8 apps and they are together 5mb... I have tried to delete catch stuff etc and i got nothing more, so what happend to my storage space?
Appbrain
-Create an appbrain account
-Install appbrain on your phone
-Sync
-Go appbrain website and click 'My Apps'
Do this to double check what you have installed.
If you're rooted, what rom are you using?
To clean my cache, i use Cache Cleaner NG.
Copy paste from another post i just made.
This has always been a problem with my desire until i found out about AlphaRev. Now i've got 166MB free internal space. My suggestion is to install AlphaRev and modify the partition tables as listed in the tutorial on alpharev.nl. I would have posted a link but i can't post links yet.
From terminal emulator or adb shell type this (root required)
su
du -md 2 /data > /sdcard/data.txt
Then open your favourite file explorer and take a look at data.txt on your sdcard to find the culprit. In the file should be a list of directories and their size, just look for the biggest one.
mercianary said:
From terminal emulator or adb shell type this (root required)
su
du -md 2 /data > /sdcard/data.txt
Then open your favourite file explorer and take a look at data.txt on your sdcard to find the culprit. In the file should be a list of directories and their size, just look for the biggest one.
Click to expand...
Click to collapse
Sent from my HTC Desire using XDA Premium App
nsain said:
Hey for some days now i have not been able to instal any apps, then i checked how much space i have left on the phone and it was 2mb. now here is the thing, i got 8 apps and they are together 5mb... I have tried to delete catch stuff etc and i got nothing more, so what happend to my storage space?
Click to expand...
Click to collapse
Root your phone, and the go and Install Starburst ROM, its super fast, stable and I have 1.7gb of internal storage space to install apps
Make sure you have a class 4 SD card or better, trust me it will be the best thing you have done to your phone.
P.S dont forget to backup all your apps and stuff.
shankly1985

[Q] install apk to sd-ext

hi guys,
i would just like to ask if it is possible to install apk and will automatically moved to sd-ext and not on data\app?
i'm currently on aurora v4.1. Any ideas? Thanks!
The Rom thread says it you need an ext for a2SD so this should already be happening
Sent from my HTC Desire using xda premium
jhannbernas said:
hi guys,
i would just like to ask if it is possible to install apk and will automatically moved to sd-ext and not on data\app?
i'm currently on aurora v4.1. Any ideas? Thanks!
Click to expand...
Click to collapse
It is already on your sd-ext. Check sd-ext/app
thanks for your replies...
i think i got a problem here...
i tried to install an apk (download from pc and transfer to phone and then install) but when i visit the /data/app the apk i install was there.. and when i also visit the /sd-ext/app it was also there with the same size on what is in /data/app..
anyone can help me? do i need to flash some add-ons to make it automatically installed on /sd-ext? i just want to install apps which is automatically installed on /sd-ext and not mind the size of my /data.. what i'm i done wrong??
my details:
ROM: Aurora v4.1
16GB microsd card
sd-ext: 1GB ext4
sdcard is the rest
hboot: cm7/r2
partition via gparted
Thanks!
Not sure about that, Maybe an issue or duplication in the scriopt? Would only expect to see it in one or the other. May be best asking this in teh rom thread to be honest.
I think it's more likely that he's missing the symlink. Do an ls -l, to see the symlink
Droidzone said:
I think it's more likely that he's missing the symlink. Do an ls -l, to see the symlink
Click to expand...
Click to collapse
thanks sir. sorry but what is symlink? where can i do that?
jhannbernas said:
thanks for your replies...
i think i got a problem here...
i tried to install an apk (download from pc and transfer to phone and then install) but when i visit the /data/app the apk i install was there.. and when i also visit the /sd-ext/app it was also there with the same size on what is in /data/app..
anyone can help me? do i need to flash some add-ons to make it automatically installed on /sd-ext? i just want to install apps which is automatically installed on /sd-ext and not mind the size of my /data.. what i'm i done wrong??
my details:
ROM: Aurora v4.1
16GB microsd card
sd-ext: 1GB ext4
sdcard is the rest
hboot: cm7/r2
partition via gparted
Thanks!
Click to expand...
Click to collapse
That just means a2sd is working. The reason you are seeing the app in both data/app and sd-ext/app is because the sd-ext/app folder is symlinked to data/app. In short, what you are seeing in data/app are actually the files in sd-ext/app. Hence, the similar data size of the app.
Sent from my HTC Original Desire using Tapatalk
itachi1706 said:
That just means a2sd is working. The reason you are seeing the app in both data/app and sd-ext/app is because the sd-ext/app folder is symlinked to data/app. In short, what you are seeing in data/app are actually the files in sd-ext/app. Hence, the similar data size of the app.
Sent from my HTC Original Desire using Tapatalk
Click to expand...
Click to collapse
thanks. i got much clearer vision on it.
Ooooh. I thought you said sd-ext/app and sd-ext/data/app.
Silly me
Sent from my HTC Desire using xda premium
so this symlink thing will still occupy space on the data? am i right? thanks!
No. Its symlinked to sd-ext so thats where the space is taken up, however if you browse to /data/app, you can still see the file, even though its on /sd-ext/app
Thats what Symlinking is. Symbolic link. As far as android is concerned, the app will only run from /data/app so it must appear to be in /data/app
rootSU said:
No. Its symlinked to sd-ext so thats where the space is taken up, however if you browse to /data/app, you can still see the file, even though its on /sd-ext/app
Thats what Symlinking is. Symbolic link. As far as android is concerned, the app will only run from /data/app so it must appear to be in /data/app
Click to expand...
Click to collapse
thanks for the brief explanation but i don't understand why my /data size is decreasing as well when i install my app even the app go directly to /sd-ext/data..
Because some app-data is still stored in internal memory. That's how it is. The only thing to "solve" this is using a data2sd rom, which moves completely everthing from internal /data partition to a sd-ext partition.
MatDrOiD said:
Because some app-data is still stored in internal memory. That's how it is. The only thing to "solve" this is using a data2sd rom, which moves completely everthing from internal /data partition to a sd-ext partition.
Click to expand...
Click to collapse
thanks for the advise. i really consider that option.
just to add up, is data2sd different from data2ext?
jhannbernas said:
thanks for the advise. i really consider that option.
just to add up, is data2sd different from data2ext?
Click to expand...
Click to collapse
yes its better
ooppss. my bad.. i really forgot the other thread. please disregard.
Don't ask a question two times:
http://forum.xda-developers.com/showthread.php?t=1320341
how do I symlink an apk that is already installed in data\app
i don't want to use apps like link2sd

Categories

Resources