yashsingh1/xdaforums huggingface dataset:
[Android General] Ziona:
Will seeing that it's OTG USB flash an not a full time dedicated sdcard that can be mounted at boot via a simple script command. your vold & sdcard binary files would have to support exfat to be auto mounted.

Android mount service doesn't know fully the new volume drive is mounted so none root apps won't see any files.

you can just copy an paste the zip files in the locations needed. grant them permission 755 ... all this can be done using mixplorer .

It's settings is in the upper right corner three dots also the execute command tab, you can hold your finger on something to highlight it for viewing, settings permission, to execute a file many things can be done. after adding the files test the command if successful it should mount USB in root /external_usb an perform a media scan for content like videos etc.. then most apps should see its files.
[Android General] ChocoboX:
Excellent information. I learned a lot from you! Thank you!

So it seems for whatever reason that every time I place usbmount in /system/bin and I reboot my phone; that usbmount file disappears. Something is deleted it but I can't figure it out.

I tried to just do usbmount after setting permissions. It creates a USB folder that I can see inside my internal storage. But the folder is empty. As if it's not mounting anything inside it.

I decided to delete the fsbinaries, modified VOLD, and your module from Magisk and copy usbmount, mount.exfat, ntfs-3g binaries again to /system/bin again. I rebooted the phone and usbmount disappeared again. Suggestions?
[Android General] Ziona:
Magisk system less is stopping you. Add the files in TWRP using it's built in file manager. Or look in /sbin if there using mixplorer for a folder name magisk (it's hidden so you need to enable seeing it with mixplorer, go to right corner three dots - settings - BUTTONS - Main menu - scroll down to find - Show hidden globally - tick it's box to activate it.) then look for /mirror /system/bin folder and add files here, your exact device path may vary. this will bypass magisk magic mount.

Did u see any log file in internal storage root?
[Android General] YK RAJ:
Hi!

I'm using latest GCam 8.4 on Pixel Android 12L but the GCam app isn't giving options to change the primary storage just storing media files into Internal Storage.

Will using this module add a External SD Card path for GCam media storage?
[Android General] Werve:
Hello,

First of all, thank you for your work.

I was looking for a way to add exfat support to Umidigi Bison Pro phone since to my disappointment it is not included. All the phones I had had it and I thought it was the norm then I found out that from stock AOSP it is not (except with kernel versions above 5.0).

From what I've read your Magisk module could also add support for the lacking kernel via overlay.d right?

I tried it on the Umidigi Bison Pro, Android 11, using different options but it doesn't seem to work mounting either way.

If I select to patch the boot.img the error impossible unpack appears.

I attach the log generated from the various tests.

The custom OTG driver from Mixplorer works with limit: can only read on NTFS but RW on Exfat.

I also report that if via Magisk I test with the Vol up key later the script reads the successive Vol clicks twice. Otherwise with the legacy method (not doing the first Vol check) it works correctly.

I also noticed that the telegram on the first page is no longer valid.
[Android General] Paleskin:
i Installed v4.4 on superior os A10, but im not sure on how to use it, is there a step by step walkthrough ? thanks a lot
[Android General] ashish1989:
Is there any step by step for magisk installation, after flashing the module in magisk some options are coming and I am confused whether to choose them or not by pressing volume key and which options to choose?
[Android General] ashish1989:
Can you tell me, which options to check and uncheck when installing?

I need to use it for my whatsapp to work in xinternalsd so that whatsapp can use my external sd card
[Android General] esclusoilcane:
Dear friend I tried your module after flashing magisk on a11 tv box HAKO pro. I'd like to use it to make app as lemuroid or RetroArch to see external storage, since ATV a11 doesn't seem to have a file manager, nor external storage write permission.

V5 doesn't install, v4.4 installing but nothing changed, no new folder created and still RetroArch doesn't see any external SD. Can u help me? thanks
[Android General] Ziona:
Ok get back to you later today,i may make that for u or just roll it out next release, the way it is now great but i made to additional methods to detect external sd sources , seem like no one else wanted the challenge after Marshmallow changed the whole game on how to find an use sdcard resources. The new install added a nice touch too lol , (YouTube) hit that like button to subscribe haha
[Android General] Mickey03:
Lol[emoji1787] You are great! Keep working hard! [emoji7][emoji7][emoji7][emoji106][emoji106][emoji106][emoji106][emoji106]
[Android General] Techguy777:
I agree no one after marshmallow really worked on anything to get Extsd card support working for apps. There is one but you need to use edxposed xinternalsd also. I think this is great Im using on my S6 tablet on android pie. I wish you would add android Q support but its great to see you doing this project. Thanks
[Android General] Ziona:
Thx, am bout to release v4.2 newest for magisk. I left out Q because am not sure how it works yet i dnt have a Android 10 device to test on yet.

If someone willing to test i may remove the install limit to allow its installing for Q.

This new release added more methods of sdcard detection, sdcard an app permissions , force install apps to internal or external Sdcard only, added ntfs, ext4, exfat, vfat sdcard & usbotg support.

Boot.img patch for external Sdcard. Magisk patch for Pie .

Sepolicy rules for vold & posix, also custom binaries an more. Theirs optional choices on installation
[Android General] Techguy777:
That sounds great. Im willing to test android 10 if you need. I have an S7 edge on FLOYD rom which is OneUi 2.0 aka 10. Send me a link or something. Thanks.
[Android General] Techguy777:
Hey you should just allow it to install on android Q and see if it works. Im using Magisk module 3.5 write access right now and for some reason im having trouble with chrome working on the device with edxposed installed with xinternalsd and im really wanting to see if I can figure out sd card access without chrome not working. Its really weird I have no idea why chrome cant work on android 10 with those modules installed it works on android 9 and lower. So im just guessing at this point.
[Android General] Ziona:
Compatibility may play a key roll is xinternalsd Android 10 complaint (known to work), are you using the latest edxposed an chrome ?

I will drop a test run shortly.
[Android General] Techguy777:
Im using using edxposed manager 4.5.7 and riru core latest v21.2 with edxposed v.0.4.6.2 (4529) YAHFA. The app works on all other apps just fine. It doesnt matter if you dont use the app with chrome either as long as its activated it wont work. Latest chrome early versions ive tried them all doesnt allow chrome to open for more than a second and than it closes again.
[Android General] Ziona:
Chrome is detecting root access thru exposed most likely. I would say magisk hide but that won't work for exposed. Their was cloak module for exposed see if its up-to-date an can work for edxposed

Maybe try this trick Edxposed settings: 1- Go to settings> Framework> activate APP LIST MODE. 2- Go to applications (Black list)> Leave enabled for: • Android Services Library; • Chrome; • Google service structure; • Google play services; • Google play services for AR. 3- Go to Compat List> Activate for HiddenCore Module. 4-Restart the device. It should work now with blacklisting done hopefully.
[Android General] Techguy777:
All though there could be something to that. I solved the problem theres another app module called Xcooldroid which does the same thing as XinternalSD the exact same thing and it works with chrome. I dont know what the deal is its the same setup as my S6 only the S6 is on pie.

---------- Post added at 03:45 PM ---------- Previous post was at 03:28 PM ----------

Im trying what you said just for kicks Ive never messed around with Edxposed to much just the normal xposed modules but theres a lot of stuff to edxposed. I have no idea what any of it is or does.

---------- Post added at 04:25 PM ---------- Previous post was at 03:45 PM ----------

Well your way also works. I don't understand how it doesnt work with the other app. I went through the settings you laid out and tried the first module I passed safety net in magisk manager and turned the module on rebooted and chrome seems to be working fine now. Thats really strange.
[Android General] Ziona:
Cool :good:
[Android General] Ziona:
[MENTION=9180355]Techguy777[/MENTION]

Which do you have 32bit or 64bit . Mtk or qcom device.
[Android General] Techguy777:
I have a 64bit S7 edge and 64bit S6 tablet with Snapdragon 855 so qcom. I also have a old blu mtk device on android 6 but the phone is just a dust collector. I also have a nexus 6 , Moto g4, and galaxy s2 tablet.
[Android General] Ziona:
Ok i hav qcom 64bit Oreo & pie drivers for ntfs an exfat support already. Checking cause my new module will pack some goodies for external Sdcard support. It mainly supports Mtk marshmallow an nougat 32 / 64bit . Am allowing Android 10 install also.

Does any of your devices support exfat an ntfs?
[Android General] Techguy777:
They all support exfat but Ntfs is a kinda if I use paragon Ntfs app and total commander they do. However with other file explorers they don't. I wish they did has using total commander is kinda harder to use im new to the app to. I am still all for trying it on 10. Its sounds good.
[Android General] Ziona:
Ok cool
[Android General] Mickey03:
Can't wait.....[emoji23]
[Android General] Ziona:
[MENTION=9180355]Techguy777[/MENTION]
[MENTION=8603183]Mickey03[/MENTION]

Test run !!
[Android General] Techguy777:
It's works a little different than before I cleaned flashed Android 10 oneui 2.0 on my S7 edge. To make sure I could give it a fair shot and either option 1 or 2 works.

---------- Post added at 04:04 PM ---------- Previous post was at 03:34 PM ----------

Well I say this the OTG support is really good I would have to use paragon ntfs app even with portable SSD drives formatted to exfat now all the file explorers read them instantly so thats awesome.
[Android General] Ziona:
Ok also so which file systems you tested so far only exfat, did you run on both Android 9 & 10 . Again what should we say it now supports in your clear opinion
[Android General] veekay:
Which of these files is the one that should work on 10 now?

Also, is the gallery app needed for this to work? i tried one version and it asked to open with that - I don't have a gallery app currently.
[Android General] Ziona:
V4.2 That the correct one choose any gallery/pic viewing app installed only once, but that not for module to function its simply just to show the popup picture anytime on install .
[Android General] veekay:
That is what I thought, but it doesn't seem to do anything for me. The module shows as enabled, but sdcard still is "corrupt"
[Android General] Ziona:
Ok, Look in the root dir with a file explorer for external_sd folder.
[Android General] RaymondGR:
I'm looking forward to it myself, so let me know.
[Android General] Ziona:
New module v4.2
[Android General] veekay:
No such folder using the first symb link option. Using the second option of a patched image does make an externalsd folder, but the only thing inside it is an unmount script.
[Android General] Ziona:
No it shouldn't be any umount script there in root that should be in a folder within internal storage. Can you send me this /data/mount_script.log . GSI can be such a gamble how they work
[Android General] veekay:
Correct, the unmount script is in the new folder called externalsd.

File is attached
[Android General] Ziona:
Ok your device configuration is abnormal for Android, its mounting everything from /dev/block/sda+ which should really be used for usbotg only , /dev/block/mmcblk1+ is nonexistent which is primarily for external sdcard.

Look in here /storage/usbotg

If you have a terminal app or file explorer that can run execute commands, type this an tell me its output : sm list-volumes public
[Android General] veekay:
There is no /storage/usbotg

Result from terminal - public:179,1 unmountable 1842-20CD

Samsung device, so everything seems to be abnormal when it comes to non-stock stuff
[Android General] Ziona:
Is this an unofficial AndyYan built rom because It's likely the gsi rom they had issues with exfat not Samsung devices, also the very first module working test was done on the Samsung Galaxy series .

If my module is still installed give this a go type commands:

getenforce ( if permissive continue next command or if enforcing first type ; setenforce 0 )

mkdir /external_sd

busybox mount.exfat /dev/block/vold/public:179,1 /external_sd

# If error remove the word busybox .
[Android General] veekay:
Havoc - Based on Andy and Phh from what I gather, so yes, exfat issue.

No errors running the commands, but in the end I just have the external_sd folder and it shows no items inside it
[Android General] Ziona:
Do you have telegram, i would like to look into it more to help you but don't want to full this thread
[Android General] veekay:
Not something that I use, but thanks for the attempts. Maybe one of these days they will figure out how to get exfat working on those builds.

Certainly won't be buying another tablet that doesn't have actual custom rom support - had this worthless thing for a year now.
[Android General] Ziona:
Once you have a custom recovery.

Why not run stock an customize that first debloat it of useless apps then add magisk ,edxposed & modules that way it stable on Samsung an has good support with its added upgrades.

Custom like Stock roms has always been best for Samsung because of how their system is integrated .
[Android General] veekay:
I tried that, but even then there is only so much you can remove before things start to break. Plus, having just upgraded to A10 means starting the process over, which is a huge PITA. I hate having to then install tons of mods and module just to get the things that a basic custom rom already has.
[Android General] Ziona:
[MENTION=983548]veekay[/MENTION]

I forget to tell you run this an give me the output

Command type: blkid

Truth for some devices but custom roms are also bare, we use them to customize things are selves from scratch kinda & Samsung is its own beast that most every other stock devices software including custom lineage, aosp, an others base off their tech because they are like the gate keepers in Android alway ahead even google who holds source codes for us devs is behind them in ways. But you have to do what you like. Best of luck
[Android General] Techguy777:
No I didnt run on android 9 yet but I can really quickly. I already have 4.1 installed on android 9 though. I have both exfat and fat32. Does it do it ntfs because I could try that? Let me try a few things. Ill be back

P.S. I will add that I did try to install it on my nexus 6 running android 10. You might think why? I was hoping that even though there is no extsd card that the OTG support would improve on my nexus 6 also. Because I have trouble getting usb drives to work. It might have worked but I lost root and it made me unable to use titanium back usb or anything else so I dont know why but i did try that.
[Android General] Ziona:
I just need to know what works for bout Android 9 - 10.

Mounts these file system ntfs, exfat, vfat, ext4 & also f2fs if kernel supported on sdcard.

ntfs, exfat & ext4 file system on usbotg .

OTG support is standalone & independent of any sdcard so it should work for nexus 6
[Android General] Techguy777:
That was my thought to on Nexus 6. I will say ive ran into a slight problem your module installs busybox 1.27 which messes up root on android 9 and 10. You need to add busybox 1.31 from https://xdaforums.com/showthread.php?t=2239421.

Big problems with busybox im trying to work around it right now. It wont let me install the right one in magisk manager.
[Android General] Ziona:
If you think its really your problem go to /data/adb/modules/ExternalSDCard/system/bin/busybox to delete the file then reboot.

If it is the issue i will auto detect busybox an disable mines if found to use which ever one you had installed or add back as optional
[Android General] veekay:
I use nothing that Samsung provides, so it all gets thrown out when debloating a rom, though this is the only device I have owned that I haven't run something custom on. Though, considering everything missing in these GSI U'm probably stuck with debloated stock

Here is the result:

/dev/block/sdd7: LABEL="dsp" UUID="af32c008-2a39-7e5b-a5dc-201456d93103" TYPE="ext4"

/dev/block/sda5: LABEL="persist" UUID="d7a85ad7-dab7-5919-9005-2e498c6b9388" TYPE="ext4"

/dev/block/sda6: UUID="1039edbd-78ac-447e-9df2-797fd3d76704" TYPE="ext4"

/dev/block/sda14: UUID="91a42e49-8476-4b1c-be52-6847950ebebc" TYPE="ext4"

/dev/block/sda15: SEC_TYPE="msdos" UUID="00BC-614E" TYPE="vfat"

/dev/block/sda16: SEC_TYPE="msdos" UUID="00BC-614E" TYPE="vfat"

/dev/tmp-phh: LABEL="/" UUID="da2687d5-832c-4d13-b0e6-dac15a320312" TYPE="ext4"

/dev/block/sda21: LABEL="vendor" UUID="1a586026-f608-558c-abfd-72bd8e23948e" TYPE="ext4"

/dev/block/sda22: LABEL="odm" UUID="611f6132-8328-58af-a0a2-a509323b3f97" TYPE="ext4"

/dev/block/sda23: UUID="691ac27e-b4b7-47c4-b5a1-4950e73132fd" TYPE="ext4"

/dev/block/sda24: LABEL="hidden" UUID="e59fb056-93af-5f65-8dee-aab2508d9a14" TYPE="ext4"

/dev/block/sda25: LABEL="omr" UUID="1b861656-3043-5e7c-bda0-83cf6b9ded4c" TYPE="ext4"

/dev/block/sda27: LABEL="data" UUID="e895b2da-558a-4138-b841-31b4ebd2f269" TYPE="ext4"

/dev/block/mmcblk0p1: LABEL="disk" UUID="1842-20CB" TYPE="exfat"

/dev/block/sda20: LABEL="/" UUID="da2687d5-832c-4d13-b0e6-dac15a320312" TYPE="ext4"
[Android General] Ziona:
Is there multiple partitions on your sdcard or at least i see two vfat one exfat file systems.

Try

mkdir -p /external_sd

busybox mount.exfat /dev/block/mmcblk0p1 /external_sd
[Android General] Techguy777:
Its kinda of a tricky module it did add usb otg ntfs support on my moto g4 running android 9 pie. I didnt think to try that at first because it says mediatek support and im trying everything on different phones and roms. The number 1 thing is that busybox needs to be updated. How do I uninstall it manually or stop if from reinstalling? The my biggest problem right now. It seems like your module is adding media_rw folder.

I didnt see you responded or the other guy.
[Android General] veekay:
No, just a single exfat partition. Just verified that another wasn't created at some point.

Error with that command:

mount.exfat: applet not found
[Android General] Ziona:
Ok just remove the busybox word from before mount.exfat.

Module still installed rite if so look for this file double check here :

/system/xbin/mount.exfat
[Android General] Ziona:
Yeah i told you the location of busybox installed look a post back just delete the file it wont come back unless you reinstall zip.

It has Android 8-9 64bit qcom (msm) support
[Android General] veekay:
So only the system patch method adds that to the xbin folder, had to install again using that.

Had to run the command after doing SU - then it says WARN: volume was not unmounted cleanly

external_sd folder is still empty
[Android General] Ziona:
Well its either something small your doing wrong it happens, the mount.exfat binary wont work on gsi or that exfat support is seriously screwed why it was never fixed before. Will have todo some deep research into it an get back to you.

Did your device support exfat before using gsi ? It should see that its a Samsung. What Android version was it running b4 you installed gsi Android 10
[Android General] veekay:
Exfat works perfect in stock Samsung A9 or 10. Also works perfectly in the GSI by phhusson.
[Android General] Ziona:
Ok yeah best to stick with stock rooted or gsi A10 by phhusson if possible
[Android General] veekay:
phhusson gsi has an issue where it constantly rotates the screen, so it isn't usable. Can't win right now. Hoping for a fix one of these days
[Android General] Ziona:
Most custom roms on treble A9, 10, 11 are unstable and unofficial headaches to deal with always hidden or known bugs to deal with. Go stock an leave those troubles behind, atleast until real stability is there with gsi or you find a lineage rom to work with . :good:
[Android General] Ziona:
# Usbotg Info #

Ok sound like your stating exactly how it works an their is nothing wrong. If the module found already installed or added the custom binaries for your device then it will create the empty folders if theirs none & mount usbotg when connected. If it doesn't find binaries already on your device or doesn't have exact custom one's within the module for the device , then it uses different binaries & only when you connect usbotg on startup & boot completed it will wait until usbotg is found plugged in up to 1 min else the otg check will exit after 1 min an nothing was found .

Usbotg folders are created in /storage/usbotg & /mnt/media_rw/usbotg , this is the original location Android uses if a device support it . Otherwise my module will create those same folders for you by patching boot.img if using boot patch , or there created only when usbotg is detected on the startup boot completed wait process when using SD-Link only.

# Log info #

Logs for everything is in /data/mount_script.log , which you can provide if problems this gives full info you or i should need.

A install debug log is created in internal storage download folder using module name .

# Uninstall info #

You can quickly uninstall module in recovery to remove everything including the overlay.d boot.img systemless patch automatically. Or choose uninstall option when flashing zip in magisk app , you can choose remove boot.img patch or only module if you didn't use the patch option .

# More info #

A readme.txt is within the magisk module zip that gives all information you should need.
[Android General] Techguy777:
I believe its working right like I said last night but the main devices I use are my S7 edge and my S6 tablet so I just reloaded my moto g4 and nexus 6 for the first time in over a year and I havent been following rom development and what does and doesnt work. Im trying to catch back up. The moto g4 was such a let down for a phone nothing ever works on it the custom roms still have trouble theres no stable custom rom and the sim card slot doesnt work 90 percent of the time so it was a nice toy lol. Im going to keep trying different roms and stuff as I get time Im trying to get arrow 64 bit android 10 to work on it. Than ill let you know how it works on that. My tablet is to big of project and like I said it already works fine on android 10 on the s7 edge so its a go its good. Thanks
[Android General] Ziona:
Ok thanks for your testing an feed back :highfive:
[Android General] Ziona:
[MENTION=9180355]Techguy777[/MENTION]

Need you to check a module on your different devices when you free
[Android General] Techguy777:
Whats up?
[Android General] Ziona:
Del
[Android General] Techguy777:
I have no problems with the sdcard getting write access after flashing your module but what's confusing is I don't see why its needed. If you go to mount and go to media rw folder inside is your

Alright I'll let you know if took a second chrome on pc wouldn't download the link gave error had to use xda labs
[Android General] Ziona:
Don't quite understand what confusing you?
[Android General] Techguy777:
Check your downloads they don't work theres nothing on my tablet or pc after it downloads. It shows error on chrome broswer on my pc. On my tablet or phone it actually downloads but there is no file in my system ive tried about 100 times now.
[Android General] Ziona:
Try later think XDA is having technical difficulties.