new sd card, apps not working, how to mass reinstall? - G1 Apps and Games

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.

Related

questions on nandroid and new sdcard...

ok so im on the latest JF rom with appstosd. everything is working great and i'm actually on the stock sd card partioned obviously. I was wondering, if I buy a bigger SD card and partion it, how would i go about making this new sd card exactly like the old sd card? would I make a nandroid backup of the old sdcard and then restore it on the new sdcard? could someone help me with this? is there extra steps i need to take to make the new sdcard just like the old one?
Thanks,
Boricua_Ace
Please try and search before posting a new thread. We all had to read way more than we wanted to figure this stuff out, there's no reason you shouldn't either.
To answer your question.
NANDroid doesn't touch your sdcard except to place the backup of your phone on it. You'll need a linux machine or adb to do what you want. If you're using linux it should be self explanatory. If you're using adb, try this:
adb pull /system/sd/app app
adb pull /system/sd/app-private app-private
reformat your new card using whatever method you used for the stock card.
adb /push app /system/sd/app
adb /push app-private /system/sd/app-private
i did search for what i was looking for specifically but need not come back with good results. thanks for the info! and i do not have a linux machine so i will be using adb which i have.
after i do those steps, do i then restore a backup from nandroid on the phone? i would also have to use apps2sd app again correct? and do i also moved everything from the Fat32 to the new sd card?
If all you're doing is replacing the sdcard and not wiping your phone (alt-w), then those are the only steps you'll have to take.
Considering all of the hybrid ways to get apps2sd i can see how this could be confusing. I'd suggest using just the sdsplit script to repartion/format your card since you probably used marcusmaximus's app to do it all initially.
Oh, and yes, you'll need to copy the stuff off of your fat32 and move them to a tempory folder on your pc too. Just copy it all back manually once it's repartitioned.
great thanks! i actually used partion manager to partion the old card. So i'll do it that way again. works for me. just wanted to make sure i dont miss any steps. i will not be wiping the phone. i'll also have to adb the dalvik-cache since i do have that on the old card correct?
No point in moving dalvik-cache since it will recreate itself anyway.
Just make sure, if you're using unionfs instead of symlinks, that you create the /system/sd/dalvik-cache directory before you reboot your phone.
thanks for all your help and patience in answering my questions. really appreciate it.
last question, im using the old appstosd app not appstosd 2 app. i believe this app uses symlinks correct?
boricuaace said:
last question, im using the old appstosd app not appstosd 2 app. i believe this app uses symlinks correct?
Click to expand...
Click to collapse
Unfortunately, I don't remember. I think that's correct, but you'd have to read through that thread to be sure.
I don't think symlinks are that picky and creating the /system/sd/dalvik-cache directory before you boot the phone with the new card will work in either case.
Someone should correct me if I'm wrong.
great, thanks again!
no problem. Good luck.

Big Problem!

