ADB Multi-Tool ( ADB logcat, pull push install and many more all in one tool ) - Android Software Development

Hello Everyone and Welcome to the ADB Multi-Tool thread by me​
Why i created this??
I believe we are all tired of typing into cmd to launch adb commands
So i created this tool to simplify our daily live and time typing and sometimes, making eror while typing
Basically its just simple having to press numbers to sideload files then typing the whole sentence in cmd​
Features of this ADB Multi-Tool
Has nearly all you need
ADB Install
ADB Push
ADB Sideload
ADB Pull
ADB Reboot and reboot recovery
*new ADB Logcat
*new ADB new file selector
Addon : Able to change promt font color ​
Coming features
Targeted for xperia devices with the ADB fastboot feature ( In progress testing )
Lots more unimaginable features comingggg
​
Screenies :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Downloads
ADB Multi-Tool v2 ​
Thanks - Credits
To Google for providing info on bat commands and their adb.exe
Windows for their command promt
Think I left you out or this is a copy of your work? PM me ​

Tutorials?
Tutorial on how to use
Extract the folder in zip to anywhere
Open it up and start ADB Multi-Tool.bat
Firstly add your files into the root of the folder
You can either select the file by entering option 5
( For ADB pull only in next release ) Type the file name exactly when asked for instance nFc.apk ( Case sensitive and file extension .zip .apk or .xxx needed )
Hey press what u want to do with that file
Bravo it should says done​
What is needed?
Your device drivers of course
Some brains​

Changelog and FAQ
Code:
[U] Version 1 [/U]
Initial release
[U]Version 2[/U]
UI redesign
File selection made easier alot
Added logcat
F.A.Q
Q : Hey it says cant find 'x' to install but i was sure i typed the file name correct
A : Make sure the file is in the root directory and make sure u added the file extension behind x.apk
Q : Hey eror: device not found
A : Make sure your device adb debugging mode is enabled in your developer options and your phone is connected
Q : It says what xxxxx permission denied?
A : Well make sure ADB permission is enabled in developer option or your su app, allow unknown install in security too
Q : Promt fc when I try to install or push the file, well i was sure i selected the file before doing so
A : Yes you did, but i am sure the file u selected contains spaces eg google camera.apk
Rename it to googlecamera.apk and I am sure it wont fc
Q : Hey I launch ADB logcat and i pressed any key, why nothing comes out? How do I stop it?
A : Well logcat is running, unless it says waiting-for-device, then you have to check your drivers properly. To stop logcat just press ctrl+c
Find your logcat.txt in the folder
Well many more are coming soon, so stay tuned
​

Related

[Q] help me..

i've firstly root.ok.n then xrecovery.ok..but then when i want to enable JIT following this thread http://forum.xda-developers.com/showthread.php?t=877565,
my phone suddenly can't connect to wifi.and then the xrecovery cant be perform...and other things,how can i perform this operation?
(1: enable JIT (in a termnial or adb shell)
cd adb
adb shell
su
cd /sdcard/JiT-toggle-0.1
sh enable_jit.sh)
i connect the phone to pc an enable debug mode,run cmd,but pc says cant detect..watsoever..
can anyone help me?
If you followed all instructions for JIT and your wifi doesn't work means it wasn't the correct version of Busybox. I recommend you to install Titanium Backup hit Problems? and install busybox. Then, when you copy all files for JIT, don't copy busybox, because you have already the latest one. It should work. It happend to me, too. The nasty part is that you need to repair your Android with PcCompanion/ SEUS.
do i need to repair my phone first with pc companion or repeat again the step?
n how to run cmd?do i need to enable debug?i dont know how to do this instruction,1: enable JIT (in a termnial or adb shell)
cd adb
adb shell
su
cd /sdcard/JiT-toggle-0.1
sh enable_jit.sh
Well, if you have your phone rooted with superoneclick, then you got adb.exe. You need to access that folder into cmd. ex : c:\superoneclick\ and then with the phone connected (usb debug enabled) you can enter commands like adb shell and su. Try it. But wifi and xrecovery malfunctions are symptoms that something went wrong. Eventually repair with PcCompanion. Good Luck.
when i run the command prompt,it says 'adb' is not recognized as an internal or external command,operable program or batch file..is this because i didnt rooted my phone well?
Do you have adb.exe? Or superoneclick for root?
yeah.i have both.i downloaded superoneclick and inside ithave adb.exe..but when i click adb.exe,nothing happened.just a temporary command prompt about 2second and then its appeaered..
now open start-run->cmd and go to that folder. And only there you can run "adb shell".
So, in cmd you must be in that folder in order to input all commands.
go to that folder?what do u mean?open cmd from the folder?or open cmd and click to the folder?
sorry for the noob question..
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This should look like. using commands like " cd .." to exit folder and use ' cd "name of folder" ' to enter one. it should work.
thank god.finally i know how to run command.thanks a lot redpik
guys..help me.how am i to solve this command error?
Please follow this thread http://forum.xda-developers.com/showthread.php?t=877565 .
If you connect your phone to computer, make sure not to mount the sdcard. So, click on USB CONNECTION and select TURN OFF from the status bar. Make sure you have SUPERUSER application installed to grant access.
If it helps you, please consider pressing Thanks button.
sorry redpik..
i got big probs.. my homescreen and apps icon become smaller and i dont know whats going on.
is it brick or something else?
i try to use pc companion and seus,but it keep saying no update for my phone..
seriously,this small icon thing make me crazy..
I don't know what's with the screen, shouldn't have happened. Seus says no update, but Repair button is active so you can make it brand new. Then try again rooting and jit.

