[Q] SafeStrap 3.0.x, multiple ROMs, and installing to SD card - Motorola Droid 3

Hello,
I've been patiently following this thread http://forum.xda-developers.com/showthread.php?t=1804665 for the past several months. Thanks to the selfless, hard work of Hashcode, dhacker, and also sylentprofet and jarveson (and apologies to anyone I haven't credited), the recent builds seem to have arrived at a level of functionality and stability that I'm thinking of trying to install my first custom ROM (I've already had SafeStrap 3.0.x installed for months).
My question is the following: I understand from the above thread and from Hashcode's blog that now the external SD card will be used as the default storage location. I was wondering what happens when an app is "installed to SD". From my previous experience on an original Motorola Droid, I know that "installing to SD" would move some files to a special directory on the SD card. I was wondering if this would cause collisions if the same app was installed under multiple ROM slots using SafeStrap.
Thank you for entertaining this newbie's question.

Actually the way I understand it is there is still the internal storage and external SD which are the same, but the internal storage gets partitioned separate from the rest of the storage so if you install an app to the SD card, I think it just goes in a regular folder. The system thinks the /system partition is in the regular storage for it but it actually is tricked to the internal storage.
I hope that makes sense.

MrObvious said:
... so if you install an app to the SD card, I think it just goes in a regular folder ...
Click to expand...
Click to collapse
Thank you very much for your response.
Is this regular folder on the external SD card? If so, does it mean that this regular folder will be shared by the ROMs in multiple slots if I have the same app installed under the ROM in multiple slots?
Thank you again.

alvin_a_garcia said:
Thank you very much for your response.
Is this regular folder on the external SD card? If so, does it mean that this regular folder will be shared by the ROMs in multiple slots if I have the same app installed under the ROM in multiple slots?
Thank you again.
Click to expand...
Click to collapse
If it's on the external SD then yes it is.

I had the same doubt when I recently started using ROMs on my Droid3. This thread helped me a lot.
I have lots of apps in my stock ROM that I've installed before rooting it. Do I have to install it all again on external SD? If yes, do I have to use a new flashed ROM or the stock ROM?

Thiago AmP said:
I had the same doubt when I recently started using ROMs on my Droid3. This thread helped me a lot.
I have lots of apps in my stock ROM that I've installed before rooting it. Do I have to install it all again on external SD? If yes, do I have to use a new flashed ROM or the stock ROM?
Click to expand...
Click to collapse
On minimoto I noticed it was using the exact same sd configuration as stock, perhaps because its stock based. On CM10 the external SD card is the default /sd card but you can still access the internal sd.
Regardless of how the sd card is configured you'd still have to reinstall apps when going to another ROM. I recommend using Titanium Backup then its quite simple to restore apps on another ROM. For SD data you could just manually copy and paste the folders from the internal to external SD.

spunker88 said:
On minimoto I noticed it was using the exact same sd configuration as stock, perhaps because its stock based. On CM10 the external SD card is the default /sd card but you can still access the internal sd.
Regardless of how the sd card is configured you'd still have to reinstall apps when going to another ROM. I recommend using Titanium Backup then its quite simple to restore apps on another ROM. For SD data you could just manually copy and paste the folders from the internal to external SD.
Click to expand...
Click to collapse
Thanks! So, a separate partition on SD Card would be a waste of "space", since the ROM's doesn't share acess to this partition. I've only tried with CM10, I'm going to try with MavROM and Minimoto, but i'm almost sure that I'll end backing all up with Titanium.

