Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
0xBADEAFFE opened this issue Feb 25, 2023 · 6 comments
Closed

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

0xBADEAFFE opened this issue Feb 25, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@0xBADEAFFE
Copy link

0xBADEAFFE commented Feb 25, 2023

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.

@Informatic
Copy link
Member

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

@0xBADEAFFE
Copy link
Author

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

@Informatic
Copy link
Member

Informatic commented Feb 25, 2023

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.

@0xBADEAFFE
Copy link
Author

0xBADEAFFE commented Feb 25, 2023

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.

@Informatic Informatic added the bug Something isn't working label Feb 25, 2023
@Informatic
Copy link
Member

Informatic commented Feb 25, 2023

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.

@Informatic Informatic pinned this issue Feb 26, 2023
@throwaway96
Copy link
Member

Fixed in 0.6.3 (0d4d893).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants