I'm asking this specifically for the Atrix.
I would like to have one central location for all apps and data, and have all the apps installed as "internal". The advantage of this method is so that apps can function independently of whether /sdcard (or /mnt/emmc if you do it that way) is mounted or not on the device. I did something similar on my HTC Evo, using DarkTremor's A2SD. But the Atrix, with its 10GB partition, means that I won't need to symlink anything to my actual SD card.
The 10GB partition (mmcblk0p18) is ample space for all user apps and data. But the existing 2GB /data partition (mmcblk0p16) definitely requires that some larger apps use the asec feature of the SD card. I understand that some apps need the SD card for extended downloaded content, like most Gameloft games, and any standalone GPS navigation app with its own maps. In those cases, I am a little more flexible, and understand that I can't use those particular apps when the card isn't mounted.
So here a couple questions, regarding the "swap":
Is there any way I can rename the partitions-- change the 10GB partition to mmcblk0p16, and the 2GB partition to mmcblk0p18 (and reformat them to EXT3 and FAT respectively)? Rebuilding the partition table is not an option. There's just way too much at stake there.
Would all of the bootable components (kernel, ROM, bootloader, and recovery) need to take into consideration the new structure? Or would the renaming of the partitions make this all seamless?
Any other suggestions?
Thanks for reading!
My cresta has a system partition (/system), a data (/data) partition and a sdcard (/mnt/sdcard)
And a mounted (/mnt/external_sd) external SD kart (8Gb)
The data (/data) partition is only 1 Gb and the rest of the internal memory is used bij the mounted sdcard partition. The data partition is allmost full and I can't move anymore apps to the sdcard (not all of the apps are movabe)
I can mount a external sd-card but I can't use it for moving applications. I only can move to the internal sdcard.
I want the internal sdcard (/sdcard) removed and the 2Gb added to my data partition.
And the mount of the (internat) sdcard witch is removed must be set to the mount /external_sd
I'm a newbie, so can anyone help me to change this?
There is nog data or apps on this tablet (Cresta CTP818) and I have a backup of the Original rom (tested to restore)
So I can try whatever I want.
Hi guys!
I have really particular question, which I have not found any answer to. I have my microSD card partitioned and I did backup of the system with CWM, but I have marked sd-ext option too. Now I have few questions:
1) So when I will format my microSD card and don't create new partition, then recover my earlier done backup of my system and sd-ext through CWM , will second partition (ext4) will also be recreated? or I should re-partition my microSD and then recover my sd-ext files through CMW?
2) When re-partition is needed, can I choose create ext2 and recover my sd-ext data which was on ext4? is it possible?
3) When I know that my backed up files on second partition was for example 4GB, and I still had 6GB free space (both give 10GB in total), can I shrink my newly created second partition to 8GB in total, and leaving 4 GB free space instead of 6GB before. Will it affect recovered through CWM files?
4) And lastly I would like to know when I copy microSD files to computer, files are only those from first FAT32 partition? When I wipe my microSD and copy these files back to microSD, I assume all my ext4 (second partition) files are lost? and then, all linked apps through link2sd will be broken (deleted?)? There is only one option to backup them and is it through CWM recovery with "sd-ext" option? or is there anything else?
hello,
currently I am reinstalling my now around one year old honor 5x.
Since I bought it, it was on b130 and could not update because of a custom TWRP recovery and root access.
So now I sat down, installed a stock b140, updated to b330 (android 6) and then installed CyanogenMod (Nightly). Many problems occurred on the way but until now I found all my questions answered in old threads.
Now the system runs smoothly and I can start configuring it. This includes Link2sd in order to be able to force move large apps to my sd card and linking them to the system. But this time I have quite a lot problems with this.
I started by doing the exact same thing like last time:
shut down the phone, take SD Card out of the phone and plug into computer
create around 80% primary partition fat32 and 19% primary partition ext4 (also tested ext2) (the 1% is unused space)
Then plug the sd card back in and start the phone
ES Datei Explorer now shows three "spaces": the internal space, the large fat32 sd partition and the small ext4 sd partition (all three can be written and read on)
Now start Link2SD. It recognices the second partition and askes what filesystem there is. I choose "ext4" and press OK
Here is my main problem: The app gives me an error:
Code:
[B]Error in mount script[/B]
Could not create mount script.
mount: '/dev/block/vold/public:179_66'->'/data/sdext2': Invalid argument
So the mount script could not be created and in the threads on xda there are some possible "solutions":
trying different filesystems: ext2, ext3, ext4 -> I tried all of them
clearing dalvik-cache -> I also tried that
formatting the sd card inside the phone with a app called "AParted" -> no help at all
Make Link2sd to a system app -> I did this by moving the folder from Link2sd from /app/data/ to /app/system/ (I hope this is enouph to be a system app, but Link2sd is starting normal after a reboot and is also not listed anymore under "user apps", instead now I can find it unter "system apps" ... so I think this worked fine)
...
The interesting part now is, that I can go in my system settings of android -> Spaceusage (don't know how it is exactly called in english) -> and then unmount only the ext4 partition of the sd card (the fat32 is still mounted).
After I do that, Link2SD can create the mount script !!!
The dialog after creating the mount script says, that I have to reboot the system in order to finish the process. But when I do so, after the reboot the "normal" mount of the system is there again and Link2sd is asking for the filesystem again. So no "special" mount for linking possible.
So now my question:
How can I fix this issue? Can I
force android to stop mounting the ext4 on booting and let Link2sd's script do the mounting?
do I have to set special permissions to the created mounting script?
Is there a other way to make Link2sd work properly? Do I missed something? (last time it worked this way, but maybe something changed due the time?)
is Link2sd maybe incompatible with android 6.0?
Thanks for any help and any suggestion.
greetings
Chriss
OH MY GOD .. That long to read ,
Install Cm Nightly Last Version with Recovery .
Format Ur SD Card throw ur laptop \PC
When u boot to New CM go Settings > Storage > Format SD Card after that u will be asked to use it as internal or external , use it as internal so it will be added to ur internal 10GB without using app2sd any more =) ..
*Recommendation : use Class 10 SD card only otherwise ur phone will become slow ! .
GD luck ! =)
thanks very much. At first, this did not work. But after reinstalling CM I could use your method.
But two questions:
The App ES File Explorer just shows one internal storage. Correct so far, bu I have 10GB intern and 60GB extern SD, so there should be 70GB internal storage shown. But ES FIle Explorer just shows 60GB internal storage. Is this a bug? Do I have to worrie?
Under the system settings -> storage I can see the internal 10GB and the external 60GB seperately. Does the system take care of the "migrate files" it self in order to lower the usage of the real internal storage? Or do I have to go the the settings time to time in order to click the "migrate files" manually?
greetings and thanks for any help so far
Chriss
i wouldnt recomend doing a partition, as cm always did it for me, it recognizes only the ext4 partition and says cant mount as link2sd, so if you want link to sd, then try not patitioning the card, worked fine on mine once..
christopher2007 said:
thanks very much. At first, this did not work. But after reinstalling CM I could use your method.
But two questions:
The App ES File Explorer just shows one internal storage. Correct so far, bu I have 10GB intern and 60GB extern SD, so there should be 70GB internal storage shown. But ES FIle Explorer just shows 60GB internal storage. Is this a bug? Do I have to worrie?
Under the system settings -> storage I can see the internal 10GB and the external 60GB seperately. Does the system take care of the "migrate files" it self in order to lower the usage of the real internal storage? Or do I have to go the the settings time to time in order to click the "migrate files" manually?
greetings and thanks for any help so far
Chriss
Click to expand...
Click to collapse
use the phone as it is and dont look @ how many gb throw EFS manager , u have 70 GB and u have huge amount of saving , just keep ur sd card backup 60gb is large but hope u dont save much on it without backup , much data saved = much tears if lost !. GD luck .
Romiui said:
use the phone as it is and dont look @ how many gb throw EFS manager , u have 70 GB and u have huge amount of saving , just keep ur sd card backup 60gb is large but hope u dont save much on it without backup , much data saved = much tears if lost !. GD luck .
Click to expand...
Click to collapse
ok, thanks a lot. The system is working fine now, but I now wanted to create a backup from the fully furnished phone and TWRP is not able to do so. On the internal memory TWRP says "not enouph space" and on the external (/external_sd/) it saysy out of memory. So how can I now create a backup?
Before the new external sd extension for the internal memory i was able to create backups, but with the new setting it seems impossible.
greetings
Chriss
christopher2007 said:
ok, thanks a lot. The system is working fine now, but I now wanted to create a backup from the fully furnished phone and TWRP is not able to do so. On the internal memory TWRP says "not enouph space" and on the external (/external_sd/) it saysy out of memory. So how can I now create a backup?
Before the new external sd extension for the internal memory i was able to create backups, but with the new setting it seems impossible.
greetings
Chriss
Click to expand...
Click to collapse
u can make ur SD card 2 partitions , backup ur sd then Format it then throw TWRP just partition the Sd Card 2 partitions . Will work .. GD Luck !
christopher2007 said:
ok, thanks a lot. The system is working fine now, but I now wanted to create a backup from the fully furnished phone and TWRP is not able to do so. On the internal memory TWRP says "not enouph space" and on the external (/external_sd/) it saysy out of memory. So how can I now create a backup?
Before the new external sd extension for the internal memory i was able to create backups, but with the new setting it seems impossible.
greetings
Chriss
Click to expand...
Click to collapse
move stuff off your phone to free up space
Romiui said:
u can make ur SD card 2 partitions , backup ur sd then Format it then throw TWRP just partition the Sd Card 2 partitions . Will work .. GD Luck !
Click to expand...
Click to collapse
ok, in theory there must be two partitions on the sd card:
most of the memory as extention for the internal android storage
a little free space as fat32 for backups and as "external sd card"
But I am not able to achieve this. I tried this:
first idea: formatting on computer, then put it in phone and select "extend for internal storage" for the first partition. but then the phone formats the whole sd card and the second fat32 partition disappears
second idea: backup the extended partition, then formatting and creating the two partitions and restore the backup to the first partition. but the "android extended partition" can not be read by my programs. So how can I achieve this? Or is there an other way?
greetings
Chriss
Your life will be easier if you use MiniTool Partition Wizard. Fully wipe your card, then repartition with EXT4 through that.
gopinaidu77 said:
Your life will be easier if you use MiniTool Partition Wizard. Fully wipe your card, then repartition with EXT4 through that.
Click to expand...
Click to collapse
I already used this program. It is a very useful tool, but it didn't work.
I did it like the following:
put sd out of phone into computer
start MiniTool and wipe
delete all partitions
create two new partitions: first a primary fat32 at the beginning of the sd card (10GB) and on the rest at the end create a second primary ext4 partition (50GB)
wait until finish, unplug from pc and back into phone
reboot phone
in the android menu under "storage" klick on the 50GB ext4 partition
over the menu klick on "use as internal storage extention", but then he warns that the fully sd card will be formatted. when I klick no, he returns to the previews menu. If I klick yes, he creates a 60GB unreadable "android_extended" partition and adds this to the internal storage. So my little fat32 partition will get lost
What am I doing wrong?
greetings
Chriss
christopher2007 said:
I already used this program. It is a very useful tool, but it didn't work.
I did it like the following:
put sd out of phone into computer
start MiniTool and wipe
delete all partitions
create two new partitions: first a primary fat32 at the beginning of the sd card (10GB) and on the rest at the end create a second primary ext4 partition (50GB)
wait until finish, unplug from pc and back into phone
reboot phone
in the android menu under "storage" klick on the 50GB ext4 partition
over the menu klick on "use as internal storage extention", but then he warns that the fully sd card will be formatted. when I klick no, he returns to the previews menu. If I klick yes, he creates a 60GB unreadable "android_extended" partition and adds this to the internal storage. So my little fat32 partition will get lost
What am I doing wrong?
greetings
Chriss
Click to expand...
Click to collapse
Don't click yes , just click No and reboot .
Sent from my KIW-L22 using Tapatalk
christopher2007 said:
ok, in theory there must be two partitions on the sd card:
most of the memory as extention for the internal android storage
a little free space as fat32 for backups and as "external sd card"
But I am not able to achieve this. I tried this:
first idea: formatting on computer, then put it in phone and select "extend for internal storage" for the first partition. but then the phone formats the whole sd card and the second fat32 partition disappears
second idea: backup the extended partition, then formatting and creating the two partitions and restore the backup to the first partition. but the "android extended partition" can not be read by my programs. So how can I achieve this? Or is there an other way?
greetings
Chriss
Click to expand...
Click to collapse
If u format throw TWRP 2 partitions into TWRP u can find only backup partition and into ur system u can find the second as SD and the other into internal under name ext-Sd2
Not sure about the last name but sure ull find it
GD Luck !
My apologies for necroing this. I picked the two first entries in google. Just in case somebody else finds the same problem
The OP was doing FINE with his/her partitions. Link2sd and titanium backup can have issues placing the mount scripts in the correct place
I solved the problem. Try this post:
https://forum.xda-developers.com/showpost.php?p=78074532&postcount=5671
So I have an HTC M8 which accepts an external SD card. I have it mounted as external/portable storage not internal/adoptable storage. (Technically I also have a portion of this card mounted as f2fs to be used with apps2sd).
There are many apps which backup restore preferences from /sdcard (the internal memory) such as Titanium Backup.
This only works if I don't wipe my internal storage when flashing a new ROM.
Since these apps don't have a configuration to allow them to point to another location, I need to find a way to map my /external_sd/TitaniumBackup to /sdcard/TitaniumBackup.
I would like this to be as low-level as possible to the directory is available as early in the build/boot process.
I am also using Magisk if this helps.
Is anyone else doing something similar? What's the best way?
thanks