FORUMS
Remove All Ads from XDA

[UNOFFICIAL][20191105] LineageOS 17.0 for UMIDIGI F1 [Android 10]

218 posts
Thanks Meter: 667
 
By PeterCxy, Senior Member on 5th November 2019, 02:25 PM
Post Reply Email Thread
Introduction

This is my port of LineageOS 17.0 for the UMIDIGI F1, with things mostly working as they are expected to. This ROM depends on the official vendor image, so please be sure you are on the latest official build before flashing this ROM onto your device. Also, since these MTK devices often come with some strange variants, please be aware that your lineage may vary.

Known Bugs

- VoLTE does not work (and probably won't work on any MTK device with custom ROMs any time soon) due to MTK's proprietary extensions.
- Sometimes data connection can be randomly lost during reconnections. This can be fixed by either a reboot or `pkill phone` in a root shell (terminal).

Flashing Instructions

1. You MUST flash my TWRP port available here before trying to install the ROM
2. Reboot into TWRP, wipe data (no format needed), then install the ROM zip
3. Install anything else you would like (Magisk, OpenGAPPs, etc. OpenGAPPS beta for Android 10: https://sourceforge.net/projects/ope...es/arm64/beta/)
4. Reboot into system and enjoy.

Downloads

20191105-1: https://www.androidfilehost.com/?fid...26312261619909

Source code

Device tree available at https://github.com/PeterCxy/android_device_umidigi_F1
Kernel source code is not available from UMIDIGI, unfortunately.

Screenshots (with OpenGAPPS beta)


The Following 4 Users Say Thank You to PeterCxy For This Useful Post: [ View ] Gift PeterCxy Ad-Free
6th November 2019, 03:17 PM |#2  
Junior Member
Thanks Meter: 2
 
More
What do you mean by "This ROM depends on the official vendor image" Do I need to flash the latest firmware from Umidigi, then flash Lineage?
6th November 2019, 03:33 PM |#3  
PeterCxy's Avatar
OP Senior Member
Thanks Meter: 667
 
More
Quote:
Originally Posted by Lolithetrolli

What do you mean by "This ROM depends on the official vendor image" Do I need to flash the latest firmware from Umidigi, then flash Lineage?

Actually I don't think there is much change in umidigi's firmware so you are probably fine with pretty much any vendor image. I am on the September vendor image which shows as 20190724
The Following User Says Thank You to PeterCxy For This Useful Post: [ View ] Gift PeterCxy Ad-Free
6th November 2019, 07:01 PM |#4  
Junior Member
Thanks Meter: 2
 
More
While I enjoy your effort for the port it's really rough around the edges. Settings randomly crash, NFC randomly crashes, there's no difference between default dark mode and black dark mode, it lacks accents other than default, after enabling developer settings numbers appear on the left hand side of the status bar, and GAPPS doesn't even have android 10 available yet. Again, thanks for the port, but it's not for me.
7th November 2019, 01:08 AM |#5  
PeterCxy's Avatar
OP Senior Member
Thanks Meter: 667
 
More
Quote:
Originally Posted by Lolithetrolli

While I enjoy your effort for the port it's really rough around the edges. Settings randomly crash, NFC randomly crashes, there's no difference between default dark mode and black dark mode, it lacks accents other than default, after enabling developer settings numbers appear on the left hand side of the status bar, and GAPPS doesn't even have android 10 available yet. Again, thanks for the port, but it's not for me.

Somehow I'm using it without any random crashes... Are you sure you have tested on the latest firmwares from umidigi? And are you sure you have wiped data properly? If those crashes only happen for you and not for me, then without logs it's simply impossible for me to fix anything.

And OpenGAPPS has beta version for Android 10, check it out at https://sourceforge.net/projects/ope...es/arm64/beta/

On the accent color thing, please wait until LineageOS 17 ports every feature over. For now having most things working is the primary focus.
8th November 2019, 01:09 AM |#6  
Junior Member
Thanks Meter: 12
 
More
Thanks for bringing a new life to an already awesome device! I was thinking on changing device due to lack of support, but now I'm surely sticking around! I have a couple of questions tho:

- Is it possible to add tweaks to this kernel? Like 2DTW, F2FS and maybe some more performance/battery gains? Or maybe upgrade it, like to 4.9?
- What about performance in games and/or more demanding tasks? I noticed this on all the GSI's that I tried, because they weren't optimized for the device, and it got hot easily.

Thanks once again for making this dream a reality! I Will test this along with your recovery when I can! Cheers!
8th November 2019, 03:29 AM |#7  
mrmazak's Avatar
Senior Member
Thanks Meter: 1,221
 
More
Quote:
Originally Posted by SnapTheRipper

Thanks for bringing a new life to an already awesome device! I was thinking on changing device due to lack of support, but now I'm surely sticking around! I have a couple of questions tho:

- Is it possible to add tweaks to this kernel? Like 2DTW, F2FS and maybe some more performance/battery gains? Or maybe upgrade it, like to 4.9?
- What about performance in games and/or more demanding tasks? I noticed this on all the GSI's that I tried, because they weren't optimized for the device, and it got hot easily.

Thanks once again for making this dream a reality! I Will test this along with your recovery when I can! Cheers!

This seems to be built with stock kernel. As there is no kernel source released, the addition to kernel mods is not currently available.
9th November 2019, 02:44 AM |#8  
Junior Member
Thanks Meter: 12
 
More
Quote:
Originally Posted by mrmazak

This seems to be built with stock kernel. As there is no kernel source released, the addition to kernel mods is not currently available.

Well I found some P60 sources from Nokia, idk if it could be useful...

https://github.com/nokia-dev/android...l_nokia_mt6771

Amdroid Pie:
https://github.com/nokia-dev/android...ee/android-9.0
9th November 2019, 06:43 AM |#9  
PeterCxy's Avatar
OP Senior Member
Thanks Meter: 667
 
More
Quote:
Originally Posted by SnapTheRipper

Thanks for bringing a new life to an already awesome device! I was thinking on changing device due to lack of support, but now I'm surely sticking around! I have a couple of questions tho:

- Is it possible to add tweaks to this kernel? Like 2DTW, F2FS and maybe some more performance/battery gains? Or maybe upgrade it, like to 4.9?
- What about performance in games and/or more demanding tasks? I noticed this on all the GSI's that I tried, because they weren't optimized for the device, and it got hot easily.

Thanks once again for making this dream a reality! I Will test this along with your recovery when I can! Cheers!

It is not technically impossible, but it would require a LOT of effort to reverse-engineer an entire kernel by piecing together open-source components from other manufacturers, and many of these vendors using MTK SoCs do not have open-source kernel just like Umidigi, though it's technically illegal to do so. I'm definitely not going to do this any time soon.
9th November 2019, 12:31 PM |#10  
Junior Member
Thanks Meter: 12
 
More
Quote:
Originally Posted by PeterCxy

It is not technically impossible, but it would require a LOT of effort to reverse-engineer an entire kernel by piecing together open-source components from other manufacturers, and many of these vendors using MTK SoCs do not have open-source kernel just like Umidigi, though it's technically illegal to do so. I'm definitely not going to do this any time soon.

Now I'm lost 🤣 don't get me wrong, I didn't started yet to develop, but if Umidigi has an "open source" kernel, could it be decompiled somehow from the stock firmware?
9th November 2019, 03:41 PM |#11  
PeterCxy's Avatar
OP Senior Member
Thanks Meter: 667
 
More
Quote:
Originally Posted by SnapTheRipper

Now I'm lost 🤣 don't get me wrong, I didn't started yet to develop, but if Umidigi has an "open source" kernel, could it be decompiled somehow from the stock firmware?

Linux being open-source doesn't mean any modification to it is easily reverse-engineerable. There is no such thing as "decompilation", only reverse-engineering, which is exactly what I referred to as "not totally impossible". However, if you hope someone to devote an enormous amount of effort just to "decompile" a kernel, you'd better off just sue the manufacturer for kernel source code (they are legally bound to do so by using the Linux kernel). It's far more plausible.
Post Reply Subscribe to Thread

Tags
umidigi-f1

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes