microSD card access in Android Apps - Chromebooks

Hello,
I'm considering purchasing the Samsung Chromebook Plus when it gets released and I don't to get anything wrong considering I live in the EU and will be importing it from the USA shall I decide to make this purchase. What finally pushed to towards purchasing a Chromebook is Android Apps and Play Store availability. However, as I understand, the only folder Chrome OS and Android actually have in common and can both access in the Downloads folder, which means no access to microSD card. In any case, if a purchase a chromebook, I plan to put it in Developer Mode, for multiple reasons among which is the ability to install a APK. My question is : is it possible, when in Dev Mode, to create a symlink (the way you create a symlink in *NIX systems) in the Downloads folder that leads to the microSD card and access the external storage from Android Apps (one of the main reason I want to do that is sync Dropbox and OneDrive files to the microSD) ? I thought I read it was possible sometimes in late 2016 but I can't seem to find it anymore.
Thanks in advance for your help.

There's a way to mount it as read only: http://nolirium.blogspot.com/2016/12/making-sd-card-content-accessible-to.html
Or if you get root within the android application it may work: http://nolirium.blogspot.com/2016/12/android-on-chrome-os-rooting-shell.html

Wow thanks! That's not even very difficult (at least for read access). Only problem is when suspending. Maybe that could be solved by automating the process!
Do you know if it is possible to manually mount ext4 sd cards in chrome os ? I just thought you might be unable to write due to folder ownership but maybe setting it manually would help.
Do you what the unix username of Android user is ?
EDIT: there is so little information about it that I believe I'll have to try it out myself

Related

[Q] Encrypted container for Android

I am using Truecrypt on my PC as well as Ubuntu 10.10.
I am looking for a similar technology in Android.
Like you can mount and unmount a container like a SD card.
Nearest I reached was, people suggesting hiding files, which is not secure, simply put the card in another machine, you will see everything.
Another suggestion was to use some secure files, but it can store some information only.
I cannot see any evidence in truecrypt forums, they are working on any android version.
I was just checking Folder Lock, they do have a iPhone version. Not that impressive idea. Needs to upload data online to see in iPhone!!!
We need better and safer ideas from Androids.
Crack on...
I have the same problem for Android.
The only programs I found that you can use are secretvault pro en FileCrypter.
I use the last one. It encrypts the folder you want, but it's a little bit slow for maps above 100 MB.
I don't understand that with more than 250.000 apps, nobody comes out with a program like truecrypt, etc, where you can mount the map as a container with his own driveletter.
Berny Boss said:
I have the same problem for Android.
The only programs I found that you can use are secretvault pro en FileCrypter.
I use the last one. It encrypts the folder you want, but it's a little bit slow for maps above 100 MB.
I don't understand that with more than 250.000 apps, nobody comes out with a program like truecrypt, etc, where you can mount the map as a container with his own driveletter.
Click to expand...
Click to collapse
technical limits maybe?
Just manually encrypting folders and files might be no problem, but truecrypt is different. files from a truecrypt storage are decrypted in memory and there's a driver that makes the native file functions of the OS think that the files are coming from a real storage.
I don't think you can develop such drivers for Android, at least not on non-rooted phones. It would have been possible on Windows Mobile. I mean, it has existed already: SafeGuard for instance.
Thank you very much for your suggestions
I tried both Filecrypter and secretvault pro on Samsung Galaxy S, but encrypted files were visible on gallery!!.
This was after encrypting the folder.
Does android 2.2 saves gallery viewed files in any cache or tmp folder?
Yes we are in a desperate need for encrypted containers, which can store anything.
If we loose phone, nobody will return it, we need to safeguard our personel files.
Let the thief format the sdcard and use it.
Encrypted Container for Android
Hi,
I did a project for a client implementing encrypted container for the android phone. Unfortunately I can't release any source. But, if somebody is willing to recreate this I can guide them. PM me for details.
i know this post is old, but is there anything available today that can mount veracrypt containers? i know of eds but its just awful. android should do this by now.

