Giter Site home page Giter Site logo

echocli's Introduction

EchoCLI

A tethered root solution for your echo dot 2nd generation. To start, run main.py


 How does this work? 

Notice

Due to software updates being pushed constantly, I cannot guarantee that this will work for your echo. If you encounter any issues, feel free to contact me, and if you find a bug pull requests are welcome.

Warning

This is a TETHERED root solution It is recommended to block amazon's OTA servers (https://d1s31zyz7dcc2d.cloudfront.net and https://d1s31zyz7dcc2d.cloudfront.prod.ota-cloudfront.net) to prevent updates from corrupting or removing root on your device. I am not responsible for any damage to your device

Features

  • Rooted ADB shell over USB or Wi-Fi
  • Record audio from device
  • Use your Echo as an indicator for Home Assistant without internet
  • Restore your device to factory configuration

Install

  • This project requires python 3.
  • I recommend using linux for running this program. Please ensure you have disabled ModemManager if you have it installed. Install requirements using pip:
pip install -r requirements.txt
  • You will also require fastboot and ADB, there is a good guide on how to install these here. After downloading these you can set the executable path in the config.json file.
  • Please ensure that the micro USB cable you use to connect your echo dot is a data cable and not a power-only variant.

Documentation

You can find how this tool works on my website.

Once you have rooted the device, a file called preloader_no_hdr.bin will be generated. To boot the device, you will need to install mtkclient, copy the file into its directory and run python mtk plstage --preloader=preloader_no_hdr.bin. Replace python with python3 depending on the python version you have installed.

Home assistant indicator

When using the home assistant indicator feature, I would recommend using a raspberry pi zero w or other small SBC to run the python flask server, and boot the device. You can use crontab to make this happen automatically on boot using mtkclient.

Bricked your echo?

Follow the guide here to use mtkclient for unbricking a rooted or partially rooted echo

Thanks

This project would not have been possible without:

  • j10hx40r - For helping me with initially rooting my device, redesigning the patching system and showing me how to use fos_flags in combination and generally pointing me in the right direction when finding resources
  • xyzz's Amonet - This is the exploit I have adapted for this device, including the bootrom exploit
  • chaosmaster - Wrote lots of useful amonet code from which I used several snippets, including for fixing my GPT

Contact me

echocli's People

Contributors

dragon863 avatar viraniac avatar

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.