Blocked access to Ext4 partition (SDCARD) from PC (win10) - LineageOS Questions & Answers

I have LineageOS 16 installed on a BQ Aquarix X pro phone with a 128GB SDCARD formatted to EXT4, however, I cannot edit the content from windows 10, any idea on how to configure the privileges via ADB to be able to write on the SDCARD?
I have achieved this by installing a custom Magisk module, but it is not possible to edit or move the files that have been copied from internal memory:
htt*s://mega.nz/file/uaRBzYyL#2y2Q_3UQ5ynJYWQ5mTqWrlBwQ5bCPDP71JKfgW_4m5g
any idea?

ATAGA said:
I have LineageOS 16 installed on a BQ Aquarix X pro phone with a 128GB SDCARD formatted to EXT4, however, I cannot edit the content from windows 10, any idea on how to configure the privileges via ADB to be able to write on the SDCARD?
I have achieved this by installing a custom Magisk module, but it is not possible to edit or move the files that have been copied from internal memory:
htt*s://mega.nz/file/uaRBzYyL#2y2Q_3UQ5ynJYWQ5mTqWrlBwQ5bCPDP71JKfgW_4m5g
any idea?
Click to expand...
Click to collapse
There is a big difference in defining sd card as adopted or removable storage. Encryption and adopted may give extra trouble.

kurtn said:
There is a big difference in defining sd card as adopted or removable storage. Encryption and adopted may give extra trouble.
Click to expand...
Click to collapse
The card is as removable storage or it would not be possible to access it from the PC. It is the usual theme, the subject of privileges ... since the VFAT and FAT32 format does not have it, but with VFAT it is not compatible and with FAT32 there is the limitation of the size of the files, seriously, nobody has given with a solution in LineageOS ?, is a well known problem.

Related

Internal Storage?

