Phantom 3 Standard range mod , let's do it together...

it is not perfect at this moment, i have to set a fixed channel when boot, or telnet to change it manually, because dji use a binary program to auto select channel when bootup, and use channel 2/6/10 only

You can choose any channel you want, here is how I did it to make channel 13 permament:

Renamed /sbin/chansel to /sbin/chanseloriginal (just in case i need it later)
New /sbin/chansel looks like this :

#!/bin/sh
echo "best chn = 13"
sed -i "s#^channel=.*#channel=13#g" /tmp/run/hostapd-phy0.conf


Just make sure to give it proper file permission to execute
chmod g+x /sbin/chansel
chmod u+x /sbin/chansel
chmod o+x /sbin/chansel


Quick and dirty, all the original chansel used to do was set 2, 6 and 10 sometimes. I checked the traffic in the area on another monitor and it was completely wrong. Those are actually busy channels.
 
Last edited:
  • Like
Reactions: Sinisalo
Ojcze Nasz

Can you please give a over view what was done, to get your finial result?
As there too many feeds to see what your finial result.


Thanks
 
Any other report on range improvement after the hack? I'm away from home now, so can't get hold on the drone yet.
Sent from my iPhone using PhantomPilots mobile app

Nobody has time to report. They're all busy making youtube video proudly presenting themselves as hack gurus.
 
Last edited:
  • Like
Reactions: TDKUK and pszem
So I can confirm that I can indeed fly further then before. Depending on the location, I get more or less. Around my neighborhood at home, I dont get as much as I did today with my test while at work.

I also did try the wifi channel 13 mod which did not work. I will have to see what I did wrong on that one.

Thanks for the TX mod help though!
 
  • Like
Reactions: Phantom_Bintaro
Thank for your efforts. I tried to change the mode to FCC. I did check the message that was changed US without GPS signal(indoor) But, it was returned back to GB(CE mode) when my drone received GPS signal and recorded home point.
 
I wish you all well but for the ones who Aren't programmers I think your playin w/ fire!
 
Nobody has time to report. They're all busy making youtube video proudly presenting themselves as hack gurus.
Hey Ojcze, I think i have to post my result on your mod as well. After my test flight (attached a screenshot), I can say your range mod method are great success!
I did 1681m (5515 ft) range on my Phantom 3 Standard !! It nearly 3 times range extend:)
 

Attachments

  • Screenshot_2016-06-13-19-00-31.png
    Screenshot_2016-06-13-19-00-31.png
    1.6 MB · Views: 582
  • Like
Reactions: jeganx
I do not yet feel comfortable to perform such a mod since i have no programming experience, but my question is how can you people check the quality of the channels or which wifi channel is used? I never have seen this tab in the dji go app where it shows all the wifi channels, the quality and the actual channel used! The only thing related, is that 3rd party app litchi allows you to choose between all the "32" channels but i have not tested so far if auto makes a difference from choosing custom channel 30 for example.

PS: I always had the impression that the 32 wifi channel selection was meant for the lightbridge technology which we lack.

Cheers,
Nick
 
Last edited:
  • Like
Reactions: AngryBird
+x in where? What is +x? So I won't make the same mistake.


Sent from my iPhone using PhantomPilots mobile app
In my case I use an old linux box to connect to the RC wi-fi. Then I ftp the two rcS files (on 192.168.1.1 and 192.168.1.2) as described. Using the vi editor to apply the changes and writing the files back with command :wq this however does not preserve the executable right on the file! So before uploading the file(s) again one need to perform a chmod +x on each file to reinstall the execution rights otherwise the file will not execute. It may be that some other editors preserve the +x on the files when writing back the changes but vi does not!
 
  • Like
Reactions: Phantom_Bintaro
I'm not sure if this also affect 5.8Ghz.
Definitely improves video link + telemetry which both run on 2.4Ghz.

5.8Ghz is one way only non-wifi transmission from remote to drone. If you look few posts up there are my range test results.
At 1.5km I lost 5.8 but my video and telemetry was still 100%.
The signal strength of the 5.8 and 2.4 is reported back via 2.4. So that's why I was able to see 0% on control link, and 100% on video.

I had full view all the way to the waypoint and back except for few missed frames.
I ALWAYS lose video before control signal, but since all info on screen also is lost when losing video, I am "double" flying blind.
So boosted video world be fine for me as I am already able to go at least 1,3 km CE mode (in interference free area) before losing video and still have control. :)


Sent from my iPhone using PhantomPilots mobile app
 
Thank for your efforts. I tried to change the mode to FCC. I did check the message that was changed US without GPS signal(indoor) But, it was returned back to GB(CE mode) when my drone received GPS signal and recorded home point.
Anyone know what could be the reason for this?


Sent from my iPhone using PhantomPilots mobile app
 
You can choose any channel you want, here is how I did it to make channel 13 permament:

Renamed /sbin/chansel to /sbin/chanseloriginal (just in case i need it later)
New /sbin/chansel looks like this :

#!/bin/sh
echo "best chn = 13"
sed -i "s#^channel=.*#channel=13#g" /tmp/run/hostapd-phy0.conf


Just make sure to give it proper file permission to execute
chmod g+x /sbin/chansel
chmod u+x /sbin/chansel
chmod o+x /sbin/chansel


Quick and dirty, all the original chansel used to do was set 2, 6 and 10 sometimes. I checked the traffic in the area on another monitor and it was completely wrong. Those are actually busy channels.


if replace /sbin/chansel with your script to patch /tmp/run/hostapd-phy0.conf for channel=13 permament, you must set "iw reg set BO" in both rcS file, otherwise if RC default reg = US or GB, channel 13 is default disabled, i think wlan0 can't be startup and RC will be bricked
 
Last edited:
You can choose any channel you want, here is how I did it to make channel 13 permament:

Renamed /sbin/chansel to /sbin/chanseloriginal (just in case i need it later)
New /sbin/chansel looks like this :

#!/bin/sh
echo "best chn = 13"
sed -i "s#^channel=.*#channel=13#g" /tmp/run/hostapd-phy0.conf


Just make sure to give it proper file permission to execute
chmod g+x /sbin/chansel
chmod u+x /sbin/chansel
chmod o+x /sbin/chansel


Quick and dirty, all the original chansel used to do was set 2, 6 and 10 sometimes. I checked the traffic in the area on another monitor and it was completely wrong. Those are actually busy channels.

Here is my script for Auto scan best channel from 1 to 13 (set unused channel), it will patch RC and drone as same time, then show wifi detail result after patch completed.
I don't touch DJI original /sbin/chansel because it is a binary file and I don't know what it done
so let's the original boot process complete, then execute custom script to avoid bricke the RC

- How to install
1) save script as "selchan.sh" at /usr/sbin and chmod 775
2) enable telnet.d in rcS file at rc and drone
3) Patch force FCC mode if necessary
4) turn on rc and drone
5) telnet 192.168.1.1 and execute selchan.sh
6) check onscreen result, if result ok with no error, add "sleep 30" and "selchan.sh" in RC rcS file at last line to make it auto run when boot (sleep 30 for avoid script run b4 drone connected to RC)
7) user also can execute with argument to set channel number manually, eg : selchan.sh 13

PS: if you want to disbled telnet.d after make it auto execute when RC boot, You can add "iw reg set BO" in rcS at both side and remove "#patch drone side to BO" inside the script

PS2: Wifi channel can be change during in flight ! execute the script by android telnet program, and video downlink stream in DJI GO will be resume after network restart completed !!

===========================================================================
#!/bin/sh
#Auto scan and set unused Wifi channel for Phantom 3 Standard / 4K
#Author : Gary Kan
#Date : 14/06/2016
#Version 1.0

updated : script moved to post#266
 
Last edited:
Here is my script for Auto scan best channel from 1 to 13 (set unused channel), it will patch RC and drone as same time, then show wifi detail result after patch completed.
.
.
.
iwinfo
echo "Patch Completed, Enjoy."
fi

