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

Closed
AntonFaer opened this issue Mar 17, 2024 · 63 comments · Fixed by #189
Closed

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

AntonFaer opened this issue Mar 17, 2024 · 63 comments · Fixed by #189
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.

@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 [email protected] 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!

@johnblack593
Copy link

English:

Thank you very much for your valuable help, in order to help others I will leave in this message the steps that I followed and that helped me to install the most recent version of YouTube Adfree.

I did this with the TV newly formatted and using homebrew (Rootmy.tv).

  1. From an Android cell phone, install the Connectbot app.

  2. Open homebrew and enable SSH, then reboot to apply changes.

  3. Register an SSH connection in Connectbot.

  • host: root@ IP TV (you can see this information in the networks section of the TV), Once the connection has started, the default password is "alpine", then use this command

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'

Then use

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

Open homebrew, deactivate SSH and then restart, the application should already be in the home.

These steps were provided by the user "1basti1" and that I, in order to facilitate the installation of the most recent version, wrote it in the simplest way possible, I am not a programmer and I do not know about these topics, however every time the ads They are more unbearable and I ventured to carry out this method, I always used homebrew, but because from time to time I format my TV to keep it fast, I found myself with this situation of the certificate problem, I had homebrew and the app developer to obtain the data to make the connection, strangely after the restart even the homebrew was uninstalled, I formatted the TV and followed the steps that I described in this message and now I have YouTube and Homebrew working.

Thanks to the homebrew development team for giving us the opportunity to do justice to the abuse suffered by LG and Google users.

By any chance you don't know of any ipk packet for an M3U player?

I used IPTV SMARTERS, however due to a conflict of interest of that company, the free app no longer works, now there is another paid application with the same name and logo that charges a license, I bought a license but I keep 2 LG Smart TVs, so I only have the application in one, if you suddenly know of an app that can be installed through this SSH means, I would be more than grateful.

Spanish:

Muchas gracias por su valiosa ayuda, con el fin de ayudar a otros dejare en este mensaje los pasos que seguí y me sirvieron para instalar la versión más reciente de YouTube Adfree.

Esto lo hice con el TV recién formateado y usando el homebrew (Rootmy.tv).

  1. Desde un celular Android instale la app Connectbot.

  2. Abrir homebrew y habilitar SSH, luego reiniciar para aplicar cambios.

  3. Registrar en Connectbot una conexión SSH.

  • host: root@ IP TV (puedes ver este dato en el apartado de redes del TV), Una vez iniciada la conexión, la clave predeterminada es "alpine", luego usar este comando

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'

Luego usar

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

Abrir homebrew, desactivar el SSH y luego reiniciar, ya debería estar la aplicacion en el home.

Estos pasos fueron proporcionados por el usuario "1basti1" y que yo con el fin de facilitar la instalación de la versión más reciente, redacte de la forma más sencilla posible, no soy programador y no se de estos temas, sin embargo cada vez los anuncios son más insoportables y me aventure a realizar este método, siempre use homebrew, pero debido a que cada cierto tiempo formateo mi TV para que se mantenga rápido, me encontré con esta situación del problema del certificado, tenía homebrew y la app developer para obtener los datos para realizar la conexion, extrañamente luego del reinicio hasta el homebrew se me desinstalo, formatee el TV y realice los pasos que describí en este mensaje y ahora tengo el YouTube y el Homebrew funcionando.

Gracias al equipo de desarrollo de homebrew por darnos la posibilidad de hacer justicia ante el atropello que sufrimos los usuarios de LG y Google.

De casualidad no sabrán de algún paquete ipk de un reproductor M3U?

Usaba IPTV SMARTERS, sin embargo por conflicto de intereses de esa empresa, la app gratuita ya no funciona, ahora existe otra aplicación de paga con el mismo nombre y mismo logo qué cobra licencia, compre una licencia pero mantengo 2 Smart TV LG, por lo que solo en uno tengo la aplicacion, si de pronto conocen alguna app instalable por este medio SSH, les estaría más que agradecído.

@faberdonax
Copy link

Great guide! Thanks for these step by step instructions! Worked like a charm.

@kocane
Copy link

kocane commented May 27, 2024

@MROLLS1 I'm on 05.30.11 with my LG C9, and I'd much like to get the certificate error fixed. Which firmware did you update to and how? Just thru the menu of the TV? Are any of the C9 firmwares rootable still?

@irishj
Copy link

irishj commented May 28, 2024

Same issue here, LG C9 (OLED55C9PLA) - webOS 4.9.7-17 / Software 05:30:40

Can't install any apps directly from HB store, need to manually download and install.

@frosty3907
Copy link

Managed to update apps per instruction but is there a fix incoming for this?

@throwaway96
Copy link
Member

This build should fix all the cert problems, but it needs testing: https://github.com/throwaway96/webos-homebrew-channel/releases/tag/v0.7.0-test1

If your TV is rooted, you must make sure elevation is maintained when installing a new Homebrew Channel version.

