Multirom on f2fs - Galaxy S 5 Q&A, Help & Troubleshooting

I have installed a Cyanogenmod ROM on my Samsung Galaxy S5 (although I think that my device model won't be relevant) and I want to mess around with others rooms on my SD card. However, my only micro SD card which seems to work as a storage for apps on my phone is a class 10 Sandisk ultra (hc) and I have a couple more class 4 Sandisks which are not in use.
The point is, the only sd card which I think will work as a reasonably fast storage for ROMs is formatted to have two partitions: an ex4 one and another one with a fully system called f2fs. This, as I have read, is not resizable, but there is a way to backup the data and move it to a smaller partition to free up space for another ex4 partition for Multirom. Any help?

Related

[Q] NAND too slow when enabled A2SD+ partition

can someone please help me?
I have tried many builds and they are all unusable for me when they are using SD partition.
Disabling it makes it usable again but no user space!
I have tried CW method of partitionig and GParted but always same result
My SD is Class 2, don't know if that is problem... tried many times to format it... tried many NAND ROMs.
Please help!!!
Brand, size of your sd card?
What format? Windows?
File system used in ext partition of sdcard?
Try a HDD benchmark test on your SD card. If sustained write is less than 2mb/s, then you want to use SD Card Formatter 3 with ERASE FULL (ON) and RESIZE (ON), if still slow, time to buy a proper sd card.
i noticed it by myself. got a 16 GB class 2 SDcard and since NAND-roms its really messy, changing the screens by sliding (stuttering - and gets worse the more apps are on it), loading apps are much slower than with SD-roms.
i ordered a 8 GB class 6 SDcard last friday, hope to get it tomorrow. will check it out with a fresh format and install asap. will come back and post my experience.
It's Kingston Class2 16gb.
First partition is FAT32 15gb, and second is 1gb EXT3 (also tried with EXT2 & EXT4).
It's strange but I remember that SD builds were much generaly faster (thats not the case when I turn off this partition).
Here are results:
Read 10.130 MB/s
Write 2.163 MB/s
I think they are good for Class2.
Any opinion is welcome!
Eww.. Kingston MicroSD.
You're right, their speed scores are pretty good. Stuttering is usually caused by slow reads, writes don't cause stuttering, except mainly when installing apps. Your card isn't corrupted, because the speeds are exactly on spec.
Well, the first few days of using ext partition on SD card for A2SD+ is going to be slow, till everything is written on the SD card, then it speeds up considerably. I recommend, try using it for 2 days, and see if you can't stand it.
SD builds already have everything in the SD card, including data.img where userdata is stored. However, with A2SD+, everything is in the NAND, but the application will move to SD Card ext3 partition, at the same time the Dalvik is also being moved there too. So yah, it can be slow, until everything is done scooting over.

[Q] Use the SD card for storage "Android SD"

Hi,
I wonder if someone can help me, I've got WP7.5 install as a NAND installation, with Android 4.0.4 as a SD installation. Both work brilliantly, although I do have some slight problems.
Android won't detect an SD card installed, so I can't use some apps, that require an SD card to be present.
Does anyone know if there is a fix for this, surely I'm not the only person in this position.
Cheers
I'm guessing it's because your SD has been formatted specially by WP, and Android can't read this. Your FAT32 partition is probably too small for anything to be stored in it.
The Fat32 partition is 1.6Gb.
Is it worth making that bigger, or creating another FAT32 partition?
Cheers
Hmm, I'd guess that you wouldn't have any more than 200-300MB free on your SD as read by SD Android then. I don't know how much an SD Android build takes up but the data.img is at least 1GB of that. As for increasing the partiton/creating a new one, I don't actually think that's possible without losing your data is it?
Hi,
Thanks for your help.
I'm not too fussed about losing anything...
Here is what I have just tried without any success.
I have a 8Gb card partitioned like this.
1.*Gb
Primary, FAT32, (Android SD install)
2Gb
Primary, FAT32, (My hope would be that Android would see this as the SD card)
4Gb Other (WP 7 partition)
No luck unfortunately, any ideas?
Cheers
Are you sure you're using an 'unlockable' WP7.x ROM? If so, try formatting the storage card to normal and flash a Android build, see if it utilises the memory card like normal, if it does, then I would say that you're doing something wrong when setting it up.
Just double check each step of a tutorial (example: this one) twice and hopefully you'll only have to flash one more time.
Why do you have 2 fat 32 partitions ?...just use one fat 32 partition..in regular sd android....data image is used as internal memory and fat 32 part as sd card
I believe your second partition is not being recognised...make only one fat 32 partition you don't need two
Sent from my HTC HD2 using Tapatalk 2

Galaxy Tab 4 7" LTE 8GB (sm-235) SD limitation ?!

Hello guys,
I'm wondering about my tablet (the one from the title) and its limitation which is 32GB MAX on SD Card. I just assume it's because of default FAT32 filesystem used by stock firmware.
Right now I'm using CM13 which is MM, and the Card is used as extended Internal Storage.
The question is.. Can i use bigger card and use it as extended Internal storage as it's probably formatted as something different than FAT32?!
Thanks,
Jazz
just format bigger card to fat 32 and youll be fine, theres guides on yt

Adoptable storage

Decided to start using this yesterday, was a sort of on the whim decision.
I have a 32 gig S7 and a 64 gig sd card, it is an expensive samsung SDHC EVO UHS card. (they cheaper now but was expensive when I purchased).
So previously I had internal memory which was the phone's internal storage, obviously this is not the full 32 gig as a chunk is partitioned off for OS usage.
SD card as portable storage formatted using exFAT
I noticed first when I installed superman rom I couldnt make /data F2FS, tkkg explained it is because alot of the scripts used to install the likes of magisk etc. do not support F2FS so my internal is ext4, but I managed to make the cache filesystem F2FS at least.
Likewise yesterday I discovered using the portable sdcard as F2FS is also not supported, the rom wont auto mount it and a notification appears saying its corrupted. Since I had already wiped the SD to change filesystem I decided to try adoptable storage, I enabled using the adb method and using the mixed mode so not the full sdcard is adoptable storage, in my case I chose a 50/50 split bearing in mind nandroid backups are huge, to do one single backup I need 12 gig free on the portable sdcard storage.
Interestingly I discovered the partition used for the adoptable storage is F2FS , it gets mounted under /mnt/expand/{some long random id}, I dont know the exact criteria for how parts of data get moved there but 1.8gig was utilised from the off.
Knowing its F2FS which is more resilient than exFAT, I have already moved titanium backups to the adoptable storage away from the portable sdcard storage and I plan to also move media to it as well that is currently on the portable storage.
My free space that is available for internal use is now moved from 13.6gig free out of max 25 gig to 36gig free out of a max 55gig.
I have one warning tho, I have already raised this on github to the TWRP dev's, from what I can see TWRP is not adoptable storage aware. The F2FS partition is not auto mounted in TWRP and I cannot even find a way to manually mount it (in the GUI), since some stuff from /data will get moved there it means when a nandroid backup is done parts of /data may be excluded that are sitting on the adoptable storage. Not a big deal if you doing a backup to test something, and then if you restore, its done close to when the backup is taken, but if the restore is done a long time after the backup the adoptable storage been out of sync might be an issue.
I welcome further thoughts from people.
update TWRP devs say it is supported but might be an issue with mixed mode which I will provide them more info on later.
attaching speed test
first sdcard is exfat second is f2fs Adoptable
I'm really confused what you are trying to show? Are you claiming that your sd card somehow becomes faster as adoptable storage?
I dont know if it is actually faster but it does benchmark faster probably due to using F2FS instead of exFAT.
The main reason I am preferring F2FS as it has more resilience than exFAT whilst still been fast.
Ok a little update, after my failed aatempt to upgrade to a 128 gig card, I restored the nandroid backup which I made before I first inserted the 128gig card.
Now the adopted storage is not been mounted by android, I wont be doing anything about this now as I have another 128 gig card arriving tommorow at which point I will need to setup mixed storage on that anyway, but it seems if you try to make another adoptable storage on new card, even if you have a nandroid backup, the previous adoptable storage is not preserved, suggesting the settings for it are not configurdd in a location that is included in nandroid backups.
I am not aware of a process that allows an already created adoptable storage partition to get remounted, I assume I would need to wipe the sd card again and rerun the commands to set it up which is not very user friendly.
It was running perfectly fine until I tried to make a new storage on my 128gig card, but is flawed if you are swapping out sd cards.
ok some clarification on the bench figures.
The red scard is the portable sdcard storage.
The yellow sdcard is actually the phone internal memory.
Internal memory is the adoptable storage.
So the F2FS isnt miles faster which makes sense as F2FS is supposed to be very close to exFAT in performance, faster than ext4 but not so much exFAT, however it has exFAT levels of performance with better data integrity mechanisms (exFAT has no safety mechanisms).
I found this out in two ways.
The internal memory test failed when I accidently left the bench folder read only in the adoptable storage.
I also added a custom location test of /sdcard which matched the yellow sdcard scores.
The question now is that is the slower write performance of a evo+ card going to be noticeable versus the internal storage speeds. So far indications seem no, also that by default my camera was writing to the sdcard anyway and has always worked fine.
It seems what goes on the mnt/expand or on /sdcard when device storage is specified is automatically decided by an algorithm.
Those who are want to use adoptable storage and have concerns over write speeds, there is pretty fast sdcards out there like the samsung pro which has 90mB writesm, but I think that card can only go up to 64gig in size.

Micro SD card wont be mounted by Samsung Tab a6

So I have a Samsung Tab a6 7 T280 wifi and I've inserted a MicroSD card (128GB). I've done this with the stock os first and I just got the message card can be removed safely. and it wouldn't let me mount it.
Now I've installed the Tinker V5.1 Stock Rom over it and it still happens. (wanted a faster os on it).
I can reformat the card with twrp to be ext4 or exFAT and it doesn't change a single thing. if I insert the sd card I get a quick preparing card and then instantly the message card can be safely removed. clicking on mount sd card in storage from settings doesn't do anything except prompt same message.
I'd try a different sdcard.
Okay, so I hope I can help, I have the SM-T280, I do not use Tinker ROM, instead I debloated my stock ROM and use an SPA kernel by @_mone. If you're trying to extend storage to your tablet, you'll need to use a PC to partition the SD card two PRIMARY partitions. I used on Windows MiniTool Partition Wizard (free), and I used a FAT32 partition and an ext2 partition. With the stock ROM/kernel I had problems using ext4 or extFAT which didn't make sense to me but it is what it is, and I used the app Apps2SD to handle all the work.
The main thing, you need to make sure your SD card has TWO (2) PRIMARY partitions.
Good luck.
zenful said:
Okay, so I hope I can help, I have the SM-T280, I do not use Tinker ROM, instead I debloated my stock ROM and use an SPA kernel by @_mone. If you're trying to extend storage to your tablet, you'll need to use a PC to partition the SD card two PRIMARY partitions. I used on Windows MiniTool Partition Wizard (free), and I used a FAT32 partition and an ext2 partition. With the stock ROM/kernel I had problems using ext4 or extFAT which didn't make sense to me but it is what it is, and I used the app Apps2SD to handle all the work.
The main thing, you need to make sure your SD card has TWO (2) PRIMARY partitions.
Good luck.
Click to expand...
Click to collapse
What about the Sizes? As in one partition 60 GB the other one also 60 GB ? Or the fat32 partition 1 GB and the ext2 the rest?
Panslothda said:
What about the Sizes? As in one partition 60 GB the other one also 60 GB ? Or the fat32 partition 1 GB and the ext2 the rest?
Click to expand...
Click to collapse
FAT32 is not for large capacity storage. Use exFat. There isn't much point in having such a large ext2 partition. It's incompatible with media transfer protocols unless you use a Linux system.
This device fully supports exFAT. I use a 64gb sdcard no issues.
ashyx said:
FAT32 is not for large capacity storage. Use exFat. There isn't much point in having such a large ext2 partition. It's incompatible with media transfer protocols unless you use a Linux system.
This device fully supports exFAT. I use a 64gb sdcard no issues.
Click to expand...
Click to collapse
Well my current one is exfat formatted. works perfectly fine on PC only thing is its 128 GB.... I mean is that maybe the issue? that its to large?
Panslothda said:
Well my current one is exfat formatted. works perfectly fine on PC only thing is its 128 GB.... I mean is that maybe the issue? that its to large?
Click to expand...
Click to collapse
I wouldn't think so, I'm sure it supports 128gb cards.
Just partition it into to halves. First partition exfat. Leave the other unformatted and see what happens.
ashyx said:
I wouldn't think so, I'm sure it supports 128gb cards.
Just partition it into to halves. First partition exfat. Leave the other unformatted and see what happens.
Click to expand...
Click to collapse
partitioned into a 40 GB exFAT partition and left rest unpartitioned. Didn't change anything. if I pop it in the tablet I get a short preparing sd card notification then immediately an SD card safe to remove notification...
I'm really confused by this. The tablet is new so I doubt that it's broken but I don't know. Do you know if there's a way to check any kind of logs on Android like dmesg on Linux as an example to see what happens with the sd card?
Panslothda said:
partitioned into a 40 GB exFAT partition and left rest unpartitioned. Didn't change anything. if I pop it in the tablet I get a short preparing sd card notification then immediately an SD card safe to remove notification...
I'm really confused by this. The tablet is new so I doubt that it's broken but I don't know. Do you know if there's a way to check any kind of logs on Android like dmesg on Linux as an example to see what happens with the sd card?
Click to expand...
Click to collapse
It's best just try out another card to rule out the card.
ashyx said:
It's best just try out another card to rule out the card.
Click to expand...
Click to collapse
Welp gotta buy one first then :/
Panslothda said:
Welp gotta buy one first then :/
Click to expand...
Click to collapse
Nobody can lend one for a few minutes? Or try the card in someone else device?
Panslothda said:
So I have a Samsung Tab a6 7 T280 wifi and I've inserted a MicroSD card (128GB). I've done this with the stock os first and I just got the message card can be removed safely. and it wouldn't let me mount it.
Now I've installed the Tinker V5.1 Stock Rom over it and it still happens. (wanted a faster os on it).
I can reformat the card with twrp to be ext4 or exFAT and it doesn't change a single thing. if I insert the sd card I get a quick preparing card and then instantly the message card can be safely removed. clicking on mount sd card in storage from settings doesn't do anything except prompt same message.
Click to expand...
Click to collapse
According to Samsung, the T280 will support a 256gb SD card BUT I know from experience that SD cards over 32gb can be VERY touchy. If you use a PC to remove all of the partition and then let the tablet try to do its own formatting and it still doesn't work, I'd say you have an incompatible SD card. That doesn't mean the card is bad but that it just won't work in the T280.
As an example, a Samsung EVO+ card (which can be found on eBay for $30) will probably work while a "no name" card from China, probably won't.
lewmur said:
According to Samsung, the T280 will support a 256gb SD card BUT I know from experience that SD cards over 32gb can be VERY touchy. If you use a PC to remove all of the partition and then let the tablet try to do its own formatting and it still doesn't work, I'd say you have an incompatible SD card. That doesn't mean the card is bad but that it just won't work in the T280.
As an example, a Samsung EVO+ card (which can be found on eBay for $30) will probably work while a "no name" card from China, probably won't.
Click to expand...
Click to collapse
I always use Samsung EVO cards and they always work perfectly. Price per GB they are very reasonable too.
Scandisk ultra i find ok no matter what size
Sent from my SM-T585 using XDA-Developers Legacy app

Categories

Resources