Thank you for this very much! For those of you using a Mac computer to do this, I wrote out a basic step-by-step set of instructions for what I had to do to make this work. I should preface this by stating that I have very very basic knowledge of command line and coding so I fudged my way through this. I’m sure some of these steps are needless if I had a little more knowledge of EDL and python and brew, but as it stands I had someone else try this and the instructions worked for them as well.
Steps to flash Lenovo ThinkSmart Tablet using macOS
First steps are to make sure you have developer tools, python3 and homebrew installed. If not, check which version of Xcode you need for your version of macOS and install it. Then go to python.org
, download and install the latest version of python3.
Make an alias to enable python3 to work with the standard pip command:
alias pip=pip3
I also had issues with errors stating No module named ‘setuptools’ so I had to
manually install it with this command:
python3 -m pip install --upgrade pip setuptools wheel
Still missing modules so I ended up having to install more python3 modules with the following commands:
pip install docopt
pip install passlib
pip install requests
pip install -r requirements.txt
pip install pylzma
pip install usb
Lastly install Homebrew using the following command:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Install EDL tool
Run the bkerler/edl.git installer (do not copy/paste each one of these lines all at once. Do one at a time)
brew install libusb git
(this will install the command line tools)
git clone https://github.com/bkerler/edl.git
(this will copy the bkerler/edl.git files into your ./edl folder)
cd /Users/[YourUserName]/edl
(obvious, but replace [YourUserName] with the name of your user home folder)
sudo git submodule update --init --recursive
(this will begin to clone the Loader files in to the /edl/Loaders folder - it will take time)
sudo python3 setup.py build
sudo python3 setup.py install
Next install the Android Platform Tools
brew install android-platform-tools
Download kingston-ha-rom.7z file and extract (The Unarchiver works well for this on macOS)
Follow steps 1 - 7 in mattmon’s instruction steps
NOTE: use FULL path names.
i.e:
/Users/[YourUserName]/edl/edl qfil /Users/[YourUserName]/edl/bin/rawprogram.xml /Users/[YourUserName]/edl/bin/patch0.xml /Users/[YourUserName]/edl/flash --loader=/Users/[YourUserName]/edl/bin/prog_emmc_firehose_8953_ddr.mbn
(Replace [YourUserName] with your main user name in the /Users folder)