Installing the Safe Updater app beforehand is advised. Launch it at least once before messing with Homebrew Channel so it can elevate itself. As long as it's working, you should be able to recover from any issues with Homebrew Channel.

You can install a new Homebrew Channel version with Dev Manager (which should take care of elevation automatically) or manually (in which case you need to run the elevate-service script yourself before rebooting).

If you're not sure, it won't hurt to run elevate-service an extra time (as it should be idempotent). The full path is:

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

Another option is adding my repo (see README) in Homebrew Channel and installing the test build that way. Elevation will be taken care of.

@bombenbodo
Copy link

I can confirm homebrew is working fine again on WebOS 3

"hardware_id": "HE_DTV_W16H_AFADABAA",
"product_id": "OLED65G6V-Z",
"core_os_release": "3.4.0-6007",
"webos_manufacturing_version": "05.60.30",

I installed the test-build via your personal repo.
I had to figure out how to reenable the "install/reinstall"-button though,
well pressing '5' on the remote in details view of 'Homebrew Channel (test)' did it.

Is there anything else I need to do?
I'm still having the old expired DST_Root_CA_X3.crt installed in /usr/share/ca-certificates/mozilla/
Do I need to manually replace it somehow or can I safely ignore it?
And I'm still running startup scripts for letsencrypt ca-cert fixes in /var/lib/webosbrew/init.d/

Can those be safely removed now?

@eduardhojbota
Copy link

This build should fix all the cert problems, but it needs testing: https://github.com/throwaway96/webos-homebrew-channel/releases/tag/v0.7.0-test1

If your TV is rooted, you must make sure elevation is maintained when installing a new Homebrew Channel version.

Installing the Safe Updater app beforehand is advised. Launch it at least once before messing with Homebrew Channel so it can elevate itself. As long as it's working, you should be able to recover from any issues with Homebrew Channel.

You can install a new Homebrew Channel version with Dev Manager (which should take care of elevation automatically) or manually (in which case you need to run the elevate-service script yourself before rebooting).

If you're not sure, it won't hurt to run elevate-service an extra time (as it should be idempotent). The full path is:

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

Another option is adding my repo (see README) in Homebrew Channel and installing the test build that way. Elevation will be taken care of.

I can confirm this works.

@alleinka
Copy link

Hy, I have the same error on my E9 LG, at least I was able to install homebrew on the E9, wanted to install also on my C2, I cannot install it on the. My project would be to have ambilight on both my TV's.

image

image

@Larill
Copy link

Larill commented Jul 18, 2024

This build should fix all the cert problems, but it needs testing: https://github.com/throwaway96/webos-homebrew-channel/releases/tag/v0.7.0-test1

If your TV is rooted, you must make sure elevation is maintained when installing a new Homebrew Channel version.

Installing the Safe Updater app beforehand is advised. Launch it at least once before messing with Homebrew Channel so it can elevate itself. As long as it's working, you should be able to recover from any issues with Homebrew Channel.

You can install a new Homebrew Channel version with Dev Manager (which should take care of elevation automatically) or manually (in which case you need to run the elevate-service script yourself before rebooting).

If you're not sure, it won't hurt to run elevate-service an extra time (as it should be idempotent). The full path is:

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

Another option is adding my repo (see README) in Homebrew Channel and installing the test build that way. Elevation will be taken care of.

Tested and working

@alleinka
Copy link

alleinka commented Jul 18, 2024

Thank you for the reply, my TV is not rooted. I am trying to find out how to root the tv.

Edit; I apologize, it can be rooted and I have managed to do it via this: https://github.com/throwaway96/dejavuln-autoroot

Now I am trying to follow the steps from here;

https://discord.com/channels/407937994037919756/1254455979873927178

Alternative ways to install apps:
Using Dev Manager from another computer (currently does not run on phones).

We will see how it works.

@myhobby2
Copy link

myhobby2 commented Jul 28, 2024

This build should fix all the cert problems, but it needs testing: https://github.com/throwaway96/webos-homebrew-channel/releases/tag/v0.7.0-test1

If your TV is rooted, you must make sure elevation is maintained when installing a new Homebrew Channel version.

Installing the Safe Updater app beforehand is advised. Launch it at least once before messing with Homebrew Channel so it can elevate itself. As long as it's working, you should be able to recover from any issues with Homebrew Channel.

You can install a new Homebrew Channel version with Dev Manager (which should take care of elevation automatically) or manually (in which case you need to run the elevate-service script yourself before rebooting).

If you're not sure, it won't hurt to run elevate-service an extra time (as it should be idempotent). The full path is:

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

Another option is adding my repo (see README) in Homebrew Channel and installing the test build that way. Elevation will be taken care of.

How is this v0.7.0-test1 installed via the WebOS ? I get this error... And of course it is running
image

@theevilduck89
Copy link

Hello im trying to download kodi on my OLED55B7V on software 06.10.30 and im getting this error
An error occured during installation: request to https://mirrors.kodi.tv/releases/webos/org.xbmc.kodi-webos_21.0.ipk failed, reason: unable to get local issuer certificate

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

Successfully merging a pull request may close this issue.