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

Certificate error when installing apps: "unable to get local issuer certificate" #179

Open
AntonFaer opened this issue Mar 17, 2024 · 50 comments
Labels
bug Something isn't working
Milestone

Comments

@AntonFaer
Copy link

17107146850928744775656814682801

Seems like all apps give this kind of error
Anybody knows how to fix this issue?
Thanks

@throwaway96
Copy link
Member

Since you didn't include any information whatsoever about your TV, I can only guess.

GitHub's previous certificate expired recently, and their new one uses a root that is probably not present on older webOS versions. Updating the firmware will not help, as the cert store embedded in node is unlikely to be any different.

A fix for this and similar certificate issues is planned for the next release of Homebrew Channel. Until then, you can manually download and install applications.

@AntonFaer
Copy link
Author

@throwaway96
Sorry forgot to mention:
LG OLED65C7P
SV: 06.05.10
Issue started 2 days ago.

Please guide how to install app manually.
Thank you

@throwaway96
Copy link
Member

throwaway96 commented Mar 17, 2024

curl -k -L -o /tmp/app.ipk '<URL goes here>'
luna-send-pub -w 10000 -i 'luna://com.webos.appInstallService/dev/install' '{"id":"com.ares.defaultName","ipkUrl":"/tmp/app.ipk","subscribe":true}'

You'll need to know the URL of the IPK you want to install.

Note that if you're installing/updating Homebrew Channel itself and your TV is rooted, remember to elevate after installing and before rebooting:

/media/developer/apps/usr/palm/services/org.webosbrew.hbchannel.service/elevate-service

You can also use Dev Manager.

@AntonFaer
Copy link
Author

I also have an update message on TV.
Will Homebrew work on SV 06.10.30?
Worth to update?

@throwaway96 throwaway96 added the bug Something isn't working label Mar 24, 2024
@throwaway96 throwaway96 added this to the 0.6.4 milestone Mar 24, 2024
@throwaway96 throwaway96 changed the title YouTube Adfree installation issue "An error occurred during installation..." certificate error: Mar 24, 2024
@throwaway96 throwaway96 changed the title certificate error: Certificate error when installing apps: "unable to get local issuer certificate" Mar 24, 2024
@jospezial
Copy link

I also have an update message on TV. Will Homebrew work on SV 06.10.30? Worth to update?

Could become harder to impossible for you to install webosbrew again with newer TV Software version.

@ThreeMuskets12
Copy link

Same issue here - I am on release v0.5.1. I know that getting to the v0.6.3 requires the safe updater app, but downloading the safe updater has the same problem. Is it recommended to SSH in and then manually download and install the safe updater app?

@jospezial
Copy link

https://github.com/webosbrew/dev-manager-desktop/releases
The appimage was my workaround for update youtube app.

@AntonFaer
Copy link
Author

Issue with the certificate came back again recently. Can't install any of the apps in homebrew. Any suggestions? Thanks.

LG OLED65C7P
SV: 06.05.10

@throwaway96 throwaway96 pinned this issue Mar 28, 2024
@1basti1
Copy link

1basti1 commented Mar 28, 2024

curl -k -L -o /tmp/app.ipk '<URL goes here>'
luna-send-pub -w 10000 -i 'luna://com.webos.appInstallService/dev/install' '{"id":"com.ares.defaultName","ipkUrl":"/tmp/app.ipk","subscribe":true}'

You'll need to know the URL of the IPK you want to install.

Hello

when I do that I get the following:

