o-gs / dji-firmware-tools

Tools for handling firmwares of DJI products, with focus on quadcopters.
GNU General Public License v3.0
1.45k stars 405 forks source link

Allowed flight in DJI No Fly #13

Open aka1ceman opened 7 years ago

aka1ceman commented 7 years ago

Have you considered the possibility of attempting to remove DJI go no fly zone? I have a situation where I have legal permission to fly by control tower but DJI Go will not let me unless I upgrade to the newest firmware then register with them... Which I am not trying to do. I stopped upgrading at 1.6.

ghsec commented 7 years ago

Yes. Version DJI go 4 since phantom 4. But I modified it only for Georgia. საქართველო, Грузия. I can fly where I want. Every where.

ghsec commented 7 years ago

sorry path is \DJI GO 4_dji.go.v4_10223904.0.7\assets\flysafe and DJI GO 4_dji.go.v4_10223904.0.7\assets\flysafe\flyforbid_airmap

files: https://mega.nz/#F!FY5FGThI!WYV4n-1dGXVR4JdfJVpoOw but there are Georgian NFZ deleted

KyokushinPL commented 7 years ago

What firmware versions you have?

ghsec commented 7 years ago

Latest.

ghsec commented 7 years ago

Try do it with Doogee dg 700 android version 5.1. App dji go 4 since phantom 4. RC and drone firmwares are latest updated with dji assistant 2. Editet app works without bugs. Only one bug not show nfz. Drone flies excelent in NFZ. In airport, in other nfz. No limits with NFZ but only on my phone.

Actions for bypass. Extract apk. Decompile with apk tool Edit json files Bult apk again with apktool Sign certificate. Install and enjoy. Why this method work only my phone?

KyokushinPL commented 7 years ago

Could you write f/w number? (it may be helpful in future). How to download f/w without DJI assistant? I suspect it will not work in future f/w's so it woul be good to have backup.

ghsec commented 7 years ago

I did not edit firmware. I modified only djo go aplication. With my phone android 5.1 Dogee dg 700 it works, but on other phone it is not work. I always update firmware on drone and RC but it is always bypassed. I do not now why it works

KyokushinPL commented 7 years ago

Yes, i clearly understand, but it may work only with your current version of firmware, so we need to know what version of firmware you have now (number) and how to download it and to what version downgrade in future.

ghsec commented 7 years ago

If you now Russian you can contact me on my mail. oqradze@gmail.com. becouse it is dificult explane it English. I now Russian very well.

ghsec commented 7 years ago

App: 4.0.7 Version: 01.02.0602 Remote Controler: 1.8.0 App database : 00.00. 01.04

KyokushinPL commented 7 years ago

Cool, thats what i would like to know. The next question for everyone: where can we download f/w for P4 and mavic? (current one, i cant see that on webpage). Maybe you can download BIN file somehow from DJI assistant and share? Current versions are not patched i think so its good moment to make backup.

ghsec commented 7 years ago

On Mavic pro this method don't work :) I tried this :) It not write NFZ but it show on display can not take off :) this method work only phantom 4/advance/pro which I tested. I try download firmware but I can not do it. :(

viejoperro commented 7 years ago

KyokushinPL,do you have an email?

KyokushinPL commented 7 years ago

(....) :)

aka1ceman commented 7 years ago

I tried the patch on 1.7 but only had left stick control. (no right stick) I downgraded from 1.7 back to 1.4 where I was and now tested and flew ok. Ill go back to 1.7, Ill check controls prior to adding the patch on 1.7

aka1ceman commented 7 years ago

ok, Im not sure whos version of the patch file I have, but it doesnt work. 1.7.6 worked fine, then once installed patch, I loose all of my right stick in a a known non NFZ area.

aka1ceman commented 7 years ago

From what it looks like, the version I tried was from @coptersafe that removed altitude limit as well. I had to downgrade back down to 1.5 to get stick control back. Then upgrade step by step back to 1.7.6, then Ill try the other patch file

aka1ceman commented 7 years ago

The file from ferraript DOES work with 1.7.6. I tested today in a NFZ and worked perfect. Height limits remain in effect with this file.

I can NOT get the file that coptersafe made to work. It would be nice to have height removed as well .

I want to give a shout out to ferraript and say... THANK YOU.

coptersafe commented 7 years ago

@aka1ceman share you mail ill send you my patch if you whant

viejoperro commented 7 years ago

@coptersafe , me too please, viejoperro@hotmail.com Thank You!

adamazad commented 7 years ago

@aka1ceman, can you please share a summary of your gear and setup?

Adam

aka1ceman commented 7 years ago

P3P with..... 1.7.6 on the quad 1.5 on the RC 2.4.2 DJI Go

coptersafe commented 7 years ago

@aka1ceman @viejoperro @KyokushinPL http://dropmefiles.com/fiqhk
PMCAPPFw3.bin CRC32:77E52A8C

it is newest version - super fast, in horizontal speed and vertical speed - be carfeul and safe fly!

neven385 commented 7 years ago

File is reporting a trojan virus

mefistotelis commented 7 years ago

When I downloaded it everything was right. It is a normal FC firmware, just with 45 parameters modified. No x86 executable code included.

Still, it is your risk.

neven385 commented 7 years ago

i'll check CRC. brb

neven385 commented 7 years ago

CRC is fine. Only .bin inside zip. looks safe.

coptersafe commented 7 years ago

sorry password - 123

KyokushinPL commented 7 years ago

@coptersafe thank you! btw, could you (sorry for bothering) make a version only with nfz/heigh removed? I would like to not push my rotors to the limits - just keep default speeds - and avoid sensitive controls (i will be very grateful :) ).

coptersafe commented 7 years ago

@KyokushinPL you can easily do it yourself. Sir @mefistotelis make for this opensource software. Just spend a little more time

KyokushinPL commented 7 years ago

@coptersafe ok, i did it, i looked into your and ferrari version then changed values only for height and nfz. If someone is interested in - just let me know.

MrBurnsAT commented 7 years ago

Why are u struggling with moddet Firmware?

Only Downgrade P3A or P3P to 1.4.0010 or 1.3.0020 There are no NFZs includet

And if u Downgrade ur RC below 1.5.8 (to 1.5.7, 1.4.3 or 1.3.2) u can use old Litchi Versions (Max 2.3.1) with that ur able zu Go higher than 500m with out any modification

MrBurnsAT commented 7 years ago

PS na highest Altitude was shout 1250m

A Friend oft me was able with These Downgrades and Power Mod, to Go Up to 2600m

KyokushinPL commented 7 years ago

@bacon-avenger write your e-mail.

aka1ceman commented 7 years ago

Sorry but That is not true. I used to run 1.4 and Litchi to remove height, but there are NFZ in 1.4.... that is why u started this issue/ thread. See the 1st post here. ...

MrBurnsAT commented 7 years ago

Than try 1.4.0001 Developer

Or 1.3.2

I Really Never had any NFZ Warning with 1.3.2! And i started at a Minor Military Airport (in the middle of it) with out any Warning.

Same with VIE (Vienna International Airport) no warning and motors did start. But i didn fly there, only tryed if its possible

aka1ceman commented 7 years ago

I have never had a warning either. There ARE NFZ in 1.3 and 1.4. Where the motors will not arm. I've downgraded all the way down with no luck untill now. According to some, certain NFZ have been put into place since late P2s.

viejoperro commented 7 years ago

@kyokushinpl send me a copy please, viejoperro@hotmail.com Thanks

adamazad commented 7 years ago

Has anyone used P3P FW v1.10.90 here? Once I used Litchi v3.10.5 to test fly NFZ, and AC positioning was not accurate -- AC was drifting by +-0.5m on the horizon. So, I calibrated the compass through DJI Go v3.1.5. What I did is after I landed it -- the AC was not turned off while following took place:

  1. As Litchi was open on my phone, I removed and plugged in the USB cable.
  2. I selected DJI Go app to be used as the accessory app when prompted to choose between DJI Go and Litchi. As soon as DJI Go launched, NFZ kicked -- AC wasn't taking off due to restriction.
  3. I calibrated the compass using Go app -- this was my goal for the switch between the two apps.
  4. Then, I removed USB cable again and selected Litchi again when connected the cable. The AC was able to start motors and take off.

