I've just installed lineageOS to my Huawei Y6 (https://forum.xda-developers.com/huawei-y6/development/rom-huawei-y6-t3668939/page50) and have a problem. I've got 32GB SD card with four partitions:
EXT4: HUAWEI-SD (pictures, music, etc.)
EXT4: HUAWEI-APP (for applications moved using Apps2SD Pro)
EXT4: HUAWEI-LINUX (Ubuntu installed via Linux deploy)
SWAP: HUAWEI-SWAP (2GB swap)
So problem is that all ext4 partitions is automounted. Well, HUAWEI-APP is mounted by Apps2SD, before system tries to touch it, so it is just shown as `corrupted`. But HUAWEI-LINUX is always mounted during boot and Android folder is created, so before starting linux deploy I always have to eject (unmount) it via settings.
Is there a way to disable mounting this partition by OS?
vyo1993 said:
I've just installed lineageOS to my Huawei Y6 (https://forum.xda-developers.com/huawei-y6/development/rom-huawei-y6-t3668939/page50) and have a problem. I've got 32GB SD card with four partitions:
EXT4: HUAWEI-SD (pictures, music, etc.)
EXT4: HUAWEI-APP (for applications moved using Apps2SD Pro)
EXT4: HUAWEI-LINUX (Ubuntu installed via Linux deploy)
SWAP: HUAWEI-SWAP (2GB swap)
So problem is that all ext4 partitions is automounted. Well, HUAWEI-APP is mounted by Apps2SD, before system tries to touch it, so it is just shown as `corrupted`. But HUAWEI-LINUX is always mounted during boot and Android folder is created, so before starting linux deploy I always have to eject (unmount) it via settings.
Is there a way to disable mounting this partition by OS?
Click to expand...
Click to collapse
Have you found any solution to this? I have app2sd and need the second partition for apps and data. But the partition is automatically mounted by system on boot. Hence apps2sd can't use it. So i have to manually eject that partition everytime just so apps2sd can use it. I'm using lineageos 16. This was not a problem on lineage os 15.1
greatbal said:
Have you found any solution to this? I have app2sd and need the second partition for apps and data. But the partition is automatically mounted by system on boot. Hence apps2sd can't use it. So i have to manually eject that partition everytime just so apps2sd can use it. I'm using lineageos 16. This was not a problem on lineage os 15.1
Click to expand...
Click to collapse
Sadly, no . After updating my system I can't use Apps2SD as well.
However, here's what you can do:
Back up all data from sdcard to PC. Otherwise, it will be lost!
Erase sdcard (recreate partition table with GParted or something like that)
Insert it into android, format as adoptable
Format it there using `adb shell` (terminal application should work as well) with
Code:
> sm list-disks adoptable # Will print ID of your sdcard as disk:XXX,XX
> adb shell sm partition disk:XXX,XX mixed XX # Use sdcard ID from previous step and percent of storage you want to be for free-use (unencrypted)
Shutdown your phone
Optional: change first partition type to something else (I use f2fs because it's good for sdcards and I have no trouble reading it on my linux PC). Do not touch two other partitions!
Restore data onto sdcard (you did followed step 1, right?)
Go to storage settings and check result. You will probably see "not connected" internal storage (but another one still should be connected), which can be safely "forgotten"
Optional: Install something like AppMgr III which will allow to move apps to sdcard and back
Optional (potentially dangerous!): enable "force allow apps on external" in developer settings. This will make it possible to move any app onto sdcard, but some may became buggy because of that (if you meet such bugs, just move them back)
Hope this helps!
P.S.: it's also possible to mount encrypted storage on linux. If you want to know how, I can post instructions on that as well (I had troubles searching for them and now have simple bash script to mount them).
I get adoptable storage to write apps to the SD card with LOS 16 on a moto X4 XT1900-1, but all the apps that are stored in the sdcard lose their settings on reboot. e.g. VLC looses it's settings, the email app looses the account settings etc.
To make it clear:
1. all apps on adoptable storage work normally until a reboot is done
2. when the phone is rebooted, all apps run normally, but they loose all the settings and permissions,
they act as when they were first installed.
Anyone know a fix for this?
motophone said:
I get adoptable storage to write apps to the SD card with LOS 16 on a moto X4 XT1900-1, but all the apps that are stored in the sdcard lose their settings on reboot. e.g. VLC looses it's settings, the email app looses the account settings etc.
To make it clear:
1. all apps on adoptable storage work normally until a reboot is done
2. when the phone is rebooted, all apps run normally, but they loose all the settings and permissions,
they act as when they were first installed.
Anyone know a fix for this?
Click to expand...
Click to collapse
Just another reason to use SD as removable storage.
Related
Hi! all. need to know how to partition SD Card for Desire. Any tutorials i can follow?
wolvie77 said:
Hi! all. need to know how to partition SD Card for Desire. Any tutorials i can follow?
Click to expand...
Click to collapse
You can use ROM Manager from the Android Market and there's an option to Partition SD Card under utilities, just install the recovery first and it will work fine.
Also you can use AM Recovery fake-flash to avoid installing ClockworkMod Recovery, but it's easier using ROM Manager
But if you are running Linux on any computer, then you can use GParted to Partition the SD Card, ask if you want steps to use GParted
shoey-n said:
You can use ROM Manager from the Android Market and there's an option to Partition SD Card under utilities, just install the recovery first and it will work fine.
Also you can use AM Recovery fake-flash to avoid installing ClockworkMod Recovery, but it's easier using ROM Manager
But if you are running Linux on any computer, then you can use GParted to Partition the SD Card, ask if you want steps to use GParted
Click to expand...
Click to collapse
Any chance we could have the GParted steps, I tried using it for creating the partitions (FAT32 then Ext2) and no matter what I did I got a Damaged SD error upon remounting it in the Desire.
I'm starting to think my card is bad!
Not in front of Linux right now, so this is off the top of my head. I'll post in the morning clear steps (better if used in card reader not using USB toggle on device)
Backup what ever is on your card first!
In the top right corner of GParted select your device and let it search for partitions on card
Unmount all partitions by right clicking on each partition and clicking unmount
Then delete those partitions by right clicking and selecting delete
(I normally apply those changes before proceeding by clicking the green tick, to make sure the partitions have cleared)
With the unpartitioned space, firstly create your FAT32 partition by right clicking and selecting FORMAT TO then FAT32 (MAKE SURE REMAINING SPACE IS IN FOLLOWING NOT PRECEEDING) then with the remaining space create your EXT2 partition exactly the same but obviously format to EXT2 and you could even add a small 32MB linux-swap partition but it's not necessary
Then apply the changes, if everything goes successfully and you are still getting remount errors, then try reflashing your ROM or a different ROM
(I'm assuming your rooted)
If you still have no luck, then your card is bad
I just found out that Clockwork can only handle ext3 partitions - at least my version (2.0.1.4). If I create partitions using ROM Manager, it creates a ext2-partition. Only after I changed it to ext3 using linux I could mount the partition in Clockwork and perform wipes and backups.
Don't know if or what I did wrong, but it certainly didn't work for me (tried with multiple versions of clockwork and several times).
shoey-n said:
You can use ROM Manager from the Android Market and there's an option to Partition SD Card under utilities, just install the recovery first and it will work fine.
d
Click to expand...
Click to collapse
Even after doing that, everything in the rom manager is dimmed. I mean only the flash clockworkmod recovery and the reboot into recovery are highlighted. Is there somethin'g I missed?
jondalar said:
Even after doing that, everything in the rom manager is dimmed. I mean only the flash clockworkmod recovery and the reboot into recovery are highlighted. Is there somethin'g I missed?
Click to expand...
Click to collapse
is your phone rooted or not?
wolvie77 said:
Hi! all. need to know how to partition SD Card for Desire. Any tutorials i can follow?
Click to expand...
Click to collapse
Introductory Remarks:
- Ext Partition is only needed if your rom uses App2SD+ (Froyo app2sd works with basic Fat32 partition)
- Ext partitions are only visible in Linux = Windows can't see it.
- You can check if you have a working ext partition with Quick system info (in app market)
- On first reboot after partition, android will move some apps to the SD, this will take a lot of time. Some people have reported a bootloop on green HTC Screen, one reported a need to Battery pull 4 times before it finally worked), so be patient!!!!
Now the tutorials:
Easiest way is to install Rom Manager:
1) install rom manager
2) choose partition sd card
- 512mb ext
- 0 swap
3) let RM do the rest... ;-)
Another one is using Gparted:
(copied this from http://wiki.cyanogenmod.com/index.php?title=Apps2SD)
For a great Linux GUI alternative, use Linux 'GParted' a GUI based partition editor. (Designed for and found standard in the GNOME desktop environment, but can also easily be install in other desktop managers such as KDE and others.) Backup your SD card before you start ! The following steps will wipe the contents !
You can use a livecd of GParted, or use it from within Ubuntu (vid: http://www.youtube.com/watch?v=sVK-tJe8pXE&feature=related)
1) Connect your phone to your computer (or use an SD Card adapter...., in this case skip to 4))
2) Pull down the notification bar and mount the phone
3) Start Gparted
4) Gparted will search available drives. (Your phone should show up as a USB drive, and will be something like /dev/sdb1 or /dev/sdc1, etc..)
Warning: double-check you've not selected a hdd by mistake!
5) In the upper right corner, select the correct USB device for your phone. (i.e. check to make sure it is correct size for your SD card)
6) Right click on each partition and select 'unmount'
7) Right click on each partition and select 'delete'
If you know what you are doing, you can re-size the partitions and add a new 2nd partition formatted as ext2/3/4
8) Right click on the big gray bar (should say unallocated x.xx gb) and click 'new'
9) Enter configurations
Free Space preceding = 0
Create as = Primary
New size = [don't touch]
File system = fat32
Free Space Following = 512 (or whatever you want)
10) Click add
11) Right click on the big gray bar (should say unallocated x.xx gb) and click 'new'
12) Enter configurations
Free Space preceding = 0
Create as = Primary
New size = [don't touch]
File system = ext2/3/4 (recommend ext4)
Free Space Following = 0 (or ~32 if you want swap)
Click add
13) Click edit, then 'Apply All Operations' to write changes to disk
14) Quit GParted
15) Unmount your SD Card
16) Reboot your phone
This is what I've found so far, as the easiest method.
Another tutorial can be found under: http://androidcommunity.com/forums/f9/how-to-create-ext2-partition-14232/
or
http://forum.xda-developers.com/showthread.php?t=534714 this is one way to do it.
What I don't know for sure:
- If the size of the ext partition matters?
- What ROMs require ext partitions?
- If Class 6 SD cards really are that important (some webpages say that class 2 cards are not able to handle ext2 partitions and end up bricked.
- How to manage the contents in the ext partition when changing SD Cards...
- How to check if you bricked your sd card...
- etc...
Good Luck
chrysochire said:
What I don't know for sure:
- If the size of the ext partition matters?
- What ROMs require ext partitions?
- If Class 6 SD cards really are that important (some webpages say that class 2 cards are not able to handle ext2 partitions and end up bricked.
- How to manage the contents in the ext partition when changing SD Cards...
- How to check if you bricked your sd card...
- etc...
Good Luck
Click to expand...
Click to collapse
By the way, if anyone reads this, I would love to make this topic a sticky, so as to answer all questions related to SD Cards...
chrysochire said:
CUT.....
Good Luck
Click to expand...
Click to collapse
Very nice guide. Thanks soo much for this explain.
Very cleary!
hi i am using GParted to partition ext3 for use with apps2d but i have tried several times without success
after booting up the phone, i see a blank sd card.. i.e. not mounted in my Desire..
wondering what i m doing wrong,, or is there another method to do it?
From the Clockwork Mod recovery, I cant partition the sd card too.. and have also tried without any success via the ROM Manager...
Warning! Noob question ahead:
Why wouldn't you just take the new SD card, insert it into the phone without partitioning it, and let the Desire handle the whole thing?
I'm completely new to all this (rooting, custom ROMs, A2SD etc.) but have managed to successfully root my HTC Desire (using unrevoked), install OpenDesire 2.3, and partition the SD card using ROM Manager. I rebooted and my installed apps are showing as being on the SD card in Settings > Applications > Manage Applications but with different names (e.g. instead of 'Titanium Backup' it's now 'com.keramidas.TitaniumBackup') and the icon is a default black Android/SD card rather than the app icon. When I go into the launcher my installed apps aren't there and they're not listed when I try to add a shortcut to the homescreen.
Have I done something wrong? Or is there an additional step I don't know about?
Ah, it looks like I did something in the wrong order - I'd already downloaded and installed Titanium, then moved it to the SD card under Froyo A2SD, then partitioned the SD card...
I reinstalled Titanium and everything's fine.
I am still interested in that:
mysteryfr said:
Why wouldn't you just take the new SD card, insert it into the phone without partitioning it, and let the Desire handle the whole thing?
Click to expand...
Click to collapse
Hi Guys,
I need some serious help. I have rooted the desire, flashed to leedroid 1.4c rom, but have been left with no SD Card and now I am trying to mount the sd card in the desire as it no longer recognises it...
i can have rom manager loaded but it can't see the sd card..
i dont have A2SD or partitions on the sd card, i can put the card in the laptop and write to it..problem is i am on a windows lappy so no linux..i know i can make a live cd but i'm not up to that..i dont think..
is there a guide i can have to get the sd card mounted on the desire running windows...i have got android sdk on the pc but i have nfi how to use that either...
all help appreciated...
XClemX Try this: (hopefully you've backed up your SD card to your PC!)
go to Settings, Sd & Phone storage,
click on format SC card.
That should get your card recognised.
Thanks Depaor,
The SD card isn't seen in that either...i'm attempting to make a gold card now to see if i can get it to work that way...fingers crossed...
is your card visible from card reader on pc, or from other phone?
If it is, just format it in FAT32 on your pc, and it will be fine... also, always check if phone is in "charge only" mode before disconnecting usb...
Will a non-rooted Android phone read a card formatted as ext3 or ext4? Just curious.
hi everyone
Been looking how to transfer all my apps to my new sd card using leedroid worked by tmod. Telstra htc desire.
i have tried to transfer everything to my sd card however i formatted it using rom manager, ext however windows wasnt recognising it formatted it using windows 7 then now the sd card wont mount.
would like some advice or software how to do this please help
cheers Arnie
If you want full apps on your sdcard (using ext) then you have to do this:
format to ext using the recovery, i used amon_ra, so im not sure how well and which version of clockwork recovery works well etc. I did 1GB=ext3 rest=fat32. Windows7 does not recognise the ext3 partition and always comes up with an error when mounting the card with "ignore error, fix error"..ignore error works perfectly well.
You need a ROM that has the scripts that allow this to happen. As such, afaik, it is a very minor detail/fix, but your ROM needs to support it. AFAIK, SupervillainHD and Defrost support this, I have not tested any others. Any ROM that says a2sd+ should support this method of a2sd, if in doubt try it out. There is no menu option, no extra thing to do. It will automatically detect if you have an ext2/3 partition on sdcard and do the moving on the first boot. Be aware that Cyanogen does not support the ext3 method of a2sd and only the crappy froyo a2sd. I believe there is a fix, but it sounded kinda hackish to me, and a lot of people in #cm seemed to have a bad opinion of ext3 a2sd (as opposed to the froyo's inbuilt a2sd).
The easiest way to test it out is to adb shell (or access root shell from the phone), and type ls -l /data/app*. If a2sd is on and working you should see something like this:
Code:
lrwxrwxrwx root root 2010-12-02 14:48 app -> /system/sd/app
lrwxrwxrwx root root 2010-12-02 14:48 app-private ->/system/sd/app-private
if note you should see:
Code:
drwxrwxrwx root root 2010-12-02 14:48 app
drwxrwxrwx root root 2010-12-02 14:48 app-private
Note that depending on ROM/phone setup the part after "->" can be /system/sd-ext/app or /sd-ext/app the point is there should be a -> and something after it, and the first letter should be l (for link) and not d (for directory).
N.B: As i said, and I am sure you are aware, Froyo comes with a built in semi-a2sd thing. this version does not need you do anything extra. Merely go to the Menu in any CM based ROM's and click on CyanogenMod menu (or some other extra menu you're rom may have put in) and select "always enable external storage of apps" or something similar (whatever option in there sounds like it). This is a hackish way of doing it. The proper way would be to go to menu->application->manage applications and select the app you want to move after installing it, and click on the "move to sdcard" button.
This is built into the android system, with more security features or smthg, but is a little lacking. Unless you use the hackish method (which is not always reliable afaik), the dude who wrote the app has to enable support for app2sd via this method in his app, not a lot of people do. But most big games and such do so. Also, this method only moves parts of the app to the sdcard. The biggest disadvantage is that the apps are stored in the fat partition, which means mounting the fat partition onto the computer (by clicking on "mount sdcard to computer via usb in the pull down bar") wil disable and render useless any apps that are on sdcard (until the sdcard is mounted back into android)...and widgets go haywire on reboot, since the fat partition takes a bit to come online (due to the checks the system does before mounting it). These issues do not occur at all with a seperate partition that is ext2/ext3.
-Tj
I am using Cyanogenmod 7 and App2SD (as explained here). I want to move EVERYTHING to the SD card (including data) and use ext4. How should I partition the card (using Gparted) to have it working properly?
I tried doing it with Clockworkmod but it is very limited (only 1 partition+swap?) and does not ask me if it should be ext4.
yah its better if u use gparted live cd..cwm create by default an ext3
but be aware that any cwm recovery below 5.x will format ur ext partition in ext3 as soon u do a wipe or a restore on it! to use an ext4 u should use cwm 5.x and up (or alternative amon_ra 2.0.1)
My question was: How should partitions look on the card. What types, sizes and for what purpose. For 4gb and 8gb card. I checked the default partitioning done by CWM and it was 1.8gb fat + 1.8gb ext3 + swap. Why the division? Why fat? Can I do it differently, like 10mb fat + 3.8gb ext4?
Dont make your EXT partition over 2GB
All the data moved from the phone to SD card though app2SD - would they be kept on ext or fat partition? Is the FAT partition the one visible on the computer if the phone is connected as a USB storage?
impactor said:
All the data moved from the phone to SD card though app2SD - would they be kept on ext or fat partition? Is the FAT partition the one visible on the computer if the phone is connected as a USB storage?
Click to expand...
Click to collapse
You need to be clear on your definitions before we can answer that.
Do you mean:
1)apps2sd = /manage applications/<application name>/Move to sd?
2)apps2sd = App on teh market that uses the mechanism in 1) to move in bulk?
3)apps2sd = a2sd/+ script that moves apps to ext partiton?
Yes, FAT is the main data storage partition
I have installed app2sd and then done
Cache2SD
adb shell
/sd-ext/userinit.d/10cache2sdext-binds enable
Data2SD
adb shell
/sd-ext/userinit.d/11data2sdext-binds enable
Now, after reset there is not a single installed application, not even gmail. Even those installed on system partition before (not moved to SD card) are gone and I can't even access Market to reinstall them.
Is this normal? What can I do now?
gmail is not installed with cm, and if u not find it on the market mean is not available in ur country
this is not related to app2sd things..ur orignal problem was the space..with the app2sd u should have solved it now..reinstall all ur apps (leave ur apps on the internal memory, they will automatically moved on the ext) and u shouln't get anymore low space messages
How can I reinstall them if I don't even have Market anymore?
impactor said:
How can I reinstall them if I don't even have Market anymore?
Click to expand...
Click to collapse
maybe u didn't read cm instructions ya?
after flash cm, u have to flash in recovery the gapps package here
this contains the market
I didn't reflash CM. I only installed App2SD
impactor said:
I didn't reflash CM. I only installed App2SD
Click to expand...
Click to collapse
before u said "after reset"..what means?
I mean "after reboot".
I just tried installing gapps for CM but evne though the installation looked successful, after reboot I still cannot see any new apps, including the market.
I also cannot install any nightly build over current RM 7.1 as I am getting an ERROR during installation attempt.
After few tries, I managed to install newest nightly build (7.1 RC won't install at all as it says the zip is BAD even though md5 is correct).
Anyway, I installed google apps afterwards, but I only got google talk in the app menu. Still no Market...
So what I have gathered is that this phone even with root/cmod/titanium backup doesn't allow me to move apps to my _real_ sdcard. So is it really phone related or is there a way to do it with custom rom/kernel or some other way?
leripe said:
So what I have gathered is that this phone even with root/cmod/titanium backup doesn't allow me to move apps to my _real_ sdcard. So is it really phone related or is there a way to do it with custom rom/kernel or some other way?
Click to expand...
Click to collapse
on stock android 4.2 u could actually use app2sd to move some apps to external storage
using Cyanogenmode 4.3 based Carbon MOD i found that i no longer can do that, tried app2sd and link2sd
i read somewhere that external storage is defined in system PATH variables, dont know how relevant that is but seems connected
but i honestly dont know yet much about the android platform to fix this issue myself, so i might be wrong
we need some pro tip help
Would be very interesting to habe feature. Especially for phones with only 8 GB internal flash. Hope this will come for my s4 Mini. Samsung has this implemented in their stock Rom.
Gesendet von meinem GT-I9195 mit Tapatalk
tesme33 said:
Would be very interesting to habe feature. Especially for phones with only 8 GB internal flash. Hope this will come for my s4 Mini. Samsung has this implemented in their stock Rom.
Gesendet von meinem GT-I9195 mit Tapatalk
Click to expand...
Click to collapse
Yes this would be awesome, but seems that cmod has gone moneymaking company and tries to make cmod to google standards which means they have been starting to remove/hiding features. Their goal now is to make installing cmod without cwm and to remove root or have it as optional feature. Or all this is what I gathered over the net, but I still hope some other custom rom could have this feature.
Edit:
All of the above may not be like that nowadays, and this is somewhat speculation since there hasn't(?) been an official statement from cm about app2sd support. Though emulated sdcard may require something different.
(edited 19.2.2014)
Moving apps to external card.
leripe said:
Yes this would be awesome, but seems that cmod has gone moneymaking company and tries to make cmod to google standards which means they have been starting to remove/hiding features. Their goal now is to make installing cmod without cmw and to remove root or have it as optional feature. Or all this is what I gathered over the net, but I still hope some other custom rom could have this feature. This feature may only need one to repartition the sdcard, but I can't get it to mount as mass storage nor with sdcard reader(it shows "empty" card) in windows(maybe i should try it in linux).
Click to expand...
Click to collapse
About two months ago I upgraded my Xoom to JB 4.2.2, and because space was limited, I hadn't noticed whether I could move operating programs to the external card or not. This was a custom rom. Well, I was using a 32 Gig card that was nearly full of data.
This last week, I invested in a 64 Gig sdhc card and upgraded my rom to Kit-Kat 4.4.2. Thus its also a custom rom, but now I find that though, for the most part, I can designate the external card to store and access data from, I can't run programs from it. Hmm!
Here I am with all this memory. Sure wish I had better management options.
Kingsman1 said:
About two months ago I upgraded my Xoom to JB 4.2.2, and because space was limited, I hadn't noticed whether I could move operating programs to the external card or not. This was a custom rom. Well, I was using a 32 Gig card that was nearly full of data.
This last week, I invested in a 64 Gig sdhc card and upgraded my rom to Kit-Kat 4.4.2. Thus its also a custom rom, but now I find that though, for the most part, I can designate the external card to store and access data from, I can't run programs from it. Hmm!
Here I am with all this memory. Sure wish I had better management options.
Click to expand...
Click to collapse
Well check my thread on my signature and the requests section in the 1st post for more info on about app2sd.
Resolve the issue
Hi all,,,
This is my first time in XDA. Someone fixed this bug for me. You need to be rooted to fix this issue. Install from market Terminal Emulator and type the following commands
su
/system/bin/restorecon -R -v /data/media/
dlightx said:
Hi all,,,
This is my first time in XDA. Someone fixed this bug for me. You need to be rooted to fix this issue. Install from market Terminal Emulator and type the following commands
su
/system/bin/restorecon -R -v /data/media/
Click to expand...
Click to collapse
Can I check with you what bug this fixes?
Ability to use app2sd?
I use FolderMount and works real well. No need to partitioning sd card.
I've gotten to getting Link2SD working on the GT-I9195 with nightly 20140402 KitKat.
Based loosely on [Tutorial/HOWTO] Convert Your External SD Card from FAT/exFAT to EXT4! (3 ways!)
1. Clear everything out of your external SD card. We're gonna be formatting it so you'll have to backup your data.
2. Boot up into recovery and have a working ADB environment setup on your computer
3. adb shell (Do NOT mount your /storage/sdcard1)
5. Check that you have fdisk and mke2fs installed (Type fdisk --help and mke2fs --help ensure they don't throw up errors)
6. fdisk /dev/block/mmcblk1
7. Type o and Enter to destroy the partition table
8. Type n to create a new partition. Make sure its Primary (p). Select first partition and choose how many cylinders you want to allocate to it.
9. Type n to create your second partition. Again, make sure its Primary (p). Leave cylinder allocation blank to use remainder of space by default.
10. Verify partition layout by typing p to show partition layout.
11. Exit fdisk and save changes by typing w
12. mke2fs -t ext4 /dev/block/mmcblk1p1
13. mke2fs -t ext4 /dev/block/mmcblk1p2
14. reboot
15. Once CM has booted up, check if your external storage partition 1 has been mounted. It should be mounted at /mnt/media_rw/sdcard1
16. Try creating a folder in /mnt/media_rw/sdcard1 and /storage/sdcard1 to test if your read/write permissions are correct.
17. Install DiskInfo from playstore to check if your second partition is visible
18. Once done, install Link2SD and select ext4 when prompted to ask what kind of filesystem your 2nd partition is.
19. Reboot after Link2SD installs scripts.
20. Voila!
Let me know if there are any issues. I modified several files while doing this so not sure if any of them affected.
Should #16 not work, try:
1. Going to /system/etc/permissions/platform.xml and adding media_rw group to the element that only has sdcard_r group in it.
2. Typing mount in Terminal Emulator (su) or adb shell and see whether your partitions are mounted. If you're not sure, post the output out here.
Final mount output (filtered with mmcblk1 or sdcard stuff):
Code:
/dev/block/mmcblk1p2 /data/sdext2 ext4 rw,seclabel,relatime,data=ordered 0 0
/dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,relatime,user_id=1023,group_i
d=1023,default_permissions,allow_other 0 0
/dev/block/vold/179:33 /mnt/media_rw/sdcard1 ext4 rw,dirsync,context=u:object_r:
sdcard_external:s0,nosuid,nodev,noexec,noatime,data=ordered 0 0
/dev/fuse /storage/sdcard1 fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1
023,default_permissions,allow_other 0 0
EDIT 2: *** IMPORTANT!! Do NOT select External in the App2SD option in Link2SD. Otherwise you will not be able to install any apps from the Play Store (Insufficient Storage error)
I use GL to SD on my Slimrom: https://play.google.com/store/apps/details?id=com.slf.ListglApp
It may not have fancy UI like FolderMount or Link2SD, and it slight complex to use. But it works on per app basis, without re-partition too.
Hi leripe !
I have got the same device and ROM like you and i would like to know if you have found a solution to move apps to the sdcard ?
Thank you in advance, regards.
Oijkn said:
Hi leripe !
I have got the same device and ROM like you and i would like to know if you have found a solution to move apps to the sdcard ?
Thank you in advance, regards.
Click to expand...
Click to collapse
If it non system apps, you can use GL to SD as I provide the link already above. It works.
TNCS said:
If it non system apps, you can use GL to SD as I provide the link already above. It works.
Click to expand...
Click to collapse
Hi, i tried your link but this tool don't show all my user app so i can't move them... Have you another tool that can do the job please?
Oijkn said:
Hi, i tried your link but this tool don't show all my user app so i can't move them... Have you another tool that can do the job please?
Click to expand...
Click to collapse
Nope, sorry. I tried this tool and it work so never bother to look for another one.
If GL to SD doesn't have the app you want to move, you can manually link the app and the relevant folder at GL to SD settings. After you linked them, at the main page of apps you can tell it to start to move.
This thread shows up on google for me when trying to figure out why minitool partition wizard doesn't detect my phone at all. The guide I'm following says USB-SDcard reader is required but is that really true?? Surely there is a way to mount the SDcard at a low enough level to partition it without addition hardware?? Even if I have to mount it using TWRP recovery or something I would think it's possible. Anyone know?
I have recently acquired a 64GD micro SD card for my M8.
I am looking to install certain apps to SD card using Link2SD:
I currently have partitioned c. 50Gb as FAT32 and c.10GB as Ext2 using guide: http://forum.xda-developers.com/showthread.php?t=2142844
Whenever I launch Link2SD and select the ext2 option it says a mount script has been created and to reboot the device. Upon reboot and loading Link2SD the 10GB parition is not mounted and Link2SD comes up with the same option again
I have also installed mount2SD to try and install startup script binaries to mount the Sd card, however upon reboot it says startup scripts are not installed
I am fairy new to android so would appreciate some advice on this
pheonixsingh said:
I have recently acquired a 64GD micro SD card for my M8.
I am looking to install certain apps to SD card using Link2SD:
I currently have partitioned c. 50Gb as FAT32 and c.10GB as Ext2 using guide: http://forum.xda-developers.com/showthread.php?t=2142844
Whenever I launch Link2SD and select the ext2 option it says a mount script has been created and to reboot the device. Upon reboot and loading Link2SD the 10GB parition is not mounted and Link2SD comes up with the same option again
I have also installed mount2SD to try and install startup script binaries to mount the Sd card, however upon reboot it says startup scripts are not installed
I am fairy new to android so would appreciate some advice on this
Click to expand...
Click to collapse
Move to sd is built in go to settings then app open the app you want then move to sd
Thats ok for apps which let you move to SD card
but I believe Link2SD is for apps which dont let you and/or apps which may install apk to sd card still use internal memory when storing data
Essentially Linked2SD is working however, upon a cold reboot the scripts to mount external ext4 formatted partition isnt working so I get a mount warning and have to do a soft/quick reboot to get it to work