In the Settings/SD & phone Storage, it shows
SD CARD
Total Space: 1.9GB
Available Space: 1.1GB
INTERNAL STORAGE
Total Space: 6.6GB
Available Space: 6.2GB
PHONE MEMORY
Total Space: 748MB
Available Space: 210MB
Is it possible to move my apps to INTERNAL STORAGE? I tried Link2SD and App 2 SD, but it doesn't allow me to move my apps to internal storage, only from phone to SD card. Thanks!
I don't think that it is possible to move apps to the internal storage. I'm not sure why there is such a huge space that is essentially useless on this phone. At any rate, the easiest way to fix any problem that you have been having is by buying a larger SD card. I know that it probably isn't what you wanted to hear but I think it is the easiest solution. I am not 100% sure but I think that the largest SD supported by the dinc is 8gb, I wouldn't mind being able to stick in a 16gb or 32gb and have all of my music readily available instead of using google play but GP is certainly a great alternative, especially with my grandfathered unlimited data I hope this helps!
I do believe CM7 has an option to switch what you use for internal storage.
If your getting the low space warning or just want to install more apps without getting it, then check out the ext4 mod. It moves your apps data from a tiny partition to a much larger partition giving you more room for apps. http://forum.xda-developers.com/showthread.php?t=1488351
cmlusco said:
If your getting the low space warning or just want to install more apps without getting it, then check out the ext4 mod. It moves your apps data from a tiny partition to a much larger partition giving you more room for apps. http://forum.xda-developers.com/showthread.php?t=1488351
Click to expand...
Click to collapse
Don't a lot of the ROMs have that mod built in now?
nschiwy said:
Don't a lot of the ROMs have that mod built in now?
Click to expand...
Click to collapse
Yes there are many that do.
The dinc should support up to 32 Gb sdcards according to the specs. I'm using a 16Gb card with no problems.
Also, as has been said, on CM7 you can switch the mounting of the internal storage (emmc) and the sdcard, so the phone sees the emmc as the sdcard. This would allow you to put apps on the emmc.
I must say it seems a bit odd how HTC set up the partitions on the dinc. It is good for one thing though - if your'e a ROM flashing addict, Boot Manager can install ROMS to the emmc. The emmc is faster than your average sdcard, so it works great.
Thanks everyone for the replies. I'm not sure, but is this ROM EMMC supported to switch to internal storage?
http://forum.xda-developers.com/showthread.php?t=1267158
It says "EMMC PC mount works" but not sure if I could use this to store my apps in. If it is, do I just drag the apps folders into here?
Any replies would be greatly appreciated!
Guahan said:
Thanks everyone for the replies. I'm not sure, but is this ROM EMMC supported to switch to internal storage?
http://forum.xda-developers.com/showthread.php?t=1267158
It says "EMMC PC mount works" but not sure if I could use this to store my apps in. If it is, do I just drag the apps folders into here?
Click to expand...
Click to collapse
Emc pc mount means when you plug the phone to the pc and select disk drive the sd and emmc mount to the pc. I assume at one point the rom had issues doing so.
Chek out an app called link2sd. It can move apps to both the sdcard an emmc.
cmlusco said:
Emc pc mount means when you plug the phone to the pc and select disk drive the sd and emmc mount to the pc. I assume at one point the rom had issues doing so.
Chek out an app called link2sd. It can move apps to both the sdcard an emmc.
Click to expand...
Click to collapse
In Link2SD, it only shows MOVE TO SDCARD, not EMMC..
Guahan said:
In Link2SD, it only shows MOVE TO SDCARD, not EMMC..
Click to expand...
Click to collapse
In the link2sd preferences there is an option to activate saving to emmc.
I see...
Native apps2SD settings > Install Location > Automatic, Internal, or External.
If I choose Internal, it will store the apps in the drive with the 6.6GB?
Update:
It's not saving the apps in the Internal Storage that has 6.6GB, it's either saving it on my phone or sdcard
Guahan said:
I see...
Native apps2SD settings > Install Location > Automatic, Internal, or External.
If I choose Internal, it will store the apps in the drive with the 6.6GB?
Update:
It's not saving the apps in the Internal Storage that has 6.6GB, it's either saving it on my phone or sdcard
Click to expand...
Click to collapse
Hmm im not sure i havent used it since the ext4 mod came out.
What EXT4 mod? Does it do the same thing?
Is it this one?
http://forum.xda-developers.com/showthread.php?t=1488351
I'm not getting a low on space issue, just wanting to move apps to the 6.6 GB internal storage section.
Guahan said:
What EXT4 mod? Does it do the same thing?
Is it this one?
http://forum.xda-developers.com/showthread.php?t=1488351
I'm not getting a low on space issue, just wanting to move apps to the 6.6 GB internal storage section.
Click to expand...
Click to collapse
The ext 4 mod moves the /data/data partition on to a folder on the l data partition giving you significantly more space to install apps. You.could mount the emmc as sd an vise versa then mobe apps to the sd card which is actually the emmc.
The link I put, is that it?
Guahan said:
The link I put, is that it?
Click to expand...
Click to collapse
Yes it is.
Your 2GB is the MicroSD external card, mounted by CM7 as "SD Card", and is used by almost everything, including app storage.
Your 6.6GB is a partition of the eMMC internal card, advertised as an internal 8GB, mounted by CM7 as "/mnt/emmc", and used by almost nothing. Some people use it as a media drive and place their music, pictures, and videos here.
Your 748MB is a partition of the eMMC internal card, mounted by CM7 as "Internal Storage", and is used by the system and the apps. A 150MB partition within this partition called "/data/data" causes "low on space" problems, which can be fixed by uninstalling certain apps or using the Ext4 mod.
If you didn't upgrade your MicroSD card, and you don't use the eMMc for media, you could force CM7 to use the 6.6GB instead of the 2GB. CM7 usually has an option for this called "Use internal storage" but I can't find it on the CM7 builds for the Incredible. So I used the following procedure instead:
1. Copy all the files in your current SD card to the eMMc
2. Edit the vold.fstab file manually, or download it here: https://www.box.com/s/e66b71720ce28911167d
3. Copy the file over using adb or root explorer
adb
Code:
adb remount
adb push vold.fstab /system/etc/vold.fstab
root explorer
Code:
use PC to transfer vold.fstab to your SD card
open root explorer
copy the vold.fstab file
navigate to /system/
navigate to /etc/
mount as r/w
paste the file
4. reboot and enjoy

