My app-private file is on sd card - G1 Apps and Games

Anyone else's app-private file on your sd card now? What the hell is going on???

You must use terminal emulator and type the code :
su
cd data/app-private
ls
Click to expand...
Click to collapse

What is that
What is the numbers written on your notifications. Like 71.

I can see all my paid apps,But how do i pull them to the S.D now?

Thats just it i have no clue how they got on my sd card, i thought they were supposed to be in system files. I didnt move them.

And the obvious next logical questions:
Do your apps still work? Are these Backups?

no i'm a little smarter than that, i wouldnt post that question if i backed them up myself lol. Yes they work just fine.

I figured but I had to ask.
Hmm, if the apps still work - I guess just rejoice in the extra space?

Did you have your apps on sdcard?
App-private are protected apps and if all of your other apps were in for example /sdcard/apps
then maybe when paid apps were released the market made a new folder where system should be if your apps were in the right place.
Therefore the root of your sdcard.
I could be wrong but its a thought.

Related

new sd card, apps not working, how to mass reinstall?

I got a new sd card, a 16GB class 6 instead of the 8GB class 2 I'd been using. I had apps to sd set up previously. I used dd to backup the ext3 partition off the sd card, then I created an ext3 partition on the new card and restored the dd image. All my apps are there, but none of them WORK. Some won't even launch, some launch and then force close as soon as I try to actually do something.
I have close to 100 apps installed. I REALLY don't want to manually uninstall and reinstall them. Is there a way to mass reinstall currently installed apps?
Edit-Ended up forced to wipe for an unrelated issue anyway. Thanks for the suggestions!
In Cyanogens build he has a fix_permissions app you should look into it. I'd almost bet its a permission problem.
heldc said:
I got a new sd card, a 16GB class 6 instead of the 8GB class 2 I'd been using. I had apps to sd set up previously. I used dd to backup the ext3 partition off the sd card, then I created an ext3 partition on the new card and restored the dd image. All my apps are there, but none of them WORK. Some won't even launch, some launch and then force close as soon as I try to actually do something.
I have close to 100 apps installed. I REALLY don't want to manually uninstall and reinstall them. Is there a way to mass reinstall currently installed apps?
Edit-Is this the wrong forum for this question? It seemed right, since I'm asking how to mass reinstall. I did search the entire forum for mass reinstall, and didn't find any info. Is this a topic already covered?
Click to expand...
Click to collapse
use adb. Put all of the .apk into one folder.
open a command terminal and cd into the directory with all the .apk in it.
type:
adb remount
adb install *.apk
Click to expand...
Click to collapse
it will install all the .apk that was in the folder you cd into.

[Solved]apps2sd2 method?!?!?

Hey guys. I just followed the new and improved apps2sd2 method and when I went to apps2sd2 I clicked copy all apps to sd card and now after my phone restarted I have no apps and my sd card seems to be ... wiped. I just looked around and foudn out that my computer is not recognizing the other partition so it thinks my 8gb card is 6 gb. That means my apps may still be there, how can I retrieve them?
Kavin2468 said:
Hey guys. I just followed the new and improved apps2sd2 method and when I went to apps2sd2 I clicked copy all apps to sd card and now after my phone restarted I have no apps and my sd card seems to be ... wiped. I just looked around and foudn out that my computer is not recognizing the other partition so it thinks my 8gb card is 6 gb. That means my apps may still be there, how can I retrieve them?
Click to expand...
Click to collapse
You need to use terminal to type:
$su
#cp -r /system/sd/app /data/app
that's where the apps are usually located on the sdcard. Or you can try using Root Explorer to access that folder and see if they're there. Its probably just missing some symlinks tho which is easy enough to fix. Again, back in terminal:
ln -s /data/app /system/sd/app
should do the trick.
h.nocturna said:
You need to use terminal to type:
$su
#cp -r /system/sd/app /data/app
that's where the apps are usually located on the sdcard. Or you can try using Root Explorer to access that folder and see if they're there. Its probably just missing some symlinks tho which is easy enough to fix. Again, back in terminal:
ln -s /data/app /system/sd/app
should do the trick.
Click to expand...
Click to collapse
I thought the new method used unionfs rather than symlinks :-/
AdrianK said:
I thought the new method used unionfs rather than symlinks :-/
Click to expand...
Click to collapse
Eh, I'm just doing this off the top of my head from when I used the app. Sometimes it wouldn't work, and I would just link it manually cuz at least I could access the partition.

