Kernels with exFAT? - Verizon Samsung Galaxy S 4

I have a 64 GB SD card on my S4. Thankfully it is working with TWRP which now has support for exFAT.
Are there any custom kernels for the Vz S4 that support exFAT?
Since I don't have any files bigger than 4GB I may downgrade the file structure to FAT32 if that is the only way to use a custom kernel on my S4.

swieder711 said:
I have a 64 GB SD card on my S4. Thankfully it is working with TWRP which now has support for exFAT.
Are there any custom kernels for the Vz S4 that support exFAT?
Since I don't have any files bigger than 4GB I may downgrade the file structure to FAT32 if that is the only way to use a custom kernel on my S4.
Click to expand...
Click to collapse
I'm interested in this as well...only one I'm aware of so far is by Ktoonsez, in this thread: http://forum.xda-developers.com/showthread.php?t=2294083.
Here's what I got from the kernel dev, Ktoonsez:
Originally Posted by Redflea:
Just wanted to confirm that this:
"Thanks to Talustus we now have exFAT for Touchwiz and AOSP"
...means that I can leave my 64GB SD card formatted to exFAT, correct?
Faux is still saying on his kernel thread says that he provide exFAT support due to Samsung's licensing of MS proprietary exFAT format, which hasn't been released as it isn't open source. How was that gotten around on this kernel? Thanks...
Reply from Ktoonsez: A developer named Talustus wrote one from scratch. It work for 90% of the people I would say, some cheapy SDcards seem to have trouble, Samsung cards will work 100% of the time. The exFAT card must be in the phone upon boot up and the exfat partition must be on partition 0 or 1 for my code to pick up on it. To get best chance of success, format the card using Windows 7 or 8 for exFAT, that will guarantee the whole card will be formatted to exFAT on partition 0
Click to expand...
Click to collapse
I've also asked on the Chronic kernel thread here:
http://forum.xda-developers.com/showthread.php?t=2319243
Faux's kernel does not support exFAT.

Related

Need 64GB Driver.

