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/09/04 15:51]
opcode Added OriginalGangsterCow
howto:crystalsky [2019/11/08 13:33] (current)
cantrepeat header
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 Version 02.02.09.00,​ 02.04.02.00,​ 2.05.00.00 (09/​02/​2018),​ V02.06.03.00 (12/​04/​2018) and v02.06.06.00 (12/​23/​2018).
  
-https://github.com/​MAVProxyUser/​OriginalGangsterCow+NOTEWill be adding step through to this shortly, CantRepeat.
  
-====== Rooting ====== 
- 
-Kingoroot works, nobody cared to actually look which exploit they use, might be dirtyc0w. If you use kingoroot you should do so in a WindowsVM since they install a ton of crapware to your windows installation. 
- 
-**WARNING!** 
- 
-In the past Kingoroot has been found to be stealing IMEIs, and potentially other information from devices, as well as other strange behaviour that may or may not be intentionally malicious. See these threads for more information:​ 
- 
-https://​forum.xda-developers.com/​general/​general/​kingo-root-steals-imei-t3268525 
- 
-https://​forum.xda-developers.com/​fire-tv/​general/​psa-kingoroot-exploit-users-major-t3502824 
- 
-The user is advised to find another method to obtain a root prompt if at all possible. As a last resort, kingoroot could be used, providing: 
-  * A windows VM, without network connection is created. Kingoroot is installed in the VM to shield the user's system from Kingoroot bloatware. 
-  * The CrystalSky device has its wifi radio switched off, preventing any potential attempts for Kingoroot - related binaries to send data home. 
- 
- 
-====== APK installation blocked ====== 
- 
-DJI blocked apk installation,​ they 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 
-With root remount the system partion rw and then overwrite the original installd in /​system/​bin/​installd. Make 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"​
Line 81: Line 45:
 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. 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.
  
-This has been tested on an CrystalSky 7.85, System Version 02.02.08.01 ​and 02.02.09.00+This has been tested on an CrystalSky 7.85, System Version 02.02.08.0102.02.09.00, 02.04.02.00,​ and 2.06.06.00. 
 + 
 +====== Default Wifi regulatory domain ====== 
 + 
 +This is mostly for Spark users, maybe for Mavic Air (I don't have one so I can't tell) 
 + 
 +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) 
 + 
 +One solution is to manually set the regulatory domain with shell wifi command (use a terminal application) 
 + 
 +su -c "iw reg set "​US"​ (need root) 
 + 
 +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. 
 + 
 +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) 
 + 
 +The full CS country 2 letters code to this 4 hex code is :  
 + 
 + "​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.1504540289.txt.gz · Last modified: 2017/09/04 15:51 by opcode