[GUIDE][HOW-TO] Setup your Mac for Flashing your Moto Devices - G 2014 General

INTRODUCTION:
This GUIDE contains instructions on how to setup your Mac for Flashing Firmwares and ROMS using your Mac. This guide contains downloads of the latest ADB and Fastboot (extracted from the latest Android SDK for Mac OS X) that are compatible with the Mac OS X operating system (Supports Yosemite also).
Click to expand...
Click to collapse
COMPATIBILITY:
Supports from OS X Mountain Lion to the latest OS X Yosemite (10.10)
Click to expand...
Click to collapse
FEATURES:
Fully Compatible & Ready to use, No need to use any other Terminal commands to convert the downloaded scripts.
No more ./ before commands. Just type adb <command> or fastboot <command>
Click to expand...
Click to collapse
INSTRUCTIONS:
Download the given zip file from below and extract it's contents into a folder. (Preferably create a New Folder in the Desktop.
Open the folder and Install MDM_Installer_2.1.8.dmg
After Installation of the Motorola Drivers, Reboot (Recommended).
After Reboot, Open Terminal, cd to the folder to which you extracted the adb and fastboot files.
Connect your Device (Enable USB Debugging) and try:
Code:
adb devices
You will see adb daemon starting up.
Your device serial number along with state will be displayed.
Now you are ready to use your Mac for flashing your Moto devices. Copy the files for flashing into this folder and follow the respective guides for flashing.
Click to expand...
Click to collapse
DOWNLOAD:
moto_adb_mac.zip (13 MB)
Click to expand...
Click to collapse
FAQ:
My Device is listed as offline.
Try reconnecting the device in another USB port on your Mac.
My Device is listed as Unauthorised.
Unlock your device and grant permission to enable USB Debugging on the Mac. (A notification with the Mac's RSA fingerprint will be displayed).
Click to expand...
Click to collapse
Hope this helps you guys. Keep rocking XDA!

Works on Mac OSX 10.11 also?
Thank you for providing a method for flashing the Moto g 2014 using a Mac. Before I download the files, I would like to know if they are compatible with Mac OSX v 10.11 as well?
Thanks

Hello,
I am in need of setting ADB and Fastboot on my Macbook Pro (OS: Mac El Capitan - 10.11.6). I tried to download the flip file showed under Download.
Download fails with "Google Drive -- Page Not Found" error. Please help me to get latest versions of these tools. I am stuck w/o them.
Warm Regards,
Ravi

Related

[Q] Help with finding driver for adb

Two quick questions; any help is much appreciated. As a newbie I am unable to get adb to detect my device; running 'adb devices' always yields an empty list under Windows 7. Searching different threads lead me to the recommendation to uninstall the mass storage device driver with USBdeview and then reinstall with the android usb driver (which is said to be under tools in the SDK); however, I can't find the driver file anywhere., nor is there an USB available package in the SDK. If someone could point me in the correct direction regarding how to run adb I'd be much appreciative; I have the SDK installed and the adb daemon appears to be running.
A quick second question is if I can get the device to be detected under adb, can mass storage driver and the android driver run simultaneously? Thanks again.
Duffyxy said:
Two quick questions; any help is much appreciated. As a newbie I am unable to get adb to detect my device; running 'adb devices' always yields an empty list under Windows 7. Searching different threads lead me to the recommendation to uninstall the mass storage device driver with USBdeview and then reinstall with the android usb driver (which is said to be under tools in the SDK); however, I can't find the driver file anywhere., nor is there an USB available package in the SDK. If someone could point me in the correct direction regarding how to run adb I'd be much appreciative; I have the SDK installed and the adb daemon appears to be running.
A quick second question is if I can get the device to be detected under adb, can mass storage driver and the android driver run simultaneously? Thanks again.
Click to expand...
Click to collapse
Look about 1/2 way down in the first post here:
http://forum.xda-developers.com/showthread.php?t=827209
Two quick questions; any help is much appreciated. As a newbie I am unable to get adb to detect my device; running 'adb devices' always yields an empty list under Windows 7. Searching different threads lead me to the recommendation to uninstall the mass storage device driver with USBdeview and then reinstall with the android usb driver (which is said to be under tools in the SDK); however, I can't find the driver file anywhere., nor is there an USB available package in the SDK. If someone could point me in the correct direction regarding how to run adb I'd be much appreciative; I have the SDK installed and the adb daemon appears to be running.
A quick second question is if I can get the device to be detected under adb, can mass storage driver and the android driver run simultaneously? Thanks again.
Click to expand...
Click to collapse
i downloaded "pda net " to my windows 7 64 bit pc when i was having the same usb issue, it then recognized my adb device(of course you have to uninstall the drivers that windows assigned to it first)... question 2 is yes!
Sent from my VEGAn-TAB-v1.0.0b2 using Tapatalk
You can always try Wireless ADB:
http://www.appbrain.com/app/adb-over-wifi-widget/bohlool.net.wifiadb
Wiki entry on setting up adb here: http://wiki.tegratab.com/index.php/Setting_up_ADB
aver2one said:
i downloaded "pda net " to my windows 7 64 bit pc when i was having the same usb issue, it then recognized my adb device(of course you have to uninstall the drivers that windows assigned to it first)... question 2 is yes!
Sent from my VEGAn-TAB-v1.0.0b2 using Tapatalk
Click to expand...
Click to collapse
You mentioned that you had to first uninstall the drivers that Windows assigned to it first.
Would you please share how you went about doing that? I've been stuck on this part (adb not recognizing my device) for quite a while now and can't seem to get past it.
Any help would be greatly appreciated.
Thanks much for the replies.....
Thanks. I tried each one but only the pad net worked. Regarding the second reply, there was no usb_driver folder in my Android SDK folder. I downloaded the inf file anyway but when I pointed to it during installation it gave me a 'file not found' error although it recognized the driver. PDA net worked fine. The adb wireless widget connected to my PC but the list of devices remained blank.
Thanks again for l the suggestions; perhaps as I become more knowledgeable I'll appreciate why the first and third suggestions didn't work, but I really appreciate your willingness to help.
Duffyxy said:
Thanks. I tried each one but only the pad net worked. Regarding the second reply, there was no usb_driver folder in my Android SDK folder. I downloaded the inf file anyway but when I pointed to it during installation it gave me a 'file not found' error although it recognized the driver. PDA net worked fine. The adb wireless widget connected to my PC but the list of devices remained blank.
Thanks again for l the suggestions; perhaps as I become more knowledgeable I'll appreciate why the first and third suggestions didn't work, but I really appreciate your willingness to help.
Click to expand...
Click to collapse
The reason you had no usb driver folder is because the android sdk was not fully setup. You need to run the sdk setup file in the android sdk folder first and download the rest of it. There are a bunch of different packages available. Follow the prompts.
To connect by wifi you need to use one of the adb wifi widgets on your tablet. When it is ready it should give you an address to connect to.
Then on your pc from a command line change the directory to your tools folder in the android sdk. Then type adb connect "address from adb wifi widget" and hit enter. Should then connect.
Sprdtyf350 said:
The reason you had no usb driver folder is because the android sdk was not fully setup. You need to run the sdk setup file in the android sdk folder first and download the rest of it. There are a bunch of different packages available. Follow the prompts.
To connect by wifi you need to use one of the adb wifi widgets on your tablet. When it is ready it should give you an address to connect to.
Then on your pc from a command line change the directory to your tools folder in the android sdk. Then type adb connect "address from adb wifi widget" and hit enter. Should then connect.
Click to expand...
Click to collapse
Thanks again! The wireless adb directions worked, although I should note that adb.exe is in the "platform-tools" folder and most references suggest it should be in the "tools" folder.
I thought I had installed the SDK correctly using the .exe file but, after downloading a number of packages, no USB package was available. After seeing your post I uninstalled, downloaded the zip version, ran android.bat update SDK and it again installed available packages but no USB; these included Android SDK tools, rev 8, SDK Platform tools, rev 1, documentation for SDK API 9, SDK Platform for vers 1.5 - 2.3, and several sample packages. Under 'Available packages' no USB package is listed, and there no .inf file in any of the installed directories.
Any thoughts? Could the inf file be located somewhere else?
Duffyxy said:
Thanks again! The wireless adb directions worked, although I should note that adb.exe is in the "platform-tools" folder and most references suggest it should be in the "tools" folder.
I thought I had installed the SDK correctly using the .exe file but, after downloading a number of packages, no USB package was available. After seeing your post I uninstalled, downloaded the zip version, ran android.bat update SDK and it again installed available packages but no USB; these included Android SDK tools, rev 8, SDK Platform tools, rev 1, documentation for SDK API 9, SDK Platform for vers 1.5 - 2.3, and several sample packages. Under 'Available packages' no USB package is listed, and there no .inf file in any of the installed directories.
Any thoughts? Could the inf file be located somewhere else?
Click to expand...
Click to collapse
I have seen the same thing with the locations. I just copied the files in the platform-tools folder to the tools folder. Send me a pm with your email and i will send my USB folder if you want.
Hi. I 'figured' it out (if it could be called that). rather than click on 'update all' in SDK manager, I selected Android SDK tools, then clicked 'update all' which gave me a series of archives options, one of which included the USB package. This was very non-intuitive but worked.
Thanks!
Cool.. Don't forget to use the modded info file.
Sent from my VEGAn-TAB-v1.0.0b3 using Tapatalk

Broken Fastboot/USB not Recongized

I just got the Asus tf300t and it is not rooted or anything. When I plug in the USB cable I get the USB not recongized which I know i have the right drives installed.
So I cant do fastboot or adb because of the usb not working. Just bought another cable and still the same thing. Tried on 2 other computers and no change.
Not sure if the port on tablet is bad or if its a software issue. Any advice would be appreciated
Thanks
Update:
So its not the cable. Still getting Unknown Device on 3 of my computers. All running windows 7. Tried installing the drives multiple times and it wont install them. I use this computer for all my android devices so i know i have all the drives and things installed. Not sure what to do.
Im going to order another cable and see if that changes/fixes anything.
AndroidFileHost said:
Im going to order another cable and see if that changes/fixes anything.
Click to expand...
Click to collapse
So ordered 2 new cables one from asus and one 3rd party. Still not working. Anyone have any ideas?
Odp: Broken Fastboot/USB not Recongized
You have to enable USB Debuging in Developer Settings to ADB works. Fastboot works only on unlocked bootloaders.
Hazard17 said:
You have to enable USB Debuging in Developer Settings to ADB works. Fastboot works only on unlocked bootloaders.
Click to expand...
Click to collapse
it is enabled and unlocked. USB wont work even when the tablet is booted up.
Odp: Broken Fastboot/USB not Recongized
Have you installed Android SDK and Java JDK on Your PC? Does your PC recognize tablet as USB Mass Storage? Can you transfer files?
AndroidFileHost said:
it is enabled and unlocked. USB wont work even when the tablet is booted up.
Click to expand...
Click to collapse
Yes I have the Android SDK and java SDK. All my computers have it installed, I do all my unlocking and rooting of phones on them. No the PC does not even recognize the tablet as a USB mass storage. Thats the bad part
I have tried going into device manager and tell it where to find the drivers but it wont work like it has in the past. Does it on all my computers so something must be wrong with the device. Just not sure what. really sucks.
Also it shows up as unknown device so thats a bit different then other android devices that needed drivers installed manually
AndroidFileHost said:
Yes I have the Android SDK and java SDK. All my computers have it installed, I do all my unlocking and rooting of phones on them. No the PC does not even recognize the tablet as a USB mass storage. Thats the bad part
I have tried going into device manager and tell it where to find the drivers but it wont work like it has in the past. Does it on all my computers so something must be wrong with the device. Just not sure what. really sucks.
Also it shows up as unknown device so thats a bit different then other android devices that needed drivers installed manually
Click to expand...
Click to collapse
If you need just fastboot, use this guide, that you will find in the index for tf300 (General & Dev forums)
HELP FOR FLASH MORE FASTER WHEN YOU USE FASTBOOT LINE COMMAND​
If you have got a problem with your adb or fastboot or recovery....it's very simply and faster
use this:
Download this file "fastboot.zip"
Install this file somewhere in one folder which is named "fastboot" on your PC
=> disk C: root
Unzipped this file on the folder "fastboot" and you will find 3 files:
- adb.exe
- AdbWinApi.dll
- fastboot.exe
and when you need to push something by the bootloader, you can use it.
Don't forget to push on this folder the file that you need. For exemple: boot.img or a recovery.img, etc...
The line command is :
Code:
c:\fastboot>
Enter
Code:
c:\fastboot>fastboot flash recovery recovery.img
Enter
If you want to flash the "recovery.img" file
******************************************************************
******************************************************************
If you want to know all lines of command
Code:
c:\fastboot>fastboot
Code:
usage: fastboot [ ]
commands:
update reflash device from update.zip
flashall flash boot + recovery + system
flash [ ] write a file to a flash partition
erase erase a flash partition
getvar display a bootloader variable
boot [ ] download and boot kernel
flash:raw boot [ ] create bootimage and flash it
devices list all connected devices
continue continue with autoboot
reboot reboot device normally
reboot-bootloader reboot device into bootloader
help show this help message
options:
-w erase userdata and cache
-s specify device serial number
-p specify product name
-c override kernel commandline
-i specify a custom USB vendor id
-b specify a custom kernel base address
-n specify the nand page size. default: 2048
And if you have some problems with your drivers, you can use this : How to install Universal Naked Drivers
philos64 said:
If you need just fastboot, use this guide, that you will find in the index for tf300 (General & Dev forums)
HELP FOR FLASH MORE FASTER WHEN YOU USE FASTBOOT LINE COMMAND​
If you have got a problem with your adb or fastboot or recovery....it's very simply and faster
use this:
Download this file "fastboot.zip"
Install this file somewhere in one folder which is named "fastboot" on your PC
=> disk C: root
Unzipped this file on the folder "fastboot" and you will find 3 files:
- adb.exe
- AdbWinApi.dll
- fastboot.exe
[/CODE]
Click to expand...
Click to collapse
Ya none of it works. Turned out to be a hardware /port issue. Prob some of the pins/fins broken inside so it wasnt connecting fully. Thats why i kept giving me issues connecting to the computer.
AndroidFileHost said:
Ya none of it works. Turned out to be a hardware /port issue. Prob some of the pins/fins broken inside so it wasnt connecting fully. Thats why i kept giving me issues connecting to the computer.
Click to expand...
Click to collapse
Ok, so you return your TF to Asus ?

XiaomiTool [WIN] [UNIX]

Xiaomi Tool
XiaomiTool is an OpenSource project that has the goal to create a safe, fast and noob-friendly interface to manage your Xiaomi Device.
Click to expand...
Click to collapse
Supported Device status
MTK devices aren't / won't be supported
Xiaomi Mi1(puls) : Not supported
Xiaomi Mi2(s) : Fully supported
Xiaomi Mi2A : Support coming soon
Xiaomi Mi3W : Fully supported
Xiaomi Mi4W : Fully supported
Xiaomi Red Rice : Not supported
Xiaomi RedMi 1S : Fully supported
Xiaomi RedMi Note W : Not supported
Xiaomi RedMi Note LTE : May be supported
Xiaomi MiPad : May be supported
Click to expand...
Click to collapse
Features
GUI (linux and windows)
Backup & Restore
Import Photos
Root
Install apps
Adb Shell
Push and Pull files
Switch to Dalvik
Switch to ART
Record Screen
Install a custom Recovery
Wipe data
Flash Zip files
Install custom recovery
Click to expand...
Click to collapse
Requirements
Windows: Adb and Fastboot (placed on %PATH%)
Unix / Linux: Adb and Fastboot, need to execute some commands with SUDO, so an user-password is needed, do not execute as root
Click to expand...
Click to collapse
Downloads
Windows: https://github.com/linuxxxxx/XiaomiTool/blob/releases/windows/windows.zip
Linux: https://github.com/linuxxxxx/XiaomiTool/blob/releases/linux/linux.zip?raw=true
Unix: https://github.com/linuxxxxx/XiaomiTool/blob/releases/unix/unix.zip?raw=true
Click to expand...
Click to collapse
Installation
Windows
Download the Zip file
Extract the folder
Make sure ADB and Fastboot are working well on your device and they're both on a %PATH% (C:WindowsSystem32 for example) folder
Run XiaomiTool.exe and enjoy
Click to expand...
Click to collapse
Linux
Download the zip file
Extract everything in a folder
chmod +x XiaomiTool or run sh XiaomiTool (The one on the main dir)
Insert your password when asked (see here why it's needed)
Click to expand...
Click to collapse
Unix
Download the zip file
Extract the folder
chmod +x Start.sh
Execute Start ( ./Start.sh )
>> If something goes wrong make sure you can execute adb and fastboot without root access, if not run sudo ./Start
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Which one should I choose?
> Windows : it works on all windows-powered Pcs and on Wine, it only needs adb and fastboot
> Linux : if you're running a debian-based distro
> Unix : (mac) os X, *bsd and it may also be good on other linux distros where the linux one does not work (well)
Click to expand...
Click to collapse
Links
Issue Tracker: https://github.com/linuxxxxx/XiaomiTool/issues
Click to expand...
Click to collapse
XDA:DevDB Information
XiaomiTool, Tool/Utility for the Xiaomi Mi 3
Contributors
linuxxxx
Version Information
Status: Beta
Created 2014-08-13
Last Updated 2014-09-08
Managed to get the tool working in Mac but the menu does not have the option to 'Repartition'. Is that right?
Hi Linuxxxx
Could you please tell me where can I download ADB and Fastboot from?
Cheers
I have a problem, I installed minimal ADB and fastboot in C:\Program Files (x86)\minimal ADB and Fastboot, they are working.
I downloaded the XiaomiTool for windows, extracted it in download folder, I can launch it but when I try to flash a recovery it tells me that ADB and Fastboot are not recognized as internal or exteral command.
Should I put XiaomiTool in the ADB folder? How to boot in fastboot mod (power +vol up or power + vol down bring me to CWM)? Should I boot in fastboot mod to use XiaomiTool?
Riichard63 said:
I have a problem, I installed minimal ADB and fastboot in C:\Program Files (x86)\minimal ADB and Fastboot, they are working.
I downloaded the XiaomiTool for windows, extracted it in download folder, I can launch it but when I try to flash a recovery it tells me that ADB and Fastboot are not recognized as internal or exteral command.
Should I put XiaomiTool in the ADB folder? How to boot in fastboot mod (power +vol up or power + vol down bring me to CWM)? Should I boot in fastboot mod to use XiaomiTool?
Click to expand...
Click to collapse
As I said you need adb and fb in a %path% directory. U can copy adb.exe adb_*.DLL and fastboot.exw from their original folder to c\windows\system32
Sent from my mi²s
Linuxxxx, I got ADB to work. It found my phone. But your tool still doesnt list anything when I press device info button.
Hi

[TOOL]Latest ADB and Fastboot for Win, Linux, Mac

Updated ADB and Fastboot from Androiod SDK (Pkg.Revision=24.0) dd 11/07/2016
ADB - version 1.0.36
Revision fd9e4d07b0f5-android​
Download: fastboot_adb(1.0.36)_110716_r24.0.rar
The last SDK Platform-Tools for Win, Linux and Mac you can always find here - https://developer.android.com/studio/releases/platform-tools
Arhive:
ADB and Fastboot from Androiod SDK (Pkg.Revision=21, 16 Oct 2014)
*Updated ADB to version 1.0.32
*Updated Fastboot to latest version
Download:
fastboot_adb(1.0.32)_071114_r21.rar
sorry for being a noob and asking for another device in a different forum,
but will these adb drivers also work with nexus 4???
need them to sideload 5.0.1
IS this for android 5.0 GPE?
http://forum.xda-developers.com/htc-one/general/guide-windows-8-1-fastboot-adb-t2970692
i have anaged to get it working after expereincing the problems stated here by others ... follow my steps here for those who still have trouble
lewonsky said:
IS this for android 5.0 GPE?
Click to expand...
Click to collapse
Yes, this for all version. It' latest update from official Android SDK Platforms.
See link in OP.
Golv said:
ADB and Fastboot from Androiod SDK (Pkg.Revision=21, 16 Oct 2014)
*Updated ADB to version 1.0.32
*Updated Fastboot to latest version
Download:
fastboot_adb(1.0.32)_071114_r21.rar
Click to expand...
Click to collapse
I think you forgot to mention that this is only for Windows. So it does not work for Linux or Mac.
Quick, fast, no frills, just the necessary files itself. Hopefully this thread gets updated whenever a new release comes up
thanks, nice share bro :good:
how to use those files
I thank you for the files but... how are we supposed to use them. I ask since I'm new to adb. And need this vision of adb to sideload to my fire hd6
[email protected] said:
I thank you for the files but... how are we supposed to use them. I ask since I'm new to adb. And need this vision of adb to sideload to my fire hd6
Click to expand...
Click to collapse
open a command window and change directory to the folder where adb.exe is installed. Then you can use adb commands. Commands syntax is as follow:
Code:
adb [target] <command>
You only need to specify the [target] if you have more than 1 android device or emulator connected simultaneously, otherwise the command will be directed to the only connected device, so the syntax will be:
Code:
adb <command>
So if you want to sideload a rom to your device, boot in your custom recovery and start the "sideload" mode.
In the command window:
Code:
adb sideload my_rom.zip
Don't forget that the rom.zip must be in the same folder where adb.exe is
If you want to use "adb push" instead of "adb sideload" then boot in custom recovery (not in sideload mode) and use the following command:
Code:
adb push my_rom.zip /sdcard
You can read more about adb commands here: http://developer.android.com/tools/help/adb.html#issuingcommands
adb sideload explained here: http://android-revolution-hd.blogspot.in/2013/12/ow-to-use-adb-sideload.html
If you have more question about what file to sideload or push a rom to your device, you should ask in the correct forum, Amazon Fire HD 6 forum is here: http://forum.xda-developers.com/fire-hd
thank u
save my day
How do you install the new adb 1.0.32 over the old version and will it work with the moto X 2014?
its dosnt work for me
and i need it ((
every phone i want use sideload , its say me , use adb 1.0.32 or newer
and when i want use adb 1.0.32 , show me this error in all adb commands :
adb server is out of date. killing...
ADB server didn't ACK
* failed to start daemon *
error: unknown host service
what should i do ?
update adb
[email protected] said:
I thank you for the files but... how are we supposed to use them. I ask since I'm new to adb. And need this vision of adb to sideload to my fire hd6
Click to expand...
Click to collapse
go to this website: https://fl1.androidfilehost.com/dl/...803384/minimal_adb_fastboot_v1.3.1_setup.exe?
download and install it to your computer, then try to sideload it through there.
if that doesn't work just download the stand alone SDK from the android studio website and after its downloaded, open the .rar file and extract it to a new folder to your desktop. after that open it and search for a folder that says platform tools and look for the ADB .exe file and copy it, then go to your C drive and go to programs and try to find the android studio folder, when you have located it open it and look for a folder named platform tools, then delete the adb.exe in that folder and paste the new one in there or you can probably just copy the whole platform tools folder and replace the other one in the C drive.
I hope this helps, if it doesnt just message me and im sorry for the late reply.
alishadlou said:
* failed to start daemon *
error: unknown host service
what should i do ?
Click to expand...
Click to collapse
this usually means the phone is not communicating with your PC.
- either your phone is corrupt
- the connection is corrupt
- or the cable is bad
Tip: add the path of ADB.exe to your system Environment Variables, so you can call it w/out first navigating to it.
- Right click Computer > Properties > Advanced system settings
- Environment Variables ... > edit "Path" by adding the path to ADB.exe.
ie.
Windows 10 x64, i simply add: D:\PortableApps\ADB
for other Windows, you may have to add to the end of "Path", click edit > scroll to the end > add ;D:\PortableApps\ADB;
(don't forget to add the semicolon at the end)
Now you can simply launch Command Prompt and enter: ADB sideload *file*
Updated ADB and Fastboot from Androiod SDK (Pkg.Revision=24.0) dd 11/07/2016
ADB - version 1.0.36
Revision fd9e4d07b0f5-android​
Download: fastboot_adb(1.0.36)_110716_r24.0.rar
Not working on Android 6.0
This and older versions will not work on Samsung S7E for system backup and restore.
It accepts the commands, but the confirmation popup supposed to open on the device never does. For a few 6.0 users on other devices, it opened up but the backups were not really completed.
thanks bro. nice share :good:
Thanks, you save me too much time!!
my adb was working fine for my Note 4. I followed the instructions to upgrade bootloader
https://forum.xda-developers.com/no...t/howto-bootloader-unlock-upgrade-to-t3398144
Now, I keep getting device offline when used adb devices command. Do you think, upgrading ADB will solve this? thank you

[Win, Mac, Linx] Simple-ADB

This is simply ADB/Fastboot, with a Graphical User Interface.
Click to expand...
Click to collapse
HOW-TO
• Installation
make sure you have java installed on your PC
• first you have to install adb system-wide:
[windows] : try ADB Installer tool.
[Linux] : adb support comes with most Linux distributions.
• then run Simple-ADB.jar and that's it!
[Windows shortcut]
[Linux shortcut]
Click to expand...
Click to collapse
• Usage
• select from "ADB", "Fastboot" or "Your command" modes:
- if "ADB" is selected the dropdown will contain lots of adb commands :
adb devices -l
adb connect <host>
adb disconnect
adb usb
adb logcat
adb install
adb uninstall
adb push
adb pull
adb kill-all
adb shell top
adb shell free
adb shell ps,
adb shell netstat,
adb shell pm list packages,
busybox df -h
rm /data/system/gesture.key
adb reboot
adb reboot recovery
adb reboot download
adb reboot bootloader
adb reboot fastboot
adb reboot sideload
adb help
adb kill-server
- if "Fastboot" is selected the dropdown will contain lots of Fastboot commands :
fastboot devices -l
fastboot reboot-bootloader
fastboot erase system
fastboot erase data
fastboot erase cache
fastboot flash
fastboot flash recovery
fastboot flash boot
fastboot flash system
fastboot flash data
fastboot flash cache
fastboot flash userdata
fastboot flash bootloader
fastboot flash radio
fastboot help
- if "Your command" is selected the dropdown will be disabled , and you can write your own command.
• You can Save output from the Options menu or simply press Ctrl+S.
Click to expand...
Click to collapse
COMPATIBILITY
• Windows
• Linux (Thanks a lot for @topnomi for testing and confirming Linux support, follow his Instructions for linux).
• Mac OS (read this post for details)
TO-DO/FIX
• fix memory leak because of large output to the JTextArea [(e.g during adb logcat).
• support for Mac (I really don't know why it's not working there, contributions are always welcome!)
Code:
*** Disclaimer
there are some commands I've never tested (like password command),
please use the tool at your own risk.
If you want to support the development of this program, feel free to donate.
Click to expand...
Click to collapse
XDA:DevDB Information
S-ADB, Tool/Utility for all devices (see above for details)
Contributors
mhashim6
Source Code:
GitHub
Source-Forge
This tool is based on System Command Executor Library
Version Information
Status: Stable
Current Stable Version: update6
Stable Release Date: 2018-02-03
Created 2016-07-12
Last Updated 2020-06-15
XDA:DevDB Information
S-ADB, Tool/Utility for all devices (see above for details)
Contributors
Mohamed Hashem
Source Code: https://github.com/mhashim6/Simple-ADB
Version Information
Status: Stable
Current Stable Version: update6
Stable Release Date: 2018-02-03
Created 2016-07-12
Last Updated 2020-06-14
CHANGELOG
update6 [stable] [16/09/2017]
Code:
• fixed the memory leak that occurred when a command with a large output is being executed, finally!
• support for using quotes in commands.
• fixed a bug in adb push command.
• updated with latest version of System Command Executor library.
.
update5 [stable] [16/09/2017]
Code:
• fixed the memory leak that occurred when a command with a large output is being executed, finally!
• fixed a freeze in some special cases.
• fixed the weird layout issue on linux.
• replaced the "output contains errors" prompt with a more informative text, including the exit code.
• update to the last version of System-Command-Executer library.
• updated donate url.
• overall performance improvements
• reduced jar size to 44 kbs
.
update4 [stable] [07/05/2017]
Code:
•I quote google: "several bug fixes, and speedy improvements".
•fixed a bug in adb pull command.
•errors are highlighted in red.
•added:
adb shell ip,
adb shell ps,
adb shell netstat,
adb shell pm list packages,
adb usb
version 5.6 [stable] [31/07/2016]
Code:
•Stability, stability, stability, all possible weak spots are fixed, with lots of enhancements , this program is now stable (Hopefully)
•Saving output now is through File dialog
•Shortcuts added for options menu items
•lots of fixes to "your own command" mode + (you can execute by hitting enter)
Version 5.5 [27/07/2016]
Code:
now it's open-source; check the op.
in supported commands:
•added:
adb connect [to connect the phone wirelessly]
adb disconnect
adb root
adb unroot
adb reboot sideload
fastboot reboot-bootloader
•renamed:
adb > adb help
fastboot > fastboot help
in UI :
•enhanced all UI colors.
Version 5.2 [21/07/2106] :
Code:
in compatiblity with Linux and Mac :
•Confirmed for Linux
need a confirmation from you for OsX.
in UI :
•new icon
•the whole UI (including file explorer and information panels) now is totally revamped to Windows Look and feel, now You can say it's beautiful.
•now every mode (adb, fastboot, your own command) has it's output color.
in Errors and Exception:
•now all exceptions are more detailed, to guide you and me to the problem.
in supported commands
•renamed all commands in the list to what they really are to avoid confusion and complexity.
•added :
adb
adb kill-server
fastboot
•changed :
adb devices to adb devices -l
fastboot devices to fastboot devices -l
•removed :
unlock password 2nd method to avoid confusion and complexity.
in output :
•you can save the output using "save output" in "options" menu.
•fixed some output issues.
in code :
•I've changed some algorithms > hmmm, the app size now is 30 kbs lol.
900 downloads
Version 5.0 [initial release] [12/07/2016] :
Code:
the tool now is much more stable and smart, renamed to SADB [Simple ADB]
in how the tool is working:
as I said I've rewrittten the whole code:
•now we have an output area, no files or any leftover data files at all, it's just the tool
•now the tool is executing the commands in really different and cleaner/faster way
•added the Abort button, to abort currently running operations
•added "Your own command" mode [experimental]
•the tool size is 27 kbs
in Errors and Exception:
•all exceptions and errors are caught and handled i believe
•the tool now can determine whatever the output is an error or not
in UI :
•now you can choose from adb, fastboot by radio buttons, instead of this large comboBox
•removed most of the annoying dialog panes
•the overall UI is certainly better and smoother
2800 downloads
Code:
In the future, I might make other changes and fixes,
but they may not be that big to include in separate updates,
so, if you're interested in the latest releases,
feel free to compile the code yourself.
In Debian, there are "android tools" packages and adb and fastboot are simply there. Otherwise, the executable may come with any of Android API packages.
So this runs on Linux. Install adb does nothing. Own command has no command input to use. Need a on-phone file-browser for file to pull. Need option to save logcat to a file. Small things.
I run adb CLI without much ado.
Dovidhalevi said:
In Debian, there are "android tools" packages and adb is simply there. Otherwise, the executable may come with any of Android API packages.
Click to expand...
Click to collapse
Thanks for the help, I'll check.
Edit: own command, intended to allow users to write their command in the same red area, But I'll check, and yes save logcat into file is coming.
Mohamed Hashem said:
ANNOUNCEMENT:
one year & half ago I've created this tool, the main idea was not new, it has been implemented so many times, but I believe that majority of implementations has just covered the most basic and direct commands of ADB/Fastboot,
So, this revive shall FIX WHATEVER PROBLEM YOU FACED WITH THE OLD TOOL. make sure to check the changelog [2nd post].
INSTALLATION :
(make sure you have java installed on your PC)
• first you have to install ADB Installer tool, it will install ADB to your System directly, so no need for any additional files (make sure to give @Snoop05 a Thanks :good .
• then run Simple ADB.jar and that's it!
GUIDE :
• select from "ADB", "Fastboot" or "Your own command" buttons :
- if "ADB" is selected the combobox will contain lots of adb commands :
Check if Device connected properly (adb devices).
Android Logcat.
Install a specific APK file(Android Application).
Uninstall apk <package> .
pull a file from your Android Device to your PC.
push a file from your PC to your Android Device.
View tasks running in your Android device.
Check your Android Device Memory usage.
Check your Android Device storage usage.
Kill all background processes.
Normal Reboot.
Reboot to recovery mode
Reboot to download mode (for Samsung Devices).
Reboot to bootloader mode.
Unlock Patterns/passwords [first method]
Unlock Patterns/passwords [formatting phone method]
- if "Fastboot" is selected the combobox will contain lots of Fastboot commands :
Reboot to Fastboot mode.
Flash Update.zip.
Flash recovery.img.
Flash boot.img.
Wipe (System,data & cache) before restoring nandroid backup.
Flash system.img.
Flash data.img.
Flash cache.img.
- if "Your own command" is selected the combobox will be disabled , and you can write your (still one line) command in the red area.
• Hit Activate to (well, activate the command :cyclops: ).
• Hit Abort to stop the currently running operation ( please think twice before aborting a command).
• You have the Options menu that contains :
-Donate : to support my development and studying (first year college :cyclops: )
- Main thread : to visit this thread.
- ADB Installer : to visit ADB Installer thread.
- Reset : to set the frame as you first opened it.
COMPATIBILITY:
windows (till now)
•the first issue preventing it from being compatible with other OS's is that the way java is executing commands, it's tricky to keep the same simple functionality with the mass compatibility, so i'm still working on that.
•also in other OS's you need to install adb system-wide, and i didn't find any adb-installer-like tool for Linux or Mac os.
I hope i'll get help from the community
Code:
*** Disclaimer
there are some commands I've never tested (like password commands),
because I don't have a spare phone to test on, please use the tool at your own risk.
! note: if you want to support the development of this program, it would be appreciated to click
under my avatar, and Click
:good:
XDA:DevDB Information
SADB, Tool/Utility for all devices (see above for details)
Contributors
Mohamed Hashem
Version Information
Status: Beta
Current Beta Version: 5.0
Beta Release Date: 2016-07-13
Created 2016-07-12
Last Updated 2016-07-12
Click to expand...
Click to collapse
This seems like a really nice tool to users new to ADB, nice work man!
FYI, there is an Ubuntu package called android-tools-adb that includes ADB & Fastboot.
It also appears to be in Debian repositories, so it likely works with all Debian derivatives.
I'd be happy to help test your linux based tool if/when you get to that point.
I'm no programmer, but i've been running all linux at home for a couple years, so I might have some good ideas :highfive:
topnomi said:
FYI, there is an Ubuntu package called android-tools-adb that includes ADB & Fastboot.
It also appears to be in Debian repositories, so it likely works with all Debian derivatives.
I'd be happy to help test your linux based tool if/when you get to that point.
I'm no programmer, but i've been running all linux at home for a couple years, so I might have some good ideas :highfive:
Click to expand...
Click to collapse
thanks, that would be great help for sure.
Just ran it in Ubuntu 14.04 with:
Code:
java -jar Simple_ADB.jar
Please change "adb devices" to "adb devices -l" (lowercase L). Longer output with board name.
ranf said:
Just ran it in Ubuntu 14.04 with:
Code:
java -jar Simple_ADB.jar
Please change "adb devices" to "adb devices -l" (lowercase L).
Click to expand...
Click to collapse
Does everything work fine? Thanks for testing!
I only tried adb devices and logcat so far. -l is just a feature request.
More features I miss
Code:
fastboot devices -l
fastboot reboot
ranf said:
Just ran it in Ubuntu 14.04 with:
Code:
java -jar Simple_ADB.jar
ranf said:
I only tried ad devices and logcat so far. -l is just a feature request.
Click to expand...
Click to collapse
@ranf fastboot reboot does exists: reboot to fastboot mode
Thanks, I'll change it, and thanks for testing, feel free to test other commands
topnomi said:
FYI, there is an Ubuntu package called android-tools-adb that includes ADB & Fastboot.
It also appears to be in Debian repositories, so it likely works with all Debian derivatives.
I'd be happy to help test your linux based tool if/when you get to that point.
I'm no programmer, but i've been running all linux at home for a couple years, so I might have some good ideas :highfive:
Click to expand...
Click to collapse
What about starting now, it would be helpful if you tested it now, it seems working, although I don't really know (why) lol
Click to expand...
Click to collapse
Mohamed Hashem said:
@ranf fastboot reboot does exists: reboot to fastboot mode
Click to expand...
Click to collapse
fastboot knows 2 reboots:
- reboot reboot device normally
- reboot-bootloader reboot device into bootloader
ranf said:
fastboot knows 2 reboots:
- reboot reboot device normally
- reboot-bootloader reboot device into bootloader
Click to expand...
Click to collapse
Oh I see, it's found under adb commands as reboot to bootloader, maybe I'll move it to fastboot to avoid confusion.
Great! I love it.
Will you add more commands?
Newyork! said:
Great! I love it.
Will you add more commands?
Click to expand...
Click to collapse
I'm open for suggestions
Also, that's why I've implemented "Your own command" option.
@Mohamed Hashem i belive i can tweak the UI to get close to the window's metro ui which is attractive, stunning and simple if you make it's source open. It's already a good program. And with some furnishings on the UI, it can be the de facto adb for a few years. What say?
iamsubhranil said:
@Mohamed Hashem i belive i can tweak the UI to get close to the window's metro ui which is attractive, stunning and simple if you make it's source open. It's already a good program. And with some furnishings on the UI, it can be the de facto adb for a few years. What say?
Click to expand...
Click to collapse
well, after seeing the initial poll answers, I think I'm taking the Open-source option seriously so whenever I publish it, You're free to do so
Also, I'm about to take a look at JavaFx to polish the ui, thus, We will have multiple good user interfaces, and this is definitely always better
Mohamed Hashem said:
well, after seeing the initial poll answers, I think I'm taking the Open-source option seriously so whenever I publish it, You're free to do so
Also, I'm about to learn javaFx to polish the ui, thus, We will have multiple good user interfaces, and this is definitely always better
Click to expand...
Click to collapse
I know about JavaFX and CSS stuff quite well from my self learning of 1 and a half years. I have some good metro like stylesheets ready to go with built in accent and base theme changing support. I look forward to the aforementioned happening.
Dovidhalevi said:
...
So this runs on Linux. Install adb does nothing. Own command has no command input to use. Need a on-phone file-browser for file to pull. Need option to save logcat to a file. Small things..
Click to expand...
Click to collapse
I indeed ran it under linux, usual java -jar ....was able to exercise adb commands as I describe.
Will always get io-exceptions when hitting abort.
Other exceptions may be due to the Process.start()
Mohamed Hashem said:
Till now I've been using java's regular Process.start() method, It's for Windows only,
Thanks for the help, I'll check.
Edit: own command, intended to allow users to write their command in the same red area, But I'll check, and yes save logcat into file is coming.
Click to expand...
Click to collapse
Great!
topnomi said:
FYI, there is an Ubuntu package called android-tools-adb that includes ADB & Fastboot.
It also appears to be in Debian repositories, so it likely works with all Debian derivatives.
I'd be happy to help test your linux based tool if/when you get to that point.
I'm no programmer, but i've been running all linux at home for a couple years, so I might have some good ideas :highfive:
Click to expand...
Click to collapse
You can run it right now as described!
Dovidhalevi said:
I indeed ran it under linux, usual java -jar ....was able to exercise adb commands as I describe.
Will always get io-exceptions when hitting abort.
Other exceptions may be due to the Process.start()
Actually I think that IOExeption comes from start()
did you face other exceptions?
Besides Abort, does executing commands actually work?
You can run it right now as described!
Click to expand...
Click to collapse
The described solves the second problem (adb installation) but the second problem still needs testing\investigation
Thanks for testing and information

Categories

Resources