OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | #planetgemini chat on matrix.org | #gemini-pda chat on Freenode | #zaurus and #alarmz chat on Freenode | ELSI (coming soon) | Ibiblio

IPB

Welcome Guest ( Log In | Register )

Profile
Personal Photo
Options
Options
Personal Statement
Meganerd doesn't have a personal statement currently.
Personal Info
Meganerd
Age Unknown
Gender Not Set
Location Unknown
Birthday Unknown
Interests
No Information
Statistics
Joined: 17-June 18
Profile Views: 656*
Last Seen: 4th November 2019 - 07:18 AM
Local Time: Nov 12 2019, 02:15 PM
34 posts (0 per day)
Contact Information
AIM No Information
Yahoo No Information
ICQ No Information
MSN No Information
Contact Private
* Profile views updated each hour

Meganerd

Members


Topics
Posts
Comments
Friends
My Content
3 Nov 2018
Hello guys,

Does anyone know how to configure the Gemini PDA to turn off the display when I press the Escape button on 2.1.4.14? From my 2.1.3.7 build this was the case and I would prefer this!

Thanks,
1 Nov 2018
Hello fellow Linux bros,

I saw this thread today Sailfish OS 3.0.0 released to early adopters today
(https://www.oesf.org/forum/index.php?showtopic=35592&st=0&#entry290497)

I have to keep type this up quick since it is literally 2:00 AM for me and I am recovering from recent sickness with work tomorrow- so I apologize for the formatting.
Also thanks to Depscribe and Yoram for the thread, it also had some useful information and links for me to get this done.

I was on SFOS 2.1.3.7 initially, but flashed the SFOS 2.1.4.14 build since I wanted to triple boot.
So these are the steps I performed from a fresh install on that build.

Step 0)

Enable early access to SFOS releases at https://account.jolla.com/
(Requires Jolla account; Not sure if required but I enabled it)


Step 1)

I enabled SSH under developer options.
I used SSH for this next task.
CODE
ssh-keygen -f "/home/meganerd/.ssh/known_hosts" -R 192.168.2.15
ssh nemo@192.168.2.15



Step 2)

CODE
devel-su
vi /usr/share/ssu/features.d/adaptation-community-common.ini

(Press 'i' to enter insert mode, modify text, ESC, then enter :wq)


change this line:
CODE
adaptation-community-common = http://repo.merproject.org/obs/nemo:/devel:/hw:/common/sailfish_latest_%(arch)/


to:
CODE
adaptation-community-common = http://repo.merproject.org/obs/nemo:/testing:/hw:/common/sailfishos_%(release)/



QUOTE
If do not change from devel: (state: unstable) to testing: (state: testing) you get trouble with your sensorfw (sensors not working, only a software problem). Before next step you can verify that the change is done with:

CODE
ssu lr



You must go to 2.2.0.29 before going to 3.x
So start the update to 2.2.0.29:


Step 3)

CODE
ssu re 2.2.0.29
ssu lr
pkcon refresh
version --dup
sync
reboot


(if you get "Fatal error: File ... not found" on you made a typo on the adaptations file)


CODE
megaman@machine:~$ ssh nemo@192.168.2.15
nemo@192.168.2.15's password:
Last login: Fri Nov  2 00:59:21 2018 from 192.168.2.4
NOTICE: Env value ignored HYBRIS_LD_LIBRARY_PATH=/usr/libexec/droid-hybris/system/lib:/vendor/lib:/system/lib
,---
| SailfishOS 2.1.4.14 (Lapuanjoki)
'---
[nemo@Sailfish ~]$ devel-su
Password:
[root@Sailfish nemo]# vi /usr/share/ssu/features.d/adaptation-community-common.ini
[root@Sailfish nemo]# ssu lr
[D] unknown:0 - "No carrier"
Enabled repositories (global):
- adaptation-community        ... http://repo.merproject.org/obs/nemo:/testing:/hw:/planet:/geminipda/sailfishos_2.2.0.29/
- adaptation-community-common ... http://repo.merproject.org/obs/nemo:/testing:/hw:/common/sailfishos_2.2.0.29/
- apps                        ... https://releases.jolla.com/jolla-apps/2.2.0.29/armv7hl/
- hotfixes                    ... https://releases.jolla.com/releases/2.2.0.29/hotfixes/armv7hl/
- jolla                       ... https://releases.jolla.com/releases/2.2.0.29/jolla/armv7hl/

Enabled repositories (user):
- store ... https://store-repository.jolla.com/geminipda/armv7hl/?version=2.2.0.29

Disabled repositories (global, might be overridden by user config):

Disabled repositories (user):
- home ... https://download.jollamobile.com/home:/honeybadger/latest_armv7hl/
[root@Sailfish nemo]# ssu re 2.2.0.29
Changing release from 2.2.0.29 to 2.2.0.29
Your device is now in release mode!
[D] unknown:0 - "No carrier"
[root@Sailfish nemo]# pkcon refresh
Refreshing cache                                                                                                                                                
Starting                                                                                                                                                        
Refreshing software list                                                                                                                                      
Finished                                                                                                                                                      
[root@Sailfish nemo]# version --dup
REFRESHING CACHE AND DOWNLOADING PACKAGES
Finished transaction (status=1, runtime=321682ms)
UPGRADING SYSTEM
Finished transaction (status=1, runtime=373457ms)
FINISHING