Here is the script log, I save it at /etc/init.d when test, so pls ignore the path
==============================================
/etc/init.d # ./setchan.sh
Checking Connection with Phantom 3 Standard / 4K . . .
Connection - OK.
Channel 1 - In Use
Channel 2 - In Use
Channel 3 - In Use
Channel 4 - In Use
Channel 5 - In Use
Channel 6 - In Use
Channel 7 - In Use
Channel 8 - In Use
Channel 9 - In Use
Channel 10 - In Use
Channel 11 - In Use
Channel 12 - Not In Use
Set CH to 12
Try To Setting Channel = 12 . . .
Patched channel=12

Checking Connection with Phantom 3 Standard / 4K . . .
Connected . . .
Patching Phantom 3 Standard / 4K at 192.168.1.2 . . .

Entering character mode
Escape character is '^]'.




BusyBox v1.22.1 (2015-06-29 19:28:31 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/ # iw reg get
country US: DFS-FCC
(2402 - 2472 @ 40), (N/A, 30), (N/A)
(5170 - 5250 @ 80), (N/A, 17), (N/A)
(5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS
(5735 - 5835 @ 80), (N/A, 30), (N/A)
(57240 - 63720 @ 2160), (N/A, 40), (N/A)
/ # iw reg set BO
/ # iw reg get
country BO: DFS-JP
(2402 - 2482 @ 40), (N/A, 30), (N/A)
(5735 - 5835 @ 80), (N/A, 30), (N/A)
/ # iw dev wlan0 set txpower limit 2700
/ #
Patching Phantom 3 Standard / 4K - RC . . .

Restarting AP, it may take a moment . . .
Configuration file: /var/run/hostapd-phy0.conf
Using interface wlan0 with hwaddr 60:60:1f:0b:d8:db and ssid "GaryKan-P3"
wlan0: interface state UNINITIALIZED->ENABLED
wlan0: AP-ENABLED

Checking Final Result at 192.168.1.2 . . .

Entering character mode
Escape character is '^]'.




BusyBox v1.22.1 (2015-06-29 19:28:31 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/ # iwinfo
wlan0 ESSID: "GaryKan-P3"
Access Point: 60:60:1F:0B:D8:DB
Mode: Client Channel: 12 (2.467 GHz)
Tx-Power: 27 dBm Link Quality: 70/70
Signal: -37 dBm Noise: -95 dBm
Bit Rate: 130.0 MBit/s
Encryption: WPA2 PSK (CCMP)
Type: nl80211 HW Mode(s): 802.11abgn
Hardware: unknown [Generic MAC80211]
TX power offset: unknown
Frequency offset: unknown
Supports VAPs: yes PHY name: phy0

/ #
Checking Final Result at RC . . .
wlan0 ESSID: "GaryKan-P3"
Access Point: 60:60:1F:0B:D8:DB
Mode: Master Channel: 12 (2.467 GHz)
Tx-Power: 27 dBm Link Quality: 65/70
Signal: -45 dBm Noise: -95 dBm
Bit Rate: 65.0 MBit/s
Encryption: WPA2 PSK (CCMP)
Type: nl80211 HW Mode(s): 802.11abgn
Hardware: unknown [Generic MAC80211]
TX power offset: unknown
Frequency offset: unknown
Supports VAPs: yes PHY name: phy0

wlan0.sta1 ESSID: unknown
Access Point: 00:00:00:00:00:00
Mode: Master (VLAN) Channel: 12 (2.467 GHz)
Tx-Power: 27 dBm Link Quality: 70/70
Signal: -39 dBm Noise: -95 dBm
Bit Rate: 78.0 MBit/s
Encryption: none
Type: nl80211 HW Mode(s): 802.11abgn
Hardware: unknown [Generic MAC80211]
TX power offset: unknown
Frequency offset: unknown
Supports VAPs: yes PHY name: phy0

Patch Completed, Enjoy.
/etc/init.d #

========================================


Log for execute with INCORRECT User argument input
===========================================
/etc/init.d # ./setchan.sh 555
Checking Connection with Phantom 3 Standard / 4K . . .
Connection - OK.
User argument = 555
Input Error : Channel must be 1 to 13 !!
/etc/init.d #

===============================


Log for execute with User argument input
=======================================
/etc/init.d # ./setchan.sh 13
Checking Connection with Phantom 3 Standard / 4K . . .
Connection - OK.
User argument = 13
Try To Setting Channel = 13 . . .
Patched channel=13

Checking Connection with Phantom 3 Standard / 4K . . .
Connected . . .
Patching Phantom 3 Standard / 4K at 192.168.1.2 . . .

Entering character mode
Escape character is '^]'.




BusyBox v1.22.1 (2015-06-29 19:28:31 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/ # iw reg get
country US: DFS-FCC
(2402 - 2472 @ 40), (N/A, 30), (N/A)
(5170 - 5250 @ 80), (N/A, 17), (N/A)
(5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS
(5735 - 5835 @ 80), (N/A, 30), (N/A)
(57240 - 63720 @ 2160), (N/A, 40), (N/A)
/ # iw reg set BO
/ # iw reg get
country BO: DFS-JP
(2402 - 2482 @ 40), (N/A, 30), (N/A)
(5735 - 5835 @ 80), (N/A, 30), (N/A)
/ # iw dev wlan0 set txpower limit 2700
/ #
Patching Phantom 3 Standard / 4K - RC . . .

Restarting AP, it may take a moment . . .
Configuration file: /var/run/hostapd-phy0.conf
Using interface wlan0 with hwaddr 60:60:1f:0b:d8:db and ssid "GaryKan-P3"
wlan0: interface state UNINITIALIZED->ENABLED
wlan0: AP-ENABLED

Checking Final Result at 192.168.1.2 . . .

Entering character mode
Escape character is '^]'.




BusyBox v1.22.1 (2015-06-29 19:28:31 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/ # iwinfo
wlan0 ESSID: "GaryKan-P3"
Access Point: 60:60:1F:0B:D8:DB
Mode: Client Channel: 13 (2.472 GHz)
Tx-Power: 27 dBm Link Quality: 70/70
Signal: -33 dBm Noise: -95 dBm
Bit Rate: 57.8 MBit/s
Encryption: WPA2 PSK (CCMP)
Type: nl80211 HW Mode(s): 802.11abgn
Hardware: unknown [Generic MAC80211]
TX power offset: unknown
Frequency offset: unknown
Supports VAPs: yes PHY name: phy0

/ #
Checking Final Result at RC . . .
wlan0 ESSID: "GaryKan-P3"
Access Point: 60:60:1F:0B:D8:DB
Mode: Master Channel: 13 (2.472 GHz)
Tx-Power: 27 dBm Link Quality: 70/70
Signal: -40 dBm Noise: -95 dBm
Bit Rate: 60.6 MBit/s
Encryption: WPA2 PSK (CCMP)
Type: nl80211 HW Mode(s): 802.11abgn
Hardware: unknown [Generic MAC80211]
TX power offset: unknown
Frequency offset: unknown
Supports VAPs: yes PHY name: phy0

wlan0.sta2 ESSID: unknown
Access Point: 00:00:00:00:00:00
Mode: Master (VLAN) Channel: 13 (2.472 GHz)
Tx-Power: 27 dBm Link Quality: 70/70
Signal: -31 dBm Noise: -95 dBm
Bit Rate: 78.0 MBit/s
Encryption: none
Type: nl80211 HW Mode(s): 802.11abgn
Hardware: unknown [Generic MAC80211]
TX power offset: unknown
Frequency offset: unknown
Supports VAPs: yes PHY name: phy0

Patch Completed, Enjoy.
/etc/init.d #
==================================================================
 

Members online

No members online now.

Forum statistics

Threads
143,096
Messages
1,467,625
Members
104,982
Latest member
AnndyManuka