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

DJI Mavic Air gimbal calibration #114

Open davidhaluska opened 5 years ago

davidhaluska commented 5 years ago

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.

supreme2 commented 5 years ago

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.

BradyAJohnston commented 5 years ago

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.

mefistotelis commented 5 years ago

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).

BradyAJohnston commented 5 years ago

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.

mefistotelis commented 5 years ago

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

davidhaluska commented 5 years ago

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.

BradyAJohnston commented 5 years ago

@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.

davidhaluska commented 5 years ago

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

mefistotelis commented 5 years ago

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

davidhaluska commented 5 years ago

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

Lawesslee commented 5 years ago

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

fargnoli1969 commented 5 years ago

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 ??

Lawesslee commented 5 years ago

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.

fargnoli1969 commented 5 years ago

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 notifications@github.com 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.

Lawesslee commented 5 years ago

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.

zew302 commented 5 years ago

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?

Lawesslee commented 5 years ago

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.

zew302 commented 5 years ago

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.

mefistotelis commented 5 years ago

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.

djicypservice commented 5 years ago

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.

mefistotelis commented 5 years ago

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.
djicypservice commented 5 years ago

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 notifications@github.com ş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 .

lensherm commented 4 years ago

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.

guewald commented 4 years ago

have anyone solved the activation issue?

zew302 commented 4 years ago

I'm still waiting

robxs1 commented 4 years ago

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.
guewald commented 4 years ago

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?

mEfis-afk commented 4 years ago

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?

robxs1 commented 4 years ago

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

davidhaluska commented 4 years ago

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?

akome-29 commented 4 years ago

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.

Dismantle the camera sensor and return the previous sensor...

akome-29 commented 4 years ago

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.

Just return the previous camera sensor and install it to a new gimbal motor

Menz82 commented 4 years ago

The Repairtool works perfectly with my Mavic Air!

Problem is camera error 3. I can‘t downgrade from V01.00.0620.

Does anyone have a solution?

BensTV commented 4 years ago

The Repairtool works perfectly with my Mavic Air!

Problem is camera error 3. I can‘t downgrade from V01.00.0620.

Does anyone have a solution?

Take a look here: https://phantompilots.com/threads/old-software-links-etc-downgrades.123249/

BensTV commented 4 years ago

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.

Hi Guys. Is there any new informations about this issue? I just replaced the Gimbal & Camera but i can't bypass the activation pupup in the Dji App. Thanks in advance !!

Menz82 commented 4 years ago

I tried to downgrade from v01.00.0620 to 01.00.0520 and 01.00.0500 with Dumldore 3.20 not possible! I was hoping to delete the camera error 3 with it, unfortunately did not work

mauriciocruzdeveloper commented 4 years ago

Hola. La solución es usar el sensor de la cámara original en el gimbal nuevo. Hay que desarmar el gimbal nuevo, quitar el sensor de la cámara nuevo y colocar el sensor de la cámara original. Luego volver a armar el gimbal. De esta manera se soluciona el problema. Saludos cordiales. Soy mauriciocruzdrones.com

nettunoroberto commented 3 years ago

I tried to downgrade from v01.00.0620 to 01.00.0520 and 01.00.0500 with Dumldore 3.20 not possible! I was hoping to delete the camera error 3 with it, unfortunately did not work

You have found any solutions for this error?

mingtaoxin commented 3 years ago

Just buy or find free vpn and dealer software DJI , and you can erase error code 3..

mingtaoxin commented 3 years ago

Look software on ebay

nettunoroberto commented 3 years ago

Just buy or find free vpn and dealer software DJI , and you can erase error code 3..

Can you help me?

nettunoroberto commented 3 years ago

Look software on ebay

My searches on the web and on ebay have not been successful

mingtaoxin commented 3 years ago

http://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=2&pub=5575378759&campid=5338273189&customid=&icep_item=402360616745&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=lg&toolid=11111

mEfis-afk commented 3 years ago

http://rover.ebay.com/rover/1/711-53200-19255-0/1?icepff3=2&pub=5575378759&campid=5338273189&customid=&icep=402360616745&ipn=psmain&icep_vectoridto

Do you have WhatsApp to contact or email?

mingtaoxin commented 3 years ago

I just share link, so i not super expereinced in this tools

mEfis-afk commented 3 years ago

Acabei de compartilhar o link, então não tenho muita experiência com essas ferramentas

I know. I was supposed to ask you about something else. Anyway, does this tool work on Mavic Air and Mavic mini? or just mavic 2?

mEfis-afk commented 3 years ago

Has anyone managed to take this VPN and use it?

coptersafe commented 3 years ago

https://www.ebay.com/itm/402504779633

pilgrimage80 commented 3 years ago

Mavic mini bought a gimbal from aliexpress. I cannot calibrate this gimbal. Can anyone fix this problem?

robxs1 commented 3 years ago

The tool works. Note that the mini port closes in 10seconds. You need to have the script ready to go as soon as the mini boots. Check the device manager and you will see the usb port open and close. otherwise, Its possible that the video cable, gimbal or board is faulty. In our experience the refurbished mini parts are 50% defective.