efs directory permissions - Samsung Galaxy Alpha

Got a used alpha sm-g850y. It seems that knox counter is already tripped to 1. However the phone is not rooted (seems like bugger flashed stock rom before selling) and Iam having following issues
1. WiFi passwords are lost after reboot (Unsecure WiFi is still saved after reboot)
2. Bluetooth takes a long time to start file send (though file receive is fast)
3. Sometimes the battery drain is rapid
In logcat I can see following message is printed every 1 or 2 secs
I/SecureStorage( 4914): [INFO]: SPID(0x00000000)Secure Storage Daemon sent config to TA/driver
W/SecureStorage( 4914): [WARN]: SPID(0x00000000)system error
E/SecureStorage( 4914): [ERROR]:SPID(0x00000000)
E/SecureStorage( 4914): [ERROR]:SPID(0x00000000)
E/SecureStorage( 4914): [ERROR]:SPID(0x00000000)=============================================================
E/SecureStorage( 4914): [ERROR]:SPID(0x00000000)It is failed to write a file to /efs partition.
E/SecureStorage( 4914): [ERROR]:SPID(0x00000000)Please check
E/SecureStorage( 4914): [ERROR]:SPID(0x00000000)(1) if there is a valid /efs partition, and
E/SecureStorage( 4914): [ERROR]:SPID(0x00000000)(2) if /efs directory has the correct permission.
E/SecureStorage( 4914): [ERROR]:SPID(0x00000000)=============================================================
E/SecureStorage( 4914): [ERROR]:SPID(0x00000000)
E/SecureStorage( 4914): [ERROR]:SPID(0x00000000)
W/SecureStorage( 4914): [WARN]: SPID(0x00000000)Error sending config file to TA/driver!
I/SecureStorage( 4914): [INFO]: SPID(0x00000000)Secure Storage Daemon stopped
Click to expand...
Click to collapse
I verified the /efs directory is present and it has ownership radio:system. Iam not able to see contents of directory though.
What is the solution to this problem?
Iam thinking of flashing it with stock rom. Will it work? or it may corrupt /efs altogether?
Or should I root and change ownership/permissions of /efs? If so what is the right ownership/permission?
Also what is best way to root without flashing custom rom?
Thanks

vsevani said:
Got a used alpha sm-g850y. It seems that knox counter is already tripped to 1. However the phone is not rooted (seems like bugger flashed stock rom before selling) and Iam having following issues
1. WiFi passwords are lost after reboot (Unsecure WiFi is still saved after reboot)
2. Bluetooth takes a long time to start file send (though file receive is fast)
3. Sometimes the battery drain is rapid
In logcat I can see following message is printed every 1 or 2 secs
I verified the /efs directory is present and it has ownership radio:system. Iam not able to see contents of directory though.
What is the solution to this problem?
Iam thinking of flashing it with stock rom. Will it work? or it may corrupt /efs altogether?
Or should I root and change ownership/permissions of /efs? If so what is the right ownership/permission?
Also what is best way to root without flashing custom rom?
Thanks
Click to expand...
Click to collapse
Ok rooted the device. Observed that file /efs/ss_data had ownership root:root. Changed the ownership to system:system. WiFi now stores password even after reboot. I saw several other files had ownership as root:root as well. Changed the ownership/permissions of the files as follows
-rw-rw-r-- radio system 152 2013-04-21 04:44 00000000.authtokcont
drwxrwxr-x system system 2015-11-28 00:31 FactoryApp
drwxrwx--- radio system 2015-11-28 00:30 TEE
drwxrwxr-x radio system 2014-01-01 18:05 bluetooth
drwxr-xr-x root root 2013-01-01 05:32 carrier
drwxrwx--x radio system 2015-11-30 13:15 cpk
drwxrwxr-- drm system 2014-01-01 17:55 drm
-rw------- system system 0 2015-02-02 16:28 fm_data
-rw-r--r-- system system 12 2013-04-21 04:39 gyro_cal_data
-rw-r--r-- radio radio 1100 2013-01-01 05:32 h2k.dat
drwxr-xr-x radio system 2013-04-21 04:44 imei
drwx------ root root 1970-01-01 05:30 lost+found
drwxrwx--- radio system 2015-11-28 00:30 mc
-rw-r--r-- radio radio 4352 2014-01-01 18:05 nv.log
-rwx------ radio radio 1048576 2015-12-11 12:30 nv_data.bin
-rw-r--r-- radio radio 32 2015-12-11 12:30 nv_data.bin.md5
drwxrwx--- radio system 2014-01-01 18:42 prov
drwxrwx--- radio system 2014-01-01 18:43 prov_data
drwxrwx--x radio system 2015-11-30 13:15 recovery
-rw-r--r-- radio radio 880 2015-12-10 23:00 redata.bin
drwxrwxr-x radio system 2015-11-28 00:30 sec_efs
-rw-rw---- system system 124 2015-12-10 22:12 ss_data
drwxrwxr-x radio system 2012-01-01 05:30 wifi
-rw------- radio radio 220 2014-01-01 18:05 wv.keys
Click to expand...
Click to collapse
Can someone with rooted alpha please confirm if the permissions are correct?
Iam still getting following two errors in logcat
This error is coming every 1-2 secs
E/SMD (18841): smd Interface open failed errno is 2 -1
Click to expand...
Click to collapse
E/Sensors ( 3119): HAL: Correct Accel Invalid timestamp - 9558595634159, old_timestamp=9558970037452
Click to expand...
Click to collapse
Any idea what these errors are? And their solution?
Thanks