Possible? Trick dropbox into mounting as sdcard2

As far as I can tell dropbox for android doesnt make a mount point like it does on a PC, but the function is there. Could android be tricked into doing this?
Hello, i a, looking for for something like this aswell. The only posibility i know is dropsync, but this mirrors the dropbox to the local storage... It would be great to be able to Mount the dropbox like a network drive
Es file Explorer can add your dropbox folder as a share in its app. Actually it supports GDrive and Box too...
david279 said:
Es file Explorer can add your dropbox folder as a share in its app. Actually it supports GDrive and Box too...
Click to expand...
Click to collapse
Yes but the share in not available to other apps as if it were mounted as another external SD drive. I want to use an encryption software but I need to point it to the encrypted file. For that the dropbox folder needs to look like an android system folder.
ParrSt said:
Yes but the share in not available to other apps as if it were mounted as another external SD drive. I want to use an encryption software but I need to point it to the encrypted file. For that the dropbox folder needs to look like an android system folder.
Click to expand...
Click to collapse
I have been looking for something similar. so far, (apart from apps like es file explorer) the closest i have found is [puts on protective suit] this
https ://github.com/arekzb/dropfuse
now - yes, I know that it is linux and not android, but given the similiarities in the systems (ducks flaming posts), it may server as a planning base for a (much smarter/more knowledgeable) person to expand upon.
My thoughts (possibly invalid) would be that the mount point could be created at/after(?) boot via some sort of script - not sure if this is even possible, but if it could be done, you could then potentially modify for other storage services.
Purpose's could be to - stream media, store files for online viewing/editing/reading etc...
******
update - just tested and have not got it working on my ubuntu system - possibly due to a backend dropbox change (or just me not being able to follow instructions)
*******
okay - so tried again and it works (for ubuntu) - help read instructions and google - works wonders
needed to install setuptools and pyquery, and it only works while the terminal window is open (there may be a way to run as a service or something - but not checked yet).
so all good - so far.
Did some checking and there is python for Android around, so am thinking (once i get a chance) I will try to see if i can emulate the linux success.....
Great for Ubuntu, any chance for Android

[Q] MicroSD card read only after 4.3 update of Google Edition Samsung Galaxy S4

