A lightweight UI to install/uninstall & list apps.
- Ubuntu (tested with 18.04).
- Python (tested with 2.7).
- Firefox (tested with Firefox 84 for KaiOS v3.0).
-
If you are a KaiOS employee, you can download the latest artifact from https://git.kaiostech.com/KaiOS/kaios-devtool-extension/pipelines then unzip it. If not, follow these steps:
- Clone this repo then execute
npm install && npm run build
. - For MacOS/Windows, please replace executabe
dist\app\appscmd
with the correct one underdist\app\target.zip\<environment>\appscmd(.exe)
- Clone this repo then execute
-
Open a terminal and execute the following shell command to install native messaging app:
cd dist bash app\install_native_app.sh
For Windows please make sure that python is installed already then execute following steps:
- Rename
message_host_win.json
to replacemessage_host.json
- replace
%~dp0
insideinstall_native_app.bat
andmessage_host.bat
to valid path - execute
install_native_app.bat
- Rename
-
Make sure the KaiOS device is connected with
adb root
. -
Open Firefox matching your KaiOS release (eg. Firefox 84 for KaiOS 3.0) & open
about:debugging
. -
Click
This Firefox
on top left. -
Title
Temporary Extensions
, clickLoad Temporary Add-on
, choosemanifest.json
. -
Click terminal icon on toolbar.
For now the UI is really simple...
[1] Native Messaging https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_messaging
[2] Native Manifest https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_manifests
- node.js v12.20.0
- npm 6.14.8
npm install
npm run build
npm run lint