CM13's sdcardFS support on OP 3 ? (more info needed) - OnePlus 3 Questions & Answers

Hello everyone, I saw ''op3: Enable sdcardfs'' commit on CM13 nightlies changelog today. I read on the forums, it is about make read/write faster on devices which use emulated sd card (internal sd card), so my question is :
Is OnePlus 3 using emulated sd card? If it isn't, what is the advantage of having sdcardFS? For OTG?
Thanks.

Related

[Q] need Help: Fat32 or ExFat for using "ExtSd2InternalSd"

Hi I am using Omega Rom v15 and newest Redphil kernel. I want to use ExtSd2InternalSd feature. So please suggest what partition will be
best for me to format my Sandisk Class 10 ultra 64GB card???
Thanks in advance guys.
My 64gb microsd card came preformated to exFat. I would keep it that way unless you plan to switch to an aosp or cm based rom in the future. Those roms currently don't support exFat. exFat is the more modern file format. It support file sizes larger than 4gb. Do a search on file systems to get more details. Just my 2 cents.

[Q] cm10.1 Alpha 2 vs cm10 Beta 1 ?

hi i want to ask what is the best of those roms cm10.1 Alpha 2 or cm10 beta 1 ??
and how to make swap memories for both of them ?? please help
mps42 said:
hi i want to ask what is the best of those roms cm10.1 Alpha 2 or cm10 beta 1 ??
and how to make swap memories for both of them ?? please help
Click to expand...
Click to collapse
i just a noob so i might be wrong
have not tried with 10.1 alpha 2 but in 10.1 alpha 1 i experienced a battery drain..
it's like i could drain my batt in only 3 hours give or takes few minutes.. (or may be i have damaged batteries i don't know )
i think making swap memories for both of them is kind of the same..(you could google it on the net)
i created 256MB swap partition on my ext SD card 3rd partition linux swap formatted,
and use about 1Gig on the 2nd partition for Linked2SD fat32 formated ,
using external card reader and minitool partition wizard on my Laptop
and then you just need to activate it using terminal command
(
Code:
su
swapon /dev/block/mmcblk1p3
***!!!check where your swap partition first, mine is /dev/block/mmcblk1p3 !!!!
you can list what's on your sd-ext using :
Code:
su
fdisk -l /dev/block/mmcblk1
)
or maybe doing it automatically using third party program such as swapper2.
you want to be very careful, cause some peoples have reported that they hardbricked their phone after using swapper2,
make sure you have followed the steps and know what you do...
(check for the correct address for the swap partition)
cause you don't want to mess up with wrong partition..
when you do it correctly you will found values for swap memories when you execute command "free" in terminal emulator..
Code:
#free
total used free shared buffers
Mem: 361192 355706 5484 0 1612
-/+ buffers: 354096 7096
swap: 257036 1668 255368
cheers..
Dh1
ps:
sorry for my bad English, it's just not my mother tongue..
mps42 said:
hi i want to ask what is the best of those roms cm10.1 Alpha 2 or cm10 beta 1 ??
and how to make swap memories for both of them ?? please help
Click to expand...
Click to collapse
silly me.. but i just realized
if you mean about swaping internal and external sd,
you just need to edit /etc/vold.fstab (use root explorer or any root editor)
and replace /storage/sdcard1 with /storage/sdcard0 and vice versa in the bottom line of the file
marked by #internal sdcard and #externel sdcard
save and reboot...
prefer alpha1 because of alpha 2 has a terrible battery drain
yup battery drain is a big issue...it's still in alpha stage now anyway :laugh:

[Q] [Script Development] Expand Ram with external SD card.

