Cannot write direclty to /mnt/extSdCard with adb or Android Commander - Galaxy Note 10.1 Q&A, Help & Troubleshooting

In adb shell, with myself set as su, I cannot write directly to /mnt/extSdCard. Get's "permission denied"
When I do a chmod or chown to root, I get an "operation not permitted"
I have to copy (push) files to /mnt/sdcard and use the device to move/copy stuff over to /mnt/extSdCard.....pretty annoying.
I guess the reason is because the ownership looks like this:
ls -al
...
drwxrwxr-x system media_rw 2012-10-12 10:07 extSdCard
drwxr-xr-x root system 2012-10-11 09:10 obb
drwxrwxr-x root sdcard_rw 2012-10-12 10:29 sdcard
drwx------ root root 2012-10-11 09:10 secure
Any ideas how I can write to /mnt/extSdCard - even Android Commander is not doing anything

I think you have to mount it first with something that should look like,
"Adb mount /mnt/blk/[some wierd path here]/" or something
Not sure but that's my best guess since no one else was offering insight
Sent from my GT-N8013 using xda app-developers app

Same problem here, have you already found a solution or workaround?

Related

A2SD with FRESH 2.0d

This may be a super n00b question, but I previously ran a MoDaCo ROM, and was able to use the A2SD instructions from code.google.com to get my apps to store to the SD. Today I upgraded to Fresh 2.0d, (which is awesome btw) and no matter what I do, it seems that downloading apps keeps using my system memory. here is the output of busybox df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 95.5M 0 95.5M 0% /dev
tmpfs 4.0M 4.0K 4.0M 0% /sqlite_stmt_journals
/dev/block/mtdblock3 170.0M 135.4M 34.6M 80% /system
/dev/block/mtdblock5 159.5M 60.2M 99.3M 38% /data
/dev/block/mtdblock4 130.0M 1.1M 128.9M 1% /cache
/dev/block/mmcblk0p2 677.4M 71.4M 569.9M 11% /system/sd
/dev/block//vold/179:1
2.9G 2.1G 788.2M 73% /sdcard
Is there a step that I'm missing somewhere? My use% on the /data partition seems to keep going up.
Thanks in advance for the help!!
See next comment
&RoidRage said:
See next comment
Click to expand...
Click to collapse
I'm sorry, I don't understand.
SchmediumTux said:
This may be a super n00b question, but I previously ran a MoDaCo ROM, and was able to use the A2SD instructions from code.google.com to get my apps to store to the SD. Today I upgraded to Fresh 2.0d, (which is awesome btw) and no matter what I do, it seems that downloading apps keeps using my system memory. here is the output of busybox df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 95.5M 0 95.5M 0% /dev
tmpfs 4.0M 4.0K 4.0M 0% /sqlite_stmt_journals
/dev/block/mtdblock3 170.0M 135.4M 34.6M 80% /system
/dev/block/mtdblock5 159.5M 60.2M 99.3M 38% /data
/dev/block/mtdblock4 130.0M 1.1M 128.9M 1% /cache
/dev/block/mmcblk0p2 677.4M 71.4M 569.9M 11% /system/sd
/dev/block//vold/179:1
2.9G 2.1G 788.2M 73% /sdcard
Is there a step that I'm missing somewhere? My use% on the /data partition seems to keep going up.
Thanks in advance for the help!!
Click to expand...
Click to collapse
1. Remount the drive by typing this command: adb remount
2. Enter the phone shell: adb shell
3. Type ls -l /data to get a directory listing of /data
4. Look for an entry named app. If the following is to the right of the entry, a2sd is running: "-> /system/sd/app"
5. If not, type the following commands:
cp /data/app/* /system/sd/app
cp /data/app-private/* /system/sd/app-private
rm -r /data/app
rm -r /data/app-private
ln -s /data/app /system/sd/app
ln -s /data/app-private /system/sd/app
That should, hopefully, fix your issue.
Wow.. Thank you sooo much. I'm still in the early learning stages of Linux and android, so I needed that direction. I really appreciate you taking the time to help me out^^
tkirton said:
1. Remount the drive by typing this command: adb remount
2. Enter the phone shell: adb shell
3. Type ls -l /data to get a directory listing of /data
4. Look for an entry named app. If the following is to the right of the entry, a2sd is running: "-> /system/sd/app"
5. If not, type the following commands:
cp /data/app/* /system/sd/app
cp /data/app-private/* /system/sd/app-private
rm -r /data/app
rm -r /data/app-private
ln -s /data/app /system/sd/app
ln -s /data/app-private /system/sd/app
That should, hopefully, fix your issue.
Click to expand...
Click to collapse
I get the results you said but yet everytime i download an app my internal memory is going down. I also cd /system/sd/app and everything I dl'ed is in there, do i need to redo my sd?
ABNinja said:
I get the results you said but yet everytime i download an app my internal memory is going down. I also cd /system/sd/app and everything I dl'ed is in there, do i need to redo my sd?
Click to expand...
Click to collapse
it wont help as it seems to be a bug.
Fresh 2.0d A2SD Apps not being moved out of internal memory
I have HTC HERO, Fresh 2.0d rom, 16gb sd card and RA 1.6.2. I have partitioned sd, created ext2, converted ext2 to ext3 and installed rom and apps. All apps load and function but they are being put into internal mem and copied rather than moved to sd\apps. Memory check shows internal and sd memory decreases with installation of apps.
Here's a screen shot of my command prompt showing that Apps and Apps Private are being reassigned to sd card properly:
Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.
C:\Users\VP>cd\
C:\>cd tools
C:\tools>adb remount
* daemon not running. starting it now *
* daemon started successfully *
remount succeeded
C:\tools>adb shell
# ls -l /data
ls -l /data
drwxr-xr-x system system 2010-04-26 10:55 tombstones
drwx------ system system 2010-04-26 10:08 backup
prw-r--r-- system system 2010-04-23 16:32 gps_nmea_fifo
-rw-rw-rw- media system 12 2010-04-26 00:04 StreamingPacketLost.txt
-rw-rw-rw- media system 2 2010-04-26 12:11 pvcodec.txt
drwxrwxr-x system system 2010-04-26 11:54 system
drwxrwx--x system system 2010-04-23 16:28 anr
drwx------ root root 2010-04-26 10:09 agent
drwx------ root root 2010-04-23 16:27 agent_htc
lrwxrwxrwx root root 2010-04-23 16:27 app-private -> /system/sd
/app-private
lrwxrwxrwx root root 2010-04-23 16:27 app -> /system/sd/app
drwxrwxrwx bluetooth bluetooth 2010-04-26 10:09 btips
drwxrwxrwx root root 2010-04-23 16:27 DxDrm
drwxrwx--x system system 2010-04-26 10:54 dalvik-cache
lrwxrwxrwx root root 2010-04-23 16:27 drm -> /data/local
drwx------ root root 2010-04-26 10:07 property
drwxrwx--x system system 2010-04-26 10:54 data
drwxr-xr-x shell shell 2010-04-23 16:27 local
drwxrwxrwx wimax wimax 2010-04-23 16:27 wimax
drwxrwx--t system misc 2010-04-26 12:10 misc
drwxr-x--- root log 2010-04-23 16:27 dontpanic
drwxrwx--- root root 2010-04-23 16:27 lost+found
# exit
exit
C:\tools>
Please let me know what I can do to get A2sd working properly on Fresh 2.0d rom whether its a manual or auto version or any other fix. I use lots of apps and I am getting low memory warning from the system.
Thanks
Same problem here. Please help
Easy fix. just flash Tkirton's Darktremor A2SD zip in recovery. Works perfectly. http://forum.xda-developers.com/showthread.php?t=670087
What do you type in the terminal to make it show that infomation?
4SidedDie said:
What do you type in the terminal to make it show that infomation?
Click to expand...
Click to collapse
ls -l /data
That will give you a directory listing.
I installed apps2sd 2.5 and my internal memory went from 50 to 129.
Darktremor A2SD version 2.6.1
I get fielded with a lot of questions that ask "How can I verify if the Apps2SD (or a2sd) is working correctly." And many people, including myself, have written message after message regarding how you can check to see if your data is on the SD card.
I'm not complaining, mind you...I personally like the attention. But, I'm also trained from various programming jobs that require a lot of support (the one I'm currently at is a good example). When I see a lot of people asking the same questions, I think to myself "there's got to be an easier way to do this." That's when I start working on a program solution to the issue.
For those of you who are new to Apps2SD, here's what you do:
1. Follow the installation instructions on the first message in this thread: http://forum.xda-developers.com/showthread.php?t=670087
2. Once you are in the shell, type /system/bin/a2sd check. A report will print on your screen telling you if you have issues with your A2SD setup.
3. If you do run into issues, you can fix them easily by typing /system/bin/a2sd repair.
4. If nothing is setup, try running the installer again: /system/bin/a2sd install
Click to expand...
Click to collapse
Now, if you do decide to run the stock A2SD, or any other variant, here's how you check that version (this will also work for any version of Darktremor A2SD):
1. Setup your SD card. (Follow the steps If you have not setup your SD Card: http://forum.xda-developers.com/showthread.php?t=670087).
If you are using the A2SD that came with the kernel, you don't have to do step i. If you are using another version besides Darktremor, follow step i, but put the file you got from the A2SD provider on the SD card).
2. While still in recovery, flash the A2SD you obtained as you would a normal ROM. If you are using the included A2SD for your particular ROM, skip this step.
3. Reboot the phone and allow the phone to completely load.
4. Enter a phone shell by typing in a command window: adb shell
5. Type the following in adb shell:
cd /data/app
pwd
If you get /system/sd/app returned, then A2SD installed correctly. If you get /data/app, A2SD did not move the data.
Click to expand...
Click to collapse
You can manually move the data yourself by typing the following commands:
mkdir /system/sd/app
mkdir /system/sd/app-private
chmod 777 /system/sd/app
chmod 777 /system/sd/app-private
cp /data/app/* /system/sd/app
cp /data/app-private/* /system/sd/app-private
rm /data/app
rm /data/app-private
ln -s /system/sd/app /data/app
ln -s /system/sd/app-private /data/app-private
1. Flash the Darktremor A2SD 2.6.1: http://forum.xda-developers.com/showthread.php?t=670087
2. Reboot
3. Once the phone reboots, go into your phone (adb shell) and type:
/system/bin/a2sd cache
That will move the dalvik-cache. Once the move is complete, reboot the phone.
jtology said:
I have HTC HERO, Fresh 2.0d rom, 16gb sd card and RA 1.6.2. I have partitioned sd, created ext2, converted ext2 to ext3 and installed rom and apps. All apps load and function but they are being put into internal mem and copied rather than moved to sd\apps. Memory check shows internal and sd memory decreases with installation of apps.
Here's a screen shot of my command prompt showing that Apps and Apps Private are being reassigned to sd card properly:
Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.
C:\Users\VP>cd\
C:\>cd tools
C:\tools>adb remount
* daemon not running. starting it now *
* daemon started successfully *
remount succeeded
C:\tools>adb shell
# ls -l /data
ls -l /data
drwxr-xr-x system system 2010-04-26 10:55 tombstones
drwx------ system system 2010-04-26 10:08 backup
prw-r--r-- system system 2010-04-23 16:32 gps_nmea_fifo
-rw-rw-rw- media system 12 2010-04-26 00:04 StreamingPacketLost.txt
-rw-rw-rw- media system 2 2010-04-26 12:11 pvcodec.txt
drwxrwxr-x system system 2010-04-26 11:54 system
drwxrwx--x system system 2010-04-23 16:28 anr
drwx------ root root 2010-04-26 10:09 agent
drwx------ root root 2010-04-23 16:27 agent_htc
lrwxrwxrwx root root 2010-04-23 16:27 app-private -> /system/sd
/app-private
lrwxrwxrwx root root 2010-04-23 16:27 app -> /system/sd/app
drwxrwxrwx bluetooth bluetooth 2010-04-26 10:09 btips
drwxrwxrwx root root 2010-04-23 16:27 DxDrm
drwxrwx--x system system 2010-04-26 10:54 dalvik-cache
lrwxrwxrwx root root 2010-04-23 16:27 drm -> /data/local
drwx------ root root 2010-04-26 10:07 property
drwxrwx--x system system 2010-04-26 10:54 data
drwxr-xr-x shell shell 2010-04-23 16:27 local
drwxrwxrwx wimax wimax 2010-04-23 16:27 wimax
drwxrwx--t system misc 2010-04-26 12:10 misc
drwxr-x--- root log 2010-04-23 16:27 dontpanic
drwxrwx--- root root 2010-04-23 16:27 lost+found
# exit
exit
C:\tools>
Please let me know what I can do to get A2sd working properly on Fresh 2.0d rom whether its a manual or auto version or any other fix. I use lots of apps and I am getting low memory warning from the system.
Thanks
Click to expand...
Click to collapse
Hey i just got finished installing A2SD 2.6.1 and i have a class 2 16gb sd card and my internal mem is reading like 74/159, is that normal?
I DID install the correct version for class 2 cards
and i did your /system/bin/a2sd check
and it looked like everthing checks ok
In A2SD status report i got this
[*] /data/app link active
[*] /data/app-private link active
[*] /data/dalvik-cache NOT active
No Cache flag file present
[X] Swap partition NOT present
i read that the other guy had 100+ mb free after A2SD and i also remember back on 1.5 when i had tried it out i got similar numbers.
Anything else i can do to maybe check if i did everything alright?
or maybe already know why im getting still such a low internal mem?
you should check out the GUI version of apps2sd http://forum.xda-developers.com/showthread.php?t=670098
2.5 just crashed my phone, the GUI version not only fixed all my problems but it sped everything up signaficantly. Im not an expert with computers either so this was very easy to use
You picked up the one that doesn't activate the cache on boot. Just type
/system/bin/a2sd cache in adb shell.
frostrunner said:
Hey i just got finished installing A2SD 2.6.1 and i have a class 2 16gb sd card and my internal mem is reading like 74/159, is that normal?
I DID install the correct version for class 2 cards
and i did your /system/bin/a2sd check
and it looked like everthing checks ok
In A2SD status report i got this
[*] /data/app link active
[*] /data/app-private link active
[*] /data/dalvik-cache NOT active
No Cache flag file present
[X] Swap partition NOT present
i read that the other guy had 100+ mb free after A2SD and i also remember back on 1.5 when i had tried it out i got similar numbers.
Anything else i can do to maybe check if i did everything alright?
or maybe already know why im getting still such a low internal mem?
Click to expand...
Click to collapse
tkirton said:
You picked up the one that doesn't activate the cache on boot. Just type
/system/bin/a2sd cache in adb shell.
Click to expand...
Click to collapse
Actually i did, and my memory stayed the same at 70~
fallentimm said:
you should check out the GUI version of apps2sd http://forum.xda-developers.com/showthread.php?t=670098
2.5 just crashed my phone, the GUI version not only fixed all my problems but it sped everything up signaficantly. Im not an expert with computers either so this was very easy to use
Click to expand...
Click to collapse
Wow...and you didn't even give me a chance to fix it.
Treve uses a GUI to set things up. Other than that, the basic concept is the same (it's based on my earlier Darktremor A2SD, which itself is based on the original Cyanogen Apps2SD). It pretty much follows the same method to move files as I do. His is easier to setup if you are new at this. I try to make mine automatically set things up.
Nothing is wrong with what he's doing...it's definitely a different way of doing it and, as long as it works, more power to him.

[Q] Not possible to create a symlink in /mnt/sdcard?

Hi,
Is there a way to create a symling in /mnt/sdcard (I want to point to a folder of the microSD)?
Each time I try (several times since yesterday evening...), I receive the message "Function not implemented"...
Example (/data/sdext2 is an EXT2 partition on my microSD) :
Code:
ln -s /data/sdext2/test /mnt/sdcard/Android/data/test
The usage of mount -o bind doesn't work for what I want to do
Thanks in advance for your help!
Regards.
First question of all: Are you rooted? If not, root first.
If you are rooted and using shell inside the TF, be sure you do "su" before entering any command to grant root privileges (you should have the # prompt instead of $).
Aside from that, it should work... If is still giving you trouble please post the entire log for that session (just copy paste what you've entered in the console), so we can help you better.
Hi,
First of all, thanks for your answer!
My TF is rooted and I use Revolver 3.11.
There are 2 partitions on my micro sd :
1) 8 GB - FAT32 - Primary
2) 22 GB - EXT2 - Primary
The second partition is mounted on /data/sdext2 (mount -t ext2 -o rw /dev/block/mmcblk1p2 /data/sdext2).
Here are the commands :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
su
mount -o remount,rw /
cp -pr /mnt/sdcard/Android/data/com.triactivemedia.radiocontrolrotorworld /data/sdext2/com.triactivemedia.radiocontrolrotorworld
rm -r /mnt/sdcard/Android/data/com.triactivemedia.radiocontrolrotorworld
ln -s /data/sdext2/com.triactivemedia.radiocontrolrotorworld /mnt/sdcard/Android/data/com.triactivemedia.radiocontrolrotorworld
busybox ln -s /data/sdext2/com.triactivemedia.radiocontrolrotorworld /mnt/sdcard/Android/data/com.triactivemedia.radiocontrolrotorworld
Thanks in advance for your help!
Regards
Fat32 doesn't support symbolic links. You would need to use a couple of ext* or linux FS's.
Hi.
Thanks for the answer.
The second partition (/data/sdext2) is an EXT2 partition. So it seems it's not the issue...
Regards.
Sent from my HTC Sensation Z710e using Tapatalk
/mnt/sdcard is a fuse shim around /data/media. Crest your symlink there.
ln -s /Removable/MicroSD/folder /data/media/folder
Should generally work for most people, depending how how custom your tf is or in your case the card
Sent from my Transformer Prime TF201 using Tapatalk
Hi Spidey01!
Thanks a lot for your precious help!
You are right, I was able to create the symlink using :
ln -s /data/sdext2/Android/data/com.triactivemedia.radiocontrolrotorworld/ /data/media/Android/data/com.triactivemedia.radiocontrolrotorworld
If I go to /data/media/Android/data, everything is fine (see ls and ls -l here after) :
/data/media/Android/data # ls
com.google.android.apps.maps
com.google.android.gallery3d
com.google.android.music
com.google.android.videos
com.triactivemedia.modelhelicopterworld
com.triactivemedia.radiocontrolrotorworld
com.zinio.mobile.android.reader
/data/media/Android/data # ls -l
drwxrwxr-x media_rw media_rw 2012-01-10 15:31 com.google.android.apps.maps
drwxrwxr-x media_rw media_rw 2012-01-10 15:06 com.google.android.gallery3d
drwxrwxr-x media_rw media_rw 2012-01-10 14:57 com.google.android.music
drwxrwxr-x media_rw media_rw 2012-01-10 14:56 com.google.android.videos
drwxrwxr-x media_rw media_rw 2012-01-11 11:45 com.triactivemedia.modelhelicopterworld
lrwxrwxrwx root shell 2012-01-13 23:01 com.triactivemedia.radiocontrolrotorworld -> /data/sdext2/Android/data/com.triactivemedia.radiocontrolrotorworld/
drwxrwxr-x media_rw media_rw 2012-01-11 11:15 com.zinio.mobile.android.reader
If I go to /mnt/sdcard/Android/data, I see the link when I make a ls but not when I make a ls -l :
/mnt/sdcard/Android/data # ls
com.google.android.apps.maps
com.google.android.gallery3d
com.google.android.music
com.google.android.videos
com.triactivemedia.modelhelicopterworld
com.triactivemedia.radiocontrolrotorworld
com.zinio.mobile.android.reader
/mnt/sdcard/Android/data # ls -l
drwxrwxr-x root sdcard_rw 2012-01-10 15:31 com.google.android.apps.maps
drwxrwxr-x root sdcard_rw 2012-01-10 15:06 com.google.android.gallery3d
drwxrwxr-x root sdcard_rw 2012-01-10 14:57 com.google.android.music
drwxrwxr-x root sdcard_rw 2012-01-10 14:56 com.google.android.videos
drwxrwxr-x root sdcard_rw 2012-01-11 11:45 com.triactivemedia.modelhelicopterworld
drwxrwxr-x root sdcard_rw 2012-01-11 11:15 com.zinio.mobile.android.reader
Do you have another idea? Or should we admit that we can't use symlink with Fuse?
Thanks!!!
I am after this as well, have you managed to get it working?
I managed to symlink to /data/media/0 and file manager sees it there, but if I go to /sdcard there's nothing either.
Isn't there a way to edit fstab to get /sdcard to mount as ext4, instead of fuse? Because all my systems are Linux, I wouldn't have trouble mounting my Tablet over my laptop (even more because I only do wireless connections via ssh)
Sent from PomPoko [TF101G] using TapaTalkHD
This is how I did it.
mount -o bind /Removable/MicroSD /mnt/sdcard/extsd
frefol123 said:
This is how I did it.
Code:
mount -o bind /Removable/MicroSD /mnt/sdcard/extsd
Click to expand...
Click to collapse
I got the idea, but for what I need bind won't work
I want to symlink, e.g., a download folder from extsd in place of /sdcard/Download.
Bind only mounts the actual devices, subfolders won't work AFAIK
Sent from PomPoko [TF101G] using TapaTalkHD
leomeloxp said:
I got the idea, but for what I need bind won't work
I want to symlink, e.g., a download folder from extsd in place of /sdcard/Download.
Bind only mounts the actual devices, subfolders won't work AFAIK
Sent from PomPoko [TF101G] using TapaTalkHD
Click to expand...
Click to collapse
I just tried mount -o bind /Removable/MicroSD/Download /mnt/sdcard/extsd and it worked just fine, unless that is not what you meant.
Edit: nevermind, I just realized that you wanted to redirected the /sdcard/download folder to the micro sd.
The adroid app "FolderMount" will accomplish this and does so quite well. If you need to do mounts (links) outside of the internal and external sdcard folders, you will need to donate (inside the app; $2) and then use the option to uncheck destination folder checks. This app works really well for any data that isnt needed right at startup.
insanelycool said:
The adroid app "FolderMount" will accomplish this and does so quite well.
Click to expand...
Click to collapse
Thanks, but that looks like it requires root. If I had root, I would have already fixed this myself.
[Q] Can't create symlinks on sdcard0...
Running latest Carbon ROM, rooted.
I'm trying to link my /storage/sdcard0/Pictures/Screenshots into /storage/sdcard0/DCIM so Google+ will pickup and upload screenshots automatically.
I've fired up the Terminal Emulator, su'd no problem so prompt is a #.
cd /storage/sdcard0/DCIM works fine c/l prompt showing new path, pwd shows the same.
ln -s /storage/sdcard0/Pictures/Screenshots Screenshots
Gives the message: link failed Operation not permitted.
Obviously not a FAT32 issue as sdcard0 is the internal one so I assume EXT32...
Tried ln -sf... still nothing.
Any ideas?
Salut all!
I have android 4.2.2 with all user stuff stored in /data/media/0 (internal SD)
and clockworkmod backup hidden within /data/media/clockworkmod (id est it's not visible unless i navigate outside my SD with a help of some root explorer). But that's not an issue.
The issue is that I use PC based backup with Samba fileshare on smartphone and FreeFileSync running on Windows PC.
And Windows PC cannot access anything outside phone SD, so clockworkmod backups are out of syncing.
I suppose that linking /data/media/clockworkmod to /data/media/0/clockworkmod would make rom backups accessible from PC. Yeah?
So the main question is
What directories are actual and real?
I have
1) /data/media/0/
2) /mnt/shell/emulated/0/
3) /storage/emulated/0/
4) /storage/emulated/legacy/
And I cannot understand which of these is THE original one to operate with.
I would not want to create links on links on links on links...
Thank you!
chasman said:
Running latest Carbon ROM, rooted.
I'm trying to link my /storage/sdcard0/Pictures/Screenshots into /storage/sdcard0/DCIM so Google+ will pickup and upload screenshots automatically.
I've fired up the Terminal Emulator, su'd no problem so prompt is a #.
cd /storage/sdcard0/DCIM works fine c/l prompt showing new path, pwd shows the same.
ln -s /storage/sdcard0/Pictures/Screenshots Screenshots
Gives the message: link failed Operation not permitted.
Obviously not a FAT32 issue as sdcard0 is the internal one so I assume EXT32...
Tried ln -sf... still nothing.
Any ideas?
Click to expand...
Click to collapse
This is almost exactly what I want to do and I'm having the same problem. I want to get a symlink from /storage/sdcard0/DCIM/Studio to /storage/sdcard0/Studio, because a picture editing app I use stores the images it creates in /storage/sdcard0/Studio, and I want them to be synced to "the cloud" with my DCIM folder. I've tried the same steps as chasman, and gotten the same result.
May I ask a few questions regarding symlinks?
I'm thinking of solving a problem (wrote about it here) I have of sending multiple files that have the same name but aren't allowed to be renamed (which can cause issues) , by using symlinks to them (that will have unique names).
1. Will this solution work?
2. If this should work, would it require root, even if the path is public for all?
3. If it should work, what should be the exact command?
4. Is there anything I should know about this method?
5. Is there an official API on Android for symlinks?
6. Can it work on any device?
So I was able to create a symlink to external sdcard on LG g3 running rooted stock kit Kat Rom. I successfully changed Groove's (formerly xboxmusic) offline storage to external sdcard.
The following command was successful in creating a link, but Groove was unable to download music to the directory presumably due to permissions on /many
su
cp -rp /data/media/0/Android/data/com.microsoft.xboxmusic /storage/external_sd
rm -r /data/media/0/Android/data/com.microsoft.xboxmusic
ln -s /mnt/media_rw/external_sd/com.microsoft.xboxmusic/ /data/media/0/Android/data
After these commands, Groove was producing errors stating that there was not enough disk space. As said before, I believe this was due to it's lack of permissions to /mnt
Replacing the last command with the following worked and offline music is now downloaded to external sd card
ln -s /storage/external_sd/com.microsoft.xboxmusic/ /data/media/0/Android/data
Given my experience, you cant create a link in a fuse fs, but you can create a symblink to a fuse fs.
Hope this helps.
Thanks it worked!!
frefol123 said:
This is how I did it.
mount -o bind /Removable/MicroSD /mnt/sdcard/extsd
Click to expand...
Click to collapse
thanks!! this command worked like a charm, i was able to link /sdcard to /storage/sdcard1 to change the default storage location!! Again thankyou very much!
a small issue
soorya_cryo said:
thanks!! this command worked like a charm, i was able to link /sdcard to /storage/sdcard1 to change the default storage location!! Again thankyou very much!
Click to expand...
Click to collapse
you cant access the internal sd card later on after running this command. Only option is to reboot and revert back to the default settings.

New OTA Update (Telstra 1.89)

Seems Telstra users got a 1.89 OTA update today :highfive:
I'll see if an RUU is available, but I think this makes it the newest official ROM version of the One X / XL so far?
Changes?
the_scotsman said:
Seems Telstra users got a 1.89 OTA update today :highfive:
I'll see if an RUU is available, but I think this makes it the newest official ROM version of the One X / XL so far?
Click to expand...
Click to collapse
Yepity yep.
Questions- Do we know the changes? Release notes?
Seems quicker to load up apps.....although that could just be because it rebooted for the first time since I bought it.... :laugh:
the_scotsman said:
Seems Telstra users got a 1.89 OTA update today :highfive:
I'll see if an RUU is available, but I think this makes it the newest official ROM version of the One X / XL so far?
Click to expand...
Click to collapse
indeed
it got to be just pushing out this afternoon, it wasn't available this morning
Anyone tried rooting the new OTA after updating?
doesn't work
Code:
$ ./root-linux.sh
Don't touch the device or unplug while rooting!
Push files
error: protocol fault (no status)
* daemon not running. starting it now *
* daemon started successfully *
rm failed for /data/local/installbusybox, No such file or directory
rm failed for /data/local/installbusybox2, No such file or directory
rm failed for /data/local/root, No such file or directory
rm failed for /data/local/root2, No such file or directory
rm failed for /data/local/sysro, No such file or directory
rm failed for /data/local/sysro2, No such file or directory
rm failed for /data/local/sysrw, No such file or directory
rm failed for /data/local/sysrw2, No such file or directory
rm failed for /data/local/unroot, No such file or directory
rm failed for /data/local/unroot2, No such file or directory
rm failed for /data/local/busybox, No such file or directory
rm failed for /data/local/su, No such file or directory
rm failed for /data/local/Superuser.apk, No such file or directory
failed to copy 'busybox' to '/data/local/busybox': Permission denied
failed to copy 'su' to '/data/local/su': Permission denied
failed to copy 'Superuser.apk' to '/data/local/Superuser.apk': Permission denied
Unable to chmod /data/local/busybox: No such file or directory
Unable to chmod /data/local/su: No such file or directory
Unable to chmod /data/local/Superuser.apk: No such file or directory
failed on '/data/local/tmp' - Permission denied
link failed File exists
rm failed for /data/local.prop, No such file or directory
Reboot
/system/bin/sh: cannot create /data/local.prop: Permission denied
Reboot again...
mount: Operation not permitted
mount: Operation not permitted
/system/bin/sh: cannot create /system/xbin/busybox: Read-only file system
Unable to chmod /system/xbin/busybox: No such file or directory
/system/bin/sh: /system/xbin/busybox: not found
/system/bin/sh: busybox: not found
/system/bin/sh: busybox: not found
Unable to chmod /system/xbin/su: No such file or directory
Unable to chmod /system/xbin/su: No such file or directory
Unable to chmod /system/app/Superuser.apk: No such file or directory
rm failed for /data/local.prop, No such file or directory
rm failed for /data/local/tmp, Permission denied
failed on '/data/local/tmp.bak' - No such file or directory
Reboot one last time...
erasen1 said:
doesn't work
Code:
$ ./root-linux.sh
Don't touch the device or unplug while rooting!
Push files
error: protocol fault (no status)
* daemon not running. starting it now *
* daemon started successfully *
rm failed for /data/local/installbusybox, No such file or directory
rm failed for /data/local/installbusybox2, No such file or directory
rm failed for /data/local/root, No such file or directory
rm failed for /data/local/root2, No such file or directory
rm failed for /data/local/sysro, No such file or directory
rm failed for /data/local/sysro2, No such file or directory
rm failed for /data/local/sysrw, No such file or directory
rm failed for /data/local/sysrw2, No such file or directory
rm failed for /data/local/unroot, No such file or directory
rm failed for /data/local/unroot2, No such file or directory
rm failed for /data/local/busybox, No such file or directory
rm failed for /data/local/su, No such file or directory
rm failed for /data/local/Superuser.apk, No such file or directory
failed to copy 'busybox' to '/data/local/busybox': Permission denied
failed to copy 'su' to '/data/local/su': Permission denied
failed to copy 'Superuser.apk' to '/data/local/Superuser.apk': Permission denied
Unable to chmod /data/local/busybox: No such file or directory
Unable to chmod /data/local/su: No such file or directory
Unable to chmod /data/local/Superuser.apk: No such file or directory
failed on '/data/local/tmp' - Permission denied
link failed File exists
rm failed for /data/local.prop, No such file or directory
Reboot
/system/bin/sh: cannot create /data/local.prop: Permission denied
Reboot again...
mount: Operation not permitted
mount: Operation not permitted
/system/bin/sh: cannot create /system/xbin/busybox: Read-only file system
Unable to chmod /system/xbin/busybox: No such file or directory
/system/bin/sh: /system/xbin/busybox: not found
/system/bin/sh: busybox: not found
/system/bin/sh: busybox: not found
Unable to chmod /system/xbin/su: No such file or directory
Unable to chmod /system/xbin/su: No such file or directory
Unable to chmod /system/app/Superuser.apk: No such file or directory
rm failed for /data/local.prop, No such file or directory
rm failed for /data/local/tmp, Permission denied
failed on '/data/local/tmp.bak' - No such file or directory
Reboot one last time...
Click to expand...
Click to collapse
Damn, thanks for letting us know.
EDIT: Those errors looks like an issue with the root install process. Obviously your phone was connected and you have the drivers installed? It looks like it's not seeing the phone at all.
the phone is connected, there was an adb instance in another terminal thats why you see script starts adb-mac at the top.
I tried some commands in the script it looks the update changed file permissions
Code:
$ adb push su /data/local/su
failed to copy 'su' to '/data/local/su': Permission denied
$ adb shell
1|[email protected]:/ $ mv /data/local/tmp /data/local/tmp.bak
failed on '/data/local/tmp' - Permission denied
someone on stock 1.81 can compare
Code:
[email protected]:/ $ mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
/dev/block/mmcblk0p33 /system ext4 ro,relatime,user_xattr,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p35 /data ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered,discard 0 0
/dev/block/mmcblk0p34 /cache ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered,discard 0 0
/dev/block/mmcblk0p26 /devlog ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered,discard 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk0p17 /firmware_radio vfat ro,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0
/dev/block/mmcblk0p18 /firmware_q6 vfat ro,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0
/dev/block/mmcblk0p19 /firmware_wcnss vfat ro,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0
tmpfs /data/secure/data tmpfs rw,relatime,mode=755,gid=1000 0 0
htcfs /data/htcfs fuse.htcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other 0 0
DxDrmServerIpc /data/DxDrm/fuse fuse.DxDrmServerIpc rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other 0 0
/dev/block/vold/179:36 /mnt/sdcard vfat rw,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro,discard 0 0
/dev/block/vold/179:36 /mnt/secure/asec vfat rw,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro,discard 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
[email protected]:/ $
[email protected]:/ $ ls -la
drwxr-xr-x root root 2012-07-13 22:44 acct
drwxrwx--- system cache 2012-07-13 21:13 cache
dr-x------ root root 2012-07-13 22:44 config
-rw-r--r-- root root 1387 1970-01-01 10:00 cwkeys
lrwxrwxrwx root root 2012-07-13 22:44 d -> /sys/kernel/debug
drwxrwx--x system system 2012-07-13 17:06 data
-rw-r--r-- root root 118 1970-01-01 10:00 default.prop
drwxr-xr-x root root 2012-07-13 22:44 dev
drwx------ root root 2012-07-13 22:45 devlog
lrwxrwxrwx root root 2012-07-13 22:44 etc -> /system/etc
drwxrwx--x system system 2012-07-13 22:44 firmware_dsps
drwxrwxrwx root root 1970-01-01 10:00 firmware_q6
drwxrwxrwx root root 1970-01-01 10:00 firmware_radio
drwxrwxrwx root root 1970-01-01 10:00 firmware_wcnss
-rwxr-x--- root root 111620 1970-01-01 10:00 init
-rwxr-x--- root root 19133 1970-01-01 10:00 init.elite.rc
-rwxr-x--- root root 2344 1970-01-01 10:00 init.goldfish.rc
-rwxr-x--- root root 13114 1970-01-01 10:00 init.qcom.rc
-rwxr-x--- root root 9588 1970-01-01 10:00 init.qcom.sh
-rwxr-x--- root root 22080 1970-01-01 10:00 init.rc
-rwxr-x--- root root 3314 1970-01-01 10:00 init.target.rc
-rwxr-x--- root root 7760 1970-01-01 10:00 init.usb.rc
drwxrwxr-x root system 2012-07-13 22:44 mnt
dr-xr-xr-x root root 1970-01-01 10:00 proc
drwx------ root root 2012-06-19 18:46 root
drwxr-x--- root root 1970-01-01 10:00 sbin
lrwxrwxrwx root root 2012-07-13 22:44 sdcard -> /mnt/sdcard
drwxr-xr-x root root 2012-07-13 22:44 sys
drwxr-xr-x root root 2012-07-13 20:04 system
drwxrwx--x system system 2012-07-13 22:44 tombstones
-rw-r--r-- root root 272 1970-01-01 10:00 ueventd.goldfish.rc
-rw-r--r-- root root 8451 1970-01-01 10:00 ueventd.rc
drwxrwx--x system system 2012-07-13 22:44 vendor
[email protected]:/ $
I smell an ATT update and possibly kernel source release soon
Sent from my HTC One X using xda app-developers app
Im ganna wait till there is a rooted deodexed version of this before I let it update, but Im hoping this means source code finally!
Sent from my HTC One XL using Tapatalk 2
Yes I did an OTA update to 1.89 from my stock 1.81. Worked fine even though i'm in UK atm. I don't see any differences from playing with the phone today.
I wonder if we can sniff out the 1.89 RUU some how. Is it possible to see where the OTA itself is downloading from? Maybe that site hosts RUU too?
juicejuice said:
Yes I did an OTA update to 1.89 from my stock 1.81. Worked fine even though i'm in UK atm. I don't see any differences from playing with the phone today.
I wonder if we can sniff out the 1.89 RUU some how. Is it possible to see where the OTA itself is downloading from? Maybe that site hosts RUU too?
Click to expand...
Click to collapse
I am in contact with someone who has access to the RUUs. This new one isn't yet available.
I don't know if this is of any help but here's the downloaded update file (even though I can't apply it I can still download it ad nauseum)
https://www.dropbox.com/s/wxsqmdhwc...81.841.1_R_release_266785ap9qro3i4pvkmhv0.zip
ethantarheels123 said:
I smell an ATT update and possibly kernel source release soon
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
I spoke to a high up tech at HTC and they said AT&T will have a maintenance update within 3 weeks. Not sure if it's the same. He told me wifi will be 99.99% fixed and blutooth radio will be optimized. I asked him about jellybean and he just laughed. I guess they haven't even discussed jellybean yet.
OP - Did you notice better multi-tasking? Better battery life?
I just got the update also. I had to manually check for it. I haven't noticed the font changing it messages yet. Although messages did crash on me once. I'll see how my battery goes today and report back. Where is the changelog. Can't seem to find it anywhere
Sent from my HTC One XL using xda app-developers app
Some version info for people.
1.81.841.1 -> 1.89.841.9
Kernel
3.0.8-01145 -> 3.0.8-01159
Radio
17a.32.09.03_2_10.85.32.16L -> 18c.32.09.01_10.93a.32.20L
hboot
1.09.0000 -> 1.11.0000
OpenDSP
v25.1.0.32.0405 -> 28.1.0.32.0504
Apr(I forgot to write the rest) -> Jun 7 2012,13:10:34
karan1203 said:
I spoke to a high up tech at HTC and they said AT&T will have a maintenance update within 3 weeks. Not sure if it's the same. He told me wifi will be 99.99% fixed and blutooth radio will be optimized. I asked him about jellybean and he just laughed. I guess they haven't even discussed jellybean yet.
OP - Did you notice better multi-tasking? Better battery life?
Click to expand...
Click to collapse
Isn't Wifi a hardware issue? Will this be another "fix" like what Asus did with Prime tablets? Heh.
Anyone who has applied this update, do you lose root and if so can you get it back easy enough. Also I've not unlocked the bootloader, is this still possible after upgrading HBOOT?
Never actually used an official update, got sick of waiting for telstra to bring froyo when I had my Desire and never looked back.
hmm i couldnt do the update.
i think cause my phone has been rooted.
anyone experience the same problem?
Itaintrite said:
Isn't Wifi a hardware issue? Will this be another "fix" like what Asus did with Prime tablets? Heh.
Click to expand...
Click to collapse
Why do you think it is hardware based?
Some of the issues people report are:
-auto 2.4/5ghz doesnt work (cant obtain IP aka no data flow). Must force 2.4ghz
-wifi does not disconnect when out of range. Must turn wifi off/on
-wifi does not reconnect when in range. Must turn wifi off/on
I think the general understanding is all of these are likely just a software issue.
---------- Post added at 08:08 AM ---------- Previous post was at 08:06 AM ----------
dejapanda said:
hmm i couldnt do the update.
i think cause my phone has been rooted.
anyone experience the same problem?
Click to expand...
Click to collapse
I believe you need stock recovery for it to work. Maybe also require locked bootloader.
I personally locked the bootloader, flashed Telstra RUU and then installed the update. Followed by unlocking bootloader and replacing recovery again
twistedddx said:
I believe you need stock recovery for it to work. Maybe also require locked bootloader.
I personally locked the bootloader, flashed Telstra RUU and then installed the update. Followed by unlocking bootloader and replacing recovery again
Click to expand...
Click to collapse
Did you try rooting again after the update?

[Q] ADB shell privileges can't write to SD card

On my other Android devices (Acer Iconia A500, Nook Color, Motorola Droid), when I invoke "adb shell" from my PC, I get a "shell" user prompt ("$"), and I can read and copy files to directories on my SD card.
When I attempt to do that on the Tab2 (7.0"), I can read files on the SD card, but I cannot write to any directory there (/storage/extSdCard mount point).
Since I'm rooted, I can "su" to a "root" user prompt and do what I want. However, what I really want is to move files to the SD card via "adb push", which uses the "shell" user, and thus doesn't work.
I've tried "adb root" from the PC, and that just disconnects the PC from the Tab2 until I unplug and replug the USB cable into the PC.
GT-P3113 running stock 4.1.1 (except for rooting via Odin).
Any suggestions as to what might be wrong?
ADB Root should automatically reconnect the device in root mode.
Go to
Settings==>Developer Options==>Root access
make sure its set to "Apps and ADB"?
Alternately try pushing to
/extSdCard and not /storage/exSdCard
It works without root for me.
Not yet
wjptam said:
ADB Root should automatically reconnect the device in root mode.
Go to Settings==>Developer Options==>Root access
make sure its set to "Apps and ADB"?
Alternately try pushing to /extSdCard and not /storage/exSdCard
It works without root for me.
Click to expand...
Click to collapse
"adb root" gives "adbd cannot run as root in production builds"
Under Settings/Developer Options, I have no "Root access" setting
There is no "/extSdCard" at the root level, and "adb push" to it fails.
Edit: Permissions on the mount points:
[email protected]:/etc # lo /storage/
lo /storage/
d--------- system system 2013-03-06 17:34 UsbDriveA
d--------- system system 2013-03-06 17:34 UsbDriveB
d--------- system system 2013-03-06 17:34 UsbDriveC
d--------- system system 2013-03-06 17:34 UsbDriveD
d--------- system system 2013-03-06 17:34 UsbDriveE
d--------- system system 2013-03-06 17:34 UsbDriveF
drwxrwxr-x system media_rw 1969-12-31 16:00 extSdCard
drwxrwxr-x root sdcard_rw 2013-03-06 17:41 sdcard0
It's the "media_rw" group owner, rather than the "sdcard_rw" group owner, that is the problem. The "shell" user has group access to "sdcard_rw" but not "media_rw". Of course "addgroup shell media_rw" (and its numerical equivalents) fails.
I too find this very annoying
adb shell...
sgn2$ id
uid=2000 gid=2000 groups=1003,1004,1007,1009,1011,1015,1028,3001,3002,3003,3006
sgn2$ ls -lad /storage/extSdCard
drwxrwxr-x 39 1000 1023 16384 Jan 1 1970 /storage/extSdCard
so adb doesn't have group 1023 needed to write to the external sd card. /etc/group doesn't exist. I don't know how to change this, and googling for a fix brought me here!
thanks very much for any help
Paul
---------- Post added at 08:09 AM ---------- Previous post was at 07:57 AM ----------
OK, after random googling I found this:
so the permission to write to the card is defined here:
http://developer.android.com/reference/android/Manifest.permission.html#WRITE_EXTERNAL_STORAGE
and somehow we should be able to use the "pm" command to add permission:
http://developer.android.com/tools/help/adb.html
"list permission-groups"
"grant permission".
but adb isn't a package. hmmm.
!SOLVED!
so in group ID terms, adb shell gets sdcard_rw but not media_rw which is the group we need to have write on the external sd card.. a reminder:
Code:
[email protected]:/ $ ls -lad /storage/extSdCard /storage/sdcard0
drwxrwxr-x system media_rw 1970-01-01 01:00 extSdCard
drwxrwxr-x root sdcard_rw 2013-05-17 11:52 sdcard0
or numerically...
[email protected]:/ $ ls -ladn /storage/extSdCard /storage/sdcard0
drwxrwxr-x 39 1000 1023 16384 Jan 1 1970 /storage/extSdCard
drwxrwxr-x 47 0 1015 4096 May 17 10:52 /storage/sdcard0
ah... http://forum.xda-developers.com/showthread.php?p=40845568
suggests that editing the /etc/permissions/platform.xml might work?
looking in platform.xml I see...
Code:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>
and
<permission name="android.permission.WRITE_MEDIA_STORAGE" >
<group gid="media_rw" />
</permission>
I think the each permission name should only have ONE entry, i.e. the WRITE_EXTERNAL_STORAGE should be just sdcard_rw, the media_rw is bogus and gets ignored.
so, let's add this line:
Code:
<assign-permission name="android.permission.WRITE_MEDIA_STORAGE" uid="shell" />
then reboot. and voila!
Code:
[email protected]:/ $ id -a
uid=2000(shell) gid=2000(shell) groups=1003(graphics),1004(input),1007(log),1009(mount),1011(adb),1015(sdcard_rw),1028(sdcard_r),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats)
my adb shell now has the required privilege to write to the external sdcard
--edit--
ok, no, it didn't work.

[Q] /data filesystem problem

In the ADB shell as root I get the following results
Code:
/data # ls -la dalvik-cache/
ls -la dalvik-cache
ls: dalvik-cache/[email protected]@[email protected]: No such file or directory
ls: dalvik-cache/[email protected]@[email protected]: No such file or directory
ls: dalvik-cache/[email protected]@[email protected]: No such file or directory
ls: dalvik-cache/[email protected]@[email protected]: No such file or directory
ls: dalvik-cache/[email protected]@[email protected]: No such file or directory
ls: dalvik-cache/[email protected]@[email protected]: No such file or directory
ls: dalvik-cache/[email protected]@[email protected]: No such file or directory
ls: dalvik-cache/[email protected]@[email protected]: No such file or directory
ls: dalvik-cache/[email protected]@[email protected]: No such file or directory
ls: dalvik-cache/[email protected]@[email protected]: No such file or directory
ls: dalvik-cache/[email protected]@[email protected]: No such file or directory
drwxrwx--x 4 root root 57344 Mar 14 12:36 .
drwxrwx--x 41 system system 4096 Mar 15 07:45 ..
drwx--x--x 2 root root 53248 Mar 15 07:45 arm
drwx--x--x 2 system system 20480 Mar 14 20:56 profiles
/data # ls -la property/
ls -la property
ls: property/persist.atvc.allow_res_core: No such file or directory
ls: property/persist.atvc.allow_all_core: No such file or directory
ls: property/persist.radio.adb_log_on: No such file or directory
drwx------ 2 root root 4096 Mar 15 08:25 .
drwxrwx--x 41 system system 4096 Mar 15 07:45 ..
-rw------- 1 root root 1 Jan 2 2009 persist.atvc.adb
-rw------- 1 root root 1 Mar 15 07:45 persist.atvc.allow_res_panic
....
This doesn't seem right. Since /data is an F2FS partition I can't fsck it.
Any ideas on how to get rid of those errors?
What I've tried:
listing (ls), removing, stat'ing, fsck.f2fs'ing, nothing works from the shell.
Is there possibly a better forum to ask this question? I have plenty *nix experience, but am stumped on how to solve this. Normally filechecking tools are necessary but a good one for F2FS doesn't seem available (on Android).
Which ROM are you running on your phone? I'm not sure if that makes a difference since GPE uses ext4 and stock uses f2fs.
I've only run stock KK and L.
In the end I could only solve it by completely wiping the /data partition with dd and reformatting with mkfs.f2fs.
Done from adb shell in recovery.
I dunno how I ended up in this situation but it's solved now.
Running the Brzilian XT1032 ROM now, will reinstall sometime when the EU image is available.
Sent from my XT1032 using XDA Free mobile app
Quark^2 said:
I've only run stock KK and L.
In the end I could only solve it by completely wiping the /data partition with dd and reformatting with mkfs.f2fs.
Done from adb shell in recovery.
I dunno how I ended up in this situation but it's solved now.
Running the Brzilian XT1032 ROM now, will reinstall sometime when the EU image is available.
Sent from my XT1032 using XDA Free mobile app
Click to expand...
Click to collapse
Could you give a link to the file and a list of commands you used?
I'm probably stuck in the same situation as you were.

Categories

Resources