[Q] How to connect with ADB? - Sony Xperia P, U, Sola, Go

How can i connect to my phone via USB with ADB?
I want to push/pull and edit some files from the system partition and a root acess file manager wont let me edit the file for some reason so i want to try and do it with ADB
Cheers!

Related

[Q] How can I access the root folders of the phone on my pc?

Just like how you can access sdcard and the microsd card via usb connection to the computer, is there any way to access the root folders of the phone on your pc?
only way I know of is using ADB pull commands... but you have to know exactly what you want and where it's located. OR use RootExplorer and copy the files to your SD card, then mount to a PC and they will show up
If there is a simple file navigation program that would access root files, i would love to know about it!
There are a few on the web. They require adb on your pc though or you will only be able to pull from your phone. I think the one I used to use was android explorer.
Sent from my SGH-T959 using XDA Premium App
ADB shell > su > ls / cd .. will let you look through there, won't it?
-bZj
XDAapp

[Q] how to access phone memory via pc?

Dear all,
Good day.
I would like to ask,can I access phone memory (HTC aria A6380)
on pc?
It was because I accidentally move a script file "sh"
from my /system/bin folder to my sd card.
Now I would like to cut back the file and paste it back to the original folder which in system file...
But,without the "sh" file in /system/bin/ folder,the root explore .apk can't work
So,I would need some expert advise...
You could just re-flash you rom.
Yes you can. You need to use the 'adb' tool. Download here: http://forum.xda-developers.com/attachment.php?attachmentid=630611&stc=1&d=1308537076 and extract it to a folder, then open a command line to that folder.
Connect your phone, and make sure USB debugging is enabled. Copy the file from your SD card to your computer. If you do not have S-OFF, you need to go to Clockworkmod recovery on your device before this will work.
From the command line, do adb devices to see if the phone is connected properly. Then do adb remount to mount the system partition as writable. Then do adb push C:\path\to\filename /system/bin/filename to copy the file. Then just disconnect and reboot the phone.
drumist said:
Yes you can. You need to use the 'adb' tool. Download here: http://forum.xda-developers.com/attachment.php?attachmentid=630611&stc=1&d=1308537076 and extract it to a folder, then open a command line to that folder.
Connect your phone, and make sure USB debugging is enabled. Copy the file from your SD card to your computer. If you do not have S-OFF, you need to go to Clockworkmod recovery on your device before this will work.
From the command line, do adb devices to see if the phone is connected properly. Then do adb remount to mount the system partition as writable. Then do adb push C:\path\to\filename /system/bin/filename to copy the file. Then just disconnect and reboot the phone.
Click to expand...
Click to collapse
how to add a command line?
peter tham said:
how to add a command line?
Click to expand...
Click to collapse
Open command prompt if you are on windows
Sent from my Liberty using XDA App
can this be done to remove system app?
Mysteryagr said:
can this be done to remove system app?
Click to expand...
Click to collapse
Yes. BUT... make sure you aren't removing a vital app, aka settings.apk.
Sent from my HTC Intruder

[Q] remove my system file

I get a new tablet after root it, i removed /system/app to get more size on my storage but my device don't turn on now. But i have the file (app) on my computer. How can i restore the file and save my device. I hace activate the usb debug and i can use adb command.
Help me please.

How to delete file in folder system/etc/permisions with adb

Hi everybody
I have one question about adb
I want delete one file in system and push another file confusederform.xml) how to replace ????
My device full rooted and recovery not work (no commond line)and cant anything install app because dont show anything (memory empty)but my storage is half_full

Oneplus2 root access via pc

I have Oneplus2. I want to get root access via pc. I have already rooted my device. But is there any way to access root files through pc using any app in pc.
Short answer NO. There is no easy way. But you can use adb to edit root directory I think.
BTW why do you need to explore root directory through pc?

Categories

Resources