Question: Adb shell commands 4the Z3 - Xperia Z3 Q&A, Help & Troubleshooting

Hi!
I have the Z3 and without my lang on settings so i willing 2add it with an App.
I opened USB Debug abd i need manually grant the premission by this command:
adb shell
pm grant sightidea.com.setlocal
android.premission.CHANGE_CONFIGURANT
ION
But i dont know what 2do that.
I just know i should open a CMD window...but it "not recognized as an internal or external command...
This info' came from the manual of this app...nothing mentioned about any file that need 2be involve in.
Need your help please.
Thank you!

Related

[Q] Setting up ADB for my Vibrant on Mac OS X

I've been following this guide http://forum.xda-developers.com/showthread.php?t=1917237&nocache=1 to set up ADB for my phone and macbook, and when i try the "./adb devices" command to try and ID my device, it isn't working. Ive already downloaded the SDK package from the website, copied and pasted "adb" and "fast boot" into the root of my sdk file in the bundle. I included some snapshots in case I'm inputting the file path incorrectly. Any help would be awesome! My power button stopped working on my phone so I'm trying to set up ADB so i can just adb reboot whenever my phone shuts off or anything like that. The first screenshot is my current file path for the adb and fastboot files and the second is just my attempts at trying the "./adb devices" command.
Ironcheeks said:
I've been following this guide http://forum.xda-developers.com/showthread.php?t=1917237&nocache=1 to set up ADB for my phone and macbook, and when i try the "./adb devices" command to try and ID my device, it isn't working. Ive already downloaded the SDK package from the website, copied and pasted "adb" and "fast boot" into the root of my sdk file in the bundle. I included some snapshots in case I'm inputting the file path incorrectly. Any help would be awesome! My power button stopped working on my phone so I'm trying to set up ADB so i can just adb reboot whenever my phone shuts off or anything like that. The first screenshot is my current file path for the adb and fastboot files and the second is just my attempts at trying the "./adb devices" command.
Click to expand...
Click to collapse
First, it's impossible to access your phone's adbd server when it is off.
And adb needs to be in the current folder.
Use ls to see the contents of the folder you are in.
You should try ./adb first.
It's better to boot hirens boot cd.
Then use the tool in my signature.
An even better way to do this is to trust your technolust and take your phone apart and try to identify and fix the problem, or put it back to stock and send it in for warranty.
Lgrootnoob said:
First, it's impossible to access your phone's adbd server when it is off.
And adb needs to be in the current folder.
Use ls to see the contents of the folder you are in.
You should try ./adb first.
It's better to boot hirens boot cd.
Then use the tool in my signature.
An even better way to do this is to trust your technolust and take your phone apart and try to identify and fix the problem, or put it back to stock and send it in for warranty.
Click to expand...
Click to collapse
Thanks for giving such a helpful response what do you mean by adb needs to be in the current folder? and what is Is?
And I'm definitely planning on taking it apart. As soon as i can find a small enough screwdriver somewhere on campus, ill get right on it. Thanks again!
Ironcheeks said:
Thanks for giving such a helpful response what do you mean by adb needs to be in the current folder? and what is Is?
And I'm definitely planning on taking it apart. As soon as i can find a small enough screwdriver somewhere on campus, ill get right on it. Thanks again!
Click to expand...
Click to collapse
Your welcome!
I'm happy to help any time.
the . indicates the current folder(directory)
so when you type ./adb
it executes the adb file in . (the current folder)
ls is a command for listing the contents of the current folder. (Just like the dir command on windows)
Before you type ./adb you would want to make sure that adb is in . (The current folder)
Get it?
Lgrootnoob said:
Your welcome!
I'm happy to help any time.
the . indicates the current folder(directory)
so when you type ./adb
it executes the adb file in . (the current folder)
ls is a command for listing the contents of the current folder. (Just like the dir command on windows)
Before you type ./adb you would want to make sure that adb is in . (The current folder)
Get it?
Click to expand...
Click to collapse
Ahhh that makes sense.. so when I'm running terminal and since the adb file is in the sdk folder, i should make the command path (cd /Users/..etc) go up to the sdk folder in this case?
Ironcheeks said:
Ahhh that makes sense.. so when I'm running terminal and since the adb file is in the sdk folder, i should make the command path (cd /Users/..etc) go up to the sdk folder in this case?
Click to expand...
Click to collapse
Nevermind! got it to work after doing the above^. Thanks again for your help so any helpful adb commands i should know about? all i know is adb reboot and adb reboot recovery
Ironcheeks said:
Nevermind! got it to work after doing the above^. Thanks again for your help so any helpful adb commands i should know about? all i know is adb reboot and adb reboot recovery
Click to expand...
Click to collapse
adb start-server
adb kill-server
adb push file destination
adb pull file destination(>optional)
adb shell (Open a terminal on the device in your pc terminal window)
adb reboot
adb reboot-bootloader(Only useful if your device will stay at the bootloader for fastboot stuff eg: nexus and htc devices)
adb reboot recovery
examples for adb pull would be
adb pull /sdcard/dcim/
adb push doggy.jpg /sdcard/Download/doggy.jpg
There has got to be an adb guide here somewhere on Xda.
If not then go look up some common adb commands.
Have fun with adb.
(I'm anxious to see you fix your phone.)
---------- Post added at 01:48 PM ---------- Previous post was at 01:32 PM ----------
I'm also sure that you know to use the ./ before adb with all of these commands right?
adb guide for windows
Even though its an adb guide for windows, im sure you'll be able to get just as much knowledge from it.
They also might have something on xda university for this stuff.(Which you should totally check out )
http://xda-university.com/
Lgrootnoob said:
adb start-server
adb kill-server
adb push file destination
adb pull file destination(>optional)
adb shell (Open a terminal on the device in your pc terminal window)
adb reboot
adb reboot-bootloader(Only useful if your device will stay at the bootloader for fastboot stuff eg: nexus and htc devices)
adb reboot recovery
examples for adb pull would be
adb pull /sdcard/dcim/
adb push doggy.jpg /sdcard/Download/doggy.jpg
There has got to be an adb guide here somewhere on Xda.
If not then go look up some common adb commands.
Have fun with adb.
(I'm anxious to see you fix your phone.)
---------- Post added at 01:48 PM ---------- Previous post was at 01:32 PM ----------
I'm also sure that you know to use the ./ before adb with all of these commands right?
adb guide for windows
Even though its an adb guide for windows, im sure you'll be able to get just as much knowledge from it.
They also might have something on xda university for this stuff.(Which you should totally check out )
http://xda-university.com/
Click to expand...
Click to collapse
Thank you for all your help!

Adb shell not working

I have properly configured and installed ADB, but when I enter adb shell out my error: unauthorized device. Please check the confirmation dialog on your device. Here's a picture that I set, but I do not know why, and whether it should stand in PATHSKYPE / PHONES behind the C: \ adb as seei.Kako to enable adb shell, comes to the LG BELLO D331
dejanxxxx said:
I have properly configured and installed ADB, but when I enter adb shell out my error: unauthorized device. Please check the confirmation dialog on your device. Here's a picture that I set, but I do not know why, and whether it should stand in PATHSKYPE / PHONES behind the C: \ adb as seei.Kako to enable adb shell, comes to the LG BELLO D331
Click to expand...
Click to collapse
Android will show you a popup to authorize your computer for adb. Go to developer settings and make sure you have root access enabled for adb clear all adb authorizations that the popup will prompt you again to authorize your computer.
LS.xD said:
Android will show you a popup to authorize your computer for adb. Go to developer settings and make sure you have root access enabled for adb clear all adb authorizations that the popup will prompt you again to authorize your computer.
Click to expand...
Click to collapse
Thanks I do this and now working.

ADB Sheel For SONY XPERIA XZ

this is my dirst thread, and i have read the bit of rules on this forum by Mr. @Neo
I want to share about my experience about installed Greenify pro with ADB Shell
with ADB Shell you cant write command in CMD for your phone with debuging mode
With ADB Shell you can Delete Any bloatware in XZ or and activated Aggresive Doze (this mode can make the Greenify saving your battery) or other needs
First
You must be A Developer Mode in your phone, go to setting -> system -> about phone -> build number (touch repeatly in this) and you will see the notif "youa re develop now"
After this turn on Developer Mode and Use Debuging
Next,
Instal Adb Shell in your PC or minimal ADB Fastboot ( i prefer this)
i cant insert link because this my first post, so for ADB Shell you can mail me, i will give the drive link
Connect you XZ to PC on debuging mode with MTP Mode
After instal, and CMD was open automatly
"adb devices" enter
then your phone ID will show on CMD
after this, you can write any command on CMD
try this to active Doze Mode On Greenify
"adb -d shell pm grant com.oasisfeng.greenify android.permission.DUMP"
after finish please restart the APP
i hope this help and for more quoestin you can mail me, hehehe
Big tnx Mr. @Neo

Terminal emulator help

For some reason ADB Shell is not working, is there a work around for it? If so what is the command prompts? I'm trying to root and push to a device...
Is Bash a option if so where do I start??
Help a beginner hacker please
USB Debugging isn't properly set up on mentioned Android device, especially the RSA-keys what are necessary to pair PC and Android device didn't get created and stored.

Looking for an app to block file transfers over usb android 11 Kruger&Matz device.

Good morning,
This is my first post so please be gentle. This forum was recommended to me by a friend.
I am looking for an application, or someone who could create an application that would block the ability to transfer files from Kruger&Matz tablets via a usb cable. Tablets are used for training purposes and we don't want participants to be able to download files to their computers.
If anyone knows of such an application and could recommend it (it may be paid), I would be grateful. If it doesn't exist, and someone here can create it, we'll pay for it.
If you need any specific details, I'll try to provide them. Unfortunately, I'm not an IT specialist, so it's hard for me to present all the data that may be needed at once.
If tablets are rooted and USB Debugging enabled you simply disable USB services like MTP and ADB by means of ADB:
Code:
adb devices
adb shell "su -c 'setprop sys.usb.config ""'"
xXx yYy said:
If tablets are rooted and USB Debugging enabled you simply disable USB services like MTP and ADB by means of ADB:
Code:
adb devices
adb shell "su -c 'setprop sys.usb.config ""'"
Click to expand...
Click to collapse
We can't root them, have you ever rooted this model?
Of course not because I'm using Google Pixel phones.

Categories

Resources