martin_bogo
lvl.1
United States
Offline
|
I need some advice, from one of the engineers who created the software in the Phantom 4:
In my Phantom, one of the env variables has been set, and it's stuck in "recovery" mode
# env boot.mode recovery
Because it's in this mode, the FTP daemon is not running, and rndis is not running correctly. The drone does not have an IP address, and the CPLD/FPGA is not routing the connections to the USB port that are needed.
This means that neither the DJI Assistant app, nor Go 4 App can connect to perform an up or downgrade.
I can connect to the drone, and some DUML commands are working as expected. For example, I can use Assistant to mount the flight logs, and Assistant does correctly see that the drone is a Phantom 4.
Assistant sends:
55 0E 04 66 2A 1F 10 27 40 00 01 00 08 70 U..f*..'@....p
The Drone then replies that it has reconfigured the route, and exposes the internal SDcard to the USB port
55 0E 04 66 C3 2A 99 3C 80 03 39 00 A3 9D 55 2A U..fÃ*™<€.9.£U*
04 9C 03 0A FF FF 00 00 0E 7F 20 20 35 39 33 34 .œ..ÿÿ... 5934
30 20 75 73 62 5F 73 74 6F 72 61 67 65 5F 73 65 0 usb_storage_se
74 75 70 0D 0A 00 3F FE tup...?þ
( Yes, I have an understanding of the inner workings of the DJI Phantom 4, Mavic, I2, etc... the markup language, and the embedded Linux OS. I have tried all the basic steps to recover from this situation, including allowing the battery to drain completely, attempting up and downgrades of the software, and using different platforms to attempt to make a change. )
What I need, is some kind of utility or DUML command that will clear the boot.mode, and/or enable ADBd so that I can run "env -d boot.mode", or some method that would allow for a complete factory reset of the drone which resets it out of the recovery mode.
As the developers know by now, root access to the Phantom, Mavic, Spark, I2 is possible, and in a normally working drone we know how to get things like adbd and even dropbear working. To say that this "requires the replacement of the main board" would be dishonest and a misdirection. I know this to be a software issue, and one that should be relatively easy to clear.
I direct this comment to the developer that said this : "你破解,我加固,求别互相伤害"
My reply is, "诚实的人静静地说出真相。 他们的话像台风一样弯曲世界。"
I humbly ask for your assistance, and await your answers.
Sincerely
Martin B.
DJI Reverse Engineering Team
|
|