OS-sw ver.: CCBot/2.0 (http://commoncrawl.org/faq/)
Login date: 27 May 18 - 09:28:38
IP Address: 54.156.76.187Cursore

Registrati

---------------------------------------------------------------------------------
Installazione di un pacchetto
---------------------------------------------------------------------------------



Per installare un pacchetto Sailfish si usa pkcon in questa maniera:


su-devel
Password:
pkcon refresh
pkcon install nomepacchetto


Per aggiungere repo e altre opzioni seguire l'help di pkcon.

---------------------------------------------------------------------------------
Stato della batteria
---------------------------------------------------------------------------------


Cartella per monitorare lo stato:
/sys/class/power_supply/battery/
capacity: File per la percentuale di carica

comando:

upower -d



output:

Device: /org/freedesktop/UPower/devices/battery_battery
  native-path:          battery
  power supply:         yes
  updated:              Tue May 24 10:39:09 2016 (17 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               charging
    energy:              5.15538 Wh
    energy-empty:        0 Wh
    energy-full:         7.47156 Wh
    energy-full-design:  7.98 Wh
    energy-rate:         1.58631 W
    voltage:             4.08981 V
    time to full:        1.5 hours
    percentage:          69%
    temperature:         30.6 degrees C
    capacity:            93.6286%
    technology:          lithium-ion
  History (rate):
    1464079149  1.586   unknown
    1464079089  1.701   charging

Device: /org/freedesktop/UPower/devices/line_power_pm8921_dc
  native-path:          pm8921-dc
  power supply:         yes
  updated:              Tue May 24 10:38:33 2016 (53 seconds ago)
  has history:          no
  has statistics:       no
  line-power
    online:             no

Device: /org/freedesktop/UPower/devices/line_power_usb
  native-path:          usb
  power supply:         no
  updated:              Tue May 24 10:38:33 2016 (53 seconds ago)
  has history:          no
  has statistics:       no
  line-power
    online:             yes

Daemon:
  daemon-version:  0.9.23
  on-battery:      no
  on-low-battery:  no
  lid-is-closed:   no
  lid-is-present:  no
  is-docked:       no



---------------------------------------------------------------------------------
Stato segnale parte telefono
---------------------------------------------------------------------------------



comando:

cat /run/state/namespaces/Cellular/nomefile



output:

umts

---------------------------------------------------------------------------------
Modalità test
---------------------------------------------------------------------------------



Per entrare in modalità test, ovvero accedere al CSD tool (non necessita di riavvio), basta digitare il seguente numero (parte tel):

*#*#310#*#*

Apparirà come per magia il CSD tool dal quale possiamo far partire i nostri test hardware che comprendono test sulla batteria sul touch e tutti i vari sensori del telefono.


---------------------------------------------------------------------------------
Recovery mode
---------------------------------------------------------------------------------



Link: https://jolla.zendesk.com/hc/en-us/articles/204709607-Jolla-Phone-How-do-I-use-the-Recovery-Mode-
  1. spegnere il cellulare e staccare la batteria
  2. tenere premuto "volume giu"  e reinserire la batteria
  3. mantenere premuto il tasto "volume giu" e premere contemporaneamente il tasto "power" finchè jolla non vibra (jolla rimarrà con il logo e il led bianco acceso)
  4. connettere il cellulare al pc e lanciare un telnet verso l'indirizzo 10.42.66.66, da lì si accede al menu di restore

---------------------------------------------------------------------------------
Jolla non parte dopo che la batteria si è scaricata completamente
---------------------------------------------------------------------------------



Mi è capitato che jolla non partisse più dopo che si era scaricata la batteria completamente. Per risolvere ciò ho staccato la batteria, attaccato il cavo usb e ricollegato la batteria; magicamente ha iniziato a caricare! Qualsiasi altro tentativo tipo stacca attacca batt ricollega cavo, collega batteria e tieni premuto tasti power, volume ecc non ha funzionato, rimaneva con led lampeggiante rosso e non si muoveva da lì.

---------------------------------------------------------------------------------
Upgrade da shell
---------------------------------------------------------------------------------



Mi è capitato con l'ultimo aggiornamento che da gui non mi facesse l'upgrade, quindi ho proceduto con l'aggiornamento via shell (e per fortuna è andato tutto liscio...)

comandi:

devel-su ## Use your SSH password here
ssu release 1.1.2.16 ## Your target OS version - change if needed
version --dup



---------------------------------------------------------------------------------
Mount scripts
---------------------------------------------------------------------------------



File default di jolla per l'esecuzione dei suoi mounts (sconsigliato l'editing):

/usr/sbin/mount-sd.sh


File per i mount custom degli utenti jolla:

/usr/sbin/mount-sd.custom.sh


Qua sotto il mio, in costante modifica ;)
#!/bin/bash

ACTION=$1

if [ "$ACTION" = "add" ]; then
    #mount -o bind /home/nemo/Pictures/ /home/nemo/android_storage/Pictures/
    mount -o bind /home/nemo/Downloads/ /home/nemo/android_storage/Download/
    mount -o bind /home/nemo/Documents/ /home/nemo/android_storage/Documents/
    mount -o bind /home/nemo/Videos/ /home/nemo/android_storage/Movies/
    mount -o bind /home/nemo/Music/ /home/nemo/android_storage/Music/
    mount -o bind /data/sdcard/roms/ /home/nemo/android_storage/MAME4droid/roms