[Q] How to format my MicroSD to move the application to the SD

Hello
I bought a 32 GB microSD and I create a partition of 5 G in FAt 32 and the rest in Ext4. When I try to use App2SD to move the prog to MicroSD, it give me the info that there is no external SD available.
How to solve this issue
Regards in advance
gpga said:
Hello
I bought a 32 GB microSD and I create a partition of 5 G in FAt 32 and the rest in Ext4. When I try to use App2SD to move the prog to MicroSD, it give me the info that there is no external SD available.
How to solve this issue
Regards in advance
Click to expand...
Click to collapse
It does not work. Only way I've read about so far is to root the phone and use something that is called directory binder or something.
When unrooted it is up to the apps to support data storage on the external sd (just storage, not a complete "move app" function)
swejuggalo said:
It does not work. Only way I've read about so far is to root the phone and use something that is called directory binder or something.
When unrooted it is up to the apps to support data storage on the external sd (just storage, not a complete "move app" function)
Click to expand...
Click to collapse
I'm rooted, I will check the directory binder
As a complement, the ext4 partition is not seen when I connect the phone to my computer, so I cannot install big video files on it.

[Q]NTFS SD Card Mount on NOTE II

Hello everyone, I know this thread is already present and I also red the info regarding with it, but it seems my problem is something I can't solve with the help of those previous instructions. I have an I idea how to solve it but I'm hesitant to do it because I don't know if it works, and I kinda scared to do it because I don't want to buy again another SD Card if ever the present one will break.
Problem: I have a torrent app in my Note II and I liked to use it always because it downloads fast, but the problem is that whenever I want to download files that is more than 4GB in size, I always receive an error that the file I want to download is to big for the file system; (file system limit exceeded), and I learned that this error occurs when my storage system is FAT/FAT32, then I read a thread in this forum that this will be solved by converting my SD Card's file system to NTFS and use Paragon NTFS Mount app so that my NTFS Card will be accepted by my phone, alas I did as what was instructed, converted my SD Card to NTFS, mount my card to storage/sdCard/extcard <---Created another path as it was said that using the default path would make it not work. But when I re-started to download files it fails to me again, the same problem encountered (file system limit exceeded). I even converted my SD card to exFat because I heard that this can handle large files, more than 4GB but also to no avail.
Solution(not tested yet): I am planning to make 2 partitions in my SD card, one partition would be fat32 and the other would be NTFS, and use also paragon app, so that when I insert my card to my phone, the phone will mount the FAT system to the fat32 partition and leave the NTFS partition alone and not be used.
Does this method of mine will work? Are there any ideas aside from what I had in mind that will also help me solve my little problem. I know that this problem of mine is not that big, and I can just refer it to other threads and the google but I want to know from the pro's and OP's here if my method is possible.
Thank you!
Kudos to all!:good:
MonteCarlo:laugh:
You need to define a mount point like sdcard0 is internal sd sdcard1 is external sd fat32 partition sdcard2 as the ntfs partition which is really hard to do on a samsung based rom (even windows doesnt recognize the second partition on sd cards ) you can format the sd to ext3 or ext4 it's the best possible solution
erdemc said:
You need to define a mount point like sdcard0 is internal sd sdcard1 is external sd fat32 partition sdcard2 as the ntfs partition which is really hard to do on a samsung based rom (even windows doesnt recognize the second partition on sd cards ) you can format the sd to ext3 or ext4 it's the best possible solution
Click to expand...
Click to collapse
I see, too bad, but thanks any way. Does the procedure in formatting my sd card to ext3 or ext4 is the same as when I format my card to fat32 other system, or would you use a program to do it.
Why are you using Fat32 or NTFS just format the SD card to ExFAT. No size limit and compatible with Note2 & Windows
I think the problem you are having is due to the torrent app you are using, it might be trying to use the internal phone memory as a temporary location for the file you are downloading. Try changing your torrent app
(I had this problem with the official utorrent app)

(SOLVED!) [Q] Cannot find external memory card to enable SD write access for any app.

