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.
Related
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.
Hey im currently using Cyanogen's mod 4.0.2 on my original 1gb sd card, i know the apps2sd is automatically built in to the rom, however is there an easier way to create the partition on the sd card without all the commands and such? im still a noob to any help is appreciated..thanks
rschuman90 said:
Hey im currently using Cyanogen's mod 4.0.2 on my original 1gb sd card, i know the apps2sd is automatically built in to the rom, however is there an easier way to create the partition on the sd card without all the commands and such? im still a noob to any help is appreciated..thanks
Click to expand...
Click to collapse
Install Ubuntu and use Gparted
There's a script called SDsplit
there's also a script to partitoin that 51dusty made. Or you can stop being lazy and just type them it. It takes no more than 5min to do.
Or you can flash JF 1.51 adp because it doesn't use the sd so you're safe to partion the sd card and use partted in recovery. JAC has the directions on his Jacxhero ROM page. Thats what i use. Works everytime.
rschuman90 said:
Hey im currently using Cyanogen's mod 4.0.2 on my original 1gb sd card, i know the apps2sd is automatically built in to the rom, however is there an easier way to create the partition on the sd card without all the commands and such? im still a noob to any help is appreciated..thanks
Click to expand...
Click to collapse
Before I started using "parted" I used apps2sd 2 (in the market).
The trick is to make sure you don't let it run the actual apps2sd but only use it to create the partition.
CM's does it better (and you might break something!!!).
If you don't have a ext partition and run apps2sd 2 it lets you create one.
Don't make the partition more than 500mb-530mb.
By the way, it only makes an ext2 partition so if you want ext3 go to console and and upgrade_fs.
Dusty's method in parted is much better!
This is just what I did before I stopped being lazy.
ThR1LL said:
there's also a script to partitoin that 51dusty made. Or you can stop being lazy and just type them it. It takes no more than 5min to do.
Click to expand...
Click to collapse
It's called SDsplit
AdrianK said:
It's called SDsplit
Click to expand...
Click to collapse
The one I'm talking about is called sdparted found here
the script provides 3 partitions... you may not need the swapper. try to make it manually, its easy!!!
AdrianK said:
It's called SDsplit
Click to expand...
Click to collapse
do u have to have adb though if you did dustys method WITHOUT a computer?
I've got a new 8GB card, and I want to transfer my stuff from my 2GB card.
so they way I see it I have to:
1: backup rom using cyanogens recovery
2: backup backup onto computer
3: backup data using mybackup
4: backup this backup onto computer!
5: SDparted the sd card, (do I need to create a swap? if so how much?)
6: transfer the apps partition to the new partition using adb or terminal, (do I just use this?
To backup your sd partition:
Code:
tar -cvvzf /sdcard/systemsdbackup.tar.gz /system/sd/
and then take the file off your sdcard and copy it to your new one.
To restore your sd partition:
Code:
tar -xvvzf /sdcard/systemsdbackup.tar.gz -C /system/sd/
Or you could just adp pull system/sd \computerdirectory
then cd to computerdirectory and adb push it to system/sd again.
7: then run the permissions thing
8: install rom
9: install the backups
am I missing anything?
cheers
im having real trouble with this guys!
i formatted the sd card, parted it, put all the stuff that was on the 2GB card on the newly partitioned 8GB, but i still cant get the ext3 partition backed up.
i cant seem to use terminal i just get adb:not found
can someone give me the terminal commands please!
thanks
do u have ubuntu if u do u can just copy everything off of ur old ext3 then paste to the new one
no im using windows vista.
I got it to work in the end but it didnt copy all of my apps!
Well that stinks
Doesn't ubuntu sound like an ethnic dish?
It's yummicous and is key to getting your computer's daily value of essential vitiams and minerials
Or.........
A ubuntu a day keeps the windows viruses at bay
Just a thought
Im really strugling here!
i've backed up my ext3 partition using adb.
i'm putting this ext3 partition on my new card, but its seems to be stalling when getting to the dalvik cache, its not doing anything after this.
also when I restarted my phone (thinking it might have finished) i get FC's on some of my apps.
i ran the fix_permissions script but it doesnt seem to be helping.
any ideas??
Put back in old card, appmanager or backup for root users, backup the apks
Put in new card, clean off your ext3 and reinstall apks using either of the before
mention apks
thanks man!
all sorted!
i like it when people say that there problem is solved. It makes you feel all warm and tingily inside, opps wait. nevermind i just have to pee
gridlock32404 said:
Well that stinks
Doesn't ubuntu sound like an ethnic dish?
It's yummicous and is key to getting your computer's daily value of essential vitiams and minerials
Or.........
A ubuntu a day keeps the windows viruses at bay
Just a thought
Click to expand...
Click to collapse
lol both r very true. i had it on my pc b4 it died becuase of lame as windows. a soon as i buy a new laptop, netbook, or pc guess what will be my os of choice
Hey I am in the same boat, windows chewed up my power supply so it was already messed up before I put on ubuntu. Now I am burned out so my choice of os is gonna be the same as yours
I can't find help for this anywhere . I've been Googling like crazy.
I have a rooted HTC Dream that saves all apps to my 4GB microSD card. I just got my new 8GB microSD card in the mail. My question is how do I transfer from one card to another without having to start everything from scratch? (By doing a hard reset/factory reset).
I tried partitioning my 8GB card on my Ubuntu desktop into the appropriate ext2 and FAT32 partitions, and then just simply copying and pasting into the appropriate partitions. I put the memory card in my phone, and well... it wouldn't boot. I tried this numerous times.
Luckily, everything worked fine when I just put back the original 4GB card.
Please help. I have no idea how to do this.
Best thing I can suggest is making a nandroid backup, then run the switchrom script, so everything is then stored entirely on your FAT32 partition. Copy your FAT32 to your 8GB FAT32, then switchrom everything back in place. No guarantees it'll work to be honest, although I see no reason it shouldn't if you've partitioned it in the same way.
On the old card
cp /system/sd/app/* /sdcard/app
Cp /system/sd/app-private/* /sdcard/app-private
Then copy those 2 folder to the fat32 of the new card, then:
Cp /sdcard/app/* /system/sd/app
Cp /sdcard/app-private/* /system/sd/app-private
You will have to remount /system and mkdir's first, though.
How/where would I do this? Doing it on my desktop didn't work, and I can't do it on my phone, since the phone won't boot with the new memory card.
mahasmb said:
How/where would I do this? Doing it on my desktop didn't work, and I can't do it on my phone, since the phone won't boot with the new memory card.
Click to expand...
Click to collapse
supremeteam256 said:
On the old card(as in from terminal on phone or better yet, recovery console.)
cp /system/sd/app/* /sdcard/app
cp /system/sd/app-private/* /sdcard/app-private
Then copy those 2 folder to the fat32 of the new card, then:
on the new card
cp /sdcard/app/* /system/sd/app
cp /sdcard/app-private/* /system/sd/app-private
You will have to remount /system and mkdir's first, though
Click to expand...
Click to collapse
This is what he meant lol, it was a hidden message, if ya can find it, luckily i can break the code
vamopyros_wrath said:
This is what he meant lol, it was a hidden message, if ya can find it, luckily i can break the code
Click to expand...
Click to collapse
i like you.
Cool...
Thanks for the replies so far but if booting into the "recovery console" is when you hold [Home] and then press [End call], then my phone still won't boot with the new memory card while trying that approach. Is there any other way? Maybe I did something wrong, I don't know.
Edit: (some hours later):
Alright, I decided to try and repartition the card on my phone instead of my desktop. I followed these instructions: http://androinica.com/2009/09/08/ho...tition-to-install-android-apps-on-an-sd-card/
And then I booted into recovery mode (and followed supremeteam256's instructions) to move the rest of the files to the new microSD card. It seems to work now. The apps are there and such. I'll post back again if there any problems or anything to note from this move. For both my future reference and anyone else that may benefit from this.
Thanks a lot for all your help everyone.
The only way to make sure this works is to use switchrom. Search on XDA. It is a script that should be standard in every recovery menu. I've changed cards and phones with zero problems. It will work every tine.
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.