dji-firmware-tools icon indicating copy to clipboard operation
dji-firmware-tools copied to clipboard

DJI Mavic Air gimbal calibration

Open davidhaluska opened this issue 5 years ago • 68 comments

Is there possibility to add support for service gimbal calibration after replacement for Mavic Air? The same functionality is already available for SPARK but need this for Mavic Air. Thanks.

davidhaluska avatar Mar 14 '19 16:03 davidhaluska

I‘m also looking for the same solution. Camera Error 3 after replacing Gambal & camera. DJI‘s only offer is sending it in. Assistent 2 doesn’t bring the answer also. Hope someone is in a good mood to help us.

supreme2 avatar Mar 15 '19 02:03 supreme2

Heyo there, just tested it out and calibrated the gimbal on Mavic Air without issue. If you run the GimbalCoarse calibration with MAVIC then it calibrated no worries. Have just installed a new gimbal myself and was searching for calibration software, this worked perfectly.

BradyAJohnston avatar Mar 31 '19 10:03 BradyAJohnston

Thank you for sharing; good to know it works. For Mavic Air, you should use WM230 as platform code (though currently it follows the same path as MAVIC).

mefistotelis avatar Mar 31 '19 10:03 mefistotelis

Is separation of VM230 and MAVIC (and their other equivalents) something that is going to occur in the future? Or just good practice to be using their codes instead.

BradyAJohnston avatar Mar 31 '19 12:03 BradyAJohnston

It's WM. Yes it might occur. The current path doesn't work for Mavic.

mefistotelis avatar Mar 31 '19 12:03 mefistotelis

Bunchofbradys, could you please confirm how you performed calibration? You run the same command as for SPAK for gimbal coarse? Or was there needed something to modify? Thanks.

davidhaluska avatar Apr 16 '19 04:04 davidhaluska

@davidhaluska I used the MAVIC as the platform code (use WM230 as discussed above) and the Gimbal Coarse calibration which worked with my Mavic Air without and trouble.

BradyAJohnston avatar Apr 16 '19 04:04 BradyAJohnston

Could you please specify how to use WM230 as platform code? How I need to configure that? Thanks.

davidhaluska avatar Apr 16 '19 04:04 davidhaluska

Command line help and readme should give you everything you need:

./comm_og_service_tool.py --help

https://github.com/o-gs/dji-firmware-tools#comm_og_service_toolpy

mefistotelis avatar Apr 16 '19 09:04 mefistotelis

Thank you guys, I will respond here once I will test it also with version of firmware tested on.

davidhaluska avatar Apr 17 '19 08:04 davidhaluska

Hello there; You can use the repair tools program for DJI spark and mavic air models. Drive link; https://drive.google.com/open?id=1nJ59_l6FTYC9brDbShZC_V4D9JWRVy7L repair

Lawesslee avatar May 24 '19 03:05 Lawesslee

Hi is this still working ?? I had to install a new maincore board on mavic air and cant get the gimbal to work now with the new board . Anyone ??

fargnoli1969 avatar May 29 '19 23:05 fargnoli1969

Yes program is running. You can calibrate your mavic air device after the new gimbal tactics. but there is a situation. you need to use new product. If you use the used gimbal, there may be an activation problem.

Lawesslee avatar May 30 '19 09:05 Lawesslee

Hi it keeps failing . Have you got any instructions ?? How to setup and use this tool ?? Also i have changed the maincore board but my used camera and cant get to work . Camera is skewed but was working with older board . Thanks

Sent from my iPhone

On 30 May 2019, at 10:40, Lawesslee [email protected] wrote:

Yes program is running. You can calibrate your mavic air device after the new gimbal tactics. but there is a situation. you need to use new product. If you use the used gimbal, there may be an activation problem.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

fargnoli1969 avatar May 31 '19 07:05 fargnoli1969

no need to install the program. Run the repair tool exe and press the join coarse calib button from the gimbal calib section. after a while the calibration will finish but it will give an error. This program is designed for DJI Spark model working in MAVIC air.

Lawesslee avatar May 31 '19 10:05 Lawesslee

Hi, I replaced gimbal purchased from Aliexpress. After use RepairTool 2.2.0.7 gimbal working but in DjiGo app is attention with camera error 3. Is there any way how to reset errors in Mavic Air?

zew302 avatar Jun 04 '19 16:06 zew302

The newly purchased gimballer runs smoothly. But it doesn't work on gimballer mavic air models that are used or disassembled on the device. According to the information I received recently, the dji has made such an application that the dismantled gimballer sold in the market does not work.

Lawesslee avatar Jun 04 '19 17:06 Lawesslee

It doesn't make sense because gimbal and camera works perfectly. Only problem is error attention on DjiGo app. There must be any solution to write serial number of camera and gimbal to main board on Mavic Air.

zew302 avatar Jun 05 '19 22:06 zew302

Just modify the firmware to ignore the error and not set the error flag in packet for the application. That way it won't matter whether the part is new or used, whether it's SN pairing or encryption pairing - it will just work.

