• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][CM12.1 needed] GNU/Linux Sailfish OS

Search This thread

muhammadrefa

Member
Sep 25, 2010
23
62
Bandung
New port : http://forum.xda-developers.com/moto-g/development/sailfishos-2-moto-g-falcon-t3326670 (since March 2016)
This port is discontinued.
So please don't bump the thread again.
Thank you for all your support. :)

COT-O5JUwAEovhA.png

Yes, you aren't misread. Sailfish OS on Motorola Moto G 1st Gen. Woohoo \:eek:/
Sailfish OS based on CyanogenMod 12.1.

Working :
GUI
Audio
Vibration
Wifi
Bluetooth

Full lists: https://wiki.merproject.org/wiki/Adaptations/libhybris

How to Install?
  1. Flash CyanogenMod 12.1 via recovery (I'm using TWRP)
  2. Flash Sailfish OS image
  3. Enjoy! :D

Download link: http://images.devaamo.fi/sfe/falcon/

Changelog
my4:
-Wifi worked (need to load module manually every boot)
Code:
devel-su
modprobe wlan
Will fixed on the next build!
If failure:
Code:
devel-su insmod /lib/modules/3.4.42-gacfe66c-dirty/wlan.ko #using Terminal in SFOS
insmod /lib/modules/3.4.42-gacfe66c-dirty/wlan.ko #using telnet[/hide]

Hint: Use tab completion!
- Bluetooth worked (wrong BT address)
- Added some Jolla native apps

my2:
- First public build!
- GUI, Audio and Vibration worked


devel-su password
Settings --> System --> Developer mode
o645Ms_rj0kOqVsEYphrd4RiflsB7PmoXed_CK3m_LkCnv3zHAgBbk4XtoMpL1bCzW8KuKx6Bh4EOF2J8_ckTBgCVdC0-GYsJQtllNarzDtXvosrpgc2iGRxE7bGM1r1vHK1IvR4PcKfNr0GU2mj6qb537MpqPLblKj-Luk9pGz00lq6h_d83vknYPqmImpixO39lupyc83TBEvw54VOMY_uBBPkF7ktNEhD1i1KmggENz2NGeNclSyw-XBNnbqrhxarG2Bgm8A5kq17InZdZMEU_Z0wnGgxsBB5Ks_ycFVgfURx3rJ7rruIzmukdRD0xxkaAJ7mrSkyyU0Rhf2wQ6GY7RrLub5I5YJI0XKJyhsd7D1rEVVi3ZTtOhWaHyR_Due-lMs7rl2cw665ZfYAYHO0lqcgGFkbc5XEt_72KoU2SwShLPPfRaCmSpJlhPUehDrkGnUgqJM-yr7ytrSMX8zdLtsl44JRWKrVJZFQthgIC35xrWI-mpyZZ5zkJ9PK-rE7VxqCkgLsfYQ9Xii8CnGMZ-DOxwo-tzQRzpoBrwQ=w431-h320-no


Needs to communicate with your device? Use telnet and ssh!
Code:
Gain root access
telnet 192.168.2.15 2323 or telnet 192.168.2.15 23

Gain ssh access
Run this as root
  passwd nemo
Connect to [email protected] via ssh

Networking? Use USB Networking!
Code:
Execute on your host as root. Use the interface which your host uses to connect to the Internet. It's wlan0 in this example:
    iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE
    echo 1 > /proc/sys/net/ipv4/ip_forward

Execute on your device as root:
    route add default gw 192.168.2.2 (<- host's usb0 IP)
    echo 'nameserver 208.67.222.222' > /etc/resolv.conf

Running on my Phone (XT1033)
COUBUwNUsAA4QPX.jpg

COUBWH3UkAAJrYR.jpg


Frequently Asked Questions

Many thanks to:
sledges
mal-
And every other porters on #sailfishos-porters IRC channel
Sorry for my bad English. ;)
 
Last edited:

elfio

Senior Member
Mar 7, 2014
100
18
Correct me if I'm wrong, but this isn't actually CM based, right? It only requires flash CM before SailfishOS because of drivers. Sailfish itself is a prober OS base on MER.
 
  • Like
Reactions: luan176

muhammadrefa

Member
Sep 25, 2010
23
62
Bandung
Some thing NEW :) after so many days..
literally got bored with Lollipop and CM12.1 :(

Time for Testing...
Happy testing! :)
Correct me if I'm wrong, but this isn't actually CM based, right? It only requires flash CM before SailfishOS because of drivers. Sailfish itself is a prober OS base on MER.

