How to save roms, etc on external sd card? - Galaxy Tab S2 Android Development

Hi all,
I would like to do a clean install, which requires wiping most partitions. Where/how do you store the ROMs you would like to install? The external SD card is not accessible in an obvious manner, I believe, because it is mounted as an extension to the base file system. So where do the ROM's go and how to avoid having their partition wiped?
Thanks for the help!

I should mention the os is Lineage 15,. Android v9.

i think there is no option. I had to unmount the card (lost all the date and apps there), and remount as an external card.

Related

Changing sd card after cyanogen

Thinking about rooting and installing cyanogen's latest rom but before I do I want to know what happens if I purchase a larger micro sd card in the future?
Is it as simple as copying everything from my sd card onto my pc and then transferring it onto my new card or will I have to reflash things and stuff?
Thanks in advance
yes, just backup to pc then new sd
if you're installing 5.0.5 cyanogenmod you may want to backup the sdcard first if you want app2sd
then in amonra partition the sd card with
swap partiton=0
EXT=512mb (or whatever size you want for apps)
fat32=remainder
then do the upgrade ext>ext2 ext2>ext3 ext3>ext4
then just put your backup from pc into the sdcard
only thing is amonra doesnt support the nandroid+ext for app2sd currently, but i believe is in the works. so would need to backup the ext and fat32 before swapping to new sdcard, depending how soon you're upgrading to new sdcard that is.
Cheers for that. Sounds simple enough.

Why do we need to partition the SD card for nexus one?

Hi,
I was not able to find the reason behind partitioning the sdcard for nexus one.
I have just installed the CM 5.0.6 but I do not know whether I should parition the sd card or not.
Thanks.
You should just partition the SD card if you want apps2sd, or debian.
Why? Because it's formated as a single FAT32 volume by default, basically to store all your stuff (media, pics, data, etc...), but if you want Android to use it (linux, basically) you have to partition it and format your new partition as extX.
Hope it helped.
you don't have to partition. but, it allows you to do things like install apps to your sd card since the n1 doesn't have much available space to begin with.

How can i increase the rom size?

Is there any way to repartition the size of rom?
i want to combine all internal sd card space to the rom and make the external sd card as for the only one of sd card.
Can i edit the pit file to do that? and how?
thanks for your help
tommyhui said:
Is there any way to repartition the size of rom?
i want to combine all internal sd card space to the rom and make the external sd card as for the only one of sd card.
Can i edit the pit file to do that? and how?
thanks for your help
Click to expand...
Click to collapse
You want to combine the internal storage and the usb storage into one storage space and the internal and external sd storage become just sd storage?
tknguyencsu said:
You want to combine the internal storage and the usb storage into one storage space and the internal and external sd storage become just sd storage?
Click to expand...
Click to collapse
Yes
I would like to do this too, I know it is possible because my Motorola Xoom does this. I was surprised that the ICS update didn't reformat the internal storage to work this way.
The internal "/data" partition stores both application and "user" data and it is done by having a subfolder of the data partition mounted as the "internal sdcard" (/mnt/sdcard) by a special filesystem that strips all user permissions from the files.
That way as far as the OS is concerned all the data is on one unified partition so I could install 20G worth of apps if I liked, yet all the applications that download data or expect music to be on the sdcard have everything in the right place.
The extra sd card shows up as /mnt/external1
Mokubai said:
I would like to do this too, I know it is possible because my Motorola Xoom does this. I was surprised that the ICS update didn't reformat the internal storage to work this way.
The internal "/data" partition stores both application and "user" data and it is done by having a subfolder of the data partition mounted as the "internal sdcard" (/mnt/sdcard) by a special filesystem that strips all user permissions from the files.
That way as far as the OS is concerned all the data is on one unified partition so I could install 20G worth of apps if I liked, yet all the applications that download data or expect music to be on the sdcard have everything in the right place.
The extra sd card shows up as /mnt/external1
Click to expand...
Click to collapse
I have tried to do this by editing the "vold.fstab" file in the etc folder. However I have not been successful. I can only switch between the internal and external sdcard.
Each time I failed I have to recopy the original vold.fstab file before the Note working again if I am lucky. Most of the time I have to reflash the rom again. You can get some information from the following thread:
http://forum.xda-developers.com/showthread.php?t=1454753

[Q] Help!

I am not sure where to post or anything, new here. Rooted, unlocked bootloader, CWM flashed to AOSB latest for atrix hd. everything is great EXCEPT my internal storage is now half the size it was before. 8Gb does not equal 4.93Gb Not sleeping at all so I will be here all night
WHAT DO?
My assumption is you didn't format the internal sd when you went from stock to anything 4.2 and over. 4.2+ roms have support for multiple users and store the sd data in a slightly different location than 4.1 and earlier. Before stuff was stored at /data/media, with 4.2+ roms it's /data/media/0 for the first/default user. I had the same issue with my first 4.2 rom.
First, if necessary, backup any non app data from the internal sd (skip any app cache, just get important files like downloads, music, etc)*
Using Philz CWM, set the internal sd location to /data/media (it'll prompt for a reboot, do it)
Format the internal sd
set the internal sd location to /data/media/0 (do the reboot again)
Format the internal sd
Restore anything backed up
That's it.
I recommend using the internal sd as little as possible and sticking with the external sd as much as possible. It shares the same partition with apps and app data, so anything on the internal sd is less space for apps.
Unrelated, but technically we could us a 32GB sdcard for /data and the internal sd while using the actual /data partition as the external sd. It would just require a bit of fstab trickery and some init script editing....and be a bit slower when launching apps, but we'd have a heck of a lot more space....not sure if it could be done in a universal way or on a per rom basis.

[Q] Make the SD the "default" memory

Hi, I have a Moto G 2014 with Stock 5.0.2 rooted, and I bought a 32GB SD Card a few days ago. The thing is that everything is still going to the internal memory, instead of the SD (photos, downloads, etc.), so I want to know if it's a way to make everything write on the SD card without messing up the phone (I heard I can mount SD in /sdcard changing init.rc but I don't want to do that). I also want to move my WhatsApp chats to the SD too, hehehehe (WhatsApp data is in the internal :'c)
Thanks in advance.
Hi,
For the photos and videos part, you can select from the camera application if you want to store them in the internal memory or on the SD card. For applications I think they are installed in the internal memory by default but you can move them after installation on the SD card by going to settings -> apps -> touch app -> move to SD card. To change the default installation location you need the android SDK installed on your PC and adb and then to edit a file. But I do not recommend this since the SD card is not accessible while the phone is connected to the PC. This will make applications that always run to work improperly(widgets, Facebook, etc. might generate a lot of errors because of it).
I think it's a Xposed module for that.
KuranKaname said:
I think it's a Xposed module for that.
Click to expand...
Click to collapse
if you're rooted then try link2sd from play store. you need to have an ext partition on your sd card for this to work.
if you are not rooted then you will have to manually create symlinks to the files on the sd card.
ethanchow said:
if you're rooted then try link2sd from play store. you need to have an ext partition on your sd card for this to work.
if you are not rooted then you will have to manually create symlinks to the files on the sd card.
Click to expand...
Click to collapse
Better try Link2SD. The procedure to turn your external SD to internal storage causes a lot of trouble in most cases.
There are also scripts that link the possible apps and libraries automatically to the SD card when installing them.

Categories

Resources