maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview (https://talk.maemo.org/showthread.php?t=96932)

RealJohnGalt 2016-07-07 18:28

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:
  • Better bluetooth functionality and performance.
  • Camcorder works.
  • Some video playback fixed.
  • Possibly lower sensor cpu usage without "ramp up" issue -- usage may vary.
Cons:
  • sfdroid (Android in a window) support is very early and unstable.
  • Laggy z-axis as a part of the sensorsfix3.zip. If you have issues, please post here or let me know on IRC.
  • OTA updates take hours to install due to a dbus bug. I recommend doing them overnight.

SFOS Installation:
  • If you're using multirom, ensure that you're running an older version of recovery that supports the "Flash Zip" capability for Sailfish. This build is recommended: http://d-h.st/BzdC
  • Depending on if you'd like to do a native install or use multirom, follow either native or multirom instructions on the wiki using the following CM12.1 and SFOS zips instead.
  • Flash sensorsfix3.zip on top of SFOS in recovery. If using the multirom method, go to Advanced=>Multirom => List Roms => <Sailfish ROM> => Flash Zip.
  • Reboot and setup your device.
  • There's no reason to OTA currently.

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:
  • No audio
  • No gps, bluetooth, etc
  • The window and card (in task switcher) will be black on app switch. Tap or hold your finger on the screen when switching back to sfdroid to see android again.
  • Nexus 5 runs out of ram easily with sfdroid enabled and gapps. And when android crashes from OOM, it often re-optimizes apps. Testing enabling KSM and zram swap now.
  • Probably still some other crashes. Please post with a logcat (see above).
  • Google camera will not work. Additionally, SFOS camera will not work after using the AOSP camera until a reboot.
  • No AOSP keyboard swype support, install google keyboard from play store if desired.

Sfdroid Early Preview Installation:
  • Ensure you're running a cm12.1 base (cm-12.1-20160704-UNOFFICIAL-hammerhead.zip) SFOS installation.
  • Flash sfdroid on top of SFOS in recovery (multirom method should go to Advanced=>Multirom=>List Roms=><Sailfish ROM>=>Flash Zip).
  • Optional: Flash gapps. IMPORTANT: you must use our gapps package).
  • Add nemo to a required group (must have a password set in Settings => Developer Options):
    Code:

    devel-su usermod -G net_bt_stack -a nemo
  • Reboot
Disable Sfdroid:
Code:

curl -o http://sprunge.us/JPOI init.rc.bak
curl -o http://sprunge.us/JXPJ init.zygote32.rc.bak
devel-su
cp -f init.rc.bak /init.rc
cp -f init.zygote32.rc.bak /init.zygote32.rc

OTA Update Support:
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
ssu release $RELEASE
devel-su sed -i -e 's#^adaptation=.*$#adaptation=http://repo.merproject.org/obs/home:/RealJohnGalt:/testing:/hammerhead/sailfish_latest_armv7hl/#' \
/usr/share/ssu/repos.ini
ssu dr mw
ssu ar mw http://repo.merproject.org/obs/nemo:/devel:/hw:/common/sailfish_latest_armv7hl/
ssu er mw
ssu lr
ssu lr
# ^ double-triple check that no -two- enabled repos point to the same URL

# You may have many of OpenRepos enabled. It's recommended to disable them, even
# though version --dup will do its best-effort to isolate repositories:
ssu lr | grep openrepos

devel-su zypper clean -a
devel-su zypper ref -f

version --dup
# if above fails, try again
version --dup

sync
reboot

Cool Stuff:
Change pixel_ratio to a smaller (but possibly better-fitting) ratio:
  • First enable the repository by entering root (with Developer Mode password):
    Code:

    devel-su
    ssu ar mer-tools
    ssu ur

  • To enable 1.82 pixel_ratio (opposed to 2.0 default):
    Code:

    curl http://sprunge.us/YbWB -o kimmoli-diyicons.sh
    chmod +x kimmoli-diyicons.sh
    devel-su ./kimmoli-diyicons.sh 1.82

  • To revert:
    Code:

    dconf reset /desktop/sailfish/silica/theme_pixel_ratio
    devel-su
    dconf update
    systemctl-user restart lipstick

MAC Address Randomization:
If you want to enable MAC address randomization each time the wlan interface is brought up, do the following:
  • Ensure you have a root password set. If unsure, go to Settings => Developer options, and save a password.
  • Either ssh or open terminal.
  • For temporary randomization until reboot or disable (toggle wlan afterward, reboot to disable):
    Code:

    devel-su sysctl -w net.core.randomize_mac=1
  • For permanent randomization (takes effect after the reboot):
    Code:

    devel-su
    echo "net.core.randomize_mac=1" > /etc/sysctl.d/macrand.conf
    reboot

Backup and restore
From your home directory on the Jolla phone do
Code:

tar cvf vault.tar .vault
and transfer the tar file to your Nexus 5 and restore it using the Jolla backup and restore from the settings app.

