You have no items in your shopping cart.
Saturday, April 17, 2021 7:05:30 AM

Howto: Rooting DJI Crystal Sky

one year ago
#5190 Quote
Then I would suggest you make a new thread dedicated to your method of rooting and patching the new firmware. I'd rather not field question about it here.

As far as the methods used in this guide they all work fine with no issues.
0
one year ago
#5194 Quote
Got the root from under Windows10 on v3.0.2.0.
0
one year ago
#5197 Quote
CantRepeat wrote:
Rooting DJI CrystalSky in windows. v08 updated Apr 16 2019

WARNING! -  “Note: DO NOT revert to an earlier firmware version after updating to v3.0.2.0. Otherwise, CrystalSky will malfunction and the user will be required to contact DJI After-Sales for support.” It has been reported, but not verified, that the current lord root does not work with v3.0.2.0.

BIGGER WARNING!!! - If you try to remove the factory GO Apps you stand a very good chance of rendering your CS inoperable.  I've seen at least two occasions where the CS would not boot properly and users were unable to reflash the CS to factory settings. In both events the only fix was to send the CS back to DJI under warranty for repair.

WARNING! - If you have attempted to root your CS and install the play store using other methods STOP!!! Before you continue with this guide, do a factory reset and reinstall v02.06.06.00 firmware for your CS. I'm not responsible if you screw this up!

Howto: Rooting the DJI CrystalSky so you can install the google playstore and then any app you like.

This works on all versions up to and including V02.06.06.00

This guide and my rooting were done on Win7/64

The information in this howto was gathered through many sources on the internet.

No limit dronez http://www.nolimitdronez.com  <--- imagine that
DJI Retroroms Wiki https://dji.retroroms.info/
The good folks over at http://dji-rev.slack.com - #crystalsky_rooting
Special thanks to Matioupi for all his help in rooting my CS!



Installing tools and gaining Root:
----------------------------------
Make a directory/folder on your windows machine to work from(I used) C:\adb This is where you will put the android tools, win-bash, and the CS rooting scripts.

On a windows machine download all of the following tools and scripts to your C:\adb folder.

Download the Opcodeffm/csroot files.

Go to the github listed below and on the "Clone or Download" tab select download. (You may have to make a git hub account.)
Unzip the files to the folder you just made, in my example that is C:\adb folder

https://github.com/Opcodeffm/csroot

Download and unzip win-bash to your C:\adb folder - select shell.w32-ix86.zip

https://sourceforge.net/projects/win-bash/files/shell-complete/latest/

Download and unzip the Android Windows platfomtools to your C:\adb folder - select SDK Platform-Tools for Windows

https://developer.android.com/studio/releases/platform-tools



Hook your CS to your PC with a USB cable. I used the side mico usb.

Start your bash terminal by running the start_shell.bat which is located in your C:\adb folder

This is a basic terminal and the prompt will look like bash$



Now it's time to start rooting the CrystalSky.

From your win-bash terminal, run the following commands. After each command I have listed what the output should look like. You will not see the ******** above and below the output. I just used those to separate the commands from the output.

  

  ./copy.sh
  

  
  (this triggers the script to connect to the CS and copy the exploit files)
  ***********
  bash$ ./copy.sh
  checking if adb device is present
  List of devices attached
  1234567890  device

  copying files to device
  tmp/: 11 files pushed. 6.8 MB/s (8348440 bytes in 1.173s)
  bash$
  ***********

  

  adb shell
  

  
   (this will put in a command line on your CrystalSky)
   ***********
   shell@zs600b:/ $
   ***********
  
  

  cd data/local/tmp
  

  
  (changes your working directory)
  ***********
  shell@zs600b:/data/local/tmp $
  ***********

  

  ./lordroot
  

  
  (runs the exploit to gain temporary root)
  ***********
  sh: ./patch_script.sh: not found
  max_:3 min:10 i_ret:0x20

  F_SETPIPE_SZ 407
    [+] Done target:dc0df1a0 overflowcheck:200000 map:12670 readv_error:0
    [+] Done target:dc0df1a0 overflowcheck:deadbeef map:12735 readv_error:0
  get_selinux_state -
  - 0
  shellcode_root_self i_pid:1408 ppid:1402 i_thread_info:de9ba000 i_task:db2c5e80 i_cred:dcbfb180 i_init_sid:0
  fwrite is count 1 ./kok
  shell@zs600b:/data/local/tmp $
  ***********

