A2SD question.. - Desire Q&A, Help & Troubleshooting

been reading various posts about A2SD on the desire.
i have 29.99 mb internal storage space
is a2sd working and how can i check..
i have been using ES file explorer to see if i can find when things are but dont know whats what in the file structure as this is all new to me.
i used the guide from http://nimbu.amorvi.com/2010/05/how-to-root-your-htc-desire/
# Using the optical trackpad select Partition sdcard > Partition SD
# Select SWAP=0, EXT2=512 and allow the rest to be FAT32.
# Select the SD:ext2 to ext3 option in this menu.
did the above after flashing r1-a2sd-desire-dalvik-fresh-signed.zip.
i also installed the rom suggested on that guide.
i have tried the roms available on this site but not found one that i like yet..

How to check if Apps2SD has been installed correctly...
http://forum.xda-developers.com/showthread.php?t=677073

ignore wrong post

A|ex said:
How to check if Apps2SD has been installed correctly...
http://forum.xda-developers.com/showthread.php?t=677073
Click to expand...
Click to collapse
thanks for that, u used connect box like he suggested and got this
$ su# ls -l /data
drwxrwxrwx root root 2010-07-12 23:00 data
lrwxrwxrwx root root 2010-07-12 20:30 drm -> /data/local
lrwxrwxrwx root root 2010-07-12 20:30 app -> /system/sd/app
lrwxrwxrwx root root 2010-07-12 20:30 app-private -> /system/
/app-private
drwxrwxrwx wimax wimax 2010-07-12 20:30 wimax
lrwxrwxrwx root root 2010-07-12 20:30 dalvik-cache -> /system
d/dalvik-cache
drwx------ root root 2010-07-12 22:57 property
drwxrwx--x system system 2010-07-12 20:34 app-cache
drwxrwx--t system misc 2010-07-12 20:30 misc
drwxrwxr-x system system 2010-07-12 23:00 system
drwx------ system system 2010-07-12 22:56 backup
-rw-rw-rw- media system 2 2010-07-12 23:00 pvcodec.txt
-rw-rw-rw- root shell 106 2010-07-12 20:37 reboot.chk
drwxr-xr-x system system 2010-07-12 20:34 tombstones
drwxrwx--x shell shell 2010-07-12 20:36 local
drwxrwxrwx root root 2010-07-12 20:37 DxDrm
drwxr-x--- root log 2010-07-12 20:36 dontpanic
drwxrwx--x system system 2010-07-12 20:36 anr
drwxrwx--- root root 2010-07-12 20:30 lost+found
#

Yep, based on the output above it's working for you.
Sent from my HTC Desire using XDA App

MasDroid said:
Yep, based on the output above it's working for you.
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Thanks for the help guys, one thing still confusing me is the fact my internal space is so low when others report 3 times the internal space.
Sent from my HTC Desire using XDA App

Did you perform a full wipe in recovery to clear the caches?
Sent from my HTC Desire using XDA App

Try using Cache Cleaner, works for me like a charm.

Related

Where are apk's installed too ?