Hello,
Earlier today I got an OTA upgrade of my Samsung Galaxy S4 to Jellybean 4.3.
Everything is working great except for some reason my external SD card (A 64 GB SanDisk MicroSD) is read only. The only thing I can do with it is to format it. Otherwise all write operations to it fail.
I have tried two different cards and several different apps (Terminal, Astro File Manager for instance) and none of them can write to the device.
Is anybody else experiencing this issue or does anybody have any tip for how to solve it?
I am almost thinking it is a matter of a missing new permission but I can't find anything in the SDK docs about it (If this is the case that is fine because my main use of the card is a home made music player that I've written).
I have the same issue after updating to 4.3 yesterday - external SD card is mounted as Read Only after the update.
I have not seen it mentioned before, but It is quite possible that it is just part of the new "Google Experience" - Google has for a long time advocated having a single SD card and several of the tablet devices already had their external SD card mounted as read only in the past.
You can still write to it using MTP from a PC, but it is mounted as ReadOnly for the accounts that Android apps run on the device.
Of course it is possible that it is just a strange side effect (bug) in the upgrade process that is affecting only some devices.
pirin said:
I have the same issue after updating to 4.3 yesterday - external SD card is mounted as Read Only after the update.
I have not seen it mentioned before, but It is quite possible that it is just part of the new "Google Experience" - Google has for a long time advocated having a single SD card and several of the tablet devices already had their external SD card mounted as read only in the past.
You can still write to it using MTP from a PC, but it is mounted as ReadOnly for the accounts that Android apps run on the device.
Of course it is possible that it is just a strange side effect (bug) in the upgrade process that is affecting only some devices.
Click to expand...
Click to collapse
Well, in some way I'm comforted that I am not going insane here.
I will be calling customer support but in a perfect storm for some reason yesterday my Google Wallet account was "suspended pending validation" and it supposedly takes 2-3 days for Google to verify it and you can't get to the support number for Nexus and Google Experience devices without access to your wallet account .
If I learn something I will be letting you know.
same thing happened to me when I updated my s4 to 4.3 made the external SD card into read only cannot modify it using android only if I connect it with my PC. I called Google today they told me that they have not heard of this issue before but they forward the info to there technical people and they will respond back eventually for an email and hopefully a fix. but I am glad to see I am not the only one dealing with this. hopefully Google will get this issue fixed.
ES File Explorer works, so its not impossible for other apps to get updated to work.
I've been looking into this, trying to work around the issue in my own apps. Regrettably don't have a GS4 GPE, but working with users and searching have so far discovered the following:
The underlying problem is that in Android 4.3 (at least on the GS4 G.P. Edition), an application's UNIX user id needs to be part of the group "media_rw" in order to write to the removable "external" SD card.
The "WRITE_EXTERNAL_STORAGE" permission that almost every app out there uses is inadequate. That will get your app uid added to the group "sdcard_rw", which in the case of Android 4.3+GS4 G.P.E. is only good enough to write to the built-in storage.
The "WRITE_MEDIA_STORAGE" permission is required in order to have your app uid added to the group "media_rw". The problem is that this is a system protected permission. You can put this permission in your manifest, but you won't actually be granted it unless you're a system app. (Even tested this modification to FX File Explorer to make sure, and it still fails).
There does appear to be one solution available if you have root: modify the /system/etc/permissions/platform.xml file and grant the WRITE_EXTERNAL_STORAGE permission access to the group "media_rw". Source of this is here: http://forums.androidcentral.com/samsung-galaxy-s4-google-edition/303764-4-3-sd-write-access.html I have not personally tried this.
Issues with external SD
tliebeck said:
There does appear to be one solution available if you have root: modify the /system/etc/permissions/platform.xml file and grant the WRITE_EXTERNAL_STORAGE permission access to the group "media_rw". Source of this is here: http://forums.androidcentral.com/samsung-galaxy-s4-google-edition/303764-4-3-sd-write-access.html I have not personally tried this.
Click to expand...
Click to collapse
Hi!
I have the very same problem: some apps can access the external SD, some others do not.
I tried mount/unmount and root access in ES Explorer... but no way.
The freshly downloaded "Root Explorer" does have WRITE access to the ExtSD, but TBackup doesn't...
I am running Jamal 4.3 AOSP Rom on a EU i9505.
Any help is welcome!
Help! Got the same problem here
64gb samsung micro sd card. Always write protected and no other way to re-format it.
ivanslh said:
Help! Got the same problem here
64gb samsung micro sd card. Always write protected and no other way to re-format it.
Click to expand...
Click to collapse
This solution here helped me: http://forum.xda-developers.com/showpost.php?p=48702336&postcount=13
"I was having the very same problem. I finally went into the computer management, and was about to throw phone across room....when I tried to format one last time. This time I unchecked the quick format. It is taking longer, but seems to be working...I am keeping fingers crossed.
Full Format has finished and card is saved! Hope this helps anyone in the future."
tliebeck said:
There does appear to be one solution available if you have root: modify the /system/etc/permissions/platform.xml file and grant the WRITE_EXTERNAL_STORAGE permission access to the group "media_rw". Source of this is here: http://forums.androidcentral.com/samsung-galaxy-s4-google-edition/303764-4-3-sd-write-access.html I have not personally tried this.
Click to expand...
Click to collapse
I know this is almost 1 year old but... I was struggling with this issue for some days until I tried this and: :laugh:This is the solution!