That's what I mean.
Thanks for the correction. :eek:
- - -
I'm using hybris from cm 12.1 so I think it's cm 12.1 build.
 
Last edited:
  • Like
Reactions: luan176

muhammadrefa

Member
Sep 25, 2010
23
62
Bandung
Still working on GSM, WIFI and Camera. :eek:
Does it support multirom?

Sent from my Moto G using Tapatalk
Not yet tried. :)
You can try it and report to me whether it success or not. ;)
same here

---------- Post added at 11:19 PM ---------- Previous post was at 11:11 PM ----------

wifi and sim don work

Wifi and sim doesn't work.... Bad news how to communicate... Hope it could be in the future

Envoyé de mon XT1039 en utilisant Tapatalk
Still working on that :)
Oh my God! This is awesome! Hope in future updates and bug fix :fingers-crossed: :fingers-crossed: :fingers-crossed: :good:
Thanks. :)
 
  • Like
Reactions: luan176 and elmoker

muhammadrefa

Member
Sep 25, 2010
23
62
Bandung
Bluetooth work but wrong MAC address.
But it work atm. :)
Just wait the new image
(Hope the wifi will work too) :)
@muhammadrefa how much time will it take to make wifi work?

---------- Post added at 04:31 PM ---------- Previous post was at 04:31 PM ----------

[/COLOR @muhammadrefa will this rom get updated or will be dependent on sailfish source?


I'm still trying for ril (gsm) and wifi.
Stay tune. :)
 
Last edited:

Mister_Magister

Senior Member
Jun 3, 2013
1,201
1,268
Insane work brother
u r awwsm
@Mister_Magister is the other guy who ported the same for titan
and many more things r working on that

Working:
- GUI
- Vibrator
- Wifi
- Touch Screen
- light sensor
- Sound
- notification led
- Bluetooth

so can titan dev can u help us too so as toachieve same progress

