Wednesday, June 11, 2014

How to install sailfishOS on a Nexus 4 device

* 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/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. The file you want to
download is cm-10.1.3-mako.zip b. Download links can be found here:
http://wiki.cyanogenmod.org/w/Install_CM_for_mako
* Download the SailfishOS for Android image for “mako”
a. The file you want to download is
http://releases.sailfishos.org/sfa-ea/sailfishos-mako-release-1.0.4.20-EA1.z
ip
* 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 SailfishOS .zip
file in the same way (“on top of it”)
* Reboot bootloader, SailfishOS should boot and be visible
We can recommend reading through http://jolla.com/guide/ – some parts may
not apply to Nexus 4
If you want to go back to normal CyanogenMod:
a. Boot into recovery mode
b. Choose “Wipe data / factory reset”
c. Flash cm-10.1.3-mako.zip
d. (to go back to SailfishOS, flash the SailfishOS .zip on top of it)
To SSH into your device via USB (Linux)
1. Enable remote connection in Settings->System->Developer mode 2. Set your
USB interface on host machine to IP 192.168.2.2 3. ssh nemo@192.168.2.1 4.
Use the password from developer mode to log in 5. Use the ‘devel-su’ command
with the same password in order to gain root 6. To SSH over WLAN, use IP
listed in developer mode under “WLAN IP address”

No comments:

Post a Comment