o-gs / dji-firmware-tools

Tools for handling firmwares of DJI products, with focus on quadcopters.
GNU General Public License v3.0
1.48k stars 410 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.

KyokushinPL commented 7 years ago

NFZ solution seems to be working in a @ferraript version. I started a topic dedicated for height limit https://github.com/mefistotelis/phantom-firmware-tools/issues/32. It seems we have still problem with it.

smartPiz commented 7 years ago

@coptersafe hi how to unlock mavic's limits nice work

MrBurnsAT commented 7 years ago

Could i get a Version for p3p please. Ill Test it

mr.burns@gmx.org

adamazad commented 7 years ago

@ferraript, out of curiosity, can I inspect/view the binaries you provided on #32, please? I tried opening them with PowerISO, but didn't work. Thank you

ferraript commented 7 years ago

you can do whatever you want with them, I don't care :smile: I don't understand, why are you trying to use PowerISO, do they look like ISO images to you?

adamazad commented 7 years ago

I thought PowerISO would be able to view it since it supports binaries. But, can I have the source files then? My email is hi@adama.io

ferraript commented 7 years ago

there is nothing like source files you can use python scripts created in this project, just like some of us do

dave-pitman commented 7 years ago

Sorry in advance for layman questions.

  1. Is P3A/P3P FW 1.0.07.0060 used to modify because it is the last fw that does not contain GEO?
  2. Is a particular version of the GO app required for the modified fw to be trouble free?
aka1ceman commented 7 years ago

No 1.7.6 had some forms of GEO in it. It is used at this point because it was only firmware that was unencrypted by DJI. This has allowed guys here to dissect, and modify. There are patches now for 1.7.6 that remove NFZ, and increases height limitations thanks to these guys here.

dave-pitman commented 7 years ago

Thanks aka1ceman. Is a particular GO app version required?

aka1ceman commented 7 years ago

I used 2.4.3. And worked fine for me. There may be others that work as well too, but I have not yet tested.

aka1ceman commented 7 years ago

I would like to know myself , which is the latest Go release that works with 1.7.6 and the patch.

aka1ceman commented 7 years ago

I had concentrated on testing the patch itself and verifying that it works, and I did not want too many variables while testing.

MrBurnsAT commented 7 years ago

No special GoApp needed! U can fly with actual Version! screenshot_20170703-164227 screenshot_20170702-173926

dave-pitman commented 7 years ago

Thanks for the replies Aka an Mr B !

phudd commented 7 years ago

anyway anyone could send me the file with the fast ascend and descend without the height restriction and possibly without nfz. fudgeekgeek@yahoo.com. or direct me to a link that is still valid. it would be much appreciated.. I have p3p with 1.7.6 dji go 2.4.2 with gen_signed.apk currently installed thanks again

phudd commented 7 years ago

also here is a link to a litchi apk that is cracked and fully working http://noobdownload.com/wp-content/plugins/_/l.php?http://dl2.apkhome.org%2F2017%2F2%2FLitchi_3.10.5_crk.apk

2008jiayu commented 7 years ago

i also need it my mail luckfish85@gmail.com

notsolowki commented 7 years ago

here try this for nfz and speeds if you like. idk if the nfz works or not because i have not tested it. but the speeds and height will as long as you modify the app accordingly or use the one in the links

https://www.mediafire.com/?d1jlss9dbakuwd5 firmware 1.7.6 https://www.mediafire.com/?bow4mdbdle1vugi app 2.4.2, restore defaults with this app http://www.mediafire.com/file/4dpacnqxo5soxo6 app 3.7, use this after you restore defaults with 2.4.2 if you want.

this is for the p3 pro and advanced 1.7.6 firmware

nickmv commented 7 years ago

What exactly is cracked about your version of Litchi? I'm on 3.10.10 and it works perfectly fine with mods.

phudd commented 7 years ago

thank you notosolwki..

nickmv the litchi just bypasses the registration

notsolowki commented 7 years ago

just remember be careful my experience with high altitude is fast drift

phudd commented 7 years ago

Safety first as always! Thanks again! It seems to return pretty close to take off position. At about 3,000ft It wants to return home due to low battery with 80% battery. But as long as i stay under that no issues at all. I really do appreciate it ..

nickmv commented 7 years ago

That's caused by a critical battery RTH function. The only known way to truly disable it is to change the settings in Assistant to use a 3rd-party battery, and tell it to only issue an LED/warning, instead of Landing.

phudd commented 7 years ago

by assistant do you mean dji go? or it some other tool or app

triangularbkk commented 7 years ago

DJI Assistant 2. This is old news haha. search youtube for digdat0 channel for several tutorials as a starting point. But the parameters aren't all the same for all models, or for all firmware versions.

notsolowki commented 7 years ago

i dont think you can use assistant for the p3

On Mon, Jul 31, 2017 at 2:02 PM, triangularbkk notifications@github.com wrote:

DJI Assistant 2. This is old news haha. search youtube for digdat0 channel for several tutorials as a starting point. But the parameters aren't all the same for all models, or for all firmware versions.

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

notsolowki commented 7 years ago

here phudd try this firmware maybe it will stop the critical autolanding
https://www.mediafire.com/?i9ds138d52gwsc0

ghost commented 7 years ago

Hello good I possess phantom 3 PRO see a file ZIP, it has to be opened? I see 4 files like he installs? Or only do I put in the sd *.bin?

maciekd commented 6 years ago

Is it correct that the change needed is to modify the g_config.airport_limit_cfg.cfg_search_radius_0 parameter?

I hava an A3 and need to fly in NFZ (I have all permits). DJI can white list but then waypoint flight does not work so DJI can't help me. I've hacked my DJI Assistant 2 and it seems that I can change that parameter in the DJI Assistant.

