Browsing phone's internal storage through adb? - Android Q&A, Help & Troubleshooting

I was reading the Apps and Games section searching how to retrieve one of my games' save data, and I found it's probably on
/data/data/com.square_enix.android_googleplay.FFIII_GP
However I cannot access it normally, it's phone's internal memory. After few more searches, I came to a little idea: maybe using adb.
Then the question is, can I use adb to browse my device's internal and external storages, just like I browse through my PC using command line? (In my case I use Linux, so my terminal is Bash).
Can I copy from internal storage and write on it without root using adb? I don't want to root my device for a series of reasons...
Thanks.

No, to write to your internal storage you need root (to read it I'm not sure, try it). And yes, to explore you can use commands (btw, the commands are the same on Linux and Android).

Can I use "adb shell" to browse my phone with commands, just like I browse my Linux system with the command line?
I ask this in order to avoid being trial and error using push and pull and getting "remote object does not exist" errors, I'd need to see the actual directories and files...

I really dunno. As I said before, you can't write, but I'm not sure if you can read, so you need to try.

Related

[Q] internal memory

apologies in advanced but i have searched high and low for the answer to this .
i am trying to get the internal memory of the HTC Legend to show up as a standard hard drive in my computer.
is this possible? I thought it might happen when i rooted the device however it did not so now im not sure i actually even rooted it.
Any answers would be helpful but really im just looking for a yes or no as to if its possible... if it is possible i will get to the bottom of it but i dont want to waste my time if far more intelligent people have not been able to do it
Try Swiftp from the market,it takes some setting up and needs to run via wifi.It's read only though
Or get handy with ADB and push and pull via the command line
Another solution would be to modify the vold.fstab to mount the internal memory as USB storage... Either way, I can't see a need for it and I think it will create more FC's than it's worth (it would involve unmounting /data). the safest way to access internal memory is when booted into recovery mode and using ADB

[Q] How to access the internal memory via ADB?

I'm accessing via fastboot and need to access my files that were on the internal memory.
When I access the folder /mnt/sdcard, it is empty.
How do I access the files that are in the internal memory by ADB?
/mnt/emmc
or
/sdcard-ext/
Thanks, but the folder "/sdcard-ext" is empty and "/mnt/EMMC" does not exist.
Yeah because you said in PM me that you are not able to turn on the phone, and in fastboot mode it doesnt mount the partitions :/
This was the "other" problem, yesterday. I said here just to record on the forum. I accessed the files, but the internal memory was not mounted.
Yesterday the app "Rom Toolbox" gave a soft-brick corrupting the framework-res.apk when I used the menu to change the battery icon (do not do it on your Atrix!). But luckily the ADB was activated and could restore it and everything returned to normal.
Today the "Rom Toolbox" did **** again, but unfortunately the USB Debugging is off. Now I'm desperately searching for a way to restore the framework-res.apk without losing my installation and without unlocking my bootloader.

can "format as internal storage" be restored to sony's MM

can "format as internal storage" be restored to sony's MM?
I know MM has just arrived. but I was hyped for MM because of this feature so you can understand my disappointment. I actually downgraded to LP since they even removed Stamina!
The main problem is that the 16gb internal are not enough. And if you have many photos and videos, the thumbnail data can be large in size, reached 5gb with me! And you can not change its directory. And it regenerates if deleted.
In my former Xperia p, I think I overcame this issue by making the thumbnail data file a dummy one then read-only it (i'm not sure whether I did that on Xperia p or another former phone) . I wasn't able to do this trick in LP
I use z2 d6502 rooted LP now.
My SD card is Kingston 64gb class 10
Well, that's something that disappointed me, too. So I tried it different ways f.e. here, but ended without result.
fireheart2008 said:
can "format as internal storage" be restored to sony's MM?
I know MM has just arrived. but I was hyped for MM because of this feature so you can understand my disappointment. I actually downgraded to LP since they even removed Stamina!
The main problem is that the 16gb internal are not enough. And if you have many photos and videos, the thumbnail data can be large in size, reached 5gb with me! And you can not change its directory. And it regenerates if deleted.
In my former Xperia p, I think I overcame this issue by making the thumbnail data file a dummy one then read-only it (i'm not sure whether I did that on Xperia p or another former phone) . I wasn't able to do this trick in LP
I use z2 d6502 rooted LP now.
My SD card is Kingston 64gb class 10
Click to expand...
Click to collapse
if you want to get your game obb files from your internal storage to your sd card for example i can reccomand the xposed module "OBB TO SD"
it`s simple to use, just inable it and then you can move your obb files from sdcard0\Android\obb to sdcard1\Android\obb!
if you want a rooted mm with xposed and a working twrp recovery check out this thread: id did it this way
http://forum.xda-developers.com/xperia-z2/general/6-0-1-d6503-23-5-0-570-prerooted-t3364817
in default , there is no setting to format as internal sdcard.
but you can enable it by usin adb command.
connect the phone to pc with usb debugging on..
open windows command prompt and type "adb shell sm list-disks" (ignore the quotes)
notice the output, it will be something like ---> disk:179,64 (179,64 is ID for sdcard)
now , parting the sd card.
* type .-->> adb shell sm partition disk:179,64 private (if you want to use the whole sdcard as internal storage)
* type --->> adb shell sm partition disk:179,64 mixed 70 (if you just want to use 30% of sdcard as internal storage)
** I found this way when i was googling, this is not a work of mine **
Thank you for your reply. I think I will try that
chax_84 said:
in default , there is no setting to format as internal sdcard.
but you can enable it by usin adb command.
connect the phone to pc with usb debugging on..
open windows command prompt and type "adb shell sm list-disks" (ignore the quotes)
notice the output, it will be something like ---> disk:179,64 (179,64 is ID for sdcard)
now , parting the sd card.
* type .-->> adb shell sm partition disk:179,64 private (if you want to use the whole sdcard as internal storage)
* type --->> adb shell sm partition disk:179,64 mixed 70 (if you just want to use 30% of sdcard as internal storage)
** I found this way when i was googling, this is not a work of mine **
Click to expand...
Click to collapse
This works for me. But I have camera issue. Cannot take picture, said "Memory unavailable." Don't know if it associated with adoptable storage. Am I the only one?
I have no problem in saving picture.
Or , just try to set sdcard ss default in camera.
Or , if you install xposed and use xinternal module, just remove it. It'll give so much trouble.
chax_84 said:
in default , there is no setting to format as internal sdcard.
but you can enable it by usin adb command.
connect the phone to pc with usb debugging on..
open windows command prompt and type "adb shell sm list-disks" (ignore the quotes)
notice the output, it will be something like ---> disk:179,64 (179,64 is ID for sdcard)
now , parting the sd card.
* type .-->> adb shell sm partition disk:179,64 private (if you want to use the whole sdcard as internal storage)
* type --->> adb shell sm partition disk:179,64 mixed 70 (if you just want to use 30% of sdcard as internal storage)
** I found this way when i was googling, this is not a work of mine **
Click to expand...
Click to collapse
i have turned on the usb debugging but when ever i type this in cmd it displays the message -
"adb " is not recognised as internal or external command
i have installed the adb drivers too! help low on storgae
arnavfoxtrot said:
i have turned on the usb debugging but when ever i type this in cmd it displays the message -
"adb " is not recognised as internal or external command
i have installed the adb drivers too! help low on storgae
Click to expand...
Click to collapse
Change folder to where adb.exe is and enter adb.exe instead of adb.
Or, add adb.exe to you path variable (see here http://stackoverflow.com/questions/...u-can-run-it-from-any-command-line-in-windows)
You get that error as adb is not into $PATH so you need to specify it or add it to $PATH.
Sent from my D6503 using Tapatalk

Blu studio c mini (mediatek) internal storage read only

I have this device that suddenly becomes read only the entire internal storage.
I can boot and use it but the apps, including the launcher3 crash every time that they are launched. Only "setting" app and some other apps that not write to storage can work
tried to get an adb shell on pc but can not debug with usb because there is no debug app selected on phone, i think that is needed write access to do that. Tried flashing stock rom with the procedure indicated by the devs of the app, but not worked (it worked a time ago), this device is rooted.
I can connect through usb and mount internal storage on pc and read the contents, but can not write.
Connectbot does not work, but i think if there is an way to launch a terminal inside the device, maybe i can change mount options of partition or change some other things to recovery the phone.
so someone knows how to execute and not install a terminal shell from sd card?
CPU: 32bits - MediaTek MT6582
thanks!

File copy or backup, to not quit on fail

Tl;Dr what are some good methods of copying files to and from the computer, on Windows and Mac
HI. I haven't rooted my Pixel 4 but I heard you could get the unlock menu to ungrey by adding an unactivated Google FI sim or other sim.
So I'm saying I could consider Titanium Backup.
But I'm trying to figure out how to backup pictures with folder structure. Mostly.
Maybe apps and settings, other files.
My main problem is Android File Transfer I'm using on my Mac stops completely when a single file fails and barely shows any info, just the last file in an error message. And then have to reCopy the whole folder overwrite or manually some files.
Is there a good wireless file transfer option?
Or as I'm saying maybe another computer software, or to mount storage or use an SD card but the Pixel 4 doesn't have. Maybe use ADB but will that quit on fail too but more verbosely?
Android is awesome; I tend to love it for its filesystem and USB mounting.
Isn't there just a way to natively mount it? Or next time get a phone with SD (and better battery). And root.

Categories

Resources