Background....
I used swapper2 and bricked my device.
Still I can't stop myself.
We all SGW I8150 users have low ram just 351MB.
Creating a startup script that adress swap partition on EXTERNAL SD card ( Preferred Class10) can be usefull for us to inrease our devices speed and responsiveness.
mkswap /dev/block/mmcblk1p2
The script can also include I/O tweaks for external SD card...
Inspired from: ( Don'nt flash this. It is not compatible. Also it targets main sd card.)
http://forum.cyanogenmod.com/topic/208-swap-enabledisable/page__st__10
http://www.igottadroid.com/ModMarket/Listings/Yank5551630095.html
V2:
Also another idea to swap SD0 to SD1 and the idea above.
Solved.
http://www.igottadroid.com/ModMarket/Listings/Yank5551630095.html
the best choice for now..try use turbo boost..it's not increase your ram,but it will free more ram..and your phone become smooth and responsive
Sent from my GT-I8150 using Tapatalk 4
i want to ask as i didn't understand
you provide us a script for expanding Ram or asking about a script to increase ram?

[MOD][21FEB] ExtSd2InternalSd v5JB V6KK|Increase your data storage|100% Working|

STOP! THIS MOD IS ONLY FOR SAMSUNG ROM! NOT WORKING ON ASOP, CM OR OTHER!​
Hello folks,
i'm new of gs4 but not of android. I'm a php developer and I like to play with my android devices and Linux but I'm surely not a king on Linux little more than a newbie
But first of all i want to describe the scenario:
THE PROBLEM
Since in the past i had a desire hd and i had a normal management of internal memory and sd as separate process my problem is to have a similar management on my gs4. Also i have 16gb version of gs4 and i want install a lot of apps!!! Also i have a 64gb sd card available. I have noticed that my gs4 installs all on internal sd also and apps download all their resources on internal sd. So with some heavy games and heavy app the internal memory became quickly full!!!
THE SOLUTION
My aim so became to use the external sd as internal sd and internal sd ONLY for apps installation so became used as internal memory!
And... yes after a lot of testing and work i have to make this working!!! So now my 64gb external sd is used for all tasks which the internal sd was used and the internal sd is only used for apps storage!! All extra files (resources, caches, etc etc) are stored in my external SD!!
HOW TO GET IT >>> VERY SIMPLE
Download ExtSd2InternalSd here correct latest version for JB(4.3) or KK(4.4.2)
WHAT YOU NEED
International galaxy s4 (i9505) with root, insicure kernel and kernel with init.d support
External sd card class 4 or superior. (you can try with class 2 also and tell us how it goes)
Rom with init.d support (if not init.d support see below)
My file attached
THE GUIDE
First of all make a nandroid backup!! I'm not responsable for any problem! You make this procedure at your risk!!!
Changelog and upgrade steps in second post
Format external sd card from your pc as fat32 or extfat
Copy attached zip in you external sd. Choose the right zip. If you have formatted your sd as fat32 choose _fat32 version, if the filesystem is extfat choose _extfat version
Go into recovery
Flash the zip for your sd card file system
Reboot and....enjoy your memory increase!!!!
IMPORTANT NOTES:
If you want to access to your INTERNAL SD you have to go with astro or ES filemangaer into /sdcard/intSdCard/0. Take attention to go into intSdCard
After the flash, please copy all content of /sdcard/intSdCard/0 to /sdcard to avoid file conflicts and files lost.
When you plug the phone to pc, the first sd is the external and you can access internal into intSdCard/0. DON'T TOUCH SECOND PARTITION SHOWED!
HOW CAN I CHECK IF ALL IS OK?
Is very simple.
With a file explorer with root ability go into /sdcard. Check If in this location you can see your files of your EXTERNAL SD card and check if you can see in /sdcard/intSdCard/0 the content of INTERNAL sd
If you want to remove the mod with a file explorer with root ability, delete the file 11extsd2internalsd from etc/init.d folder
IF YOU HAVE ISSUES
Please report:
Rom and kernel in use
the file system of external SD card and attach here
the log file stored in data/extsd2internalsd
IMPORTANT NOTE FOR DEV/ROM COOKER/WHO WANT'S TO PORT MY MOD
If you want to use the ExtSd2InternalSd in your ROM, give proper credit and a HTML link to this thread.
Do not modify it, do not rebrand it: the name is ExtSd2InternalSd
Modification and redistribution of the attached script is not permitted at all without permission of Mattiadj member
This means that you cannot feel free to zip up the attached script with other tweaks and this means that it is not be edited and shared.
WARNING for USERS: If you use or encounter a ROM with the ExtSd2InternalSd without proper credit given and no ExtSd2InternalSdr source links, please make the Developer aware of it, and if necessary, please let me know about it. Thank you.
Personal Use: You may tweak the ExtSd2InternalSd (leaving credits intact) to your own personal liking as long as it is NOT redistributed in any way.
If you like my job, buy me a beer
Help Mattiadj to buy a Galaxy s5 to make ExtSd2InternalSd mod
Now....feedback, feedback and feedback!
UPGRADE STEPS
Simply flash new zip over the older one.
Wipe cache and davilk just for sure.
CHANGELOG
v6 - 21/02/2014
v6 is compatible with latest 4.4.2 leaked XXUFNAD. Not use v5 for kk
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
v5 - 10/12/2013
Extended compatibility with all TW roms
Code clean
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
v4.1 - 19/11/2013
Fixed permission problem with some app like beatiful widgets and others
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
v4- 14/11/2013
Completely new code
Changed the mount point of internal to /sdard/intSdCard/0
Fixed problem of app2sd apps which disappear
Fixed bootloop problem
Fixed first boot camera lag
Fixed timing problem for switch on some rom/kernel combo
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
v3- 31/10/2013 Hallowen edition
TW Android 4.3 (MJ5 and above) support
Changed the mount point of internal to /data/media/intSdCard/0
Fix for app installed on external sd somentimes being lost
Some cases of bootloop fixed (need testing, please report)
Speed improvement!
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
v2 - 12/10/2013
Not need to install or use Folder mount app anymore! Simply flash and enjoy!
Media files problem fixed (wait for second reboot to make it ok or force media scanner one time)
Same size in memory managment fixed and not inverted!
Native app2sd support restored
Some app were not installable if the internal free space is less than the app space. Now this problem is fixed
Speed improvement!
Now is possibile to flash it before the first boot after new rom installation.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
v1 - 3/10/2013
First working relase
US Variants
Is this working on any of the US Variants? Specifically Verizon SCH-1545?
Thanks and Nice Work!!!
EMSpilot said:
Is this working on any of the US Variants? Specifically Verizon SCH-1545?
Thanks and Nice Work!!!
Click to expand...
Click to collapse
I don't know mate. Try and report... I have the i9505 so I can't test on other device
From universe with my gs4 snapdragon powered! now Free
SCH-1545 Verizon S4
Here are the Screen Shots you requested. I formated SD Card with extfat.
It does not work on my S4.
EMSpilot said:
Here are the Screen Shots you requested. I formated SD Card with extfat.
It does not work on my S4.
Click to expand...
Click to collapse
Which kernel do you have?
Do you see internal storage in /data/media/0?
Have you parched your system with folder mount?
From universe with my gs4 snapdragon powered! now Free
Stock Kernel
mattiadj said:
Which kernel do you have?
Do you see internal storage in /data/media/0?
Have you parched your system with folder mount?
From universe with my gs4 snapdragon powered! now Free
Click to expand...
Click to collapse
I have the stock Samsung Dev Phone Kernel. Version 3.4.0-562219
Yes I see internal in /data/media/0.
Yes I patched my system with Folder Mount.
EMSpilot said:
I have the stock Samsung Dev Phone Kernel. Version 3.4.0-562219
Yes I see internal in /data/media/0.
Yes I patched my system with Folder Mount.
Click to expand...
Click to collapse
Try to use a custom kernel with init.d support. Init.d support is required
From universe with my gs4 snapdragon powered! now Free
Unfortunately it's not working for me. Phone just boots as normal, external card is still external and all my apps installed work as normal with their data still on internal SD.
Running foxhound 2.0 with faux beta. Kernel doesnt have exfat support so I only tried fat32. And yes, I installed foldermount and patched system.
Please keep working on this, would be excellent to have it working.
Wait up 2mins before check in /sdcard, mod needs to make a lot of stuffs after first boot
Does it work with 9500
drlalitbida said:
Does it work with 9500
Click to expand...
Click to collapse
I don't know...you can try...i have i9505
init.d
mattiadj said:
Try to use a custom kernel with init.d support. Init.d support is required
From universe with my gs4 snapdragon powered! now Free
Click to expand...
Click to collapse
My kernel has init.d support. I even tested it with Universal Init.d.
EMSpilot said:
My kernel has init.d support. I even tested it with Universal Init.d.
Click to expand...
Click to collapse
Is your a i 9505?
From universe with my gs4 snapdragon powered! now Free
mattiadj said:
Is your a i 9505?
From universe with my gs4 snapdragon powered! now Free
Click to expand...
Click to collapse
No SCH-1545
EMSpilot said:
No SCH-1545
Click to expand...
Click to collapse
I haven't this phone... I can't tell you why it is not working...
From universe with my gs4 snapdragon powered! now Free
Screen Shot
mattiadj said:
I haven't this phone... I can't tell you why it is not working...
From universe with my gs4 snapdragon powered! now Free
Click to expand...
Click to collapse
Can you please post your Screen Shots?
/mnt folder ant take a shoot
/dev/block/vold folder and take a shoot
with terminal emulator type su then mount and take a shoot
Thanks
EMSpilot said:
Can you please post your Screen Shots?
/mnt folder ant take a shoot
/dev/block/vold folder and take a shoot
with terminal emulator type su then mount and take a shoot
Thanks
Click to expand...
Click to collapse
It is almost equal to yours so it should works but I don't know why not.
This mod is very complicated. For example a version which works for i9500 doesn't works to i9505 so... We have to wait for i9505 users feedback.
For me it's fully working from 5 days and finally I can feel the power of gs4!!!
From universe with my gs4 snapdragon powered! now Free
Good
Sent from my Lenovo A690 using xda premium
Perhaps a Kernel problem ?
Hello Mattiadj,
I don't know why it doesn't work for me.
As a matter of fact, the system sees that i have 2 internal SD.
I have a Gt-i9505 (French version) rooted with CF-Auto Root.
I have init.d support with universal init.d
The Rom is samsung MH8.
I've installed Folder Mount and patched the system.
I think the problem might be a Kernel problem. Which one do you use ?
Thanks a lot.
PS: I used your patch when I had a GS 3, and it worked perfectly.

Custom kernel for stock ZE500CL

Disclaimer: I am not responsible for your broken phone , broken memory card, etc. I have not this device and make this kernel randomly
Should be work on 12.16.5.118 firmware, may be and lower
Bootloader should be unlocked otherwise your device can't start with custom kernel!!!
Kernel Features:
1.
2. Add extra governors Powersave, Conservative, ConservativeX, BioShock, Wheatley, Lagfree, Adaptive, Lionheart, Hotplug
3. Add extra I/O schedulers Deadline, Zen, Fiops, VR, BFQ
4. In default governor Interactive set touchboost_freq to 800 MHz
5. Added KVM support
6. Added CIFS support
7. Init.d support. for working you should install BusyBox to xbin folder, then create system/etc/init.d folder with 777 permissions.
8. Build with GCC 4.9
Bugs:​1. exFAT SD cards working, but it not show in standart file chooser therefore you can't give permissions to write to SD card. Therefore in some apps(SD Maid, for example) you will not see exFAT SD card. In some apps edit platform.xml by NextAPP SDfix app solve write to SD card. For FAT32 SD card you will not see this problem
How to install:​1. Download ADB& Fastboot drivers for PC https://drive.google.com/file/d/0B-Fin8UxrD6PUmN6SkVPMXR3UTA/view?usp=sharing and extract it in any folder
2. Put new_boot500cl.img in folder with ADB& Fastboot drivers
3. You should reboot your phone in the droidboot mode. (turn off you gadget then press Turn off button and volume + button)
Then go to the ADB& Fastboot folder and hold Shift + Right Mouse button and write this command:
Code:
fastboot flash boot new_boot500cl.img
4. Reboot to Android
If your device can't start you forgot unlock bootloader or I make not working kernel
Don't panic! Take stock boot.img from stock firmware and flash it using previous instruction- and device will be start
Kernel image here:https://yadi.sk/d/FSfLDcBzsGFey
Kernel source here: https://github.com/BORETS24/Zenfone-2-500CL
XDA:DevDB Information
Custom kernel for stock ZE500CL, Kernel for the Asus ZenFone 2
Contributors
BORETS24
Kernel Special Features:
Version Information
Status: Testing
Beta Release Date: 2016-06-05
Created 2016-06-05
Last Updated 2016-06-06
Please check exFAT SD card work
Hello and thanks for to works...Not compatible in the cm12.1 for ze500cl, not booting...
Notonlyeyes said:
Hello and thanks for to works...Not compatible in the cm12.1 for ze500cl, not booting...
Click to expand...
Click to collapse
Sorry, but where i wrote that it compatible with CM 12? even in project name I wrote "for stock"
BORETS24 said:
Sorry, but where i wrote that it compatible with CM 12? even in project name I wrote "for stock"
Click to expand...
Click to collapse
Quiet I know, I wanted to try ... all sorted ... good job
Notonlyeyes said:
Quiet I know, I wanted to try ... all sorted ... good job
Click to expand...
Click to collapse
I don't know good job or worst job... may be exFAT sd card will not working, need users with this device, they told, I hope
P.S. exFAT SD cards working, but it not show in standart file chooser therefore you can't give permissions to write to SD card. Therefore in some apps(SD Maid, for example) you will not see exFAT SD card. In some apps edit platform.xml by NextAPP SDfix app solve write to SD card. For FAT32 SD card you will not see this problem
Hello and thank you very much for the work. As I have a FAT32 SD card I have no problem.
My stock ZE500CL with 12.16.5.118 firmware is more snappier than ever and the battery keeps much longer.
PS: I made the account just to say thank you BORETS24
Hello @BORETS24 ... can you please building complete the kernel to cm12.1 with your changes , cpu frequencies etc.
Kernel source : https://github.com/jrior001/android_kernel_asus_Z00D/tree/cm-12.1
Notonlyeyes said:
Hello @BORETS24 ... can you please building complete the kernel to cm12.1 with your changes , cpu frequencies etc.
Kernel source : https://github.com/jrior001/android_kernel_asus_Z00D/tree/cm-12.1
Click to expand...
Click to collapse
1.I have not device for test
2. I hate CM
Better if somebody take changes from my source and port it to CM kernel
..
new_boot500cl.img
hi ,where i get this new_boot500cl.img?thx
any update to your kernel?
Hello BORETS24,
can u make a flashable kernel for ze500cl(Z00D) CM12.1 with usb wireless supporting .
i want to use my tp-link wn722n (ath9k) for my ze500cl.

Categories

Resources