Poco F1 Kernel Source Live. - Xiaomi Poco F1 Guides, News, & Discussion

Mi 8/Mi 8 Explorer Edition/Poco F1 Same Branch
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/dipper-o-oss

najjurocks619 said:
Mi 8/Mi 8 Explorer Edition/Poco F1 Same Branch
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/dipper-o-oss
Click to expand...
Click to collapse
Blimey! That's a very good sign!
Hopefully they're intact and usable

thesoupthief said:
Blimey! That's a very good sign!
Hopefully they're intact and usable
Click to expand...
Click to collapse
Indeed, Hoping for great future and development for this device, The cheapest SD 845 yet.

isnt this a security lapse

prabaharanaece said:
isnt this a security lapse
Click to expand...
Click to collapse
Lol are you joking? Xiaomi have themselves released the kernel sources. How does that make it a security lapse when they themselves announced this during the phone launch?

Great news! Hope to see LineageOS soon for this phone.

kishore1998 said:
Lol are you joking? Xiaomi have themselves released the kernel sources. How does that make it a security lapse when they themselves announced this during the phone launch?
Click to expand...
Click to collapse
It is rather a question from me, I know mi released the codes but question is can it be used by someone for hacking this phone. I guess it would be more easier for the hackers now.

prabaharanaece said:
It is rather a question from me, I know mi released the codes but question is can it be used by someone for hacking this phone. I guess it would be more easier for the hackers now.
Click to expand...
Click to collapse
POCO F1 is not the only phone with it's kernel source released. You will find kernel sources released for many phones by different brands (Sony, Samsung, LG, OnePlus and so many more). The purpose of releasing the source is to accommodate custom ROM and Kernel development by developer community (like XDA) and find out vulnerability (if any) in the process. Any vulnerability found is usually patched in updates. Yes the source can be used to compile a kernel or ROM with malicious code or an app which'd try to exploit the vulnerability but it will only affect those who'd install any such app/kernel/ROM. Now any flashaholic you'd meet will tell you how they'd only install apps from trusted sources and flash ROMs/Kernels available on XDA etc. In nutshell, I don't think trying to hack a phone using kernel source is worth it as it targets very limited people who are cautious enough on what to install on their phones making it more difficult to hack. Any developer can enlighten you more on the issue as I might be totally wrong on the issue too.
P.S. It's because of such source code releases that community like XDA is thriving.

prabaharanaece said:
isnt this a security lapse
Click to expand...
Click to collapse
All linux based kernels are open source

Also it is mandatory for OEMs to release kernel sources per GPL license rules.

I got my phone today, waiting for some awesome development..

Thank you everyone for comments :good:. I got my phone today as well

Will only buy it if any rom(i wish for Omni) is built from sources(not ported rom) and officially supports Treble <3
Otherwise simply useless phone for me :X
Would suggest the same for others too

xuser_ said:
Will only buy it if any rom(i wish for Omni) is built from sources(not ported rom) and officially supports Treble <3
Otherwise simply useless phone for me :X
Would suggest the same for others too
Click to expand...
Click to collapse
All roms are build from aosp and other sources, this is not 2012 where ported roms exists here. What are you talking about? Also, the phone is launched with 8.1 so it officially supports treble out of the box. You high or what?
Btw: good to see early release of kernel source but on the other hand, the unlocking of bootloader showing me 30 days (720hours). How will I live for 30 days using MIUI?

Related

[Q] What device tree I can use for Qumo Quest phone