Install keyboard prediction as root
Code:

pkcon install jolla-xt9
Activate Low Power Mode (AKA "sneak peak" or "ambient display")
Code:

pkcon install mce-tools
mcetool --set-low-power-mode=enabled

Copy over maps package from Jolla Phone
Code:

pkcon download . sailfish-maps
FAQ:
  • Store is not working, or get an error about authentication when trying to install something in a shell.
    Run (with developer settings password):
    Code:

    devel-su
    ssu dr adaptation0
    pkcon refresh

  • Changed network mode in Settings, and now mobile data is intermittent or unreliable.
    Run:
    Code:

    dbus-send --system --type=method_call --print-reply --dest=org.ofono /ril_0 org.ofono.RadioSettings.SetProperty string:TechnologyPreference variant:string:lte
  • APN settings not sticking after reboot.
    This only needs to be run once (with developer settings password):
    Code:

    devel-su chown -R radio:radio /var/lib/ofono

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

nh1402 2016-07-07 19:41

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.

abyzthomas 2016-07-08 03:30

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
1 Attachment(s)
Quote:

Originally Posted by RealJohnGalt (Post 1509185)
Test a very early preview of sfdroid:

Tried in MultiROM. Seems to get into a loop.
Waiting for service sensorservice ...

Code:

E/qdhwcomposer( 1130): isValidDimension: layer handle is NULL
E/qdhwcomposer( 1130): isValidDimension: layer handle is NULL
I/ServiceManager( 7012): Waiting for service sensorservice...
E/qdhwcomposer( 1130): isValidDimension: layer handle is NULL
E/qdhwcomposer( 1130): isValidDimension: layer handle is NULL
E/qdhwcomposer( 1130): isValidDimension: layer handle is NULL
E/qdhwcomposer( 1130): isValidDimension: layer handle is NULL

Tried with and without gapps.

See logcat file. Attachment 38461

RealJohnGalt 2016-07-08 04:16

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by abyzthomas (Post 1509208)
Tried in MultiROM. Seems to get into a loop.
Waiting for service sensorservice ...

Code:

E/qdhwcomposer( 1130): isValidDimension: layer handle is NULL
E/qdhwcomposer( 1130): isValidDimension: layer handle is NULL
I/ServiceManager( 7012): Waiting for service sensorservice...
E/qdhwcomposer( 1130): isValidDimension: layer handle is NULL
E/qdhwcomposer( 1130): isValidDimension: layer handle is NULL
E/qdhwcomposer( 1130): isValidDimension: layer handle is NULL
E/qdhwcomposer( 1130): isValidDimension: layer handle is NULL

Tried with and without gapps.

See logcat file. Attachment 38461

My fault, thank you! I accidentally packaged the wrong folder (from a multiwindow branch). I just updated the link and also tweaked GC values for lower RAM devices. Seems to be running OOM less on my device from testing.

akira.pwr 2016-07-08 06:00

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 :)

abyzthomas 2016-07-08 12:17

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
1 Attachment(s)
Quote:

Originally Posted by RealJohnGalt (Post 1509210)
My fault, thank you! I accidentally packaged the wrong folder (from a multiwindow branch). I just updated the link and also tweaked GC values for lower RAM devices. Seems to be running OOM less on my device from testing.

It is better and Android boots!!

I get AOSP keyboard stopped popup continuously. No keyboard!

Attachment 38462

RealJohnGalt 2016-07-08 16:23

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by abyzthomas (Post 1509238)
It is better and Android boots!!

I get AOSP keyboard stopped popup continuously. No keyboard!

Attachment 38462

If android boots before gapps has been flashed, a fresh install is required for now. I'm sorry, this is listed in bugs ("You must flash gapps immediately after flashing sfdroid without rebooting if you want gapps or you will run into android issues."), but I don't think I worded it properly.

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.

akira.pwr 2016-07-08 18:02

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?

liar 2016-07-08 18:15

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by RealJohnGalt (Post 1509247)
If android boots before gapps has been flashed, a fresh install is required for now. I'm sorry, this is listed in bugs ("You must flash gapps immediately after flashing sfdroid without rebooting if you want gapps or you will run into android issues."), but I don't think I worded it properly.

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.

try deleting libjni_latinimegoogle.so

breiti_oi 2016-07-08 18:16

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by akira.pwr (Post 1509254)
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?

i think you have to install the gapps right after the cm12.1 zip and the sfdroid at last, after the sailfish file.

RealJohnGalt 2016-07-08 18:30

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by akira.pwr (Post 1509254)
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?

gapps will be in sfdroid. Android apps are not yet in the sailfish app drawer.
Quote:

Originally Posted by breiti_oi (Post 1509256)
i think you have to install the gapps right after the cm12.1 zip and the sfdroid at last, after the sailfish file.

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

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.

akira.pwr 2016-07-09 19:22

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.

piwadam 2016-07-09 20:18

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by akira.pwr (Post 1509303)
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.

Same here. I've flashed nano gapps.

RealJohnGalt 2016-07-09 21:05

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
rm -rf /system/lib/libjni_latinimegoogle.so
rm -rf /system/app/LatinIME/lib/arm/libjni_latinimegoogle.so
reboot

For new installs, we're rolling our own gapps for now: http://www.mediafire.com/download/kt...oswypelibs.zip

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.

akira.pwr 2016-07-09 21:55

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?

jellyroll 2016-07-09 22:06

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?

RealJohnGalt 2016-07-09 23:04

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by jellyroll (Post 1509316)
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?

Network works and is controlled by sfos (using dbus). No BT functionality on sfdroid.

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:

Originally Posted by akira.pwr (Post 1509315)
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?

It's not currently supported. nh1402 has been talking about working on this. For now, you need to open sfdroid to handle switching apps. My current priority is fixing a few intermittent crashes I've run into and reducing out-of-memory instances.

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.

wganis 2016-07-11 11:00

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

nh1402 2016-07-11 11:05

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by wganis (Post 1509403)
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

Removing the check in the updater script should be enough I would have thought.

jellyroll 2016-07-11 14:28

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by nh1402 (Post 1509404)
Removing the check in the updater script should be enough I would have thought.

Can you please post the line that needs to be removed?

liar 2016-07-11 16:04

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");

RealJohnGalt 2016-07-11 19:26

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by wganis (Post 1509403)
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

It's possible to downgrade, but I'll also upload the zip without the check shortly.

Quote:

Originally Posted by liar (Post 1509431)
@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");

I'll do that and also check it's being flashed on top of the correct cm-12.1 base. Thank you.

Edit: cm12.1 without the bootloader check uploaded: http://www.mediafire.com/download/12...ad-nocheck.zip

RealJohnGalt 2016-07-13 04:02

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.

akira.pwr 2016-07-13 06:20

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?

RealJohnGalt 2016-07-13 06:24

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by akira.pwr (Post 1509548)
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?

Are you sure you flashed it on the sailfish rom? It sounds like you may have flashed it on your primary rom if the multirom screen isn't appearing on boot.

akira.pwr 2016-07-13 06:26

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.

RealJohnGalt 2016-07-13 06:38

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.

wganis 2016-07-13 06:54

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

RealJohnGalt 2016-07-13 07:32

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by wganis (Post 1509553)
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

Do you have a way of replicating any crashes you've experienced? Also, next time you experience one and have time, could you run:

Code:

devel-su /system/bin/logcat > sfdroid
And then upload the file?

wganis 2016-07-13 08:25

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

RealJohnGalt 2016-07-13 08:37

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by wganis (Post 1509557)
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

Sorry I didn't explain well. That's normal, but the logcat gets piped to a file named "sfdroid" where you ran it (probably ~/).

jellyroll 2016-07-13 08:46

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.

akira.pwr 2016-07-13 13:04

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.

abyzthomas 2016-07-13 13:25

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.

akira.pwr 2016-07-13 13:43

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 :(

piwadam 2016-07-13 18:51

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by akira.pwr (Post 1509573)
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 :(

Keep browser open. Don't switch between apps and keep screen on. It helped me. On android.

akira.pwr 2016-07-13 20:03

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by piwadam (Post 1509592)
Keep browser open. Don't switch between apps and keep screen on. It helped me. On android.

It seemed the page refreshed in loop, but now i've downloaded everything with my pc and I'm reflashing everything from the beginning.

EDIT: I've reflashed all, now everything it's ok, even sfdroid, thanks to all :)

bnwg 2016-07-14 06:43

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by akira.pwr (Post 1509597)
It seemed the page refreshed in loop, but now i've downloaded everything with my pc and I'm reflashing everything from the beginning.

EDIT: I've reflashed all, now everything it's ok, even sfdroid, thanks to all :)

Do you mind sharing the performance when you come up a preliminary impression?

akira.pwr 2016-07-14 06:51

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?

RealJohnGalt 2016-07-14 20:41

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by jellyroll (Post 1509559)
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.

I tested aptoide and everything seems to work in it. Does your wifi icon in sfdroid show an exclamation mark (!)? If so, sfdroid probably started up without a network connection in sailfish. A reboot and reopen of sfdroid when it has a network connection should fix this.

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:

Originally Posted by akira.pwr (Post 1509609)
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?

I can't recreate this. Is sfdroid opening? Are you stuck at the cm bootanimation? Because I can't recreate this, I'll need a logcat. Please reboot your device, attempt to open sfdroid, then run "devel-su /system/bin/logcat > sfdroid" for ~1-2 minutes and upload the "sfdroid" file. It will be ~/sfdroid if you just ssh'd or opened terminal, and ran the command without changing paths.

Thank you all for testing.


All times are GMT. The time now is 03:02.

vBulletin® Version 3.8.8