#    mount -o bind /home/nemo/Downloads/ /home/nemo/android_storage/Download/
#    mount -o bind /home/nemo/Pictures/ /home/nemo/android_storage/DCIM/
#  mount /dev/mmcblk1p1 /mnt/sd
#  mount -o bind /mnt/sd/.home /home/nemo
#  mount -o bind /mnt/sd/.android /data/media
else
    #umount /home/nemo/android_storage/Pictures/
    umount /home/nemo/android_storage/Documents/
    umount /home/nemo/android_storage/Movies/
    umount /home/nemo/android_storage/Music/
    umount /home/nemo/android_storage/Download/
#    umount /home/nemo/android_storage/DCIM/

#  umount /data/media
#  umount /home/nemo
#  umount /mnt/sd
fi


---------------------------------------------------------------------------------
Installazione GooglePlay
---------------------------------------------------------------------------------


(art. https://together.jolla.com/question/30926/howto-install-google-play/)

1-Make sure you have a Jolla account and the Jolla device can access the Jolla Store.-Go to |- Settings | System Settings | Developer Mode -|. Because your Jolla device can access the Jolla Store, a Terminal app is installed now.
2-Activate „Developer mode“.
3-Activate „Remote connection” (either enter and [Save] a password or [Generate] it; if you generate it, you have to edit it slightly before the [Save] button becomes available).
4-Using the Jolla device, open the browser and download https://lu4ndr01d.googlecode.com/files/gapps-jb-20121011-signed.zip. The file is downloaded to directory /home/nemo/Downloads
5-Open the Terminal app installed during step 2. The SailfishOS command prompt will appear. You are logged in as user, the prompt is a "$".
6-Go to the download directory: Enter

cd ~/Downloads [Enter]


In case of an English Terminal keyboard layout, the "~" key is the shifted "=" key.
7-Unzip the file: Enter

unzip gapps-jb-20121011-signed.zip [Enter].


8-Get root access Enter:

devel-su [Enter].


9-When requested: Enter your password (as specified during step 4) and [Enter]. The prompt changes from "$" to "#". Now, you have root access to the Jolla device! Be careful!
10-Go to the destination directory: Enter

cd /opt/alien/system/app [Enter].


11-Copy the following files one by one (you do not need all the other ones unzipped before):

cp /home/nemo/Downloads/system/app/Phonesky.apk .


(Do not forget the dot at the end of the line.)

cp /home/nemo/Downloads/system/app/GoogleLoginService.apk .
cp /home/nemo/Downloads/system/app/GoogleServicesFramework.apk .


12-By now, your Terminal window will look like:

bash-3.2$ cd ~/Downloads
bash-3.2$ unzip gapps-jb-20121011-signed.zip
inflating: (… many, many lines …)
Inflating: system/usr/srec/en-US/symbols
bash-3.2$ devel-su
Password:
bash-3.2# cd /opt/alien/system/app
bash-3.2# cp /home/nemo/Downloads/system/app/Phonesky.apk .
bash-3.2# cp /home/nemo/Downloads/system/app/GoogleLoginService.apk .
bash-3.2# cp /home/nemo/Downloads/system/app/GoogleServicesFramework.apk .


13-Reboot the Jolla handset (switch off and on using the power button).
     Alternatively:Open app "File Browser".
     Restart Alien Dalvik service: Enter

systemctl restart aliendalvik.service [Return].


     End root access: Enter

exit [Return].


     End Terminal: Enter

exit [Return].


14-Open app "File Browser"
15-Goto directory /opt/alien/system/app. The File Browser opens in the /home/nemo/ directory. To get to the root directory you have to tap the 2 upper left dots, then you can go down to the app directory.
16-Tap file Phonesky.apk. A new page opens with details of this file.
17-From the pulley menu select "Install". The Google Play store is being installed, a corresponding icon placed on the launcher screen.
18-Using File Browser you may clean up the Downloads directory from all the files unzipped there and not required any longer.
19-Start the Play app and log in to the Play store. Refuse all options you do not want (e.g. backup to the Google cloud).

---------------------------------------------------------------------------------
Siti di riferimento ita
---------------------------------------------------------------------------------



http://jollacommunity.it/

Ultimi articoli

Prev Next

Windows - Script batch - Check se servizio running e in caso riavvio

27-03-2018 Click:57

Di seguito un paio di scripta batch per windows che se lanci...

Windows - Script batch - Backup di cartelle/files con robocopy

27-03-2018 Click:43

Nell'esempio successivo, creeremo uno script per l'esecuzion...

JGPSTracker

17-02-2018 Click:364

Salva le coordinate GPS del cellulare per consultarle online...

Visite totali25573
Questo sito web usa i cookies per gestire alcune funzionalità, quali navigazione, autenticazione, commenti, etc. Utilizzando il nostro sito web, accetti l'utilizzo dei cookies.