Last active
July 18, 2019 07:15
-
-
Save lpcdma/b241ca7fb4d664c54515b81664033932 to your computer and use it in GitHub Desktop.
This file contains 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
abootimg -u /home/john/Desktop/boot.img -k zImage-dtb -c 'cmdline = console=ttyHSL0,115200,n8 androidboot.hardware=hammerhead user_debug=31 msm_watchdog_v2.enable=1 kgdbwait kgdboc=ttyHSL0,115200 kgdbretry=4' | |
abootimg -i twrp-3.1.0-0-plank.img | |
abootimg -x twrp-3.1.0-0-plank.img | |
sudo update-alternatives --install "/usr/bin/java" "java" \ | |
"/opt/jdk1.6.0_45/bin/java" 1 | |
sudo update-alternatives --install "/usr/bin/javac" "javac" \ | |
"/opt/jdk1.6.0_45/bin/javac" 1 | |
sudo update-alternatives --install "/usr/bin/javaws" "javaws" \ | |
"/opt/jdk1.6.0_45/bin/javaws" 1 | |
sudo update-alternatives --install "/usr/bin/jar" "jar" \ | |
"/opt/jdk1.6.0_45/bin/jar" 1 | |
sudo update-alternatives --install "/usr/bin/javah" "javah" \ | |
"/opt/jdk1.6.0_45/bin/javah" 1 | |
sudo update-alternatives --install "/usr/bin/javadoc" "javadoc" \ | |
"/opt/jdk1.6.0_45/bin/javadoc" 1 | |
sudo update-alternatives --install "/usr/bin/javap" "javap" \ | |
"/opt/jdk1.6.0_45/bin/javap" 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment