![]() |
SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
This requires a clean flash coming from cm11. Coming from the "SNAPSHOT" cm12.1 base also requires a clean flash if you would like sfdroid (for now). If a clean flash is too much work, wait for SFOS 2.0.2 to be released when cloud backup/restore is introduced to make it easier. Once on this base, OTAs are possible.
Until cm12.1 sfdroid becomes less buggy, more reliable, and more stable, this project will stay separate from the wiki and the cm11.0 base. Big thank you to BluesLee, sledges, mal-, kimmoli, monich, krnlyng, nh1402, Jolla, and any other contributors, testers, community members, or devs (in no particular order). Parts of this post have been taken from the wiki, and other parts from BluesLee's excellent thread. Pros over cm11.0 base:
SFOS Installation:
Test a very early preview of sfdroid: Do not use this on a main rom unless you know how to revert. Additionally very little support will be given unless a logcat (devel-su /system/bin/logcat > blah) can be provided to debug the remaining crashes. Known Sfdroid Bugs:
Sfdroid Early Preview Installation:
Code:
curl -o http://sprunge.us/JPOI init.rc.bak DO NOT attempt an OTA to 2.0.2.X yet. If you want sfdroid support and are on an older base ("SNAPSHOT" cm12.1 build), you won't be able to get support from OTA'ing -- you must reflash using the new base. Code:
RELEASE=<the version> # e.g. RELEASE=2.0.1.11 Change pixel_ratio to a smaller (but possibly better-fitting) ratio:
If you want to enable MAC address randomization each time the wlan interface is brought up, do the following:
From your home directory on the Jolla phone do Code:
tar cvf vault.tar .vault Install keyboard prediction as root Code:
pkcon install jolla-xt9 Code:
pkcon install mce-tools Code:
pkcon download . sailfish-maps
Sources: droid-config-hammerhead droid-hal-version-hammerhead droid-hal-hammerhead android_kernel_lge_hammerhead android_device_lge_hammerhead Mer OBS Project Donate to krnlyng (of sfdroid) https://www.paypal.com/cgi-bin/websc...=BDXQ6XV2ZXXUS Donate to me (bitcoin): 1sfostM4Tbey3uP99Rvcx6edGTTRVF2U7 |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I may not have gotten round to getting your sources yet, but I will do at some point by the end of the week.
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
1 Attachment(s)
Quote:
Waiting for service sensorservice ... Code:
E/qdhwcomposer( 1130): isValidDimension: layer handle is NULL See logcat file. Attachment 38461 |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I'm downloading for test and will report when I have anything to say. Thank you :)
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
1 Attachment(s)
Quote:
I get AOSP keyboard stopped popup continuously. No keyboard! Attachment 38462 |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
I had the same issue without sfos and just using this cm12.1 and gapps, need to look into a proper fix still. On android, you'd wipe data and reflash gapps, but we can't do that. And regenerating the art cache doesn't fix it either. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I have a question, I've flashed everything as you wrote into the guide, gapps (mini) right after sfdroid zip, we'll, have I to see the gapps in the apps list?
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Quote:
re: libjni_latinimegoogle.so, it doesn't appear in all the gapps packages (such as the one I was testing with), but it still had the issue. This issue was fixed in upstream CM at some point, since it's present in a snapshot without sfos from around this time. We're looking for the fix. Edit: pico gapps still bundle in the swype support blobs, so it doesn't fix the issue. I finally properly updated the main topic with better instructions. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I just updated topic for a simpler path that includes flashing together. It should now go cm12.1=> sailfish => sensorsfix3.zip => sfdroid => gapps => reboot => devel-su usermod -G net_bt_stack -a nemo => reboot
I've got followed the sequence above, sfdroid starts, but aosp keyboard have force close, so, I can't write anything. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Very weird, I tested that method before posting it. Assuming pico or nano gapps were used, try this (no tested solution for the "stock" package):
Code:
devel-su Boot order doesn't matter with this solution (tested three different ways from clean flashes). If you want swype, you'll need to install google keyboard from the play store and use that. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
well, now kb works fine, I've installed whatsapp and l'd like to install some other Android apps, is it possible to have something like a shortcut for Android apps so we will can use them in Sailfish?
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I did a fresh install without gapps on my second N5. I had no keyboard issues. The stock SFOS camera stopped working after using the sfdroid camera application. I couldn't test BT and WiFi since the hardware is broken on this device. SFOS and sfdroid seems to work much faster on this build. Would the sfdroid release need a fresh install?
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Thank you for pointing out the camera issue, I tested sfos camera, then aosp (sfdroid) camera, but apparently never went back to test sfos camera afterward. A reboot fixes the sfos camera again, possibly a sfos quit/reopen (can't test right now due to nonfunctional sfdroid testing). Do you mean a fresh install for gapps? If so, there's no need so long as you use the gapps linked in the topic now. The only time a fresh install is needed for sfdroid support is if the cm12.1 base is the old "SNAPSHOT" build that was linked earlier (tags were mismatched), or cm11.0 base. When 2.0.2 is released, new flashes will be easier however due to the cloud backup/restore support. Once you're on the new cm12.1 base, reflashes won't be necessary, and you can ota to new sfos versions in the future (since we're on obs now and patternised) :). Quote:
Which reminds me: If android is stuck on the bootanimation after leaving the card open, it crashed and hasn't been started back up correctly. Quit sfdroid, and reopen from the app drawer, then it will boot. Unfortunately if it looped too long, those count as failed boots so art will re-optimize apps. This is a pain, and is one of the reasons my priorities are on stabilizing. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Alo is possible downgrade bootloader from hhz12k to hhz12hb ? I try install cm12.1 base in recovery this package support bootloader hhz12h , thx for guide
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
@RealJohnGalt i have only this in updater-script, probably should check version too...
Code:
assert(getprop("ro.product.device") == "mako" || getprop("ro.build.product") == "mako" || getprop("ro.cm.device") == "mako"); |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Quote:
Edit: cm12.1 without the bootloader check uploaded: http://www.mediafire.com/download/12...ad-nocheck.zip |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
New sfdroid release: https://www.mediafire.com/?dd8zdu7gg74q292
Topic also updated for this release. Got rid of a crash from leaving the card open for awhile, hoping it's the last one. This can be flashed on top of existing cm12.1 sfdroid installs with nothing else required for updating. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I've tried to flash the new sfdroid, when I've swiped to confirm, my device rebooted on recovery again and then the flash option is disapeared, Now I only can repatch init (pressing repatch on top of the screen I see "Patch Ubuntu Touch's init?") or set radio.img.
What can I do now? |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Yes, I'm sure, I've selected advanced>multirom>list rom>sailfish (it's the only one I have as secondary, the primary is Android.
EDIT: the problem is the new sfdroid.zip, I've just flashed again everything and when I flash sfdroid it happens again. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
To clarify: you can see sailfish in multirom when you boot the device, but it reboots to recovery when you select it?
edit: the only change in this zip is system.jar. Even if system.jar was bad, sailfish should still boot. This seems like it could be a recovery issue. Did you see the flashing message afterward? Edit2: What twrp version are you on? I can't recreate the issue using the twrp linked in topic, and "sfdroid-hammerhead-cm121-prealpha2.zip" Edit3: Also try re-downloading the zip if possible. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I flash sfdroid prealpha 2 zip on list rom multirom is fine and normal but in my opinion preaalpha 1 more stable in my device , i use twrp 2.8.7
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Code:
devel-su /system/bin/logcat > sfdroid |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Ok after devel su /system/bin/logcat > sfdroid the result _bionic_open_tzdata_path:ANDROID_ROOT NOT SET idont know is correct or no i try several times and got the same result
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I did flashed the latest fsdroid without any errors, don't use multirom. Some Android apps like aptoide and csploit can't detect a network internet connection on mine side.
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
@RealJohnGalt when I select Sailfish in boot menu, it reboot in recovery, even if I select Sailfish from Multirom app.
I'm using the recovery you linked, the old one. This evening I'll retry to flash everything and report. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
@RealJohnGalt applied sfdroid prealpha2 to multirom. Seems to boot and starts sfdroid fine.
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Is sfdroid file just 40kb?
Edit: sorry, my fault, my device didn't download entire package, now I have it, but I can't download gapps :( |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
EDIT: I've reflashed all, now everything it's ok, even sfdroid, thanks to all :) |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Well, the Sailfish itself works very good and smooth, it's a pleasure to use it, but I encountered a problem with sfdroid, after flashing, typed the command on ssh and reboot, it worked, I had set up everything, but afrer another reboot it not works anymore. What can I do?
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Otherwise, I'll need a logcat since I can't recreate. Please recreate, then run "devel-su /system/bin/logcat > sfdroid" and upload the "sfdroid" file somewhere. I'll add the network issue and reboot workaround to the "Known Issues" section for now. Quote:
Thank you all for testing. |
All times are GMT. The time now is 01:12. |
vBulletin® Version 3.8.8