This was a bit unexpected. Lollipop is supposed to make using SDCARD (in this case there is NO sdcard) more sensible.
However now I can't copy any files to Nexus in MTP mode. I can do that in P2P mode but only to the picture folders. Any suggestions on that? Selinux setting?
And, yes, I did try making a new folder but no joy. I also noticed I can't see app-specific folders such as titaniumbackup.
Barleyman said:
This was a bit unexpected. Lollipop is supposed to make using SDCARD (in this case there is NO sdcard) more sensible.
However now I can't copy any files to Nexus in MTP mode. I can do that in P2P mode but only to the picture folders. Any suggestions on that? Selinux setting?
And, yes, I did try making a new folder but no joy. I also noticed I can't see app-specific folders such as titaniumbackup.
Click to expand...
Click to collapse
I just upgraded my N10 to Lollipop yesterday. I'm rooted, have SELinux Mode Changer (set to permissive mode) and have USB OTG Helper [root]https://play.google.com/store/apps/details?id=net.shajul.usbotg&hl=en installed. That gives me full unfettered RW access to my OTG SDCard reader. USB OTG Helper expands the number of SDCard file formats that Android supports. I have mine formatted to ext4 to remove the 2GB file limit but thats just my requirement. I used ES File Explorer to access the SDCard and move/copy files, although I'm sure many other file managers would have worked.
I hope that info helps.
It's not an actual SDCARD but the internal emulated sdcard which is being difficult.
Barleyman said:
It's not an actual SDCARD but the internal emulated sdcard which is being difficult.
Click to expand...
Click to collapse
I am in the same boat. I want to restore some apps I backed up in 4.4.4 and lollipop won't read the backup folders in the root directory. I can see and access them via pc, but not through Android. I tried using Titanium & MyBack Up Pro w/ SU access. No dice. Like you, I also tried moving the folders to my Desktop and back. Renaming, creating new folders, etc..., doesn't help.
I can't work around the issue. My current thinking is that we are dealing with a security feature. It seems like all my 4.4.4 folders with user info in them are walled off.
Grrrrr
Related
Hello, I recently picked up a 16GB thumb drive to offload some of my backups from my Nexus7. I successfully made a Rom backup using TWRP to the external storage and have transfered a few files via Root Explorer to the Flash Drive.
The point I am trying to make, is that I can read/write to the card both in TWRP and Root Explorer.
When I opened Titanium Backup (TiBu) I go to preferences, then to Backup Folder Location. I then realize that the system needs to find a backup folder already in place to "Use the current folder". Back to Root Explorer where I transfer my TitaniumBackup folder from /storage/emulated/0/ to /storage/usbotg/
After this and back in TiBu, I find my new location (on the usb) and "Use current folder". Seems to me like I should be all good, so I start a small backup. I receive an error about insufficient space. I know there are still about 12GB free. When I return to Backup Folder Location in TiBu, I realize there is a red flag under the 2 info bubbles saying "This folder is not writable".
I feel that I'm going crazy. I've scoured Titanium Track's website for support, Googled all over the place, and checked a few forums, but I can't seem to get any answers. Please point out my stupid mistake!!!!!
Thanks
I had this problem to. My USB stick was NTFS... So I formated it back to FAT32 and Titanium backup worked fine again...
Foggy79 said:
I had this problem to. My USB stick was NTFS... So I formated it back to FAT32 and Titanium backup worked fine again...
Click to expand...
Click to collapse
On my Nexus 6 I have a Flash Drive connected via OTG, I am using StickMount to mount it in the file system, I can use it without any problem from TWRP, RootExplorer, Media Players, etc. The Flash drive is formatted using FAT32. When I try to configure Titanium Backup to use it as the destination folder for backup, I can get to the folder where the drive is mounted but the option "Use the current folder" is dimmed and I cannot press it to select the folder, please any help or guidance will be appreciated, thanks
possible solution...
http://www.androidauthority.com/galaxy-s4-gpe-android-4-3-sd-card-fix-254960/
This fix rewrites your platform.xml file so the android system will read/write to USB drives. Worked for me on a tronsmart vega s89-h (android tv box with a rom that spoofs a nexus 10 for app purposes), but use at your own risk, of course.
This is completely pulled off of my other thread in the HOX+ section
our device is a data/media device which is why usb mount don't work
here's a link that explains it all
http://teamw.in/DataMedia
and part of the convo with dees_troy is below
<Dees_Troy> Nope, it will *never* work on a data/media device
<Dees_Troy> read and learn: http://teamw.in/DataMedia
<WinBot> [Link] http://tinyw.in/lstO :: What is a data media device? | TeamWin
<Dees_Troy> definitely worth understanding
<Dees_Troy> at some point we're going to try to kang in MTP for recovery
<Lloir> so for now then it's sideload or from inside the rom
<Dees_Troy> or adb push
<Lloir> aye
<Dees_Troy> or gtfo
<*****> so cant mount usb storage with newer devices...hmm one x did guess this is where confusion at least on my part came to be
<Lloir> lmao Dees_Troy
<Dees_Troy> one x wasn't a data media device
YOU MUST either transfer the rom\boot\porn\audio\mods while the phone is on or use adb push or even sideload when in recovery, THIS IS THE ONLY way
IF you want to read without clicking the link i'll whack it up in #2
What is a data media device?
I'm writing this page because there seems to be a lot of confusion about how many of the newer Android devices work. Starting in Honeycomb 3.0 with the Xoom, Google changed the way that they handled storage. Instead of having a "data" partition with your apps and a separate "sdcard" partition for storage, Google started giving you a single, very large data partition. Inside /data is a folder at /data/media that contains all of the contents of what you think of as your internal sdcard.
Since /data/media is part of /data, we pretty much never actually format the data partition. Formatting data, of course, also removes the media folder that contains the internal sdcard. When you choose a factory reset, instead of formatting, we use rm -rf commands to remove all the folders except for the media folder so that we can remove all of your apps and settings while leaving your "sdcard" intact. In TWRP we also have a wipe internal storage option that rm -rf's the media folder and a "Format Data" option that formats to recreate the entire file system in case something goes completely wrong or to remove device encryption.
When you're booted to Android, Android fuses the media folder to /sdcard and emulates a FAT files system that doesn't have permissions for legacy apps. We don't currently have fuse in recovery, so we just add an extra mount command to mount /data/media to /sdcard so in recovery you still have to worry about permissions on /sdcard.
Because the "internal sdcard" is not a true FAT file system, you can't mount it via USB storage. Well, that's not technically true, but the vast majority of people use Windows computers and Windows doesn't recognize ext4. If we were to allow you to mount the data partition via USB storage, Windows would claim that the device wasn't formatted and offer to format it for you, which, as you can imagine, would be a disaster. The whole ext4 setup is another reason that Android switched to using MTP for transferring files. Most of these devices don't have the necessary kernel configuration to even support USB storage mode, so it's not very easy to enable USB storage if we even wanted to try. Unfortunately at this time, MTP isn't available in recovery, so if you have no other option, you will have to use adb to push and pull files to/from your device.
As a special note, if you choose to do a factory reset from your ROM, even if the ROM says that it will wipe everything including the internal storage, well, that's not what TWRP will do. A stock AOSP recovery would format data including the "sdcard" but TWRP will use its regular factory reset setup that leaves the internal storage intact.
There are a couple of nice gains with using this setup vs the old data + FAT storage partition. With /data/media you, as the user get more control over how you use your storage. If you have a ton of apps, then that's no problem since you have a huge data partition to work with. If you don't have a lot of apps, you get more room to use for storing things like movies. Further, ext4 doesn't suffer from the 4GB file size limit that FAT has, so you can have a large, high-def movie on your device if you like. I'm sure another motivating factor was to get Android away from using FAT which is a Microsoft creation. Performance on ext4 in Android is also probably better than FAT. As a downside, data media devices tend to store a lot more app data in the "data" section and so backups on these devices tend to be larger.
Thank you for this post. I had been a bit curious about this. I have Evo LTE. But I also Boughy a family member a GNex that I have to maintain. I know that my Evo, I can plug into windows, and when I select USB transfer (not in recovery), it mounts my internal storage (not ext_SD) , and it shows as removable drive in windows. But,....when I plug in GNex, it shows up as GNex , not removable drive H. I always wondered a bit about what this all means.
Thanks for the info. :thumbup:
Sent from my EVO using xda premium
Thanks for the useful post.
If I make a nandroid backup for the whole device, will it exclude the /data/media folder? Because on my old phone the nandroid backup doesn't include /sdcard.
romitkin said:
Thanks for the useful post.
If I make a nandroid backup for the whole device, will it exclude the /data/media folder? Because on my old phone the nandroid backup doesn't include /sdcard.
Click to expand...
Click to collapse
Yes it does, we are past the point where that causes issues.
Everyone just needs to get used to the data/media thing. And learn how to use adb side load
I predict a whole bunch of "bricks" due to people not informing themselves on how the phone works and how to use adb
Sent from my One X using Tapatalk 2
A little bit from my side as well I hope someone will find this helpful. Virtual SD card on Android
Can't you use USB Host if you got recovery installed as well? I think I've read that somewhere...
mike1986. said:
A little bit from my side as well I hope someone will find this helpful. Virtual SD card on Android
Click to expand...
Click to collapse
Link broken, here is the correct URL:
http://android-revolution-hd.blogspot.com/2013/03/virtual-sd-card-on-android.html
Oh and bump for anyone new to the idea of a "data/media" device. You're not in Kansas anymore.
NxNW said:
Link broken, here is the correct URL:
http://android-revolution-hd.blogspot.com/2013/03/virtual-sd-card-on-android.html
Oh and bump for anyone new to the idea of a "data/media" device. You're not in Kansas anymore.
Click to expand...
Click to collapse
Lloir, thanks for sharing and good explanation. MTP makes sense and on my One, this way file transfers are simple and fast. However there are two things I dislike about MTP right now:
When you copy files to the device, on some file types it throws a warning that the device might not be able to read the file. This interrupts the file transfer and I have to confirm I want to copy the file to the device. On an older MP3 player I have, I could deactivate this by editing a device capabilities XML file. On the One, I did not find such a file. Perhaps an option in the MTP deamon?
When I am transferring files, I can't browse through other folders at the same time. It says the device is busy.
Is there a way to solve those two issues or "is it what it is"?
Lloir said:
Windows would claim that the device wasn't formatted and offer to format it for you, which, as you can imagine, would be a disaster
Click to expand...
Click to collapse
I did that on a device. Windows offered to format and I did it. Man that was not good! 2 hours later after manually restoring the partition values I was OK and the most amazing thing all my data was there perfect and untouched :silly: :highfive:
Thanks for that great explanation. Been having some issues with windows and android. Nothing big just had to sideload my ROM and killed my "sdcard" at least now I know why
I have recently flashed Clockworkmod Recovery on my Galaxy S4 (GT-I9500). I performed a nandroid backup which works just fine since I've been able to use it to restore my stock ROM. However, the phone seems to know where to fetch the backup but I can't locate it personally on the phone either through the PC or using file managers on the device like Root Explorer and Solid Explorer. I even used Solid Edxplorer to change permissions so that I could see all hidden files. Still, all I saw was a 35 byte file named .recovery_version located in /sdcard/clockworkmod with these permissions: rw-rw-r-- and from what I see in the properties of the file it is an MD5. That is all I see. In clockworkmod recovery, the backup is quoted to be in /sdcard/clockworkmod/backup. I can't see that file on my device. Why aren't I seeing this nandroid backup of mine yet it is in the internal storage? I want to move it from my ohone to PC to free up space since it occupies around 3 GB of the precious storage (you all know the storage issues the GS4 is facing don't you?). Help please.
echenze said:
I have recently flashed Clockworkmod Recovery on my Galaxy S4 (GT-I9500). I performed a nandroid backup which works just fine since I've been able to use it to restore my stock ROM. However, the phone seems to know where to fetch the backup but I can't locate it personally on the phone either through the PC or using file managers on the device like Root Explorer and Solid Explorer. I even used Solid Edxplorer to change permissions so that I could see all hidden files. Still, all I saw was a 35 byte file named .recovery_version located in /sdcard/clockworkmod with these permissions: rw-rw-r-- and from what I see in the properties of the file it is an MD5. That is all I see. In clockworkmod recovery, the backup is quoted to be in /sdcard/clockworkmod/backup. I can't see that file on my device. Why aren't I seeing this nandroid backup of mine yet it is in the internal storage? I want to move it from my ohone to PC to free up space since it occupies around 3 GB of the precious storage (you all know the storage issues the GS4 is facing don't you?). Help please.
Click to expand...
Click to collapse
your backup is located in Data/Media/clockworckmod
use es explorer, enable root, move clockworckmod folder to sd card then to your pc
or use adb command to pull it to your pc
re: backup files
echenze said:
I have recently flashed Clockworkmod Recovery on my Galaxy S4 (GT-I9500). I performed a nandroid backup which works just fine since I've been able to use it to restore my stock ROM. However, the phone seems to know where to fetch the backup but I can't locate it personally on the phone either through the PC or using file managers on the device like Root Explorer and Solid Explorer. I even used Solid Edxplorer to change permissions so that I could see all hidden files. Still, all I saw was a 35 byte file named .recovery_version located in /sdcard/clockworkmod with these permissions: rw-rw-r-- and from what I see in the properties of the file it is an MD5. That is all I see. In clockworkmod recovery, the backup is quoted to be in /sdcard/clockworkmod/backup. I can't see that file on my device. Why aren't I seeing this nandroid backup of mine yet it is in the internal storage? I want to move it from my ohone to PC to free up space since it occupies around 3 GB of the precious storage (you all know the storage issues the GS4 is facing don't you?). Help please.
Click to expand...
Click to collapse
If you cannot see or find it in your /sdcard internal, look in your external sdcard /clockworkmod
folder and sub directories in that folder.
The backups are either in internal or external sdcard /clockworkmod and it's sub-directories
Good luck,
Thanks, I found it using root Explorer in the directories you directed me to. Good day mate
samersh72 said:
your backup is located in Data/Media/clockworckmod
use es explorer, enable root, move clockworckmod folder to sd card then to your pc
or use adb command to pull it to your pc
Click to expand...
Click to collapse
samersh72 said:
your backup is located in Data/Media/clockworckmod
use es explorer, enable root, move clockworckmod folder to sd card then to your pc
or use adb command to pull it to your pc
Click to expand...
Click to collapse
Really appreciate this. Was looking around and noticed my phone storage was fairly low, and couldn't find my stock backup to save my life. Googled this and it brought it right up! Again, thanks! Was fixing to make another backup of my current setup and realized I didn't have enough room lol.
Billy
samersh72 said:
your backup is located in Data/Media/clockworckmod
use es explorer, enable root, move clockworckmod folder to sd card then to your pc
or use adb command to pull it to your pc
Click to expand...
Click to collapse
Thanks.
I had similar issue.
Your advice resolved it for me as it was exactly where you pointed.
I go about it a bit differently. Under settings in CWMR you can change the backup location to the external sdcard. Do your backup, connect your phone to the pc and copy it off like any other file. The only downside is you need the available space on your card.
apel69 said:
I go about it a bit differently. Under settings in CWMR you can change the backup location to the external sdcard. Do your backup, connect your phone to the pc and copy it off like any other file. The only downside is you need the available space on your card.
Click to expand...
Click to collapse
Until you are on the road and need that backup because you got a bad dl. Unless you keep a zip drive on you.. Which is actually a good idea. I switched over to twrp so I can save it to extsd.
Sent from my SGH-M919 using Tapatalk 4
Brain fart. I meant to say I change the settings in ROM Manager not CWMR.
I think we are talking about doing the same thing but with different apps. I change the location setting in ROM Manager which I use for my backups and it automatically saves the backup to the extsd instead of the device. I then copy it to my pc but always maintain the latest backup on my extsd in case I need it wherever I am. Done and done. No annoying copying from device to extsd to pc or using download server or an adb pull needed.
It's personal preference to use ROM Manager with CWMR or TWRP. It doesn't matter to me. I started off using clockworkmod's apps some time ago and am happy with them. I just moved to 4.2.2 and noticed how ROM Manager handles the backups differently and the number of questions regarding how to get them off their phone. This is my solution and how I have always done it.
Worked on Samsung Galaxy S Duos GT 7562. Thanks!
Don't have the S4, but after googling this, well, THANKS!!!
open your es explorer and active it'a rooting option in slide panel or use root expkorer then go to this path
mnt//shell/emulated/clockworkmod/backup/ you will fine a folder named this date and time thats your backup folder copy it into your mobile storage .... done the n copy or move it in to your pc like normaly file ...
Why is this all the sudden not put on the sdcard? Privacy? Anyway to change recovery to sdcard/clockworkmod/backup?
I used the adb pull command to pull from phone mnt//shell/emulated/clockworkmod/backup
Sent from my Nexus 5 using Tapatalk
In Android 4.2+ backups are placed in secure directory, inaccessible to other apps. Backups can be pulled with adb or by using the ROM Manager Backup Download Server.
Heads up
thanks, i was also looking for the backup location as i dont have an external card, thanks.
Jnewell05 said:
In Android 4.2+ backups are placed in secure directory, inaccessible to other apps. Backups can be pulled with adb or by using the ROM Manager Backup Download Server.
Click to expand...
Click to collapse
Ehm, no. Running 4.4.2 and still the back-ups are located in the directories talked about above. Easily accessible by all file manager apps.
Never been any other way as well.
found the backup dir
my portion of a backup was under CWM and backups found deleted using sd card:good:
Having trouble finding backups on Nexus4
I have the same problem....
The backup was made through the CWM in recovery mode...
The MD5 checksum gave an error..I am trying to fix it so I need access to the files.
I can see the backup folders in recovery mode but cant find them with any file explorer nor did they show with adb pulling sdcard...
Any ideas??
helsoommoosleh said:
open your es explorer and active it'a rooting option in slide panel or use root expkorer then go to this path
mnt//shell/emulated/clockworkmod/backup/ you will fine a folder named this date and time thats your backup folder copy it into your mobile storage
Click to expand...
Click to collapse
Thank you sir a lot.
I would pray CWM devs, and all the other app devs like Dolphin, Whatsapp etc to please print the path once the backup is done. This will save us a bunch of time!
THANKS
samersh72 said:
your backup is located in Data/Media/clockworckmod
use es explorer, enable root, move clockworckmod folder to sd card then to your pc
or use adb command to pull it to your pc
Click to expand...
Click to collapse
Hi, Thanks a lot I am new to using SONY devices as I have used SAMSUNG and HTC ones before. Your direction pointed me to the right path and I was able to move it to the PC afterwards.
I really appreciate your help.
Bye
Thank Blefish first ,with your contribution to U8800 ,so we users can enjoy the Kitkat.
I have learned that Kitkat will forbid app create file/folder in ext-SD root directory,instead apps can only created their data in /Sdcad/Android.So my Sdcard directory will be tidy.
When I installed Blefish 0516 edition,I found the feature didn't work.
And I found in dir ./storage , ext-SD was mounted as Sdcard0 while the internal storage was mounted as Sdcard1.I think the irregular mounted sequence between ext-Sd and internal storage is the reason why the feature didn't work.
And I didn't found vold.fstab in ./system/etc , so I can't edit it to change the mount seq.
Dear Blefish guru,I am looking for your help~
Jellybean and forward use a different method now. They are not using vold.fstab anymore. Rather, /fstab.qcom is used (in our phone). It cannot be edited manually, a boot.img must be unpacked and repacked in order to do so.
Did you mention that apps can write to /sdcard/ but cannot write to /storage/sdcard0? This ROM does not enforce write permissions as KitKat does by default, so I am not quite sure.
Blefish said:
Jellybean and forward use a different method now. They are not using vold.fstab anymore. Rather, /fstab.qcom is used (in our phone). It cannot be edited manually, a boot.img must be unpacked and repacked in order to do so.
Did you mention that apps can write to /sdcard/ but cannot write to /storage/sdcard0? This ROM does not enforce write permissions as KitKat does by default, so I am not quite sure.
Click to expand...
Click to collapse
Two days after installed 0516,many folders were created by apps in ext-SD root directory(./storage/sdcard0/),while only two folders were found in internal storage(./storage/sdcard1/).And it seems that the two folders were somthing like being created while using recovery or something like that,unlikely being created by apps.
Cause I am using another rom to find whether the seq between internal and ext-SD is normal,yet I found that in android 4.0.4 there is no ./storage,so I cannot know the seq between internal and ext-SD.
zhuld.lord said:
Two days after installed 0516,many folders were created by apps in ext-SD root directory(./storage/sdcard0/),while only two folders were found in internal storage(./storage/sdcard1/).And it seems that the two folders were somthing like being created while using recovery or something like that,unlikely being created by apps.
Cause I am using another rom to find whether the seq between internal and ext-SD is normal,yet I found that in android 4.0.4 there is no ./storage,so I cannot know the seq between internal and ext-SD.
Click to expand...
Click to collapse
In my ROM external SD (/storage/sdcard0) is the primary storage. This means Android creates it's Pictures, Download, Music & other directories there automatically.
/storage/sdcard1 is just a storage, like USB OTG storage would be. It's not in use if sdcard0 is present (some apps can still write to it manually like Camera).
The /storage is another jb/kk feature. I did not go with the older direct mounting to /mnt/ because it's just deprecated. Mine is configured according to this (Nexus One with internal storage added manually): http://source.android.com/devices/tech/storage/config-example.html
Blefish said:
In my ROM external SD (/storage/sdcard0) is the primary storage. This means Android creates it's Pictures, Download, Music & other directories there automatically.
/storage/sdcard1 is just a storage, like USB OTG storage would be. It's not in use if sdcard0 is present (some apps can still write to it manually like Camera).
The /storage is another jb/kk feature. I did not go with the older direct mounting to /mnt/ because it's just deprecated. Mine is configured according to this (Nexus One with internal storage added manually):
Click to expand...
Click to collapse
Thanks for so detailed reply.
But I still don't understand how to enforce write permission.As a perfectionist , I really don't want to see so many folders created by third-party apps in my ext-SD.
If it is convenient for you,could you inform me the way to enable the write permission in your rom? :fingers-crossed:
Hi everyone,
I just received my brand new TN7. I rooted and installed CWM by using Pac's Super Tool and made some backups (and restore) of my differents mods.
Till then everything is ok exept when I tried to save my backups to my PC.
I think I looked everywhere on SD0 and SD1 but no traces of my backups. Where are they?
I'm not so new on android (Phones, tablets, other devices,...) and on each device the backups were visible on SD0/SD1.
Someone can explain me where to find them?
Hello.Tegra note is mounted as media device mtp or camera ptp,thats why you dont see all files when looking thru pc(device connected to pc).Copy backups to sd card in tablet and insert card to pc.I think your backups are on internal storage(main storage) in cwm folder.
subzero82 said:
Hello.Tegra note is mounted as media device mtp or camera ptp,thats why you dont see all files when looking thru pc(device connected to pc).Copy backups to sd card in tablet and insert card to pc.I think your backups are on internal storage(main storage) in cwm folder.
Click to expand...
Click to collapse
I use ES-Explorer (in root mode) on my tablet and I see no folder containing cwm backups. Does it use a special mount?
Hello.try using root explorer.mnt-sdcard-cwm.