I'm on firmware 1.7.0.0.

Is it possible to modify the parameter through the (hacked) DJI Assistant 2? Do I need to do something more than that to unlock the NFZs?

dave-pitman commented 6 years ago

The various craft and firmware have different parameter names. On a P4P I changed the following parameters.

NFZ Changes

g_config_airport_limit_cfg_cfg_disable_airport_fly _limit = 0 g_config_airport_limit_cfg_cfg_limit_data = 20250910

dave-pitman commented 6 years ago

Hey Guys, My P3P is on craft FW 1.9 and rc FW 1.6 If I drop back to craft 1.7 do I need to downgrade the rc firmware too?

jiekchenid commented 6 years ago

Hey Guys, My P3S who can Provided one small reduction NFZ 3Q jiekchenid@qq.com

MAVProxyUser commented 6 years ago

@mefistotelis "dji_flyc_nofly_ed.py does not work on P3X_FW_V01.10.0090.bin because of encryption". A little bird told me about some forked GitHub repos and a DMCA attempt... you uh... may want to fork this. https://github.com/MAVProxyUser/spray-system/blob/master/app/aes/aes.c#L38

FrankLee2006 commented 6 years ago

I had an issue to patch 1.09 and above with NFZ removed by the way, 1.08 and 1.07 were ok. After patch done, as soon as I powered on the AC, after a few seconds of collecting GPS signal even without switch on the RC, it showed red flash meaning in NFZ. I suspect there are more things in 1.09 and above firmwares to limit NFZ. Anybody has an advise?

aka1ceman commented 6 years ago

What app version are you using. Sometimes it's not the fw but the app. A few here have modified the app as well.

On Feb 11, 2018 12:38 AM, "FrankLee2006" notifications@github.com wrote:

I had an issue to patch 1.09 and above with NFZ removed by the way, 1.08 and 1.07 were ok. After patch done, as soon as I powered on the AC, after a few seconds of collecting GPS signal even without switch on the RC, it showed red flash meaning in NFZ. I suspect there are more things in 1.09 and above firmwares to limit NFZ. Anybody has a advise?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/o-gs/dji-firmware-tools/issues/13#issuecomment-364723343, or mute the thread https://github.com/notifications/unsubscribe-auth/AP4kPJugjIGcqLZP8IsnEJFwhfJnW-2kks5tTnzAgaJpZM4LoSWi .

dave-pitman commented 6 years ago

@FrankLee2006 "red flash" on the gimbal LED? @aka1ceman He said he didn't turn on the RC so the app should not be a factor. I have patched a 1.9 but have yet to install it. (the p3p is my backup).

FrankLee2006 commented 6 years ago

@dave-pitman "red flash" on the rare two arms showing system status. Normally they should flash yellow without turning on the RC. By the way, I have once updated to 1.11 version of firmware. I suspect there are some files in other modules link to NFZ as well. @aka1ceman Exactly as per @dave-pitman , I didn't turn on the RC.

aka1ceman commented 6 years ago

Sorry, I didnt catch the RC in your original post. When I was testing, I did find that a few times, I had to flash the patch I made 2 times for it to take. Not sure why. Who made your patch?

Changes I made to default values ...... g_config.airport_limit_cfg.cfg_disable_airport_fly_limit_0 = 1 g_config.airport_limit_cfg.cfg_search_radius_0 = 1

FrankLee2006 commented 6 years ago

@aka1ceman I made by myself the patch and it workes on 1.07, 1.08. I use iPhone 6plus with only original Go app. I compared fly_infos files of all firmwares up to 1.10 which were same except with only two figures related to battery level changed in 1.10. This means it should be nothing to do with 306 module but somewhere else I guess.

FrankLee2006 commented 6 years ago

@ferraript @mefistotelis Any comment/advise from your guys? Thanks.

mefistotelis commented 6 years ago

NFZ removed [...] 1.08 and 1.07 were ok

Good.

I had an issue to patch 1.09 and above with NFZ removed [...] After patch done, as soon as I powered on the AC, after a few seconds of collecting GPS signal even without switch on the RC, it showed red flash meaning in NFZ.

Ok, good to know. Personally I'm still using 1.07.

I suspect there are more things in 1.09 and above firmwares to limit NFZ. Anybody has an advise?

You could test other params and other values. If editing flyc_params is not enough, you can also try dji_flyc_nofly_ed.py.

FrankLee2006 commented 6 years ago

@mefistotelis I tried to use dji_flyc_nofly_ed.py but had no idea how to use it correctly. In which module is flyc_nofly_ed located?

mefistotelis commented 6 years ago

I don't have any overblown NFZs in my area, so I'm not that much interested.

Anyway:

neven385 commented 6 years ago

You can find a video tutorial on youtube by digidat0. If that is still too complicated for you (shouldn't be), you can request remote service from him.

dave-pitman commented 6 years ago

The App will still notify you but the craft should arm and fly regardless. Did you try to fly or just look at the message and give up?

dave-pitman commented 6 years ago

I have not messed with this on my P3P. But it sounds like you are using a version of GO that requires a log-in. Are you using android or ios?

neven385 commented 6 years ago

Did you use old modified DJI Go with matching flight parameters file?

00Gery00 commented 6 years ago

sorry, but I have another question and don't know where I have to ask....

If I modify a file and flash, the changes wouldn't accepted. I tried it by hand and used mefistotelis Batchfile.

Perhaps, anybody can help me here please.

I created a video about my modify procedure:

https://youtu.be/ZAGfuEBsYO0

Thanks in advance!

mefistotelis commented 6 years ago

Looks like the batch file has no error support. On 8:41 you can clearly see that my tool returned with exception. Ask the author to add error support.

But to the point - you can't just delete values leaving nothing. Who gave you that idea?