root@LGwebOSTV:~# curl -k -L -o /tmp/app.ipk 'https://github.com/we bosbrew/youtube-webos/releases/download/v0.3.2/youtube.leanback.v4_ 0.3.2_all.ipk' luna-send-pub -w 10000 -i 'luna://com.webos.appInsta llService/dev/install' '{"id":"com.ares.defaultName","ipkUrl":"/tmp /app.ipk","subscribe":true}' % Total % Received % Xferd Average Speed Time Time T ime Current Dload Upload Total Spent L eft Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --: --:-- 0 100 378k 100 378k 0 0 352k 0 0:00:01 0:00:01 --: --:-- 352k curl: (6) Could not resolve: luna-send-pub (Domain name not found) 1000010000curl: (1) Protocol "luna" not supported or disabled in li bcurl 10000 [1/3]: "id":"com.ares.defaultName" --> <stdout> --_curl_--"id":"com.ares.defaultName" curl: (3) Illegal port number 10000 [2/3]: "ipkUrl":"/tmp/app.ipk" --> <stdout> --_curl_--"ipkUrl":"/tmp/app.ipk" curl: (3) Illegal port number 10000 [3/3]: "subscribe":true --> <stdout> --_curl_--"subscribe":true curl: (3) Illegal port number

Any ideas?
TV is a OLED55C97LA with firmware 05.20.07

@throwaway96
Copy link
Member

Those are supposed to be on separate lines.

@1basti1
Copy link

1basti1 commented Mar 28, 2024

Those are supposed to be on separate lines.

Oh, I do that on my phone with connectBot. It's a bit hard. I'll try again. ty

edit: that worked. thank you so much

@igorkulman
Copy link

curl -k -L -o /tmp/app.ipk '<URL goes here>'
luna-send-pub -w 10000 -i 'luna://com.webos.appInstallService/dev/install' '{"id":"com.ares.defaultName","ipkUrl":"/tmp/app.ipk","subscribe":true}'

You'll need to know the URL of the IPK you want to install.

Note that if you're doing this for Homebrew Channel and your TV is rooted, remember to elevate after installing and before rebooting:

/media/developer/apps/usr/palm/services/org.webosbrew.hbchannel.service/elevate-service

You can also use Dev Manager.

Is this all that is needed? I did this with the latest build of the Youtube app and after launching it does not show any adblocking options and adblocking does not work as if the unmodified Youtube app was installed

@throwaway96
Copy link
Member

@igorkulman

Did you uninstall the stock YouTube app first?

@igorkulman
Copy link

igorkulman commented Apr 1, 2024

@igorkulman

Did you uninstall the stock YouTube app first?

Yes, I actually had the 0.3.1 of the modified app installed and wanted to update to 0.3.2 so I uninstalled 0.3.1 before doing the manual install of the 0.3.2 from the Github url.

@throwaway96
Copy link
Member

@igorkulman

Are you sure the stock one didn't get automatically reinstalled or something? Run

ls -l /media/cryptofs/apps/usr/palm/applications/youtube.leanback.v4

@igorkulman
Copy link

igorkulman commented Apr 1, 2024

Interesting, the app is not in /media/cryptofs/apps/usr/palm/applications/, I only see there Netflix, Plex and 1 other app I do not have installed anymore.

This is the log from installing it

