I may just be missing something obvious, and I've tried a little searching on the forums as well....here goes.
I'm trying to get at the / directory on my g tablet. Whenever I connect my g tablet up to my computer, and turn on USB storage mode in vegan 5.1, I can only see what appears to be the /mnt/sdcard/ directory. I want to be able to edit files in my /system directory but I can't see it.
Any help would be appreciated. Thanks. What the heck am I doing wrong.
astralplaydohrp said:
I may just be missing something obvious, and I've tried a little searching on the forums as well....here goes.
I'm trying to get at the / directory on my g tablet. Whenever I connect my g tablet up to my computer, and turn on USB storage mode in vegan 5.1, I can only see what appears to be the /mnt/sdcard/ directory. I want to be able to edit files in my /system directory but I can't see it.
Any help would be appreciated. Thanks. What the heck am I doing wrong.
Click to expand...
Click to collapse
you won't be able to access anything other than the sdcard directory via USB.
You will either need to access the files directly on the tab (and even that will likely require a root enabled file manager like RootExplorer)
Or you need to get comfortable with ADB. Using ADB you can push & pull files from the other partitions.
Thanks.
I was able to edit the file I needed by using a combination of terminal editor and es file explorer. Thanks.
Related
giving adb a little try today... i pushed a file "C:\blabla.txt" to /sdcard. well 2 things happened and neither was what i wanted:
1. i couldnt access /sdcard from root explorer anymore... its got the little picture of a badge over the folder and doesnt let me in.
2. when i reboot and get access again to /sdcard, the file isnt there.
if it helps, i also cant fix permissions until i reboot after pushing the file.
so i just wanna know whats going on.
thanks!
younix258 said:
giving adb a little try today... i pushed a file "C:\blabla.txt" to /sdcard. well 2 things happened and neither was what i wanted:
1. i couldnt access /sdcard from root explorer anymore... its got the little picture of a badge over the folder and doesnt let me in.
2. when i reboot and get access again to /sdcard, the file isnt there.
if it helps, i also cant fix permissions until i reboot after pushing the file.
so i just wanna know whats going on.
thanks!
Click to expand...
Click to collapse
were you in debugging mode or mass storage?
Debugging, not mass storage
Sent from a cell tower to the XDA server to you.
how do i connect my phone to my pc to search all my files and pull them out, im not tlking about sd mount eighter i need to pull out internal files
Try downloading a file manager on your phone.
Evo SHIFT
I need to connect my phones internal files to my pc, so i can access everything in my phone, root explorer or other apps won't allow that.
thizzlemania91 said:
I need to connect my phones internal files to my pc, so i can access everything in my phone, root explorer or other apps won't allow that.
Click to expand...
Click to collapse
Root explorer allow you to delete system files.. you just have to change permission for it to work... thrust me I dint know how to do it at the beginning but it works.
You can use root explorer to copy/paste the files you want to your SD card. Or simply adb pull. Either way will work.
Just use adb wireless. You have full access wirelessly that way.
Sent from my PG86100 using Tapatalk
You can always use Droid Explorer.
thizzlemania91 said:
how do i connect my phone to my pc to search all my files and pull them out, im not tlking about sd mount eighter i need to pull out internal files
Click to expand...
Click to collapse
personally I prefer using the tools google has released for developers all included in the android-sdk package. the main tool for command line access to the device is adb (android debug bridge).
i wrote a quick/simple guide on the basic commands for using adb - [TUTORIAL/HOW TO] Basics of ADB
hope that helps!
Thanks ppl ill give your suggestions a go
Joey your tutorial is noob friendly +1thank you brother.
Hey guys,
I am trying to get the the "up-most" folder of my HTC Droid DNA. On the phone itself I can get to a folder titled "/" which I'm assuming is the root folder of the phone. I want to get into the "/data" partition on my PC to try to fix a game file that is loading incorrectly. But when I plug the phone into my PC all I can see is the internal storage folder. I tried to enable hidden folders as well but no such luck. Any ideas?
Thanks in advanced!
Swannyman17 said:
Hey guys,
I am trying to get the the "up-most" folder of my HTC Droid DNA. On the phone itself I can get to a folder titled "/" which I'm assuming is the root folder of the phone. I want to get into the "/data" partition on my PC to try to fix a game file that is loading incorrectly. But when I plug the phone into my PC all I can see is the internal storage folder. I tried to enable hidden folders as well but no such luck. Any ideas?
Thanks in advanced!
Click to expand...
Click to collapse
You need to ADB pull it and do what you need to change and then ADB push it. However I would do only the folder like /data/Game-O-Pornstar or /data/com.your_game_name
So an example if I wanted to pull the /data/data folder I would run the command (go to android-sdk on your computer where you unlocked your phone and find platform tools or the folder that adb.exe is inside of. Hold shift, right click, choose "open command window here")
Assume first I made a new folder in platform tools and named it calculator.
"adb pull /data/data/com.android.calculator2 > C:\Android SDK\platform-tools\calculator"
It would put the contents of the com.android.calculator2 directory (folder) into my new folder that I created and called calculator. Then when I'm finished I would do the opposite to push it back
I was just trying to put the directions into more common language but here's the link to actually get the commands
http://developer.android.com/tools/help/adb.html
There's an app called Droid Explorer for the PC that will do this with an interface but the program will often wreak havoc on your adb and fastboot drivers and services.
Swannyman17 said:
Hey guys,
I am trying to get the the "up-most" folder of my HTC Droid DNA. On the phone itself I can get to a folder titled "/" which I'm assuming is the root folder of the phone. I want to get into the "/data" partition on my PC to try to fix a game file that is loading incorrectly. But when I plug the phone into my PC all I can see is the internal storage folder. I tried to enable hidden folders as well but no such luck. Any ideas?
Thanks in advanced!
Click to expand...
Click to collapse
Androidcommander
Thanks man. Ill give it a try.
Sent from my HTC6435LVW using xda app-developers app
Two questions about the following thread (can't post in dev threads until 10 posts are made)
http://forum.xda-developers.com/showpost.php?p=47140596&postcount=1
Does anyone still have the files? The dropbox link doesn't contain any files
Is an external microsd card necessary?
The instructions are
Code:
su
cd /mnt/extSdCard/MJ7_tether_unlock/
sh tether.sh
Wouldn't it be fine to copy the MJ7_tether_unlock folder to root and use the following . . . ?
Code:
su
sh /sdcard/MJ7_tether_unlock/tether.sh
I fixed the link. Should download now. And no you cant use that command the reasoning has to do with how I wrote the script. If you dont have a micro sdcard you could also just make a new folder named "extSdCard" in the /mnt directory and then move the unzipped tether folder there.
Sent from my SCH-I545 using XDA Premium 4 mobile app
Surge1223 said:
I fixed the link. Should download now. And no you cant use that command the reasoning has to do with how I wrote the script. If you dont have a micro sdcard you could also just make a new folder named "extSdCard" in the /mnt directory and then move the unzipped tether folder there.
Click to expand...
Click to collapse
I couldn't get r/w in /mnt
I know there's probably a smarter way to do it, and I never tried the chmod you recommended on /system . . . but I re-wrote your tether and untether sh files to use /sdcard/tether instead of /extSdCard/MJ7_Tether_Unlock
I'm not sure how to remove the "crapware" bundled into the VZW S4, but every time I connect it via usb (to my Mint 15 laptop or W7 machine) it asks me to install some Verizon helper junk. It also mounts as a CD-ROM (due to some .ini file)
Does anyone know where this "storage" area is and if it's safe to blow all that crapware away? My S4 gets mounted as CD-ROM everytime whether or not I have USB debugging enabled. In W7 if I cancel it's "Would you like to install this Verizon helper software?" then the S4 is mounted as a portable media player. In Mint 15, I can easily unmount the ROM and the S4 is mounted as a portable media player.
Since I couldn't get past this, I just moved the renamed "tether" folder over to /sdcard which is the only way I can get the phone to mount.
Surge, thanks for the framework patch, and scripts. I like the extSdCard approach since it is always preserved, but it's just a lot easier for me to use the /sdcard since I've not got an external SD and am too cheap to buy one just for this
After running the scripts, I just copied the entire folder over to my computer in case the /sdcard is ever reformatted
I can't attach the whole thing since I'm filesize limited, but I attached the folder with everything except the original MJ7framework-res.apk
Obviously the instructions are close your original, except you just move the tether folder into /sdcard (which is consquently what shows up as "Phone" when mounted as a portable media player storage area in Mint 15???). Then just
su
cd /sdcard/tether/
sh tether.sh
Thank again surge
darker_slayer said:
I couldn't get r/w in /mnt
I know there's probably a smarter way to do it, and I never tried the chmod you recommended on /system . . . but I re-wrote your tether and untether sh files to use /sdcard/tether instead of /extSdCard/MJ7_Tether_Unlock
I'm not sure how to remove the "crapware" bundled into the VZW S4, but every time I connect it via usb (to my Mint 15 laptop or W7 machine) it asks me to install some Verizon helper junk. It also mounts as a CD-ROM (due to some .ini file)
Does anyone know where this "storage" area is and if it's safe to blow all that crapware away? My S4 gets mounted as CD-ROM everytime whether or not I have USB debugging enabled. In W7 if I cancel it's "Would you like to install this Verizon helper software?" then the S4 is mounted as a portable media player. In Mint 15, I can easily unmount the ROM and the S4 is mounted as a portable media player.
Since I couldn't get past this, I just moved the renamed "tether" folder over to /sdcard which is the only way I can get the phone to mount.
Surge, thanks for the framework patch, and scripts. I like the extSdCard approach since it is always preserved, but it's just a lot easier for me to use the /sdcard since I've not got an external SD and am too cheap to buy one just for this
After running the scripts, I just copied the entire folder over to my computer in case the /sdcard is ever reformatted
I can't attach the whole thing since I'm filesize limited, but I attached the folder with everything except the original MJ7framework-res.apk
Obviously the instructions are close your original, except you just move the tether folder into /sdcard (which is consquently what shows up as "Phone" when mounted as a portable media player storage area in Mint 15???). Then just
su
cd /sdcard/tether/
sh tether.sh
Thank again surge
Click to expand...
Click to collapse
I don't recall recommending to chmod /system as that would lead to a brick if done improperly. Also I guess you could change the script and replace all instances of "/extSdCard" to "/sdcard" which is what you did, I just wanted the zip and folder to be named in such a way that youd easily be able to tell what it was. But why even bother with using a pc? I was saying to run the commands through terminal emulator on the phone.
P.S. /system/etc/autorun.iso
Sent from my SCH-I545 using XDA Premium 4 mobile app
I ran them from terminal emulator. I was just referring to mixing the files over to the phone. ES file Explorer wouldn't write in mnt. When plugged in to the laptop I just prefer to move stuff straight in. The only thing I could get to mount was a scarf
Anyway thanks again
Also, does removing the auto run iso from etc have any adverse effects?
darker_slayer said:
Also, does removing the auto run iso from etc have any adverse effects?
Click to expand...
Click to collapse
Removing or renaming the autorun.iso file does not stop the USB connection from connecting as "installer" when you first plug it in. There is still a delay of 20-30 seconds before it switches to "connected as media device" after you plug it in. If anyone has a permanent solution to this, please post it! I've tried changing the settings in the hidden menu *#7284#, but the settings don't stick and revert back to the "connect as installer" after a reboot.
Zelmo88 said:
Removing or renaming the autorun.iso file does not stop the USB connection from connecting as "installer" when you first plug it in. There is still a delay of 20-30 seconds before it switches to "connected as media device" after you plug it in. If anyone has a permanent solution to this, please post it! I've tried changing the settings in the hidden menu *#7284#, but the settings don't stick and revert back to the "connect as installer" after a reboot.
Click to expand...
Click to collapse
Thanks for the info, I was going to ask about this in a separate thread. After your reply looks like I need to look for some other method.
Also, the phone never mounts anything other than /sdcard/ right? Moving things to other places requires an explorer app?
To add to the growing number of noob questions, is it still possible to run ES File Explorer with SU in version 3? I know I used this way in the past, but I can't find the option and it's not showing me a bunch of stuff like /efs/carrier/HiddenMenus or letting me past into extSdCard
Is there a free root explorer if ES can no longer do it?
darker_slayer said:
Thanks for the info, I was going to ask about this in a separate thread. After your reply looks like I need to look for some other method.
Also, the phone never mounts anything other than /sdcard/ right? Moving things to other places requires an explorer app?
To add to the growing number of noob questions, is it still possible to run ES File Explorer with SU in version 3? I know I used this way in the past, but I can't find the option and it's not showing me a bunch of stuff like /efs/carrier/HiddenMenus or letting me past into extSdCard
Is there a free root explorer if ES can no longer do it?
Click to expand...
Click to collapse
I use ES File Explorer without any problems. Do you have "root explorer" switched ON in "Tools" in the ES File Explorer?
Zelmo88 said:
I use ES File Explorer without any problems. Do you have "root explorer" switched ON in "Tools" in the ES File Explorer?
Click to expand...
Click to collapse
Nope
Looked for it in settings, didn't think to check tools
Using a Blu life x2 rooted TWRP and using a custom rom called Drax from blox2.
Having a heck of a time getting access to the root system directory. I can browse it just fine via Root Explorer app. I can see all the notification sounds and ringtones that are default. (im ultimately trying to put some new notifications/ringtones directly on the internal storage vs installing something like zedge to manage ringtones (and trying to learn as i go).
Using ADB and fastboot im able to copy files. at least i thought. Booted into TWRP, i can see my device via "adb devices" I try to copy the first time and it fails as it doesnt see the directly (which is odd to me because its clearly there, i can navigated it when booted into android and browsing via Root Explorer. I then see that adb created a directly, i try again and it says it copied. As you can see on the screen shot.
since i cant submit a link yet.... drive.google.com/open?id=0B1halGed5ltCMVY0VzduRk5kTHM
So i think im golden, i go into Android try to change the notification and .. bubkiss. Nothing. I then try to see the file in android via root explorer and its not there.
I think i have a permissions issue as i've tried copying files directly in android using Root Explorer and I get operation failed or permissions complaints.
Any insights on this?
Simplegreen99 said:
Using a Blu life x2 rooted TWRP and using a custom rom called Drax from blox2.
Having a heck of a time getting access to the root system directory. I can browse it just fine via Root Explorer app. I can see all the notification sounds and ringtones that are default. (im ultimately trying to put some new notifications/ringtones directly on the internal storage vs installing something like zedge to manage ringtones (and trying to learn as i go).
Using ADB and fastboot im able to copy files. at least i thought. Booted into TWRP, i can see my device via "adb devices" I try to copy the first time and it fails as it doesnt see the directly (which is odd to me because its clearly there, i can navigated it when booted into android and browsing via Root Explorer. I then see that adb created a directly, i try again and it says it copied. As you can see on the screen shot.
since i cant submit a link yet.... drive.google.com/open?id=0B1halGed5ltCMVY0VzduRk5kTHM
So i think im golden, i go into Android try to change the notification and .. bubkiss. Nothing. I then try to see the file in android via root explorer and its not there.
I think i have a permissions issue as i've tried copying files directly in android using Root Explorer and I get operation failed or permissions complaints.
Any insights on this?
Click to expand...
Click to collapse
bump