![]() |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
How did you know what need to change in the base.c file? I would never find out or find it on the internet either because I have no idea what to look for.
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
It crashed again:
Code:
Error <repo>[11/15 01:04:52] : Could not run transaction. There are a loads of warning before the error. (like Code:
Warning[11/15 01:04:51] : installing package libhybris-tests-0.0.5.33+master.20191115005151.f36f599+libhybris.7cde7df-1.armv7hl needs 344MB on the / filesystem What I have done was: (in the sdk, not in chroot) - changed the kernel config and base.c then: cd $ANDROID_ROOT source build/envsetup.sh export USE_CCACHE=1 breakfast $DEVICE make -j$(nproc --all) hybris-hal - then: hybris/mer-kernel-check/mer_verify_kernel_config ./out/target/product/$DEVICE/obj/KERNEL_OBJ/.config - then: cd $ANDROID_ROOT rpm/dhd/helpers/build_packages.sh |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I have run 'sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R zypper ref --force' and now re-running the 'build_packages.sh'
...and it has crashed again with the same message 'Error <repo>[11/15 01:29:18] : Could not run transaction.' Hmm. it worked before and the changes I made in the kernel shouldn't cause an effect on the repos. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I may know. The environment variable RELEASE is set to 3.2.0.12 but at this point (building the HAL) it should be unset. I change it and give another go then go to sleep.
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
By the way I looked for the file droid-hal-device.conf on the phone and replaced the 0 with 1. Now the touch screen works indeed but the wifi and mobile net do not. (Probably because of the cm13 kernel.) Anyway, at least I have something to play until the build is running. :)
Edit: Interesting, there is no /android folder :eek: |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I was right, that RELEASE variable has caused the problem! Once I unset it, the HAL build is completed. :D
Then soon later the new image has also freshly baked. :cool: Thanks both of you @mautz and @juiceme. (Probably I will need some more support to finalize the bits and bobs.;)) I have uploaded the second image for you. (I have not tested yet.) You can download it from here: --removed-- Good night everybody. :) Edit: Latest info and image is available in my signature or here |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I have installed this with the cm12-1 2016 android base (It is available in the first post). Sailfish boots up and the touch screen also works but:
- the scale of icons (and text in the apps) is not right, everything is tiny on the screen - there is no network (wifi doesn't find any network and mobile data cannot connect either) - the file system structure is different (there is no /android folder, the /sdcard is not accessible even with root) It seems there are a lot to fix but at least I see/can do something on the screen! ;) |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Maybe this will fix the non working wifi.
https://github.com/mautz-kernel/andr...08e1c711f44b4a Add Code:
%define pixel_ratio 2.0 EDIT: Fixing the firmware path will indeed fix wifi. AlienDalvik seems to work. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Thank you! The working AD is very good news. That was one of the main reasons I started this. :cool: Can you double check whether the camera works on android apps, please? |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I have compared the dmesg output from my sfos2.0.4.13 with ad and dmesg output of this new image. There is a hell of a lot difference but I cannot put them into pastebin because my access now is restricted.
|
All times are GMT. The time now is 21:52. |
vBulletin® Version 3.8.8