Well in the last days I've been having problems uploading things from my sdcard from apps, I thought it was an a2sd issue so I removed my ext3 partition from my sdcard by entering parted and use rm 2, so when I rebooted it showed my previous home screen with the same apps and it said that app wasn't installed on phone so I check my internal storage and it said 11 mb of storage left and that didn't make any sense so then I wiped and formatted my sdcard and rebooted and it said 20 mb left so I enter my downloads from market and see that it says my apps are installed but they don't show on my app tray so I'm guessing that apps are not there but the phone is reading it wrong. So I wiped installed CM 3.9.7 again and now I can't install apps from market or anywhere else
shouldn't this be in the Q&A?
I saw your signature and your running ROM: Cyanogen's MOD (3.9.7)...
Cyanogen warned you NOT TO INSTALL Apps2sd!
Format your sdcard ext partion and then wipe and install Cyanogen's MOD...
Everything will go back to normal
SportsFan26 said:
I saw your signature and your running ROM: Cyanogen's MOD (3.9.7)...
Cyanogen warned you NOT TO INSTALL Apps2sd!
Format your sdcard ext partion and then wipe and install Cyanogen's MOD...
Everything will go back to normal
Click to expand...
Click to collapse
No I didn't use any scripts to activata apps2sd because its automatic, what I'm trying to do is reverse apps2sd so I can install apps on my phone instead of my sdcard I already removed my ext 3 partition
do you have a card reader?
gtrplr71 said:
do you have a card reader?
Click to expand...
Click to collapse
Yes I do have a card reader
If you are running Cyanogen's mod, then I don't believe you'll be able to have your apps on your phone unless you do NOT have an ext 2/3 partition. If your SD card is only Fat32, then the mod won't have any place to move the apps and will leave it on your phone.
Atleast that's how I understood it, if someone who actually knows what they are talking about contradicts me, go with them.
Gilliland12 said:
If you are running Cyanogen's mod, then I don't believe you'll be able to have your apps on your phone unless you do NOT have an ext 2/3 partition. If your SD card is only Fat32, then the mod won't have any place to move the apps and will leave it on your phone.
Atleast that's how I understood it, if someone who actually knows what they are talking about contradicts me, go with them.
Click to expand...
Click to collapse
Yeah that's how it is, I had ext3 partition before but I removed it because I was having malfunctions with a lot of different apps so I thought removing the partition would do it but no now I can't install apps.
I want to undo apps2sd I don't want it anymore, I want apps installed on my phone
I would be to reformat your card to just fat32 (I would just do it in windows or ubuntu, I wouldn't run any scripts to do it). Then load up cyanogens rom on your card, wipe, and update. You will have a fresh install and apps should go to your phone and not SD.
supremeteam256 said:
I would be to reformat your card to just fat32 (I would just do it in windows or ubuntu, I wouldn't run any scripts to do it). Then load up cyanogens rom on your card, wipe, and update. You will have a fresh install and apps should go to your phone and not SD.
Click to expand...
Click to collapse
ok i'll try doing that, tell you if it works later on
I would also clean out dalvik-cache
rm -r /data/dalvik-cache
I think that's where part of your problem is, don't quote me on that though
In my personal opinion, it's good to rebuild your dalvik-cache everynow and then just to make sure you don't have any junk in there. I suspect that you may have number of things in there since you did not uninstall apps but rather nuked the partition. Who knows... do it, it may help
Good luck
supremeteam256 said:
I would be to reformat your card to just fat32 (I would just do it in windows or ubuntu, I wouldn't run any scripts to do it). Then load up cyanogens rom on your card, wipe, and update. You will have a fresh install and apps should go to your phone and not SD.
Click to expand...
Click to collapse
you are definitely the man haha it worked, i can install apps but have 55mbs of free space is that ok?

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.

Another problem with moving apps to SD

I rooted.
I flashed attn1 R012
I ADB'd (why?)
I partitioned with ROM Manager
I cannot get an app from Market to work to move my apps to SD.
Did I install the wrong ROM for this?
I thought this was supposed to be a feature of this ROM.
Al I wanted to be able to do was get rid of bloatware and move the apps to the SD.
This is getting overwhelming.
What do I do?
Download titanuim backup and check in a2sd and see if u have a ext?
Sent from my Liberty using XDA App
I just dl'ed it (the pro version) It's not in my apps list, but I do see it in settings>manage applications. ???
To move all of your downloaded apps to the SD card (note this does not affect your system apps):
Terminal Emulator
type:
su
Click to expand...
Click to collapse
accept SuperUser permissions
then:
a2sd reinstall
Click to expand...
Click to collapse
melmelby said:
I just dl'ed it (the pro version) It's not in my apps list, but I do see it in settings>manage applications. ???
Click to expand...
Click to collapse
You have to also download the free version the pay is just the certificate to unlock the extras features
Sent from my Liberty using XDA App
Ok, I did a2sd reinstall at terminal emulator.
I downloaded Titanium free to go with my unlock version.
Here's what I see now:
Internal 194MB (117MB Free)
SD Card 7.61 GB (6.65GB Free)
SD Card (a2sd) 239 MB (124MB Free)
So, looks like it is setup now, right?
Thanks for your help!
I should probably increase the a2sd size; I don't have nearly all of the apps I want
okay my first post!
I did the above mentioned all looks good. Do have to do this every once in a while to move the apps to the sd card or will all future downloaded apps be moved to the sd card at download?
All future downloads/installations will automatically be placed on the ext partition. So nope, just do it once, make sure it's installed, and you're ready to take off.
Thanks for the response.
1. If I flash another rom with a2sd do i have to do anything special in regards to the apps on the on the ext.
2. Is the devlik cache also moved to the Sd card now? If not how would I move it?
3. If I replace the sd card with a new one would I just format and create the ext partion and how do I get the apps off the old card?
Thanks in advance
E.Cadro said:
Thanks for the response.
1. If I flash another rom with a2sd do i have to do anything special in regards to the apps on the on the ext.
2. Is the devlik cache also moved to the Sd card now? If not how would I move it?
3. If I replace the sd card with a new one would I just format and create the ext partion and how do I get the apps off the old card?
Thanks in advance
Click to expand...
Click to collapse
1. if you're using DT a2sd then yes you will need to reflash it after flashing a new rom.
2. again if using DT a2sd you will have to go into the terminal emulator and type 'su', hit enter. Then type 'a2sd cachesd'. This will move your dalvic to the ext. On the built a2sd there is no option to do this.
3. to get the apps of the old ext partition you will need some form of a linux operating system such as ubuntu (you can run ubunty right off a cd or usb without actually installing it to your computer) and you can literally just copy and paste. Windows does not do this as it cannnot see you ext partition and I have no idea if Mac can or not.
Understood.
Thanks for the quick response.

Categories

Resources