[MOD][addon.d] ADB and Fastboot Host for Android - Android General

These mods install adb and fastboot binaries for ARM processors. This enables you to use an Android device as the host machine rather than a PC or laptop to run adb and fastboot commands on a connected device. Some devices like the Nexus 7 and Nexus 5 come with adb, but not fastboot. You can check for these binaries in /system/bin/. I have made separate zips in case your device already has adb. These mods also includes addon.d scripts.
{
"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"
}
What is addon.d?
On some ROMs, like Cyanogenmod, there are scripts in /system/addon.d that run during a ROM update or flash. They can backup and restore system apps (like Gapps), or perform many other functions. This mod includes an addon.d script, so the mod is not lost during a ROM update! If your ROM doesn't support addon.d, this mod should still flash properly, but you won't benefit from addon.d.
Tested and Confirmed to work on:
Nexus 5
Nexus 7
It should work on many devices. Let us know if it works!
Note:
You will need OTG support to get any benefit from this, so your device can act as host when another device is attached. Be sure to use the su command before adb or fastboot.
Install Instructions:
- Boot into recovery
- Flash Install zip
- Reboot
Downloads:
Install-ADB-1.0.zip
Install-Fastboot-1.0.zip
Changelog:
Code:
1.0 - 02/13/14
- Initial release
Credits and Thanks:
chamatht - fastboot binary
DISCLAIMER:
This mod involves editing system files. Use at your own risk! Also please don't forget, before you report ROM related bugs in the ROM developer thread, you should remove this mod to make sure the issue is not caused by this mod!

Recovery missing
Can you help me because my recovery mode is missing. It happend when i tried to flash clockwork recovery mode that isn't meant for my phone. Mine is a Karbonn A108. If I could only install fastboot then I could Flash my phone. When i try to get in fastboot it says fastboot is missing.. please help I'm in a crisis. :crying:

Is this safe to use in Lineage 17.1?
Is it installable using exposed framework?
Does it solve this problem:
I have a TV box Scishion V99 Hero. It's rescue Adb mode presumes a USB connection. I cannot find how to set tcpip access in rescue mode. Yet the box has only female USB ports. The big flat connector. So I can't connect it to a PC but only to my phone.
I want to use my phone as an Adb host when installing ROM into the Scishion box.

Related

[Tool][Windows] M8 Digital's Android App Tool - ADB and Fastboot made easy!

