techtino / Droidian-Install-Guide-OP6-6T-

10 stars 0 forks source link

Bookworm #1

Open junocomp opened 1 year ago

junocomp commented 1 year ago

Does this still work on Bookworm?

techtino commented 1 year ago

I have not tested it myself on that version unfortunately, however I doubt much (if anything has changed), so it should work. If you give it a go and run into any issues let me know, but I do not have time to try it on my own device currently.

Feel free to send in a PR to update the docs if anything misses the mark.

techtino commented 1 year ago

On this topic, I noticed droidian moved their images as of last month, so I have updated the links on the readme.

junocomp commented 1 year ago

I tested on Bookworm and mostly on Trixie. It does boot and it does work but is a bit unstable.

Bookworm & Trixie - Camera works Trixie - Fingerprint works but it breaks after restarting.

I forked UBports OP6 latest halium kernel and I compiled it for Droidian.

https://github.com/junocomp/linux-android-oneplus-oneplus6

photo_5868732563131055267_w

I was able to install the kernel and boot the new boot.img but then it gets stuck on the Droidian plymouth. The benefit of this is I will be able to get ramdisk, plymouth and even encryption support.

If you want to help, try compiling on your own and see if you can find out why is not booting. At least we are halfway there.

https://github.com/droidian/porting-guide/blob/master/kernel-compilation.md

techtino commented 1 year ago

It's been a while so I'd have to refresh myself on halium development.

I wasn't super involved with the boot image development. IIRC the halium boot from here was built based on a build from mrcyjanek.

Could be worth comparing his branch on ubports to yours: https://gitlab.com/ubports/porting/community-ports/android9/oneplus-6/kernel-oneplus-sdm845/-/tree/halium-9.0-cyjanek?ref_type=heads

And any tweaks he did here: https://github.com/MrCyjaneK/android_kernel_oneplus_sdm845

I think perhaps a good starting point is building from his branches and see if they boot droidian at all still.

If I remember correctly, this is the branch that this halium boot was built from exactly: https://github.com/ubports-oneplus6/android_kernel_oneplus_sdm845/tree/halium-9.0-cyjan2

junocomp commented 1 year ago

I just tried it... no success