Related

[Q] Unable to write to areas of internal memory

I'm having the darndest time trying to figure out a certain issue I'm having. For some reason I cannot edit or delete or even write to certain folders of my internal storage. I have searched the forums for fixes, and the common sense fix keeps coming up, permissions.
In Terminal Emulator I am looking at the permissions for all the folders on my internal /sdcard and they disply as:
Code:
drwxrwxr-x
as expected. Yet when I try to delete say for example /sdcard/Download it tells me the folder is Read Only.
I even chmod to change the permissions and they just dont change. The reason I use the Download folder as an example is because I cannot download any files, like an updated ROM from any browser, it just fails. It is extremely annoying. My Prime is rooted, unlocked, and running Virtuous S .28
To make matters worse, I am deployed to Afghanistan and my laptop recently died, so all I have are my Prime and Desire HD phone to work with.
If anyone has any ideas on how to resolve this I'm all ears.
Many thanks in advance.
TrailorParkKid said:
I'm having the darndest time trying to figure out a certain issue I'm having. For some reason I cannot edit or delete or even write to certain folders of my internal storage. I have searched the forums for fixes, and the common sense fix keeps coming up, permissions.
In Terminal Emulator I am looking at the permissions for all the folders on my internal /sdcard and they disply as:
Code:
drwxrwxr-x
as expected. Yet when I try to delete say for example /sdcard/Download it tells me the folder is Read Only.
I even chmod to change the permissions and they just dont change. The reason I use the Download folder as an example is because I cannot download any files, like an updated ROM from any browser, it just fails. It is extremely annoying. My Prime is rooted, unlocked, and running Virtuous S .28
To make matters worse, I am deployed to Afghanistan and my laptop recently died, so all I have are my Prime and Desire HD phone to work with.
If anyone has any ideas on how to resolve this I'm all ears.
Many thanks in advance.
Click to expand...
Click to collapse
What's the output of the "ls -l /sdcard/Download"??
craigacgomez said:
What's the output of the "ls -l /sdcard/Download"??
Click to expand...
Click to collapse
Code:
[email protected]:/ $ export PATH=/data/local/bin:$PATH
[email protected]:/ $ su
[email protected]:/ # ls -l /sdcard/Download
-rw-rw-r-- root sdcard_rw 63816 2012-03-07 14:40 -1
-rw-rw-r-- root sdcard_rw 63733 2012-03-07 14:40 -2
-rw-rw-r-- root sdcard_rw 334117 2012-03-07 13:03 12th CAB Packing List FINAL.docx
-rw-rw-r-- root sdcard_rw 62524 2012-03-07 02:35 ALERT ROSTER.pptx
drwxrwxr-x root sdcard_rw 2012-07-02 10:29 Adobe Reader
-rw-rw-r-- root sdcard_rw 346301 2012-03-07 14:40 CJTF computer user agreement.pdf
-rw-rw-r-- root sdcard_rw 10041835 2012-06-18 07:44 DebugfsRoot_v1.8.zip
drwxrwxr-x root sdcard_rw 2012-06-23 16:10 FAQ
drwxrwxr-x root sdcard_rw 2012-06-23 16:10 MANUAL
-rw-rw-r-- root sdcard_rw 4045147 2012-06-22 23:21 Phonesky.apk
-rw-rw-r-- root sdcard_rw 162197 2012-03-07 14:40 SFC CRIST-DA FORM 2875_BLANK FORM.pdf
-rw-rw-r-- root sdcard_rw 4036382 2012-06-23 19:18 Signed_Vending-mod.apk
-rw-rw-r-- root sdcard_rw 622047 2012-06-23 11:27 UnLock_Device_App_V6.apk
-rw-rw-r-- root sdcard_rw 4031699 2012-06-23 18:14 Vending-3.5.16-mod.apk
-rw-rw-r-- root sdcard_rw 16903 2012-03-07 14:40 _CJTF USER AGREEMENT INSTRUCTIONS.docx
[email protected]:/ #
File permissions of /data/media issues
TrailorParkKid said:
Code:
[email protected]:/ $ export PATH=/data/local/bin:$PATH
[email protected]:/ $ su
[email protected]:/ # ls -l /sdcard/Download
-rw-rw-r-- root sdcard_rw 63816 2012-03-07 14:40 -1
-rw-rw-r-- root sdcard_rw 63733 2012-03-07 14:40 -2
-rw-rw-r-- root sdcard_rw 334117 2012-03-07 13:03 12th CAB Packing List FINAL.docx
-rw-rw-r-- root sdcard_rw 62524 2012-03-07 02:35 ALERT ROSTER.pptx
drwxrwxr-x root sdcard_rw 2012-07-02 10:29 Adobe Reader
-rw-rw-r-- root sdcard_rw 346301 2012-03-07 14:40 CJTF computer user agreement.pdf
-rw-rw-r-- root sdcard_rw 10041835 2012-06-18 07:44 DebugfsRoot_v1.8.zip
drwxrwxr-x root sdcard_rw 2012-06-23 16:10 FAQ
drwxrwxr-x root sdcard_rw 2012-06-23 16:10 MANUAL
-rw-rw-r-- root sdcard_rw 4045147 2012-06-22 23:21 Phonesky.apk
-rw-rw-r-- root sdcard_rw 162197 2012-03-07 14:40 SFC CRIST-DA FORM 2875_BLANK FORM.pdf
-rw-rw-r-- root sdcard_rw 4036382 2012-06-23 19:18 Signed_Vending-mod.apk
-rw-rw-r-- root sdcard_rw 622047 2012-06-23 11:27 UnLock_Device_App_V6.apk
-rw-rw-r-- root sdcard_rw 4031699 2012-06-23 18:14 Vending-3.5.16-mod.apk
-rw-rw-r-- root sdcard_rw 16903 2012-03-07 14:40 _CJTF USER AGREEMENT INSTRUCTIONS.docx
[email protected]:/ #
Click to expand...
Click to collapse
TrailerParkKid,
I'm having similar issues. The /sdcard folder is a sym-linked to /storage/sdcard0. /storage/sdcard0 is virtualized from /data/media. I noticed that in this folder the user\group is root\root with permissions -rwx------.
I think we have permissions issues in this directory. If I change the permissions to -rwxrwxrwx then things start working, however I don't like that answer.
I was unable to fix it by changing any permissions through TE. I was finally able to use another device to download the Stock JB ROM modded with the new bootloader and the current version of TWRP. The new version of TWRP allowed me to use my external SD card to flash, so I used the Full Wipe flash to completely wipe the internal SD card. It was a last resort, but I didn't really have a choice. Since then I have been able to download files without issue.
My solution to repair /data/media/
TrailorParkKid said:
I was unable to fix it by changing any permissions through TE. I was finally able to use another device to download the Stock JB ROM modded with the new bootloader and the current version of TWRP. The new version of TWRP allowed me to use my external SD card to flash, so I used the Full Wipe flash to completely wipe the internal SD card. It was a last resort, but I didn't really have a choice. Since then I have been able to download files without issue.
Click to expand...
Click to collapse
TrailorParkKid,
Good to see you got it working. There's always more than one way to fix things. I suspect the Full Wipe of internal SD card probably set the permissions up correctly so that subsequent downloaded files would inherit the correct settings. I did that as well, but then I also restored my backed up files. Those files and directories then got the wrong permissions.
My solution was the following 3 lines executed from /data/media/. Hope this also assists someone else googling...
find . -type d -exec chmod 775 {} ";"
find . -type f -exec chmod 664 {} ";"
find . -exec chown media_rw:media_rw {} ";"

[Q] com.android.providers.telephony permissions and owners

Hi,
Please, could some one give original file permissions, users and groups owners of the com.android.providers.telephony contents and the sub-folder databases and its contents.
The story is that I tried to manually restore sms by coping back mmssms.db and other files from ICS official Samsung backup to my current Jelly bean official Samsung ROM.
I copied the current databases folder to sdcard.
I copied back some files (mmssms.db ...) from ICS backup to current databases folder, this doesn't restore messages.
I deleted the current databases folder
I copied back the databases folder from the sdcard but I lost permissions and users/groups owners.
So now com.andoird.phone process cannot start neither the message one.
Could some one post the original file permissions and owners for those folder please?
Thank you
Done!
hadibou said:
Hi,
Please, could some one give original file permissions, users and groups owners of the com.android.providers.telephony contents and the sub-folder databases and its contents.
The story is that I tried to manually restore sms by coping back mmssms.db and other files from ICS official Samsung backup to my current Jelly bean official Samsung ROM.
I copied the current databases folder to sdcard.
I copied back some files (mmssms.db ...) from ICS backup to current databases folder, this doesn't restore messages.
I deleted the current databases folder
I copied back the databases folder from the sdcard but I lost permissions and users/groups owners.
So now com.andoird.phone process cannot start neither the message one.
Could some one post the original file permissions and owners for those folder please?
Thank you
Click to expand...
Click to collapse
Well, I'v done the work:
com.android.providers.telephony :
Code:
drwxrwx--x radio radio 2013-04-16 00:15 databases
drwxr-xr-x system system 2013-04-16 00:13 lib
-rw------- radio radio 16384 2013-04-16 00:43 optable.db
drwxrwx--x radio radio 2013-04-16 00:15 shared_prefs
com.android.providers.telephony/databases:
Code:
-rw-rw---- radio radio 4096 2013-04-16 00:15 mmssms.db
-rw------- radio radio 32768 2013-04-16 00:43 mmssms.db-shm
-rw------- radio radio 222512 2013-04-16 00:15 mmssms.db-wal
-rw-rw---- radio radio 32768 2013-04-16 00:15 nwk_info.db
-rw------- radio radio 8720 2013-04-16 00:15 nwk_info.db-journal
-rw-rw---- radio radio 159744 2013-04-16 00:44 telephony.db
-rw------- radio radio 0 2013-04-16 00:15 telephony.db-journal
Hey mate.
I have same problem as you, but i need permissions for phone-apk and telephony.apk provider.apk also.
Can you help me with that ? :/
Thanks in advance.

