Reply
Thread Tools
Posts: 7 | Thanked: 4 times | Joined on Nov 2019
#941
I have tried a number of things, and am still unable to get past the Bootloader when i am trying to boot SFOS WIP 0.13. Was able use 2.0.11.1 for a while. Is there any recommendations for default rom in multiboot? or any thoughts on what else i could be doing wrong here.

My current path is:
base rom: https://forum.xda-developers.com/goo...e-zip-t3157299 with franco kernel
Recovery: 2.8.7 multirom
cm zip: cm-12.1-20160704-UNOFFICIAL-hammerhead-nocheck.zip
SFOS rootfs: sailfishos-hammerhead-release-3.2.0.12-cm12.1-wip0.13.zip

I am thinking of recording a video of my steps if anyone things that might be best.

Thanks in advance for the help, you all have been very helpful with everything!
 

The Following User Says Thank You to nickh For This Useful Post:
edp17's Avatar
Posts: 592 | Thanked: 706 times | Joined on Jul 2019 @ UK
#942
I am using the factory 6.0.1 rom from this post (Download section)
You need a kexec kernel from the same post (Kernel w/ kexec-hardboot patch (Stock 6.0 and 6.0.1)

Let me dig out how I installed multirom on my Nexus 5 and will come back soon.
 

The Following User Says Thank You to edp17 For This Useful Post:
edp17's Avatar
Posts: 592 | Thanked: 706 times | Joined on Jul 2019 @ UK
#943
I see now.
Did you flash a kexec kernel?
Did you installed the modified MultiROM Manager Android apk?
You already mentioned the TWRP, so that should be ok, however I would install the one from the previous post (TWRP_multirom_hammerhead_20160210.img)
With this you cannot flash additional zip on an existing rom but you can install sailfish or ut with it.
 

The Following User Says Thank You to edp17 For This Useful Post:
edp17's Avatar
Posts: 592 | Thanked: 706 times | Joined on Jul 2019 @ UK
#944
Originally Posted by mautz View Post
Deleting the kernel files and do a repo sync should be enough, give it a try, it would only download about 300megs or so if this works.

And please create a Gihub account and push your work there, it would make everythin much easier. And please use patches with git and do not modify all the files by hand.
I have deleted the kernel folder in my android tree, then cloned Jonh's kernel (cm-12.1), then applied all commits you recommended and changed the flags in the defconfig.

Finally I have forked John's kernel into my repo and followed the instruction in the hadk at section 5.4.1 Kernel config - Contribute your mods back. I used the hybris-12.1-edp17 branch.
However when I checked this branch in github the only changed file I saw was the defconfig.
When I applied those commits from your post, I changed a lots of files. I thought when I push my work to the github, it will include all of them.

I see now why. Because the doc says:
"DEFCONFIG=arch/arm/configs/cyanogenmod_hammerhead_defconfig

git add $DEFCONFIG"

So basically I just pushed that file only.

And my kernel compilation just crashed at this moment. Great.
 

The Following User Says Thank You to edp17 For This Useful Post:
edp17's Avatar
Posts: 592 | Thanked: 706 times | Joined on Jul 2019 @ UK
#945
The errors are:
Code:
../../../../../../kernel/lge/hammerhead/net/bluetooth/hidp/core.c:200:18: error: redefinition of parameter 'type'
     unsigned int type, unsigned int code, int value)
                  ^
../../../../../../kernel/lge/hammerhead/net/bluetooth/hidp/core.c:199:65: note: previous definition of 'type' was here
 static int hidp_input_event(struct input_dev *dev, unsigned int type,
                                                                 ^
../../../../../../kernel/lge/hammerhead/net/bluetooth/hidp/core.c: In function 'hidp_setup_input':
../../../../../../kernel/lge/hammerhead/net/bluetooth/hidp/core.c:712:15: warning: assignment from incompatible pointer type [enabled by default]
error, forbidden warning: core.c:712
  AS      arch/arm/lib/memset.o
make[5]: *** [net/bluetooth/hidp/core.o] Error 1
make[4]: *** [net/bluetooth/hidp] Error 2
make[3]: *** [net/bluetooth] Error 2
make[2]: *** [net] Error 2
 
Posts: 7 | Thanked: 4 times | Joined on Nov 2019
#946
For kernel I have tried Franco, kexec, and ElementalX.
Not sure about a modified MultiRom manager but the one I have says: Multirom v33a, recovery 2016-02-10 (I have tried both), kernel has kexec.
 
edp17's Avatar
Posts: 592 | Thanked: 706 times | Joined on Jul 2019 @ UK
#947
Nevermind, I have found it.
Multiple commits amended the same file 'net/bluetooth/hidp/core.c'
and that ha caused this.
 
edp17's Avatar
Posts: 592 | Thanked: 706 times | Joined on Jul 2019 @ UK
#948
Originally Posted by nickh View Post
For kernel I have tried Franco, kexec, and ElementalX.
Not sure about a modified MultiRom manager but the one I have says: Multirom v33a, recovery 2016-02-10 (I have tried both), kernel has kexec.
I have not tried those kernels. The one on the multirom post works as I am using that. I am not sure whether you need the modified multirom manager app, but I needed as wanted to install Ubuntu Touch too.
What I have done, rooted the stock 6.0.1 android, then installed a recovery, then installed the multirom apk, then installed the multirom TWRP.

I used this post for the multirom part. It says you need the multirom app too.
 
edp17's Avatar
Posts: 592 | Thanked: 706 times | Joined on Jul 2019 @ UK
#949
Originally Posted by edp17 View Post
Nevermind, I have found it.
Multiple commits amended the same file 'net/bluetooth/hidp/core.c'
and that ha caused this.
And got a new one:
Code:
../../../../../../kernel/lge/hammerhead/net/bluetooth/hidp/core.c: In function 'hidp_hidinput_event':
../../../../../../kernel/lge/hammerhead/net/bluetooth/hidp/core.c:195:5: warning: 'hdr' may be used uninitialized in this function [-Wmaybe-uninitialized]
error, forbidden warning: core.c:195
make[5]: *** [net/bluetooth/hidp/core.o] Error 1
make[4]: *** [net/bluetooth/hidp] Error 2
I have a feeling that those commits are not enough. There should be something else too.
 
edp17's Avatar
Posts: 592 | Thanked: 706 times | Joined on Jul 2019 @ UK
#950
@mautz

I have pushed all other changes into github. Available in this commit

The defconfig is available in this commit.
Thank you.

Last edited by edp17; 2019-11-23 at 00:14.
 
Reply

Tags
hammerhead, nexus5, sailfishos, sfdroid


 
Forum Jump


All times are GMT. The time now is 22:39.