[Guide] Noobs To Change The Clock & Notification Colour in StatusBar

While I was searching for how to change the clock & notification colour in statusbar
there i got so many guide with lot of way....
I tried them tooo...
But soory to say that very few of them works for mee...actualy
those guide support few devices not for all...
Then one of my friend(Abhishek Kumar Singh) gave me a guide which is a perfect one..
but there also few changes to be done......as the guide is totally messed..
so Here I am going to make a guide for all those who want to change there clock & notification colour.
Requirements:-
1)ColorChange.jarv3.1 [Download]
2)Rootes Android Phone
3)Sdk Installed
4)Little knowedge on Messing with Cmd
Processsss/Working:-
1)Plug in your phone( make sure that usb debugging is ticked on)(Dont't mount the sdcard)
2) open command prompt from Pc..(To open=> click start->run->type cmd->ok)
3) Navigate to the android sdk platform tools folder..
4) Type this commands:
adb remount
adb pull /system/framework/services.jar services.jar
adb pull /system/framework/framework-res.apk framework-res.apk
5)Now extract the colorChangev3.7z & paste the extracted file colorChangev3.jar in platform tools folder
6)Now make a folder called 'framework' inside Platform tools folder & move the services.jar into that folder
7)Create a zip file of the framework folder and name it theme.zip
(steps 7 & 8 shuld be done correctly or u will get errors)
8)Type this commands....
java -Xmx512M -jar colorChangev3.jar theme.zip clock=FFb4ff00 date=FFffffff
(definetly 'FFb4ff00' denotes the clock colour & 'ffffffff' denotes the date colour)
9) When its done it will leave a theme-new.zip in platform tools folder,take the new service.jar file out
& put that in platform tools folder.
10) Its almost done....Now you can take the new services.jar make flashable zip & flash...If you don't know how to make flashable zip then do this.
11) Type this command in already opened cmd
Commands:
adb remount
adb push services.jar /system/framework/
adb push framework-res.apk /system/framework/framework-res.apk
adb shell reboot
That's all you are done now.......:good:
One think you should note that you shouldn't get any error while following this whole process otherwise it will not wrk....
Basically this above process doesn't harm your mobile...But if anything wrong happend with you..Then you can't blame me..
Credits
milrtime83 for his guide​
Please Dont forget to Hit The Thanks Button.......... :good::good::good:
Reserve
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Resreve

[Tutorial]How To -ADB- Logcat & Basic [NEW OR NOOB]

