Difference between revisions of "Jolla"
m |
m (fixed limk to Mitakuuluu) |
||
(48 intermediate revisions by 11 users not shown) | |||
Line 41: | Line 41: | ||
forum?: | forum?: | ||
− | '''at TMO''' | + | '''at TMO''' : http://talk.maemo.org/forumdisplay.php?f=56 |
git: | git: | ||
Line 47: | Line 47: | ||
http://github.com/nemomobile-packages/ | http://github.com/nemomobile-packages/ | ||
http://github.com/mer-packages/ | http://github.com/mer-packages/ | ||
+ | |||
== Features possibly to be added later (aka TODO list) == | == Features possibly to be added later (aka TODO list) == | ||
* hopefully NFS mounts (maybe via app) -- AL13N | * hopefully NFS mounts (maybe via app) -- AL13N | ||
− | * | + | * [[BlueTooth]] pairing with the help of [[NFC]] |
− | * bluetooth GPS pairing (overrides and turn off own GPS sensors) | + | * bluetooth [[GPS]] pairing (overrides and turn off own GPS sensors) |
* bluetooth car audio (parrot and the likes) | * bluetooth car audio (parrot and the likes) | ||
* better android support | * better android support | ||
Line 69: | Line 70: | ||
* navigation -- apello via Jolla | * navigation -- apello via Jolla | ||
* file manager (that can find SD) -- Jolla | * file manager (that can find SD) -- Jolla | ||
+ | * advanced locale settings (english, but with metric and € and things like that) | ||
* notes should be similar to other apps and have same cover icons: new + update/sync | * notes should be similar to other apps and have same cover icons: new + update/sync | ||
Line 78: | Line 80: | ||
== Interesting native apps possibly in the works == | == Interesting native apps possibly in the works == | ||
+ | (see also the not-up-to-date https://wiki.merproject.org/wiki/Sailfish#App_List ) | ||
* NFCKeyring | * NFCKeyring | ||
* [http://blog.ruecker.fi/2013/12/01/mosh-for-sailfish/ MOSH (by tbr)] | * [http://blog.ruecker.fi/2013/12/01/mosh-for-sailfish/ MOSH (by tbr)] | ||
− | * [ACCEPTED] CityBike'me (by TheBootroo) | + | * [ACCEPTED] CityBike'me - an app to use JCDecaux self-service bike system in many cities (by TheBootroo) |
+ | * Feed'me - a Feedly client with offline mode (by TheBootroo) | ||
+ | * Staq'me - a StackExchange client (by TheBootroo) | ||
+ | * Units converter (by BlueMagma) | ||
* Billboard (by thp) | * Billboard (by thp) | ||
* [ACCEPTED] Puzzle Master (by Venemo) | * [ACCEPTED] Puzzle Master (by Venemo) | ||
Line 88: | Line 94: | ||
* [https://github.com/dm8tbr/sowatch SOWatch (originally by Javispedro, porting attempt by tbr)] | * [https://github.com/dm8tbr/sowatch SOWatch (originally by Javispedro, porting attempt by tbr)] | ||
* Network monitor app (by Winfried) | * Network monitor app (by Winfried) | ||
− | * Whatsapp (by coderus) | + | * Whatsapp (by coderus) [https://openrepos.net/content/coderus/mitakuuluu Mitakuuluu] |
* QuickBar (GiuliettaSW) | * QuickBar (GiuliettaSW) | ||
* BitPurse (by Khertan) | * BitPurse (by Khertan) | ||
− | * ownNotes (by Khertan) | + | * [https://github.com/khertan/ownNotes ownNotes] - an OwnCloud Notes app (by Khertan) |
* two paned file manager (by Martin) | * two paned file manager (by Martin) | ||
* [http://ruedigergad.github.io/meepasswords/ meepasswords] (by Ruediger) | * [http://ruedigergad.github.io/meepasswords/ meepasswords] (by Ruediger) | ||
* [http://ruedigergad.github.io/qtodo/ qtodo] (by Ruediger) | * [http://ruedigergad.github.io/qtodo/ qtodo] (by Ruediger) | ||
+ | * Flashlight (by Artem) (waiting on Torch API finalization) | ||
+ | * [ACCEPTED] HelloWorld Pro (by Artem) | ||
+ | * [ACCEPTED] Wikipedia (by Artem) | ||
+ | * [https://github.com/dcaliste/maep-qt Mæp] (by Till Harbuam, ported by Damien Caliste), a tiled maps viewer for different sources including Open Street Map, Google Maps or Virtual Earth. GPS positioning and tracks are provided, plus location search and information. More informartion on [http://talk.maemo.org/showthread.php?t=91538 Maemo forums]. | ||
+ | * modRana flexible navigation system (by Martin) | ||
+ | * Mieru offline manga (by Martin) | ||
+ | * comic book reader (by Martin) | ||
+ | * [https://github.com/tanghus/currency-converter-qml Currency Converter] (by Thomas Tanghus) | ||
+ | * [https://github.com/tanghus/kitchen-timer-qml Kitchen Timer] (by Thomas Tanghus) | ||
+ | * [https://github.com/jobe-m/ownkeepass KeepassX] (by Marko) | ||
+ | * [ACCEPTED] MPD (by Hendrik) (update coming) | ||
+ | * [https://openrepos.net/content/mikelima/quando-parte Quando Parte], an Italian train delay monitor (by Luciano Montanaro) | ||
+ | * SailSoma (by Andrea & Damien) | ||
+ | * Rockwatch (by mike) | ||
+ | * [ACCEPTED] [https://bitbucket.org/FryeX/samegame/wiki SameGame] (by Frye) | ||
+ | * Quando Parte (by Luciano) | ||
+ | * MeeCast (by Vlad) | ||
+ | * MeeRun | ||
+ | * redak (by --[[User:RzR|RzR]] ([[User talk:RzR|talk]]) 02:21, 2 January 2014 (UTC)) (WIP but low priority have no devices to test yet) | ||
+ | * [http://talk.maemo.org/showpost.php?p=1390982&postcount=1 CuteSpotify] made by Michael Sheldon (by mattiviljanen) | ||
== Cool Ideas, but No Time aka CINT == | == Cool Ideas, but No Time aka CINT == | ||
+ | |||
* Openstreetmap app using some kind of RCS torrent protocol extension | * Openstreetmap app using some kind of RCS torrent protocol extension | ||
* wardriving app with aircrack (also injection) | * wardriving app with aircrack (also injection) | ||
Line 132: | Line 159: | ||
## copy -a /home/nemo/.ssh /root | ## copy -a /home/nemo/.ssh /root | ||
## chown root:root -R /root/.ssh | ## chown root:root -R /root/.ssh | ||
+ | |||
+ | [Note for OS X users on SSH over USB connection: You need to install HORNDIS in order to do the above. | ||
+ | Get it from http://joshuawise.com/horndis#available_versions | ||
+ | Direct link:http://joshuawise.com/downloads/HoRNDIS-rel5.pkg - the download is tiny, only takes a sec. | ||
+ | More details here: http://flyingsheeponsailfish.blogspot.dk/2014/01/connecting-to-jolla-via-ssh-over-usb.html] | ||
+ | |||
+ | [General note on SSH over USB connection: If you are on a system where it doesn't work, check if there is an implementation of RNDIS (Microsoft proprietary) on your system. This is what is needed in order connect; if it is not there, try to see if you can find and install one.] | ||
=== How is The Other Half connecting to the Phone? === | === How is The Other Half connecting to the Phone? === | ||
* see http://talk.maemo.org/showpost.php?p=1390512&postcount=174 for possible pins | * see http://talk.maemo.org/showpost.php?p=1390512&postcount=174 for possible pins | ||
− | * NFC (a unique ID) | + | * NFC (a unique ID): apparently it's open, and it has some room left (also as long as you have TOH near phone, they cannot track you!): http://www.reddit.com/r/Jolla/comments/1t9xtv/jolla_white_the_other_half_nfc_contents/ |
* I²C (bandwidth/pins unknown as of yet) | * I²C (bandwidth/pins unknown as of yet) | ||
** 1,8V I2C (400kHz default setting in kernel) | ** 1,8V I2C (400kHz default setting in kernel) | ||
Line 151: | Line 185: | ||
=== Where do I put .apk files === | === Where do I put .apk files === | ||
− | + | Download with the web browser, tap the apk file in the transfers view (Settings) or install any package from the command line: | |
− | + | apkd-install /path/to/apkfile.apk | |
− | + | Do '''not''' put the apk file into <code>/data/app/</code> directly, apkd has to be used to make sure the new apk file is properly installed and registered. | |
− | |||
− | + | To remove apk files again, use: | |
− | + | apkd-uninstall apkfile.apk | |
− | |||
− | |||
=== How to install the Google Play Store === | === How to install the Google Play Store === | ||
− | (From [http://jollafin.blogspot.fi/2013/11/play-store-for-jolla.html]) | + | (From [http://jollafin.blogspot.fi/2013/11/play-store-for-jolla.html], [http://talk.maemo.org/showpost.php?p=1399352&postcount=30]) |
# Enable Jolla Developer Mode and allow SSH-connection. | # Enable Jolla Developer Mode and allow SSH-connection. | ||
Line 176: | Line 207: | ||
# Write command: rsync -av --ignore-existing /home/nemo/system /opt/alien | # Write command: rsync -av --ignore-existing /home/nemo/system /opt/alien | ||
# Reboot phone | # Reboot phone | ||
− | # Install Google Play services to Jolla | + | # Install [http://randomi.info/p/jolla/com.google.android.gms-(3.1.36).apk Google Play services] to Jolla |
− | # Install Google Play Store to Jolla | + | # Install [http://randomi.info/p/jolla/Phonesky.apk Google Play Store] to Jolla |
# Start Play Store and do updates. | # Start Play Store and do updates. | ||
+ | # Paid apps might need a small workaround, as the installer may crash in the middle of the process | ||
+ | ## Open SSH-connection to your phone and login. | ||
+ | ## Write "ls -l /data/app-private/vmdl*.tmp" and press enter. | ||
+ | ## See what the latest file is, and write "mv /data/app-private/vmdlXXX.tmp yourapplication.apk" | ||
+ | ## Write "apkd-install yourapplication.apk" | ||
+ | |||
+ | === How do I enable USB tethering? === | ||
+ | # Enable Jolla Developer Mode | ||
+ | # Configure your PC for RNDIS networking (Linux and Windows Vista and later should have it by default, MacOS needs [http://joshuawise.com/horndis] ) | ||
+ | # Configure manual IP address on PC, address in 192.168.2.x network (e.g. 192.168.2.1), router 192.168.2.15, valid DNS server (e.g. 8.8.8.8) | ||
+ | # On Jolla, run | ||
+ | ## echo 1 > /proc/sys/net/ipv4/ip_forward | ||
+ | ## /sbin/iptables -t nat -A POSTROUTING -o rmnet0 -j MASQUERADE | ||
+ | ## /sbin/iptables -A FORWARD -i rmnet0 -o rndis0 -m state --state RELATED,ESTABLISHED -j ACCEPT | ||
+ | ## /sbin/iptables -A FORWARD -i rndis0 -o rmnet0 -j ACCEPT | ||
+ | |||
+ | === How do I enable WiFi tethering? === | ||
+ | # Install connman-test package (pkcon install connman-test) | ||
+ | # Enable WiFi in settings (otherwise you get a dbus.exceptions.DBusException: net.connman.Error.PermissionDenied: Permission denied) | ||
+ | # Run /usr/lib/connman/test/enable-tethering wifi SSID passphrase | ||
+ | |||
+ | Passphrase must be at least 8 characters, or you will get a net.connman.Error.PassphraseRequired: Passphrase required error. | ||
=== How is the software structured === | === How is the software structured === | ||
Line 202: | Line 255: | ||
This is a basic overview of the hardware subsystems of the Jolla phone. | This is a basic overview of the hardware subsystems of the Jolla phone. | ||
Please populate the items. | Please populate the items. | ||
− | See http://wiki.maemo.org/N900_Hardware_Subsystems for one suggested style. | + | See http://wiki.maemo.org/N900_Hardware_Subsystems for one suggested style. Some specifics from a teardown can be found at [http://talk.maemo.org/showthread.php?t=92243]. |
* Audio | * Audio | ||
Line 220: | Line 273: | ||
** MicroSD slot (with ~15M/s write performance, so Class 10) | ** MicroSD slot (with ~15M/s write performance, so Class 10) | ||
* Power managment | * Power managment | ||
− | ** Battery | + | ** Battery ( *#*#310#*#* and there's some battery related tests/measurements ) |
** Charge meter | ** Charge meter | ||
* Phone | * Phone | ||
− | ** Phone module | + | ** Phone module: There appear to be at least two RF amplifiers; one is an [http://www.sekorm.com/Ectm/27465 ACPM-7251 manufactured by "Avago Technologies"].[http://talk.maemo.org/showthread.php?t=92243] |
** SIM | ** SIM | ||
* CPU | * CPU | ||
Line 233: | Line 286: | ||
** Wifi (can do injection, donno about master mode yet) | ** Wifi (can do injection, donno about master mode yet) | ||
** USB | ** USB | ||
+ | ** NFC: [http://www.nxp.com/documents/leaflet/75016890.pdf PN544] manufactured by NXP Semiconductors.[http://talk.maemo.org/showthread.php?t=92243] | ||
== Thoughts on security == | == Thoughts on security == | ||
Line 258: | Line 312: | ||
new version major of any app can then be used to email dependant app maintainer to check and/or update their app for compatibility | new version major of any app can then be used to email dependant app maintainer to check and/or update their app for compatibility | ||
− | == Wishlist | + | == bugtracker == |
+ | |||
+ | === purpose === | ||
+ | * bugs for sailfish UI | ||
+ | * bugs for Jolla apps | ||
+ | * bugs for alien dalvik | ||
+ | * bugs for harbour | ||
+ | * ...? | ||
+ | |||
+ | === place === | ||
+ | tbr will set up a place for it on Devaamo's (no-profit pro-oss Tampere-area association) | ||
+ | |||
+ | === Jolla support (?) === | ||
+ | * w00t | ||
+ | * special | ||
+ | * (maybe lpotter, though he doesn't like Bugtracker and prefers mailinglist) | ||
+ | * ... | ||
+ | |||
+ | === Wishlist === | ||
+ | * separate projects for the purpose above | ||
+ | * english language is fine | ||
+ | * some kind of tagging to make sure it's triaged | ||
+ | * daily mail with the newly triaged bug reports and also the top 10 in priority of open bugs (unassigned?) | ||
+ | * everyone can make it | ||
+ | * lots of community helpers to keep spam to a low and to keep the devs working on dev stuff and lose as less time as possible on managing bugs :-) | ||
+ | * if preferable by Jolla employees, a separate mailinglist could possibly be provided to send each bug to (bugs@sailfishos.org) ? | ||
== LINKS == | == LINKS == |
Latest revision as of 05:12, 1 June 2014
Jolla is a mobile Linux phone based on Sailfish OS and Mer.
Contents
- 1 I have an issue/idea/problem aka Where to get help
- 2 Developing for Jolla/Sailfish
- 3 Features possibly to be added later (aka TODO list)
- 4 Interesting native apps possibly in the works
- 5 Cool Ideas, but No Time aka CINT
- 6 Avoid
- 7 Tech FAQ
- 7.1 See pirate pad for more
- 7.2 How to connect to SSH over usb connection from PC
- 7.3 How is The Other Half connecting to the Phone?
- 7.4 Where do I put .apk files
- 7.5 How to install the Google Play Store
- 7.6 How do I enable USB tethering?
- 7.7 How do I enable WiFi tethering?
- 7.8 How is the software structured
- 7.9 What kind of new software is used
- 8 Jolla Hardware
- 9 Thoughts on security
- 10 Thoughts on app development
- 11 bugtracker
- 12 LINKS
I have an issue/idea/problem aka Where to get help
- is it the software? No or doubt --> email care@jolla.com
- check FAQs at http://care.jolla.com/ (or below)
- do you have a cool idea/app and wish to work on it yourself? Yes --> spread idea in #jollamobile on IRC, get help via sailfish ML
- is it android compatibility? Yes --> file bug at to be created bugtracker that will be passed on to alien dalvik by Jolla employees
- is it non-jolla apps? --> maybe give app review, or contact app maker
- in doubt how to ask questions below --> ask in #jollamobile on IRC
- is it sailfish UI or jolla apps (basic UI structure)? Yes --> file bug at to be created bugtracker that will be passed onto Jolla employees
- is it nemo (higher level basic OS (non UI/mobile specific))? Yes --> file bug on nemo tracker or mail the mailing list
- is it mer (lower level basic OS (non UI))? Yes --> file bug on mer tracker, or mail the mer mailing list
- is it kernel? Yes --> get help on LKML (or ask in #jollamobile on IRC)
- anything else? ask on IRC in #jollamobile or file bug at to be created bugtracker
Developing for Jolla/Sailfish
To develop applications for Jolla, you need to download the SailFish SDK.
Motto of Jolla devs:
Don't wait for us, do something and we'll follow you.
'Then that is what we'll do!'
have interesting ideas?:
add it and yourself to section TODO list below
working on some apps?
add it and yourself to section apps below
list of bugs for sailfish goes here (bugtracker):
kernel: LKML mer: nemomobile: nemomobile-packages: sailfish:possibly to be created with nemo or just sailfish-devel ML alien dalvik (android): donno yet
questions on development?:
irc://freenode.net/#jollamobile ML: devel@lists.sailfishos.org
forum?:
at TMO : http://talk.maemo.org/forumdisplay.php?f=56
git:
http://github.com/nemomobile/ http://github.com/nemomobile-packages/ http://github.com/mer-packages/
Features possibly to be added later (aka TODO list)
- hopefully NFS mounts (maybe via app) -- AL13N
- BlueTooth pairing with the help of NFC
- bluetooth GPS pairing (overrides and turn off own GPS sensors)
- bluetooth car audio (parrot and the likes)
- better android support
- qwerty TOH
- getting qcom open source driver to work
- security for apps -- AL13N
only jolla devs:
- improved clock sync (automatic update) [FIXED by Jolla]
- notification scrolling -- Jolla
- Landscape browsing -- Jolla
- 4G support -- Jolla
- USB Host mode
- MMS support
- caldav/carddav support
- navigation -- apello via Jolla
- file manager (that can find SD) -- Jolla
- advanced locale settings (english, but with metric and € and things like that)
- notes should be similar to other apps and have same cover icons: new + update/sync
harbour stuff:
- harbour public list of apps
- harbour user reviews of apps
- harbour real data
- harbour list of apps being worked on, maybe, visible for app devs only? so that other devs know something is being worked on, so they don't have to do it themselves?
Interesting native apps possibly in the works
(see also the not-up-to-date https://wiki.merproject.org/wiki/Sailfish#App_List )
- NFCKeyring
- MOSH (by tbr)
- [ACCEPTED] CityBike'me - an app to use JCDecaux self-service bike system in many cities (by TheBootroo)
- Feed'me - a Feedly client with offline mode (by TheBootroo)
- Staq'me - a StackExchange client (by TheBootroo)
- Units converter (by BlueMagma)
- Billboard (by thp)
- [ACCEPTED] Puzzle Master (by Venemo)
- IRC Chatter (by Venemo)
- [ACCEPTED] speedcrunch (by qwazix)
- [ACCEPTED] Morzyn (by yoktobit)
- SOWatch (originally by Javispedro, porting attempt by tbr)
- Network monitor app (by Winfried)
- Whatsapp (by coderus) Mitakuuluu
- QuickBar (GiuliettaSW)
- BitPurse (by Khertan)
- ownNotes - an OwnCloud Notes app (by Khertan)
- two paned file manager (by Martin)
- meepasswords (by Ruediger)
- qtodo (by Ruediger)
- Flashlight (by Artem) (waiting on Torch API finalization)
- [ACCEPTED] HelloWorld Pro (by Artem)
- [ACCEPTED] Wikipedia (by Artem)
- Mæp (by Till Harbuam, ported by Damien Caliste), a tiled maps viewer for different sources including Open Street Map, Google Maps or Virtual Earth. GPS positioning and tracks are provided, plus location search and information. More informartion on Maemo forums.
- modRana flexible navigation system (by Martin)
- Mieru offline manga (by Martin)
- comic book reader (by Martin)
- Currency Converter (by Thomas Tanghus)
- Kitchen Timer (by Thomas Tanghus)
- KeepassX (by Marko)
- [ACCEPTED] MPD (by Hendrik) (update coming)
- Quando Parte, an Italian train delay monitor (by Luciano Montanaro)
- SailSoma (by Andrea & Damien)
- Rockwatch (by mike)
- [ACCEPTED] SameGame (by Frye)
- Quando Parte (by Luciano)
- MeeCast (by Vlad)
- MeeRun
- redak (by --RzR (talk) 02:21, 2 January 2014 (UTC)) (WIP but low priority have no devices to test yet)
- CuteSpotify made by Michael Sheldon (by mattiviljanen)
Cool Ideas, but No Time aka CINT
- Openstreetmap app using some kind of RCS torrent protocol extension
- wardriving app with aircrack (also injection)
- AGTL (Automatic Geocaching Tool for Linux) port
- Battery graph app
Avoid
try to get beta updates and fail to get devmode back on again
- log in with x@sales with any password, it fails
- turn back devmode again
try to get developer access in devmode
- try 'ssu domain sales'
Tech FAQ
See pirate pad for more
How to connect to SSH over usb connection from PC
the usb is either usb_storage or usb_net
- enable developer mode
- enable SSH (it's openssh, not dropbear)
- set password
- goto usb settings
- change that to developer mode
- reconnect usb cable
- you should see the ip address of the device on the UI
- you should be able to ssh to that address from PC (set an ip address first)
optional:
- copy ssh public key to /home/nemo/.ssh/authorized_keys
- ssh-copy-id nemo@192.168.2.15
- copy ssh public key to /root/.ssh/authorized_keys
- devel-su
- copy -a /home/nemo/.ssh /root
- chown root:root -R /root/.ssh
[Note for OS X users on SSH over USB connection: You need to install HORNDIS in order to do the above. Get it from http://joshuawise.com/horndis#available_versions Direct link:http://joshuawise.com/downloads/HoRNDIS-rel5.pkg - the download is tiny, only takes a sec. More details here: http://flyingsheeponsailfish.blogspot.dk/2014/01/connecting-to-jolla-via-ssh-over-usb.html]
[General note on SSH over USB connection: If you are on a system where it doesn't work, check if there is an implementation of RNDIS (Microsoft proprietary) on your system. This is what is needed in order connect; if it is not there, try to see if you can find and install one.]
How is The Other Half connecting to the Phone?
- see http://talk.maemo.org/showpost.php?p=1390512&postcount=174 for possible pins
- NFC (a unique ID): apparently it's open, and it has some room left (also as long as you have TOH near phone, they cannot track you!): http://www.reddit.com/r/Jolla/comments/1t9xtv/jolla_white_the_other_half_nfc_contents/
- I²C (bandwidth/pins unknown as of yet)
- 1,8V I2C (400kHz default setting in kernel)
- Other half expected to work in slave mode, phone is master
- Dedicated INT GPIO (1,8V) for interrupts
- power in (for charging)
- power out (for using battery)
- 3,3V VDD (max 300mA, preferrably < 150mA to avoid thermal issues)
and of course also
- Bluetooth
- Wifi
- USB
Where do I put .apk files
Download with the web browser, tap the apk file in the transfers view (Settings) or install any package from the command line:
apkd-install /path/to/apkfile.apk
Do not put the apk file into /data/app/
directly, apkd has to be used to make sure the new apk file is properly installed and registered.
To remove apk files again, use:
apkd-uninstall apkfile.apk
How to install the Google Play Store
- Enable Jolla Developer Mode and allow SSH-connection.
- Download http://goo.im/gapps/gapps-jb-20121011-signed.zip and extract it.
- Plug your Jolla with USB to computer in normal mode.
- Copy system-folder from your extract files to Jolla.
- Open SSH-connection to your phone and login.
- Write "devel-su" and press enter. After that, write your password.
- Write command: rsync -av --ignore-existing /home/nemo/system /opt/alien
- Reboot phone
- Install Google Play services to Jolla
- Install Google Play Store to Jolla
- Start Play Store and do updates.
- Paid apps might need a small workaround, as the installer may crash in the middle of the process
- Open SSH-connection to your phone and login.
- Write "ls -l /data/app-private/vmdl*.tmp" and press enter.
- See what the latest file is, and write "mv /data/app-private/vmdlXXX.tmp yourapplication.apk"
- Write "apkd-install yourapplication.apk"
How do I enable USB tethering?
- Enable Jolla Developer Mode
- Configure your PC for RNDIS networking (Linux and Windows Vista and later should have it by default, MacOS needs [3] )
- Configure manual IP address on PC, address in 192.168.2.x network (e.g. 192.168.2.1), router 192.168.2.15, valid DNS server (e.g. 8.8.8.8)
- On Jolla, run
- echo 1 > /proc/sys/net/ipv4/ip_forward
- /sbin/iptables -t nat -A POSTROUTING -o rmnet0 -j MASQUERADE
- /sbin/iptables -A FORWARD -i rmnet0 -o rndis0 -m state --state RELATED,ESTABLISHED -j ACCEPT
- /sbin/iptables -A FORWARD -i rndis0 -o rmnet0 -j ACCEPT
How do I enable WiFi tethering?
- Install connman-test package (pkcon install connman-test)
- Enable WiFi in settings (otherwise you get a dbus.exceptions.DBusException: net.connman.Error.PermissionDenied: Permission denied)
- Run /usr/lib/connman/test/enable-tethering wifi SSID passphrase
Passphrase must be at least 8 characters, or you will get a net.connman.Error.PassphraseRequired: Passphrase required error.
How is the software structured
- jolla hw adaptation for device
- mer
- nemo
- sailfishos middle layer
- sailfishos UI
- native apps or android app via emulator or html5 apps via browser(gecko engine)
What kind of new software is used
- kernel 3.4
- btrfs as rootfs
- ext4 mounts
- systemd with journal
- pulseaudio
- wayland
- qt5.1
- libhybris (load Android bionic libraries and HAL in a glibc system)
Jolla Hardware
This is a basic overview of the hardware subsystems of the Jolla phone. Please populate the items. See http://wiki.maemo.org/N900_Hardware_Subsystems for one suggested style. Some specifics from a teardown can be found at [4].
- Audio
- Video
- USB
- User interaction
- Touchscreen
- Accelerometer
- GPS
- Magnetometer
- Gyroscope
- Switches
- Proximity Sensor
- Light sensor
- Storage
- On-board 16 GB eMMC
- MicroSD slot (with ~15M/s write performance, so Class 10)
- Power managment
- Battery ( *#*#310#*#* and there's some battery related tests/measurements )
- Charge meter
- Phone
- Phone module: There appear to be at least two RF amplifiers; one is an ACPM-7251 manufactured by "Avago Technologies".[5]
- SIM
- CPU
- Core System on Chip
- RAM
- Flash
- Networking
Thoughts on security
- app security
- run all apps as regular user
- put every app in a cgroup container?
- have a list of policykit defined rules for system/hardware things
- developer mode dependency? (ie: sudo root access? for certain things)
- on harbour: app creator can ask for extra policykit defined rules
- on harbour: list the username you wish to run your app as (does not have to be unique if there's a specific reason for that)
- on harbour: defined policykit rules that app exports/handles for other apps to use functionality
- on harbour: requested limits/priority for cgroup (nice/realtime)
- on harbour: developer to be reachable for bugs/update request(eg; security reasons)? (estimated timeframe of app update? does the dev want to be warned? willingness to keep app updated? app take-over? abandonware?)
- policy on how to handle unsecure apps? (lock down cgroup/user/...? warn user? ...)
Thoughts on app development
- developer to be reachable for bugs/update request(eg; security reasons)? (estimated timeframe of app update? does the dev want to be warned? willingness to keep app updated? app take-over? abandonware?)
- each app to define services (for other apps) via API on some versioning rules (add to API means new minor release, remove/change from API means new major release, etc...)
- install requirements to be similar (rpm spec requires/suggests)
- tasks/bundled rpms? (referring to optional suggests)
this helps documentation and working on apps compatible with each other...
new version major of any app can then be used to email dependant app maintainer to check and/or update their app for compatibility
bugtracker
purpose
- bugs for sailfish UI
- bugs for Jolla apps
- bugs for alien dalvik
- bugs for harbour
- ...?
place
tbr will set up a place for it on Devaamo's (no-profit pro-oss Tampere-area association)
Jolla support (?)
- w00t
- special
- (maybe lpotter, though he doesn't like Bugtracker and prefers mailinglist)
- ...
Wishlist
- separate projects for the purpose above
- english language is fine
- some kind of tagging to make sure it's triaged
- daily mail with the newly triaged bug reports and also the top 10 in priority of open bugs (unassigned?)
- everyone can make it
- lots of community helpers to keep spam to a low and to keep the devs working on dev stuff and lose as less time as possible on managing bugs :-)
- if preferable by Jolla employees, a separate mailinglist could possibly be provided to send each bug to (bugs@sailfishos.org) ?