root@LGwebOSTV:~# luna-send-pub -w 10000 -i 'luna://com.webos.appInstallService/dev/install' '{"id":
"com.ares.defaultName","ipkUrl":"/tmp/app.ipk","subscribe":true}'
{"subscribed":true,"returnValue":true}
{"id":"com.ares.defaultName","statusValue":35,"details":{"receivedSize":"0","packageId":"","premium":false,"modifiedTime":"","totalSize":"0","verified":false,"progress":100,"installBasePath":"/media/developer","paused":false,"simpleStatus":"install","state":"ipk parsing","update":false,"ipkFile":"/tmp/app.ipk"}}
{"id":"com.ares.defaultName","statusValue":36,"details":{"receivedSize":"0","packageId":"","premium":false,"modifiedTime":"","totalSize":"0","verified":false,"progress":100,"installBasePath":"/media/developer","paused":false,"simpleStatus":"install","state":"ipk parsing","update":false,"ipkFile":"/tmp/app.ipk"}}
{"id":"com.ares.defaultName","statusValue":37,"details":{"receivedSize":"0","packageId":"youtube.leanback.v4","premium":false,"modifiedTime":"","totalSize":"0","verified":false,"progress":100,"installBasePath":"/media/developer","paused":false,"simpleStatus":"install","state":"ipk parsing","update":false,"ipkFile":"/tmp/app.ipk"}}
{"id":"com.ares.defaultName","statusValue":262,"details":{"receivedSize":"0","packageId":"youtube.leanback.v4","premium":false,"modifiedTime":"","totalSize":"0","verified":false,"progress":100,"installBasePath":"/media/developer","paused":false,"simpleStatus":"download","state":"ipk parsing","update":false,"ipkFile":"/tmp/app.ipk"}}
{"id":"com.ares.defaultName","statusValue":263,"details":{"receivedSize":"0","packageId":"youtube.leanback.v4","premium":false,"modifiedTime":"","totalSize":"0","verified":false,"progress":100,"installBasePath":"/media/developer","paused":false,"simpleStatus":"download","state":"ipk parsing","update":false,"ipkFile":"/tmp/app.ipk"}}
{"id":"com.ares.defaultName","statusValue":264,"details":{"receivedSize":"0","packageId":"youtube.leanback.v4","premium":false,"modifiedTime":"","totalSize":"0","verified":false,"progress":100,"installBasePath":"/media/developer","paused":false,"simpleStatus":"download","state":"ipk parsing","update":false,"ipkFile":"/tmp/app.ipk"}}
{"id":"com.ares.defaultName","statusValue":32,"details":{"receivedSize":"0","packageId":"youtube.leanback.v4","premium":false,"modifiedTime":"","totalSize":"0","verified":false,"progress":100,"installBasePath":"/media/developer","paused":false,"simpleStatus":"install","state":"app closing","update":false,"ipkFile":"/tmp/app.ipk"}}
{"id":"com.ares.defaultName","statusValue":33,"details":{"receivedSize":"0","packageId":"youtube.leanback.v4","premium":false,"modifiedTime":"","totalSize":"0","verified":false,"progress":100,"installBasePath":"/media/developer","paused":false,"simpleStatus":"install","state":"app closing","update":false,"ipkFile":"/tmp/app.ipk"}}
{"id":"com.ares.defaultName","statusValue":34,"details":{"receivedSize":"0","packageId":"youtube.leanback.v4","premium":false,"modifiedTime":"","totalSize":"0","verified":false,"progress":100,"installBasePath":"/media/developer","paused":false,"simpleStatus":"install","state":"app closing","update":false,"ipkFile":"/tmp/app.ipk"}}
{"id":"com.ares.defaultName","statusValue":11,"details":{"receivedSize":"0","packageId":"youtube.leanback.v4","premium":false,"modifiedTime":"","totalSize":"0","verified":false,"progress":100,"installBasePath":"/media/developer","paused":false,"simpleStatus":"install","state":"installing","update":false,"ipkFile":"/tmp/app.ipk"}}
{"id":"com.ares.defaultName","statusValue":12,"details":{"receivedSize":"0","packageId":"youtube.leanback.v4","premium":false,"modifiedTime":"","totalSize":"0","verified":false,"progress":100,"installBasePath":"/media/developer","paused":false,"simpleStatus":"install","state":"installing","update":false,"ipkFile":"/tmp/app.ipk"}}
{"id":"com.ares.defaultName","statusValue":13,"details":{"receivedSize":"0","packageId":"youtube.leanback.v4","premium":false,"modifiedTime":"","totalSize":"0","verified":false,"progress":100,"installBasePath":"/media/developer","paused":false,"simpleStatus":"install","state":"installing : start","update":false,"ipkFile":"/tmp/app.ipk"}}
{"id":"com.ares.defaultName","statusValue":17,"details":{"receivedSize":"0","packageId":"youtube.leanback.v4","premium":false,"modifiedTime":"","totalSize":"0","verified":false,"progress":100,"installBasePath":"/media/developer","paused":false,"simpleStatus":"install","state":"installing : installing","update":false,"ipkFile":"/tmp/app.ipk"}}
{"id":"com.ares.defaultName","statusValue":27,"details":{"receivedSize":"0","packageId":"youtube.leanback.v4","premium":false,"modifiedTime":"","totalSize":"0","verified":false,"progress":100,"installBasePath":"/media/developer","paused":false,"simpleStatus":"install","state":"installing : service installing","update":false,"ipkFile":"/tmp/app.ipk"}}
{"id":"com.ares.defaultName","statusValue":28,"details":{"receivedSize":"0","packageId":"youtube.leanback.v4","premium":false,"modifiedTime":"","totalSize":"0","verified":false,"progress":100,"installBasePath":"/media/developer","paused":false,"simpleStatus":"install","state":"installing : service installing","update":false,"ipkFile":"/tmp/app.ipk"}}
{"id":"com.ares.defaultName","statusValue":29,"details":{"receivedSize":"0","packageId":"youtube.leanback.v4","premium":false,"modifiedTime":"","totalSize":"0","verified":false,"progress":100,"installBasePath":"/media/developer","paused":false,"simpleStatus":"install","state":"installing : service installing","update":false,"ipkFile":"/tmp/app.ipk"}}
{"id":"com.ares.defaultName","statusValue":30,"details":{"receivedSize":"0","packageId":"youtube.leanback.v4","premium":false,"modifiedTime":"","totalSize":"0","verified":false,"progress":100,"installBasePath":"/media/developer","paused":false,"simpleStatus":"install","state":"installed","update":false,"ipkFile":"/tmp/app.ipk"}}