I bought 64 gb card and it works on samsung stock galaxy s3 rom BUT when i switched to Cyanogen10 mod it started showing damaged card,
I know it is because the stock has driver for that card,
My question is has someone ported or can someone please port the driver from stock and make it workable on custom roms.
Thanks.
exFAT is not and probably will never be supported by CM9 or 10.
Your card needs to be FAT32-formatted to work.
Alright trying hopefully this works and doesnt screw up my card.
d4fseeker said:
exFAT is not and probably will never be supported by CM9 or 10.
Your card needs to be FAT32-formatted to work.
Click to expand...
Click to collapse
didnt work now the phone doesnt even show damaged card, its acting like card is not even inserted.
How exactly have you formatted the card? Windows onboard utilities won't let you format a 64GB card as FAT32, so my guess is you formatted it as NTFS.
Unfortunately CM cannot read NTFS either, you'll need another kernel for that. (And to date none has been released)
Try the HP Usb Format utility to create a FAT32 partition.
d4fseeker said:
exFAT is not and probably will never be supported by CM9 or 10.
Your card needs to be FAT32-formatted to work.
Click to expand...
Click to collapse
Why is this?! Does AOSP not come with exFAT support, it's something Samsung builds into the kernel afterwards?
Disappointed, as I was tempted to try CM, but no 64GB support renders my card next to useless.
Disappointed, as I was tempted to try CM, but no 64GB support renders my card next to useless.
Click to expand...
Click to collapse
FAT32 doesn't mean the card is restricted to 32GB, it means a file can be 2^32 bytes long which is 4GB.
FAT64 (ExFat) has a limit of 2^64 bytes per file which equals 16 Exabyte (1Exabyte = 1024 Terabyte)
It's possible for FAT32 partitions to be as large as 8 Terabyte, which is roughly 1000 times the size of harddisks when FAT32 was released.
Windows, for some stupid compatibility reason with a 12 year old operating system (Windows 2000) does not allow to format FAT32 partitions to a size larger than 32GB, hence the usual confusion.
As described above, here is the tool you need: http://www.softpedia.com/get/System/Hard-Disk-Utils/HP-USB-Disk-Storage-Format-Tool.shtml
Why is this?! Does AOSP not come with exFAT support, it's something Samsung builds into the kernel afterwards?
Click to expand...
Click to collapse
ExFat is patent-encumbered, meaning every distributed binary copy of Cyanogenmod would theoretically cost the developers the license fee.
(At least for US-based downloads, most other countries see software patents as what they are - ridiculous and unenforceable)
Furthermore -and a very big issue- is the instability of the exFat code for GNU/Linux (and by extension, Android) which causes data loss, corruption and other negative side effects.
It's highly recommended not to use exFAT with Samsung-firmwares either.
d4fseeker said:
How exactly have you formatted the card? Windows onboard utilities won't let you format a 64GB card as FAT32, so my guess is you formatted it as NTFS.
Unfortunately CM cannot read NTFS either, you'll need another kernel for that. (And to date none has been released)
Try the HP Usb Format utility to create a FAT32 partition.
Click to expand...
Click to collapse
i used easeus partition: i deleted partition first and made new one with fat32 file system,
which didnt work, after that i deleted the partition again and formatted using stock galaxy s3 rom and it works again but limited to stock rom only like before.
atleast the card isnt dead.
d4fseeker said:
How exactly have you formatted the card? Windows onboard utilities won't let you format a 64GB card as FAT32, so my guess is you formatted it as NTFS.
Unfortunately CM cannot read NTFS either, you'll need another kernel for that. (And to date none has been released)
Try the HP Usb Format utility to create a FAT32 partition.
Click to expand...
Click to collapse
ill try this software as well.
d4fseeker said:
How exactly have you formatted the card? Windows onboard utilities won't let you format a 64GB card as FAT32, so my guess is you formatted it as NTFS.
Unfortunately CM cannot read NTFS either, you'll need another kernel for that. (And to date none has been released)
Try the HP Usb Format utility to create a FAT32 partition.
Click to expand...
Click to collapse
I didnt get a chance to try Hp software i cant across this other software and it work.
Thank you though
d4fseeker said:
FAT32 doesn't mean the card is restricted to 32GB, it means a file can be 2^32 bytes long which is 4GB.
FAT64 (ExFat) has a limit of 2^64 bytes per file which equals 16 Exabyte (1Exabyte = 1024 Terabyte)
It's possible for FAT32 partitions to be as large as 8 Terabyte, which is roughly 1000 times the size of harddisks when FAT32 was released.
Windows, for some stupid compatibility reason with a 12 year old operating system (Windows 2000) does not allow to format FAT32 partitions to a size larger than 32GB, hence the usual confusion.
As described above, here is the tool you need: http://www.softpedia.com/get/System/Hard-Disk-Utils/HP-USB-Disk-Storage-Format-Tool.shtml
Click to expand...
Click to collapse
Thanks, though I realised this - the whole reason I need a 64GB card is to copy movies onto there, because I travel a lot... many of them are over 4GB, which is the issue I have with using FAT32.
d4fseeker said:
ExFat is patent-encumbered, meaning every distributed binary copy of Cyanogenmod would theoretically cost the developers the license fee.
(At least for US-based downloads, most other countries see software patents as what they are - ridiculous and unenforceable)
Furthermore -and a very big issue- is the instability of the exFat code for GNU/Linux (and by extension, Android) which causes data loss, corruption and other negative side effects.
It's highly recommended not to use exFAT with Samsung-firmwares either.
Click to expand...
Click to collapse
Maybe I should look at ext3 instead, though then I'd have problems putting it straight into my Windows machine. Though, exFAT has been 100% stable for me so far.
many of them are over 4GB
Click to expand...
Click to collapse
Ok that is a problem for FAT32. You didn't mention it so I assumed you mistook the 32 in FAT32 for 32GB as many people do.
Maybe I should look at ext3 instead
Click to expand...
Click to collapse
Since you should never need to remove or directly access the card (MTP mode or File transfer through 'Samba Fileshare' App) that should be a solution. For your own computers, you could use the following driver:
http://www.fs-driver.org/
It allows read-write access to EXT2. EXT2 being EXT3 without journaling support (and thus fully backwards compatile) that could do the trick.
Pententially you'll need to re-enable the journal again through tune2fs on the Smartphone after having used an EXT2-driver. Not sure though since the journal is only relevant until a clean dismount is made.
You should however also be able to load the NTFS-module in the kernel or recompile the CM10 kernel with the required options.
If you need to plug the SDcard into your computer a lot, that may be the only solution until Gokhanmoral is back.

