[Q] Saving captured video directly to USB stick over otg? - Nexus 5 Q&A, Help & Troubleshooting

Is there a way to get the camera app to save the video files directly onto a usb stick over otg instead of saving to the internal memory?

Only with root and foldermount

rootSU said:
Only with root and foldermount
Click to expand...
Click to collapse
It seems like that's not enough. Ive read that i need to flash chaos or mehdi kernel so it detects the usb otg as a special drive or something. Stickmount doesnt work because i cant select anythung on the usb stick as the destination folder.

polishdude20 said:
It seems like that's not enough. Ive read that i need to flash chaos or mehdi kernel so it detects the usb otg as a special drive or something. Stickmount doesnt work because i cant select anythung on the usb stick as the destination folder.
Click to expand...
Click to collapse
Foldermount does work with stickmount. It was updated a long time ago to work with it.

rootSU said:
Foldermount does work with stickmount. It was updated a long time ago to work with it.
Click to expand...
Click to collapse
In foldermount when I try and select the usb stick as the destination, I type in the path which is usb://1002/ but it doesn't work and says to check permissions but I'm not sure which permissions it wants me to check.

polishdude20 said:
In foldermount when I try and select the usb stick as the destination, I type in the path which is usb://1002/ but it doesn't work and says to check permissions but I'm not sure which permissions it wants me to check.
Click to expand...
Click to collapse
im not sure that is the path. It used to be /sdcard/UsbStorage .. double check that.

rootSU said:
im not sure that is the path. It used to be /sdcard/UsbStorage .. double check that.
Click to expand...
Click to collapse
I tried this too and it's not saving the pictures on there. The path for me is /storage/emulated/legacy/usbStorage and the source is /storage/emulated/0/DCIM/Camera
The photos are just not moving to the USB stick at all and they aren't showing up in the DCIM/Camera folder either. They just don't even get saved on the phone or the USB stick

Sounds like you're doing something wrong...
By the way, stick mount tells you in description on play that the location I said is correct. Not your location. Who told you it was that?

rootSU said:
Sounds like you're doing something wrong...
By the way, stick mount tells you in description on play that the location I said is correct. Not your location. Who told you it was that?
Click to expand...
Click to collapse
Oh no like I said in my previous post, the actual path was the one you told me and not the usb://1002/ one I said. I can't think of what could be wrong.

polishdude20 said:
Oh no like I said in my previous post, the actual path was the one you told me and not the usb://1002/ one I said. I can't think of what could be wrong.
Click to expand...
Click to collapse
Screen recorder apps will often save in their own folders and have to be moved from there to another destination. Are you on Lollipop? Try A-Z Recorder, it's very nice and free. Try copy and pasting the path you want to save rather than typing to ensure you get it exact. If for some reason you can't write to USB I know you can move files to USB after recording.

Can you replace /sdcard/DCIM/... with a symlink to the place it mounts the OTG partition?
Sent from my Nexus 5 using XDA Free mobile app
---------- Post added at 02:30 PM ---------- Previous post was at 02:30 PM ----------
I don't have an adapter but I'm just thinking out loud.
Sent from my Nexus 5 using XDA Free mobile app

Related

[Q] Can't access internal storage on EB ICS

So I flashed EB's ICS ROM recently and I noticed that I can't connect to or view my internal storage on my computer or phone. I know this is usually listed as "USB storage" on ICS ROMs but I don't have anything. If I connect it to the computer it says connected as a camera and I can only see my external microsd but not my internal =/ can someone help?
This is possibly caused by a common problem with a couple if the earlier ICS Roms. The instructuins on mounting the internal sdcard are a little messed up. It can possibly be fixed by following these steps. I did not find this myself. I am summarizing and writing a step by step of somebody else's solution.
Here is a step by step I learned from the previous post in the eaglesblood rom ICS thread..
1. Use root explorer or file explorer.. open system folder
2. Scroll down to "etc " folder and open...
3. Scroll down to "vold.fstab" file..
4. Long press on the file and select "open with" then select "text editor"
5. When that opens look at the bottom of the file.. you will see a 9. (It is the only 9 on the page...) change that 9 to an 8
6. Tap menu select save... back out and reboot the phone... the file should now tell your phone how to accurately and consistantly view the sdcard.
Let us know how it went.... (this set of Instructions is for ICS Roms... GB roms didn't have this problem as far as I know.
Credit for finding this fix goes to Mister Hat on page 7 of EaglesBlood ICS Rom thread ..
Sent from my AT100 using Tapatalk
Sent from my LG-P999 using Tapatalk
Unfortunately it did not work. I followed the steps and nothing Still no USB Storage, it does say Internal Storage on the bottom but its nothing but a title with no content under it
I have this issue also. I tried to do this but my file is locked. How to I unlock to edit the 9 to an 8? Thanks!
Sent from my LG-P999 using xda premium
Hey guys,
someone had posted to install the lastest LG drivers in order for you to see
the files on ur pc...i know it worked for me...but for some reason it stopped working...Hopfully the next EB build 3 can maybe fix it
---------- Post added at 10:30 AM ---------- Previous post was at 10:17 AM ----------
eaglesoar711 said:
I have this issue also. I tried to do this but my file is locked. How to I unlock to edit the 9 to an 8? Thanks!
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
which app are you using to open the file?
long tap and you should get a menu with opitions
eaglesoar711 said:
I have this issue also. I tried to do this but my file is locked. How to I unlock to edit the 9 to an 8? Thanks!
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
Mount r/w, and then do that
---------- Post added at 02:44 PM ---------- Previous post was at 02:43 PM ----------
gravis710 said:
So I flashed EB's ICS ROM recently and I noticed that I can't connect to or view my internal storage on my computer or phone. I know this is usually listed as "USB storage" on ICS ROMs but I don't have anything. If I connect it to the computer it says connected as a camera and I can only see my external microsd but not my internal =/ can someone help?
Click to expand...
Click to collapse
Well first off, mount as mtp.
I am using root explorer and it does say R/W at the top, but the file has a yellow lock symbol on it and it still won't let me edit, even after I long press and select edit text...thank you for your response!
Sent from my LG-P999 using xda premium
Have you tired installing the new EB Build 3?
i believe you can access your sd like a regular flash drive
Can"t access internal storage on EB ICS
I haven't had the chance yet, was checking eagerly all weekend! Will see if the update solves it...backing up my current release 2 now....and updating Titanium backup in preparation....love new releases!
singh4eva said:
Have you tired installing the new EB Build 3?
i believe you can access your sd like a regular flash drive
Click to expand...
Click to collapse
Yes, but not your internal memory. Because of some low level access issues the dev won't support it. You will just have to use a file manager on your phone to access it. It should be understood mount/emmc and will be empty since obviously you haven't been using it
Sent from my LG-P999 using xda premium
psychoace said:
Yes, but not your internal memory. Because of some low level access issues the dev won't support it. You will just have to use a file manager on your phone to access it. It should be understood mount/emmc and will be empty since obviously you haven't been using it
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
CSM said you will be able to access it in later builds

[Q] Inevitable Newbie questions

Bought a rooted Captivate on ATT with ICS 4.0.4 and cyanogen 9. Tried to unlock it but could not get nv_data.bin to copy to my sdcard. Ended up just calling ATT and they gave me the code.
Forgive me if these answers are here. I looked, I couldn't find them.
Why doesn't cat /efs/nv_data.bin >> /sdcard/nv_data.bin result in the file being copied to the sdcard next to the sim card? Does that sdcard have a different name? I put an apk file on there via my computer (LOST.DIR was there from the phone, btw) but the phone said nothing was on the sdcard, which means I'm looking at the wrong sdcard somehow?
Why does my SGH-i897 have an i9000UGKG3 baseband and does that make the phone a GT-i9000 or is it still an i897?
Why does Google Play not allow registering a second device so that the app store can be accessed? I got the apk for the store downloaded and installed, but it just launches and then immediately closes.
I found KIESAIR-1.apk, downloaded it but that halts with a message "Application not installed." No idea why. Tried two versions of Kies Air. Both installations halted. I did check allow unknown sources. I want Kies Air because I cannot get USB to work with the phone on three different Windows laptops and that's a whole other kettle of fish.
Much appreciate any info you can share.
-Bob
To answer your first question, i think the command would be going to /mnt/sdcard instead of just /sdcard.
I loathe kies air. You can use "Air Droid", it should be on the market. There are other similar applications where you can transfer files via Wi-Fi. Hopefully someone else here will help you with accessing the market.
The baseband is the modem(or radio, not sure what term exactly) your phone is running, which is what the phone uses to get a signal and access the data network People report higher data speeds, better signal, and better GPS reception with different modems. It's still a Samsung Captivate. I'm using an I9000 modem as well.
That's all I can answer for you, I'm sort of a newbie too. Lots of reading and googling helps.
the micro sd card is mounted as
/sdcard/external_sd
the path /sdcard is the internal user storage.
Sent from my SAMSUNG-SGH-I897 using xda app-developers app
Thank you very much. So that I can have better luck with Google searches in the future, can you tell me how you came to know this? All I came up with in my searches was /mnt/sdcard but that turned out to be the system card and I'm lucky I didn't screw up anything.
Found the various wikis on XDA for Captivate and now reading through them.
laughingT said:
the micro sd card is mounted as
/sdcard/external_sd
the path /sdcard is the internal user storage.
Sent from my SAMSUNG-SGH-I897 using xda app-developers app
Click to expand...
Click to collapse
I had tried that, but forgot to mention it. As somebody else pointed out, that turned out to be the system card.
bobcov said:
Why does Google Play not allow registering a second device so that the app store can be accessed? I got the apk for the store downloaded and installed, but it just launches and then immediately closes.
-Bob
Click to expand...
Click to collapse
Are you sure gapps was ever flashed once CM9 was installed? You might flash it again anyway and see if that helps. I've never known Play to limit registrations.
It has to be part of the firmware? Is that what you mean by it has to be flashed? Where can I read about that? BTW, I now have access to the phone via Android Sync Manager over wifi. Trying to find a way to put contacts into it without using Gmail. Seems I can't see the entire file system. The contacts are supposed to be in a file in this path data/data/com.android.providers.contacts/databases/contacts.db, but that path doesn't show up. How come? I'll be looking back at this post someday chuckling, but for now, I'm mystified.
bobcov said:
It has to be part of the firmware? Is that what you mean by it has to be flashed? Where can I read about that? BTW, I now have access to the phone via Android Sync Manager over wifi. Trying to find a way to put contacts into it without using Gmail. Seems I can't see the entire file system. The contacts are supposed to be in a file in this path data/data/com.android.providers.contacts/databases/contacts.db, but that path doesn't show up. How come? I'll be looking back at this post someday chuckling, but for now, I'm mystified.
Click to expand...
Click to collapse
When you install cyanogenmod Google apps (gapps) aren't included. If the previous owner didn't add them then none of your Google apps nor your sign in will be present. Even if it is already installed a reinstall may help.
Download this: http://goo.im/gapps/gapps-ics-20120429-signed.zip
Reboot to recovery and install zip from sdcard. You'll have to find and choose the file you just downloaded. Reboot and see if things aren't square.
You can also do a nandroid backup from the recovery so you can get back to where you are now if things go awry. Side note, if you want to install the latest cm9 nightly the method is the same.
You can find clearer instructions via the cyanogenmod site should you feel uneasy about proceeding. I'm away from the PC and typing from my phone or I'd try to be more thorough. Good luck!
---------- Post added at 08:28 PM ---------- Previous post was at 08:19 PM ----------
bobcov said:
It has to be part of the firmware? Is that what you mean by it has to be flashed? Where can I read about that? BTW, I now have access to the phone via Android Sync Manager over wifi. Trying to find a way to put contacts into it without using Gmail. Seems I can't see the entire file system. The contacts are supposed to be in a file in this path data/data/com.android.providers.contacts/databases/contacts.db, but that path doesn't show up. How come? I'll be looking back at this post someday chuckling, but for now, I'm mystified.
Click to expand...
Click to collapse
I just checked and found my contacts where you mentioned. You probably just need to copy the file using a file manager and move it to an accessible location you can see from the PC. I like root explorer. ES file manager is good, too, and free.
Since you may not have gapps I'd try that first and it may create the contacts db.
Hi,before I can try what you suggested, I need to straighten out what's up with my file system. I still cannot see my external sd card in file operations, even though the phone shows it is present, lets me mount and unmount it. If I copy something to it from the laptop using a card reader, nothing shows up when it is mounted in the phone. The other mystery is that with ES file explorer, I still do not see the contacts.db file path, so I'm doing something wrong. Once I can see that path and see the external sd, I'll follow your instructions.
-B
Make sure you have root function enabled in es file explorer. It's in settings.
With the external sd , on cm9 you'll find it at /emmc. (or /mt/emmc)
But read up on flashing.... You won't regret it.
Sent from phone with app
i believe the external sd card is called emmc on the ics roms
try opening a terminal emulator, then type:
df
the ouput from df will give you total space and free space for mounted paths, including your sdcard, if it is mounted.
if you want to see rootsystem files, run su before df.
there is a free terminal emulator on google play, aka market, if you need it.
Sent from my SAMSUNG-SGH-I897 using xda app-developers app
bobcov said:
Hi,before I can try what you suggested, I need to straighten out what's up with my file system. I still cannot see my external sd card in file operations, even though the phone shows it is present, lets me mount and unmount it. If I copy something to it from the laptop using a card reader, nothing shows up when it is mounted in the phone. The other mystery is that with ES file explorer, I still do not see the contacts.db file path, so I'm doing something wrong. Once I can see that path and see the external sd, I'll follow your instructions.
-B
Click to expand...
Click to collapse
At this point, how do you feel about starting over? Some people aren't comfortable with a full factory reset and/or starting over with stock gingerbread, but I'd be leaning toward that at this point. I'm not completely sure it's necessary but I've wiped clean for less.
Well, after many days, I am now finally importing 750 contacts without exposing any of them to a 3rd party server such as Google, etc.
1. There's a link here somewhere for version 1.3.450.0 "Samsung USB Driver for Mobile Phones. The filename was SAMSUNG_USB_Driver_for_Mobile_Phones_x86.exe
2. Forget about Kies. Somebody said it won't work unless it sees Touch Wiz. I don't know if it would work under any circumstances.
3. For my 750 contacts in blackberry, I made an .ipd backup of the blackberry using the RIM software, then used ABC Amber Blackberry Converter which can extract data from IPD backups and exported my contacts as CSV.
4. I used Windows Address Book to read the CSV file created by Amber and saved the file with .WAB as a Windows Address Book file.
5. I used the inexplicably free and astoundingly well-executed Wondershare MobileGo for Android program to link to my phone. On one computer it immediately identified the model and showed all contents. On another computer, it could not see the phone, and went to the web without prompting, downloaded a driver, installed it and loaded the phone into the program. Amazing. All I did was click on contacts on the left and then the small down arrow under the word "Import" on the Import icon. It took me about an hour to realize this was how to get the program to import different formats other than vcard. It somehow immediately found the .WAB file, and imported the 750 contacts where are now on the phone.
6. For the purposes of entertainment for those who know better and education for those who don't, here were some of my downfalls: All the apps may respond to that little funny symbol on the left, below the keyboard adjacent to "Samsung." I didn't know for the longest time that was a critical menu key. Also mirthful, I didn't know that you can just draw downward from the top of the screen and get a kind of status page where you will see "USB connected" which you must press if you want to copy stuff to the phone. I will now read the phone's manual.
It seems that the external card under Cyanogenmod 9 is /mnt/emmc/ instead of where programs expected it to be. I got a program called Directory Bind and tried to make it so that /mnt/emmc/ would automatically be seen as /mnt/sdcard/external_sd but it said that that wasn't a valid target. Any ideas there? Meantime I have done it from terminal but I don't think that will stick beyond a reboot.
Damn you learn quick. When I first discovered the menu key it was like discovering a while new world.

Is it not possible to change the Device name to something else other than android-???

I am hitting my Head against a brick wall here, as I cant seem to find a way to change the device name in settings unless someone can advice me how to go about it.
This is really frustrating and i ve barely had the device for few days.. Am on 4.0.4 rom.
or is it not a possibility at all?
Thanks in advance.
A 'Y' cable with 2M and One F. M into charger. Other M into for the cable you are using to attach your USB drive now. Or a Y cable with 2F and one M. You could use one F for the data cable that comes with tablet, one F for USB drive and M into charger.
I just did it with a 100 GB, portable HD. That came with a Y cable for additional power and I used my OTA adapter. Worked fine. It mounted as /mnt/UsbDriveA.
king200 said:
A 'Y' cable with 2M and One F. M into charger. Other M into for the cable you are using to attach your USB drive now. Or a Y cable with 2F and one M. You could use one F for the data cable that comes with tablet, one F for USB drive and M into charger.
I just did it with a 100 GB, portable HD. That came with a Y cable for additional power and I used my OTA adapter. Worked fine. It mounted as /mnt/UsbDriveA.
Click to expand...
Click to collapse
You ve lost me mate....
saayinla said:
You ve lost me mate....
Click to expand...
Click to collapse
Lol... I think he misread your post and was trying to help you charge your tablet.
Sent from my GT-P3113 using Tapatalk 2
saayinla said:
I am hitting my Head against a brick wall here, as I cant seem to find a way to change the device name in settings unless someone can advice me how to go about it.
This is really frustrating and i ve barely had the device for few days.. Am on 4.0.4 rom.
or is it not a possibility at all?
Thanks in advance.
Click to expand...
Click to collapse
Why do you want to do this?
saayinla said:
I am hitting my Head against a brick wall here, as I cant seem to find a way to change the device name in settings unless someone can advice me how to go about it.
This is really frustrating and i ve barely had the device for few days.. Am on 4.0.4 rom.
or is it not a possibility at all?
Thanks in advance.
Click to expand...
Click to collapse
Is this so that you can access it over the network with a sensible and memorable name?
I had that issue, but I found it was easier to change it on the router rather than on the tablet.
But it's frustrating that it looks as though it's going to let you change the name on the tablet, but then doesn't!
acefsw said:
Why do you want to do this?
Click to expand...
Click to collapse
Reason is, I have access to wifi at work and its would be nice if the Admin knows the device is mine if I change it to something recognisable.
Code:
# setprop net.hostname YourNewHostName
You will need root access.
proudfoot said:
Code:
# setprop net.hostname YourNewHostName
You will need root access.
Click to expand...
Click to collapse
Thanks for that, do I have to logon as Su in terminal emulator to edit the hostname file?
saayinla said:
Thanks for that, do I have to logon as Su in terminal emulator to edit the hostname file?
Click to expand...
Click to collapse
Yes
proudfoot said:
Code:
# setprop net.hostname YourNewHostName
You will need root access.
Click to expand...
Click to collapse
That seems to change it only till next reboot.
It would be possible to put something in init.d (on a ROM with support for that) to change it each time, I suppose, but it would be nice to be able to make the change properly permanent.
saayinla said:
You ve lost me mate....
Click to expand...
Click to collapse
Don't know how I got right post into wrong thread
Sorry.
fudgeboy said:
That seems to change it only till next reboot.
It would be possible to put something in init.d (on a ROM with support for that) to change it each time, I suppose, but it would be nice to be able to make the change properly permanent.
Click to expand...
Click to collapse
I believe you need to change system/xbin/hostname
Doesn't cyanogenmod allow you to change the device settings? I recall seeing that in the last build I used.
Sent from my Galaxy Nexus using Tapatalk 2
fudgeboy said:
That seems to change it only till next reboot.
It would be possible to put something in init.d (on a ROM with support for that) to change it each time, I suppose, but it would be nice to be able to make the change properly permanent.
Click to expand...
Click to collapse
Try this https://play.google.com/store/apps/...mNvbS50aXJhbm9kcm9pZC5jaGFuZ2UuaG9zdG5hbWUiXQ..
fudgeboy said:
That seems to change it only till next reboot.
It would be possible to put something in init.d (on a ROM with support for that) to change it each time, I suppose, but it would be nice to be able to make the change properly permanent.
Click to expand...
Click to collapse
Yeah, you can also change it via build.prop or setting | developer options | Device hostname if you use CM
king200 said:
A 'Y' cable with 2M and One F. M into charger. Other M into for the cable you are using to attach your USB drive now. Or a Y cable with 2F and one M. You could use one F for the data cable that comes with tablet, one F for USB drive and M into charger.
I just did it with a 100 GB, portable HD. That came with a Y cable for additional power and I used my OTA adapter. Worked fine. It mounted as /mnt/UsbDriveA.
Click to expand...
Click to collapse
where do u find such cables..would love to charge and use usb drive or accesory at the same time
fsubartender said:
where do u find such cables..would love to charge and use usb drive or accesory at the same time
Click to expand...
Click to collapse
Amazon and ebay
---------- Post added at 10:39 PM ---------- Previous post was at 10:22 PM ----------
acefsw said:
Amazon and ebay
Click to expand...
Click to collapse
Ebay http://www.ebay.com/itm/PCD-USB-Y-C...-Extension-Cord-1-Female-2-Male-/221022644917 just look about, newegg, amazon, etc have them.

[Q] Android 4.2 + Cifs + JetAudio

I wonder if anyone here can help me with my little problem.
Basically I want to be able to play on my tf300t tablet music from a Windows network share
I rooted the tablet and installed a cifs kernel patch from this thread
[3 IN 1][ROM-THEME- STOCK KERNEL ][Stock Asus Firmware 10.6.1.15.3][27.04.2013]
I kind of can mount the network share now, but not inside the "/storage" path. When I try to mount it into storage, I get an empty dir.
The reason why I need the mount inside storage is that my player, JetAudio, only looks there for music.
I've read a number of threads about this problem on this forum and others, but can't figure out what to do.
I don't really need another long explanation of the problem but rather any working workaround.
I suspect that downgrading to 4.1 can help, but are there other options?
duzenko said:
I wonder if anyone here can help me with my little problem.
Basically I want to be able to play on my tf300t tablet music from a Windows network share
I rooted the tablet and installed a cifs kernel patch from this thread
[3 IN 1][ROM-THEME- STOCK KERNEL ][Stock Asus Firmware 10.6.1.15.3][27.04.2013]
I kind of can mount the network share now, but not inside the "/storage" path. When I try to mount it into storage, I get an empty dir.
The reason why I need the mount inside storage is that my player, JetAudio, only looks there for music.
I've read a number of threads about this problem on this forum and others, but can't figure out what to do.
I don't really need another long explanation of the problem but rather any working workaround.
I suspect that downgrading to 4.1 can help, but are there other options?
Click to expand...
Click to collapse
Are you trying to mount a ext. SD card?Is that the storage you are trying to mount?If your answer is yes I have the answer.Write back if yes and I will explain.
mikep2323 said:
Are you trying to mount a ext. SD card?Is that the storage you are trying to mount?If your answer is yes I have the answer.Write back if yes and I will explain.
Click to expand...
Click to collapse
I am trying to mount a windows network share
http://howto.cnet.com/8301-11310_39...en-android-and-windows-with-es-file-explorer/
duzenko said:
I am trying to mount a windows network share
Click to expand...
Click to collapse
OK not sure then,I do know with jellybean 4.2 you can't mount certain things cause they changed stuff around with the system.Maybe if you look up Root folder mount in xda the developer over there can help you.If you want I can try to help but am heading to work now.I'll look up a few things on my break and get back to you later.
---------- Post added at 08:02 AM ---------- Previous post was at 07:40 AM ----------
mikep2323 said:
http://howto.cnet.com/8301-11310_39...en-android-and-windows-with-es-file-explorer/OK not sure then,I do know with jellybean 4.2 you can't mount certain things cause they changed stuff around with the system.Maybe if you look up Root folder mount in xda the developer over there can help you.If you want I can try to help but am heading to work now.I'll look up a few things on my break and get back to you later.
Click to expand...
Click to collapse
Maybe check the link I posted on top of my reply,let me know if that helps.I'm not sure but I'm just trying to help.
mikep2323 said:
OK not sure then,I do know with jellybean 4.2 you can't mount certain things cause they changed stuff around with the system.Maybe if you look up Root folder mount in xda the developer over there can help you.If you want I can try to help but am heading to work now.I'll look up a few things on my break and get back to you later.
---------- Post added at 08:02 AM ---------- Previous post was at 07:40 AM ----------
Maybe check the link I posted on top of my reply,let me know if that helps.I'm not sure but I'm just trying to help.
Click to expand...
Click to collapse
1. Install free version of JetAudio from GooglePlay.
2. Setup a Windows network share with some music in it.
3. Try to open music in JetAudio
Let me know how it works for you. Thanks.
duzenko said:
1. Install free version of JetAudio from GooglePlay.
2. Setup a Windows network share with some music in it.
3. Try to open music in JetAudio
Let me know how it works for you. Thanks.
Click to expand...
Click to collapse
im at work so when i get home tonight i will do and let you know,i am able to mount my folders with that app i have.I wont be home for a few hours but will do and write back.

sdcard permissions messed up?

Ive factory reset several times now, I've reflashed the android l preview image several times, and flashed two 5.0 roms over it even, and i even tried a multiboot with cm11. My device can't take pictures, video, basically anything to do with the camera doesnt work. Pictures seem to take, but don't save. Video or any panorama crashes the camera, and the error logs show something about permission denied to the files they are trying to create. How can i fix this?
Did you copy all your data back to the phone via recovery?
Usually for L, you run
su
restorecon -FR /data/media/0
...which is mentioned in his sticky lots of times.
But If you copied all sdcard data back to your phone via recovery, there's a different approach
rootSU said:
Did you copy all your data back to the phone via recovery?
Usually for L, you run
su
restorecon -FR /data/media/0
...which is mentioned in his sticky lots of times.
But If you copied all sdcard data back to your phone via recovery, there's a different approach
Click to expand...
Click to collapse
I tried that one, it did nothing and camera still acted up. I've tried every app on the store. Nothing seems to be allowed to write to DCIM, even though I can create files with a normal file manager just fine.
rootSU said:
Did you copy all your data back to the phone via recovery?
Usually for L, you run
su
restorecon -FR /data/media/0
...which is mentioned in his sticky lots of times.
But If you copied all sdcard data back to your phone via recovery, there's a different approach
Click to expand...
Click to collapse
I just tried creating a file inside the camera folder inside DCIM and permission was denied. How could I fix that?
dreamwave said:
I tried that one, it did nothing and camera still acted up. I've tried every app on the store. Nothing seems to be allowed to write to DCIM, even though I can create files with a normal file manager just fine.
Click to expand...
Click to collapse
Using a root explorer, go to /data/media/0/Download and set all the permissions to read, write and execute.
Then hopefully you can download stuff.
Please check that. If that works, I'll let you know the next step
rootSU said:
Using a root explorer, go to /data/media/0/Download and set all the permissions to read, write and execute.
Then hopefully you can download stuff.
Please check that. If that works, I'll let you know the next step
Click to expand...
Click to collapse
I can already download stuff. Is it a common problem with L for this to happen? I've looked it up and found little to nothing.
rootSU said:
Using a root explorer, go to /data/media/0/Download and set all the permissions to read, write and execute.
Then hopefully you can download stuff.
Please check that. If that works, I'll let you know the next step
Click to expand...
Click to collapse
I realize I just went full retard thanks to looking in the camera for permission. I had earlier set permissions with chmod from recovery for the DCIM directory to 777, but not the Camera directory within. Thanks for helping, though!
dreamwave said:
I realize I just went full retard thanks to looking in the camera for permission. I had earlier set permissions with chmod from recovery for the DCIM directory to 777, but not the Camera directory within. Thanks for helping, though!
Click to expand...
Click to collapse
One problem I have consistently had however is that my launcher and default camera app are never remembered. How can I fix this?
dreamwave said:
I can already download stuff. Is it a common problem with L for this to happen? I've looked it up and found little to nothing.
Click to expand...
Click to collapse
No it's uncommon. I've only sewn it for people using recovery or adb to push and pull sdcard folders.
Download and flash this zip via recovery.
http://forum.xda-developers.com/attachment.php?attachmentid=2849968&d=1405300107
and it seems that for any kind of panorama or photosphere it still crashes
they crash with an event trace of java.lang.NullPointerException: attempt to invoke virtual method 'void java.io.FileWriter.close()' on a null object reference
at
com.google.android.apps.lightcycle.panoramamodule.stopcapture(panoramamodule.java:802
etc
etc
etc
Its permissions, we know that. Please flash the fix I posted before anything else.
rootSU said:
Its permissions, we know that. Please flash the fix I posted before anything else.
Click to expand...
Click to collapse
Ok, so pushing it to the sd with adb won't break even more permissions?
dreamwave said:
Ok, so pushing it to the sd with adb won't break even more permissions?
Click to expand...
Click to collapse
Why would you need to do that? You can download it direct to your phone.
rootSU said:
Why would you need to do that? You can download it direct to your phone.
Click to expand...
Click to collapse
ok, I flashed it and my phone is rebooting
dreamwave said:
ok, I flashed it and my phone is rebooting
Click to expand...
Click to collapse
Cross your fingers.
rootSU said:
Why would you need to do that? You can download it direct to your phone.
Click to expand...
Click to collapse
thanks so much, that fixed it completely!
dreamwave said:
thanks so much, that fixed it completely!
Click to expand...
Click to collapse
No problem.
The adb (or TWRP MTP) only seems to break permissions if you're pushing folders. Pishing individual files should be fine.
rootSU said:
Cross your fingers.
Click to expand...
Click to collapse
is this problem new to android l or has it been around a while? I'll also admit I do a lot of adb push/pull/commands and such, and for a lot of the time need to because I only have a wired connection with my computer at school, is there a way to avoid this problem in the future?
dreamwave said:
is this problem new to android l or has it been around a while? I'll also admit I do a lot of adb push/pull/commands and such, and for a lot of the time need to because I only have a wired connection with my computer at school, is there a way to avoid this problem in the future?
Click to expand...
Click to collapse
Its not related to L at all. Files should be fine to push. Its just folders I think that cause the issue.

Categories

Resources