After reboot, and attempting to boot into SFOS the device looks like it is in a powered off state.
But I can hear the USB sound from SFOS when I plug it in... so I SSH in to the device. This works.

(Eventually the screen started working so you can SSH or wait)

CODE
megaman@machine:~$ ssh nemo@192.168.2.15
nemo@192.168.2.15's password:
Last login: Fri Nov  2 01:37:50 2018
,---
| Sailfish OS 2.2.0.29 (Mouhijoki)
'---
[nemo@Sailfish ~]$ devel-su
Password:
[root@Sailfish nemo]#




Step 4)

Modify these 2 files to the following using vi

/usr/share/ssu/features.d/adaptation-community-common.ini

CODE
[adaptation-community-common]
repos = adaptation-community-common
pattern = Feature adaptation community common
description = Common packages needed by community's HW adaptation

[repositories-release]
adaptation-community-common = http://repo.merproject.org/obs/nemo:/devel:/hw:/common/sailfish_latest_%(arch)/



/usr/share/ssu/features.d/adaptation-community.ini

CODE
[adaptation-community]
repos = adaptation-community
pattern = Feature community adaptation
description = Enable ssu for community ports

[repositories]
adaptation-community = http://repo.merproject.org/obs/nemo:/devel:/hw:/planet:/geminipda/sailfish_latest_%(arch)/




Step 5)

CODE
ssh nemo@192.168.2.15

ssu re 3.0.0.5
pkcon refresh
version --dup
sync
reboot




Finished! What now?

Patch orientation file: /usr/lib/qt5/qml/Sailfish/Silica/Page.qml
(You can use nano or vi; Install nano via "pkcon install nano")

CODE
$ devel-su
    # cd /usr/lib/qt5/qml/Sailfish/Silica/
    # cp Page.qml Page.orig.qml
    # nano Page.qml


Modify this part:
CODE
    property int _allowedOrientations: {
        var allowed = allowedOrientations & __silica_applicationwindow_instance.allowedOrientations
        if (!allowed) {
            // No common supported orientations, let the page decide
            allowed = allowedOrientations
        }
    return allowed
    }


To this:
CODE
    property int _allowedOrientations: {
        var allowed = allowedOrientations & __silica_applicationwindow_instance.allowedOrientations
        if (!allowed) {
            // No common supported orientations, let the page decide
            allowed = Orientation.LandscapeInverted
        }
    return Orientation.LandscapeInverted
    }


Terminal with orientation patched: https://gitlab.com/Meganerd.eth/Sailfish-De...0-1.armv7hl.rpm

Other problems I notice (currently)

* App drawer icons are too large and overlap after I patch orientation
* On/ESC key does not turn off display
* Wake from sleep is significantly slower than before (This is actually bothering me the most, sometimes its very slow to wake from sleep)
* USB tether not working
* WLAN0 hotspot not working (even on previous builds I could get it working with connmanctl from CLI)


Some screenshots










Sources:
OESF>Yoram
OESF>Depscribe
https://together.jolla.com/question/186471/...anet-computers/
https://jolla.zendesk.com/hc/en-us/articles/201836347#2
https://www.oesf.org/forum/index.php?showto...mp;#entry290497
17 Jun 2018
I have been testing SFOS 2.1.3.7 on my Gemini PDA for a little over a week now as my main OS.

I put my notes on my gitlab https://gitlab.com/Meganerd.eth/Sailfish-Development

Whats working:
* Audio
* Multi touch
* 4G Data
* SMS/MMS
* Receiving calls (To initiate calls you have to switch to 3g mode)
* Bluetooth (Pairing with headset works)
* WiFi
* USB tether
* USB transfer
* SDK working for development
* Front camera
* Notification LEDs (can be modified too but only from config file directly /etc/mce/20hybris-led.ini) Be carefull!
* The keyboard works fine

Whats not working:
* WiFi tether
* I heard GPS isnt working, I have not tested it
* Caps lock LED - Caps lock itself is working but the LED is always on
* Silver button does nothing - I have not checked if its not recognized in XEV, it simply just may not be mapped to any key

What I recommend doing if you flash SFOS:
* Lock the screen orientation otherwise the screen will rotate on you constantly during usage. The fix below worked for everything except Kodi and the native Terminal
* To fix the terminal rotation I just modified ThumbTerm source and compiled an RPM

Lock screen orientation
CODE
i) Backup Page.qml file
$ devel-su
# cd /usr/lib/qt5/qml/Sailfish/Silica/Page.qml
# cp Page.qml Page.orig.qml
# nano Page.qml

ii) Modify Page.qml (line 115)
Original line: return Orientation.All
Updated line: return Orientation.LandscapeInverted

Other views: Orientation.Portrait | Orientation.Landscape | Orientation.LandscapeInverted

iii) Reboot phone to apply changes

Last Visitors


16 Aug 2018 - 18:52

Comments
Other users have left no comments for Meganerd.

Friends
There are no friends to display.
RSS Lo-Fi Version Time is now: 12th November 2019 - 02:15 PM