Hi there!
I want to compile CM 10.1 for my phone, but stucked with device tree and i don't know what tree to choose for this.
Phone mentioned in the subject is Qumo brending of chinese i9220 PAD 5" MT6575 (e1809c_v75) Android 4.0.3
Great thanks if anyone can help.
PS. Sorry for my English.
rippak said:
Hi there!
I want to compile CM 10.1 for my phone, but stucked with device tree and i don't know what tree to choose for this.
Phone mentioned in the subject is Qumo brending of chinese i9220 PAD 5" MT6575 (e1809c_v75) Android 4.0.3
Great thanks if anyone can help.
PS. Sorry for my English.
Click to expand...
Click to collapse
I dont think there is one for that as that is not an official version of Android. Very few China based Android phones are supported by AOSP. You may have to start it yourself if you want it. The first thing you will need to do is have the OEM post the kernel source code for the device. This will be your biggest challenge. As most China OEM dont respect the GPL laws
zelendel said:
I dont think there is one for that as that is not an official version of Android. Very few China based Android phones are supported by AOSP. You may have to start it yourself if you want it. The first thing you will need to do is have the OEM post the kernel source code for the device. This will be your biggest challenge. As most China OEM dont respect the GPL laws
Click to expand...
Click to collapse
Ok
What if there is no source of kernel? Can I use compiled kernel (3.0.13) from current firmware (4.0.3) or this is impossible?
rippak said:
Ok
What if there is no source of kernel? Can I use compiled kernel (3.0.13) from current firmware (4.0.3) or this is impossible?
Click to expand...
Click to collapse
Without kernel source your kinda out of luck. No that kernel will not work on AOSP as that 4.0.3 is not an official android version. It is a hacked together version. Your best bet would be to sell it and get something that is not a knock off.
zelendel said:
Without kernel source your kinda out of luck. No that kernel will not work on AOSP as that 4.0.3 is not an official android version. It is a hacked together version. Your best bet would be to sell it and get something that is not a knock off.
Click to expand...
Click to collapse
Just for fun: wrote to "developer" for sources.
rippak said:
Just for fun: wrote to "developer" for sources.
Click to expand...
Click to collapse
Got to write to the OEM. Only they will be able to release the kernel source. Good luck. Dont hold on to hope though. They are not forced to post kernel source like everyone else.
zelendel said:
Got to write to the OEM. Only they will be able to release the kernel source. Good luck. Dont hold on to hope though. They are not forced to post kernel source like everyone else.
Click to expand...
Click to collapse
Don't you know is it real to compile with another kernel for same CPU MT6575?
Found some links to kernel sources for other phones - seems to be working for different devices.

Release Of Kernel Sources & Custom Rom Development ?

Will Xiaomi release kernel sources fully for this smartphone & therefore able to have active rom development (including Android M 6.0 roms) in the near future ?
(Kernel sources for the Xiaomi Mi3 & Mi4 were released very late and not in full and are the reason I believe that many Lollipop roms for these devices are not stable).
I think it depends on whether the device goes international. They were quick to release the sources for the Mi4i, and that is the only phone they officially sell internationally. That said, at least it uses the most common SOC of 2015.
Does it help that it has the same soc as the nexus 5x?
ermacwins said:
Does it help that it has the same soc as the nexus 5x?
Click to expand...
Click to collapse
It helps a little bit maybe, but the problem is all the other stuff inside the phone is different. You still need proper sources from Xiaomi.
M.
Do Xiaomi devices have root "built-in" ?
I'm interested in ROM development, too, but for the first months having root would be enough.
Giocarro said:
Do Xiaomi devices have root "built-in" ?
I'm interested in ROM development, too, but for the first months having root would be enough.
Click to expand...
Click to collapse
I have seen a guide on MIUI forum: "How to flash TWRP Recovery and Super Su(Root) on Xiaomi Mi4C"
Having access to kernel will also mean ir blaster will work on custom roms?
ermacwins said:
Having access to kernel will also mean ir blaster will work on custom roms?
Click to expand...
Click to collapse
Don't count on that. Many device that have kernel source and ir blasters still don't work on aosp based roms. Due to all the drivers for the hardware being closed sourced.
zelendel said:
Don't count on that. Many device that have kernel source and ir blasters still don't work on aosp based roms. Due to all the drivers for the hardware being closed sourced.
Click to expand...
Click to collapse
When we say kernel source, is that pertaining to the soc?
ermacwins said:
When we say kernel source, is that pertaining to the soc?
Click to expand...
Click to collapse
The kernel covers all aspects of the device in one form or another.
zelendel said:
The kernel covers all aspects of the device in one form or another.
Click to expand...
Click to collapse
Let's say xiaomi is taking long to release their kernel source but the source for nexus 5x soc is out, would that be enough for aosp rom?
ermacwins said:
Let's say xiaomi is taking long to release their kernel source but the source for nexus 5x soc is out, would that be enough for aosp rom?
Click to expand...
Click to collapse
No it won't. You will also need the device tree for this device. It's not how long it takes for them to release it that I would be worried about. It's if the source is complete and not broken like they are known to release. They have a habit of release broken source to force users to use miui. If you look at other devices from this OEM it takes months some times a year before they release it and when they do it is broken and devs have to take weeks to get it even remotely working. Then there are still bugs that are never fixed.
zelendel said:
No it won't. You will also need the device tree for this device. It's not how long it takes for them to release it that I would be worried about. It's if the source is complete and not broken like they are known to release. They have a habit of release broken source to force users to use miui. If you look at other devices from this OEM it takes months some times a year before they release it and when they do it is broken and devs have to take weeks to get it even remotely working. Then there are still bugs that are never fixed.
Click to expand...
Click to collapse
So having an aosp based rom as a daily driver is out of the question?
ermacwins said:
So having an aosp based rom as a daily driver is out of the question?
Click to expand...
Click to collapse
isn't the Broken OS ROM by TS Team AOSP based ?
Of interest:
[News] Mi 3/4/Note Kernel Source Code Released! Next to Be, Mi Note PRO, Mi 4c/S:
http://en.miui.com/thread-235127-1-1.html
Don't sceptical, I reconstruct Redmi 2 kernel source without any help from Xiaomi. They released Redmi 2 kernel source for KitKat when my device already run "fully open source" and almost bug free Marshmallow :laugh:

[DO IT] Mass Tweet for KERNEL SOURCES.

Guys We have to push xiaomi to release source code.Lets all Mass Tweet and retweet in xiaomi USA and India to tell users what this so called "user centric" company is missing.It will surely hit their brand image in USA and new countries which they care about more.
I will be sharing my Tweet link which u can retweet on and don't forget to like it so that It spread more.
You can follow me if u wish to stay updated regarding our Tweet campaign.
You can also share your tweets link for the same purpose
My Tweet links
1. https://twitter.com/NikhilG43348710/status/931252654822408192
2. https://twitter.com/NikhilG43348710/status/931255960013852672
3.
https://twitter.com/NikhilG43348710/status/931258807191191552
4. https://twitter.com/NikhilG43348710/status/931645298996158466
5. https://twitter.com/XiaomiIndia/status/932526470743801856
6.
https://twitter.com/XiaomiIndia/status/932956772695818242
7. https://twitter.com/NikhilG43348710/status/933344729663602694
8. https://twitter.com/NikhilG43348710/status/933708131082702848
Reserved
According to Jai Mani (Lead Product Manager of Xiaomi India)
"When asked about the status of kernel sources for its devices (with a specific mention of the Mi A1 from our end), Mr. Mani commented that Xiaomi’s focus is on providing quality kernel sources and not just uploaded for the sake of it (we assume he meant complying with the GPL…), like several OEMs in the lower budget market tend to do (if they release sources at all). The internal goal of the company is to release kernel sources within three months. Mr. Mani also commented that unlocking the bootloader of Xiaomi devices does not void warranty."
Sauce: https://www.xda-developers.com/xiaomi-mi-mix-2-indian-launch-review/
Welp, done.
I feel cheated tbh, does it really take this long for Xiaomi to release source for all devices?
Sent from my Mi A1 using Tapatalk
Done! I'm yet to buy this device and I'm waiting for the source code so that we can have some custom action.
Related stuff, OP5T launched yesterday and the company released its source code within 24 hours. That's some generous stuff.
hemantv said:
Done! I'm yet to buy this device and I'm waiting for the source code so that we can have some custom action.
Related stuff, OP5T launched yesterday and the company released its source code within 24 hours. That's some generous stuff.
Click to expand...
Click to collapse
Exactly, Xiaomi should learn how things must be done.Honestly I just think they are up to something else and provide false arguments just to misguide users.I mean don't they maintain a proper Kernel tree while developing for their device.
Why did google allow an exception to Xiaomi to handle the software update themselves? If it was done by google, things would have been different. How can this be an android one device? Just because it comes with aosp rom?
Adromedemon said:
According to Jai Mani (Lead Product Manager of Xiaomi India)
" ...Xiaomi’s focus is on providing quality kernel sources and not just uploaded for the sake of it..."
Click to expand...
Click to collapse
Wha... ... what does it should mean? They have to release the source used to compile the kernel running on the phone...
You don't compile a kernel, release the binary THEN do a complete quality check of the sources... come on mr. Mani, stop foolin around...
Here's another one.I request all mi a1 users to join this campaign.It will benefit us only.
https://twitter.com/NikhilG43348710/status/931645298996158466
An article at XDA about our issue.
https://www.xda-developers.com/xiaomi-not-released-kernel-sources-mi-a1/amp/
rebound821 said:
Wha... ... what does it should mean? They have to release the source used to compile the kernel running on the phone...
You don't compile a kernel, release the binary THEN do a complete quality check of the sources... come on mr. Mani, stop foolin around...
Click to expand...
Click to collapse
You saved me some writings by putting those exact words.
ddaggebi said:
An article at XDA about our issue.
https://www.xda-developers.com/xiaomi-not-released-kernel-sources-mi-a1/amp/
Click to expand...
Click to collapse
Yeah I tweeted about this.
Another one guys. Please show your support to have sources asap.
https://twitter.com/XiaomiIndia/status/932526470743801856
Tweeted! Done!
Let's hope xiaomi releases kernel sources soon..real soon!
https://twitter.com/XiaomiIndia/status/932956772695818242
Sorry for bad English.tweeted it in a hurry.
Doing it for many days !!! @drkhalidomer
Sent from my Xiaomi Mi A1 using XDA Labs
https://twitter.com/NikhilG43348710/status/933344729663602694
Another one guys.
https://twitter.com/NikhilG43348710/status/933708131082702848
https://www.quora.com/unanswered/Ki...el-to-device-launch?share=df82d3f7&srid=57Ki7
Here's a quora question link.Lets see what they answer