:p
regards
yes he asked me for help but i failed. People on the irc channel (where am i and one of those people who maked that port) and people on that channel helped me so you must just wait untill somebody will help him (i'm sure somebody will). So stop asking me that
 

Top Liked Posts

  • There are no posts matching your filters.
  • 37
    New port : http://forum.xda-developers.com/moto-g/development/sailfishos-2-moto-g-falcon-t3326670 (since March 2016)
    This port is discontinued.
    So please don't bump the thread again.
    Thank you for all your support. :)

    COT-O5JUwAEovhA.png

    Yes, you aren't misread. Sailfish OS on Motorola Moto G 1st Gen. Woohoo \:eek:/
    Sailfish OS based on CyanogenMod 12.1.

    Working :
    GUI
    Audio
    Vibration
    Wifi
    Bluetooth

    Full lists: https://wiki.merproject.org/wiki/Adaptations/libhybris

    How to Install?
    1. Flash CyanogenMod 12.1 via recovery (I'm using TWRP)
    2. Flash Sailfish OS image
    3. Enjoy! :D

    Download link: http://images.devaamo.fi/sfe/falcon/

    Changelog
    my4:
    -Wifi worked (need to load module manually every boot)
    Code:
    devel-su
    modprobe wlan
    Will fixed on the next build!
    If failure:
    Code:
    devel-su insmod /lib/modules/3.4.42-gacfe66c-dirty/wlan.ko #using Terminal in SFOS
    insmod /lib/modules/3.4.42-gacfe66c-dirty/wlan.ko #using telnet[/hide]
    
    Hint: Use tab completion!
    - Bluetooth worked (wrong BT address)
    - Added some Jolla native apps

    my2:
    - First public build!
    - GUI, Audio and Vibration worked


    devel-su password
    Settings --> System --> Developer mode
    o645Ms_rj0kOqVsEYphrd4RiflsB7PmoXed_CK3m_LkCnv3zHAgBbk4XtoMpL1bCzW8KuKx6Bh4EOF2J8_ckTBgCVdC0-GYsJQtllNarzDtXvosrpgc2iGRxE7bGM1r1vHK1IvR4PcKfNr0GU2mj6qb537MpqPLblKj-Luk9pGz00lq6h_d83vknYPqmImpixO39lupyc83TBEvw54VOMY_uBBPkF7ktNEhD1i1KmggENz2NGeNclSyw-XBNnbqrhxarG2Bgm8A5kq17InZdZMEU_Z0wnGgxsBB5Ks_ycFVgfURx3rJ7rruIzmukdRD0xxkaAJ7mrSkyyU0Rhf2wQ6GY7RrLub5I5YJI0XKJyhsd7D1rEVVi3ZTtOhWaHyR_Due-lMs7rl2cw665ZfYAYHO0lqcgGFkbc5XEt_72KoU2SwShLPPfRaCmSpJlhPUehDrkGnUgqJM-yr7ytrSMX8zdLtsl44JRWKrVJZFQthgIC35xrWI-mpyZZ5zkJ9PK-rE7VxqCkgLsfYQ9Xii8CnGMZ-DOxwo-tzQRzpoBrwQ=w431-h320-no


    Needs to communicate with your device? Use telnet and ssh!
    Code:
    Gain root access
    telnet 192.168.2.15 2323 or telnet 192.168.2.15 23
    
    Gain ssh access
    Run this as root
      passwd nemo
    Connect to [email protected] via ssh

    Networking? Use USB Networking!
    Code:
    Execute on your host as root. Use the interface which your host uses to connect to the Internet. It's wlan0 in this example:
        iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE
        echo 1 > /proc/sys/net/ipv4/ip_forward
    
    Execute on your device as root:
        route add default gw 192.168.2.2 (<- host's usb0 IP)
        echo 'nameserver 208.67.222.222' > /etc/resolv.conf

    Running on my Phone (XT1033)
    COUBUwNUsAA4QPX.jpg

    COUBWH3UkAAJrYR.jpg


    Frequently Asked Questions

    Many thanks to:
    sledges
    mal-
    And every other porters on #sailfishos-porters IRC channel
    Sorry for my bad English. ;)
    7
    To all here.

    While many seem to want to post rules... There's only one that means anything here in this Development thread!
    15. Keep threads / posts on-topic
    • Development Forums (ones with the word development in the title) - For Developers to post release threads e.g. ROMs and Kernels including modifications to kernels, bootloaders, ROMs, etc., as well as R&D development discussion threads designed with an end goal

    Thread cleaned, now please stay on the topic of development:good:

    Thank you
    5
    Is there something news update preview for this rom? Salfish is interesting and try to bring something different.. M

    Sorry, I'm a little busy right now so I just have weekends to continue the port. :(
    I'm still trying to fix RIL and Camera right now. :D
    5
    WLAN work!
    I'll upload the image soon. :)
    @muhammadrefa i got bootlooped! the phone doesnt boot after flashing the rom.

    Can you connect to your phone via telnet?
    4
    You cannot directly flash the sailfish using multirom. this requires modified TWRP recovery(check screenshot) compatible with sailfish OS which is not yet available to falcon afaik

    More info here https://wiki.merproject.org/wiki/Adaptations/libhybris/Install_SailfishOS_for_hammerhead

    ok. its available now. just tested worked fine.

    get update with MultiROM Manager

    or leech from AFH