This is what we did in Ph3 gimbal encryption pairing (Ambarella-DaVinci). The tool dm3xx_encode_usb_hardcoder.py can be used there to modify DaVinci firmware so that it sets "success" no matter what real verfication result was.

mefistotelis avatar Jun 05 '19 22:06 mefistotelis

Just like zew302 said, its been a while almost 2 months we have been waiting solution for Activation Error after replacing dji mavic air gimbal with the used(already activated device) gimbal. Dji go 4 app in andriod rarely requires activation, however the app on ios restrictedly ask for activation after raplacing gimbal or core board on Mavic air.
We figure out that we can calibrate gimbals by using Repair Tool that dji released for dji sparks. Even if the program gives fail error, calibration works as perfect as we expect it.

it was nice to see that you gave us a light of possibility in case @mefistotelis.

Would you please help us how to modify firmware so that we pass through the activation screen. Because everything works good. U can record video u can fly it but cant see the live feed.

Thanks in advanced for ur helps.

Any resources how to modify firmware accordingly would be really helpfull if you can provide us.

djicypservice avatar Jun 09 '19 14:06 djicypservice

I never analyzed Mavic Air firmware. Steps would be:

  1. Capture communication between the drone and mobile device
  2. Figure out which packets contains the information about activation issue
  3. Analyze the firmware, and find that packet/information there
  4. Figure out the variable which involved into that issue, and where it is set
  5. Change the function which sets it so that error is never visible That will allow fixing the issue for one specific firmware version. To fix it for all versions, you'll also need:
  6. Write a tool similar to existing 'hardcoders' which finds specific assembly pattern in the firmware and modifies it.

mefistotelis avatar Jun 09 '19 21:06 mefistotelis

Ofcourse.

Here is my phone numer. You can reach me out from whatsapp.

+90 533 336 93 15

20 Ağu 2019 Sal, saat 20:19 tarihinde jebtir [email protected] şunu yazdı:

Olá; Você pode usar o programa de ferramentas de reparo para modelos de ar de faísca e de mavic DJI. Link da unidade; https://drive.google.com/open?id=1nJ59_l6FTYC9brDbShZC_V4D9JWRVy7L [image: reparar] https://user-images.githubusercontent.com/34938540/58301472-3b79bb00-7def-11e9-945c-091f854a1f51.PNG

Any way to get in touch with you?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/o-gs/dji-firmware-tools/issues/114?email_source=notifications&email_token=AMJFTELLASKMVU5SI5MHKWDQFQRTRA5CNFSM4G6S5RJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4XA4DQ#issuecomment-523111950, or mute the thread https://github.com/notifications/unsubscribe-auth/AMJFTEPSOZD7UGSE23E25W3QFQRTRANCNFSM4G6S5RJQ .

djicypservice avatar Aug 20 '19 17:08 djicypservice

My Spark shows up as a regular COM, but the Repair Tool is asking for a DJI Virtual COM. The DJI drivers with Assistant 2 are installed just in case.

lensherm avatar Sep 12 '19 23:09 lensherm

have anyone solved the activation issue?

guewald avatar Sep 18 '19 15:09 guewald

I'm still waiting

zew302 avatar Sep 18 '19 16:09 zew302

Re: activation issue. While this may not help, these are the ways i know to resolve the issue

  1. write the s/n from a new non-activated gimbal to your used gimbal ( flash tool)
  2. use the dji tool - this is a tool dji released for the MA & M2 - not easy to get but it is alive.
  3. replace with new .. which sometimes does not work. ..if there is other ways, i would be very keen to know.

robxs1 avatar Oct 20 '19 11:10 robxs1

Re: activation issue. While this may not help, these are the ways i know to resolve the issue

  1. write the s/n from a new non-activated gimbal to your used gimbal ( flash tool)
  2. use the dji tool - this is a tool dji released for the MA & M2 - not easy to get but it is alive.
  3. replace with new .. which sometimes does not work. ..if there is other ways, i would be very keen to know.

Do you have this DJI TOOL?

guewald avatar Oct 20 '19 13:10 guewald

Re: questão de ativação. Embora isso possa não ajudar, estas são as maneiras que conheço para resolver o problema

  1. escreva s / n de um novo cardan não ativado no seu cardan usado (ferramenta flash)
  2. use a ferramenta dji - esta é uma ferramenta dji lançada para o MA & M2 - não é fácil de obter, mas está viva.
  3. substitua por novo .. que às vezes não funciona. ..se houver outras maneiras, eu gostaria de saber.

What tool are you talking about? And do you have any other tool to make the flash of SN?

mEfis-afk avatar Oct 20 '19 16:10 mEfis-afk

No, but there is a guy on slack who may help https://dji-rev.slack.com/archives/C64R5L1HN/p1566640302001700

robxs1 avatar Oct 20 '19 19:10 robxs1

No, but there is a guy on slack who may help https://dji-rev.slack.com/archives/C64R5L1HN/p1566640302001700

I'm unable to login to that slack workspace any idea how to get in touch with that guy?

davidhaluska avatar Jan 26 '20 09:01 davidhaluska