Apps 2 SD

I flashed Maxisma's v1.6.1 last night, and my apps are installing to my SD, but they're also installing to my internal memory. Right now I only have 31 MB left. Does anyone know what I can do to get them removed from my internal memory and have them only installed on my sd card.
The System apps are installed on the data partition (rosie, htc widgets, etc....)
If you really prefer them on your sd card
you can symlink /data/app_s
back to
/system/sd/app_s
I find it better that they are on the data partition because Im not gonna use the data partition that much and it makes it easier to wipe from hero to cyan
B-man007 said:
The System apps are installed on the data partition (rosie, htc widgets, etc....)
If you really prefer them on your sd card
you can symlink /data/app_s
back to
/system/sd/app_s
I find it better that they are on the data partition because Im not gonna use the data partition that much and it makes it easier to wipe from hero to cyan
Click to expand...
Click to collapse
All of my apps are installing in both system/sd/app and /data/app. It's not just the system apps. I've downloaded them from the market, and installed apks manually and they all go both places for some reason.
I don't know if this is related to the other problem or not, but it's also taking about 5 seconds for the screen to come on after pushing menu from when the phone is locked.
rp1783 said:
I don't know if this is related to the other problem or not, but it's also taking about 5 seconds for the screen to come on after pushing menu from when the phone is locked.
Click to expand...
Click to collapse
thats a rom related problem.
how do you know its installing to the data partition? can you see the files in an explorer? because when you install an app, its cache is stored on the data partition and can be as big as the app itself
well, not only does it show in the root file explorer, but it's also taking tons of internal storage. I'm at 30 MB right now. I'm just wanting to have everything installed to the SD except the system apps. When I first flashed the rom, I had 47 MB. After installing all my stuff I'm at 30.
Does anyone have any suggestions on this? I'm at 27 MB free on Maxisma's 1.7. I'm not sure what else to try I've tried removing the apps from the internal memory, and it deletes them, I've tried removing them from the SD card, which also deletes them.
rp1783 said:
Does anyone have any suggestions on this? I'm at 27 MB free on Maxisma's 1.7. I'm not sure what else to try I've tried removing the apps from the internal memory, and it deletes them, I've tried removing them from the SD card, which also deletes them.
Click to expand...
Click to collapse
have you upgraded to his latest rom?
maybe that will fix the problem (you can also nandroid and reflash the version you have)
if those dont work, you may have to symlink /data/apps to /system/sd/apps
i believe an old symlink may still be there cause it to go to both places but im not 100% sure. did you wipe before installing?
B-man007 said:
have you upgraded to his latest rom?
maybe that will fix the problem (you can also nandroid and reflash the version you have)
if those dont work, you may have to symlink /data/apps to /system/sd/apps
i believe an old symlink may still be there cause it to go to both places but im not 100% sure. did you wipe before installing?
Click to expand...
Click to collapse
Yeah, I wiped, I also just flashed 1.7.1 about 20 minutes ago, and I'm at 26MB now. How do I symlink?
Ugh. Don't worry about it. That's just your data cache taking up space on your /data/ partition. Your apps are still installing to /system/sd/app/ the reason you see them in /data/app is because /data/app/ is symlinked to /system/sd/app/ to that the system is fooled to think that everything in /system/sd/app is actually in /data/app (which is basically the entire concept behind apps2sd). The only real thing you can do to increase your internal memory is to do the same with the system apps. Go look up the tutorial to symlinking your folders via busybox. Everyone used to have to do that manually before these scripts were out so they should still work. Or you can symlink your data to /system/sd/data/ one or the other. Your choice.
h.nocturna said:
Ugh. Don't worry about it. That's just your data cache taking up space on your /data/ partition. Your apps are still installing to /system/sd/app/ the reason you see them in /data/app is because /data/app/ is symlinked to /system/sd/app/ to that the system is fooled to think that everything in /system/sd/app is actually in /data/app (which is basically the entire concept behind apps2sd). The only real thing you can do to increase your internal memory is to do the same with the system apps. Go look up the tutorial to symlinking your folders via busybox. Everyone used to have to do that manually before these scripts were out so they should still work. Or you can symlink your data to /system/sd/data/ one or the other. Your choice.
Click to expand...
Click to collapse
So....this should work...
ln -s /data /system/sd/app
??
no..... the data is already symlinked properly....
if you want more space, your gonna have to symlink /system/app to /system/sd/app_s
If you install something, it will take up space on your data partition......its the cache
wipe and reflash. youll get the space back and the apps will still be there
you can leave it the way it is though. its not gonna fill up anytime soon. have you also cleared your browser cache? that can take almost 10mb of space under normal usage
should be
ln -s /system/app /system/sd/app_s because as B-man said above, apps2sd is already done for you. This is to move system apps (nandroid before you attempt it)
Alternatively, you can try:
ln -s /data/data /system/sd/data
to move your /data/data folder to /system/sd/data with the above command, but I think there's already a script set up for this that is enabled via editing the user.conf. Its at the top "data2sd" or something like that. Try setting that to "1" before using the symlink. But make sure you already: mkdir /system/sd/data so that it has a folder to symlink to. Never actually tested this feature, so I would nandroid/switchrom before attempting this.
EDIT: Formatting/Clarity
OK, I actually did this:
cd /data/data/com.android.browser/cache
rm -R webviewCache
mkdir /sdcard/webviewCache
ln -s /sdcard/webviewCache webviewCache
Which took care of about 8 MB. So I think I should be good going forward. I saw some other things I can do too, like moving the google maps cache, I think that should help too.
Thanks so much for everything.
rp1783 said:
OK, I actually did this:
cd /data/data/com.android.browser/cache
rm -R webviewCache
mkdir /sdcard/webviewCache
ln -s /sdcard/webviewCache webviewCache
Which took care of about 8 MB. So I think I should be good going forward. I saw some other things I can do too, like moving the google maps cache, I think that should help too.
Thanks so much for everything.
Click to expand...
Click to collapse
Looks good except that I would link it to something on /system/sd/(webviewCache) so that if you decide to mount your sdcard, and use the browser at the same time (for some godforsaken reason) then your phone won't go to hell trying to figure out where to put its cache.

