- JavaScript 50%
- TypeScript 36.8%
- Shell 12.6%
- HTML 0.6%
| app | ||
| services | ||
| .editorconfig | ||
| .enyoconfig | ||
| .gitignore | ||
| .gitmodules | ||
| babel.config.json | ||
| CHANGELOG.md | ||
| eslint.config.mjs | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| webpack.config.js | ||
A Shity/Hacky luna call emulator that emulate access usb related luna call
Compile
Run the fellow command to build it :
$ NPM_CONFIG_ALLOW_GIT=all npm i
$ npm run build
$ npm run package
Post-install
It use auto start as boot like how hbchannel do so.
(Unlike Downgr8 , It wont get kill or breing broken in newer webos.)
Therefore it requite some setup after install.
# /media/developer/apps/usr/palm/services/org.webosbrew.hbchannel.service/elevate-service moe.exkc.accessusb.service
# luna-send -f -n 1 'luna://moe.exkc.accessusb.service/registerActivity' '{}'
# reboot
Luna Call
luna://moe.exkc.accessusb.service/FUK/getStatus
This api emulate palm://com.webos.service.sm/accessusb/getStatus api call
luna://moe.exkc.accessusb.service/FUK/requestAuthentication
This api emulate luna://com.webos.service.sm/accessusb/requestAuthentication api call
Patching system binary
You can tick the part of the webos to think Acess USB is pluged in by patching that part to use the emulated luna api from this emulator Thereby graining access to many things that locked byhide acess usb.Some of those things may not be fully studyed by others therefore it might broke your tv in some way and you have been warned.
Build-In Patcher
This come with a build-in patch and u can use it like so :
# /media/developer/apps/usr/palm/applications/moe.exkc.accessusb/scripts/patcher.sh path_to_binary
# killall binary_name
# comand_to_relaunch_that_binary
Example scripts
There are few example script that make use of patcher.sh :
# /media/developer/apps/usr/palm/applications/moe.exkc.accessusb/scripts/examples/debug.sh # Turn on debug mode
# /media/developer/apps/usr/palm/applications/moe.exkc.accessusb/scripts/examples/expert.sh # Turn on expert mode
Other Patcher
You can use other patcher like the one from Downgr8 or sampatcher.py or ezinject.
Credit
Inspired by Downgr8 but based on hbchannel.
License
MIT