Apart from the above, I have taken off the quad in NFZ without connecting my phone initially. It could possible that all NFZ data are supplied by DJI Go app as other comments suggested. The most interesting part of all is that the AC obeys to NFZ restriction when DJI Go and open and the phone is connected to the controller. When disconnected, NFZ fades away, at least in my case.

The quad has never undergone FW nor hardware modification to the moment.

For reference, I am running Android 5.0.2 on Galaxy S4.

Edit: I forgot to mention that my phone was not connected to the internet.

MrBurnsAT commented 7 years ago

adamazad

Like i sayed above.

Same with old Firmwares and old Litchi Versions. There are no NFZs! There are no height Limit!

With GoApp u will have this restrictions

adamazad commented 7 years ago

Only Downgrade P3A or P3P to 1.4.0010 or 1.3.0020 There are no NFZs [included]

@MrBurnsAT, if this is the case, I can run a version of DJI Go that does not force FW update (perhaps modded?) or stick with my Litchi along with FW 1.3.2, correct?

aka1ceman commented 7 years ago

Mr Burns I wish that was the case. 1.3.2 does have NFZ (not the Geo fence implemented later) with both Go and Litchi in certain areas. (Rapid red lights flashing and wont arm motors) I even tried blocking Go from internet while using Litchi.. Only time I got it to lift off was 1 time where I manually took off before satellites were connected. Once it found satellites, all it did was hover.Ive tried all fw from 1.1.9 to 1.6.. With both Litchi and Go. Litchi checks it's permissions from Go. This is why I started this issue. Keep in mind there are 2 different versions of NFZ that DJI has used.

Ps I never went newer than 1.6 because I refused to use the new NFZ system. Without giving too much information, there are certain cities, capitals, government areas, etc that have been NFZ before the airports were added.

adamazad block the app from reaching the internet and it won't update.

aka1ceman commented 7 years ago

@coptersafe , I will test your patch this week in a NFZ later this week. Thank you very much.

spookypilot76 commented 7 years ago

@KyokushinPL , can you send me a copy please, rjohnson99r@msn.com thanks

ghsec commented 7 years ago

Hello all. It's my researching. I noticed that Phantom 4 has ftp server and it's open. https://www.facebook.com/notes/dronetech/dji-phantom4-ftp-სერვერი-ხელმისაწვდომია/ It's Georgian language but please look at the last picture and you understand all.

2017-06-05 8:27 GMT+04:00 spookypilot76 notifications@github.com:

@KyokushinPL https://github.com/kyokushinpl , can you send me a copy please, rjohnson99r@msn.com thanks

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mefistotelis/phantom-firmware-tools/issues/13#issuecomment-306100630, or mute the thread https://github.com/notifications/unsubscribe-auth/APDrXuAfSsjZMGgXeYLRT1Gvfbx10Xpuks5sA4O4gaJpZM4LoSWi .

MAVProxyUser commented 7 years ago

@ghsec anything ftpd related should work with my notes here:

Anything you pull down from the FTPD should be AES encrypted, and anything put put on to it will reside in /data on the Android system.

https://github.com/MAVProxyUser/DJI_ftpd_aes_unscramble

Also, please set the Facebook privacy settings on your notes above, we can not see them, as we have no permission.

ghsec commented 7 years ago

@MAVProxyUser sorry :) here is new topic https://github.com/mefistotelis/phantom-firmware-tools/issues/31 and thank you for sharing great tool

aka1ceman commented 7 years ago

@coptersafe Sorry but even the latest file you sent has the same issue. Loss of right stick completely. It is not working. Can someone else confirm ?

coptersafe commented 7 years ago

@aka1ceman i can check only tomorrow ..

aka1ceman commented 7 years ago

I Tested with App is 2.4.3 Rc is 1.4.30 A.c. is 1.7.6