Bin4ry / deejayeye-modder

Other
362 stars 144 forks source link

DJI Spark ForceFCC not working. #23

Closed NaruZosa closed 7 years ago

NaruZosa commented 7 years ago

Hey, I tried flying my DJI Spark on the the latest firmware today with mod version 26, app version 4.1.2

It only flew 500m before disconnecting, then I was returning it and when it was 100 meters away it disconnected and refused to reconnect. The drone eventually returned to where it was launched from, luckily, otherwise I wouldn't have been able to get it back. After it returned, I tried turning off the remote but ran into the same issue mentioned here: https://forum.dji.com/thread-100339-1-1.html

The video recorded is 2GB, I removed the micro sd from my Spark to review the footage, but it is corrupted.

The patches I used are ForceFCC, RemoveUpgradForce, RemoveFwUpgradeService and enableMavicFlightModesOnSpark.

I was connected to the spark with USB OTG on a Oneplus 3.

If there are any more details I can provide, please let me know.

Edit: Forgot to mention, when connected to the Spark, it mentions the WAN and regulations, I think this is related to the FCC mod not working.

LeChuck71 commented 7 years ago

hm, on my Spark I only have the ForceFCC enabled.

It does not complain on startup about a different CC (Country Code). If you got to Controller Serial and tab on it, the CC selector window should come up and it should say US - that's what it does on mine.

I didn't test the patch outside but can see a great improvement inside through thick concrete walls - so I guess the FCC mode is enabled.

Pathogenius commented 7 years ago

'RemoveFwUpgradeService' is probably not going to help. Using that patch may infact be the problem, and apparently is for a small number of people who held to very old firmware (which is no longer needed now that firmware can be rolled back or forward at will, so I've heard), and wanted to hide their old firmware version from the app for some reason.

You can do what LeChuck71 said as well to see if the country code did infact get put to 'US', and rebuild your apk with just the FCC patch for testing.

NaruZosa commented 7 years ago

Awesome, thanks for the info.

Rebuilding the app with only the FCC and flight modes patch, and if I still have issues, I'll try with only FCC.

I had leftover application data too, which could potentially cause problems, so I'll remove it as well and report back with how I go.

Bin4ry commented 7 years ago

Hey, i did develop the patching system exactly for the DJI Spark. Firt of all you write you used app version 4.1.2, the patches were developed for app verson 4.1.3. Infact all patches are working together perfectly on a Spark (which i use and personally test all the patches on that i or others contribute). So first please start with the correct app version ;-), then make sure you use a less polluted wifi band. 5.8GHz mainly is BAD if there are many objects since it has a much worse penetration depth than 2.4 GHz. IF you are using an OTG cable for your remote this might help big times, if so i would suggest you try to the patch which enables you band selection when using the RC (only downside, i was not able to activate the wifi-pollution graph yet when using the RC).

Also for what i have tested, use FW300 (you can still downgrade through assistant!) FW300 seems to work much better than FW400. Everything seems to work on 300 even the quickshots which are broken on newer firmware. So if i were you i would build a full version again on top of 4.1.3 ;) I think your problems will be gone then most likely.

LeChuck71 commented 7 years ago

out of topic You really use 300 FW instead of 400? Mine Spark is working fine so far - did not try the QuickShots because of the reported problems.

Bin4ry commented 7 years ago

Yep, i downgraded to 300 and quickshots are working now now. I had big issues with them on 400. Dronie had no altitude and helix was nearly gone already after 1/4 of the circle. Downgrade to 300 again and everything on the quickshots startet working. They are still not perfect but useable. F.e.: Dronie, it flies backwards but if you get some winds it drifts with the wind. But you can use them on 300 very nice now :)

NaruZosa commented 7 years ago

Thanks for all the info!

I messed up and downloaded the app from https://apps.evozi.com/apk-downloader/?id=dji.go.v4 instead of with the plugin, I now see that it says Last Fetched: 2017-06-24 17:04:33

I'm using an OTG cable, and there isn't much interference, but I'll change to 2.4 GHz to be safe.

Do I simply downgrade within the app?

Thanks for all the information you've given me, you're a real savior :)

