[ROM] [28Aug] [GNU/Linux] Sailfish OS (Early Adopter)

sledges

Senior Member
Nov 26, 2010
183
399
0
Sailfish OS for Nexus 4

The porting effort is now continued by community: http://forum.xda-developers.com/nexus-4/development/rom-sailfish-os-community-port-t2969823



This is Jolla's port of Sailfish OS for the Nexus 4 (check full address in post #3)
It features a gesture-based user interface with a unique design and ease-of-use in mind.
For more information about Sailfish OS please head over to sailfishos.org.

This is not an Android ROM, this is a different base of an operating system called Linux, running the GNU C library (glibc).
It only uses parts of Android for hardware enabling (drivers).

Special Thanks to the Nexus 4 porters, carepack who took over as community's release engineer, MultiROM author Tassadar, Jolla sailors especially MSameer for camera experiments, early porters Stskeeps, lbt, thp, alterego, faenil, LEDs spiiroin, sensors lpotter, USB phdeswer, the HADK team, the Mer Project, the Nemo Project and all the fine people over at #sailfishos-porters

Release Notes:
This release is based on Sailfish OS 1.0.8.19 (Tahkalampi).
The Nexus 4 port is considered to be of beta quality.
Though depending on your usage it might be stable enough for daily use.

Download & installation instructions:
* Install adb and fastboot
a. Debian/Ubuntu: apt-get install android-tools-adb android-tools-fastboot
b. Fedora: yum install android-tools
c. Mac OS X: Install Homebrew from http://brew.sh/, then: brew install android-platform-tools
d. Windows: See http://wiki.cyanogenmod.org/w/Doc:_fastboot_intro for instructions

MultiROM ≥v28 ability is in the image. See options of how to layout your MultiROM in #2 post below.

Alternatively, just have it as your primary ROM:
* Install Android 4.2.2 (JDQ39) to your Nexus 4
a. Instructions here: https://developers.google.com/android/nexus/images#instructions
b. Download links can be found here: https://developers.google.com/android/nexus/images#occamjdq39

* Download CyanogenMod 10.1.3 for your Nexus 4
a. Perform Factory Reset and wipe contents of the /data/ partition in case of leftovers from previous ROMs
b. The file you want to download is cm-10.1.3-mako.zip
c. Download links can be found here: http://wiki.cyanogenmod.org/w/Install_CM_for_mako

* Download the Sailfish OS for Android image for "mako"
a. The file you want to download is http://releases.sailfishos.org/sfa-ea/sailfishos-mako-release-1.0.8.19-EA4.zip
b. Another flavour filled with demo content: http://releases.sailfishos.org/sfa-ea/sailfishos-mako-release-1.0.8.19-EA4-demo-content.zip

* Install CyanogenMod 10.1.3 on your Nexus 4
a. Follow the instructions at: http://wiki.cyanogenmod.org/w/Install_CM_for_mako

* After flashing the "cm-10.1.3-mako.zip" file, flash the Sailfish OS .zip file in the same way ("on top of it")
* Reboot bootloader, Sailfish OS should boot and be visible

We recommend reading through http://jolla.com/guide/ -- some parts may not apply to Nexus 4

HW Support status:
(Look for Nexus 4 row): https://wiki.merproject.org/wiki/Adaptations/libhybris

Bug reports, if internet search refuses to help:
  • First search XDA for keywords. Things like libsailfishapp have already been worked out by this amazing community
  • Software-related bugs (Sailfish OS): first search http://together.jolla.com . Tag your questions with "community-build"
  • Hardware-related problems: at the Nemo Project Bugzilla under Hybris-ing component
  • Please do not contact Jolla Care or Jolla Developer Care, as this is not the Jolla phone :)

Known issues:
  • OTA Updates do not work
  • The camera does not fully work
  • Android app support is not available (unlike in Jolla phone): please ask about the status for open-source Dalvik runtime framework on #sailfishos-porters on irc.freenode.net and also check this XDA Thread
  • All remaining: In Bugzilla

Check changelog in #2 post.

Last Updated 2014-12-11
 
Last edited:

sledges

Senior Member
Nov 26, 2010
183
399
0
Changelog:

Read Sailfish OS release notes:
https://together.jolla.com/question...in-upgrade-to-software-version-11038-uitukka/
https://together.jolla.com/question/50175/release-notes-software-version-10819-tahkalampi/