Kernel source availability for The Nokia 3 and other models ?

When is Nokia going to release the kernel source for the Nokia 3 ?
It would be of much help if Nokia will give out the sources for aftermarket development.
If u by any means get hands on it, please kindly share.
iykeDROID™ said:
Why is Nokia going to release the kernel source for the Nokia 3 ?
It would be of much help if Nokia will give out the sources for aftermarket development.
If u by any means get hands on it, please kindly share.
Click to expand...
Click to collapse
Nokia mostly don't give a **** about customers, so no kernel source
SkaboXD said:
Nokia mostly don't give a **** about customers, so no kernel source
Click to expand...
Click to collapse
Yeah I know but it would be good enough to ask them.
I was previously on a Motorola device(Moto E4-woods) the mtk variant, which we had to ask for kernel source before the released it.
Am currently trying to work on custom Roms for Nokia 3, but going with stock kernel isn't enough.
iykeDROID™ said:
Yeah I know but it would be good enough to ask them.
I was previously on a Motorola device(Moto E4-woods) the mtk variant, which we had to ask for kernel source before the released it.
Am currently trying to work on custom Roms for Nokia 3, but going with stock kernel isn't enough.
Click to expand...
Click to collapse
we can still port roms without kernel source, but we need to find rom with same cpu, gpu and same kernel version.
iykeDROID™ said:
Yeah I know but it would be good enough to ask them.
I was previously on a Motorola device(Moto E4-woods) the mtk variant, which we had to ask for kernel source before the released it.
Am currently trying to work on custom Roms for Nokia 3, but going with stock kernel isn't enough.
Click to expand...
Click to collapse
LMAO
Ok, i waited a bit and Support responded, here is a full chat
Okay, let's wait and see how it goes

Will there be a Custom Rom?

Does anyone know about this topic?
https://forum.xda-developers.com/mi-note-10/how-to/custom-development-t4018813
In short:there are same some efforts trying to get custom Roms but nothing groundbreaking yet.
I am working on the device tree right now to compile from source. Not ready yet and don't have the device in hand right now (should arrive soon) s.o. else is trying with treble images.
nchantmnt said:
https://forum.xda-developers.com/mi-note-10/how-to/custom-development-t4018813
In short:there are same some efforts trying to get custom Roms but nothing groundbreaking yet.
I am working on the device tree right now to compile from source. Not ready yet and don't have the device in hand right now (should arrive soon) s.o. else is trying with treble images.
Click to expand...
Click to collapse
I thought device tree is something that was used to be leaked from Xiaomi
As far as I can see there is no device tree published by xiaomi for tucana (our device)
Only thing we have rn is kernel source.
But we can create device tree by ourself. There are some basic guides online. Rest is compare with existing device trees for similar devices and copy&paste.
for now I have downloaded k20 device tree, removed everything k20-specific (e. G. Popup Camera) and adapt further files for our device(s)
When my handset arrives (should be today) I can start unlock procedure (should take some time to get the code AFAIK), then I can unlock bootloader, flash custom recovery and see if I can get my device to boot properly after flashing... Then comes troubleshooting.
Right now I am expecting maybe a halfway booting device or broken/missing functionality at best. But we will see
I hope soon
The more people help together the faster we can get some Roms ?
nchantmnt said:
The more people help together the faster we can get some Roms ?
Click to expand...
Click to collapse
If you have a group for this, would you pm?
No group yet, but you still get an pm
Anyone willing to collaborate is welcome to pm me as well
I have seen this Android 9 source code. Is it helpful?
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/tucana-p-oss
I thought this model would have more support and after 4 months there is no Rom. I hope that now that the price is going down more people buy it and we have more community. Thank you for what you know and develop.
ignalop1983 said:
I have seen this Android 9 source code. Is it helpful?
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/tucana-p-oss
I thought this model would have more support and after 4 months there is no Rom. I hope that now that the price is going down more people buy it and we have more community. Thank you for what you know and develop.
Click to expand...
Click to collapse
Just an incomplete kernel sources, I think is useless.
https://www.xda-developers.com/poss...-fcc-certified-snapdragon-730g-penta-cameras/
There will be a lite edition soon. The only difference on hardware is number of pixels.
If its ROM is same or almost the same to current models, we should get some progress around development.
Anything new?
UtkuAblak said:
Does anyone know about this topic?
Click to expand...
Click to collapse
Please look at the existing topics first, before opening another topic!
nchantmnt said:
As far as I can see there is no device tree published by xiaomi for tucana (our device)
Only thing we have rn is kernel source.
But we can create device tree by ourself. There are some basic guides online. Rest is compare with existing device trees for similar devices and copy&paste.
for now I have downloaded k20 device tree, removed everything k20-specific (e. G. Popup Camera) and adapt further files for our device(s)
When my handset arrives (should be today) I can start unlock procedure (should take some time to get the code AFAIK), then I can unlock bootloader, flash custom recovery and see if I can get my device to boot properly after flashing... Then comes troubleshooting.
Right now I am expecting maybe a halfway booting device or broken/missing functionality at best. But we will see
Click to expand...
Click to collapse
Well, just tell me if you need help.
Same here, I am very tempted by the Note 10 but I am waiting for an aosp rom as many people complained about the stock miui rom
Any news or update on this? Would love to buy a Mi Note 10 as their prices have gone down but with the lack of development I'm kind of leaning towards the 9t even tho I'm worried about that front camera as some have had issues. I suspect not many are developing for this device because of the high price. Hopefully whoever said something up there about the Note 10 lite gets custom ROMs going with more devs
I'm still trying here but very short on time. We have some good progress on device tree thanks to someone else (thanks Hlcpereira).
nchantmnt said:
I'm still trying here but very short on time. We have some good progress on device tree thanks to someone else (thanks Hlcpereira).
Click to expand...
Click to collapse
yes he is working on this device.
nchantmnt said:
I'm still trying here but very short on time. We have some good progress on device tree thanks to someone else (thanks Hlcpereira).
Click to expand...
Click to collapse
Awesome news! Thanks :good:
I think the development goes now straight because we have MIUI Stable based on Android 10 now.
Good luck!

Categories

Resources