Giter Site home page Giter Site logo

abootool's People

Contributors

alephsecurity avatar roeeh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

abootool's Issues

ADB Shell Error : TV display id invalid, will send event to default displayId

Hello, I get the message
Error : TV display id invalid, will send event to default displayId
when sending the command :
adb shell input swipe 245 893 846 893
This is annoying because there is a delay before the command, and I have to chain 4 swipe commands.
Any idea how to remove this ?
I'm working with adb on windows, and I've installed the latest version of platform-tools :
Android Debug Bridge version 1.0.40
Version 4986621
Thanks

Brute Force oem commands

Some OEMs like vivo modify their bootloader to use fastboot bbk with fastboot oem.
Both work for different purposes.
I'd a vivo device for which I'd to modify the fastboot.c to get "fastboot bbk" support.
Please add feature to bruteforce these kinda of tricky commands.

My device was unlocked using following commands:
fastboot bbk unlock_vivo
fastboot vivo_bsp unlock_vivo

ADB ERROR

./abootool.py -h
Traceback (most recent call last):
File "./abootool.py", line 7, in
import device
File "/Users/harry/Downloads/abootool-master/device.py", line 8, in
from adb import fastboot,common,usb_exceptions,adb_commands, sign_m2crypto
ImportError: No module named adb

What am i missing here?

not sure what is wrong???

any help will be apreciated

device.py

Have all dependencies installed. Can load a factory image with .adbtool.py -a "path/to/fw.zip"
Afterwards, using "-l" shows:
INFO: Welcome to abootool by Aleph Research, HCL technologies
INFO: BY OEM:
INFO: -------
INFO: motorola: 2
INFO:
INFO: BY DEVICE:
INFO: ----------
INFO: SHAMU: 1 harpia: 1

Now, when I run ./abootool.py alone after loading firmware, i get:

INFO: Welcome to abootool by Aleph Research, HCL technologies
INFO: fastboot connected to ZX1G22K2HQ
Traceback (most recent call last):
File "./abootool.py", line 95, in
sys.exit(main())
File "./abootool.py", line 73, in main
name = dev.device()
File "/media/kevin/Projects/LG Stuff/abootool/device.py", line 271, in device
return Config.bootloader_names[self.bootloader_name()]
File "/media/kevin/Projects/LG Stuff/abootool/device.py", line 259, in bootloader_name
p = self.product()
File "/media/kevin/Projects/LG Stuff/abootool/device.py", line 247, in product
return self.getvar("product")
File "/media/kevin/Projects/LG Stuff/abootool/device.py", line 240, in getvar
self.data[k] = self.wait_for_fb_command("Getvar", False, False, k)
File "/media/kevin/Projects/LG Stuff/abootool/device.py", line 188, in wait_for_fb_command
self.resolve_fb_error()
File "/media/kevin/Projects/LG Stuff/abootool/device.py", line 303, in resolve_fb_error
self.fb_error = self.do_fb_command("Oem", True, Config.oem_error_cmd)
File "/media/kevin/Projects/LG Stuff/abootool/device.py", line 157, in do_fb_command
getattr(self.fastboot(), func)(info_cb=self.last_output, *args, **kargs)
File "/media/kevin/Projects/LG Stuff/abootool/device.py", line 139, in fastboot
return fastboot.FastbootCommands(self.usbdev)
TypeError: init() takes exactly 1 argument (2 given)

Have looked through the code, but cannot figure out what's failling.. init in device.py??

Syntax error

Traceback (most recent call last):
File "abootool.py", line 7, in
import device
File "/home/ben/Desktop/exploitz/abootool/device.py", line 225
except FastbootRemoteFailure, e:
^
SyntaxError: invalid syntax

TypeError: __init__() takes exactly 1 argument (2 given)

Hello,

I managed to install all the dependencies and setup the environment to make it work the solution but I'm getting an error in the script after detecting the device in fastboot:

./abootool.py INFO: Welcome to abootool by Aleph Research, HCL technologies INFO: Waiting for device... INFO: fastboot connected to 1PASH9AYPU9241 Traceback (most recent call last): File "./abootool.py", line 95, in <module> sys.exit(main()) File "./abootool.py", line 73, in main name = dev.device() File "/Users/ymarquesdemello/Desktop/testingOEM/abootool/device.py", line 271, in device return Config.bootloader_names[self.bootloader_name()] File "/Users/ymarquesdemello/Desktop/testingOEM/abootool/device.py", line 259, in bootloader_name p = self.product() File "/Users/ymarquesdemello/Desktop/testingOEM/abootool/device.py", line 247, in product return self.getvar("product") File "/Users/ymarquesdemello/Desktop/testingOEM/abootool/device.py", line 240, in getvar self.data[k] = self.wait_for_fb_command("Getvar", False, False, k) File "/Users/ymarquesdemello/Desktop/testingOEM/abootool/device.py", line 188, in wait_for_fb_command self.resolve_fb_error() File "/Users/ymarquesdemello/Desktop/testingOEM/abootool/device.py", line 303, in resolve_fb_error self.fb_error = self.do_fb_command("Oem", True, Config.oem_error_cmd) File "/Users/ymarquesdemello/Desktop/testingOEM/abootool/device.py", line 157, in do_fb_command getattr(self.fastboot(), func)(info_cb=self.last_output, *args, **kargs) File "/Users/ymarquesdemello/Desktop/testingOEM/abootool/device.py", line 139, in fastboot return fastboot.FastbootCommands(self.usbdev) TypeError: __init__() takes exactly 1 argument (2 given)

I'm running Python 2.7.16.

Is anyone else experience this issue as well?

adb_commands.AdbCommands.ConnectDevice

return adb_commands.AdbCommands.ConnectDevice(self.usbdev,rsa_keys=[signer])
TypeError: unbound method ConnectDevice() must be called with AdbCommands instance as first argument (got UsbHandle instance instead)

buggy

Hey alephsecurity,

Do you plan to do anything with users claims or you really do not give it a s... ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.