after which it appeared in the app launcher on the TV.

But when I use the webOS Dev Manager it shows the app version 0.3.2 as installed

Screenshot 2024-04-02 at 0 29 51

When I use the webOS Dev Manager and delete the app then install it again from the Available tab it appears on the TV but is still not in /media/cryptofs/apps/usr/palm/applications/.

My TV info

Screenshot 2024-04-02 at 0 32 56

@throwaway96
Copy link
Member

@igorkulman

So you pressed the green button and nothing happened? Do you know how to inspect an app with the Chromium devtools?

@igorkulman
Copy link

Yes, pressing the green button does nothing. When the app start it does not even show the text about the possibility to press the green button to access the config. And the adds play for every video.

I do not know how to inspect the app with dev tools, but I can learn if there is a link to some documentation.

Btw where is the app installed on the filesystem if it is not in /media/cryptofs/apps/usr/palm/applications? Maybe I can first look the files looks correct or something.

@throwaway96
Copy link
Member

throwaway96 commented Apr 2, 2024

/media/cryptofs/apps/usr/palm/applications is where the stock app would be.

YTAF should be in /media/developer/apps/usr/palm/applications. (Specifically, /media/developer/apps/usr/palm/applications/youtube.leanback.v4.)

There's a page on webosbrew.org that talks about the devtools stuff.

@igorkulman
Copy link

I turned on the TV in the morning after it had been off for about 8 hours and in the app the green button started working and ads got blocked.

I noticed 0.3.3 is out so I installed 0.3.3 and blocking got broken again. I tried rebooting the TV and it did not help.

I am quite confused by this ...

@igorkulman
Copy link

After some debugging I found some interesting things

0.3.2

  • install vie webOS dev manager
  • elevate via homebrew channel updater
  • reboot via homebrew channel
  • start the app, green button is working

ares-inspect youtube.leanback.v4 -d tv shows this in web console

Screenshot 2024-04-02 at 12 44 22

If I repeat all those steps with 0.3.3 the green button is not working and ares-inspect youtube.leanback.v4 -d tv shows something a bit different in web console

Screenshot 2024-04-02 at 12 47 31

This looks like maybe some JavaScript in 0.3.3 is not being parsed properly so the adblocking does not load?

@throwaway96
Copy link
Member

@igorkulman

So 0.3.2 is working? What changed?

Let's move this to webosbrew/youtube-webos#151.

@igorkulman
Copy link

igorkulman commented Apr 2, 2024

So 0.3.2 is working? What changed?

Yes, 0.3.2 works now for me. As for what changed .... no idea to be honest. I was randomly trying many things like reboots, reinstalls, launching the homebrew channel update up and doing reelevate etc .. I guess some if this helped at some point.

@AntonFaer
Copy link
Author