Root request for Verizon Ellipsis 8 Tablet

Hello XDA, I'm new here and I haven't found any info regarding root on the aforementioned tablet. I know its only been out a short while and isn't anything to shake a stick at, however I believe that the ability to root and install custom ROMs on this device would allow it to run much smoother even with the low grade hardware.
Anyhow if anyone is willing to look into rooting I would be appreciative. I did find something where a fella tried kingoroot, towelroot, and one other method which apparently worked on the ellipsis 7, but had no success. If anyone else is in favor reply and let's get some attention. Thanks XDA.
stealth_sli said:
Hello XDA, I'm new here and I haven't found any info regarding root on the aforementioned tablet. I know its only been out a short while and isn't anything to shake a stick at, however I believe that the ability to root and install custom ROMs on this device would allow it to run much smoother even with the low grade hardware.
Anyhow if anyone is willing to look into rooting I would be appreciative. I did find something where a fella tried kingoroot, towelroot, and one other method which apparently worked on the ellipsis 7, but had no success. If anyone else is in favor reply and let's get some attention. Thanks XDA.
Click to expand...
Click to collapse
It's a real shame that no one's done this. There are guys, here, that write whole ROMs for tablets they don't even own and no one's taken a shot at a root. Not being a coder, i can't but there are so many talented guys here i'm just really surprised someone didn't lean over, fart, and put out a root. lol.
Just no real demand for it for these tablets.
Verizon is charging more for these than what you would pay for a MUCH better tablet like a Nexus 7, or Gpad 8.3, etc...
The only people that are "buying" them, are the ones that VZW is giving away for free with you upgrade your phone and add the tablet to your data plan for $10 a month. If not for them giving them away for free, nobody would have one.
I'm stuck with a nexus 8 and require root.
the latest update was forced and now hundreds of my apps will not work due to not being allowed to change sd card files. Root for me is not cool or optional.
zerothis said:
I'm stuck with a nexus 8 and require root.
the latest update was forced and now hundreds of my apps will not work due to not being allowed to change sd card files. Root for me is not cool or optional.
Click to expand...
Click to collapse
Hundreds of apps don't work with the small and incremental update? Like which ones?
For 1, I cannot imagine even having hundreds of apps... But the update was a small one, nothing significant, and I don't see why they would have stopped working?
Disabling writing to the SD is hardly incremental!
can't add new accounts
about half my created files on SD were deleted (save games, notes, configurations)
since existing files on SD cannot be changed, and new SD files cannot be created, the following apps will not function as I need them too, or fail to do anything:
roguelike classics
angband variants
angband
humble bundle app
es file manager
astro file manager
retro arch
and bible
hacker's keyboard
teamviewer for remote
teamviewer quicksupport
android VNC
scummvm
gdosbox
unipatcher
andftp
nesemu
snes9x
gbaemu
androgens
freeciv
That's just a few of the top of my head. Since some of those are emus, each adds hundreds more games and software that will not work (I own over 8000).
zerothis said:
Disabling writing to the SD is hardly incremental!
can't add new accounts
about half my created files on SD were deleted (save games, notes, configurations)
since existing files on SD cannot be changed, and new SD files cannot be created, the following apps will not function as I need them too, or fail to do anything:
roguelike classics
angband variants
angband
humble bundle app
es file manager
astro file manager
retro arch
and bible
hacker's keyboard
teamviewer for remote
teamviewer quicksupport
android VNC
scummvm
gdosbox
unipatcher
andftp
nesemu
snes9x
gbaemu
androgens
freeciv
That's just a few of the top of my head. Since some of those are emus, each adds hundreds more games and software that will not work (I own over 8000).
Click to expand...
Click to collapse
What format is your SD card formatted in? Maybe something changed with the update... like the Shield Tablet cannot write to the SD card if it is over 32GB and formatted with exFAT... it needs to be in NTFS for anything higher than 32GB...
Maybe the same case here? Try copying the files to your PC, format the SD card with your PC(and specify NTFS and defaults for everything else), not the tablet because the tablet will format in exFAT even if it is larger than 32GB...
Try that and see if it works.
My Ellipsis 8 is on the latest update, and I can read and write to the SD card just fine... Not sure what the issues are that you are having.
What size SD card do you have?
I have this tab, and rooted. It took me a while to get the right combination though. Go here (it's in Chinese): http://www.kingroot.net and click on the download button with the Android icon to download the kingroot apk. Find a way to install the downloaded apk to your tab. You are rooted. I didn't like the kinguser root manager so I used this Replace_Kingroot_With_SuperSU.zip to change to SuperSU for root managing. The zip is attached. Just unzip, copy the "mrw" folder to your tab and use adb as root (either terminal emulator or adb shell from your computer) to run this command:
sh /sdcard/mrw/root.sh
Click to expand...
Click to collapse
. Ignore the errors that may appear. After a while SuperSU will open and ask you to update binary. Do so and reboot. you are still rooted, but with SuperSU as root manager.
Now if only there were any custom ROMs...
immortalsoule said:
It's a real shame that no one's done this. There are guys, here, that write whole ROMs for tablets they don't even own and no one's taken a shot at a root. Not being a coder, i can't but there are so many talented guys here i'm just really surprised someone didn't lean over, fart, and put out a root. lol.
Click to expand...
Click to collapse
Rooted using Kingroot just download and open click root let it do its thing if it fails select try again.... After root is established install suoerSUme let it do its thing.. Viola Root

[Q] SD CARD fix (KitKat or higher)

I have a question, and if possible the answer should be as wide as possible to work on as many systems as possible. While I am not fully conversed in Android functions, syntax, and interfaces, I have been programing various computers since the mid 80's and have applied rooting/jailbreaking methods to several systems (if it functions like a computer, I want my Admin rights, much thanks to each and all authors of these). I know that someone somewhere out there may have asked and already found a solution to this very annoying problem.
Thanks to the Google's decision to increase security in the Android OSes (KitKat and higher) by removing write access to the SD Card (as I call it a very 'bonehead' and brute force decision), most of the older apps do not work properly anymore with the user added SD Cards and most are not being updated with some form of support (create a folder on SD Card). The solution for most persons is to root the system then either run an app that corrects the problem or install a new LRAM image (Lockable RAM: 'unlock' the RAM and overwrite its data with a new image then re-lock it. I don't like the term 'ROM' for this as it has been incorrectly used since the late 80's). I have found at least 2 file managers that say they have a (in-app) solution, but these solutions don't extend to all of your other apps (ie "Root Explorer" or "B1" solution doesn't help your File server/uTorrent/Photo Gallery app).
But what of the owners that for one reason or another can't root their system (unable to root, not authorized or allowed to root, etc.) but want/need to have write access to the user added cards (mainly because their internal storage is just too small)? Example, in my case my personal phone has several apps that require it to remain in an unrooted state for certain work related programs (security issues).
So here is my question:
Is it possible, on an unrooted and stock LRAM android device, using ADB to PULL the "platform.xml" file, add the line '<group gid=”media_rw” />' to it, then PUSH the edited file back to the android device?
I realize this may require entering (various name versions) Recovery or Update mode which is specific to each device (I think Samsung calls their ODIN). But I think the ADB commands and computer side instructions should be the same. So if it is possible, please list all ADB instructions (I know the text editor used will depend on the PC/MAC OS used).
Thank you one and all that give any advice or assistance.
Well it looks like there have been a lot of lookers since I first posted this but still no reply by anyone that knows Android OS inside and out. Most of you are probably thinking "tl:dr" to all of it.
I know there has to be a way to update/upgrade system files that doesn't require rooting or a way to find the manufacturer's or cellular vender's access path or password.

Categories

Resources