Halium / projectmanagement

142 stars 32 forks source link

[device-port] [sagit] Xiaomi Mi 6 #172

Open archeYR opened 4 years ago

archeYR commented 4 years ago

Tree: halium-7.1

All thanks to @Verevka for getting this port that far.

Gravityhub commented 4 years ago

Are you working to continue this project ?

archeYR commented 4 years ago

Currently I'm not working on it. Last time there was (another) blocker, that I couldn't figure out.

Here is how it goes when booting hybris-boot, if anyone is interested: https://paste.ubuntu.com/p/KPFVFzghZs/

Gravityhub commented 4 years ago

Ok thank you anyway

degdag commented 4 years ago

So would you work again on this project or you give up , If you still intersted we can works together on this , i also doing mainelining of this device and for now i can boot 5.6-rc7 on this device with working fb and display and ufs storage as well as the power button , curren processe is getting usb to work on maineline , there is also a workin linux destro (postmarketos) that use mi6 kernel and seem to be quit good enouth to start from it if the problem is in the kernel , i alredy test the halium initrd with that kernel and they booted just fine ;)

archeYR commented 4 years ago

Very nice! I'm especially interested in getting mainline kernel working, do you have any repo for your work? :) And yeah, in this case I'm interested getting Halium to work sooner. It is also interesting that you could get it further with the kernel from pmOS port, how well it works?

degdag commented 4 years ago

Well i have problem with internet thouse days so i couldn't upstram my work but you can easly get it . My work based on oneplus 5 . Well if you want any info you can ask me i will do my best . If you wan to try the mainline kernel just clone onepluse mainline kernel from github and i will give you the dts file for mi6

degdag commented 4 years ago

The kernel from pmos not stable as what we want usb networking : works Touchscreen : works Display : works Otg : works Tested UI (working) : mate , xfce4 , gnome , plasma desktop (not mobile) Tested ui (not working) : the rest

archeYR commented 4 years ago

Yes, a dts would be nice, thanks :) As for the Halium port, there is another one based on the halium-9.0 tree. It already boots to UT, although many things are not working yet.

degdag commented 4 years ago

Well here is my repo now working https://github.com/degdag/mi6-mainline

degdag commented 4 years ago

Yes, a dts would be nice, thanks :) As for the Halium port, there is another one based on the halium-9.0 tree. It already boots to UT, although many things are not working yet.

So what's working and what's not yet ? I realy interested to run UT on my mi 6

archeYR commented 4 years ago

What works: RIL (Calls, SMS), Dual-SIM, touchscreen, power button, Bluetooth (unstable). What doesn't: WLAN, modem (internet connection), GPS, brightness control, rotation, vibration, flash light, camera, volume buttons, front buttons, and probably more...

degdag commented 4 years ago

i managed to get usb to work on mainline this night and yes usb is workin now . the next is to get usb otg and touchscreen to work

Verevka commented 4 years ago

i managed to get usb to work on mainline this night and yes usb is workin now . the next is to get usb otg and touchscreen to work

Hi i am working on ubuntu touch on halium-7.1, 9.0. 9.0 is very good. 7.1 does not work bluetooth and wifi. Can you use your kernel somehow?

Verevka commented 4 years ago

What works: RIL (Calls, SMS), Dual-SIM, touchscreen, power button, Bluetooth (unstable). What doesn't: WLAN, modem (internet connection), GPS, brightness control, rotation, vibration, flash light, camera, volume buttons, front buttons, and probably more...

Almost everything works now except for usb connection and auto brightness.

Verevka commented 4 years ago

halium 7.1 work ril, call, mobile internet.-

https://github.com/UbPorts-sagit/android_device_xiaomi_msm8998-common/commit/5c529abd515e150bccfb56d21eb1d864ffc64d96

Verevka commented 4 years ago

Camera halium 7.1 fix. Work!

Verevka commented 4 years ago

Wifi work :-)

Verevka commented 4 years ago

Gps work :-)

Verevka commented 4 years ago

Fix torch, flashlight, video decoding, offline changer... and more fix

degdag commented 4 years ago

i managed to get usb to work on mainline this night and yes usb is workin now . the next is to get usb otg and touchscreen to work

Hi i am working on ubuntu touch on halium-7.1, 9.0. 9.0 is very good. 7.1 does not work bluetooth and wifi. Can you use your kernel somehow?

Well I can give you a compiled kernel to test it if u want