webosbrew/webos-homebrew-channel

LG C2 - Lost root access after Update to homebrew channel v0.6.2

0xBADEAFFE opened this issue · 6 comments

After updating to to homebrew channel v0.6.2 on my LG C2, I no longer have root access. Even deactivating QuickStart+ did not help.

How did you update your Homebrew Channel? What was the previous Homebrew Channel version you had installed?

I had installed version v0.5.1 and updated to the new version in the app.

Just to clarify - in Homebrew Channel app itself? That sounds odd. Doing some investigation. Did you notice any notifications when performing an update? Normally self-updates should emit the following notifications:

  • Performing self-update...
  • Performing self-update (inner)
  • Elevating...
  • Self-update finished!

Figuring out which step failed may help with investigation.

One situation we know for a fact root functionality could get lost is when an update is performed outside of Homebrew Channel - eg. using dev-manager-desktop, or plain com.webos.appinstalld calls, since Homebrew Channel service would not get re-elevated.

Yes I did the update in the Homebrew Channel app. I did not get the notifications and after reboot root access and ssh/telnet is missing. The app YouTube Adfree, which I installed via Hombrew, still works.

Update: I got root again via crashd method.

Update: we've discovered tar has been replaced with busybox applet in webOS 22, breaking our oneliner responsible for package info extraction, which we use to detect homebrew channel self-updates...

We're investigating potential recovery and safe self-update method for webOS 22.

v0.5.1 has been brought back as latest version in webosbrew apps-repo to prevent further breakage.

Fixed in 0.6.3 (0d4d893).