First off I have a Galaxy S Captivate and I'm a noob when it comes to the mods on this phone. It is rooted. I bought a 32gb sd card and wanted to partition into two partitions. I did some searching and found this link http://forum.xda-developers.com/showthread.php?t=543985. It worked great, but it didn't modify the ext sd card. It partitioned the internal card instead. Now instead of seeing the 16gb internal I'm seeing 13gb.
Question is, is there an easy way to 'undo' this without loosing everything and actually partition the external card?
Thanks in advance,
~jesse
The internal /sdcard partition should only have around 13gb. The entire phone has 16gb this includes all the system partitions and a 2gb partition in /data for user apps.
Okay so it repartitioned the internal storage. Is there a way to point it to the external to partition it? I'm wanting to move the apps to the sd to free up space. Sorry for the dumb questions...
You can't install an app in an external sd.
You can move apps from /data/app, which has the 2gb capacity, to a folder in /sdcard with native froyo software.
Settings>applications> manage applications>"the app you want"> move to sd.
THIS MOD IS FOR THE METROPCS VARIANTS ONLY!!!!
Most of you reading this will know me from my AdvancedStock ROM. Well This new mod I created will allow you to mount an External Partition on the external SD Card as the /data partition on the phone allowing for as much space as you want on the phone for all apps, user data, pretty much everything. This mod replaces the usual /data mount point so that the SD Card can take over. It is a little complicated to explain but here goes:
Partition: A specific area of the drive.
Mount Point: Where the Partition is mounted during or after boot.
NAND: Internal Storage
SD Card: Your EXTERNAL SD Card. (Not INTERNAL)
Your phone has whats called partitions on its internal NAND storage device (mmcblk0). This storage device holds the OS, User data, etc. This NAND is what is changed when flashing ROMs, Wiping data, etc. Your phone also has what is call mount points. Mount points, for all intents and purposes, is a sort of folder on the NAND storage that can mount these partitions so your phone boots up, can download things, run apps, etc. This mod changes the /data mount point (Where all USERDATA is stored, like apps, app data, settings, wifi, etc.) to the SD Card(mmcblk1). Doing this mod, you will have 2 partitions on the SD Card, mmcblk1p1 and mmcblk1p2. This mod, in order to be used, requires that the SD Card have TWO(2) partitions. mmcblk1p1(fat32), & mmcblk1p2(ext4). This new kernel will use the mmcblk1p2 partition to store the USERDATA by replacing the mount point that was originally mmcblk0p2 (Or something to that affect). This is done by unpacking the kernel modifing the fstab(File with a list of mount points and partitions).
So at the end of formatting the SD Card the partition table should look something (does NOT need to be exact
----------------------------------------------
| FAT32(500MB) | EXT4(28GB) |
----------------------------------------------
PARTITION 1 | PARTITION 2
mmcblk1p1 | mmcblk1p2
I hope this explination helps everyone under stand exactly what this does. This is not a apps2sd mod, this is a DATA2SD mod. ALL user data, not just apps, will be stored on the SD Card.
Wiki: https://urgero.org/626ExtData
Download: https://www.mediafire.com/?poalj63aubajkd2
Need to Factory Reset (Post MODDED KERNEL install): https://www.mediafire.com/?qaxcyhxusfc1f2u (Flash in TWRP, Not tested)
Download for latest Firmware(1.23.155.0.3): https://www.mediafire.com/?0po4jm2a6k8rx7u
Warnings:
You always run the risk of bricking a device when using non-oem firmware.
Although I have tested this extensively (And currently using it as my Daily Driver) expect bugs.
Under Settings -> Storage you will see "Unavailable/8.00GB" This is fine and can be ignored.
This can cause a bootloop if not used properly. and can Soft-Brick your device.
This process requires the phone to act AS IF it was factory data reset. But it was not. You will need to re-download all your apps, configure the phone again as if you did a factory data reset. This is required because of the new kernel. If you want to revert back to before, just flash the boot from the backup you will be making in the install steps.
Notes before installing:
1. The external data partition MUST be Partition 2 no if ands or buts!
2. This **MAY** cause some lag on the device if the SD Card is class 4 and lower, or if the SD Card is old.
3. The partition SIZES do not matter as long as there are two partitions as explained in the instructions.
4. The Wipe data function in TWRP will STILL BE MAPPED TO THE INTERNAL DATA NOT THE NEW EXTERNAL ONE SO DO NOT WIPE DATA OR FACTORY RESET WILL USING THIS KERNEL OR YOU WILL LOSE THE DATA FROM BEFORE THE KERNEL WAS FLASHED.
Install:
You need TWRP installed, so go to xda forums and install it.
Then boot into TWRP.
Select Backup.
Select Storage Device
Select Micro SD
Select All options and click "Backup"
Wait until it is done.
plug your phone in and in Windows/Linux/Mac go to your phone in a file manager then Phone\TWRP\BACKUPS\<SOME_RANDOM_NUMBERS\todays date and copy everything out of there.
Put htc626s_extData.img on the INTERNAL SD CARD.
Reboot into android and Install AParted
Open it and press the green plus button twice.
For Partition 1: Make sure the file system is fat32, this is important!!!! (Size it how you like) This is required so Android does not bug you about an unsupported filesystem.
For Partition 2: Make the file system ext4(Size it how you like)
Hit "Apply Changes"
Wait and then reboot back into TWRP.
Go to Install -> Then in the bottom right select "Install Image" and browse to the htc626s_extData.img file you downloaded and put on the internal SD Card.
Select "Boot" and install.
wait a second.
then click Reboot System.
First boot up time will be long, but after that it will boot up like a new phone!!! Dont worry, your data is still on the OLD data partition, the phone just does not have access to it.
Enjoy and profit from the new space.
Any question let me know here, PM, or whatever.
Hi, thanks for all the hard work your putting into this phone. I want to try the mod but I already use link2sd (Free version) and link some of my apps to the sd card. So I already have an ext2 partition on my sd card. Can I just flash the kernel and it boots with the second partition mounted and the apps that I already linked with link2sd, still work. Thanks again!!!
ricki13th said:
Hi, thanks for all the hard work your putting into this phone. I want to try the mod but I already use link2sd (Free version) and link some of my apps to the sd card. So I already have an ext2 partition on my sd card. Can I just flash the kernel and it boots with the second partition mounted and the apps that I already linked with link2sd, still work. Thanks again!!!
Click to expand...
Click to collapse
Unfortunately no. The mod requires a fresh ext4, not ext2, partition.
Can you take screenshot of system storage?
So partition 2 will be acting like internal storage completely or just data for apps? If its completely, couldn't I just dedicate 99% of my external card to partition 2?
---------- Post added at 09:13 AM ---------- Previous post was at 09:12 AM ----------
Or better yet, what is the purpose of each partition?
Will you be adding more features to this Kernel in the future?
talksickisil said:
So partition 2 will be acting like internal storage completely or just data for apps? If its completely, couldn't I just dedicate 99% of my external card to partition 2?
---------- Post added at 09:13 AM ---------- Previous post was at 09:12 AM ----------
Or better yet, what is the purpose of each partition?
Click to expand...
Click to collapse
The first partition is there so Android does not bug you about a broken SD card. The second acts as 100% internal storage AND /data.
And yes 99% of the SD card can be for this mod. Or 50% that's up to you.
Screenshot uploaded so you guys can see the amount of apps is over the amount of space this phone used to have.
Quote from OP: An extended explanation of what this mod does:
Partition: A specific area of the drive.
Mount Point: Where the Partition is mounted during or after boot.
NAND: Internal Storage
SD Card: Your EXTERNAL SD Card. (Not INTERNAL)
Your phone has whats called partitions on its internal NAND storage device (mmcblk0). This storage device holds the OS, User data, etc. This NAND is what is changed when flashing ROMs, Wiping data, etc. Your phone also has what is call mount points. Mount points, for all intents and purposes, is a sort of folder on the NAND storage that can mount these partitions so your phone boots up, can download things, run apps, etc. This mod changes the /data mount point (Where all USERDATA is stored, like apps, app data, settings, wifi, etc.) to the SD Card(mmcblk1). Doing this mod, you will have 2 partitions on the SD Card, mmcblk1p1 and mmcblk1p2. This mod, in order to be used, requires that the SD Card have TWO(2) partitions. mmcblk1p1(fat32), & mmcblk1p2(ext4). This new kernel will use the mmcblk1p2 partition to store the USERDATA by replacing the mount point that was originally mmcblk0p2 (Or something to that affect). This is done by unpacking the kernel modifing the fstab(File with a list of mount points and partitions).
So at the end of formatting the SD Card the partition table should look something (does NOT need to be exact
----------------------------------------------
| FAT32(500MB) | EXT4(28GB) |
----------------------------------------------
PARTITION 1 | PARTITION 2
mmcblk1p1 | mmcblk1p2
I hope this explination helps everyone under stand exactly what this does. This is not a apps2sd mod, this is a DATA2SD mod. ALL user data, not just apps, will be stored on the SD Card.
Click to expand...
Click to collapse
Will a 16gb SD be good enough? It looks like you're using a 32gb SD card. For ext4 partition you have it for 28gb why not 31gb? And can I make fat32 500mb as well? And since you use 28gb.. 8gb is used for nand storage? Can u give me an example for a 16gb SD card for aparted? I will like to make use of all of the 16gb SD. Thanks
kdayyy said:
Will a 16gb SD be good enough? It looks like you're using a 32gb SD card. For ext4 partition you have it for 28gb why not 31gb? And can I make fat32 500mb as well? And since you use 28gb.. 8gb is used for nand storage? Can u give me an example for a 16gb SD card for aparted? I will like to make use of all of the 16gb SD. Thanks
Click to expand...
Click to collapse
The sizes can be what ever you want. as long as the 2nd partition is ext4. thats all you really need to worry about.
But here is an example:
Partition 1:
Filesystem: fat32
Size: 500MB
Partition 2:
Filesystem: ext4
Size: 1100MB
It is really that simple. I am using a 32GB SD Card, and have it split so that there is an 8GB is fat32 for Pictures I take and other misc Windows based programs I use with my phone.
But you do what you want. But once you set the sizes and go through Android's Setup, you cannot resize them.
Man I can't wait to get to a computer and try this out. Man, with xposed finally working it really couldn't have came at a better time. I'm down to about 327 mb of free space in the internal storage.. 8gb of total internal space was a horrible decision by HTC. I understand the phone is a budget buy but 8gb is downright insulting in 2015 on a lollipop device. But let me stop that miniature rant now. I did notice that my 32gb card I bought 3 phones ago is only class 4. Hopefully it doesn't lag like you mentioned could possibly be the case.. And if it is the case, I'm going to upgrade my micro SD card to a higher storage level and class level. I really need to get this mod working, and working optimally. In my opinion, if all goes correctly it will be a major upgrade to the phone and be a solution for my single biggest issue about this phone.
talksickisil said:
Man I can't wait to get to a computer and try this out. Man, with xposed finally working it really couldn't have came at a better time. I'm down to about 327 mb of free space in the internal storage.. 8gb of total internal space was a horrible decision by HTC. I understand the phone is a budget buy but 8gb is downright insulting in 2015 on a lollipop device. But let me stop that miniature rant now. I did notice that my 32gb card I bought 3 phones ago is only class 4. Hopefully it doesn't lag like you mentioned could possibly be the case.. And if it is the case, I'm going to upgrade my micro SD card to a higher storage level and class level. I really need to get this mod working, and working optimally. In my opinion, if all goes correctly it will be a major upgrade to the phone and be a solution for my single biggest issue about this phone.
Click to expand...
Click to collapse
I'd recommend a class 6 or 10 I don't think this phone supports an SD card larger than 64GB so be warned on that aspect. A brand new card would also be better.
sandix said:
I'd recommend a class 6 or 10 I don't think this phone supports an SD card larger than 64GB so be warned on that aspect. A brand new card would also be better.
Click to expand...
Click to collapse
Thanks for the tip. Like I said, I will try it out on my current card first. I'll report back the results once I do. I just need to get to a computer already! My laptop is at my moms house. I will be over there today for the holiday. Hopefully I remember to get it. By the way merry Christmas man! Thanks again
talksickisil said:
Thanks for the tip. Like I said, I will try it out on my current card first. I'll report back the results once I do. I just need to get to a computer already! My laptop is at my moms house. I will be over there today for the holiday. Hopefully I remember to get it. By the way merry Christmas man! Thanks again
Click to expand...
Click to collapse
How'd the card react to the mod?
Thanks sandix this looks awesome. I have a class 4 sd but am going to try this when I get my class 10 in the mail. My manual says this phone supports sd cards up to 200gb. Hope I can use all that .
Wow. Yes if the phone supports 200GB then you can use 99.99% of that. (Some factors come into play like the SD card will have dead spots in it it will probably be closer to like 196GB, as well as the fat32 partition you need.) Post screenshots as well as results
Sent from my HTC Desire 626s using Tapatalk
sandix said:
How'd the card react to the mod?
Click to expand...
Click to collapse
I still haven't gotten around to the PC yet.. I'm not sure if I need this actually.. For a few days I've had xposed mod xinternal sd and well, check out the screen shot
Are you familiar with this module? I've never used it before.. But I have plenty of app space now. Finally I have everything I want installed coexisting all at the same time
No issues so far
That's a good module, but it's not doing what you think it does. It will work for awhile but you will find that you will run out of space because of apk size.
Sent from my HTC Desire 626s using Tapatalk
Thanks for the heads up. I figured it's worth a try. If I have issues I'll remove it. I updated the screenshot. It says I have 32 removable apps right now.
sandix said:
Wow. Yes if the phone supports 200GB then you can use 99.99% of that. (Some factors come into play like the SD card will have dead spots in it it will probably be closer to like 196GB, as well as the fat32 partition you need.) Post screenshots as well as results
Sent from my HTC Desire 626s using Tapatalk
Click to expand...
Click to collapse
Will do. Waiting for sd card.
I used Moto X Force before, and sandisk 64gb sd card with exfat. The sd card work fine in X Force and PC.
But when I plug it into nokia 8 , system said it doesn't support this card.
So I have to backup sd card, format it via nokia 8, and restore all the thing in the sd card.....
I plug sd card which format via nokia 8 into PC, the file system is fat 32.
Yep! That's one of the downsides of pure Android..
It is all about royalties, Google doesn't want to pay them to Microsoft so they don't support sdcards, at least in any other format than old old fat32... Exfat and ntfs are somehow owned by Microsoft...
And with fat32 we are able to use one single file no more than 4gb, that's the limit on fat32... So old so old!
one the other hand what kind of file will you move to a smartphone that is gonna be more than 4GB"s?
Thorgoth said:
one the other hand what kind of file will you move to a smartphone that is gonna be more than 4GB"s?
Click to expand...
Click to collapse
I stumbled upon this issue when I was transferring movies for a long flight..
And those 4k videos you film with the phone, they get really large quickly.
So is there any other possible file format that both supports +4gb files and works with Nokia 8?
Seems stupid to format 256gb SD-Card with ancient fat32, which will render the 4k video camera feature obsolete.
unless you only record in smaller chunks or get by using the internal storage space for 4k videos.
Luckily I got the 128gb model so I can at least get by without the extra storage, but it also annoyingly limits the individual files less than 4gb on the 256gb card. What a waste...
Lähetetty minun SM-G900F laitteesta Tapatalkilla
hinuk said:
So is there any other possible file format that both supports +4gb files and works with Nokia 8?
Seems stupid to format 256gb SD-Card with ancient fat32, which will render the 4k video camera feature obsolete.
unless you only record in smaller chunks or get by using the internal storage space for 4k videos.
Luckily I got the 128gb model so I can at least get by without the extra storage, but it also annoyingly limits the individual files less than 4gb on the 256gb card. What a waste...
Lähetetty minun SM-G900F laitteesta Tapatalkilla
Click to expand...
Click to collapse
Yep! You really said it! It is stupid.
Nokia could add support for other filesystems, but it would require them to pay royalties to Microsoft.
Only format that I have been able to use is ANCIENT fat32... :Mad: ERKELE:
What about EXT4??
shubham412302 said:
What about EXT4??
Click to expand...
Click to collapse
You need root to mount ext4 drives, and since we don't have root on the Nokia 8 yet, it's useless.
Instigare said:
You need root to mount ext4 drives, and since we don't have root on the Nokia 8 yet, it's useless.
Click to expand...
Click to collapse
Thats too bad. My 3 year old phone mounts all filesystems including ext4, ntfs and exfat. I may have to reconsider buying this phone due to bootloader, root and filesystem problems.
Shouldn't a linux device support ext4 by default?
barery24 said:
I used Moto X Force before, and sandisk 64gb sd card with exfat. The sd card work fine in X Force and PC.
But when I plug it into nokia 8 , system said it doesn't support this card.
So I have to backup sd card, format it via nokia 8, and restore all the thing in the sd card.....
I plug sd card which format via nokia 8 into PC, the file system is fat 32.
Click to expand...
Click to collapse
I have this exact same issue. My phone is Nokia 7 Plus. But I did not format it in from the phone & rather i tried doing things through PC & now my SD card is write protected. I am not able to remove that write protected and format the card. Can someone help here.
hansel_mendonca said:
I have this exact same issue. My phone is Nokia 7 Plus. But I did not format it in from the phone & rather i tried doing things through PC & now my SD card is write protected. I am not able to remove that write protected and format the card. Can someone help here.
Click to expand...
Click to collapse
you can try remove partition., if not work in pc (a think you use Windows), then try in GNU/Linux in GParted or only via GParted LiveCD/USB
https://gparted.org/livecd.php
https://www.youtube.com/watch?v=0czAJwEbtFs
Ok guys, so I've been trying to increase my ram by using app2sd, but the issue is when I try to mount the second partition (ext4 btw, because I see that all the other storage in my phone is in that format by app2sd) I get the next message: "unable to determine su.d path, you can set the "su.d/post-fs-data.d/service.d" path in Settings and try again" honestly I don't know what to do here at this point, where is that directory? do I have to put it in internal storage or in the second sd card's partition? (I've seen that some "/data" directory has something to see about)
I'm trying to get that 8GB partition on the sd card run as virtual RAM by swapping it with some swapper app, or there's actually a RAM limit that I don't know, or can I just assign whatever amount of RAM that I desire as long I have a partition big enough? Also I tried with a 32GB partition on another SD card with the same result
I'm using Magisk systemless on a Samsung Galaxy S5 G900T, running Lineage OS 17.1 klte