jan-os / janos Goto Github PK
View Code? Open in Web Editor NEWAn OS for IoT devices. Use this repository as a base for your own scripts.
An OS for IoT devices. Use this repository as a base for your own scripts.
Hello,
Can you submit a new support of janos with geekphone revolution ?
It's very har to buy a peak or keon phone ;)
Félicitations pour le travail ;)
F.
It would be great to add it to the documentation what version of gecko JanOS is using.
I own a peak just like you. Even used it as my phone for some time. I had the same desire to bypass the sandbox boot 2 gecko imposes. Your approach is crazy bold. Loved the video. Will. Flash mine asap.
What reference did you use to get where you are? I found nothing relevant. Would rock if we could control opengles or even a dumb pixel buffer...
Hi Jan
Really cool project dude, I'm running into an issue flashing my ZTE Open
I've compiled B2G and now I'm trying flash the phone, but get an error that there is no such device
< waiting for device >
erasing 'cache'...
OKAY [ 0.530s]
finished. total time: 0.530s
erasing 'userdata'...
OKAY [ 1.400s]
finished. total time: 1.400s
sending 'userdata' (938 KB)...
OKAY [ 0.151s]
writing 'userdata'...
FAILED (status read failed (No such device))
finished. total time: 5.527s
Any idea what I'm doing wrong?
I'm trying to listen for hardware button events like "home", "volume up", "volume down", ...
But no listener is triggered. This is my simple test script:
window.addEventListener('mozbrowserbeforekeydown', function (evt) {
console.log(evt);
});
window.addEventListener('mozbrowserbeforekeyup', function (evt) {
console.log(evt);
});
window.addEventListener('mozbrowserafterkeydown', function (evt) {
console.log(evt);
});
window.addEventListener('mozbrowserafterkeyup', function (evt) {
console.log(evt);
});
window.addEventListener('keydown', function (evt) {
console.log(evt);
});
window.addEventListener('keyup', function (evt) {
console.log(evt);
});
I've tried to add
"permissions": {
"before-after-keyboard-event": {}
}
but this didn't solve the problem, too.
Do I miss some setting somewhere?
After a clean install the bootstrap process fails (and so will the examples because of that) because there is no local_settings.json, there is a local_settings.json.example though. By renaming and doing a make install-phone the issue is resolved.
Hello,
I'm trying your cool project on my Peak.
Everything works fine except the keydown event is never fired when I use the hardware buttons.
Am I missing something?
First, thank you very much for this distro! 👍
If I'm running https://github.com/justindarc/fxos-web-server inside JanOS I'm getting:
NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS: [JavaScript Error: "TCPSocket does not have permission in this context.
" {file: "jar:file:///system/b2g/omni.ja!/components/TCPSocket.js" line: 647}]'[JavaScript Error: "TCPSocket does not have permission in this context.
" {file: "jar:file:///system/b2g/omni.ja!/components/TCPSocket.js" line: 647}]' when calling method: [nsIDOMTCPSocket::listen]
I've added the right permission to https://github.com/janjongboom/janos/blob/master/apps/system/manifest.webapp
:
"permissions": {
"tcp-socket": {}
},
So what's wrong with it?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.