Hi,
I was looking at my phone file structure and I see that the apk's that are part of the Rom are stored in /system/app but Ican't see where apk's installed from the Market get installed too. Can anyone explain please ?
Cheers
check data/app
/data/ is empty ?
gudge said:
/data/ is empty ?
Click to expand...
Click to collapse
Usually they go to:
/data/app and /data/app-private
but if you use apps2sd they go to:
/system/sd/app and /system/sd/app-private
shelnes said:
Usually they go to:
/data/app and /data/app-private
but if you use apps2sd they go to:
/system/sd/app and /system/sd/app-private
Click to expand...
Click to collapse
Thanks for the reply.
Its really strange then, as I don't have apps2sd, but muy /data/ directory is empty (according to Astro), yet I have at least 30 market installed apk's.....so where the hell can they be !
gudge said:
so where the hell can they be !
Click to expand...
Click to collapse
Exactly where they are supposed to be! /data/apps
The issue seems to be Astro - in Astro, my /data directory is empty, but using SUFBS it is not.
Regards,
Dave
astro wont help here.
open comand line from windows
using "cd" command go to AndroidSDK\tools
In my case it's " cd c:\AndroidSDK\tools"
then: "adb shell"
then "cd data\app"
and to see content of data\app type "ls"
Thanks
OK, thanks all, I can see the apk's now. I had not considered that Astro might not be displaying the contents. I tried the adb method and also downloaded SUFBS (its called SU File Manager & Terminal on the market now).
Cheers
/data is only readable for the user "system":
drwxrwx--x 1 1000 1000 2.0K Feb 19 12:19 data
that's why you don't see anything. you need an app that looks with root rights into this directory to see the contents.
kendong2 said:
/data is only readable for the user "system":
drwxrwx--x 1 1000 1000 2.0K Feb 19 12:19 data
that's why you don't see anything. you need an app that looks with root rights into this directory to see the contents.
Click to expand...
Click to collapse
Thanks, now I get it

Google Maps 6.0.3 update - insufficient storage

I`m trying to update maps through the market but keep getting an `insufficient storage space` error.
I have plenty of space (rooted and apps2sd) and have read about this error with other apps (skype) requiring data being removed through terminal - but not for maps.
Other apps are updating fine - I am rooted and do have problems with map updates usually (I get package file invalid errors), I can get round this by unistalling map updates then clearing the cache and re-trying.
However in the app management screen there is no longer an option to remove updates - just to stop app.
Anyone have any clues ?
Which Rom are you running ? and what HBOOT
redux 1.2 and hboot 6.93.1002
Please download Terminal Emulator from Android Market and post the output of this commands here:
Code:
su
ls -l /data
Swiftkeyed from ICS with Transparent XDA App
$ export PATH=/data/local/bin:$PATH
$ su
# ls - l / data
ls: -: No such file or directory
ls: l: No such file or directory
/:
acct mnt
cache proc
config root
d sbin
data sd-ext
default.prop sdcard
dev sys
etc system
init ueventd.goldfish.rc
init.bravo.rc ueventd.rc
init.goldfish.rc vendor
init.rc
data:
anr dalvik-cache lost+found system
app data misc tombstones
app-private dontpanic property
backup local secure
# ls - l /data
ls: -: No such file or directory
ls: l: No such file or directory
/data:
anr dalvik-cache lost+found system
app data misc tombstones
app-private dontpanic property
backup local secure
# su
#
#
#
#
#
#
#
#
# ls - l/data
ls: -: No such file or directory
ls: l/data: No such file or directory
# ls - l /data
ls: -: No such file or directory
ls: l: No such file or directory
/data:
anr dalvik-cache lost+found system
app data misc tombstones
app-private dontpanic property
backup local secure
#
Strange and wrong ouput. Please try again and doublecheck the command I told you to use.
Sorry I had the spacing slightly out.. . This is the data.
$ export PATH=/data/local/bin:$PATH
$ su
# ls - l/data
ls: -: No such file or directory
ls: l/data: No such file or directory
# ls -l/ data
unknown option -- /BusyBox v1.16.2androidfull (2010-08-01 14:57:25 EDT) multi-call binary.
Usage: ls [-1AacCdeFilnpLRrSsTtuvwxXhk] [FILE]...
List directory contents
Options:
-1 List in a single column
-A Don't list . and ..
-a Don't hide entries starting with .
-C List by columns
-c With -l: sort by ctime
--color[={always,never,auto}] Control coloring
-d List directory entries instead of contents
-e List full date and time
-F Append indicator (one of */[email protected]|) to entries
-i List inode numbers
-l Long listing format
-n List numeric UIDs and GIDs instead of names
-p Append indicator (one of /[email protected]|) to entries
-L List entries pointed to by symlinks
-R Recurse
-r Sort in reverse order
-S Sort by file size
-s List the size of each file, in blocks
-T N Assume tabstop every N columns
-t With -l: sort by modification time
-u With -l: sort by access time
-v Sort by version
-w N Assume the terminal is N columns wide
-x List by lines
-X Sort by extension
-h List sizes in human readable format (1K 243M 2G)
#
Again wrong. Between "-l" and "/data" has to be a space.
Swiftkeyed from ICS with Transparent XDA App
$ export PATH=/data/local/bin:$PATH
$ su
# ls - l / data
ls: -: No such file or directory
ls: l: No such file or directory
/:
acct mnt
cache proc
config root
d sbin
data sd-ext
default.prop sdcard
dev sys
etc system
init ueventd.goldfish.rc
init.bravo.rc ueventd.rc
init.goldfish.rc vendor
init.rc
data:
anr data property
app dontpanic secure
app-private local system
backup lost+found tombstones
dalvik-cache misc
# ls - l/data
ls: -: No such file or directory
ls: l/data: No such file or directory
#
# ls -l /data
drwxrwxr-x 1 system system 2048 Dec 31 15:26 anr
lrwxrwxrwx 1 root root 11 Oct 17 19:25 app -> /sd-ext/app
lrwxrwxrwx 1 root root 19 Oct 17 19:25 app-private -> /sd-ext/app-private
drwx------ 1 system system 2048 Dec 31 15:25 backup
lrwxrwxrwx 1 root root 20 Dec 28 16:02 dalvik-cache -> /sd-ext/dalvik-cache
drwxrwx--x 1 system system 2048 Dec 30 21:15 data
drwxr-x--- 1 root log 2048 Jun 21 2011 dontpanic
drwxrwx--x 1 shell shell 2048 Oct 17 19:27 local
drwxrwx--- 1 root root 2048 Jun 21 2011 lost+found
drwxrwx--t 1 system misc 2048 Dec 31 15:33 misc
drwx------ 1 root root 2048 Dec 5 16:09 property
drwx------ 1 system system 2048 Oct 17 19:27 secure
drwxrwxr-x 1 system system 2048 Dec 31 15:37 system
drwxr-xr-x 1 system system 2048 Oct 17 19:27 tombstones
#
robinta said:
$ export PATH=/data/local/bin:$PATH
$ su
# ls -l /data
drwxrwxr-x 1 system system 2048 Dec 31 15:26 anr
lrwxrwxrwx 1 root root 11 Oct 17 19:25 app -> /sd-ext/app
lrwxrwxrwx 1 root root 19 Oct 17 19:25 app-private -> /sd-ext/app-private
drwx------ 1 system system 2048 Dec 31 15:25 backup
lrwxrwxrwx 1 root root 20 Dec 28 16:02 dalvik-cache -> /sd-ext/dalvik-cache
drwxrwx--x 1 system system 2048 Dec 30 21:15 data
drwxr-x--- 1 root log 2048 Jun 21 2011 dontpanic
drwxrwx--x 1 shell shell 2048 Oct 17 19:27 local
drwxrwx--- 1 root root 2048 Jun 21 2011 lost+found
drwxrwx--t 1 system misc 2048 Dec 31 15:33 misc
drwx------ 1 root root 2048 Dec 5 16:09 property
drwx------ 1 system system 2048 Oct 17 19:27 secure
drwxrwxr-x 1 system system 2048 Dec 31 15:37 system
drwxr-xr-x 1 system system 2048 Oct 17 19:27 tombstones
#
Click to expand...
Click to collapse
Second output is the right one. Okay, A2SD+ is fully working.
So my next idea is to clear market's data and cache. If this does not help, wipe dalvik cache and cache in recovery.
I suppose already tried wiping dalvik cache in recovery, but not cache as well. Ill give it a go. Thanks.
Wiped dalvik cache again. No option I could find in recovery but cleared data cache via root tools, still showing insufficient storage for maps update.
Reflash ROM without wiping anything.
Swiftkeyed from ICS with Transparent XDA App
Reflashed - no change
Then backup all data and apps with Titanium Backup and run a full wipe.
Swiftkeyed from ICS with Transparent XDA App
Carried out full wipe, reflash - attempted to update maps before even adding other apps. Still same error !.
Showing c,.130mb avail space at this point.
So you have to use the Maps-alternative Locus or try another rom. Otherwise, I am out.
Swiftkeyed from ICS with Transparent XDA App
thanks very much for all your help.
how much room do you have on internal memory. i sometimes have this problem when updating large apps when having little internal space. Although i have 500mb left on ext partition. I normally need to clear out some apps and have a decent amount of internal memory

[Q] Gnex SDCARD - PLEASE clear this up for me!

Ok, so whats the deal!?
There's no SD card in the Gnex, so it has this "virtual SD CARD" which is simply a folder in the filesystem right?
Therefore, if I format the phone, it should also format the /sdcard/ directory too right?
I thought so! But no?
How reliable is this "virtual sdcard" and by what means can it be formatted??
When am I in danger of losing information on it, and when can I be sure it wont be formatted?
Normally I would just pop it out if I was afraid it would get formatted.
Also why doesnt the camera folder get erased when doing a format!?
TL;DR
Please explain
How the /sdcard/ works and in what situations am I in danger of formatting it?
Does a "nandroid" backup back up this part of the phone??
Why do certain directories not get erased when I factory reset my phone? Whats the rhyme & reason behind this?
Maybe explain the camera and screenshot folders too?
Factory resetting from the stock recovery will wipe the /data/media/ directory.
All custom recoveries will wipe /data/ while ignoring /data/media/ (thus leaving it intact).
Anything you have on your "SD card" will be saved into /data/media/.
That includes pictures, nandroids, downloads, etc.
And no, nandroids do not back this up.
Seems like a close enough thread for question without starting a new one. My nexus is reporting 2gb used for apps, 1.5 for pictures/video, 3gb free and 13gb total. So where did I lose 7gb? I can't seem to locate this other 7gb of used space. When I use root explorer it seems my sdcard shows twice once as sdcard and another time as sdcard0. Any ideas what I can do to get space back?
Sent from my Galaxy Nexus using xda premium
mr mystery said:
Seems like a close enough thread for question without starting a new one. My nexus is reporting 2gb used for apps, 1.5 for pictures/video, 3gb free and 13gb total. So where did I lose 7gb? I can't seem to locate this other 7gb of used space. When I use root explorer it seems my sdcard shows twice once as sdcard and another time as sdcard0. Any ideas what I can do to get space back?
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Flashed many ROM's?
Herman76 said:
Flashed many ROM's?
Click to expand...
Click to collapse
Ya I've flashed a lot AOKP builds before wiping and going to JB. Any idea how I can get my space back?
Sent from my Galaxy Nexus using xda premium
mr mystery said:
Ya I've flashed a lot AOKP builds before wiping and going to JB. Any idea how I can get my space back?
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Same here.
Since JB i have sdcard0 as well, and it seems to have the same data as the other...
yalouf said:
Same here.
Since JB i have sdcard0 as well, and it seems to have the same data as the other...
Click to expand...
Click to collapse
Yeah, exactly same
Sent from my Galaxy Nexus using xda premium
Does anyone know if superwipemwould help here, I've never used it but if it will get me storage back in order I'll give it a go.
mr mystery said:
Does anyone know if superwipemwould help here, I've never used it but if it will get me storage back in order I'll give it a go.
Click to expand...
Click to collapse
Why not just try wiping your Dalvik cache and see what happens?
ya tried that already
I'm short 7gb any ideas would be much appreciated, can I format it somehow and then flash again somehow or would formatting the whole drive be a bad thing???
I was playing in gallery in JB, and noticed my pictures save to sdcard0
Related?
Anybody with a standard (can be rooted ROM) ICS rom post the terminal output of this two commands please.
df
ls -l /
The reason is that my sdcard card is linked to /storage/sdcard0 so I want to check how is mounted on ICS and so that I may fix this as I have the same issue
jjarrin said:
Anybody with a standard (can be rooted ROM) ICS rom post the terminal output of this two commands please.
df
ls -l /
The reason is that my sdcard card is linked to /storage/sdcard0 so I want to check how is mounted on ICS and so that I may fix this as I have the same issue
Click to expand...
Click to collapse
Code:
[email protected]:/ $ export PATH=/data/local/bin:$PATH
[email protected]:/ $ df
Filesystem Size Used Free Blksize
/dev 346M 48K 346M 4096
/mnt/asec 346M 0K 346M 4096
/mnt/obb 346M 0K 346M 4096
/system 643M 253M 390M 4096
/data 13G 7G 5G 4096
/cache 425M 55M 369M 4096
/factory 19M 8M 11M 4096
/mnt/sdcard 13G 7G 5G 4096
[email protected]:/ $ ls -l /
drwxr-xr-x root root 2012-07-05 08:49 acct
drwxrwx--x system cache 2012-07-04 17:55 cache
-rwxr-x--- root root 245720 1970-01-01 01:00 charger
dr-x------ root root 2012-07-05 08:49 config
lrwxrwxrwx root root 2012-07-05 08:49 d -> /sys/kernel/debug
drwxrwx--x system system 2012-07-01 13:22 data
-rw-r--r-- root root 120 1970-01-01 01:00 default.prop
drwxr-xr-x root root 2012-07-05 08:49 dev
lrwxrwxrwx root root 2012-07-05 08:49 etc -> /system/etc
drwxrwxr-x radio radio 2011-11-29 22:27 factory
-rwxr-x--- root root 98868 1970-01-01 01:00 init
-rwxr-x--- root root 2344 1970-01-01 01:00 init.goldfish.rc
-rwxr-x--- root root 1324 1970-01-01 01:00 init.omap4pandaboard.rc
-rwxr-x--- root root 18533 1970-01-01 01:00 init.rc
-rwxr-x--- root root 7350 1970-01-01 01:00 init.tuna.rc
-rwxr-x--- root root 3532 1970-01-01 01:00 init.tuna.usb.rc
drwxrwxr-x root system 2012-07-05 08:49 mnt
dr-xr-xr-x root root 1970-01-01 01:00 proc
drwxr-xr-x root root 1970-01-01 01:00 res
drwx------ root root 2012-07-01 08:01 root
drwxr-x--- root root 1970-01-01 01:00 sbin
lrwxrwxrwx root root 2012-07-05 08:49 sdcard -> /mnt/sdcard
drwxr-xr-x root root 2012-07-05 08:49 sys
drwxr-xr-x root root 2012-07-01 13:17 system
-rw-r--r-- root root 272 1970-01-01 01:00 ueventd.goldfish.rc
-rw-r--r-- root root 3825 1970-01-01 01:00 ueventd.rc
-rw-r--r-- root root 1656 1970-01-01 01:00 ueventd.tuna.rc
lrwxrwxrwx root root 2012-07-05 08:49 vendor -> /system/vendor
[email protected]:/ $
This is from CM9 nightly ROM.
Edit: Just realized you wanted the output from Standard ROM, disregard if this is different
Swiftkey'ed on my CM9 Galaxy Nexus
Thank you:good:
It seems that the way the system is creating the symbolic link to sdcard is either different on JB or is just messed up because for me it shows sdcard -> /storage/sdcard0 and the def shows /storage/sdcard0 as the mount point.
I'll try to change this to what is shown on your output. Maybe it will fix the issue.
Fingers crossed

How to move app from asec to /data/app

Never mind.
Should have done my homework before posting.
Apparently it has something to do with app encryption in JB.
But still, I could successfully copy the pkg.apk from the asec mount and install it later on.
============================================================================
Hope this is not a repost.
I am running CM10.1. I think the stock does the same.
Can anybody educate me why Android decide to install the apps into the mounted asec device /dev/block/dm-XX rather than /data/app after a few apps installed?
What is the benefit of doing this?
My understanding is that this is for the phones that has external SD card.
On galaxy nexus we have none. Unless there is performance benefit, I don't see the point of doing this.
Is there an easy way to revert them back to the /data/app?
Thanks a lot.
chinabull said:
Never mind.
Should have done my homework before posting.
Apparently it has something to do with app encryption in JB.
But still, I could successfully copy the pkg.apk from the asec mount and install it later on.
============================================================================
Hope this is not a repost.
I am running CM10.1. I think the stock does the same.
Can anybody educate me why Android decide to install the apps into the mounted asec device /dev/block/dm-XX rather than /data/app after a few apps installed?
What is the benefit of doing this?
My understanding is that this is for the phones that has external SD card.
On galaxy nexus we have none. Unless there is performance benefit, I don't see the point of doing this.
Is there an easy way to revert them back to the /data/app?
Thanks a lot.
Click to expand...
Click to collapse
How did you pull the app?
First you have root your phone to do this. (Assuming you have done it already).
For example, I had "world of goo" installed.
[email protected]:/ # mount |grep goo
/dev/block/dm-2 /mnt/asec/com.twodboy.worldofgoofull-1 ext4 ro,dirsync,nosuid,nodev,noatime,barrier=1 0 0
Then you go directly to the asec mounted directory:
[email protected]:/ # cd /mnt/asec/com.twodboy.worldofgoofull-1
[email protected]:/mnt/asec/com.twodboy.worldofgoofull-1 # ls -l
drwxr-xr-x system system 2012-12-08 01:47 lib
drwx------ root root 1969-12-31 19:00 lost+found
-rw-r----- system all_a113 48148276 2012-12-08 01:47 pkg.apk
-rw-r--r-- system system 117558 2012-12-08 01:47 res.zip
The pkg.apk is the one you want.
Cheers!

[Q] SG3 & file system access issues

Environment: SG3 + recently up-ed to NC2 (rooted, as all the other previous images I used). Trying to get rid of the "camera click", as I've done it many times in the past, but in this instance here is what I'm experiencing:
[email protected]:/system/media/audio/ui # mv camera_click.ogg camera_click.old
failed on 'camera_click.ogg' - Read-only file system
[email protected]:/system/media/audio/ui # ls -l camera*
-rw-r--r-- root root 9520 2014-03-08 05:12 camera_click.ogg
-rw-r--r-- root root 4786 2014-03-08 05:12 camera_focus.ogg
[email protected]:/system/media/audio/ui # chmod 755 camera*
Unable to chmod camera_click.ogg: Read-only file system
Any ideas how to fix?
TIA
Sent from my SGH-T999 using Tapatalk
Root doesn't automatically change the file system from R/O to R/W. You still need to change it. Use a root file manager like root explorer to make it really easy to do.
And how did you root? Did you remove Knox? Knox, and sometimes seLinux will prevent root access.
Sent from my SM-N900T using Tapatalk
---------- Post added at 11:28 AM ---------- Previous post was at 11:26 AM ----------
Did you try to set to r/w on the folder, rather than just the files?
Sent from my SM-N900T using Tapatalk
Thanks for replies, so far, but looking at the output again it just occurred to me that in fact this is mounted RO, rather than RW, which may explain why chmod fails... I wonder - should that be the case - if I could force a RW mounting of the file system, w/out bricking the phone.
Sent from my Nexus 7 using Tapatalk
netfortius said:
Thanks for replies, so far, but looking at the output again it just occurred to me that in fact this is mounted RO, rather than RW, which may explain why chmod fails... I wonder - should that be the case - if I could force a RW mounting of the file system, w/out bricking the phone.
Click to expand...
Click to collapse
# mount -o remount,rw /system ... duh! Sorry for all the noise

Categories

Resources