Related
Please let me know about adb shell, how to transfer files from pc to GT, i am totally new on this. Please me how to use adb shell?
adb.exe is a program that runs on your windows pc, and is a part of the android software developer kit, sdk, distributed for free. adb, android data bridge, lets us transfer files and execute commands between your phone and pc.
thank you rangercaptain for the clear answer.
also I was lacking this piece of info.
now it seems I have new hurdle to overcome, I'm based in Shanghai and it seems that I cannot download SDK. I get the typical 'time out' error when I try to go to both: code.google.com/android/download.htm and developer.android.com/sdk in 99.9% of the time you get these errors, it means the site is blocked.
any suggestions for mirror sites....I haven't been able to find one.
thanks!
thanks rangercaptain i was trying sim unlock as rotohammer says in his post put adb shell code and do big copy paste, will running adb.exe allows me to copy paste code as rotohammer says? thanks
tabing said:
. . . i was trying sim unlock as rotohammer says in his post put adb shell code and do big copy paste, will running adb.exe allows me to copy paste code as rotohammer says?
Click to expand...
Click to collapse
Yes, that is exactly correct. It is a very cool, very smart method for us non-coders to unlock our tabs.
Make sure the first command you execute is "adb devices" to verify your connection and drivers. Copy everything from Roto's post. then right click in the command window, and select Paste from the pop up menu. Wait a minute ... done!
wjv144 said:
I'm based in Shanghai and it seems that I cannot download SDK. I get the typical 'time out' error when I try to go to both: code.google.com/android/download.htm and developer.android.com/sdk in 99.9% of the time you get these errors, it means the site is blocked.
any suggestions for mirror sites....I haven't been able to find one.
Click to expand...
Click to collapse
I googled "android sdk" and came up with a few links. Here is a promising one:
http://developer.android.com/sdk/index.html
Choose the most recent. Also you will need drivers for your pc if you don't use windows 7. Again, google or search this galaxy tab forum.
tabing said:
Please let me know about adb shell, how to transfer files from pc to GT, i am totally new on this. Please me how to use adb shell?
Click to expand...
Click to collapse
Here is a website that I used to set up adb in general &
which also has a list of commands
http://theunlockr.com/2009/10/06/how-to-set-up-adb-usb-drivers-for-android-devices/
Once you have followed all the steps explained in here to set it up,
whenever you want to "send a command" over to your GT, you ...
1) first run "cmd" on your Windows device
2) and when the cmd windows pops up enter:
cd\
cd AndroidSDK\tools\
adb devices
(to check if your device really is listed)
.. and then, run the actual command
developer.android.....is blocked. I googled untill 2 in the night and found a few local stored outdated version of SDK. One of them actually wanted to update itself, so I think I'm ok now
thanks again
Drivers for pc, and putting adb.exe and any file you want to send to the tab in tools directory are the two keys for success
Thanks to all, worked. I give you guys kudos via thank meter.
That was a good exchange of thought! XDA rocks!
Hi All.
I have been searching the web for an answer but I cant find it.
I want to be able to execute root applications from adb shell.
i.e. without going into the shell.
for example:
adb shell tcpdump
At the moment I get : no suitable devices found which is because tcpdump is not executed as root.
is there any way to give adb root permissions?
Thanks,
Dekel
I read a thread,it's DT for Cypress.
It says:
- run the following command
Code:insmod /system/lib/modules/ax8mt.ko
But I don't know how to run the command.Who can tell me what should I do?
sorry for my bad English and thanks for answering
Gourcuff said:
I read a thread,it's DT for Cypress.
It says:
- run the following command
Code:insmod /system/lib/modules/ax8mt.ko
But I don't know how to run the command.Who can tell me what should I do?
sorry for my bad English and thanks for answering
Click to expand...
Click to collapse
i think it says u run it using dmesg in shell
EDIT:
use command prompt
go to ur adb folder
type in:
adb shell dmseg
and don't forget to write the "su"
_________________________________________
end line -------> correct me if I'm wrong...
thanks for answering and I have solved the problem.
or if you want to be easy
using adb,, on page 3 u can see it
Please help me... I've got a similar problem.
I just enabled multitouch for my x8.
In order to enable it I use these commands at terminal emulator:
su (enter)
insmod /system/lib/modules/ax8mt.ko (enter)
I don't want to make multitouch running on startup (so I haven't changed my hw_config.sh) because of an annoying bug... the screen shuts down after several seconds as if I weren't touching it at all!
Can I create a *.sh file with these commands (su and insmod...) so that I can run it everytime I need to enable multitouch instead of writing them in the terminal?
I created and executed (with root explorer) a *.sh file with these exact lines but it didn't work. What did I do wrong? Should I write it differently in the *.sh file?
I am getting the following error when I try to pull a TWRP backup from my Nexus 4. Can anyone please help?
Code:
remote object '/sdcard/TWRP' does not exist
It doesn't exist there. /sdcard/ is really a symlink. The actual location is /data/media/0/TWRP, but try /storage/emulated/0/TWRP as well.
Next time type "adb shell" to go into the phone, then type:
find / -type d -iname twrp
this will search the entire phone for folders with the name TWRP and list their path.
/ is the root folder of the phone to search in
-type d means search for folders only, leave it out if you want to search for file names
-iname means to search for terms case insensitive
sent from xda premium app
Thanks for the help eksasol. I've tried to pull many different paths and they all return the same remote object does not exist error. I've even tried sudo adb pull, with the same result. I've tried this, find / -type d -iname twrp but, all I get is Permission denied. If anyone else has got some ideas I'd be happy to hear them. Thanks. :good:
If you are using Ubuntu or linux, typing 'find' only search what is in your PC. You get permission denied because you want to search in a root directly that required root permission.
To search for files in your phone, you need to log into your phone by typing "adb shell". TWRP give you root by default, then you can use the find command.
Since you have root by default in TWRP, you don't need to use sudo, also Android do not have "sudo" installed. The correct way to gain root privilege in linux (Android) is by typing: su -
To tell if you have are root, you should see # where your user name is in the command window.
Once you are done finding the path, you need to exit the adb shell in order to make contact with your PC, so just type exit. Only then you can start using "adb pull".
by the way, its "adb pull /data/media/0/TWRP/ \home\username\backup\"
Rememer in linux (Android), it's case sensitive.
OK, I see my mistakes now. I was not exiting adb shell when typing adb pull. Anyway, thanks to your help, everything is working correctly now. Thank you again, I really appreciate it. Now I can flash the 4.4 update safely.
eksasol said:
If you are using Ubuntu or linux, typing 'find' only search what is in your PC. You get permission denied because you want to search in a root directly that required root permission.
...
by the way, its "adb pull /data/media/0/TWRP/ \home\username\backup"
Rememer in linux (Android), it's case sensitive.
Click to expand...
Click to collapse
Thanks for helping me re-learn that linux (Android) is case sensitive
I was always annoyed by how small the edge screen is even at its largest, so I crawled through the Global settings through ADB and found a setting that seemed relevant "edge_handle_size_percent"
I ran the command
Code:
adb shell settings put global edge_handle_size_percent 100.00
with ADB from a computer, I then opened the edge menu (Still the old size and position) and when I went into handle settings, it had become fullsize. This may also work on the Note and S7 series as well as ported roms, I have only tested this on my S8+.
Let me know if it worked for you! Screenshot as proof below.
original edge default settings ?
worked for me!
hasanben35 said:
original edge default settings ?
Click to expand...
Click to collapse
If I recall correctly, its around 37%
However if you adjust the slider in the settings, it'll pop straight back to normal values
PS C:\Users\hasanben35\Desktop\platform-tools> adb devices
List of devices attached
ce------------------------- device
PS C:\Users\hasanben35\Desktop\platform-tools> adb shell
dream2lte:/ $ adb shell settings put global edge_handle_size_percent 100.00
/system/bin/sh: adb: not found
help
hasanben35 said:
PS C:\Users\hasanben35\Desktop\platform-tools> adb devices
List of devices attached
ce------------------------- device
PS C:\Users\hasanben35\Desktop\platform-tools> adb shell
dream2lte:/ $ adb shell settings put global edge_handle_size_percent 100.00
/system/bin/sh: adb: not found
help
Click to expand...
Click to collapse
There is no need to run the adb shell command first. Its an all in one command. Just fire up adb and input it all.
Pedroc1999 said:
There is no need to run the adb shell command first. Its an all in one command. Just fire up adb and input it all.
Click to expand...
Click to collapse
Thanks work
Great to hear! Any S7/S6/N8/N7 users able to confirm?
I'll let you know shortly, I didn't read the whole forum and moved the slider and you guessed it!!! Back to default it went ....SOOOOOO I'm running the new command and will let you know very shortly