[ROM] [SFOS] [OFFICIAL] Sailfish OS 2.0.5.6 for Redmi 2[wt88047][Android App Support]

nrdnandan

Senior Member
May 25, 2016
139
223
0
Saint Petersburg
Sailfish OS was originally developed for Nokia phones and was named Meego OS. The project was joint collaboration between Nokia and Intel. The project was later dropped by Nokia but Meego enthusiasts picked up the project and continued the Meego project under Sailfish OS and INTEX was the first ever company to officially tie it's phone to Sailfish OS ROM. For further info checkout : https://en.wikipedia.org/wiki/Sailfish_OS and https://sailfishos.org/

This is the Alpha stable release still has many bugs so don't complain about it. Enjoy your newly built SFOS 2.0.5.6 for Xiaomi Redmi 2 device. This is not Android, this is pure Linux similar to Ubuntu based upon libraries from Android.

For Newbies who don't know the difference between Sailfish OS and Android OS respectively a here is a compact difference list:
1. Pure Linux vs Modified Linux kernel
2. A real multitasker vs Naah not so much of multi-tasking.
3. Store sucks vs Tons of Apps
4.Android apps support too. vs Only Android app is supported.



Change LOG (Compact):
1. Kernel Patched for faster bootup.
2. Wlan, BT, MultiSIM, PulseAudio,GPS fixed.
3. Jolla Store is enabled
4. Multi ROM support

Steps:
1. Go to TWRP recovery mode.
2. Wipe All data except media.
3. Flash CM-12.1 for Redmi 2
4. Flash SailfishOS ROM.
5. Reboot the system after wiping Cache/Dalvik Cache.

There you go. Your SFOS 2.0.5.6 is now loaded. To skip the tutorial touch upper left corner of the screen and clockwise till bottom left corner.
To debug and report error open terminal in Linux and type "telnet 192.168.2.15 2323". For Windows probably install telnet related services and libraries and use the same command in cmd prompt.

Bugs:
1. Front Camera doesn't work. Instead switching between them might lead to camera app crash, to resolve it switch back again to front or back cam.(Temporary soln).
2. Media Player will not play song, to resolve it do the following
3. 4G won't work (as of now). My 4G signal is too weak so it didn't work, my bad.(For JIO users : Go to Settings>Cellular Networks>Data Access point : Change Access point name from "jionet" to "www".)
4. Android Apps won't work (as of now)
5. Battery drain leads to bootloop

SFDROID (Android App Support):
How to install (For Linux Users only):
1. Download the RPM files mentoioned here
SFDROID:https://drive.google.com/open?id=0B8I9RnxIQmQea0xxU3puYnc4Ymc
2. Create a folder for these files separately.
3. In your device goto Settings>Developer Settings and set your password and note down the I.P. address for USB if you are using USB for file transfer or Wifi for Wifi file transfer.
4. Now go to the folder where RPM files are located and right click to open terminal
5. Enter scp *.rpm [email protected]"I.P. address for USB/Wifi": (Add colon ":" sign after the I.P. address, also if you are using USB for file transfer, use the USB I.P. Address mentioned in your developer settings and similarly for Wifi)
6. Enter your password you have set previously and file transfer would begin.
7. Now for USB connected phone open a new terminal and type telnet 192.168.2.15 2323 (If this is not the I.P. address for USB you can see the relevant I.P. address as shown in the Developer Settings of your phone and enter the same after telnet except for 2323(port number))
8. Type su
9. Now type cd /home/nemo
10. Type ls to confirm that all files have been transferred successfully.
11. Type rpm -i --force *.rpm
12. Now type reboot
13. After reboot again in the terminal type telnet 192.168.2.15 2323 and type killall surfaceflinger zygote system_server main servicemanager
14. Now run SFDROID and wait for sometime your Android will load.
15. For Wifi connected phone (Make a Wifi Hotspot on your computer and connect to the hotspot for the mobile device, don't use Wireless router, use direct connection b/w computer and mobile) open a new terminal and type ssh [email protected] (Your I.P. address for Wifi as shown in the Developer setiings of your phone)
16. Now type devel-su
17. Now type in your password
18. Now type cd /home/nemo
19. Now type rpm -i --force *.rpm
20. Now type reboot
21. After reboot again type ssh [email protected]
22 Type killall surfaceflinger zygote system_server main servicemanager
Note: Android is bit sluggish and not perfect as a native Android, but hey at least you got your Android running.
Thanks especially to @saidinesh5 for debugging SFDROID and ofcourse other members of #sfdroid on IRC freenode channel

Bootanimation(default):
https://forum.xda-developers.com/redmi-2/themes/mod-sailfish-os-t3561208 thanks to @taalojarvi



Thanks to adeen-s (www.github.com/adeen-s) @saidinesh5, @mal-, @m4r0v3r, sledges and other member of #sailfish-porters IRC channel.
The CyanogenMod and Kernel isn't my proprietary it is the proprietary of CyanogeMod team and @ketut.kumajaya respectively. However the kernel has some changes made in accordance to SFOS and also I have patched it to decrease the boot up time delay.
Download Link:
https://drive.google.com/open?id=0B8I9RnxIQmQeV3VMM1FFU0RzazQ
https://www.androidfilehost.com/?w=files&flid=153058
SFDROID:https://drive.google.com/open?id=0B8I9RnxIQmQea0xxU3puYnc4Ymc
Edit: Now Lollipop bootloader is supported. Tested it and SFOS was able to boot up.
Github : https://github.com/nrdnandan
Wiki-MER: https://wiki.merproject.org/wiki/Adaptations/libhybris/porters

Name : Sailfish OS
Version : 2.0.5.6 (latest)
Kernel : 3.10.49
Release type: User-Release
Build : Stable
Boolader : Lollipop (Here is the link : http://en.miui.com/thread-386154-1-1.html)
CM/Android base: 12.1(wt88047)/5.1.1
 

Attachments

Last edited:

Venkatesh

Senior Member
Mar 1, 2012
971
653
113
This Alpha release still has many bugs so don't complain about it. Enjoy your newly built SFOS 2.0.5.6 for Xiaomi Redmi2 device. This is not Android, this is pure Linux similar to CentOS based upon libraries from Android.

Change LOG (Compact):
1. Kernel Patched for faster bootup.
2. Wlan, BT, MultiSIM, PulseAudio fixed.
3. Jolla Store is enabled

Steps:
1. Go to TWRP recovery mode.
2. Wipe All data except media.
3. Flash CM-12.1 for Redmi 2
4. Flash SailfishOS ROM.
5. Reboot the system without wiping Cache/Dalvik Cache.

There you go. Your SFOS 2.0.5.6 is now loaded. To skip the tutorial touch upper left corner of the screen and clockwise till bottom left corner.
To debug and report error open terminal in Linux and type "telnet 192.168.2.15 2323". For Windows probably install telnet related services and libraries and use the same command in cmd prompt.

Bugs:
1. Front Camera doesn't work.
2. Media Player will not play song, to resolve it do the following:
i). rm -rf /etc/audio_platform_info.xml (similarly for media_codecs_google_video_le.xml,flp.conf, firmware,mixer_paths_qrd_skui.xml)
ii). ln -s /system/etc/audio_platform_info.xml /etc/audio_platform_info.xml (similarly for media_codecs_google_video_le.xml,flp.conf, firmware,mixer_paths_qrd_skui.xml)