IMEI/IMEI SV/My phone number/Baseband version all are unknown

My phone felt down and lost it network.
Everything else functions 100% (wifi,gps,audio,video,bluetooth, camera, etc)
when I dial *#06# I got what you can see on the attached screenshot.
Tried many-many things from this forum and some others. Nothing.
my /efs folder looks as follows:
[email protected]:/ # ls -la /efs/
drwxrwxr-x root root 2013-08-21 12:59 .files
-rwx------ radio radio 1048576 2010-12-31 17:00 .nv_core.bak
-rwx------ radio radio 32 2010-12-31 17:00 .nv_core.bak.md5
-rwx------ radio radio 2097152 2010-12-31 17:00 .nv_data.bak
-rwx------ radio radio 32 2010-12-31 17:00 .nv_data.bak.md5
-rw-rw-rw- radio radio 1 2010-12-31 17:00 .nv_state
drwxrwxr-x radio system 2013-08-21 12:59 bluetooth
-rw-rw-rw- system system 6 2013-08-19 18:22 calibration_data
-rw-r--r-- system system 9 2000-01-01 02:05 cryptprop_applied_result
-rw-r--r-- root root 1 2000-01-01 02:03 cryptprop_essiv
-rw-r--r-- system system 5 2011-12-20 15:51 cryptprop_lock_pattern_autolock
-rw-r--r-- system system 6 2011-11-17 09:58 cryptprop_lock_pattern_tactile_feedback_enabled
-rw-r--r-- system system 5 2011-11-18 17:15 cryptprop_lock_pattern_visible_pattern
-rw-r--r-- system system 10 2011-12-25 20:25 cryptprop_lockscreen.lockoutattemptdeadline
-rw-r--r-- system system 6 2011-12-20 15:51 cryptprop_lockscreen.password_type
-rw-r--r-- system system 5 2011-12-20 15:51 cryptprop_lockscreen.patterneverchosen
-rw-r--r-- root root 5 2011-12-20 15:44 cryptprop_onetimeboot
-rw-r--r-- system system 3 2011-12-20 15:50 cryptprop_persist.sys.language
-rw-r--r-- system system 12 2000-01-01 02:00 cryptprop_persist.sys.timezone
-rw-r--r-- root root 1 2000-01-01 02:03 cryptprop_rebootMode
-rw-r--r-- root root 3 2011-12-20 15:44 cryptprop_securewipedata
drwx------ system system 2013-08-21 12:59 dmp
-rw-rw-rw- system system 256 2011-11-17 09:58 edk_d
-rw-rw-rw- system system 256 2011-11-17 09:58 edk_p
drwxrwxr-x radio radio 2013-08-21 12:59 imei
drwx------ root root 2013-08-21 12:53 lost+found
-rw-rw-rw- radio radio 1205 2010-12-31 17:00 nv.log
-rwx------ radio radio 2097152 2010-12-31 17:00 nv_data.bin
-rwx------ radio radio 32 2010-12-31 17:00 nv_data.bin.md5
-rwxrwxr-- radio radio 880 2010-12-31 17:02 redata.bin
drwxrwxr-x radio system 2013-08-21 12:59 wifi
Click to expand...
Click to collapse
Any chance to get back the mobile network?
thanks!
If you say you've 'tried everything' & don't have an 'good' EFS backup (either made automatically by a kernel like Siyah, or one you took manually with the several apps available for same) then you don't have much choice other than to take it to a service centre or a local mobile shop. Or you could buy a RIFF box, but unless you know how to use it/are prepared to learn & be careful, you'll end up needing a service centre trip if you get it wrong plus you'll have paid for something you'll likely never use again.
Me too
But i flash zsmg2 and all fine worked but my language is farsi it is honkong
I cannot downgrade or install any stock rom
What is your rom?
how to know my phone locked ?
only i9070zsmg2 worked in my phone

[Q] p7500 emmc bug? Odin wont flash .pit and stock rom, model p7500

Hi, someone else get this problem?
my galaxy p7500 have a peculiar problem.
it boots and works, but when i install some app or unnistal, create/delete file or do a factory reset.
all back to the old defect state, like this tab gets frozen in time.
So, i try to use odin, and then:
use the files:
P7500_P7510_android_fastboot_emmc_full_p4_16G_32G.pit
and
stock rom P7500ZTOLP4_P7500UBLP9_P7500UBLP3_HOME.tar
but when I put to flash, it goes and fail, this is what show on the tab: pls see the pics
I think I have a permissions trouble.
The tablet is working for about 10 minutes, then stop, if i check the volume space the tab freeze.
so... I'm using adb from recovery, and acessing tab's shell.
If I use : ll -a
shows->
drwxr-xr-x root root 2015-08-02 15:23 cache
drwxr-xr-x root root 1970-01-01 00:00 data
-rw-r--r-- root root 2302 1970-01-01 00:00 default.prop
drwxr-xr-x root root 2015-08-02 15:23 dev
drwxr-xr-x root root 2015-08-02 15:23 efs
drwxr-xr-x root root 1970-01-01 00:00 etc
-rwxr-x--- root root 148088 1970-01-01 00:00 init
-rwxr-x--- root root 1431 1970-01-01 00:00 init.rc
drwxr-xr-x root root 1970-01-01 00:00 lib
-rw-r--r-- root root 1861 1970-01-01 00:00 lpm.rc
drwxr-xr-x root root 2015-08-02 15:23 preload
dr-xr-xr-x root root 1970-01-01 00:00 proc
drwxr-xr-x root root 1970-01-01 00:00 res
drwx------ root root 2012-10-15 13:06 root
drwxr-x--- root root 1970-01-01 00:00 sbin
drwxr-xr-x root root 2015-08-02 15:23 sdcard
drwxr-xr-x root root 2015-08-02 15:23 sdcard1
drwxr-xr-x root root 2015-08-02 15:23 sys
drwxr-xr-x root root 2014-02-10 03:52 system
drwxr-xr-x root root 2015-08-02 15:23 tmp
-rw-r--r-- root root 272 1970-01-01 00:00 ueventd.goldfish.rc
-rw-r--r-- root root 1276 1970-01-01 00:00 ueventd.p3.rc
-rw-r--r-- root root 3825 1970-01-01 00:00 ueventd.rc
I tried to usb adb sideload too, but this apear not working, it keep loading: 'update.zip"
The odin gets btc_sync error, nvflash 0x04 error,
someone know what can I do??
i got this using dmesg, someone can bring some light?
3>[ 3.342022] init: [disk_config] ext_check -> /system/bin/e2fsck -v -y /dev/block/platform/sdhci-tegra.3/by-num/p5
<3>[ 3.469928] init: [disk_config] Error ::execute :: Error in (Status 8)
<3>[ 3.470261] init: [disk_config] Error ::* failed to check -1
<6>[ 3.492495] EXT4-fs (mmcblk0p5): recovery complete
<6>[ 3.494914] EXT4-fs (mmcblk0p5): mounted filesystem with writeback data mode. Opts: journal_async_commit,data=writeback,nodelalloc,errors=panic
<3>[ 3.496302] init: Device Encryption status is (0)!!
<3>[ 3.496402] init: [disk_config] :::: fsck -> /dev/block/platform/sdhci-tegra.3/by-num/p8 (ext4):::::
<3>[ 3.496764] init: [disk_config] ext_check -> /system/bin/e2fsck -v -y /dev/block/platform/sdhci-tegra.3/by-num/p8
<3>[ 6.611433] init: [disk_config] Error ::execute :: Error in (Status 8)
<3>[ 6.611779] init: [disk_config] Error ::* failed to check -1

