- Download the fastboot ROM suitable for your device from the MIUI site and extract the downloaded archive [edit: MIUI page is dead. Use Xiaomi Firmware Updater]
- Download and extract the Android SDK Platform Tools
- Make sure
adbandfastboot(components of platform-tools) are in your
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
| Original thread: https://dev.solus-project.com/T163 | |
| Original github gist by Logic-gates: https://gist.github.com/Logic-gate/b7c3dd955288228e7219eeb46456e7de | |
| Clone it -- https://github.com/meganz/MEGAsync | |
| > git clone https://github.com/meganz/MEGAsync.git | |
| > cd MEGAsync | |
| > git submodule update --init --recursive | |
| Get crypto++ | I think it's already in the repo (cryptopp-devel) if not: |
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
| name=jdk1.8.0_131 | |
| alias=oracle-jdk1.8 | |
| priority=180 | |
| section=main | |
| hl rmid /usr/lib/jvm/jdk1.8.0_131/jre/bin/rmid | |
| hl java /usr/lib/jvm/jdk1.8.0_131/jre/bin/java | |
| hl keytool /usr/lib/jvm/jdk1.8.0_131/jre/bin/keytool | |
| hl pack200 /usr/lib/jvm/jdk1.8.0_131/jre/bin/pack200 | |
| hl rmiregistry /usr/lib/jvm/jdk1.8.0_131/jre/bin/rmiregistry |
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
| sudo update-alternatives --install /usr/bin/appletviewer appletviewer /usr/lib/jvm/jdk1.8.0_131/bin/appletviewer 180 | |
| sudo update-alternatives --install /usr/bin/extcheck extcheck /usr/lib/jvm/jdk1.8.0_131/bin/extcheck 180 | |
| sudo update-alternatives --install /usr/bin/idlj idlj /usr/lib/jvm/jdk1.8.0_131/bin/idlj 180 | |
| sudo update-alternatives --install /usr/bin/jar jar /usr/lib/jvm/jdk1.8.0_131/bin/jar 180 | |
| sudo update-alternatives --install /usr/bin/jarsigner jarsigner /usr/lib/jvm/jdk1.8.0_131/bin/jarsigner 180 | |
| sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.8.0_131/jre/bin/java 180 | |
| sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.8.0_131/bin/javac 180 | |
| sudo update-alternatives --install /usr/bin/javadoc javadoc /usr/lib/jvm/jdk1.8.0_131/bin/javadoc 180 | |
| sudo update-alternatives --install /usr/bin/javafxpackager javafxpackager /usr/lib/jvm/jdk1.8.0_131/bin/javafxpackager 180 | |
| sudo update-alternatives --install /usr/bin/javah javah /usr/lib/jvm/jdk1.8.0_131/bin/javah 1 |