Non ci sono articoli nel tuo carrello
domenica 24 marzo 2019 17:00:36

NLD Go4 CrystalSky Instructions

6 months ago
#5 Cita
To follow this guide, you should already have created your patched DJI Go4 APK.



Gaining Root:

If you want to use the NLD CS version, your CS needs at least to be rooted.

Since CrystalSky FW 02.04.02.00 you can install up to 20 apk's. However, if the apk needs the Play Store you still need to root your CrystalSky to be able to flash the Play Store with chainfire.

Download the files in this Github Repo for rooting your CrystalSky:

CrystalSky Root

Next, you need to Install android platform-tools for your system (can be downloaded from here : Android Platform Tools just need to unzip the somewhere on you file system that's easy to access.

Extract the ZIP file you just downloaded into the platform-tools directory so they can be easily accessed.

Next hook your CS to PC with a USB cable (can be from the USB-C or micro USB ports) and from a terminal window opened in the platform-tools directory. Once opened, issue the command

ADB Shell


And verify you're connected. once you are, you can close this window.

Find the files you got earlier from the CrystalSky Rooting Github link and from your Platform Tools console, run

./copy.sh

(this triggers the script to connect to the CS and copy the exploit files)

adb shell

(this will put on on a command line device on CS side)

cd data/local/tmp

(changes your working directory)

./lordroot

(runs the exploit to gain temporary root)

./mkdevsh

(runs the script to install su binary and supersu.apk)

Lastly, reboot and run SuperSU from the App Menu on your CS.



Prerequisites For App Installation:

To take full advantage of your CS, you also need to have Google Playstore and Play service also installed.
Once root is gained from the previous steps, you need a flashing tool and the needed zip which contains the Play Store, Framework etc.
The flashing tool can be downloaded here:

FlashFire

The needed zip can be downloaded here:

Open Google Apps

Choose
Platform: ARM
Android: 5.1
Variant: Pico (Make absolutely sure you get the right version)

- Install flashfire flasher
- Give flashfire su, if asked (should be 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. Step through it, make your desired settings and that's should be it.

WARNING!

Triple Check the chosen 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 5.5 and 7.85, System Version up to 2.06.06.00

Once installed, you may be required to self register the CS as an un-certified Android device.



Installing Google Play Services & Other Components:

Again, hook your CS to PC with a USB cable (can be from the USB-C or micro USB ports) and from a terminal window opened _in the platform-tools directory_ do :

adb shell

(this will put on on a command line device on CS side)

su

(this will make you the root user on CS)

cp /data/data/com.google.android.gsf/databases/gservices.db /mnt/sdcard/Download/

(this will copy a db that contains you device unique Id in non root readable area of filesystem)

[code]
0
5 months ago
#73 Cita
Hello. I executed exactly the instructions for the CrystalSky and everything works, except for the disappearance of the NLD4122 icon. I made the suggested changes in the guide to Workaround 2 with ES Explorer Pro, but it does not work. To make it appear again, I always have to type the command su -c "pm enable dji.pilot.pad" with a terminal. Some other suggestions? Thank you
0
5 months ago
#74 Cita
To fix the disappearing NLD app icon do these 2 steps.

Step 1

Start your terminal window on your CS then issue the following command



su -c "pm enable dji.pilot.pad"


Step 2

Some times the NLD app will continue to dissapear. To fix this edit the file on your windows PC with notepad ++

On the CS

copy the /data/data/dji.system.launcher/shared_prefs/dji.system.launcher.xml to /mnt/sdcard/Download/


On your PC in an adb shell:


adb pull /mnt/sdcard/Download/dji.system.launcher.xml


this will download the file on PC.

Modify the file on PC side with a text editor (e.g. notepad++) to add the line

<string name="KEY_MUTEX_PREF_PKG">dji.pilot.pad</string>
or replace dji.go.v4 by dji.pilot.pad in it if already there.

Save the file on PC side.

Then upload it back to the CS, in an adb shell:


adb push dji.system.launcher.xml /mnt/sdcard/Download/



Use ES explorer pro copy / paste the xml file from /Download/ to /data/data/dji.system.launcher/shared_prefs/
(you should get asked to overwrite : say YES)

Reboot CS, try pressing middle button, NLD should still be there and stick now.

You might need to redo this if you later install or change the launcher to avoid the awful DJI one e.g. Nova, Google Now Launcher, Windows Launcher)

The copy/overwrite needs to be done with ES Explorer Pro as it handles properly overwriting a file with read/only partitions etc. If you try to modify it directly, the unmodified version would be restored automatically from a cache, erasing your changes.

Likewise, you might try using a different editor on your CS such and quickedit or quickedit pro.
0
5 months ago
#77 Cita
Sorry. It does not work and here is also an error: adb push dji.system.launcher.xml /mnt/Download/. Sdcard is missing.
0
5 months ago
#78 Cita
Nicola wrote:
Sorry. It does not work and here is also an error: adb push dji.system.launcher.xml /mnt/Download/. Sdcard is missing.


So you were able to copy the file to the mnt/Download and the pull it to your computer and then edit it?
0
5 months ago
#82 Cita
Yes, I did everything and it works, I see the application. I repeated the operation three times with Es Explorer, but after the NLD422CS icon it becomes hidden.
0
5 months ago
#84 Cita
Nicola wrote:
Yes, I did everything and it works, I see the application. I repeated the operation three times with Es Explorer, but after the NLD422CS icon it becomes hidden.


OK, I think I see the issue.

Repeat this step before you copy the edited file back to your CS.

Start your terminal window on your CS then issue the following command


su -c "pm enable dji.pilot.pad"


This should make the app icon reappear.

Now continue with your editing of the file to add the string again.

After you edit and save the dji.system.launcher.xml file on you PC make sure it still has the new string in it. Close notepad++ and then reopen the file.

<string name="KEY_MUTEX_PREF_PKG">dji.pilot.pad</string>


Use this command to get the edited file back to your CS


adb push dji.system.launcher.xml /mnt/sdcard/Download/


After you copy the file back to /data/data/dji.system.launcher/shared_prefs/ open it on your CS and make sure the new string is in the file still.
0
5 months ago
#104 Cita
I have a CS550 (crystal sky) and I try to make working dji GO 4.1.22 on it. I did every step from the Users Guide but when I install the apk, i got the [INSTALL_FAILED_UPDATE_INCOMPATIBLE] error. Do you have any idea about what is going on ?

Thx.
0
5 months ago
#105 Cita
xela wrote:
I have a CS550 (crystal sky) and I try to make working dji GO 4.1.22 on it. I did every step from the Users Guide but when I install the apk, i got the [INSTALL_FAILED_UPDATE_INCOMPATIBLE] error. Do you have any idea about what is going on ?

Thx.


In the NLD drop down box where you pick the GO app to patch, make sure you select the CS versoin. You use the same non patched version dji.go.v4-4.1.22-3028592-noseceo.apk as you did before.

0
5 months ago
#107 Cita
Ok but I already did that and no success...weird...
0