This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
howto:crystalsky [2017/12/08 09:10] opcode Updated dl link of flashfire |
howto:crystalsky [2020/03/26 12:42] (current) cantrepeat [Crystal Sky Rooting] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
+ | Opcode, Hostile and Lord's Working Root | ||
- | MAVProxyUser found a way to sideload and install apk´s on the CrystalSky. | + | https:// |
- | This works through the DirtyCow exploit. It temporary patches the installd, which was modded by DJI to prevent installation of apks through adb (Android Debug Bridge). | + | |
- | You need to have adb installed | + | This has been tested on an CrystalSky 7.85 and 5.5, System Versions |
+ | * v02.02.09.00 | ||
+ | * v02.04.02.00 | ||
+ | * v-2.05.00.00 (09/ | ||
+ | * V02.06.03.00 (12/ | ||
+ | * v02.06.06.00 (12/ | ||
+ | * v03.00.02.00 (12/ | ||
- | https:// | + | __**WARNING**__ If you install firmware v3.0.2.0 you will not be able to install firechain and thus will NOT be able to install the google play store. |
- | This has been tested on an CrystalSky 7.85, System Version 02.02.08.01 and 02.02.09.00 | + | Rooting v3.0.2.0 is still possible! Source https:// |
+ | The only thing I noticed is that adb drivers on Windows are now not compatible | ||
+ | with v3.0.2.0, because the new image reports a different USB VID/PID codes. | ||
+ | So on Win7/Win10 you won't see attached devices on the USB adb bridge. | ||
+ | Use a Linux virtual machine for that (Virtualbox) and the problem is sovled. | ||
- | ====== Rooting ====== | ||
- | Since CrystalSky FW 02.04.02.00 you are able to install up to 20 apk´s. | ||
- | However, if the apk is in need of the Play Store you still need to root your | ||
- | CrystalSky to be able to flash the Play Store with chainfire. | ||
- | Check this Git Repo for rooting your CrystalSky: | + | {{:howto: |
- | https:// | ||
- | This has been tested on an CrystalSky 7.85, System Version 02.02.09.00 and 02.04.02.00 | ||
- | ====== APK installation blocked ====== | ||
- | DJI blocked apk installation, they do this through a modified installd. Bin4ry patched | + | It has been confirmed, the following google play store install will **NOT** work on v03.00.02.00. |
- | With root remount the system partion rw and then overwrite the original installd in / | + | |
- | This will allow sideloading of APKs. | ||
- | **WARNING!** | ||
- | Triple check file name and file permissions before rebooting as your CS can get bricked if mishandling the installd. And as long as we dont have a good way of creating & restoring a (nandroid) backup that is risky… | ||
- | |||
- | This has been tested on an CrystalSky 7.85, System Version 02.02.08.01 and 02.02.09.00 | ||
- | ====== Settings ====== | ||
- | |||
- | To unlock more settings use this build.prop: https:// | ||
- | Remount system partition rw and overwrite the build.prop in / | ||
- | |||
- | **WARNING!** | ||
- | |||
- | Triple check file contents, file name and file permissions before rebooting as your CS can get bricked if mishandling the build.prop. And as long as we dont have a good way of creating & restoring a (nandroid) backup that is risky... | ||
- | |||
- | This has been tested on an CrystalSky 7.85, System Version 02.02.08.01 and 02.02.09.00 | ||
====== Google Play Store ====== | ====== Google Play Store ====== | ||
Line 52: | Line 39: | ||
Choose Platform: " | Choose Platform: " | ||
- | - Install (sideload) flashfire | + | * Install (sideload) flashfire |
+ | * Give flashfire su, if asked | ||
+ | * Copy the zip (i.e. open_gapps-arm-5.1-pico-20170811.zip) to an sd card, plug it in the CS sd1 slot | ||
+ | * In flashfire, tap the " | ||
+ | * Choose "Flash ZIP or OTA" | ||
+ | * Tap on top of the filebrowser to change to " | ||
+ | * Navigate to " | ||
+ | * Choose your zip file | ||
+ | * Leave " | ||
+ | * Hit the checkmark and there you go | ||
+ | * After several reboots, you will be greeted with the setup assistant. | ||
- | - Give flashfire su, if asked | + | Step through it, make your settings and thats it. |
- | - Copy the zip (i.e. open_gapps-arm-5.1-pico-20170811.zip) | + | ****WARNING!** |
- | to an sd card, plug it in the CS sd1 slot | + | ** |
+ | Triple Check the chosen Platform, Android Version and Variant | ||
- | - In flashfire, tap the " | + | This has been tested |
- | - Choose "Flash ZIP or OTA" | + | ====== Default Wifi regulatory domain ====== |
- | - Tap on top of the filebrowser to change to " | + | This is mostly for Spark users, maybe for Mavic Air (I don't have one so I can't tell) |
- | - Navigate | + | The Wifi regulatory domain (country code) influence the allowed channels in each frequency. |
+ | Especially many databases including CrystalSky are NOT up to date, and for exemple in Europe do not allow the 149 and above 5.8 GHz channels that are requiered to use Spark in 2.4 Ghz without OTG (in that case the RC to CS link would be in 5.8 GHz) | ||
- | - Choose your zip file | + | One solution is to manually set the regulatory domain with shell wifi command (use a terminal application) |
- | - Leave "Auto-mount" | + | su -c "iw reg set "US" |
- | - Hit the checkmark and there you go | + | But i found that when doing transitions from 2.4 to 5.8 there could be a time where the devices is going back to default regdom, and get stuck because the new channel can not be seen after switching in the GO4 App. |
- | + | ||
- | After several reboots, you will be greeted with the setup assistant. | + | |
- | Step through it, make your settings | + | |
- | **WARNING!** | + | Another solution is to change the default regdom that was assigned by CS at setup. You also need root and to edit the file |
+ | / | ||
+ | 5can use e.g. ES Explorer - paid version - to do that directly on the rooted CS) | ||
- | Triple Check the choosen Platform, Android Version and Variant | + | The full CS country 2 letters code to this 4 hex code is : |
- | This has been tested on an CrystalSky 7.85, System Version 02.02.08.01, | + | ^ Country Code ^ Hex Code ^ Country Name ^ |
+ | ^AL|8008|ALBANIA | | ||
+ | ^DZ|800C|ALGERIA | | ||
+ | ^AR|8020|ARGENTINA | | ||
+ | ^AM|8033|ARMENIA | | ||
+ | ^AW|8215|ARUBA | | ||
+ | ^AU|8024|AUSTRALIA | | ||
+ | ^AT|8028|AUSTRIA | | ||
+ | ^AZ|801f|AZERBAIJAN | | ||
+ | ^BH|8030|BAHRAIN | | ||
+ | ^BD|8032|BANGLADESH | | ||
+ | ^BB|8034|BARBADOS | | ||
+ | ^BY|8070|BELARUS | | ||
+ | ^BE|8038|BELGIUM | | ||
+ | ^BZ|8054|BELIZE | | ||
+ | ^BO|8044|BOLVIA | | ||
+ | ^BA|8046|BOSNIA | | ||
+ | ^BR|804C|BRAZIL | | ||
+ | ^BN|8060|BRUNEI | | ||
+ | ^BG|8064|BULGARIA | | ||
+ | ^KH|8074|CAMBODIA | | ||
+ | ^CA|807C|CANADA | | ||
+ | ^CA|9389|CANADA_AP | | ||
+ | ^CL|8098|CHILE | | ||
+ | ^CN|809C|CHINA | | ||
+ | ^CO|80AA|COLOMBIA | | ||
+ | ^CR|80BC|COSTA | | ||
+ | ^HR|80BF|CROATIA | | ||
+ | ^CY|80C4|CYPRUS | | ||
+ | ^CZ|80CB|CZECH | | ||
+ | ^DK|80D0|DENMARK | | ||
+ | ^DO|80D6|DOMINICAN | | ||
+ | ^EC|80DA|ECUADOR | | ||
+ | ^EG|8332|EGYPT | | ||
+ | ^SV|80DE|EL | | ||
+ | ^EE|80E9|ESTONIA | | ||
+ | ^FI|80F6|FINLAND | | ||
+ | ^FR|80FA|FRANCE | | ||
+ | ^F2|80FF|FRANCE2 | | ||
+ | ^GE|810C|GEORGIA | | ||
+ | ^DE|8114|GERMANY | | ||
+ | ^GR|812C|GREECE | | ||
+ | ^GL|8130|GREENLAND | | ||
+ | ^GD|8134|GRENADA | | ||
+ | ^GU|813C|GUAM | | ||
+ | ^GT|8140|GUATEMALA | | ||
+ | ^HT|814C|HAITI | | ||
+ | ^HN|8154|HONDURAS | | ||
+ | ^HK|8158|HONG | | ||
+ | ^HU|815C|HUNGARY | | ||
+ | ^IS|8160|ICELAND | | ||
+ | ^IN|8164|INDIA | | ||
+ | ^ID|8168|INDONESIA | | ||
+ | ^IR|816C|IRAN | | ||
+ | ^IE|8174|IRELAND | | ||
+ | ^IL|8178|ISRAEL | | ||
+ | ^IT|817C|ITALY | | ||
+ | ^JM|8184|JAMAICA | | ||
+ | ^JP|8188|JAPAN | | ||
+ | ^JO|8190|JORDAN | | ||
+ | ^KZ|818E|KAZAKHSTAN | | ||
+ | ^KE|8194|KENYA | | ||
+ | ^KP|8198|NORTH | | ||
+ | ^KR|819A|KOREA_REPUBLIC | | ||
+ | ^K2|819B|KOREA | | ||
+ | ^K3|819C|KOREA | | ||
+ | ^KW|819E|KUWAIT | | ||
+ | ^LV|81AC|LATVIA | | ||
+ | ^LB|81A6|LEBANON | | ||
+ | ^LI|81B6|LIECHTENSTEIN | | ||
+ | ^LT|81B8|LITHUANIA | | ||
+ | ^LU|81BA|LUXEMBOURG | | ||
+ | ^MO|81BE|MACAU | | ||
+ | ^MK|8327|MACEDONIA | | ||
+ | ^MY|81CA|MALAYSIA | | ||
+ | ^MT|81D6|MALTA | | ||
+ | ^MX|81E4|MEXICO | | ||
+ | ^MC|81EC|MONACO | | ||
+ | ^MA|81F8|MOROCCO | | ||
+ | ^NP|820C|NEPAL | | ||
+ | ^NL|8210|NETHERLANDS | | ||
+ | ^AN|8212|NETHERLANDS_ANTILLES | | ||
+ | ^NZ|822A|NEW_ZEALAND | | ||
+ | ^NO|8242|NORWAY | | ||
+ | ^OM|8200|OMAN | | ||
+ | ^PK|824A|PAKISTAN | | ||
+ | ^PA|824F|PANAMA | | ||
+ | ^PE|825C|PERU | | ||
+ | ^PH|8260|PHILIPPINES | | ||
+ | ^PL|8268|POLAND | | ||
+ | ^PT|826C|PORTUGAL | | ||
+ | ^PR|8276|PUERTO_RICO | | ||
+ | ^QA|827A|QATAR | | ||
+ | ^RO|8282|ROMANIA | | ||
+ | ^RU|8283|RUSSIA | | ||
+ | ^RW|8286|RWANDA | | ||
+ | ^SA|82AA|SAUDIA | | ||
+ | ^ME|81F3|MONTENEGRO | | ||
+ | ^RS|82B0|SERBIA | | ||
+ | ^SG|82BE|SINGAPORE | | ||
+ | ^SK|82BF|SLOVAKIA | | ||
+ | ^SI|82C1|SLOVENIA | | ||
+ | ^ZA|82C6|SOUTH | | ||
+ | ^ES|82D4|SPAIN | | ||
+ | ^LK|8090|SRI | | ||
+ | ^SE|82F0|SWEDEN | | ||
+ | ^CH|82F4|SWITZERLAND | | ||
+ | ^SY|82F8|SYRIA | | ||
+ | ^TW|809E|TAIWAN | | ||
+ | ^TH|82FC|THAILAND | | ||
+ | ^TT|830C|TRINIDAD | | ||
+ | ^TN|8314|TUNISIA | | ||
+ | ^TR|8318|TURKEY | | ||
+ | ^UG|8320|UGANDA | | ||
+ | ^AE|8310|UNITED | | ||
+ | ^UA|8324|UKRAINE | | ||
+ | ^GB|833A|UNITED_KINGDOM | | ||
+ | ^US|8348|UNITED_STATES | | ||
+ | ^US|8349|UNITED | | ||
+ | ^PS|834A|UNITED_STATES_PS | | ||
+ | ^UY|835A|URUGUAY | | ||
+ | ^UZ|835C|UZBEKISTAN | | ||
+ | ^VE|835E|VENEZUELA | | ||
+ | ^VN|82C0|VIETNAM | | ||
+ | ^YE|8377|YEMEN | | ||
+ | ^ZW|82CC|ZIMBABWE| |