LeChuck71 commented 7 years ago

Just cloned the git to my desktop and checked changes. Then i double checked the app version - using the suggested site I get V4.1.2 as a download - how can that be? Check image - the link was created 1 minute ago image

Play Description says updated: 30. June 2017

NaruZosa commented 7 years ago

It looks like they cache app versions for up to a month, it's two days less at the moment.

It should update in 2 days, alternatively you can use the extension to download it without using the website, which is what is suggested.

Oddly, I cannot find the link to download the extension.

Bin4ry commented 7 years ago

Bradley seems right. Another source which you can check is apkmirror. They should have it 😉

BradleyDS2 notifications@github.com schrieb am Sa., 22. Juli 2017, 10:58:

It looks like they cache app versions for up to a month, it's two days less at the moment.

It should update in 2 days, alternatively you can use the extension to download it without using the website, which is what is suggested.

Oddly, I cannot find the link to download the extension.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/Bin4ry/deejayeye-modder/issues/23#issuecomment-317168511, or mute the thread https://github.com/notifications/unsubscribe-auth/AApiLPej7CLUC4Xuatw1Hrtq1g9GDOzVks5sQbm3gaJpZM4OgED1 .

LeChuck71 commented 7 years ago

yep, apkmirror got the correct version 4.1.3 ;) Maybe there should be a reminder to double check version numbers before downloading.

NaruZosa commented 7 years ago

Looks like the extension was removed from the chrome store, check here: https://apps.evozi.com/apk-downloader/extension.php

Would it be possible to have the instructions on the main page saying to download the apk link give a link elsewhere, such as the apkmirror url http://www.apkmirror.com/apk/dji-technology-co-ltd/dji-go-4

Thanks :)

Bin4ry commented 7 years ago

The extension can be installed manually, but i will add apkmirror to the ReadMe

BradleyDS2 notifications@github.com schrieb am Sa., 22. Juli 2017 um 11:13 Uhr:

Looks like the extension was removed from the chrome store, check here: https://apps.evozi.com/apk-downloader/extension.php

Would it be possible to have the instructions on the main page saying to download the apk link give a link elsewhere, such as the apkmirror url http://www.apkmirror.com/apk/dji-technology-co-ltd/dji-go-4

Thanks :)

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/Bin4ry/deejayeye-modder/issues/23#issuecomment-317169492, or mute the thread https://github.com/notifications/unsubscribe-auth/AApiLFIB1Vgd5CmnrB7Ekr8XZ6rX-xFVks5sQb1GgaJpZM4OgED1 .

NaruZosa commented 7 years ago

LeChuck, they literally just did: https://github.com/Bin4ry/deejayeye-modder/commit/592a9d62b7c58629f56cf77716eea825a0af4b2e

Bin4ry commented 7 years ago

Hehe, i first wrote the answer then i updated the readme #FastFingers

LeChuck71 commented 7 years ago

top ;)

Bin4ry commented 7 years ago

If you have any suggestions for what changes would be nice i am happy to look into them :) Also i am waiting for the feedback of @BradleyDS2 now with 4.1.3

NaruZosa commented 7 years ago

Sorry, I'll be about half an hour. Live in Australia, and have 5 megabit connection for the whole house to share.

Bin4ry commented 7 years ago

i see :D

NaruZosa commented 7 years ago

As a suggestion, would it be possible to remove the 500m height limit, or would you be uncomfortable doing that due to the risks it may pose?

Bin4ry commented 7 years ago

you can do that through DJI assistant method.

NaruZosa commented 7 years ago

Ah okay. Stupid question, but how, and what is the DJI assistant? Sorry for the newbie question...

Bin4ry commented 7 years ago

DJI Assistant can remove certain functions from the drone. Also you can use the software https://nolimitdronez.com/ for this, actually i think it is still free. You still need to run the DJI Assistant in background but the software will take care of setting the correct parameters from you. This software is trusted and done by a member of the awesome slack community (nearly all of us devs are there). Join it here: https://join.slack.com/dji-rev/shared_invite/MjA4MjQ2NjI4OTEzLTE0OTkzNTIyMjEtZjg5NWY1ZjlhZA

NaruZosa commented 7 years ago