Thiago AmP said:
Thanks! So, a separate partition on SD Card would be a waste of "space", since the ROM's doesn't share acess to this partition. I've only tried with CM10, I'm going to try with MavROM and Minimoto, but i'm almost sure that I'll end backing all up with Titanium.
Click to expand...
Click to collapse
Sort of kind of. Basically this would be useful if you want to share apps and their settings between the custom and Stock ROMs installed on your phone [may be odd on an app by app basis depending on a few things but a good number *should* work [I dont use external SD as it eats the battery and is MUCH slower than using the /data partition so haven't tested this], so following should be close if not 100% correct
You would in stock ROM set your apps2SD app up [I DO NOT advise you to use the sdcard function found in manage apps>app area instead you should be using an app like Link2SD that actually creates a partition on your external SD and formats it to EXT3 or EXT4 [suggest using EXT4]. This way things like widgets still work whereas they don't when using the built-in android function [this happens as android uses a folder on the SDCard [which is FAT32 by default] and file permissions needed to run Widgets and some code can't be copied as needed on to a FAT32 partition so by using an app that partitions [or the recovery can do this but you would still need an app to manage which apps are in this partion] the SDCard app instead actually formats part of the card to the EXT 3 or 4 File system so it is the same as the /data partion so Android can copy EVERYTHING and nothing is affected and broken.
So you open your SDCard app manager in Stock ROM and format the External SD [THIS WILL ERASE EVERYTHING RUN APPROPRIATE BACKUPS BEFORE PARTIONING [move them to a computer and back if you dont have enough internal storage to absorb your data]]
When that completes open the app again [usually needs a restart first to mount the new partition before continuing].
Once you get that done open the Manager app and select the apps to move to this new partition.
CUSTOM ROM: Now once that is done boot in to safestrap and either setup a Custom ROM or change to it's boot slot. Next boot in to Custom ROM and install the same SD Card App Manager you used in Stock.
Next, once you open it it should say it found a partition and ask if you want to use it if it doesn't and just lists the app view the settings in the Manager app and HAVE IT SETUP AN EXISTING PARTITION. DONT PARTITION YOUR SDCard AGAIN [or all your newly moved data will bite it].
Now restart and allow it to boot back in to the Custom ROM again. Once this happens all the apps you moved to the SDCard partition should magically appear and be usable.
SO LONG AS YOUR STOCK AND CUSTOM ROMs ARE THE SAME VERSIONS DONT DO THIS IF YOU HAVE ICS ON THE SAFE SIDE AND JELLYBEAN AS A CUSTOM ROM IT WILL MOST LIKELY CAUSE ALL KINDS OF PROBLEMS

Related

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.

[Q] Internal SD card not recognized CyanogenMod 7 nightly

I've just now flashed the latest Cyanogenmod 7 nightly on my O2X, and I'm experiencing a problem with my internal SD card.
Any app that want to use the internal SD card is unable to do so because supposedly the card is not mounted, while under Settings - Storage - Internal SD Card, it gives me an option to unmount the card. I've tried unmounting and mounting again, but that didn't do anything.
When I connect my phone to my laptop using USB, the only option I get is the USB Debugging (if I have that on). The only way to get the option to turn on USB storage is if I power off the phone, connect the USB and then power up the phone. That way I get the option to turn on USB storage, but when I do that, nothing happens on the computer or the phone.
If I reboot the phone in recovery mode, then I can select instal zip from internal sd card and then see the different folders on the card, but I have not dared to see if can actually flash Cyanogenmod again in fear of not being able to get any kind of contact with my sd card.
Now I realize that there are ways of fixing this issue, but is there a way that will help me keep the data I have on my internal sd card? I have a lot of information on it that I don't want to lose at all.
Even ideas of how I could backup the internal sd card so that I can just go crazy and format the card would highly appreciated! I've tried the Software Data Cable app, but that didn't work either.
Any help you can give me would be a major relief as I have been struggling with this problem through the night without much results.
Some info:
Before flash: Stock Gingerbread (Android 2.3.4)
Flashed ROM: CyanogenMod-7-20120313-NIGHTLY-p990 (Android 2.3.7)
Phone: LG Optimus 2X p990
No external SD card
Accessing internal storage
Go to settings - CyanogenMod Settings - Application
And check the Internal storage box.
If you have issues with some apps check the "allow moving.." as well
AND change the install location to internal. On automatic this should work anyway since you are not using an externalSD.
--- REMEMBER TO REBOOT---
If you are still having problems fix permissions and reflash the same nightly or a newer one. (data is not lost... dont wipe)
Dont think this applies to you.. but just in case.
If you still have issues with any apps and their settings. Delete the app data at the Application Manager. Then before opening/running the app, delete its associated folders on the sd. (You should be able to mount by now.) Reboot and things should be working fine. Dont worry about this last paragraph if you are not having issues with apps not saving data/starting/cant find sd card etc. Since you dont have a external SD.
Yeah, I found this out just two minutes ago, and now everything works! Thanks a lot elkhawkes!
Woah, I'm happy now!
I don't see why this isn't standard in CyanogenMod though. What are the benefits of "hiding" the internal SD card like that? Is it considered that people who flash CyanogenMod doesn't have anything useful on their internal SD, but rather the external one? At least for me, I had a lot of application data, pictures and text files I needed on the internal SD card.
Well, anyways, all is well for me now, so far...
Ok, I've noticed a problem.
You were right about some apps having problems. It seems like Whatsapp and SwiftKey is unable to save their stats. Message count and keystroke count returns to 0 every time I reboot. Its not the biggest problem, but it might be a symptom of a bigger problem, so I want to fix it.
I have tried all the different suggestions you mention for solving problems with apps, but none of them work. Even when I delete the Whatsapp folder on the internal SD card, the app still has problems saving its stats. I guess that might be because there are more Whatsapp files in one of the android folders on the card.
I was thinking that I might be able to do this sequence of things to fix it, but I'd like to get some confirmation that it might work and I won't brick my phone or will be having to buy and external SD card:
1. Copy everything on the internal SD card to my computer. (Already done!)
2. Re-flash the latest CyanogenMod nightly (and Google Apps) from the internal SD card using ROM Manager and delete all data cache, dalvik and so on.
3. Before installing any apps I go to Settings - CyanogenMod settings - Application and check Use internal storage. That way my internal SD card will be "visible".
4. Go to Settings - Storage and then selecting Erase SD card (note this is the internal SD card, I do not have an external card).
Questions:
- Will step 4. delete everything on the SD card, including all files in the Android folders?
- Will I still be able to use my phone with Cyanogenmod without having any files on the internal SD card (and no external card in the phone) or does flashing CyanogenMod or any other ROM on the phone install crucial files on the internal SD card? I want to know this for sure, because if I can't, then I will have no way of returning to a working ROM or flash a new one. I want to avoid a brick at all cost.
- Can I then start installing all the apps I want and then trying to copy only the folders containing for example the media and messages folders for Whatsapp back to the SD card to recover those on the fresh install?
** What about the Factory data reset option in CyanogenMod? Is that something I can use for this? Will the phone be reset to "factory" with CyanogenMod installed and no other old files on it, so that everything is fresh and I can install my apps and then copy media/backup folders to get the apps running without problems and with my old media?
Any help with this matter would be highly appreciated!
Testing7 said:
Questions:
- Will step 4. delete everything on the SD card, including all files in the Android folders?
Click to expand...
Click to collapse
Yes.
- Will I still be able to use my phone with Cyanogenmod without having any files on the internal SD card (and no external card in the phone) or does flashing CyanogenMod or any other ROM on the phone install crucial files on the internal SD card? I want to know this for sure, because if I can't, then I will have no way of returning to a working ROM or flash a new one. I want to avoid a brick at all cost.
Click to expand...
Click to collapse
Short answer: Yes. Long answer: No properly made Android version should depend on certain files being present on the SD-card. CM7 is a "proper" version.
- Can I then start installing all the apps I want and then trying to copy only the folders containing for example the media and messages folders for Whatsapp back to the SD card to recover those on the fresh install?
Click to expand...
Click to collapse
You should in most cases be able to do that, yes. You may run into trouble if you copy the data back after installing the app if it is running at the time. You may want to mount USB storage/copy data while in CWM to be sure that does not happen.
** What about the Factory data reset option in CyanogenMod? Is that something I can use for this? Will the phone be reset to "factory" with CyanogenMod installed and no other old files on it, so that everything is fresh and I can install my apps and then copy media/backup folders to get the apps running without problems and with my old media?
Click to expand...
Click to collapse
Yes, you should be able to do this. (Be aware that a factory reset, whether built-on or CWM, does not delete anything on the SDcard.) Some apps may initialize their external storage on the first start, some apps may find inconsistencies in the external data, especially if they use som kind of secure or encrypted storage, but that is probably not very common
Fix for apps
... Follow the steps in my post above and then uninstall the effected app, reboot and install again.
If you have backed up the whatsapp folder. Put it back on the sdcard before running the newly installed whatsapp and it should ask to import the backed up files.
- I think it only works if you place the files back before running the freshly installed app.
I`m guessing you might have tried this already. Hope this helps
Like Testing7 said, the files visible on the sd card are safe to delete but erasing the sd and factory resetting is probably not necessary. Personally I backup my important folders.. whatsapp etc on the pc regularly and erase the sd all the time. Its not really neccessary and I do this because I like to keep it clean and its just a "bad" habit from testing out different roms. The folders there are generally just clutter and also use a minimum amount of space, so really it is up to you. They do build up again pretty fast so dont worry about it.
- If you are still having problems... Just start from scratch again
# Backup - SMS and apps... I use Sms/app backup and restore... 2 separate apps on market (both free).
# Copy necessary folders and files to pc - then erase SD
# Recovery - Wipe cache, factory reset, Dalvik, battery stats ... on full battery
# Reflash nightly cm7
# Change all settings like in my first post and then reinstall all apps and backup files.
# And remember to restore files first before running the apps for the first time

[Q] move file to the REAL EXTERNAL SD

peple, i can't believe is so hard to find information about this big problem.
HOW CAN I MOVE INSTALLED APPS TO MY EXTERNAL SD??
I tried all "App2SD" in google play, but looks like Optimus 2x mount its SD in a different way, so what these apps does is move apps to/from internal memory (it is not the same as internal sd??? why 2?) and internal sd.
So i boght a 32GB sd for just videos and mp3???
I googled and found a link talking about "Mod Install Location".
Well, this "Mod Install" doesn't work too. I can't install news apps in external sd nor can i move installed apps.
No one bottered with this situation too???? Is impossible to move installed files in Optimus 2x do the external SD?
install CM7 Custom ROM
siibel said:
install CM7 Custom ROM
Click to expand...
Click to collapse
What exactly that does?
But i want to try another ROMs. There is not another way?
Another question about this SD problem: looks like that after flash roms and firwares the internal sd will be totally wiped. Well, so Titanium Backup is useless for Optimus 2x, as it doens't let choose directory for backups. Solution?
presuntinho said:
What exactly that does?
But i want to try another ROMs. There is not another way?
Another question about this SD problem: looks like that after flash roms and firwares the internal sd will be totally wiped. Well, so Titanium Backup is useless for Optimus 2x, as it doens't let choose directory for backups. Solution?
Click to expand...
Click to collapse
+1 on CM7. That ROM will render your internal SD useless as EVERYTHING can be thrown to the external SD.
I have Titanium Backup Pro and there's an option to choose the backup location in preferences. I'm pretty sure it's also present in the free version.
(TB is very useful for me. Enough for me to purchase it.)
If you are using app2sd from market to move your application to sdcard, meaning you can do it manually from your application manager, each and every app you click will have a button to move to sd. App2sd market app just simplifies this process. Please note that this method only moves some app files to the sdcard not all of it, it will still leave app dalvik and app user data on the internal memory.
The real app2sd/app2sd+/data2sd that creates a link from your internal phone data partition and relocate your data folder to external sd are script based, and you have to make a ext3/4 partition on your external sdcard in addition to your fat32 partition. This is what you need If you want to totally move all data to external sdcard.
I have not seen ppl making tutorials using this script in o2x forum, because the 1.5gb app space is good for most people, unless if you have alot of games in your phone. For what I know the app2sd+ script is universal for all phones, you may just need to make some modifications to the script to make it work on every specific phone type/model.
About the flashing firmware wiping internal sd, I have not encountered such issue. For what reason do you flash a firmware? I havent tried flashing rom the official way since you can just use cwm to flash rom, but I flash baseband alot of times, no internal sd wipes, but it does wipe data partition.
TB doesn't let you change the backup folder like that. You have to copy the "TitaniumBackup" folder with a few backup files to where ever you want and then the app scans for folders with backups.
salisbury_steak said:
+1 on CM7. That ROM will render your internal SD useless as EVERYTHING can be thrown to the external SD.
Click to expand...
Click to collapse
But i will lost the 8 GB of this "internal SD" or i can still use it?
You have games installed in the external SD? They run as faster as in the internal?
Thanks
Chris4evernoob said:
TB doesn't let you change the backup folder like that. You have to copy the "TitaniumBackup" folder with a few backup files to where ever you want and then the app scans for folders with backups.
Click to expand...
Click to collapse
After flashing a ROM or firware i just open TB and it will recognize the old backups? I just install TB and then overwrite with the old folder?
Thanks
tablighs said:
If you are using app2sd from market to move your application to sdcard, meaning you can do it manually from your application manager, each and every app you click will have a button to move to sd. App2sd market app just simplifies this process. Please note that this method only moves some app files to the sdcard not all of it, it will still leave app dalvik and app user data on the internal memory.
The real app2sd/app2sd+/data2sd that creates a link from your internal phone data partition and relocate your data folder to external sd are script based, and you have to make a ext3/4 partition on your external sdcard in addition to your fat32 partition. This is what you need If you want to totally move all data to external sdcard.
I have not seen ppl making tutorials using this script in o2x forum, because the 1.5gb app space is good for most people, unless if you have alot of games in your phone. For what I know the app2sd+ script is universal for all phones, you may just need to make some modifications to the script to make it work on every specific phone type/model.
About the flashing firmware wiping internal sd, I have not encountered such issue. For what reason do you flash a firmware? I havent tried flashing rom the official way since you can just use cwm to flash rom, but I flash baseband alot of times, no internal sd wipes, but it does wipe data partition.
Click to expand...
Click to collapse
If i use the external sd with ext3/4 using the entire space, i will able to send file using usb, bluetooth, etc? I mean, there is any colateral?
Moving all data to MicroSD make the apps run slowly?
2 big games are enough to almost fill the entire internal memory.
tablighs said:
About the flashing firmware wiping internal sd, I have not encountered such issue. For what reason do you flash a firmware? I havent tried flashing rom the official way since you can just use cwm to flash rom, but I flash baseband alot of times, no internal sd wipes, but it does wipe data partition.
Click to expand...
Click to collapse
Well, maybe is my enlglish that is horrible, but that is what i understand reading this:
http://forum.xda-developers.com/showpost.php?p=26191714&postcount=3
"Installing this file WILL fully wipe your device, including the Internal SD. Back up!"
So:
1 Changing the ROm will wipe the internal sd?
2 Changing the firware (firmware and baseband are the same thing, correct) will?
presuntinho said:
If i use the external sd with ext3/4 using the entire space, i will able to send file using usb, bluetooth, etc? I mean, there is any colateral?
Moving all data to MicroSD make the apps run slowly?
2 big games are enough to almost fill the entire internal memory.
Click to expand...
Click to collapse
If you use app2sd+ script method, everything will function normally. A class 6 or 10 sdcard can perform as fast as your internal phone storage. You may wear your sdcard faster though since it is being regularly used and accessed.
The only problem is to fine the script itself that is specifically customised for o2x, I myself do not know how to do it, although I used it before for my HTC Desire phone, but that was long time ago and the script was integrated in custom roms since htc desire only has 150mb app space.
presuntinho said:
Well, maybe is my enlglish that is horrible, but that is what i understand reading this:
http://forum.xda-developers.com/showpost.php?p=26191714&postcount=3
"Installing this file WILL fully wipe your device, including the Internal SD. Back up!"
So:
1 Changing the ROm will wipe the internal sd?
2 Changing the firware (firmware and baseband are the same thing, correct) will?
Click to expand...
Click to collapse
Yes, all threads will say that, its just cautionary purposes. I just recently reflashed my baseband to v20c a a month ago using smartflash, it did wipe my rom data, but not my internal sd. But just incase, make a backup of everything, it doesn't hurt to do that.
tablighs said:
If you use app2sd+ script method, everything will function normally..
Click to expand...
Click to collapse
but to use apps2sd +script i need to have a partition ext3 or ext4, right? This partition in ext3 will work with usb, bluetooth, etc?
It is a good option to have the enitre microsd in ext3 instead 1 partition in ext3 and 1 in fat32?
Thanks
presuntinho said:
but to use apps2sd +script i need to have a partition ext3 or ext4, right? This partition in ext3 will work with usb, bluetooth, etc?
It is a good option to have the enitre microsd in ext3 instead 1 partition in ext3 and 1 in fat32?
Thanks
Click to expand...
Click to collapse
The ext partition will always be mounted for android system, so you cannot access via pc. You need a fat32+ext3/4 partitions combo.
First you need to know how much storage do you need for apps, please note that I think the internal 1.5gb app storage will be left unused if you decide to link your data (which will fool android system thinking it is phone memory) folder to your external sd.
We have talk too much on this topic but I myself is unsure whether you can find the script to run on o2x. Maybe its time for you to take some time on how to actually find and modify one so it works for o2x. I cannot help you on that at all. Keep us posted if you have any progress.
tablighs said:
The ext partition will always be mounted for android system, so you cannot access via pc. You need a fat32+ext3/4 partitions combo.
First you need to know how much storage do you need for apps, please note that I think the internal 1.5gb app storage will be left unused if you decide to link your data (which will fool android system thinking it is phone memory) folder to your external sd.
We have talk too much on this topic but I myself is unsure whether you can find the script to run on o2x. Maybe its time for you to take some time on how to actually find and modify one so it works for o2x. I cannot help you on that at all. Keep us posted if you have any progress.
Click to expand...
Click to collapse
But can i alternatively make a backup of big games in the sd so i don't need to download 700 MB every time i want to install it again? As already said Titanium Backup will not do that. I could cut and paste only the backup of the game i want to sd, but Titanium show the name of backups in a way wich is dificult to read among many files. Plus i am not sure TB will backup all data of the game.

Swapping internal and external SD cards for Clockworkmod?

Hi, I'm new to the SGS after having used a ZTE Blade for a couple of years.
I've got this thing pretty much setup how I want. Running a stripped down CM10.1 nightly with hugemem enabled using the semaphore kernel.
I've swapped the internal and external SD cards by modifying vold.fstab. I needed to do this because I have games that download huge amounts of data to the sd card.
I also have more game apk's than can fit in the phones internal data so some of them are moved to the SD card. Here's where the problem lies.
Clockworkmod doesn't know that the internal and external SD cards are swapped. It has the internal and external labels the wrong way around on its backup and restore routines. Hardly a major problem, but what is a problem is that it's backing up an empty .android_secure folder from the internal SD card.
Is there anything I can do about? Some setting to swap internal and external cards in CWM? Or alternatively get the rom to use the internal sd card for .android_secure despite the sd cards being swapped?
It's not the end of the world because after restoring a rom I can just restore outdated and missing apps using Titanium. I'd just like my backup to be complete if it's possible to do!
Thanks.
Nice question mate, I haven't seen someone with that issue before, may be just because they are happy enough with their swapped memories and don't think about backups. I think that for now you have to use TB to backup your apps correctly and hopefully cwm team will fix that. Have you tried to reinstall recovery?
I only actually noticed it because after switching form the Blade (an ARMv6 phone) to the SGS (ARMv7) I gradually added a load of games to my phone that were now compatible and yet my backups were getting smaller! I noticed the android_secure backup file was 0 bytes and that's when I worked out what was happening - I was moving the bigger stuff to SD and it wasn't getting backed up.
As for re-installing recovery, I switched to the Semaphore kernel and it replaced the recovery with a different one which has the same problem as the CM10.1 version.
Ok, so that's not a solution. The worst part of the story is that folder .android_secure is harder accessible even than any system files and paths. If you find a way to open it you may copy all the apk.s to some safe directory and this way you have at least the installation data of your apps and you have just to reinstall them ( I realize it's not such an easy if they are >100). Better than search the net again or copy from pc. How much easier it would be if we just have to copy apk file of the app to/data/data or .android_secure instead of installing it to get it in your app drawer. XD
A google search found this: http://forum.xda-developers.com/showpost.php?p=31148760&postcount=369
So they've at least thought about this scenario on the SGS2! I wonder if any of the SGS1 devs around here here have fixed this in their recovery without us knowing?
Cool dude, nice find. I think you loose nothing if you try that.
I'm not sure flashing recovery for another model is a good idea? On my last phone you couldn't even use recovery from a different software revision of the same phone hardware!
In any case, isn't recovery part of the kernel on the SGS? Flashing a kernel always seems to change it anyway. Which again, differs from what I'm used to.
I was more hoping this would prompt one of the devs to fix it or point me to one they'd already fixed in the past that I'm unaware of.

[Q] HD+ CM10 CLM - backup no internal sd and flashing

Quick noob questions.
1. When using CWM to backup, it all runs fine when it is finished at end it says no internal sd then skipping. Is this normal? Is everything backed up then if it has only apparently backed up the external sd?
2. Using CWM to install CM10 + gapps. Does this modify internal storage in anyway or is it just flashing to the external SD card. Note I am not rooting my device just installing these 2 things. The reason I ask is that I am having issues with device and I'm going to return it, dont want there being any evidence on the device. If there is evidence or files put on device through installing/flashing - how do I remove it?
Question 2 also applies to the new hybrid method by leapinar as I have thinking of using this when I get new device. Note at moment I have just used old method on forums.
Thanks in advance.
1. That message says no external SD, so skipping. Don't worry, it is doing what you need it to do. If you used the CM10 CWM, it backs up the /system and /data files that are on the SD and puts the backup files on the SD media partition. If you used the stock CWM, it backs up /system and /data from internal and puts the backup files on the CWM SD.
2. When you flash the CM10 and gapps, there is nothing put on internal memory. The only thing it does is put a log file on /cache saying you installed CM10. You can go to /cache/recovery in CM10 and delete that last.log file and there would be no evidence you did anything.
As far as the Hybrid, it does install some things to internal memory, but only data. To get rid of that, do an erase and deregister in stock before you turn it in and that will clear it. You should do that anyway any time you exchange your device to get all of your personal info off of there.
Sent from my Nook HD+ running CM10 on SD

Categories

Resources