android permission query
#1
Hi all,


I have query regarding permissions for external drive on android TV and android 7.1 


Android TV 7.1 Community Build Image [microSD Boot] by ayufan
and 
Android 7.1.2 Stock Image [microSD Boot] [Rooted] [20171204]

In both cases external drive (2T ntfs partition) is mounted as read only Is there any possible to change that situation. I know that second release is rooted but I've tried use root account and change permission and owner with chmod and chown but without result.

 Or maybe I should you some other release? 

Thanks in advance. 
  Reply
#2
Have you checked with a computer to make sure the drive's partition doesn't have an read only flags, or write protection? How does it mount when plugged into a computer? Any write issues?
  Reply
#3
The main purpose for me to use android is flexibility. Us it to watch content + transmission and with transmission I've notice that external drive is mounted as read only.


After that I've start test libreelec and android but in order to use external drive on android I've format disk and create ntfs partition. During my test on libreelec there is no issue with permission to save anything on external drive.

Could you recommend which android version I should test to check permission for external drive.
  Reply
#4
To be hones it will be easier to maybe to add user to a correct group.


For now as a standard user u0_a51 I have a read access only.
As root there is no problem because hi is an owner of this directory.


There is also a group sdcard_rw with the same permissions as root.


It is possible to add a standard user to this group on android OS? or force to use root account for transmission app.

In linux there is a separate account for transmission.
  Reply
#5
If I recall correctly (been a bit since I booted his Android builds) ayufan includes root in his community images.

Personally, across the various devices I used them on, I've favored ayufan's builds over the stock ones.

Assuming this is a fresh drive, with no data yet, have you already tried using Android to format it? I've had the issue before where I formatted a drive as FAT, Android saw it but still wanted me to format it. Eventually, I caved and formatted through Android, and I had no issues using the drive afterward. Have you tried using FAT, yet? From what I understand, Android and NTFS can still be a bit dodgy.

I think in order to add users to groups, you'll need to muck around with android_manifest.xml. Looking into it, it looks like trying to set custom groups and permissions is a much harder task.
  Reply
#6
Unfortunately external disc is not empty.



 I will make some test next week with pendrive with FAT partition but as I remember such solution is very limited when we though about huge files.

I will try also format pendrive with android.


Regarding manifest.xml I found this file but also as root user this file was read only. Summarize first I will focus on tests with pendrive and different partition.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Android on Rock64 SD Problem ElBoluTony 2 107 Yesterday, 07:04 PM
Last Post: ElBoluTony
  Error! Android Rockchip tools method BowerR64 0 60 09-18-2020, 08:12 PM
Last Post: BowerR64
Lightbulb Any older versions of Android for the Rock64? BowerR64 2 230 09-18-2020, 07:58 PM
Last Post: BowerR64
  Can't boot android 9 on rock64 maks2204 5 865 09-09-2020, 08:44 AM
Last Post: BowerR64
  Boot Android from USB? Max_H 3 879 09-09-2020, 08:26 AM
Last Post: BowerR64
Question Regular Android build for Rock64? fender90 18 3,959 09-09-2020, 08:04 AM
Last Post: BowerR64
  Cannot flash android 9 rockchip tool totalgaara 2 697 09-09-2020, 07:05 AM
Last Post: BowerR64
  Utility to make Android SDCard image jonsmirl 2 729 09-09-2020, 06:59 AM
Last Post: BowerR64
  Android Images (ROCK64) pineadmin 72 56,178 09-02-2020, 09:52 PM
Last Post: BowerR64
  Ir codes for Android 9 Redwid 3 446 07-15-2020, 04:43 AM
Last Post: Redwid

Forum Jump:


Users browsing this thread: 1 Guest(s)