User Tools

Site Tools


howto:crystalsky

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
howto:crystalsky [2017/11/10 16:21]
opcode [Rooting]
howto:crystalsky [2020/03/26 12:42] (current)
cantrepeat [Crystal Sky Rooting]
Line 1: Line 1:
-====== ​OriginalGangsterCow ​======+====== ​Crystal Sky Rooting ​====== 
 +Opcode, Hostile and Lord's Working Root
  
-MAVProxyUser found a way to sideload and install apk´s on the CrystalSky. +https://​github.com/​Opcodeffm/​csroot
-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 ​and CrystalSky connected via USB to your PC for this script!+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/​02/​2018) 
 +  * V02.06.03.00 (12/​04/​2018) 
 +  * v02.06.06.00 (12/​23/​2018) 
 +  * v03.00.02.00 (12/​09/​2019) - **CAUTION** - you will NOT be able to downgrade from this firmware once installed.
  
-https://​github.com/​MAVProxyUser/​OriginalGangsterCow+__**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://​nolimitdronez.com/​boards/​topic/​39/​howto-rooting-dji-crystal-sky/​page/​5#​5180 
 +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:​aaaot1j7dm.png?​400|}}
  
-https://​github.com/​Opcodeffm/​csroot 
  
-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 installationthey do this through a modified installd. Bin4ry patched ​the installd to allow installations again, download it here: https://​dji-rev.slack.com/​files/​bin4ry/​F6L7R9ZFT/​installd +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 /​system/​bin/​installdMake sure you keep the correct file permissions+
  
-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… 
-====== Settings ====== 
- 
-To unlock more settings use this build.prop: https://​dji-rev.slack.com/​files/​bin4ry/​F6MFB6K8D/​build.prop 
-Remount system partition rw and overwrite the build.prop in /​system/​build.prop. Make sure you keep the correct file permisions. chmod 644 build.prop 
- 
-**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... 
 ====== Google Play Store ====== ====== Google Play Store ======
  
-To make Google Play Store work, first you need root. It will NOT work with Kingoroot. +To make Google Play Store work, first you need root!
-To switch from Kingoroot to SuperSU, use this App : https://​s3-us-west-2.amazonaws.com/​supersu/​download/​zip/​SuperSU-v2.79-20161205182033.apk+
  
 After that, you need a flashing tool and the needed zip which contains the Play Store, Framework etc. After that, you need a flashing tool and the needed zip which contains the Play Store, Framework etc.
-The flashing tool can be downloaded here: https://flashfire.chainfire.eu/+The flashing tool can be downloaded here: https://www.apkmirror.com/​apk/​chainfire/​flashfire/
 The needed zip can be downloaded here: http://​opengapps.org/​ The needed zip can be downloaded here: http://​opengapps.org/​
 Choose Platform: "​ARM"​ Android: "​5.1"​ Variant: "​pico"​ Choose Platform: "​ARM"​ Android: "​5.1"​ Variant: "​pico"​
  
-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 "​+"​ sign on the right hand corner. 
 +  * Choose "Flash ZIP or OTA" 
 +  * Tap on top of the filebrowser to change to "​Filesystem root"​ 
 +  * Navigate to "​mnt/​external_sd1"​ 
 +  * Choose your zip file 
 +  * Leave "​Auto-mount"​ and "​Mount/​system read/​write"​ unchecked 
 +  * Hit the checkmark and there you go 
 +  * After several reboots, you will be greeted with the setup assistant.
  
-- Give flashfire suif asked+Step through itmake your settings and thats it.
  
-- Copy the zip (i.e. open_gapps-arm-5.1-pico-20170811.zip) +****WARNING!** 
-to an sd cardplug it in the CS sd1 slot+** 
 +Triple Check the chosen Platform, Android Version and Variant ​to avoid flashing wrong softwarewhich could brick your device. Execute ​the steps carefully and you should be good.
  
-- In flashfire, tap the "​+"​ sign on the right hand corner.+This has been tested ​on an CrystalSky 7.85, System Version 02.02.08.01,​ 02.02.09.00,​ 02.04.02.00,​ 2.06.06.00. and v03.00.02.00
  
-- Choose "Flash ZIP or OTA"+====== Default Wifi regulatory domain ======
  
-- Tap on top of the filebrowser to change to "​Filesystem root"+This is mostly for Spark users, maybe for Mavic Air (I don't have one so I can't tell)
  
-- Navigate ​to "​mnt/​external_sd1"​+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"​ and "Mount/​system read/write" ​unchecked+su -"iw reg set "US" ​(need root)
  
-- 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 itmake your settings ​and thats it.+
  
-**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 
 +/​data/​property/​persist.country.code and change whatever value is inside by 8348 which codes for "​US"​ 
 +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 ​to avoid flashing wrong software, which could brick your device. Execute the steps carefully and you should be good.+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 and 02.02.09.00+^ 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|
howto/crystalsky.1510330906.txt.gz · Last modified: 2017/11/10 16:21 by opcode