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
  Rock64 Android Oreo 8.1 TV-Install adventures (Now Android 9.0) Rocklobster 5 5,060 08-04-2021, 07:35 PM
Last Post: Rocklobster
  How do I prepare/put Android on an SD card using etcher cdotsubo3000 3 5,886 06-27-2021, 02:43 PM
Last Post: clach04
  Android and SD Card gigagames 2 4,439 06-27-2021, 02:38 PM
Last Post: clach04
  Android Images (ROCK64) pineadmin 73 166,456 05-04-2021, 01:58 AM
Last Post: zet_lab
  Android 9.0 and Pluto on Rock64-1G missdeenola 1 3,926 03-12-2021, 01:38 PM
Last Post: Wizzard
  broken android microsd images jbach50 1 3,405 01-16-2021, 09:57 PM
Last Post: jimsurvak
  Android on Rock64 SD Problem ElBoluTony 3 5,859 10-07-2020, 12:10 PM
Last Post: ElBoluTony
  Error! Android Rockchip tools method BowerR64 0 2,514 09-18-2020, 08:12 PM
Last Post: BowerR64
Lightbulb Any older versions of Android for the Rock64? BowerR64 2 4,607 09-18-2020, 07:58 PM
Last Post: BowerR64
  Can't boot android 9 on rock64 maks2204 5 8,585 09-09-2020, 08:44 AM
Last Post: BowerR64

Forum Jump:


Users browsing this thread: 1 Guest(s)