Hey everyone! I'm an italian computer engineering student and my friend @Valerio-M8 and I are here to present you the M8 Digital's Android App Tool : a multitool for all of your Android needs!
We wanted to design a tool that could help people who wanted to use ADB or Fastboot commands and maybe were having issues trying to work out how to use them or just wanted to speed the process up.
Our Android App Tool takes care of all of the "behind the scenes", writing and sending commands for you, with lots of features like (more to come) :
MULTI DEVICE SUPPORT
DEVICE NAME RECOGNITION
SEE WHAT'S HAPPENING, THANKS TO A TEXT AREA
{
"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"
}
LOTS OF COMMANDS! Including:
Install APKs
Uninstall APKs
Extract APKs
Push files (ADB Push)
Logcat
App data backup (ADB Backup)
Restore app data (ADB Restore)
ADB Sideload (needs to be tested)
Fastboot flash ZIP
Fastboot flash Recovery
Fastboot flash Boot
Get device info (fastboot getvar)
Get identifier token (HTC)
Flash unlock code (HTC)
...and more!
*THIS APP IS IN BETA STAGE OF DEVELOPMENT, MOST FEATURES HAVE BEEN TESTED, BUT WE CAN'T BE CONSIDERED RESPONSIBLE FOR ANY DAMAGE THAT CAN BE CAUSED TO YOUR DEVICES BY THE USE OF THE TOOL*
THIS APP REQUIRES JAVA TO BE RAN, A WEB INSTALLER HAS ALREADY BEEN INCLUDED IN THE PACKAGE.
MAKE SURE DRIVERS APPROPRIATE FOR YOUR DEVICES ARE INSTALLED OR IT WON'T WORK (SEE HERE).
EXTRACT ALL OF THE FILES FROM THE ZIP FILE AND RUN THE .JAR FILE. IT SHOULD BE EXACTLY LIKE THIS:
Please report any bug or issue you run into, feel free to post feature requests, it'll help us A LOT!
I used icons from the Oxygen Iconset (http://www.iconarchive.com/show/oxygen-icons-by-oxygen-icons.org.html)
Reserved
Good job, tool works fine.

[TOOL][WINDOWS] SkipSoft ULTIMATE Drivers & Adb/Fastboot Installer

What is This?
Yes I know there are tons of drivers Installers around but this is more..
This is a Standalone version of the drivers installer from the SkipSoft Unified Android Toolkit.
--DRIVERS--
There are a selection of driver packages you can install to suit all devices (google, cwm universal, samsung and oneplus). There is also lots of help and information on what to do if the drivers don't work properly. A test routine/checker is available which will attempt to detect the plugged in device (and reboot to fastboot mode and back on google/nexus devices) to verify the drivers are working. Tools are also included to remove unwanted drivers if a fresh start is needed.
--ADB/FASTBOOT--
The Adb/Fastboot installer (Android Debug Bridge version 1.0.36) can install System-Wide (for all Users on the PC) or for the Current User Only. This is a very simple installer and means you do not have to download the complete SDK from google. You can also easily open a command prompt to send commands to your device.
{
"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"
}
Download link: FROM SKIPSOFT
This really is the the most comprehensive driver/adb/fastboot installer available.
Changelog:
1.0.3 - Added adb/fastboot latest version check at startup and download if needed
1.0.2 - Added command prompt option to menu
1.0.1 - Fixes to adb/fastboot installer
1.0.0 - Initial release
Mark.
**RESERVED**
Hey there. Thought I might ask here.
Recently updated to 7.1.1 on my Nexus 5x and now fastboot is not working. Have spent most of the day trying everything I can find on here and installing or uninstalling drivers on both my laptop and desktop with no joy.
Tried all the options within your software but no joy. Adb works ok but fastboot just will not work.
I realise this is not an issue with the software but wondering if you may know of something else to try.
36 hours now on an unrooted phone is the first time in years
Thanks
Just in case this is some use to you with your Toolkit the workaround for the fastboot issue was sorted as shown in the post below.
http://forum.xda-developers.com/showpost.php?p=69273414&postcount=33
divvykev said:
Just in case this is some use to you with your Toolkit the workaround for the fastboot issue was sorted as shown in the post below.
http://forum.xda-developers.com/showpost.php?p=69273414&postcount=33
Click to expand...
Click to collapse
Thanks I will add the google kedacom drivers as an option in the installer.
Mark.

Unofficial twrp for Elephone u pro v3.2.1.0

{
"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"
}
WHAT IS TWRP?
Team Win Recovery Project is a custom recovery for Android devices.
It allows you to back up and restore your data, flash custom ROMs to your device, repair broken file systems, and root your device.
Notice1:
U Pro has A/B partitions. to prevent issues its good to flash it in both slot, because i/we can not know on which partition you are
Notice 2:
This version only working on Eragon roms
Maybe soon I'll manage it to work on stock rom
Notice 3: Sdcard now working
DOWNLOAD
TWRP for 20180227 Base via Qfil Flashtools:
Go here : https://drive.google.com/file/d/1650peMjuk_WTFkxlufL84aJ6cMG5-g3q/view?usp=drivesdk
TWRP for 20180423 Base and newer:
Go here: https://drive.google.com/file/d/1vzDDVRl8vKMGzybVm_FYvufHlmOygOud/view?usp=drivesdk
INSTALLATION
if you use the old 20180227 Base you have to use Qfil Flashtools , because fastboot commands dont work in that Build.
we have a good guide of how to use FLashtools already
look here: https://forum.xda-developers.com/android/development/guide-elephone-pro-user-manual-t3775895
if you are on 20180423 Base and newer you can use fastboot commands
required : ADB and fastboot
enable usb debugging in developer settings.
do this:
Code:
adb shell
Code:
reboot bootloader
now we flash it in slot a
Code:
fastboot flash boot_a twrp.img
after that we flash it also in slot b
Code:
fastboot falsh boot_b twrp.img
Special thanks to
teamwin for this awesome custom recovery
@travis82 for his advices
And @skeleton1911 for his help
smartphone does not leave twrp
Thank you in advanced if you can help me.
Has given an error on startup and I can not restart system, restarting twrp
Givanildo01 said:
Thank you in advanced if you can help me.
Has given an error on startup and I can not restart system, restarting twrp
Click to expand...
Click to collapse
Join us on Telegram group
https://t.me/joinchat/GxIBOhKXi5I6bsNWOm6LFg
And for your problem it's because you are coming from stock rom and that's for the meantime not working because of data encrypted

[TOOL][PIXEL 3 XL] TOOL ALL IN ONE (Drivers|Unlock|TWRP|Factory Image|Stock Recovery)

This is the Pixel 3 XL's TOOL ALL IN ONE Discussion Thread more info and download go to the Original Thread
TOOL ALL IN ONE
{
"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"
}
ADVANCED OPTIONS
FUNCTIONS
Install Drivers
Install Drivers
Unlock Bootloader
Lock Bootloader (use carefully)
Flash TWRP Recovery
Flash Stock Recovery
Flash Stock Factory Image
Automatic ROOT
Install APKs
Uninstall APKs
Take a Screenshot
Take a Screen Reocrd
Flash Partitions
Erase All Data (This function can decrypt the phone)
Reboot Phone
Update the Tool to latest version
Update Adb and Fastboot to latest version
Set Adb and Fastboot priviliges in system wide
Install Zip directly from PC (Required TWRP on phone)(These functions work perfectly on my pc but i have perfect adb drivers on my pc and perfect TWRP on my phone)
Flash Fastboot ROM
Delete downloaded files
ADB File Manager
DEVICE LIST
If you want you can send a request to add a new device here:
New Device Request Form
Device List
DOWNLOAD
Original Thread
DONATE LINK
If you want to support the project please consider making a donation, thanks.
​
mauronofrio said:
This is the Pixel 3 XL's TOOL ALL IN ONE Discussion Thread more info and download go to the Original Thread
TOOL ALL IN ONE
ADVANCED OPTIONS
FUNCTIONS
Install Drivers
Unlock Bootloader
Lock Bootloader (use carefully)
Flash TWRP Recovery
Flash Stock Recovery
Flash Stock Factory Image
Install APKs
Uninstall APKs
Take a Screenshot
Flash Partitions
Erase All Data (This function can decrypt the phone)
Reboot Phone
Update the Tool to latest version
Update Adb and Fastboot to latest version
Set Adb and Fastboot priviliges in system wide
Install Zip directly from PC (Required TWRP on phone)(These functions work perfectly on my pc but i have perfect adb drivers on my pc and perfect TWRP on my phone)
Flash Fastboot ROM
Delete downloaded files
ADB File Manager
DEVICE LIST
If you want you can send a request to add a new device here:
New Device Request Form
Device List
DOWNLOAD
Original Thread
DONATE LINK
If you want to support the project please consider making a donation, thanks.
​
Click to expand...
Click to collapse
Great job!
Sent from my [device_name] using XDA-Developers Legacy app

Bootloop Ulefone armor 6

Hello everyone, I have a big problem with my device, it happens that the system started to fail and after that it turned off, when I turned on it stayed in a bootloop and I can only access the fastboot, the question is that my device does not have the OEM and I never did any modifications so it doesn't have recovery either.
So far I have tried to install for fastboot the boot.img and system.img from the original firmware but I get the error "remote: not allowed in locked state" because the bootloader is locked
Any recommendation?
Reflash original Stock ROM by means of ADB Sideload method
jwoegerbauer said:
Reflash original Stock ROM by means of ADB Sideload method
Click to expand...
Click to collapse
but I can't use recovery and it doesn't have TWRP installed either.
The truth is that I am quite new to this subject but it would help me a lot if you guide me through that process.
In addition, the stock rom offered by ulefone is in .tar.gz format
Both Stock Recovery and TWRP aren't needed to perform an ADB Sideload: both mentioned recoveries internally simply make use of this method.
Code:
adb devices
adb reboot sideload
adb sideload <STOCK-ROM-ZIP-FILE>
You at any time can convert a tar.gz archive to a zip archive. GIYF ...
jwoegerbauer said:
Both Stock Recovery and TWRP aren't needed to perform an ADB Sideload: both mentioned recoveries internally simply make use of this method.
Code:
adb devices
adb reboot sideload
adb sideload <STOCK-ROM-ZIP-FILE>
You at any time can convert a tar.gz archive to a zip archive. GIYF ...
Click to expand...
Click to collapse
How about, I was trying to access with ADB, however when I put adb devices, the device does not appear, perhaps because I did not have the USB debugging before the bootloop, I was trying with different commands and nothing happens, but it does appear in the device manager. I'm sure I have the correct drivers because I tried another device with USB debugging enabled and it works fine.
Attached image
{
"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"
}
It should be obvious to you that ADB can't work as expected if USB debug option isn't got enabled on Android.
how can the bootloop be solved if only fastboot is available?
And the manufacturer flashing tool doesn't recognize the phone?
I cannot reflash the phone.

Categories

Resources