Switch Memory Card with Apps to SD

HI guys,
Last night, got my new 8gb class 6 card, and took it into ubuntu and recreated all my partitions. Then did a copy from the old partition to new one...
Then did a reset ext security thing from the recovery console, however one issue is still out there... 4 apps didn't copy across correctly. They can't be uninstalled or reinstalled and are just refusing to work at all anymore.
When I try to reinstall from ADB, it spits out:
INSTALL_PARSE_FAILED_NO_CERTIFICATES
Any ideas how I can fix it?
they should just auto delete any new thread that ends with a question mark in the dev forums....
gunigugu if your too dull to get what im saying, POST IN TH PROPER PLACE
( Capslock is cruise control to success)
I've had issues of not being able to uninstall something, the only solution I found was download the apk file off the internet then installing, then uninstalling.
How did you copy it over?
The *right* way is to use the "dd" command.
dd if=/path/to/sdcard-device-file of=/path/to/store-image-in
switch the card
dd if=/path/to/store-image-in of=/path/to/sdcard-device-file
Now you can move and resize your partitions, and its done.
lbcoder said:
How did you copy it over?
The *right* way is to use the "dd" command.
dd if=/path/to/sdcard-device-file of=/path/to/store-image-in
switch the card
dd if=/path/to/store-image-in of=/path/to/sdcard-device-file
Now you can move and resize your partitions, and its done.
Click to expand...
Click to collapse
I just did a copy and paste within the ubuntu explorer
Everything works, except I think the protected apps.... and I would uninstall / reinstall them, but the option to uninstall the apps is grayed out.

A2SD questions help please