Release notes/Known issues in EA4:
* EXPERIMENTAL: Jolla Camera
** Viewfinder stream freezes after ~20secs so be quick to take a photo
** Video recording is not available
* EXPERIMENTAL: orientation sensor works (no PS or ALS)
** was stable during tests, but we'd ask community to attempt making HADK hybris-11.0 port of mako instead, for hopes of better sensors integration
* LED notifications work
* Devicelock including Allow untrusted software
* MultiROM support (min. v28) New to MultiROM? Read here.
** you must have Android 4.2 and cm10.1 as your primary ROM
** Instructions: http://forum.xda-developers.com/nexus-4/orig-development/mod-multirom-v24-t2472295
** two alternatives for hackers:
*** 1. you can still have Android 4.4 -based secondary ROMs, provided you inject required firmwares (check MultiROM threads)
*** 2. you can have Android 4.4 as primary, flash (physically into phone's partition) modem image from 4.2 (0.84 tested OK), and still see things working in SF and CM (tested). It is not yet supported to inject radio.img for SailfishOS only (via MultiROM menu button)
* MultiROM's awesome side-effect fix - ability to power-off the device (thanks to isolated primary ROM)
* Once USB cable plugged, it gets assigned a DHCP address by an internal phone's DHCP server
* Available USB modes: Developer Mode, Charging; untested: Tethering, Mass Storage, PC Connection

Release notes/Known issues in EA3:
* EXPERIMENTAL: Jolla Store is now available, you'll need to register with your Jolla Account
** NOTE: Booting Nexus 4 with SIM first, and then removing SIM (or vice versa) may cause Jolla Store to see it as two different devices and cause potential breakage. Please stick to either SIM available or not when running Sailfish OS on Nexus 4.
** There may be a bug with oFono RIL support that makes it not report IMEI value causing this and will be sorted out in a later update.
** DISCLAIMER: Using Jolla Store with Jolla Account might break applications on your other devices, use it at your own risk!
** Android support is not available from the Store, even if you can see Android apps listed (those will be removed eventually from store view)
** This functionality means that image comes with only minimal set of pre-installed apps. Use Store to download the ones you need.

* The backlight is dark during first launch, but can be fix by switching the currently-not-working ambient light sensor off (uncheck Settings->System->Display->Adjust automatically)

* When display is blanked, power management sets WLAN to the lowest speed state
** Can be noticed in a SSH-over-WLAN session
** Chat notifications may arrive with a slight delay

Fixes after EA2:
* Watermark removed
* Phone-call audio volume can now be changed with the help of volume buttons
* Improved responsiveness when waking phone up with the power button
* Settings->System->Developer Mode or About Product do not freeze anymore
* Reverted to the original (non-Silica) Fingerterm

Fixes after EA1:
* Phone-calls with audio work
* Timers and alarms (with device powered on) work
* HTML5 video+audio works in Browser (tested splash on http://jolla.com )
* Update is based on Sailfish OS version 1.0.5.16

Release notes/Known issues in EA2:
* If not auto-detected from SIM, set-up mobile internet data settings via Settings->System->Mobile network->(long tap on the first toggle-item under "Mobile data" section)->(enter settings given by your operator)

Nexus4-specific known issues reported by the adopters:
* Chinese text input not working
* Localhost name is shown as Jolla
* Switching between the online and offline status in the status information setting takes very long and often doesn’t switch properly
* Google contacts which are put together with different information, are now split up into several contacts in Sailfish
* The battery display seems to be a bit buggy because it loses about 15% from one second to another
* The calendar overview when filled with events seems to be a bit laggy
* The email push is not working correctly, I do not receive any emails until I push the refresh button
* Splitting words in the German translation: e.g. in the open apps on the home screen it says: "Kurzzeitmesse" and in the next line the missing "r"
* NOTE: all other Sailfish OS issues have already been reported on TJC - http://together.jolla.com - and many of them were fixed in this 1.0.5.16 release

Release notes/Known Issues in EA1:
* There has been no throughout testing of telephony related functionality (roaming, airplane mode, etc) and any use of this functionality is at your own risk
* ALS and PS Sensors, Reset device, Bluetooth, USB MTP, Bluetooth, WLAN hotspot, Camera video recording, and video playback is not supported
* The image SW is not currently upgradeable, nor is any typically licensed multimedia codecs (MP3, etc), HERE maps, Android application compatibility layer, or word prediction for virtual keyboard preinstalled
* This image does not include any typically licensed multimedia codecs (MP3, etc), HERE maps, Android application compatibility layer, Microsoft Exchange support, or word prediction for virtual keyboard preinstalled
* It is not possible to double-tap to wake up the device
* FPS drop while scrolling in homescreen due to non-batching when rendering of application icon grid
* Icons/graphics appear unproportionally small in browser toolbar, time select widget, and Settings favourite icons
 
Last edited:

sledges

Senior Member
Nov 26, 2010
183
399
0
For even more curious ones: there has been a huge community porting effort to numerous devices, news and photos can be found here: http://forum.xda-developers.com/showpost.php?p=54302138&postcount=2

Jolla's relnotes:

Dear early adopter of Sailfish OS for Android devices. This is important - read this whole mail through and follow all steps exactly as written.

IMPORTANT: If you choose to publish this mail through blogs, news sites, forums, or others, quote it as-is and in complete form ONLY, or people's devices may be at risk.

We're happy to publish the fourth Early Adopter Release of Sailfish OS (1.0.8.19) for Nexus 4 (mako) to you.

We have also released the EA2 version of the Sailfish OS Hardware Adaptation Development Kit (HADK), as per earlier email.

This installation image is for early adopters only, meaning we know that some things are not functional or perhaps even broken -- please see the release notes below. We are excited to get all of you properly included in the early stages of the project. Do note that this Sailfish OS image is strictly for personal and non-commercial usage only.

We've prepared a 'demo' version of the image which contains the kind of preinstalled 'marketing' content and the core apps used for demonstrations - this helps you quickly get a feel for all the interactions that are avalable on a device that has been used for a while but isn't really what you want for personal use. You can however cleanly remove the demo content.

We want to build a community around Sailfish OS for Android devices that is based on mutual trust and respect for what we are all doing. Hence -- we ask that whenever you do screenshots, videos, forum or blog posts (and we're happy if you do!) or the like, you emphasise that this is work-in-progress and not a productised release. It is important for Jolla that correct expectations are set for those who might be users of the final product -- and that they understand what they see is not a released product. If you do demo videos, take advantage of our new 'demo content' image (check availability for your device) that has pre-set contacts/imagery/messages/etc to show full functionality of Sailfish OS.

WARNING: Modifying or replacing your device’s software may void your device’s warranty, lead to data loss, hearing loss, hair loss, financial loss, privacy loss, security breaches, or other damage, and therefore must be done entirely at your own risk. No one affiliated with this project is responsible for your actions but yourself. Good luck.

NOTE: You will lose your on-device data (including /sdcard), so make a proper backup and make sure to copy that backup to your PC.*

NOTE: Make sure to read all the release notes below. Please DO NOT contact Jolla Care nor Developer Care for any issues encountered with this Early Adopters build, instead use the following communication channels:

We will all meet in #sailfishos-porters (note, new location) on irc.freenode.net and please use us (thp, alterego, Stskeeps, lbt, sledges) to work together, report any bugs, graphical glitches or missing functionality that you find, which are not included in the release notes above. You can also find the hardware adaptation source code at http://github.com/mer-hybris .

You are also welcome to participate in threads at http://forum.xda-developers.com/nexus-4/general about Nexus 4 and Sailfish OS as well as for more general Sailfish OS topics at http://forum.xda-developers.com/jolla-sailfish/general
 
Last edited:

thlinh130295

Senior Member
Jul 29, 2012
52
8
0
25
Ho Chi Minh
Im on the way to flash stock 4.2.2 and downloading cm + EA4, will report again

---------- Post added at 06:59 PM ---------- Previous post was at 06:56 PM ----------

one more question, do it need to use MultiRom? i use TWRP/CWM instead, it's ok?
 

sledges

Senior Member
Nov 26, 2010
183
399
0
Im on the way to flash stock 4.2.2 and downloading cm + EA4, will report again

---------- Post added at 06:59 PM ---------- Previous post was at 06:56 PM ----------

one more question, do it need to use MultiRom? i use TWRP/CWM instead, it's ok?
multirom enables you to have multiple ROMs and select them at boot ;)
 

x.0ni.x

Senior Member
Oct 13, 2013
747
332
0
Pueblo
So can I flash cm10.1.3 then the E4 thru multirom and make this as a secondary ROM and expect it to boot up? I tried with E3 and it stayed at the Google boot screen. Or do I have to flash 4.2.2 then cm10.1.3 then E4 to get it to boot? It's insanely confusing. Lil help would be nice.

And can I use this http://forum.xda-developers.com/nexus-4/development/Rome android as my 4.2.2 base before flashing cm10.1.3?

Nix all this. I flashed cm10.1.3 then the EA4. It loaded fine but the problem I'm having is no wifi...do I need to set get a 4.2.2 radio IMG to set for it to pic up wifi? I have a mobile connection. Jus no wifi.
 
Last edited:

carepack

Senior Member
Sep 21, 2010
1,147
756
0
So can I flash cm10.1.3 then the E4 thru multirom and make this as a secondary ROM and expect it to boot up? I tried with E3 and it stayed at the Google boot screen. Or do I have to flash 4.2.2 then cm10.1.3 then E4 to get it to boot? It's insanely confusing. Lil help would be nice.

And can I use this http://forum.xda-developers.com/nexus-4/development/Rome android as my 4.2.2 base before flashing cm10.1.3?

Nix all this. I flashed cm10.1.3 then the EA4. It loaded fine but the problem I'm having is no wifi...do I need to set get a 4.2.2 radio IMG to set for it to pic up wifi? I have a mobile connection. Jus no wifi.
what kernel you're using? You have to flash the modem of android 4.2.2 ak 0.84 or google factory 4.2.2 image.

flashable zip of modem:
http://forum.xda-developers.com/nexus-4/general/ref-mako-modem-collection-t2087227

google factory image:
https://dl.google.com/dl/android/aosp/occam-jdq39-factory-345dc199.tgz

and a lttle help from first post:

Download & installation instructions:
* Install adb and fastboot
a. Debian/Ubuntu: apt-get install android-tools-adb android-tools-fastboot
b. Fedora: yum install android-tools
c. Mac OS X: Install Homebrew from http://brew.sh/, then: brew install android-platform-tools
d. Windows: See http://wiki.cyanogenmod.org/w/Doc:_fastboot_intro for instructions

* Install Android 4.2.2 (JDQ39) to your Nexus 4
a. Instructions here: https://developers.google.com/androi...s#instructions
b. Download links can be found here: https://developers.google.com/androi...ges#occamjdq39

* Download CyanogenMod 10.1.3 for your Nexus 4
a. Perform Factory Reset and wipe contents of the /data/ partition in case of leftovers from previous ROMs
b. The file you want to download is cm-10.1.3-mako.zip
c. Download links can be found here: http://wiki.cyanogenmod.org/w/Install_CM_for_mako

* Download the Sailfish OS for Android image for "mako"
a. The file you want to download is http://releases.sailfishos.org/sfa-e...0.8.19-EA4.zip
b. Another flavour filled with demo content: http://releases.sailfishos.org/sfa-e...mo-content.zip

MultiROM ≥v28 ability is in the image. New to MultiROM? Read here. Check for more DIY alternatives how to layout your MultiROM in #2 post below.
 
Last edited:

sledges

Senior Member
Nov 26, 2010
183
399
0
So can I flash cm10.1.3 then the E4 thru multirom and make this as a secondary ROM and expect it to boot up? I tried with E3 and it stayed at the Google boot screen. Or do I have to flash 4.2.2 then cm10.1.3 then E4 to get it to boot? It's insanely confusing. Lil help would be nice.

And can I use this http://forum.xda-developers.com/nexus-4/development/Rome android as my 4.2.2 base before flashing cm10.1.3?

Nix all this. I flashed cm10.1.3 then the EA4. It loaded fine but the problem I'm having is no wifi...do I need to set get a 4.2.2 radio IMG to set for it to pic up wifi? I have a mobile connection. Jus no wifi.
Yes, 4.2.2 radio IMG needs flashing. But have no fear, we tested: primary CM11 still fully works with that, including 3G, so I don't even know what are the so-important radio.img differences there :)
 

x.0ni.x

Senior Member
Oct 13, 2013
747
332
0
Pueblo
what kernel you're using? You have to flash the modem of android 4.2.2 ak 0.84 or google factory 4.2.2 image.

flashable zip of modem:
http://forum.xda-developers.com/nexus-4/general/ref-mako-modem-collection-t2087227

google factory image:
https://dl.google.com/dl/android/aosp/occam-jdq39-factory-345dc199.tgz

and a lttle help from first post:
Awesome!! Thank you!! Found the radio in zip form. Fixing to flash in a few minutes!! I'll get bk to you shortly to let u know if this works! It's coming along tho. At least the camera is working and suck on this OS. Can't wait to see what the next update entails!!
 

carepack

Senior Member
Sep 21, 2010
1,147
756
0
Awesome!! Thank you!! Found the radio in zip form. Fixing to flash in a few minutes!! I'll get bk to you shortly to let u know if this works! It's coming along tho. At least the camera is working and suck on this OS. Can't wait to see what the next update entails!!
Read first post ;)
 

x.0ni.x

Senior Member
Oct 13, 2013
747
332
0
Pueblo
Yes, 4.2.2 radio IMG needs flashing. But have no fear, we tested: primary CM11 still fully works with that, including 3G, so I don't even know what are the so-important radio.img differences there :)
Flashed radio image zip fill over sailfish os still no wifi connection:( grrrr so frustrating. I want this to work but lost now

---------- Post added at 11:36 PM ---------- Previous post was at 11:35 PM ----------

Read first post ;)
Read it over and over tyvm;):rolleyes:
 