I know the method one is supposed to follow, the app prompts you to select your external memory card in the next screen, and then you are presented with a screen where you select your SD card in the sidebar on the left. The problem is, on my Zenfone 2, the SD card just isn't being shown in that screen.
I've made sure 'Hide SD Card' is unchecked, but the selector app just refuses to see my SD card, no matter what, and no matter which app I try this from.
All apps can read my SD card just fine, and the Settings > Storage dialog also shows the SD card properly, so I know it's not an issue with the card being detected. It's just the 'write access permission' dialog/app that refuses to see my SD card.
Any leads on what could be causing this, or what I could do? I tried giving my SD card a name, via my laptop, but that didn't work either.
Bump, anyone managed to grant SD write access on your Zenfones?
write access on sdcard with lollipop 5.0 is a know issue...
You must be root and install https://play.google.com/store/apps/details?id=nextapp.sdfix&hl=fr to get write access.
ilos said:
write access on sdcard with lollipop 5.0 is a know issue...
You must be root and install https://play.google.com/store/apps/details?id=nextapp.sdfix&hl=fr to get write access.
Click to expand...
Click to collapse
Thanks for reply, but are you sure about this? As far as I know, write access is an issue in Kitkat/4.4, and in Lollipop, this was fixed by allowing the user to explicitly grant write access permission to the external MicroSD card, using a special folder picker dialog . I can get to the picker dialog, but the picker doesn't show my SD card in there, to select.
Even the app you linked me to is pretty clear in specifying that this is for Kitkat/4.4, which had a known policy against allowing apps write access.
I have previously posted this issue, both in here and in the Power Amp forum (another 3rd Party app which suffers from this).
There appears to be no solution yet. According to Google, app developers can allow users to select to grant permission to edit files on Ext SD cards, but even knowledgable developers seem to be struggling to implement this.
All right, I solved the problem, for anyone interested.
The card (SanDisk Ultra, 64 GB) came pre-formatted as exFat, which it appears Android only has read ability for.
I reformatted the card as NTFS first, and that didn't work either. I then tried FAT32, which worked perfectly, I can now grant external SD write access to any app, as expected.
The only downside is that I cannot store any files larger than 4 GB on my memory card, but that isn't something I foresee needing to do, for now.
Write access is solved by Google in 5.0.1 and up. Without app provided in my Last post i can't backup anything on sdcard With titanium backup. In preroot thread someone confirmed write issue solved with this app. Also i've the same sd than you and don't needed to format.
Envoyé de mon ASUS_Z00AD
I'm not sure if it related to ASUS implementation or Android itself, but besides standard media_rw rights there is another problem. chmod of /mnt is 700, not expected 770.
If you have root access, try install Folder Mount, the app will ask to patch you android system for 2 times then after reboot for two time after each patch you get full access sdcard on you phone.
Sent from my SM-G900F
DanielKennethRego said:
All right, I solved the problem, for anyone interested.
The card (SanDisk Ultra, 64 GB) came pre-formatted as exFat, which it appears Android only has read ability for.
I reformatted the card as NTFS first, and that didn't work either. I then tried FAT32, which worked perfectly, I can now grant external SD write access to any app, as expected.
The only downside is that I cannot store any files larger than 4 GB on my memory card, but that isn't something I foresee needing to do, for now.
Click to expand...
Click to collapse
Could you provide an example of an app that had not permission to write on external sd before you formatted it in Fat 32, and that have the permission after?
hardhu said:
Could you provide an example of an app that had not permission to write on external sd before you formatted it in Fat 32, and that have the permission after?
Click to expand...
Click to collapse
Every app I happened to try. For example X-Plore file manager and FolderSync.
DanielKennethRego said:
All right, I solved the problem, for anyone interested.
The card (SanDisk Ultra, 64 GB) came pre-formatted as exFat, which it appears Android only has read ability for.
I reformatted the card as NTFS first, and that didn't work either. I then tried FAT32, which worked perfectly, I can now grant external SD write access to any app, as expected.
The only downside is that I cannot store any files larger than 4 GB on my memory card, but that isn't something I foresee needing to do, for now.
Click to expand...
Click to collapse
I am having the same issue. How did you format a 64GB card using FAT32? I thought the limit for FAT32 is 32GB.
ZenFone 2, Sansung EVO 64GB (exFAT)
More info on solution
I found out that FAT32 supports larger drives, but Windows will not (easily) format FAT32 to drives >32GB.
I used fat32format to format the card. Apparently I cannot post an outside link yet, so google: ridgecrop.demon.co.uk fat32format
To reiterate the issue, the access-granting UI that is on the ZenFone 2 lollipop (5.0) will not show the sd card. The process of what is supposed to happen is here: again, google metactrl.com sdcard-on-lollipop
yc1437 said:
If you have root access, try install Folder Mount, the app will ask to patch you android system for 2 times then after reboot for two time after each patch you get full access sdcard on you phone.
Sent from my SM-G900F
Click to expand...
Click to collapse
I can confirm that this worked on my phone with root.
Great
natebizu said:
I am having the same issue. How did you format a 64GB card using FAT32? I thought the limit for FAT32 is 32GB.
ZenFone 2, Sansung EVO 64GB (exFAT)
Click to expand...
Click to collapse
I had first formatted it as NTFS, and tried to use it in the phone. The phone told me the card wasn't formatted, and offered to format it for me. When I allowed it, it has formatted it as FAT32.
I'd really prefer not having to go to FAT32 as I routinely store and move files larger than 4GB on my microSD. I think this is an Asus issue, they just need to make the microSD card visible on the app selector.
So I have now had my Zenfone 2 for 1 week and I noticed that when I tried backing up my phone with Titanium backup to my SD card, it would not allow me to do so. I could only back up to the internal storage. Am I understanding that this is an issue with Lollipop rather then with the zenfone?
Regarding writing note..txt.saving...on sd card...the only 2 i tried es file explorer and fx file manager are the ones working..i can freely edit with those while files on external sd drive...imbut im still waiting for mix explorer to that...
DanielKennethRego said:
All right, I solved the problem, for anyone interested.
The card (SanDisk Ultra, 64 GB) came pre-formatted as exFat, which it appears Android only has read ability for.
I reformatted the card as NTFS first, and that didn't work either. I then tried FAT32, which worked perfectly, I can now grant external SD write access to any app, as expected.
The only downside is that I cannot store any files larger than 4 GB on my memory card, but that isn't something I foresee needing to do, for now.
Click to expand...
Click to collapse
How did you "grant external SD write access to any app"? Did this require root? (Without root I can write to external SD with ES File Explorer and Astro File Manager, but can't do so with other 3rd party apps of interest to me.)
I had the store where I bought my ZENFONE 2 install my 64 Gig SD card.
I can see the external memory, and even make folders, but it won't allow me to save any files to it. At the top of the screen, where all the little icons are, it shows the symbol for the SD card, but it also has an "X" on the symbol. Settings doesn't show an option for formatting the SDCard. Is it because it is already formatted? Would appreciate some advice. Lawrence

[ROOT] Mount microSD card as internal storage?

Is it possible to use a microSD as the FireTV 2's internal storage?
AFTVnews put out the following article in 2014 showing how to mount a usb as internal for the FireTV1:
http://www.aftvnews.com/how-to-use-a-usb-drive-as-the-fire-tvs-internal-storage/
Has there been an update to this for the next generation?
Background: My whole goal is to use Quasar addon with the microSD. I have a rooted FireTV2 running Paragon NTFS to mount a 128GB Samsung micro USB formatted for NTFS. I am currently using Kodi 16.1 to view files >4GB and I have no issues viewing movies I placed on the card greater than 4 GB. The issue is that when I go to the Kodi file manager and add the NTFS source, it still shows the size of the NTFS microSD as the FireTV internal storage size (in my case 3.54 GB). Therefore I am unable to write files greater than the internal storage to the microSD from within Kodi, even though the card is 128 GB. For example, I receive an error saying not enough storage space when the addon download path is set to it.
I was thinking it would be easier to use the SD card as internal storage instead so I do not run into this issue. Any ideas would be greatly appreciated!

Categories

Resources