It mentions on the download page to get a subscription, but I'll set it up and join the slack later, thanks!

Bin4ry commented 7 years ago

On the website under NLD ACTIVATION there is still an option to get a free key for the time of the promo. Get one until you can ;)

NaruZosa commented 7 years ago

Using enableMavic enableWifiOTG forceFCC removeUpdateForce App4.1.3 and Mod26 I still get the 'Switch WLAN settings Your aircraft is flying in different country/region" message. I'll do a test flight shortly.

NaruZosa commented 7 years ago

" Sorry - this product is no longer available " for the free key :(

Bin4ry commented 7 years ago

ok then you can either buy it / do it manually / ask coldflake in slack if you can get a free key ;)

NaruZosa commented 7 years ago

Just completed my test flight.

The CC selector window says US but it disconnected at 530m...

I'll do another build with only ForceFCC once I set up NLD, possibly in the morning.

Bin4ry commented 7 years ago

IF the selector shows US then you are using FCC, if it disconnects or not means nothing here, it most likely disconnects because the WIFI range is just not getting you the range you want. Did you do your test on 5.8 or 2.4? I suggest do it on 2.4 and test again. I bought the drone in the US and brought it back to Europe with me, even in the US where FCC is chosen automatically without any hack i was not able to get much over 500meters with 5.8G but with 2,4G i can go MUCH further. 5.8 is crap for stuff like this, as soon as there is ANYTHING in your way you will loose control immediatly.

EDIT: To be able to choose the band you need the latest patch "enableSparkWifiChannelSelectOnOTG"!

NaruZosa commented 7 years ago

Ah, okay. Sorry for jumping to conclusions.

Should we close the issue now then?

On an unrelated note, in the slack they mentioned dji.retroroms.info and it has a bunch of guides. As I am a new user, can you suggest which guides to follow to get the most out of my drone? Thanks for this, I'm still trying to get my head around everything.

Bin4ry commented 7 years ago

there are only 6 guides, just read one at a time ;)

closing this now as fcc is working

NaruZosa commented 7 years ago

Ok, will do.

Also, I just tried 2.4GHz and got about 50 meters less than 5.8GHz

Bin4ry commented 7 years ago

Ok, maybe your area is just "too polluted" then. It is a real issue with wifi, make also sure you put your antennas in the right direction. (see in the spark manual for that). In my area i can only go around 200 meters because there is too much wifi pollution, once i go into nature i can easily go over 1km without having issues (did not test further yet, too afraid :D )

Take a laptop and do some scans with "inSSIDer Home" to get the less polluted wifi channel and adjust your aircraft to this channel. Also make sure you deactivate BT and Wifi on your phone when using the OTG cable, they cause additional interference with your Remote and may reduce the range you get. With the latest patch i mentioned above you can easily select the best channel you determined before and then you should get the best out of your aircraft. So summary: 1.) Check your antenna position on the remote, consult the manual for the best position 2.) Check which wifi channel is less used 3.) Adjust to the corresponding channel with the latest patch 4.) Disable wifi and BT on your phone while flying

NaruZosa commented 7 years ago

Dude, I love you. You always give such detail so quickly!

1)Antenna were pointing correctly 2)WiFi isn't common here, due to the high number of elderly residents, so it's not crowded but I'll double check. 3) So just choose the one with least pollution 4)Wifi was disabled, but I forgot to disable BT

I'll take it for a fly tomorrow, my backyard exits to a nature reserve so that works well.

I wouldn't have expected much interference over a hundred meters in the air, but I'll keep it in mind :)

Bin4ry commented 7 years ago

yeah, it is kinda hard to tell. There might be interference with other stuff using the same frequencies, i am not sure what uses this frequencies where you live. So this stuff is always VERY hard to predict. Just keep that all in mind and try on another spot and so on. The biggest downside of the Spark is that it uses plain wifi, plain wifi is very polluted, even elderly people might have a wifi router etc in their homes without even knowing and ONE of this things might be enough to kill your signal at some point. ;)

NaruZosa commented 7 years ago

Okay, thanks. I'll give it another shot tomorrow in the nature reserve, I'll let you know how it goes.