sledges

Senior Member
Nov 26, 2010
183
399
0
Flashed radio image zip fill over sailfish os still no wifi connection:( grrrr so frustrating. I want this to work but lost now


Which radio.img did you flash? Try another one, too. If you tried 0.84, then try 0.54 instead, or vice-versa. We did not test any others (and newer than 0.84 won't work)
 

sledges

Senior Member
Nov 26, 2010
183
399
0
Tried .83. I'll download the other 2 now. Thanks again.
If you're still unlucky, could you give more info as to how exactly does the WLAN not work?

Do you enable it via Settings->WLAN (click on glowing bulb switch), then use pulley menu to "Connect to Internet" ?
 

x.0ni.x

Senior Member
Oct 13, 2013
747
332
0
Pueblo
If you're still unlucky, could you give more info as to how exactly does the WLAN not work?

Do you enable it via Settings->WLAN (click on glowing bulb switch), then use pulley menu to "Connect to Internet" ?
Flashed 0.54,0.83, & 0.84. Same thing for all 3. And yes that's how I'm TRYING to enable it. But it just says on that screen where u pull it down to "connect to the Internet" "unable to connect to internet. Please restart your phone". I even reflashed the ROM with all 3 radios and still nothing. I as well hit the lil "lightbulb"wifi switch in the row of like Bluetooth, mobile connection, etc. It comes on but I go to the WLAN connection to get wifi going nothing still. Same message.
 

carepack

Senior Member
Sep 21, 2010
1,147
756
0
I flashed 0.84 radio and Wi-Fi don't work too.
which kernel you're on?

try this one:
http://d-h.st/users/hellsgod/?fld_id=28949#files

If you have as first rom an cm rom then take the file with cm in the name

If you're on aosp android use the one without it. In my constellation it works quite right.

So the steps I've done:
1. I had an android AOSP rom as primary.
2. I've downloaded the kernel without cm in the name. Correct kernel is needed with kexec patch. Is included in the files
3. downloaded sfosEA4 and cm10.1 and radio 0.84
4. In android I've downloaded multirom manager from play store.

so this were my requirements. now the todo:

1. went into recovery and flash the kernel
2. went back into android / multirom manager and do the installation process
3. after some time you'll be back in android and installation is finished
4. reboot into recovery. flash modem 0.84
5. go back to android and look if everything is working
6. then back to recovery again Go -> Advanced -> add rom -> sailfish
7. then you can select 2 zips. first one is cm10.1 and second is sailfish
8. install
9. after that you'll be able to boot sailfish too. everything should be fine.
 
  • Like
Reactions: CHangyuuW

x.0ni.x

Senior Member
Oct 13, 2013
747
332
0
Pueblo
which kernel you're on?

try this one:
http://d-h.st/users/hellsgod/?fld_id=28949#files

If you have as first rom an cm rom then take the file with cm in the name

If you're on aosp android use the one without it. In my constellation it works quite right.

So the steps I've done:
1. I had an android AOSP rom as primary.
2. I've downloaded the kernel without cm in the name. Correct kernel is needed with kexec patch. Is included in the files
3. downloaded sfosEA4 and cm10.1 and radio 0.84
4. In android I've downloaded multirom manager from play store.

so this were my requirements. now the todo:

1. went into recovery and flash the kernel
2. went back into android / multirom manager and do the installation process
3. after some time you'll be back in android and installation is finished
4. reboot into recovery. flash modem 0.84
5. go back to android and look if everything is working
6. then back to recovery again Go -> Advanced -> add rom -> sailfish
7. then you can select 2 zips. first one is cm10.1 and second is sailfish
8. install
9. after that you'll be able to boot sailfish too. everything should be fine.
I have Paranoid Android 4.5 beta 2 as my primary ROM with the kernel you have as well. Also have Miui V5 installed with hellscore B47 as the kernel. I knew this in advanced as I figured Jolle was going to possibly release an update because multiROM had made it possible to finally flash it. Did all the steps provided above to my own knowledge. I think I'll delete the sailfish and start fresh. Hopefully that will work. If not may just be a bug that will be solved I'm sure. As these builds are only EXPERIMENTAL not even Alpha yet. Major bugs are to be expected. So no worries. I just really like the design of this OS outside of android.

EDIT. Are you saying to flash the radio over my primary ROM (PA 4.5 BETA 2 or the sailfish OS)? I flashed over the radio over the sailfish OS not primary. Just to be completely clear here.
 
Last edited: