This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Place your up_param.bin.lz4 in the working directory | |
# Extract up_param.bin.lz4 to up_param.bin | |
unlz4 up_param.bin.lz4 up_param.bin | |
# make temp directory | |
mkdir param | |
cd param | |
tar xf ../up_param.bin | |
chmod 775 * | |
# make your change now | |
chmod 444 * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install the main build packages with this command: | |
sudo apt-get install bc bison build-essential ccache curl flex g++-multilib gcc-multilib git git-lfs gnupg gperf imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev liblz4-tool libncurses5 libncurses5-dev libsdl1.2-dev libssl-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev repo python2 | |
# Fix "python: command not found" on Ubuntu 22.04+, run "which python" to see the correct path | |
sudo ln -nsf /usr/bin/python2 /usr/bin/python | |
or | |
sudo ln -nsf /usr/bin/python2 /usr/local/bin/python | |
# OpenJDK 1.8 (Android 6.0+) |