Is anyone able to assist with the certificate issue? It came back again.PXL_20240403_211939904.MP.jpg

@fergardi
Copy link

I am having this issue as well. I am unable to use the dev-manager as I am using Mac M1. Guess my last resort is to use the CLI then?

@Heus-Sueh
Copy link

how exactly do I connect to ssh? I'm quite a noob at ssh, it would be like this: ssh LGwebOSTV@192.168.533.5 or do I need to pass more arguments?

@AntonFaer
Copy link
Author

If anyone knows or has a step-by-step manual on how to install the YouTube add free app from homebrew please share this info. Thanks

@1basti1
Copy link

1basti1 commented Apr 13, 2024

I use ConnectBot with my android phone to connect to the TV via SSH (enable SSH on the homebrew channel) (you don't need to use Connectbot, any SSH client should work)

Hostname is root@TVs IP address.
for example for me it's root@192.168.50.4
Password is alpine

When connected use first this line:

curl -k -L -o /tmp/app.ipk 'https://github.com/webosbrew/youtube-webos/releases/download/v0.3.3/youtube.leanback.v4_0.3.3_all.ipk'

Click enter

and then this line

luna-send-pub -w 10000 -i 'luna://com.webos.appInstallService/dev/install' '{"id":"com.ares.defaultName","ipkUrl":"/tmp/app.ipk","subscribe":true}'

Click enter

At least that's the steps for me. I use a OLED C9.

@Heus-Sueh
Copy link

I use ConnectBot with my android phone to connect to the TV via SSH (enable SSH on the homebrew channel)

Hostname is root@TVs IP address. for example for me it's root@192.168.50.4 Password is alpine

When connected use first this line:

curl -k -L -o /tmp/app.ipk 'https://github.com/webosbrew/youtube-webos/releases/download/v0.3.3/youtube.leanback.v4_0.3.3_all.ipk'

Click enter

and then this line

luna-send-pub -w 10000 -i 'luna://com.webos.appInstallService/dev/install' '{"id":"com.ares.defaultName","ipkUrl":"/tmp/app.ipk","subscribe":true}'

Click enter

At least that's the steps for me. I use a OLED C9.

I had termux installed with the ssh package so I didn't even need this connect bot, thank you very much for your help.

@AntonFaer
Copy link
Author

AntonFaer commented Apr 14, 2024

@1basti1 Thank you very much. This manual worked! However Ad-free YouTube after installation acts like a standard YouTube app, it shows ads frequently. Is there settin I need to enable? LG OLED65C7P

@Bfjei74hfj83

This comment was marked as abuse.

@throwaway96
Copy link
Member

@Bfjei74hfj83

I'm glad to hear you're so interested in resolving this issue and will take a look at your PR as soon as it's submitted.

@Bfjei74hfj83

This comment was marked as abuse.

@throwaway96
Copy link
Member

Why so aggressive?

Wait... if you're not planning on contributing, who did you mean by "we" in your first comment? I didn't mean to hurt your feelings!

If you don't have time to maintain the project maybe step down?

I'm pretty sure nobody has ever said I'm "maintain[ing] this project".

Since you're clearly interested in solving problems here (having created your account just to post these constructive comments) and are offended by the idea of being asked to contribute code, perhaps you could pay someone to work on this for you.

Otherwise: I may not be the maintainer of Homebrew Channel, but since you're so unhappy with it I'm willing to refund you the entire purchase price.

@Bfjei74hfj83

This comment was marked as abuse.

@1basti1
Copy link

1basti1 commented Apr 15, 2024

@1basti1 Thank you very much. This manual worked! However Ad-free YouTube after installation acts like a standard YouTube app, it shows ads frequently. Is there settin I need to enable? LG OLED65C7P

I think this is the wrong issue for that. But can you see the settings for the adfree app, when you press the green button on the remote? Maybe AdBlock isn't enabled?
Otherwise I have no idea. It works flawlessly for me.

@johnblack593
Copy link

Hello, I have the same problem, I have been using homebrew for a long time, I saw that a Youtube Adfree update was available and I uninstalled the app and started the installation of the new version, it was never installed and now I am looking for how to solve it, I am not programmer, but I understood the instructions to install the IPKs from the WebOs Dev Manager application, I have the Developer Mode app on my SmartTV, however the Windows application closes and does not open, I tried the x64 and x86 version, none of them worked for me. works ;(

Does anyone know any additional method for this situation, the Youtube Mod is the best thing about Homebrew, without being able to install apps it takes away everything great.

Windows 10 Pro 19045.4116
WebOs: 05.40.26
Model: UK6300PSB
HomeBrew Status: Active
Imagen de WhatsApp 2024-04-21 a las 21 16 12_a61b45cb

@1basti1
Copy link

1basti1 commented Apr 22, 2024

Hello, I have the same problem, I have been using homebrew for a long time, I saw that a Youtube Adfree update was available and I uninstalled the app and started the installation of the new version, it was never installed and now I am looking for how to solve it, I am not programmer, but I understood the instructions to install the IPKs from the WebOs Dev Manager application, I have the Developer Mode app on my SmartTV, however the Windows application closes and does not open, I tried the x64 and x86 version, none of them worked for me. works ;(

Does anyone know any additional method for this situation, the Youtube Mod is the best thing about Homebrew, without being able to install apps it takes away everything great.

Windows 10 Pro 19045.4116 WebOs: 05.40.26 Model: UK6300PSB HomeBrew Status: Active Imagen de WhatsApp 2024-04-21 a las 21 16 12_a61b45cb

Try my instructions: (couple posts above your message)

#179 (comment)

@valllblt
Copy link

valllblt commented Apr 24, 2024

Hello I have the same problem, i read every comments in this post but nothing works, YT adfree installed with my pc have ads.. And if i want to install YT adfree with homebrew channel, i have the same error on the screen..
I can't try connect bot because i have an Iphone

  • LG UJ630V (unrooted)
  • software version WebOS: 06.10.50
  • Youtube AdFree 0.3.3 ( have ads, green button not work)

@Heus-Sueh
Copy link

Hello I have the same problem, i read every comments in this post but nothing works, YT adfree installed with my pc have ads.. And if i want to install YT adfree with homebrew channel, i have the same error on the screen.. I can't try connect bot because i have an Iphone

* LG UJ630V (unrooted)

* software version WebOS: 06.10.50

* Youtube AdFree 0.3.3 ( have ads, green button not work)

you don't necessarily need "connect bot", you can do this step on a computer, install openssh on your operating system (windows, mac os, linux) and follow @1basti1's steps

@AntonFaer
Copy link
Author

@Heus-Sueh I think valllblt is trying to say that even after successful installation on YouTube Add free he still has adds. I got the same issue. I guess there is no solution right now?

@Heus-Sueh
Copy link

@Heus-Sueh I think valllblt is trying to say that even after successful installation on YouTube Add free he still has adds. I got the same issue. I guess there is no solution right now?

Okay, now that I realized, I quickly read his comment and only saw the end, I haven't had this problem yet, a new version was recently released, maybe it's worth trying to update and see if it fixed it

@1basti1
Copy link

1basti1 commented Apr 24, 2024

First text for the new version would be

curl -k -L -o /tmp/app.ipk 'https://github.com/webosbrew/youtube-webos/releases/download/v0.3.4/youtube.leanback.v4_0.3.4_all.ipk'

Second text is the same.

Just installed it and everything is working fine.

For people who have problems... maybe try completely uninstall everything YouTube related and then try to install again.

@JumpyJim404
Copy link

JumpyJim404 commented Apr 24, 2024

Yeah, I was getting same certificate error. I just used webOS Dev Manager program on PC to update applications on Homebrew.

  1. Enable SSH on Homebrew, reboot TV.
  2. Install webOS Dev Manager onto PC, available on Windows, Mac, Linux.
    Download here - https://github.com/webosbrew/dev-manager-desktop
  3. Run webOS Dev Manager from PC and configure a new connection mode (add device).

1
2
3

  1. From screens above (a) choose to use SSH server, click next (b) Add TV IP address and (c) change authentication type to password (password is alpine) and click Finish.

Following steps 1-4 I then updated the apps I care about, and I am running Jellyfin version 1.2.2 and YTAF 0.3.4. So far so good, no adverts in YTAF.

Above was successful on devices below.

Device1: 49UK6400PLF
Firmware: 05.40.26
webOS version: 4.4.0

Device2: 50UP81006LR
Firmware: 03.20.90
webOS version: 6.2.0

@MROLLS1
Copy link

MROLLS1 commented Apr 29, 2024

Hi all,

Just keeping this topic open as I also have the same issue. I kept my C9 on old firmware, rooted via the old method, to keep YTAF working. Recently it started serving ads and I noticed that the YTAF had many updates pending - but when I pressed INSTALL in the homebrew channel, I'd get the same certificate error as everyone else above.

I've now seen there's a new root method that works on the current latest firmware, and having witnessed a friend successfully do it on 4 TVs without issue, decided to update mine to the latest firmware to regain support for Apple screencasting etc.

This is where the nightmare began. The freshly updated TV rooted with no issue after a factory reset, and the homebrew channel is there... However, the apps in the homebrew channel mostly refuse to install. Previously I got around this using DevManager and the LG developer app, but with this root we cannot have that installed... So the only method of "manually" installing YTAF seems to be through SSH / Telnet and some SSH client.

I currently do not know how to connect to the TV, I know it's IP address and the SSH option is turned on in Homebrew settings, but I do not know how to use a PC or SSH phone app to tell the TV what to install

So, any idiot-proof instructions for how to do this? Bear in mind that I am not a coder, or a networking expert, so be careful using jargon that is second-nature to you and other coders...

@dzid26
Copy link

dzid26 commented Apr 29, 2024

So, any idiot-proof instructions for how to do this?

#179 (comment)

@MROLLS1
Copy link

MROLLS1 commented Apr 29, 2024

So, any idiot-proof instructions for how to do this?

#179 (comment)

Yeah, as I don't have an andriod phone I'll have to use a different client on either my PC or iPhone but from the poking around I have already done, they use different names for things like HOST and passkey or passphrase and I am mildly concerned that I could/will brick my TV as I do not code on a regular basis. Easy and obvious stuff to some like whether or not to type commands on separate lines, might be missed by me - im not even sure if its possible to brick it from here but still... its a lesson I'd rather not learn after I've done it.

@JumpyJim404
Copy link

I've updated #179 (comment) to simplify the steps I took.

@MROLLS1
Copy link

MROLLS1 commented Apr 29, 2024

I've updated #179 (comment) to simplify the steps I took.

THANKS - I'm not sure what step I had been missing, perhaps the part where the SSH is only enabled by Homebrew when you press the reboot button.

@fergardi
Copy link

fergardi commented May 8, 2024

I use ConnectBot with my android phone to connect to the TV via SSH (enable SSH on the homebrew channel) (you don't need to use Connectbot, any SSH client should work)

Hostname is root@TVs IP address. for example for me it's root@192.168.50.4 Password is alpine

When connected use first this line:

curl -k -L -o /tmp/app.ipk 'https://github.com/webosbrew/youtube-webos/releases/download/v0.3.3/youtube.leanback.v4_0.3.3_all.ipk'

Click enter

and then this line

luna-send-pub -w 10000 -i 'luna://com.webos.appInstallService/dev/install' '{"id":"com.ares.defaultName","ipkUrl":"/tmp/app.ipk","subscribe":true}'

Click enter

At least that's the steps for me. I use a OLED C9.

This worked perfectly with the latest version, thanks. I was so used to use the HomeBrewChannel App that manually using SSH never crossed my mind. Cannot use the DevManager as well, as M1 ARM build seems to be broken.

Maybe the certificates issues will go away if I factory reset my TV and reinstall everything using RootMyTv as I did long ago, but I am too afraid of being remotely patched by LG that I just don't want to mess around.

Thank you guys again for your work!

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