Formatting exfat to fat32

If you have been having issue with exfat card even after formatting it to fat32 this is probably the solution for you
The 64gb exfat card i have never worked on custom roms no matter what software i used to format it to fat32.
But finally it worked with this one software, Just make sure you follow the instruction correctly.
http://software-files-a.cnet.com/s/...&pid=12572695&psid=10863346&&fileName=epm.exe
First use easeus to delete the partion in 64 gb card.
then Click Start menu, select Run and enter diskmgmt.msc
You need to find the disk with unallocated space. Right click on it and select "New Partition" and follow these steps, clicking "Next"
Enter the maximum size for the Partition Size
Choose assign a drive letter. I used F:
Select "Do not Format this partition"
Click Finish
Now you have a drive letter, this is what we will pass to the formatter
http://www.ridgecrop.demon.co.uk/download/fat32format.zip
Now download a copy of fat32format. Extract the EXE file to C:\
Click Start->Run and enter cmd (as admin)
type this - C:\fat32format f:
enter y to continue
Now the sd card should work on phone.
Source: http://www.ridgecrop.demon.co.uk/index.htm?guiformat.htm
Thanks to DroidGnome for linking me this site.
An easier alternative which doesn't require CMD or the use of multiple tools is HP Usb Format Utility:
http://www.softpedia.com/get/System/Hard-Disk-Utils/HP-USB-Disk-Storage-Format-Tool.shtml
d4fseeker said:
An easier alternative which doesn't require CMD or the use of multiple tools is HP Usb Format Utility:
http://www.softpedia.com/get/System/Hard-Disk-Utils/HP-USB-Disk-Storage-Format-Tool.shtml
Click to expand...
Click to collapse
If it works then sure. i already used 3 recommended softwares all failed so i dont know if this will work.
Thanks for this guide
I always format and re-partition in Linux ...
I always format and re-partition in Linux ... and currently all my large microSD cards have been re-partitioned with the following layout:
- free space (4 MB on 32GB, 16 MB on 64GB - since that's how those came from factory )
- main partition (primary partition 1 - I format that as Fat32 in Linux but then I go to Win7 and re-format to exFat; exFat works perfectly in Android 4.x from Samsung (and good mods) and the CWM recovery from CrisKelo ROM can work just perfectly with exFat when doing backup/restore; other (even newer) CWM versions/alternatives might NOT be OK with exFAT or stuff over 32GB!
- 512 MB Linux swap (primary partition 2) - this gets mounted by special mods that give the kernel virtual memory
- free space at the end (at least 4 MB on 32GB, at least 16 MB on 64GB)!
The only drawback is that at this moment there is no program (on PC or phone) that can resize exFAT - so you need to reformat! That is in contrast to NTFS / FAT32 / ext2 / ext3 / ext4 - which can all be resized perfectly - and IMHO NTFS could be a better option that exFAT (for journaling, even if I do not write that much anyway), but unfortunately there is no serious support for it on CWM; ext3/ext4 could also be even better from the Linux standpoint (but not for the usual Windows user that might have problems reading it) - but again is (surprisingly) not so supported by either CWM nor most ROMs
Just got new Sandisk 64GB cards and was having a heck of a time getting them to play nice with Paranoid Android, this guide was simple, painless and most of all, effective. Thank you much for posting this information.
Works with cyanogenmod nightly 2013-02-17 and ubuntu
So I have tried it out and it worked.
omar300 said:
If you have been having issue with exfat card even after formatting it to fat32 this is probably the solution for you
The 64gb exfat card i have never worked on custom roms no matter what software i used to format it to fat32.
But finally it worked with this one software, Just make sure you follow the instruction correctly.
http://software-files-a.cnet.com/s/...&pid=12572695&psid=10863346&&fileName=epm.exe
Link seems broken.
Click to expand...
Click to collapse
Thank you!! Was wondering what I had done wrong with a custom ROM not reading the 64Gb card I had, now it does: )
great to see i helped some people.
ok so software to erase partition is called EaseUS incase this link gets broken in future just google, if im late with reply again in future.
http://download.cnet.com/EaseUS-Partition-Master-Free-Edition/3000-2248_4-10863346.html
Just wanted to say THANKS
I have been trying to get my 64GB working for days after install wicked rom 5.1 for my Samsung S4, noting worked till I found this post GREAT work and thanks so much!!!!
YOU RULE!
Thanks!! I have only been able to get my Scan Disk Ultra 64G card to work with Perseus kernel and would have to flash it to all Roms then use a hack to swap the internal to get it to work. It was a Pain in the ass and limited my Kernel usage. THANK YOU SO MUCH WHAT A USEFUL POST!! Stick to this plan it works. I have yet to see any other solution. I been dealing with this problem since I had my Galaxy note2 almost a year now.
PS do not use that crappy HP USB format 2.2 whatever program some guy suggested a bunch of malwar garbage I cant get off my computer now THANKS BUDDY Crawl back under a rock which you came.
Thanks for the wonderful help everyone who got it working
Sent from my SHG-M919 using XDA Premium 4 mobile app
so which format type is better for some1 running stock rom on galaxy note 2..... with a 64g sandisk ultra..... its alrdy working without any particular format....worked with factory settings but right now d mmry card is acting up cos of d script I used 2 swap....am only guessing.... so is it better 2 format to ex fat or fat32?
mortallkombat said:
so which format type is better for some1 running stock rom on galaxy note 2..... with a 64g sandisk ultra..... its alrdy working without any particular format....worked with factory settings but right now d mmry card is acting up cos of d script I used 2 swap....am only guessing.... so is it better 2 format to ex fat or fat32?
Click to expand...
Click to collapse
i have no idea the swap system, as stock, it already has driver for ex fat but since you changed some stuff it might have ruined that driver.
try your card on another phone with stock rom and same android version. if it works then you dont need to change sd card format, just reinstall ROM on your phone.
PhatNerd said:
Thanks!! I have only been able to get my Scan Disk Ultra 64G card to work with Perseus kernel and would have to flash it to all Roms then use a hack to swap the internal to get it to work. It was a Pain in the ass and limited my Kernel usage. THANK YOU SO MUCH WHAT A USEFUL POST!! Stick to this plan it works. I have yet to see any other solution. I been dealing with this problem since I had my Galaxy note2 almost a year now.
PS do not use that crappy HP USB format 2.2 whatever program some guy suggested a bunch of malwar garbage I cant get off my computer now THANKS BUDDY Crawl back under a rock which you came.
Click to expand...
Click to collapse
i know, that is reason i posted this. i tried about 10 software and then i found this weird way of doing it and it actually works.
all those fancy software dont do anything besides slowing computer down.
glad to know i was of some use

[ME7 sd card format ??s

Currently using a Samsung 64gb micro card formatted fat32 - questions
(1) Does it need to be formatted exfat to take advantage of the TW ME7 updated ROMs? and if so,
(2) Will I still be able to access non TW ROMs with an exfat formatted card? Lastly
(3) Any advantage having a sd-ext partition? Used this with apps2sd pre S4
Tried searching - honestly couldn't find direct answers
tkacer said:
Currently using a Samsung 64gb micro card formatted fat32 - questions
(1) Does it need to be formatted exfat to take advantage of the TW ME7 updated ROMs? and if so,
(2) Will I still be able to access non TW ROMs with an exfat formatted card? Lastly
(3) Any advantage having a sd-ext partition? Used this with apps2sd pre S4
Tried searching - honestly couldn't find direct answers
Click to expand...
Click to collapse
Are you currently on MDK and plan to run ME7 based custom ROM's? If so then you can do custom ROM's. I would format your 64GB card to exFAT anyways given the fact that it supports larger file sizes like movies, etc. I don't see why you wouldn't be able to access the exFAT card with any ROM since I have stock TW ME7 rooted and my card is a Samsung 64GB exFAT format. I hope that helps some.
Raptor -
Tried some ME7 Rom's but they seemed not to be moving the apps to the sd card correctly - when I tried to move them manually, I got a "unable to move - card full" error msg.
I thought perhaps this was because of the fat32 format.
Also like to go back and forth between TW and AOSP Rom's and I thought I read that AOSP kernels don't support exfat????? Also need to check that the recovery I'm using (OUDHs CWM 1.0.3.5) supports exfat. I recall being unable to get it to recognize my card until it was formatted fat32.
Thanks for the reply!
I wonder if there is something in how Samsung wrote that ability into the ROM and the devs may be having an issue with finding the right hooks.
RaptorMD said:
I wonder if there is something in how Samsung wrote that ability into the ROM and the devs may be having an issue with finding the right hooks.
Click to expand...
Click to collapse
Could be - I guess I could back up my card, reformat exfat, and give it go. Unfortunately, I'd have to switch recoveries - Shabbypenguin's recovery does not support exfat. Probably give TWRP a go.......
tkacer said:
Could be - I guess I could back up my card, reformat exfat, and give it go. Unfortunately, I'd have to switch recoveries - Shabbypenguin's recovery does not support exfat. Probably give TWRP a go.......
Click to expand...
Click to collapse
I am not familliar with Shabbypenuin's recovery tool, but TWRP has been awesome for me on the last several Android phones. I would give that a go.
RaptorMD said:
I am not familliar with Shabbypenuin's recovery tool, but TWRP has been awesome for me on the last several Android phones. I would give that a go.
Click to expand...
Click to collapse
It has more to do with the Kernel than the actual ROM. Most custom kernels are now supporting ExFat. The only one I have tried lately that doesn't is Elites Kernel but I am sure that will change soon.

[Q] Any Rom with exFat support?

Hi there,
Recently got a 64GB MicroSD card for my SGH-i777, at first, the phone didn recognize it, but i formatted it to FAT32 and now it "works"
The phone detects it, and seems to be able to access it and what not, but when I started dumping all my data, some of the files don work any more. This seems to be because of the 32GB limitation and cluster size of the FAT32 File System.
If the phone were able to support another File System like NTFS or exFat, it would work.
My phone is running stock Jelly Bean 4.1.2 rooted. Haven't had the need to use a ROM, but I've heard that there are some ROMs that give the phone exFat support...
If so, I would like to know which one I could flash to this phone.
P.D.
Using Ubuntu 12.04 with Heimdall

Kernel dependent file systems?

Hi there. So my problem is quite...extraordinary.
All I want is to use my 128 GB Micro SD card without errors. However, no matter what file system or configuration I used on it, it just won't work. First it won't allow me to write on it. Then it does but won't allow me to delete from it. Then I need to rescan the contents on it for apps to be able to see media. The card is in perfect condition and without flaws I assure you.
The file systems I tried so far are ext3, ext4, FAT32, NTFS, F2FS and VFAT. Tried multiple custom ROMs including Lineage, Pixel Experience and currently dotOS. It seems that file system support depends on the OS' kernel. I've given up on ext4 and F2FS thanks to the problems I mentioned before. So now I want to format my card as EXFAT. It has much better performance and compatibility than FAT32, NTFS or VFAT. Not to mention these three have significant performance change/spikes while writing and deleting. Only problem that not all kernels support EXFAT and so far neither custom ROM that I used had support built in its kernel. My latest developments is that I found a kernel out of 10 that does support EXFAT. It runs by the name Xenial. I just don't really like custom kernels so I want to avoid using them in the future if that's possible.
Any advice? Please.

Categories

Resources