webosbrew/webos-homebrew-channel

Install timed out / Unknown method "install" for category "/dev"

milkpirate opened this issue · 3 comments

Hey,

just got telnet (root) access to my device webOS 7.3.1-42 03.33.80 (43UQ80009LB), and tried the automated install, which resulted in

webOS TV 7.3.1 LGwebOSTV

/ # 
/ # curl -L https://raw.githubusercontent.com/webosbrew/webos-homebrew-channel/main/tools/install.sh | sh -
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1449  100  1449    0     0   1971      0 --:--:-- --:--:-- --:--:--  1971
[ ] Downloading manifest...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:05 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:05 --:--:--     0
100   461  100   461    0     0     68      0  0:00:06  0:00:06 --:--:--     0
[ ] Downloading https://github.com/webosbrew/webos-homebrew-channel/releases/latest/download/org.webosbrew.hbchannel_0.6.3_all.ipk...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 1449k  100 1449k    0     0   224k      0  0:00:06  0:00:06 --:--:--  349k
/tmp/hbchannel.ipk: OK
[ ] Installing...
[!] Install timed out
/ #

Manual install resulted in:

/tmp # wget https://github.com/webosbrew/webos-homebrew-channel/releases/download/v0.6.3/org.webosbrew.hbchannel_0.6.3_all.ipk
Connecting to github.com (140.82.121.4:443)
Connecting to objects.githubusercontent.com (185.199.109.133:443)
saving to 'org.webosbrew.hbchannel_0.6.3_all.ipk'
org.webosbrew.hbchan 100% |**********************************************************************************************************| 1449k  0:00:00 ETA
'org.webosbrew.hbchannel_0.6.3_all.ipk' saved
/tmp # luna-send-pub -i 'luna://com.webos.appInstallService/dev/install' '{"id":"com.ares.defaultName","ipkUrl":"/tmp/org.webosbrew.hbchannel_0.6.3_all.ip
k","subscribe":true}'
{"returnValue":false,"errorCode":-1,"errorText":"Unknown method \"install\" for category \"/dev\""}
{"methodName":"install","returnValue":false,"errorCode":-1,"errorText":"install has been disconnected."}

**hangs here**

^C
/tmp #

What am I doing wrong? Is there something missing?

That method is only available when dev mode is enabled. So you need to create enable_devmode and restart appinstalld so it notices.

rm -rf /var/luna/preferences/devmode_enabled && mkdir -p /var/luna/preferences/devmode_enabled
restart appinstalld

You may want to add that to the documentation.

Perhaps, but it's not strictly related to Homebrew Channel. So far we've considered it part of the rooting process, and it's been included in every exploit/guide we've created.