NOTE: it is possible that you will see error codes at the end of the " [+] Done " line. I've tested going on with the mkdevsh command and installing the play store and it works just fine.

  

  ./mkdevsh
  

  
  (runs the script to install su binary and supersu.apk)
  **********
  1|shell@zs600b:/data/local/tmp $ ./mkdevsh
  2+0 records in
  2+0 records out
  2 bytes transferred in 0.001 secs (2000 bytes/sec)
  4+0 records in
  4+0 records out
  4 bytes transferred in 0.001 secs (4000 bytes/sec)
  12+0 records in
  12+0 records out
  12 bytes transferred in 0.001 secs (12000 bytes/sec)
  root@zs600b:/data/local/tmp #
  ***********
0
one year ago
#5206 Quote
Denis wrote:
Got the root from under Windows10 on v3.00.02.00.


Hi there,

Managed to get root too from under Windows10 on v3.00.02.00.
Used the old files I downloaded to get root on the Crystalsky running v2.x

I do have a problem though with FlashFire v0.73 not willing to run.
When fired up, it will properly ask for root admission and then runs some internal routines and force closes somewhere on Checking for Pro...

Never had a FlashFire Pro version. Tried downloading again from  other sites as well, but all keep force closing.

Has anybody any clue as to how to solve this issue?

***EDIT 1***
Managed to overcome the issue by downloading the light version from here:
https://a2zapk.com/97066-root-flashfire-0-73-mod-lite-a2z.html

Next problem I now face is that I cannot flash the newly downloaded Gapps ARM 5.1 pico for some reason. :(
Downloaded that package from official site:
https://opengapps.org/#downloadsection

And yes, I did download the correct version as I have Android v5.1.1 running.

This is kind of sad as it was the whole reason I tried to upgrade the old playstore v17.4.28-all because it apparently doesn't run under firmware v3.00.02.00 anymore. (Yeah, tried clearing cache and data from Play store app too)

***EDIT 2***
Seems the problem of not being able to flash Gapps resides with the FlashFire app I installed.

***EDIT 3***
Still trying.
Seems like the problem of Playstore not working anymore might be that after the firmware update, there is no device ID for Google servers to be found on the device as the directory /data/data/com.google.android.gsf/databases/gservices.db is nowhere to be found...

I suppose that would get installed when flashing Gapps, but the flashing tool from Chainfire won't work any more...

Hope anyone else did manage and is willing to share howto.

***FINAL EDIT***
It worked out.
Read 2 posts below :)

Regards,
0
one year ago
#5208 Quote
Yeah, figured as much.

Here's the thought. Don't install the new firmware if you want to root and install the google play store.
0
one year ago
#5209 Quote
CantRepeat wrote:
Yeah, figured as much.

Here's the thought. Don't install the new firmware if you want to root and install the google play store.


Well here you go.

I managed to get Gapps and all working!

Finally a simple factory reset and reinstalling FlashFire and then flashing Gapps did the trick.

Now over to the second Crystalsky :D

Regards,
0
one year ago
#5210 Quote
My wrote:

Now over to the second Crystalsky :D

Regards,


Hi y'all,

Second CS upgraded to firmware 3.00.02.00.
Factory reset.
Rooted as per OP.
Installed FlashFire.
Flashed latest Gapps.

All working flawlessly.

Regards,
0
one year ago
#5229 Quote
Thank you so much for the guide.
0
https://www.apksmods.com/
one year ago
#5283 Quote
Does rooting and flashing Gapps, along with play store, allow the installation of DroneDeploy?
0
one year ago
#5284 Quote
Fone wrote:
Does rooting and flashing Gapps, along with play store, allow the installation of DroneDeploy?


If it's in the google play store then you should be able to install it.
0