fpv-wtf / wtfos-configurator

Configurator for wtfos, with built in margerine
GNU Affero General Public License v3.0
42 stars 16 forks source link

adb no longer works in non DIY mode on latest firmware #334

Closed j005u closed 1 year ago

j005u commented 1 year ago

Device

Goggles V2

Trace ID (bototm left)

7d63a1a8-ed9e-453d-8e06-320463856f6a

Describe the issue

Previously this worked regardless of mode, but on the latest V2 ("FPV Mode") firmware adb no-longer works by default with secure_debug enabled.

Any command executed results in

- exec '/system/bin/sh' failed: Permission denied (13) -
using port=5555

It's fine if the user switches to DIY mode.

Haven't run into it much yet, but we should probably catch this and tell the user to switch modes in future.

j005u commented 1 year ago

This may also be due to other things I did to my goggles. Will report back.

j005u commented 1 year ago

Yup, turns out erasing the userdata partition makes non-DIY modes go all kinds of haywire.

This isn't something the configurator should really have to deal with.

If by some wonder some user should get themselves into this situation they can contact me for a userdata image to reflash with butter.

stylesuxx commented 1 year ago

Is this worth documenting somewhere? Maybe throw it in the wtfOS wiki?

j005u commented 1 year ago

The only reason I was running into it is because I manually erased my userdata partition. Haven't heard of anyone else running into this. Figured having the issue here being searchable should be enough.

stylesuxx commented 1 year ago

Perfect - makes sense.