Certificate error when installing apps: "unable to get local issuer certificate"
AntonFaer opened this issue · 64 comments
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.
@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
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.
I also have an update message on TV.
Will Homebrew work on SV 06.10.30?
Worth to update?
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.
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?
https://github.com/webosbrew/dev-manager-desktop/releases
The appimage was my workaround for update youtube app.
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
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
Those are supposed to be on separate lines.
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
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-serviceYou 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
Did you uninstall the stock YouTube app first?
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.
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
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
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
So you pressed the green button and nothing happened? Do you know how to inspect an app with the Chromium devtools?
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.
/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.
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 ...
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
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
This looks like maybe some JavaScript in 0.3.3 is not being parsed properly so the adblocking does not load?
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.
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?
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?
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
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.
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.
@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 feel like this should really be patched asap, homebrew channel is essentially broken and it's been a month already.
How many more months until there is a full release that we plan to roll the patch into.
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.
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.
Why so aggressive?
If you don't have time to maintain the project maybe step down?
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.
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.
Lol does did you really get so butthurt at my comment that you had to type a paragraph?
Touch some grass.
@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.
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

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
Try my instructions: (couple posts above your message)
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)
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
@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 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
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.
Yeah, I was getting same certificate error. I just used webOS Dev Manager program on PC to update applications on Homebrew.
- Enable SSH on Homebrew, reboot TV.
- Install webOS Dev Manager onto PC, available on Windows, Mac, Linux.
Download here - https://github.com/webosbrew/dev-manager-desktop - Run webOS Dev Manager from PC and configure a new connection mode (add device).
- 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
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...
So, any
idiot-proofinstructions for how to do this?
So, any
idiot-proofinstructions for how to do this?
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.
I've updated #179 (comment) to simplify the steps I took.
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.
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!
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).
-
From an Android cell phone, install the Connectbot app.
-
Open homebrew and enable SSH, then reboot to apply changes.
-
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).
-
Desde un celular Android instale la app Connectbot.
-
Abrir homebrew y habilitar SSH, luego reiniciar para aplicar cambios.
-
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.
Great guide! Thanks for these step by step instructions! Worked like a charm.
@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?
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.
Managed to update apps per instruction but is there a fix incoming for this?
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 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?
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-servicescript yourself before rebooting).If you're not sure, it won't hurt to run
elevate-servicean 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.
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-servicescript yourself before rebooting).If you're not sure, it won't hurt to run
elevate-servicean 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
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.
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-servicescript yourself before rebooting).If you're not sure, it won't hurt to run
elevate-servicean 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

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











