How to access data/data folder in Android device? – Stack …
On a rooted device, the correct solution is this:
Change your directory and go into ‘Platform tools’
Type ‘adb shell’
Press ‘Allow’ on device
chmod 777 /data /data/data /data/data/*
Open DDMS view in Eclipse/IntelliJ and from there open ‘FileExplorer’ to get your desired file
The original solution worked, but the chmod would return unknown directory. Changing the chmod command to /data/data/* gave access to all subfolders in the data directory from DDMS in Intellij. I assume the same solution is true for Eclipse DDMS.
So, what I’ve found is strange. I’m running a Nexus 6 using DDMS in IntelliJ (Android Device Monitor). I have built a little starter app. Said app saves data to a file in data/data/
When I first started to try to access this file on my Nexus 6, I found that I have to root the device.. I could see the data folder, but trying to open it would not work. As mentioned online in other places, the expand + would vanish then reappear shortly thereafter (note, there are solutions on the web that claim to allow access to these folders without rooting, I didn’t find them till too late, and I’m not sure if I prefer not to root anyway ((I’d rather be able to do it manually than rely on an app or command prompt to give me my solutions))). I rooted my 6 and tried DDMS again.
At this point, it showed me the data folder and I could expand the folder and see the com. directories, but I could not open any of them. That is when I discovered the above solution. The initial instructions would not work on this part:
chmod 777 /data /data/data /data/data/cakage /data/data/cakage/*
That is when I tried the solution I posted:
That solution seemed to work, but only on certain folders. I now could expand my myapp folder, but could not expand the files directory in it.
At this point, I played around for a while then figured why not just try it on the directory I need rather than trying these wildcard entries.
chmod 777 /data /data/data /data/data/
These commands allowed me to expand and view the files in my app’s directory to confirm that the was being saved correctly.
Hope this helps someone. I struggled with this for hours!
(to compound on this a tad further, oddly enough, the permissions did not pass to the file that passed to the files directory. my files directory permissions read drwxrwxrwx and my file permissions read -rw-rw—-.. just fyi)
How to Root Android: Two Incredibly Simple Ways to Root Your … – Alphr
Android file management: An easy-to-follow guide | Computerworld
From managing files on your phone to seamlessly syncing folders with your computer, this guide will turn you into a certified Android file master.
Table of Contents
Managing files on your Android phone
Supplementing your phone’s local storage
Transferring files between your phone and computer
Transferring files wirelessly between devices
Syncing your Android phone’s storage with a computer
When you think about your smartphone, apps and interfaces are probably the first things that come to mind. Beneath all that surface-level stuff, though, our modern mobile devices are filled with files — folders upon folders of ’em! — just like the clunky ol’ computers we’ve relied upon for may not come face to face with our phones’ file systems too often, but it’s valuable to know they’re there — and to know how they can work for us when the need arises. After all, your Android device is a productivity powerhouse. It can juggle everything from PDFs and PSDs to presentations and podcasts. It can even act as a portable hard drive and house any sort of important files you might need in your pocket (and not just on some far-away cloud). Your mobile device can carry an awful lot of data, and there may come a time when you want to dig in and deal directly with ‘s everything you need to know to get under the hood and tap into your phone’s file managing naging files on your Android phoneYou might not realize it at a glance, but Android actually allows you to access a device’s entire file system — even from the device operating system has had its own native file manager since 2015’s Android 6. 0 Marshmallow release, and what started out as an experimental-seeming effort has evolved into a capable tool for basic data manipulation. With Android 6. 0 through 7. 1, the system-level file manager is somewhat hidden: You have to look in the Storage section of your system settings, then scroll all the way to the bottom and tap the line labeled “Explore” to find Google’s Android 8. 0 Oreo release, meanwhile, the file manager lives in Android’s Downloads app. All you have to do is open that app and select the “Show internal storage” option in its menu to browse through your phone’s full internal storage. You can then open, move, rename, copy, delete, and share files as if you have Android 9 or higher on your phone, things get even easier: In those recent Android versions, the file manager exists in its own sensibly named Files app. Just open it up to browse any area of your local storage or a connected Drive account; you can either use the file type icons at the top of the screen or, if you want to look folder by folder, tap the three-dot menu icon in the upper-right corner and select “Show internal storage” — then tap the three-line menu icon in the upper-left corner and look for your phone’s name. JR Raphael/IDG
The most recent version of the system-level Files app lets you browse through files in a variety of ways, including via a traditional folder-by-folder view.
If you don’t see the Files app on your phone, odds are you’re using a device by a manufacturer — such as Samsung — that opts not to include this system-level Android element in its software and instead to provide its own self-made alternative (ostensibly with the goal of pushing its own cloud storage service and/or a paid partner’s cloud storage service alongside Google Drive). Such an app might exist within a folder bearing the manufacturer’s name, in your app drawer, and might be called My Files — or something along those lines. You’ll probably find the same basic sort of file management functionality within it, just with a somewhat different interface and set of you want to do more than the most basic on-device file management, meanwhile, a third-party file manager is the way to go. You can find my latest recommendations for various needs in my separate roundup of the best Android file manager pplementing your phone’s local storageOne little-known feature of Android is its ability to connect with external storage devices like USB memory sticks and even larger-capacity portable hard drives. A phone just has to support something known as USB On-The-Go, or USB OTG, in order for the connection to work. A fair number of devices, including Google’s Pixel phones and many Samsung Galaxy products, offer such support. If you aren’t sure if your phone does, your best bet is to Google its name along with “USB OTG”; odds are, you’ll find the answer fairly ovided your device supports USB OTG, all you need is a USB-A to USB-C adapter like this one made by Amazon. (If you have an older device that doesn’t have USB-C, you’ll need a USB-A to micro-USB adapter instead; you can find plenty such options on Amazon or at pretty much any electronics retailer. ) Use the adapter to plug the external drive into your phone, then look for a notification confirming the drive is the “Explore” option within the notification, and that’s it: You can now browse and access all the files on your external drive. JR Raphael/IDG
Look for the notification that pops up when an external drive is connected, and you’ll be browsing the drive’s contents in no time.
When you’re finished, don’t forget to go back to the notification and tap “Eject” before disconnecting the ansferring files between your phone and computerIn addition to supporting external hard drives, your Android phone can act as an external hard drive. Just plug your device into any Windows, Mac, or Chrome OS computer, and you can access its entire file system and drag and drop files between it and your desktop with a Windows or Chrome OS system, it’s essentially as simple as plug and play. With a Mac, you’ll first need to install a special program on your computer before the connection can be step-by-step instructions on any of those fronts, click over to my comprehensive Android file transfer ansferring files wirelessly between devicesWant to transfer files between your Android phone and a computer (or another Android phone, iPhone, etc. ) without the need for wires? No most basic option is to embrace a middleman — specifically, a cloud storage service like Google Drive, Dropbox, or Microsoft OneDrive. Just upload the files to a folder within the respective app on your Android phone, then find the folder within the same app on the receiving device (or vice versa) can get more advanced than that, though — and make your life significantly easier as a result. If you’re transferring between two Android devices in the same physical area, Google’s own Files app (which, confusingly, is not the same as the aforementioned Files app that comes preinstalled on many devices) will get the job done with minimal fuss and hassle. Just install the app on both devices, tap the Share tab at its bottom, and then tap the Send or Receive button to set up the transfer. The app will automatically encrypt any data it you’re using devices on different platforms — and/or devices that aren’t in the same physical location — a handy tool worth considering is a multiplatform app called Join (which also has the ability to encrypt its transfers, though you’ll need to look inside the app’s settings to activate that option). Install the app on your Android device and then install that same app, the Chrome version, or the Windows 10 version on any other device with which you want to share files. You can also access the service via a regular website on any desktop computer — if, for instance, you use a Mac along with a browser other than you’ve signed into the apps on both ends, you’re ready to initiate hassle-free file transfers in either direction. On Android, just share a file from any app — a file manager, an image gallery, or any other sort of file-using utility — and select Join as the destination. The file will appear on your desktop within a computer, meanwhile, sending a file is as simple as opening the Join app or extension, selecting your phone as the receiving device, and then dragging the file into the window. JR Raphael / IDG
Drop a file into Join on your desktop (left), and it’ll appear on your Android device a second later (right).
Join has a bunch of other functions — including the ability to send a “Note to self”-style notification from a computer to your phone and even to paste text from a computer directly into your phone’s clipboard — but even if you just use it for wireless file transfers, it’s well worth keeping around. The app comes with a free (ad-supported) one-month trial and then requires a one-time $5 purchase if you want to keep using ncing your Android phone’s storage with a computerMaybe you like having certain files stored locally on your Android phone, but you also want those files to be backed up and saved on your computer. The best of both worlds, right? Believe it or not, this is actually quite easy to pull off. Just grab an Android app called AutoSync, which is available for use with Google Drive, Microsoft OneDrive, Dropbox, and Box. It’ll let you create pairings between a local folder on your phone and a cloud-based folder — for free with a single folder pair and files smaller than 10MB or for a one-time $5 payment without any real stall the appropriate computer-side app for whichever service you prefer, make sure it’s set to sync with your computer’s hard drive — and there ya have it: Your Android device’s folder is now effectively part of your can even have the folders stay constantly synced in both directions — so if you add or update a file on the computer, the same changes will appear on your phone as ‘s a wrap! Congratulations: You’ve officially earned the title of Android file master. (For real — you can even type it into a document, print it out, and tape it to your desk so everyone knows. )Next up: Make sure you understand the ins and outs of Android backups. They’re ultimately made up of files, too, after all — and pretty important ones, at article was originally published in September 2017 and most recently updated in February 2020.
Contributing Editor JR Raphael serves up tasty morsels about the human side of technology. Hungry for more? Join him on Twitter or sign up for his weekly newsletter to get fresh tips and insight in your inbox every Friday.
Copyright © 2020 IDG Communications, Inc.
Frequently Asked Questions about how to access data_data in android without root
How do I access data on Android?
You can access the files from Android Studio GUI or via command line: GUI — In Android Studio, launch Android Device Monitor from the menu: Tools/Android/Android Device Monitor. Navigate to the File Explorer tab, then data/data/<your app package name>/.
How do I access root files on Android?
Launch ES File Explorer, tap the menu button in the top-left section, and then tap on “Root” to activate root file access. Back on the main screen, browse to the root folder (labeled as “/”), and then navigate to “System -> bin, xbin, or sbin,” depending on what you need. You can also browse other folders in root.Jul 23, 2021
How do I access internal data on Android?
With Google’s Android 8.0 Oreo release, meanwhile, the file manager lives in Android’s Downloads app. All you have to do is open that app and select the “Show internal storage” option in its menu to browse through your phone’s full internal storage.