Command:
$ fastboot helpOutput:
usage: fastboot [OPTION...] COMMAND...
flashing:Command:
$ fastboot helpOutput:
usage: fastboot [OPTION...] COMMAND...
flashing:| #!/bin/bash | |
| # Check if necessary commands are installed | |
| if [ -z "$(which convert)" ] || [ -z "$(which pngcrush)" ]; then | |
| echo "Please install imagemagick and pngcrush" | |
| exit 1 | |
| fi | |
| for DENSITY in xxxhdpi:1000; do | |
| DPI=$(echo $DENSITY | cut -f1 -d ':') |
To make Grub menu launch with shift key while it hidden otherwise during boot on Ubuntu,
first you should open your grub file.
sudo nano /etc/default/grub
| 1. Retrieve unpack_bootimg.py, repack_bootimg.py from https://android.googlesource.com/platform/system/tools/mkbootimg/ | |
| 2. Install pyinstaller by command `sudo pip3 install pyinstaller` | |
| 3. Compile it by `pyinstaller name_of_script.py --onefile`. | |
| By adding --onefile option we can make it as single file form instead of multiple file | |
| 4. Done! |
| sc stop “SysMain” & sc config “SysMain” start=disabled |