I a rooted running Fresh 2.0d. I am now interested in running A2SD, but have a few questions. In reading thru several posts I found the below steps if you are running Fresh.
Back up sd card
Boot into recovery
Choose partition SD Fat32,EXT2,Swap
Reboot phone
Reload files onto SD card
When it says reload onto sd card, what is meant here.
I backed up the card, ran the partition and moved the data back to the card. Now what do I do, how do you get all of the apps from the phone to now run on the card.
Also, is there a big benefit to this, is it really going to make a big difference?
Final question, I have a 16gb Kingston MicroSD. I have no idea what class of card this is, All I know is that it is 16gb. What type of card do I need for this to work properly?
reload to sd, just means copy all the files from the FAT partion pack to the drive. The FAT partion being the stuff you can see in windows....more than likely Pictures, "Lost", Rosie. Few other apps that put folders there too.
EDIT:
Let me reword this.
You copied all the files off your SD card. DCIM and stuff like that. More than likely to your Windows Desktop.
Plug your phone into USB, Mount as a Drive. Copy the files you copied off initially back to the SD Card drive. (it is probably smaller now than it was before so everything might not fit if it was full)
Edit 2:
Class 6 FTW - But I used to run on a Class 2 and it was fine.
Big Benefit = More Apps/On phone storage space - HOWEVER sometimes it is just a PITA to deal with. Especially if you switch roms alot.
Did you titanium backup or something similar to back up your apps? If not start downloading your apps again. The big benefit to apps2sd is you can download many more apps since your not limit to the internal storage space. Also on some roms you can upgrade without reinstalling your apps (if your lucky)
xxwckdxx said:
Did you titanium backup or something similar to back up your apps? If not start downloading your apps again. The big benefit to apps2sd is you can download many more apps since your not limit to the internal storage space. Also on some roms you can upgrade without reinstalling your apps (if your lucky)
Click to expand...
Click to collapse
Ok, so let me get this straight, A2SD is for market place apps that I have downloaded? I was under the impression that it was for system apps as well. I am a noob so just want to make sure my info is correct. I have mybackup pro which backups aps. Will I have to uninstall the apps and then reinstall on card? Could you please give me the proper steps on this?
jj4201998 said:
Ok, so let me get this straight, A2SD is for market place apps that I have downloaded? I was under the impression that it was for system apps as well. I am a noob so just want to make sure my info is correct. I have mybackup pro which backups aps. Will I have to uninstall the apps and then reinstall on card? Could you please give me the proper steps on this?
Click to expand...
Click to collapse
You won't have to Uninstall/Reinstall anything. As I recall the move is made automagically on boot up if it detects an EXT partition. And system programs like Rosie do not get moved to the sd card TMK.
Kcarpenter said:
You won't have to Uninstall/Reinstall anything. As I recall the move is made automagically on boot up if it detects an EXT partition. And system programs like Rosie do not get moved to the sd card TMK.
Click to expand...
Click to collapse
Before I do this, do I have to have a card with a certain speed, or does it not matter?
jj4201998 said:
Ok, so let me get this straight, A2SD is for market place apps that I have downloaded? I was under the impression that it was for system apps as well. I am a noob so just want to make sure my info is correct. I have mybackup pro which backups aps. Will I have to uninstall the apps and then reinstall on card? Could you please give me the proper steps on this?
Click to expand...
Click to collapse
To my understanding just the apps you download are installed on it, i could be wrong. As for the steps....
1. Backup your apps
2. Nandroid backup
3. Paritition
4. Install a2sd
5. Boot up
6. Restore apps
jj4201998 said:
Before I do this, do I have to have a card with a certain speed, or does it not matter?
Click to expand...
Click to collapse
Speed doesn't really matter a whole lot. If you have a 16gb card its likly a class 4+ card. I have never seen a class 2 16gig before at least. It would kind of defeat the purpose.
Class 6 is the standard for someone who would want to buy a new one, and they have a class 10 lurking around some sites. But you'll be fine on what you have. Again, I was on a class 2 for a while...racing thunder was the biggest issue, it was laggy from the SD card. haven't tried it with the new one.
Edit:
I stand corrected, it could be a class 2.
http://www.amazon.com/SanDisk-microSDHC-Memory-SDSDQ-016G-Packaging/dp/B001L1H0SC
jj4201998 said:
Ok, so let me get this straight, A2SD is for market place apps that I have downloaded? I was under the impression that it was for system apps as well. I am a noob so just want to make sure my info is correct. I have mybackup pro which backups aps. Will I have to uninstall the apps and then reinstall on card? Could you please give me the proper steps on this?
Click to expand...
Click to collapse
When you download apps from the marketplace (free or paid), Android will put it in one of two locations: /data/app or /data/app-private. Both of those locations are on the phone itself. The problem you run into is running out of free space on the internal storage space of the phone. A2SD, in its basic form, moves the data in /data/app and /data/app-private, to matching directories on your ext partition of your secure digital card. It also creates a symlink where /data/app and /data/app-private are located. These symlinks are nothing more than shortcuts to the directories on your SD card. Android still thinks it is storing apps in /data/app and /data/app-private, but it really is storing it on the SD card.
When the instructions say to backup the SD card, what it is talking about is the FAT32 part of the SD card. As someone said earlier, it is the part that Windows can actually see. You take all the data off of your SD card and put it on your computer. The reason you need to do this is that, when you add the ext2/ext3 and swap partition, you will repartition the entire SD card, which means you will lose your data on your FAT32 partition.
When you are restoring to SD, you are taking the contents you had previously on the Fat32 part of the SD card and putting it back onto the Far32 card.
As far as apps are concerned, the A2SD will automatically move them for you...but it is always a good idea to do a nandroid backup first to make sure that you have a way to restore an image in case something goes wrong.
tkirton said:
When you download apps from the marketplace (free or paid), Android will put it in one of two locations: /data/app or /data/app-private. Both of those locations are on the phone itself. The problem you run into is running out of free space on the internal storage space of the phone. A2SD, in its basic form, moves the data in /data/app and /data/app-private, to matching directories on your ext partition of your secure digital card. It also creates a symlink where /data/app and /data/app-private are located. These symlinks are nothing more than shortcuts to the directories on your SD card. Android still thinks it is storing apps in /data/app and /data/app-private, but it really is storing it on the SD card.
When the instructions say to backup the SD card, what it is talking about is the FAT32 part of the SD card. As someone said earlier, it is the part that Windows can actually see. You take all the data off of your SD card and put it on your computer. The reason you need to do this is that, when you add the ext2/ext3 and swap partition, you will repartition the entire SD card, which means you will lose your data on your FAT32 partition.
When you are restoring to SD, you are taking the contents you had previously on the Fat32 part of the SD card and putting it back onto the Far32 card.
As far as apps are concerned, the A2SD will automatically move them for you...but it is always a good idea to do a nandroid backup first to make sure that you have a way to restore an image in case something goes wrong.
Click to expand...
Click to collapse
I am running Fresh 2.0d. Someone mentioned to install A2SD, thought on Fresh it as already installed, am I missing somthing?
xxwckdxx said:
To my understanding just the apps you download are installed on it, i could be wrong. As for the steps....
1. Backup your apps
2. Nandroid backup
3. Paritition
4. Install a2sd
5. Boot up
6. Restore apps
Click to expand...
Click to collapse
I am on Fresh 2.0d I thought on this Rom it was already installed. I formatted the sd card as told. However, I don't think it is working. ON the Recovery menu there is a place that says transfer apps to sd & delvik. Am I supposed to use that?
jj4201998 said:
I am running Fresh 2.0d. Someone mentioned to install A2SD, thought on Fresh it as already installed, am I missing somthing?
Click to expand...
Click to collapse
No. You're not missing something. Fresh 2.0d has a Cyanogen version of A2SD. It's originally in the 1.5 Roms that are for the Hero.
Two other people, TrevE and myself, makes a variant of the original that is in Fresh 2.0d. TrevE works with ROM developers to put his in while I update mine in the distribution channels.
Whoever told you to install A2SD probably meant to go download the Darktremor A2SD 2.5 or 2.6.1 and flash it to your phone.
That part is optional, as Fresh 2.0d already has an A2SD installed.
jj4201998 said:
I am on Fresh 2.0d I thought on this Rom it was already installed. I formatted the sd card as told. However, I don't think it is working. ON the Recovery menu there is a place that says transfer apps to sd & delvik. Am I supposed to use that?
Click to expand...
Click to collapse
It does it automatically.
What makes you think it isn't working? Since you rooted, I presume you have ADB. If so, enter a console session on the phone by typing adb shell
Once you have done that, type the following:
cd /data/app
pwd
If pwd returns /data/app, it isn't working.
If pwd returns /system/sd/app, A2SD is working normally.
Do the same for app-private:
cd /data/app-private
pwd
If pwd returns /data/app-private, it isn't working
if pwd returns /system/sd/app, A2SD is working normally.
tkirton said:
No. You're not missing something. Fresh 2.0d has a Cyanogen version of A2SD. It's originally in the 1.5 Roms that are for the Hero.
Two other people, TrevE and myself, makes a variant of the original that is in Fresh 2.0d. TrevE works with ROM developers to put his in while I update mine in the distribution channels.
Whoever told you to install A2SD probably meant to go download the Darktremor A2SD 2.5 or 2.6.1 and flash it to your phone.
That part is optional, as Fresh 2.0d already has an A2SD installed.
Click to expand...
Click to collapse
I could not figure out how to get the version on Fresh d to work. I downloeaded the 2.5 version and it is working fine for me. This minor change has made all of the difference on the phone. I have asked on several posts how to speed up the hero and this truley made the difference. Thanks for the help.

Categories

Resources