Configurator for wtfos, with built in margerine

Overview

WTFOS Configurator

Root and configure your DJI HD FPV goggles and air-units via web interface.

Deployment

The app is automatically built and deployed to gh-pages. If forking this repository you will have to change the homepage property in package.json to point to the actual URL you want to use.

Development

Be aware that the exploit is only available in an obfuscated version. People with the correct permissions can pull in the exploit as a git submodule:

git submodule update --init

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode. Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes. You may also see any lint errors in the console.

yarn run build

Builds the app for production to the build folder. It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes. Your app is ready to be deployed!

Reverse-Shell to device

In the project directory, run:

yarn device-shell

This will spawn a reverse-shell-server on port 8000.
you can change the port by passing -p PORT or --port PORT

After that, head over to the CLI-Tab, expand the "Reverse Shell"-card and connect.
You will now have a shell on your device from your regular terminal.

The shell is "persistent" when navigating the configurator as long as you don't refresh the page.
The web-based shell and the reverse-shell are synced.

Press Ctrl+D in the reverse-shell to disconnect and exit.

Sources for the reverse-shell-server can be found here

Comments
  • [LT150] dinitctl: connecting to socket /data/.dinitctl: No such file or directory

    [LT150] dinitctl: connecting to socket /data/.dinitctl: No such file or directory

    As I have already documented on Discord this Air Unit Light after rooted regularly does not allow correctly installed packages to run at boot for this dinit issue. But then imparting this command in CLI the two selected services instead run smoothly as you can see in the image, without giving that command i cannot activate them, so I lose them at every reboot:

    /opt/etc/init.d/rc.unslung restart

    immagine

    @j005u has already performed remote session to check what it might be but has not figured out where the problem lies, and from what I read on Discord @stylesuxx had helped someone solve this problem always on an Air Unit Lite, I don't know if he succeeded or not. We have already reflashed slot_1 to the stock version after checking the md5 of ota.zip with these commands, it gave no errors:

    unrd slot_1.status_successful 0 unrd slot_1.status_active 0 unrd slot_2.status_active 1 rm -rf /blackbox/wtfos reboot

    But even after this operation, after wtfos repair/fix the problem was not solved. Now in my ignorance if doing an initd restart after booting solves the problem one solution might be to create a check on whether the selected services actually start during boot (check of related PID or other), in case they are found to be disabled you run an rc.unslung restart, I think that would be the simplest solution. It is possible that the execution of that services at boot occurs at a time where they find a condition so they cannot be executed? I don't know. If you do not understand where efffectively the problem lies I think it is enough to find an empirical way to skip the problem. Tried with 606 and 608 firmware, same problem. Re-executed reflashing with Assistant as well, but I remain in a dead end. Without these services available at reboot the root in this unit is therefore useless. I've execute root and everything else with the configurator on three other identical units and I haven't had any problems, selected services are performed at boot regularly. I'm in your hands........ :-(

    opened by robustini 19
  • WTFOS

    WTFOS

    WTFOS is not installed. the ATTEMPT FIX button does nothing and the INSTALL button does nothing either. What should I do? I've been trying to install WTFOS for the second day. Root is done more than once successfully. wtfos

    support 
    opened by Daramidon 19
  • Rooted successfully, no compatible devices found.

    Rooted successfully, no compatible devices found.

    I'm able to root the devices fine and receive the success message at the end. Going to any other tab on the wftos page and clicking connect shows "no compatible devices found". If I go back to the root'ing page the device shows available in com ports.
    Same issue on v1 goggles, and caddx vista.

    support 
    opened by vruzy 18
  • Rooting causes browser crash (STATUS_ACCESS_VIOLATION) on DJI FPV Googles v2

    Rooting causes browser crash (STATUS_ACCESS_VIOLATION) on DJI FPV Googles v2

    When I try to root my googles my browser always crash with STATUS_ACCESS_VIOLATION. I also checked develop.fpv.wtf/root and I face the same problem.

    My setup

    • Windows 10 pro
    • All programs closed
    • Avast antivirus protection turned off UPDATE: I uninstalled it from the system and still get STATUS_ACCESS_VIOLATION
    • proper version on Googles (606 on both modes verified in the googles and in DJI Assistant)
    • proper USB-C data cable (original from DJI)
    • batteries charged, I wasn't touching any cable during first try (nothing was disconnected during the process)

    I've tested in on Chrome, Edge, different USB ports in my laptop and same issue occurs:

    image image

    Some dev tools log:

    Created new watcher...
    Startup check
    connect true true true
    Disposing old watcher...
    Created new watcher...
    00:01 Attempting Step 1...
    00:02 Device went away...
    Unlock step failed: DOMException: Failed to execute 'open' on 'SerialPort': Failed to open serial port.
    00:08 Device came back...
    00:11 Attempting Step 1...
    

    After that browser crashes.

    The additional problem that occurred after I tried rooting is that my googles are no visible in DJI Assistant anymore. I tried reinstalling it to the latest one v2.1.14 and same problem - no googles in DJI Assistant. UPDATE: in DJI Assistant sometimes I do see googles but just for less than 1 second. That is not problem of broken cable or port in laptop or in the googles.

    My feeling is that my googles are available in the system for less that 1 second and they are gone. From time to time they re-appear and are gone again. It was not happening before trying to ROOT. Connection was rock solid before I tried to root.

    support 
    opened by robertrypula 17
  • WTFOS installation becomes corrupt repeatedly & after the health check cleanup I need to re-root again

    WTFOS installation becomes corrupt repeatedly & after the health check cleanup I need to re-root again

    I suspect that this is similar to the closed case #192 ... but thought that I should report it.

    Have 2 Vista units rooted with wtfos installed & the msp-os & FCC patches ... one is on a 6s build & another on a 4s. Using the V2 goggles & all, both Vistas and goggles are on 0606.

    All is working solid on the 4s but not on the 6s ... the 6s repeatedly get it's wtfos stuck in the health checks & needs to be fixed there, after that I need to re-root, install wtfos again + the patches.

    Think I've narrowed it down to that the 6s battery often creates a spark (arcing) when I connect the xt60 to the quad ... imagine that can create a current spike which makes the Vista change slot to 2 (similar to quickly connect & disconnect the battery)? The 4s quad batteries never generates arcing & it's maybe the reason for it to work reliably?

    The other day I had the 6s quad powered on the bench & the OSD was working as it should in the goggles ... disconnected the battery, & an hour later I again connected the battery & got a pop sound due to arcing between the quad xt 60 & the battery xt60 ... & now the OSD wasn't working anymore. After connecting the Vista to the WTFOS configurator site the wtfos installation needed to be fixed.

    Read that you were working on a long term solution for this ... any news when this can be addressed?

    support 
    opened by slup67 17
  • WTFOS

    WTFOS

    hi rooted air unit but try to install wtfos it keeps rebooting and wont install wtfos rooted and installed wtfos on other of my airunits no problems and vistas rootng was successfull 20220902_184522

    more information needed 
    opened by stubugs 17
  • WTFOS is no longer recognized

    WTFOS is no longer recognized

    After successful root, installing of WTFOS and MSP-OSD it isnt recognized anymore. It works great on my desk directly after installing. but at the next day nothing works anymore. The configurator says i need to install WTFOS again on my vista, but the installation tooks only 2s and nothing changes. I tried different browsers, cables and reboot my vista many many times. im not able to use WTFOS on my vista anymore

    opened by Blueforcer 17
  • DJI Air Unit Will Not Root

    DJI Air Unit Will Not Root

    The root process successfully finds the Air Unit and the FW version is correct (01.00.0606). But it aborts in Step 1 because "Device did not reboot in time". Should this process work on Windows 7 with latest version of Chrome? Sometimes retrying causes Windows to go looking for a USB driver but it says it can't find it. DJI Assistant has no trouble talking to the Air Unit and WTFOS Configurator recognizes it so doesn't that mean the necessary drivers are already installed? I tried all four of the USB ports on this ASUS G74S machine. One doesn't respond at all and the other 3 all end up with the same result - Air Unit not rebooting in time. I tried it again on a Windows 10 pc with both Chrome and Edge. Same problem with Chrome. With Edge, it gets to Step 2 and aborts after 10 retries. This is a brand new Air Unit and it bound with my googles and worked fine before trying to root it. Battery voltage was good and it had plenty of cooling air from a strong fan. Thanks for any help you can provide!

    support 
    opened by Bookmdanno 14
  • fpv.wtf is not working

    fpv.wtf is not working

    hello, i have a problem with fpv.wtf the glasses v2 worked great! but with the air unit the root worked but when i try to connect it always throws me off the internet site what can i do? lg.

    support 
    opened by michi20blau 14
  • Configuration interface for packages

    Configuration interface for packages

    The UI could offer extended configuration options for packages that have them.

    We know already @bri3d needs a way to select the font for msp-osd and @funnel needs a way to switch between PAL/NTSC.

    On the other hand we can also expect there to eventually be an interface on the Goggles themselves for this, so I think this needs quite a bit of thought put into it how to actually handle it.

    discussion 
    opened by j005u 13
  • Root from Browser

    Root from Browser

    • [x] Test Googles V2
    • [x] Test on Vista
    • [x] Test on OG Air-Unit
    • [ ] Test Goggles V1

    Todo:

    • [x] Step 4 - Success! Rebooting... check multiple times
    • [ ] Use ping commands before invoking actual command
    • [x] Test timeout between device coming online and invoking the actual command
    opened by stylesuxx 12
  • OSD Overlay encoder error

    OSD Overlay encoder error

    Hi. For a week I can't overlay the recorded osd on my video. Updated to the latest version, selected fonts, tried absolutely everything, this error is issued every time. Please help me solve it. 2023-01-07_15-31-50 2023-01-07_15-32-16 2023-01-07_15-32-28

    opened by kubru 0
  • Can't connect Vista

    Can't connect Vista

    I can't connect my Caddx Vista with the configurator. On the developer version it shows up on the menu but then I get the "adb kill server" error. I tried to upgrade the driver with Zadig like someone else on this GitHub did but unfortunately it still doesn't work.

    Also and I don't know if that's related to the problem. When I connect my Vista the first time it isn't recognized as a USB driver, it's in the devices and printer menu. I always have to connect a second time so that it recognizes it as a USB driver.

    support 
    opened by EachGlobe 5
  • v2 goggles rooting

    v2 goggles rooting

    can't root my dji v2 goggles. It starts and then, 01:32 Aborted! Device did not reboot in time, please power cycle and try again. and when I recycle it does the same thing. what are I doing wrong?

    support 
    opened by chaneytrenching 15
  • Change log with version number, date of change & short change description for WTFOS installation & packages

    Change log with version number, date of change & short change description for WTFOS installation & packages

    Is this something that already exist somewhere? Would be nice to have it just to quickly glance over to see if anything have been updated... instead of needing to connect goggles or Vistas/Air units to the configurator to find out.

    Or is this too much administrative work?

    opened by slup67 7
  • Add OSD overlay tool

    Add OSD overlay tool

    Time to start pulling this together! I think it works well enough that it's worth getting it merged and dealing with it from there.

    Tried to keep the TS as separate as possible as suggested. All the main functionality is under osd-overlay in TS in it's own little bubble. The UX components are plain JS.

    All of the processing is done in a web worker to keep it all separate on that front.

    Remaining WIP tasks, I think:

    • Pepper in translations where they should be!
    • Rework UX generally. I'm not particularly happy with the layout, etc. You should be able to grab all of your files in a big bundle and just drag them onto the page and let it figure it out for you, e.g.
    • Expose errors in UX rather than getting folk to dig into developer console.

    The MP4 parsing, etc. needs broken out into it's own library because it's absolutely useful for other things. Bit of a longer term goal for me.

    opened by Knifa 10
Owner
fpv.wtf
fpv.wtf
Three.js-based room configurator (floor planner + product configurator)

Three.js-based room configurator (floor planner + product configurator) Live Features 1. FloorPlan Design Users can edit floorplan in 2d view mode. Th

Pegasus 55 Dec 28, 2022
Grupprojekt för kurserna 'Javascript med Ramverk' och 'Agil Utveckling'

JavaScript-med-Ramverk-Laboration-3 Grupprojektet för kurserna Javascript med Ramverk och Agil Utveckling. Utvecklingsguide För information om hur utv

Svante Jonsson IT-Högskolan 3 May 18, 2022
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
✏️ Extended Writer supercharges Kirby's built-in Writer field with useful marks, nodes and features you wish were built-in

Extended Writer Extended Writer supercharges Kirby's built-in Writer field and block with useful marks, nodes and features you wish were built-in. Fea

coralic 21 Nov 10, 2022
Complete Open Source Front End Candy Machine V2 Minter dAPP Built For The Frog Nation NFT Solana Project. Built With React, Candy Machine V2, Typescript

Complete Open Source Front End Candy Machine V2 Minter dAPP Built For The Frog Nation NFT Solana Project. Built With React, Candy Machine V2, Typescript

null 17 Sep 24, 2022
Clinton Mbonu 20 Jun 30, 2022
In this project, I built a simple HTML list of To-Do tasks. This simple web page was built using Webpack, creating everything from a JavaScript index file that imported all the modules and assets

To Do List In this project, I built a simple HTML list of To-Do tasks. This simple web page was built using Webpack, creating everything from a JavaSc

Andrés Felipe Arroyave Naranjo 10 Mar 31, 2022
`raaghu-mfe` is an opensource micro front end framework built on top of `raaghu-elements`, Bootstrap 5 and Storybook offering highly customizable UI components and built-in pages

`raaghu-mfe` is an opensource micro front end framework built on top of `raaghu-elements`, Bootstrap 5 and Storybook offering highly customizable UI components and built-in pages. Raaghu mfe can be used as a base to build complex components and UI layouts whilst maintaining a high level of reusability,flexibility with ease of maintenance.

Wai Technologies 160 Dec 30, 2022
In this project, I built a simple HTML list of To Do tasks. The list is styled according to the specifications listed later in this lesson. This simple web page is built using webpack and served by a webpack dev server.

Awesome books:JavaScript Using Modules In this project, I built a simple HTML list of To Do tasks. The list is styled according to the specifications

 Hassan Momanyi 10 Nov 25, 2022
This an CRUD app built were users can create, update and delete specific day to day tasks as they wish. The app is built using webpack and served with webpack dev server

Todo-List This an CRUD app built were users can create, update and delete specific day to day tasks as they wish. The app is built using webpack and s

Duane David 10 Sep 28, 2022
Redefined chart library built with React and D3

Recharts Introduction Recharts is a Redefined chart library built with React and D3. The main purpose of this library is to help you to write charts i

recharts 19.4k Jan 2, 2023
Multi-Dimensional charting built to work natively with crossfilter rendered with d3.js

dc.js Dimensional charting built to work natively with crossfilter rendered using d3.js. In dc.js, each chart displays an aggregation of some attribut

null 7.4k Jan 4, 2023
Simple yet powerful JavaScript Charting library built using d3.js

uvCharts Simple, robust, extensible JavaScript charting library built using d3 designed to help developers embed, build charts in less than couple of

Imaginea 267 May 20, 2021
Front-end framework with a built-in dark mode and full customizability using CSS variables; great for building dashboards and tools.

This is the main branch of the repo, which contains the latest stable release. For the ongoing development, see the develop branch. Halfmoon Front-end

Tahmid (Halfmoon UI) 2.8k Dec 26, 2022
Financial lightweight charts built with HTML5 canvas

Lightweight Charts Demos | Documentation | Discord community TradingView Lightweight Charts are one of the smallest and fastest financial HTML5 charts

TradingView, Inc. 5.8k Jan 9, 2023
:bar_chart: A library of modular chart components built on D3

Plottable Plottable is a library of chart components for creating flexible, custom charts for websites. It is built on top of D3.js and provides highe

Palantir Technologies 2.9k Dec 31, 2022
🌏 A Declarative 3D Globe Data Visualization Library built with Three.js

Gio.js English | 中文 React Version: react-giojs Wechat minigame: wechat usage Gio.js is an open source library for web 3D globe data visualization buil

syt123450 1.6k Dec 29, 2022
The most powerful headless CMS for Node.js — built with GraphQL and React

A scalable platform and CMS to build Node.js applications. schema => ({ GraphQL, AdminUI }) Keystone Next is a preview of the next major release of Ke

KeystoneJS 7.3k Jan 4, 2023
A Programming Environment for TypeScript & Node.js built on top of VS Code

Programming Environment for TypeScript & Node.js A battery-included TypeScript framework built on top of Visual Studio Code Website Kretes is a progra

Kretes 677 Dec 11, 2022