Well this my first own post on General Section
I am sharing how to use the (ADB)
which seem many of us should have some basic on it
(FASTBOOT) will be added later on.
-SIMPLE & EASY-
Is a proper way to tell what wrong's and bug you encountered by a log
Requirement :
Click to expand...
Click to collapse
-Adb Driver for Xperia X8 or This Universal_Naked_Driver
-Adb files (Repacked for you)
-Android Version 1.6-4.1.1
Click to expand...
Click to collapse
Set Up
Click to expand...
Click to collapse
Install the Driver For Adb for your device (Example :X8)
Unpack the Adb Files To A Folder (Named Whatever you like Example: Adb) on local disk C: (Recommend)
Turn on USB debugging on your phone: Settings>Applications>Development>USB Debugging
Go to Start Menu and Search for CMD (Command Promt) (Run as adminstrator)
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Prompt CMD with the location you extracted the ADB Files (Mine at C:/adb)
Therefore key in this
Code:
cd c:/adb
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Check Connected Device & Enable the Adb Server
Code:
adb devices
Wait for few seconds till the server is up and if you connection is working
Should show that the device name is there
If connection is offline should check whether build.prop has this line :
Code:
persist.sys.usb.config=mass_storage,adb
Add this line to build.prop if you need to do so
ADB Logcat
When able to have adb connection between device then you
can now do a pretty simple logcat
Code:
adb logcat > logcatfilename.txt
Replace "logcatfilename" with anything you like and shall log all over the text file
Can then stop logging just pressing Ctrl+C
Enable Access to System
If Encountered that your system not mounted
Code:
adb remount
If some still keeping error then need to boot cwm to adb
ADB Shell
Adb Shell Is A Little Advance So No Really Gonna Cover Up Here
Prompted by
Code:
adb shell
Checking Memory/Swap Progress
Code:
free
You can remove app/files by
Code:
rm -r /filelocation/filename.format
Replace " /filelocation/filename.format" with anything you want to remove such as latimime.apk so you replace with /system/app/latimime.apk
Adb Pull
Now You Should Know To Command using CMD
To Pull
Code:
adb pull /system/app/browser.apk
Replace "l/system/app/browser.apk" with location and file name you want to pull
Adb Push
Now You Should Know To Command using CMD
To Pull
Code:
adb push browser.apk /system/app
Replace " browser.apk /system/app" with file name(On the same folder of the adb files) & location you want to push that file into.
Adb Install
Should be same as pushing method but normally to data folder
Code:
adb install angrybird.apk /data/app
Replace "angrybird.apk /data/app" with file name(On the same folder of the adb files) & location you want to install into
Final :
I hope this Tutorial Is Clear Enough For Other's member which want to
learn adb.You can use this tutorial & i know there many more better adb tutorial
but i am just showing basic knowledge logcat and adb command that can easier
both developers and user.Any Comment & Suggestion can reply below.
I will fix/add if needed.Sorry for bad english & grammar
Credits :
Dev Whom Teached Me Basic Adb
1wayjonny For Universal Naked Driver
pswd
What password for ADB archive?
nikmaletz55 said:
What password for ADB archive?
Click to expand...
Click to collapse
steriod << Password Sorry for missed out
Fastboot tutorial when there's free time :cyclops:
I can't download the GingerLewa.
@^
this isn't the appropriate thread.
@Steriod
didn't know our phones had fastboot protocol suport, or did you just make the guide in general?
fastboot...i think we dont have fastboot
sgt. meow said:
@^
this isn't the appropriate thread.
@Steriod
didn't know our phones had fastboot protocol suport, or did you just make the guide in general?
Click to expand...
Click to collapse
fotak-x said:
fastboot...i think we dont have fastboot
Click to expand...
Click to collapse
i make this for adb for X8 & Other phone as well
i know there no fastboot but maybe usable for otheer phoness

[TOOL] Android Wear APK Tools: Sideload and Uninstall Apps to Android Wear

Android Wear APK Tools:
A GUI application which allows you to install any APK straight to your watch (via adb) or uninstall any non-protected package directly. Much more convenient than doing it through the adb command line.
Screenshot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
How to use:
Download Link: HERE
Windows:
Unzip Android-Wear-APK-Tools.zip, and run Android-Wear-APK-Tools.exe
Linux:
Run the following command in terminal, and then open AndroidWearAPKTools.py
Code:
sudo apt-get install python-tk
Mac:
Install Python from here, then run AndroidWearAPKTools.py
_________________
Connect your watch to your computer, enable ADB Debugging on your phone and your watch, and make sure ADB and the drivers are set up on your computer.
Doesnt work for me.
I opened it, clicked connect to watch, then it told me that it has connected, i can see the list of all the apps that i have installed on my phone. But android wear doesnt tell me that its connected.
I tried to uninstall an app, then it gave me an error. Then i tried installing an app, and it just stayed on "installing app, please wait" for a very very long time.
So, apparently you must have ADB already on the system path or in the main directory of this application and it must be accessible with the command "adb"
I am experiencing similar errors with the app. It tells me I am connected to my watch. I can't see any apps on the list. When trying to install an app it stops on "Installing app, Please wait..."
root required?
Does this require that the Android Wear device be rooted?
Lord_Cyrix said:
I am experiencing similar errors with the app. It tells me I am connected to my watch. I can't see any apps on the list. When trying to install an app it stops on "Installing app, Please wait..."
Click to expand...
Click to collapse
same here
can we install ota lollipop from this
by regular method my samsung gear live is not responding to sideload method
doesn't seems to work on windows 10
Exception in Tkinter callback
Traceback (most recent call last):
File "Tkinter.pyc", line 1470, in __call__
File "AndroidWearAPKTools.py", line 36, in connectToWatchCallback
IndexError: list index out of range
EDIT:Fixed by allowing adb access through cmd
works for me
In samsung gear neo 2 ported to android wear, works perfect thx...
NightMean said:
doesn't seems to work on windows 10
Exception in Tkinter callback
Traceback (most recent call last):
File "Tkinter.pyc", line 1470, in __call__
File "AndroidWearAPKTools.py", line 36, in connectToWatchCallback
IndexError: list index out of range
EDIT:Fixed by allowing adb access through cmd
Click to expand...
Click to collapse
NightMean, how did you fix it? Could elaborate?
I don't know how to allow ADB access through CMD
Thanks
nagasgura said:
Android Wear APK Tools:
Much more convenient than doing it through the adb command line
Click to expand...
Click to collapse
So writing all that code was easier than "adb install" ?
clevebb said:
So writing all that code was easier than "adb install" ?
Click to expand...
Click to collapse
Not for him (except he installs and deinstalls applications from 9 to 5 )
But for the rest off the world it´s really comfortable
I installed google chrome but i cant see it in the list of apps installed and i cant uninstall it any help? this is the list http://puu.sh/pc5Ka/0e12811101.png
Thanks for creating such a simple but useful tool!
Hy guys , i've used this method to install apps but i have a problem when opening a pdf file , as you can see in the pictures , i can't select a default app for it. can somebody give me a solution ? thx a lot .
kmc99 said:
Hy guys , i've used this method to install apps but i have a problem when opening a pdf file , as you can see in the pictures , i can't select a default app for it. can somebody give me a solution ? thx a lot .
Click to expand...
Click to collapse
Try opening the PDF on your phone instead.
For me, I connect to watch alright, I see the apps list, but uninstalling takes forever.. :/
Much easier to use adb command. meh
My watch is detected by the pc but I see an empty directory ....and if I try to copy a file no way ....
Any idea ?
So the windows 10 users have no chance to enjoy this ???

[GUIDE][NO ROOT] ADB Bloatware removal Simple Guide for RedMi Note 5A.

Warning: I will not be responsible for any wrong doings that might occur with following this guide, this is my first Guide here, expect some errors. Any damage to any device that might happen by following then steps is responsiblility of particular user not mine. I recommend that you don't do anything you don't understand.
Disclaimer: I do not personally own a RedMi Note 5A device, I helped a friend to clean up some space on their device, as a part of which, I uninstalled some of the OEM apps that were not used by them.
If you use any of the apps, you should not uninstall them.
Difficultly level: Easy to medium.
Experience required: You should be familiar with ADB, Windows BatchScript (optional), Android file system.
As superuser access is not used in this process, root is not required, you can try this on Non-Rooted devices
Tested on : Redmi Note 5A, Android-8.x, MiUi v10.x
Should work on all device prior to Android 9.
Requirements: ADB installed on PC, supposedly windows. A proper USB cable, an Android Phone.
I'll assume you have already setup ADB via Android-SDK or minimalistic ADB tools, and not go into that.
1. Enable developer mode, USB debugging on phone,
2. Connect device to PC (in a USB 2.0 port, preferably).
3. start adb, "adb start-server"
4. Make sure device is available.
Now there is batch file in attachment for uninstalling and a text file with the list of apps I uninstalled. You can either replace the package name with those you want to remove or you can copy the command, make it a single line command and replace the package name directly into the prompt as I did
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Additional details are given in the attachment zip files, see below. You replace the package name with the app you want to uninstall and run the script/command in command line.
Same thing can in theory be achieved if "pm" command is readable by a third party terminal emulator apps like Termux, note that, on new devices, "/" is not readable, "/system/bin/pm" might be readable depending on ROM, thus ADB way should always work, but calling "pm" from on device apps is also possible.
Expected results: single word "success" on a new line.
If it says "device offline", restart adb with "adb kill-server" followed by "adb start-server" , if that doesn't work restart the smartphone, if that doesn't work check that USB port is v2.0( search on Google how to determine ), if that doesn't work, your cable would be faulty or some connection error.
Reserved.

Categories

Resources