Coder Social home page Coder Social logo

v2 Goggles unable to lock about margerine HOT 14 CLOSED

fpv-wtf avatar fpv-wtf commented on June 3, 2024
v2 Goggles unable to lock

from margerine.

Comments (14)

j005u avatar j005u commented on June 3, 2024

I assume you're trying to undo wtfos? Do the following:

adb shell
opkg remove --force-removal-of-dependent-packages wtfos wtfos-system
wtfos-remove-adb
reboot

Skip the wtfos-remove-adb if you wish to retain basic adb access.
margerine.js lock isn't currently working properly.

from margerine.

DimitarKrastev avatar DimitarKrastev commented on June 3, 2024

Actually I never got to wtfos. I want to.
I initially unlocked with the master branch. I wasnt sure if the unlock feature in the 1.1-wip branch is different, so I decided to lock, refresh firmware, then switch to 1.1-wip, unlock and install wtfos and msp osd.

If I previously unlocked with master, can I just switch to 1.1-wip and execute node margerine.js payload to install wtfos and then proceed with msp osd?

from margerine.

j005u avatar j005u commented on June 3, 2024

Yes, you can do that.

from margerine.

DimitarKrastev avatar DimitarKrastev commented on June 3, 2024

So, if I previously unlocked with master, I am safe to switch to 1.1-wip and install wtfos? No need to lock/refresh/unlock firmware?

from margerine.

j005u avatar j005u commented on June 3, 2024

Yes, that's fine to do.

Also, msp-osd currently has a bug in the package and it crashes when you activate it.

You can use mv /opt/etc/fonts /opt/etc/font.bin && mkdir /opt/etc/fonts && mv /opt/etc/font.bin /opt/etc/fonts/font.bin to fix it after installing the package on goggles.

The package should get a fix soon.

from margerine.

DimitarKrastev avatar DimitarKrastev commented on June 3, 2024

Yeah, I noticed that it is probably crashing, I will apply the fix now, thanks.

Anything specific you need tested?

from margerine.

DimitarKrastev avatar DimitarKrastev commented on June 3, 2024

I installed the msp-osd-goggles package, opened the terminal and executed the command, but got:
mv: bad '/opt/etc/fonts': No such file or directory

from margerine.

j005u avatar j005u commented on June 3, 2024

Sorry, it's

mv /opt/fonts /opt/font.bin
mkdir /opt/fonts
mv /opt/font.bin /opt/fonts/font.bin

from margerine.

DimitarKrastev avatar DimitarKrastev commented on June 3, 2024

OK, that did it. Thanks, I will play arround with it.

from margerine.

Alia5 avatar Alia5 commented on June 3, 2024

I also have the same issue with the v1 Goggles.

found GP150
TypeError: Cannot read properties of undefined (reading 'install')
at C:\drones\margerine-master\src\exploit.js:1:168024
at async wrapSentry (C:\drones\margerine-master\src\utils.js:134:5)

I've tried to lock them in order to test Root from Browser fpv-wtf/wtfos-configurator#4

I've uninstalled WTFOS from the Browser, though, so maybe the another issue is better placed there.

from margerine.

j005u avatar j005u commented on June 3, 2024

Uninstall wtfos via the configurator. You'll still have CLI (adb) access, run:
wtfos-remove-adb

Margerine needs an update, it's trying to run an old uninstall method that is no longer compatible.

from margerine.

DimitarKrastev avatar DimitarKrastev commented on June 3, 2024

Any ETA for this? I would really like to revert to stock and refresh my firmware. I am experiencing weird issues with DJI menus freezing or lagging taking 10 seconds to register a click, etc. Thanks

from margerine.

Alia5 avatar Alia5 commented on June 3, 2024

Joonas already posted the solution

Uninstall wtfos via the configurator. You'll still have CLI (adb) access, run:
wtfos-remove-adb

This will re-lock your goggles.

From what I've gathered, after that you might wan't to downgrade and re-update your goggles via DJI configurator

from margerine.

j005u avatar j005u commented on June 3, 2024

@DimitarKrastev yeah, what @Alia5 posted. If you want a full reset then you need to downgrade and upgrade otherwise dji_upgrade won't actually flash things.

Could you at least tell us which packages you had installed that started to cause this problem?
Or ideally, try disabling all startup items and see if the problem persists?

I've been flying with a wtfos install daily and haven't seen such problems yet, but it could be some weird interaction between different packages.

from margerine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.