Going crazy with permissions on SD card internal/external can not as root set 777

First I'm on 7.1.1 LineageOS v20, I have my SD card formated using ext2 since I need 4+ GB files for TWRP backups. This works and I can create files and folder ..., however I've found that if I pull the SD card and on a computer set the permission to say 777 all is fine, but on the Phone, I can for instance create a directory using root-explorer, but can not set permission or copy files into it. If I create the folder on the computer I can copy files into it however. Next say I backup using Ti-backup to the external SDcard it works fine, but of I install a new ROm I can not access the previous backup files. I can not change the permissions on the file to 777 either from a terminal.
Really this is what upsets me, as root in a terminal I can not set permissions on a file as it does nothing, for instance on /storage/emulated/0 I have:
h918:/storage/emulated/0 # ls
drwxrwx--x 3 root sdcard_r 4096 Mar 14 19:35 .rr
-rw-rw---- 1 root sdcard_r 1369542927 Apr 1 22:28 01update.zip
-rw-rw---- 1 root sdcard_r 884357956 Apr 1 22:34 02update.zip
-rw-rw---- 1 root sdcard_r 1057588047 Apr 1 22:41 03update.zip
drwxrwx--x 2 root sdcard_r 4096 Mar 9 23:06 3DMarkAndroid
drwxrwx--x 2 root sdcard_r 4096 Mar 4 18:20 Alarms
....
as root I execute:
h918:/storage/emulated/0 # chmod 777 *.zip
h918:/storage/emulated/0 # chmod 777 *.zip
h918:/storage/emulated/0 # ls -al
drwxrwx--x 43 root sdcard_r 4096 Apr 1 22:35 .
drwx--x--x 4 root sdcard_r 4096 Jan 1 2016 ..
-rw-rw---- 1 root sdcard_r 2557 Apr 1 20:20 .bash_history
drwxrwx--x 3 root sdcard_r 4096 Mar 14 19:35 .rr
-rw-rw---- 1 root sdcard_r 1369542927 Apr 1 22:28 01update.zip
-rw-rw---- 1 root sdcard_r 884357956 Apr 1 22:34 02update.zip
-rw-rw---- 1 root sdcard_r 1057588047 Apr 1 22:41 03update.zip
drwxrwx--x 2 root sdcard_r 4096 Mar 9 23:06 3DMarkAndroid
drwxrwx--x 2 root sdcard_r 4096 Mar 4 18:20 Alarms
...
The permissions remain unchanged, why I'm root I should be able to change permissions.
looking at mount the options are:
/dev/fuse on /storage/emulated type fuse (rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/fuse on /mnt/runtime/read/emulated type fuse (rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/fuse on /mnt/runtime/write/emulated type fuse (rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other)
The SD card looks similar:
/dev/fuse on /storage/ea8c26be-fcbc-4773-b799-5e64ef33f641 type fuse (rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/fuse on /mnt/runtime/read/ea8c26be-fcbc-4773-b799-5e64ef33f641 type fuse (rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/fuse on /mnt/runtime/write/ea8c26be-fcbc-4773-b799-5e64ef33f641 type fuse (rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other)
Nothing here should block ROOT from change the permissions. I simply want as root or as any root application to be able to create a directory change file permission and access data written as another root app, all of which make it possible to use the phone and backup/restore safely.
I can only assume something is blocking me form using the device the way I want and operating on files, since pulling the card to a computer allows setting 777 and then it works as I want, what I want is to set the umask to 777 for everything, as for security that can be damned as I need to be able to backup and restore safely first, something I can not do now as Tibackup can not access it's own files on restore unless I first pull the card and set the permissions on a computer, which is unacceptable.
Files created on the phone have permissions 700 or something similar, even though on the phone they are listed as having more, this explains the issue as it is not for instance: -rw-rw---- but -rw-------, however root should still be able to access the file and can not, nor can root change the settings.
ERIC

Categories

Resources