A while ago I started following the LOS 17,1 thread and saw a post about the storage reading speeds and was amazed how fast it was because when I did the test on my klteduos it only reached about half that speed.
What file system for each partition + external SDcard do you recommend for optimal performance? All internal to F2FS instead of Ext4?
I'm planning on upgrading to LOS 17.1 (and later 18) in case that's important. See my attached screenshots below.
I'm referring to this thread:
[OFFICIAL] LineageOS 17.1 for Galaxy S5 klte + Variants
Edit: FYI the LineageOS S5 klte family maintainer created a new thread here: [ROM][OFFICIAL][11] LineageOS 18.1 for Samsung Galaxy S5 (klte*) *** #include "std_disclaimer.h" /* * Your warranty is now void. * * I am not responsible for bricked...
forum.xda-developers.com
I don't think your external SD card would be close to internal memory speed even if you format it to EXT4 or F2FS.
I have Data formatted to F2FS and the phone loads apps much faster compared to EXT4 (as far as I can tell). If I recall correctly, you cannot use F2FS for system partition, because it simply won't boot. As for internal storage, I have it as EXFAT just to be accessible on Windows PC (I have no idea, if you can reformat it).
My phone is G900F, running latest Lineage 17.1 official build.
Reformatting is easily done through TWRP, so it's easy to experiment, just don't forget about backups (save them on your pc, if you gonna mess with Internal partition)
Related
Hello, in this thread I'll show you how to move the /data partition to your microSD card in order to increase the storage space, and bypass the speed limits of our poor eMMC memory.
Disclaimer:
I'm not responsible for any data loss or any other kind of problems. Follow the tutorial and everything will be fine. In case of problems, reflash the boot.img of your ROM or reflash the whole ROM and you'll reboot to Android using the usual /data partition.
Pros:
more storage space
slightly shorter app loading times
Cons:
you cannot eject your SD card from your phone when it is turned on
Requirements:
a computer
some kind of adapter to put the microSD into the computer
a 16 GB (or higher), class 10 (or better) microSD
Any recent L (untested), M (tested) or N (tested) ROM and TWRP 3
these two zips: https://www.androidfilehost.com/?w=files&flid=113749
Step 0: prepare the SD card
using your computer, shrink the only partition you have on your SD card and leave at least 6 or 7 GB of unallocated space. Be sure not to shrink too much the first partiton (which will continue to be used as a normal storage partition) because you'll have to store a nandroid backup in it! This is why I recommend you to use a 32 GB SD card. Then create a new partition using the unallocated space. If you're using Windows or OS X, create a fat32 partition, if you're using Linux, create an ext4 partition.
Step 1: patch the recovery and backup, then restore
In the AFH folder I posted in the requirements you'll find two zips. Download them and reboot to recovery, then take a nandroid backup of your /data partition and store it on your SD card (TWRP will automatically use the first partition of the SD card, the one with all your current content). Now flash twrp_fstab_patcher.zip. Power off your phone and then turn it on and boot into TWRP. Now go to Wipe > Advanced Wipe > select Data > Change Filesystem > choose ext4 or f2fs (as you prefer). Confirm and check that the Data partition has been formatted to the chosen filesystem. Restore the backup you've made.
Step 2: migrate the data of the internal storage
Reboot to Android and using a file manager that lists both of your SD card's partitions (FX works for me) and copy all the content of your internal storage (photos, music, app data etc.) to *2nd_sdcard_partition*/media/0.
Step 3: patch the kernel
Now you're ready for the last step. Flash kernel_fstab_patcher.zip and reboot. The end!
Warning: you need to reflash kernel_fstab_patcher.zip after you change/update ROM/kernel otherwise your phone will use the "old" data partition! Similarly, you must flash twrp_recovery_patcher.zip each time you update TWRP 3 (this doesn't happen very often).
Well, I hope I put all the needed info in this thread, I'll keep it updated with my latest suggestions etc. If you have got problems, report them. If you find something that doesn't make any sense in this post, tell me. Enjoy!
Hello everyone!
I have a Samsung S5 klte with Lineage 14.1 and addonsu installed (rooted). I read a lot of articles for to change permissions for to write on external sdcard but nobody is valid for Lineage. The file platform.xml in /system/etc/permissions/ is not the same of the examples of the articles. In the examples there is a string <permission name="android.permission.WRITE_EXTERNAL_STORAGE"> valorized that in Lineage is empty instead.
Please, may you help me with the correct procedure to assign to all apps the full access to an external sdcard?
Waiting a your reply, I wish you a nice day.
Sergio.
Hello all.
Phone, OS and Problem Description
I have some problems with my klte, always running a fairly recent Lineeage OS 14.x ersion. Sometimes when taking photos or having other write access to my external sd card, my phone reboots. It just crashes and the picture taken is not being saved properly. If I mount the sdcard using a microsd-to-sd adapter on my linux machine, I can see the corrupted file.
I them have to put the sd card into a Windows PC (i don't own one, but others in my household luckily do) to clean up the exFAT partition. This is a no go and often very annoying when travelling or being at work. Even TWRP won’t do.
Perhaps the sd card is broken, it's a Transcend Premium 64GiB Class 10 UHS-1 microsd card.
Anyway. I'd like to use ext4 (w/o journal), btrfs or f2fs or any other FS on my external sdcard as the only partition. I can mount and fsck that on my linux and in TWRP.
So, what did I do so far?
I tried f2fs.
Sadly, if i write a folder to such a partition in LOS14 using FX file explorer, it will belong to u1_a12 and the very same app won't even be able to list files in that directory. Yes, the execute bit is missing on that folder. So this won't work.
I tried ext4
Same as above
btrfs perhaps?
I didn’t try it so far.
Does this work with Resurrection Remix, Slim or crDroid? Are there any other options? I loved SlimBean on my Galaxy Nexus, but there isn’t a current official release for klte, sadly.
Any recommendations? I’m open to switching my rom, I had ResurrectionRemix Marshmallow for a year or so on my S5. Also, I’d be open for other ideas how to check my sdcard more thoroughly. Perhaps using badblocks or F3.
Thanks in advance for your opinion and input!
Any progress on this?
TWRP 3.2.1.x oreo based please test
by MURALITHARAN
* Fixed all partitions mount
* f2fs fs supported
* builded from oreo source
WARNING :
* Please take impotant backup data of your internal sdcard before installing this twrp
* when boot this twrp first time it will ask decrpt data just press cancel and go to wipe do format ( it will also wipe internal sdcard + Data so take important backups)
* Once ext4 format done now u can do change the fs to f2fs but it will also wipe internal memory + data
* after data done do cache as f2fs
* now reboot phone thats all
Download Link
https://www.androidfilehost.com/?fid=890278863836283217
jd_dpgc said:
TWRP 3.2.1.x oreo based please test
by MURALITHARAN
* Fixed all partitions mount
* f2fs fs supported
* builded from oreo source
WARNING :
* Please take impotant backup data of your internal sdcard before installing this twrp
* when boot this twrp first time it will ask decrpt data just press cancel and go to wipe do format ( it will also wipe internal sdcard + Data so take important backups)
* Once ext4 format done now u can do change the fs to f2fs but it will also wipe internal memory + data
* after data done do cache as f2fs
* now reboot phone thats all
Download Link
https://www.androidfilehost.com/?fid=890278863836283217
Click to expand...
Click to collapse
FILE NOT FOUND!!!
Delete this thread.
Hi @ll, my wife's S5 (klte) is suffering from a common display issue: depending on the display's brightness the lower half of the screen starts blinking / flickering.
(To avoid this behaviour the brightness is set to max atm)
As such I what to clone her S5 1:1 to another SM-900F, however what's the simplest way to achieve this. The S5 runs with the official LineageOS 16.0 with Mindethegapps and Magisk.
It has a 128 GB SD card, where the first 64 GB of the encrypted partition are mapped to the internal memory as an extension, while there's a second exFat 64 GB partition, which is used as external space.
I tried to nandroid with TWRP and copying the backup files the the exFAT, but I'm not able to restore those onto the other S5 as either can't see the exFAT partition while on TWRP, nor copying all to an OTG as the encryption key is not recognised on the other S5?!
What's your suggestion for cloning a device?