Thanks to @saidinesh5sh5, mal, ghosalmartin, Nexit and other member of #sailfish-porters IRC channel.
Download Link:
https://drive.google.com/open?id=0B8I9RnxIQmQeV3VMM1FFU0RzazQ
Thanks for the build. Please hide your imei in the screenshot.
 
  • Like
Reactions: nrdnandan

suresh001

Senior Member
Nov 5, 2012
62
2
0
does this support 4g mobile data,i found a phone named intex aqua has sailos with jio 4g support can u port that to enable data

---------- Post added at 12:57 PM ---------- Previous post was at 12:54 PM ----------

2. Media Player will not play song, to resolve it do the following:
i). rm -rf /etc/audio_platform_info.xml (similarly for media_codecs_google_video_le.xml,flp.conf, firmware,mixer_paths_qrd_skui.xml)
ii). ln -s /system/etc/audio_platform_info.xml /etc/audio_platform_info.xml (similarly for media_codecs_google_video_le.xml,flp.conf, firmware,mixer_paths_qrd_skui.xml)

plz tell how to do this
 

nrdnandan

Senior Member
May 25, 2016
139
223
0
Saint Petersburg
does this support 4g mobile data,i found a phone named intex aqua has sailos with jio 4g support can u port that to enable data

---------- Post added at 12:57 PM ---------- Previous post was at 12:54 PM ----------

2. Media Player will not play song, to resolve it do the following:
i). rm -rf /etc/audio_platform_info.xml (similarly for media_codecs_google_video_le.xml,flp.conf, firmware,mixer_paths_qrd_skui.xml)
ii). ln -s /system/etc/audio_platform_info.xml /etc/audio_platform_info.xml (similarly for media_codecs_google_video_le.xml,flp.conf, firmware,mixer_paths_qrd_skui.xml)

plz tell how to do this
I will upload a new version soon, so don't worry about that.
 

part 1994

Senior Member
Jul 16, 2012
139
29
0
Read it again my friend, it is a bug or I may say a non-availability now. Ported phones don't support Android apps straight away, I will make sure in later builds Android apps work.
I got that from the OP. :)
Was just responding to that person's query whether android apps are working that is all.

Also the ROM does not seem to boot for me :(
 
Last edited:
  • Like
Reactions: tzincbg

coder3101

Senior Member
Jun 10, 2016
116
39
0
Wonderful I was waiting for this, had good times with SFOS , but one provided by adeen-s was not booting from LP bootlader. Good to know that this does boot. I will wait for some time.. Let it get a bit stable. (Its still Alpha)