Nokia 3 Kernel Source Now Availble - Nokia 3 Guides, News, & Discussion

Kernel Sources for the Nokia 3 has been release. :fingers-crossed:
https://www.gsmarena.com/nokia_3_kernel_source_code_released-news-31109.php
Download Here:
https://www.nokia.com/en_int/phones/opensource

Oh yes I'm so happy now
Downloading...

WHAT A SURPRISE TRULY!!
Thanks Nokia aka HMD Global aka FIH way to go guys

Now we need to upload it on GitHub.

SkaboXD said:
Now we need to upload it on GitHub.
Click to expand...
Click to collapse
Already done.
Just trying to put together the Oreo device and vendor tree's before i push them to github too.
https://github.com/bigrammy/android_kernel_nokia_ne1

bigrammy said:
Already done.
Just trying to put together the Oreo device and vendor tree's before i push them to github too.
https://github.com/bigrammy/android_kernel_nokia_ne1
Click to expand...
Click to collapse
nice, it will be the best to upload 7.1.1 and eventually 7.0 kernel source too.
I'd love to do it but i never uploaded on github.
So I just need to upload, no modifing or changing settings?

SkaboXD said:
nice, it will be the best to upload 7.1.1 and eventually 7.0 kernel source too.
I'd love to do it but i never uploaded on github.
So I just need to upload, no modifing or changing settings?
Click to expand...
Click to collapse
I could push them later but don't really see much point as most people will want to go forward rather than backwards 8.0 > 8.1 > 9.0 etc etc
Even with the Kernel source It will still require a lot of work to get a fully working device and will likely require some assistance from one of the more experienced MediaTek Dev's who are used to working with source code

I agree, but some people don't like Oreo and want to use Nougat. We can make another thread asking people for help.

please compile an overclocked kernel ...

Riadh300 said:
please compile an overclocked kernel ...
Click to expand...
Click to collapse
we can overclock it from 1250mhz to 1300mhz, just a little difference. GPU can't be overclocked though.

@varun.chitre15 maybe your interested on this device?

Compiler Errors
Did anyone manage to successfully manage to compile the kernel using the Oreo Kernel source??
I keep getting compile errors but not sure if it's my set up (Arch Linux) or if the source is broken

did anyone have a working kernel ?

Riadh300 said:
did anyone have a working kernel ?
Click to expand...
Click to collapse
I think the Oreo Kernel source is broken/missing bits which is kind of annoying when you spend hours fixing one thing then something else further down the build fails to compile and it quits. :crying:
It could be me just not knowing what I am doing :silly: as I am new to actually compiling kernels so still lots to learn for me but I would like to know if ANYONE has had a successful build or not especially someone who is experienced.?? :fingers-crossed:

Which version of kernel that you have ?

SkaboXD said:
nice, it will be the best to upload 7.1.1 and eventually 7.0 kernel source too.
I'd love to do it but i never uploaded on github.
So I just need to upload, no modifing or changing settings?
Click to expand...
Click to collapse
Hey Here! Is the Nougat Kernel Source
https://github.com/ChalapathiRevanth/kernel_nokia_NE1
This Compiles Out Succesfully!Both Nougat and Oreo Kernel Compiled For Me Succesfully
---------- Post added at 07:22 AM ---------- Previous post was at 07:22 AM ----------
[/COLOR]
bigrammy said:
Did anyone manage to successfully manage to compile the kernel using the Oreo Kernel source??
I keep getting compile errors but not sure if it's my set up (Arch Linux) or if the source is broken
Click to expand...
Click to collapse
Hey Here! Is the Nougat Kernel Source
https://github.com/ChalapathiRevanth/kernel_nokia_NE1
This Compiles Out Succesfully!Both Nougat and Oreo Kernel Compiled For Me Succesfully

Now we need to build device tree, I never did that so i will look for guides on xda, youtube etc.

Is anybody compile the kernel ?

Checked that the Nokia 3 V5.180 Kernel Source can be complied successfully,
But Nokia 3 V5.220 kernel source is failed with file missing...

natsupeng said:
Checked that the Nokia 3 V5.180 Kernel Source can be complied successfully
Click to expand...
Click to collapse
How did you compile it? which toolchain and config files you used? I always get compile time errors, tried different toolchains and config files.

Related

Error in repacking boot.img... (Kernel Compilation)

i have successfully compiled kernel and generated dt.img now after this i downloaded latest twrp.img (version 3.0..) and unpacked it and replaced my kernel and dt.img also edited img_info file. But in repacking it is giving error.....
I have posted pic of errors....
Thank you.....
Use anykernel2 for the easiest flashable kernel....
If you don't want to compile the kernel with cm source..
faizauthar12 said:
Use anykernel2 for the easiest flashable kernel....
If you don't want to compile the kernel with cm source..
Click to expand...
Click to collapse
okay will try... but what causing the error btw?
i have set all parameters right
as this is my first kernel i dont want to directly flash it on device instead i want to just boot it by
"fastboot boot boot.img" to test kernel...
Thank you..
[email protected] said:
okay will try... but what causing the error btw?
i have set all parameters right
as this is my first kernel i dont want to directly flash it on device instead i want to just boot it by
"fastboot boot boot.img" to test kernel...
Thank you..
Click to expand...
Click to collapse
Tbh i never pack it like that
I am using cm source for compiling a kernel
Also you set the boot size is too small...
Anyway what's the different between fastboot and flash via recovery
The result is same .-.
faizauthar12 said:
Tbh i never pack it like that
I am using cm source for compiling a kernel
Also you set the boot size is too small...
Anyway what's the different between fastboot and flash via recovery
The result is same .-.
Click to expand...
Click to collapse
i solved it....
problem was missing some 32 bit lib files as i am on 64 bit pc.
kernel booting and flashed properly and just black screen i want log of the errors how can i get that?
i have not changed configuratio file.
[email protected] said:
i solved it....
problem was missing some 32 bit lib files as i am on 64 bit pc.
kernel booting and flashed properly and just black screen i want log of the errors how can i get that?
Click to expand...
Click to collapse
Which kernel source you're using
Which rom ? Miui or aosp?
faizauthar12 said:
Which kernel source you're using
Which rom ? Miui or aosp?
Click to expand...
Click to collapse
miui8 and mi official sources
as i know you have provided one zip file along with sensie kernel for to make it work with miui...
whats with that zip file?
[email protected] said:
miui8 and mi official sources
Click to expand...
Click to collapse
-_-
Ofc you can't
Official kernel source is out a dated and only support miui 6...
Believe me ,if you want to do something with kernel
Start with the proper and already test well
Use aosp rom...
faizauthar12 said:
-_-
Ofc you can't
Official kernel source is out a dated and only support miui 6...
Click to expand...
Click to collapse
okay...
so which source to use?
[email protected] said:
okay...
so which source to use?
Click to expand...
Click to collapse
Ferrari dev team
And it's only works for aosp...
Github.cim/ferrari-dev-team
[email protected] said:
okay...
so which source to use?
Click to expand...
Click to collapse
okay... Thanks got it

Is there a Android 8.0 Oreo ROM yet for the Tab 2?

Is there a Android 8.0 Oreo ROM yet for the Tab 2?
secretwolf98 said:
Is there a Android 8.0 Oreo ROM yet for the Tab 2?
Click to expand...
Click to collapse
not yet. maybe never.
smart-t78 said:
not yet. maybe never.
Click to expand...
Click to collapse
RIP. Is there a reason why?
secretwolf98 said:
RIP. Is there a reason why?
Click to expand...
Click to collapse
Because people keep asking for it
Android-Andi said:
Because people keep asking for it
Click to expand...
Click to collapse
Oh ok. I thought maybe the device structure just can't handle it with it kind of RAM.
secretwolf98 said:
Oh ok. I thought maybe the device structure just can't handle it with it kind of RAM.
Click to expand...
Click to collapse
OEMs would say that, yes.
Android-Andi said:
OEMs would say that, yes.
Click to expand...
Click to collapse
ahh ok
there is actually an oreo rom for our device here is the link
github(dot)com/Unlegacy-Android/android_device_samsung_espresso3g
github(dot)com/Unlegacy-Android/android_device_samsung_espresso
but it was not compiled and surely there is a lot of bugs
thanks to unlegacy android for making this
my internet was slow so i could not verify if this would work on our device (yet!)
ps. could not post url links yet srry
@ezrexl you are really funny, it's device source not a rom.
There's nothing changed for oreo on the source, we automatically created 8.0 branches for all our repos independent of Oreo support for the devices.
Android-Andi said:
@ezrexl you are really funny, it's device source not a rom.
There's nothing changed for oreo on the source, we automatically created 8.0 branches for all our repos independent of Oreo support for the devices.
Click to expand...
Click to collapse
So you are saying, if someone tries to compile it... It won't be real Oreo or what?
Android-Andi said:
@ezrexl you are really funny, it's device source not a rom.
There's nothing changed for oreo on the source, we automatically created 8.0 branches for all our repos independent of Oreo support for the devices.
Click to expand...
Click to collapse
Im sorry, I assumed it was a source ready to be compiled as a rom because Im really new to learning with these things, but I hope someone would make an oreo rom for galaxy tab 2 considering the fact that nougat was being patched right now.
secretwolf98 said:
So you are saying, if someone tries to compile it... It won't be real Oreo or what?
Click to expand...
Click to collapse
It can't compile, it has nothing changed to work on O and you will need a lot to change (and don't forget a massive kernel update you'll also need).
Have fun working on it, I am not and I won't in future
Android-Andi said:
It can't compile, it has nothing changed to work on O and you will need a lot to change (and don't forget a massive kernel update you'll also need).
Have fun working on it, I am not and I won't in future
Click to expand...
Click to collapse
I don't work on trees anymore. I got frustrated to try to change my GitHub LineageOS 15 for SM-T230NU degaswifi. From it saying HTML to Makefile. So I gave up.
I still love marshmallow rom it's enough for our tab 2 (stable rom ever)
anybody??
No oreo?
Thread closed at OP request.

Kernel Source available for Mi A1

Hi all,
Xiaomi has finally released kernel sources for Mi A1 (tissot). You can find it on following official github page:
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/tissot-n-oss
thanks
So half a year later they release nougat source code
I dont know why it is no surprise coming from xiaomi
I was just about to make a thread lol sadly nougat sources not oreo hmm.
Still good thou roms/kernels will start devolpment
t0per666 said:
I was just about to make a thread lol sadly nougat sources not oreo hmm.
Still good thou roms/kernels will start devolpment
Click to expand...
Click to collapse
What's the point?
Now a good number of people are on Oreo and its pretty darn good. IMO, a custom kernel and Magisk should be enough for most people.
---------- Post added at 05:18 PM ---------- Previous post was at 05:16 PM ----------
t0per666 said:
I was just about to make a thread lol sadly nougat sources not oreo hmm.
Still good thou roms/kernels will start devolpment
Click to expand...
Click to collapse
Where'd you read that BTW? I mean, which document or file?
KalolParty said:
What's the point?
Now a good number of people are on Oreo and its pretty darn good. IMO, a custom kernel and Magisk should be enough for most people.
---------- Post added at 05:18 PM ---------- Previous post was at 05:16 PM ----------
Where'd you read that BTW? I mean, which document or file?
Click to expand...
Click to collapse
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/tissot-n-oss?files=1
Yep it's nougat sources, but still better than nothing.
t0per666 said:
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/tissot-n-oss?files=1
Click to expand...
Click to collapse
Yeah, I got you're on the tissot branch but which line in which file? I tried searching for Nougat or api25. Nothing turned up
Waiting for Los?????
Finally! :laugh:
KalolParty said:
Yeah, I got you're on the tissot branch but which line in which file? I tried searching for Nougat or api25. Nothing turned up
Click to expand...
Click to collapse
Look at the name of the branch. Its 'tissot-n-oss'. In that name, n stands for nougat. Xiaomi names their branches this way.
Gaurav Rathod said:
Look at the name of the branch. Its 'tissot-n-oss'. In that name, n stands for nougat. Xiaomi names their branches this way.
Click to expand...
Click to collapse
Got it! Cheers!
Any developer here who build miui rom (nougat based) for mi a1 by using this source code..
A$h!$h said:
Any developer here who build miui rom (nougat based) for mi a1 by using this source code..
Click to expand...
Click to collapse
lol it's been out for like 2 hours.. give it time, someone will come along and build miui, though i don't see why you would want it on this phone but im sure someone will build it.
t0per666 said:
I was just about to make a thread lol sadly nougat sources not oreo hmm.
Still good thou roms/kernels will start devolpment
Click to expand...
Click to collapse
Does it really matter?
I believe kernel sources are released once only and there are so many devices that get ROMs and Kernels made for them - years after their official development has stopped. For eg. - If sources are released for Lollipop (and not for Nougat), LOS is also there for Nougat.
Could you please clarify and how much time will it take for an Oreo kernel (tentatively in your opinion, obviously)?
@sooti could you pitch in?
we should be thankful that we got the second latest kernel source code. this is enough for the great developer gang to get the custom kernel and rom working for MIA1.
KalolParty said:
Does it really matter?
I believe kernel sources are released once only and there are so many devices that get ROMs and Kernels made for them - years after their official development has stopped. For eg. - If sources are released for Lollipop (and not for Nougat), LOS is also there for Nougat.
Could you please clarify and how much time will it take for an Oreo kernel (tentatively in your opinion, obviously)?
@sooti could you pitch in?
Click to expand...
Click to collapse
Generally speaking any new android version simply requires a few commits to support the latest features especially security, they are usually common across all devices with some devices needing some extra patches to bring it up to oreo (usually selinux related) but for the most part its not complicated, The complex part is setting up the device tree and vendor IMO, for custom roms that is. but i'm not a huge kernel dev so i don't know.
sooti said:
Generally speaking any new android version simply requires a few commits to support the latest features especially security, they are usually common across all devices with some devices needing some extra patches to bring it up to oreo (usually selinux related) but for the most part its not complicated, The complex part is setting up the device tree and vendor IMO, for custom roms that is. but i'm not a huge kernel dev so i don't know.
Click to expand...
Click to collapse
Thanks for clearing that up. Considering many devs have switched to from other devices running Oreo, I don't think it'll be an issue then.
I'm sure development for LOS will be up soon
Now can we get fast charging via custom rom?
goreprasad said:
Now can we get fast charging via custom rom?
Click to expand...
Click to collapse
Yes, we have it already.

[ROM Build Help] Nitrogen OS for Walleye

Hello All,
I am trying to build Nitrogen OS for Pixel 2 (aka Walleye).
I cloned Nitrogen OS and then forked device, vendor, and kernel trees from AICP as they already have working builds for walleye.
On compiling , I am getting an error.
Code:
external/tinycompress/Android.mk: error: cplay (native:platform) should not link to libtinycompress_vendor (native:vendor)
pastebin :- https://pastebin.com/zEUE9wua
any help in fixing the error would be appreciated.
Fix :- Apply this patch - https://github.com/halogenOS/androi...mmit/8a56c183d5887e3c9e2cab45349ddf5e7285b49f
Source for device, kernel and vendor
https://github.com/munchycool?tab=repositories
All repos except "fortheluluz" are needed for walleye.
Nitrogen OS Source :-
https://github.com/nitrogen-project
Do note, you will have to delete below folder once you sync nitrogen os, else compile will throw an error.
Code:
hardware/qcom/msm8998/gpt-utils
Thanks.
reserved
reserved 002
reserved 003
Have you been on the telegram chat for Pixel 2 that had Nitrogen builds for other devices? Might find hello there.
razrlover said:
Have you been on the telegram chat for Pixel 2 that had Nitrogen builds for other devices? Might find hello there.
Click to expand...
Click to collapse
yes sir, on that group and got the answer. updated OP.
munchy_cool said:
yes sir, on that group and got the answer. updated OP.
Click to expand...
Click to collapse
Share your build sir?
razrlover said:
Share your build sir?
Click to expand...
Click to collapse
dont have one right now.
got another error
munchy_cool said:
dont have one right now.
got another error
Click to expand...
Click to collapse
Ok cool. Hopefully it will get sorted
munchy_cool said:
Source for device, kernel and vendor
https://github.com/munchycool?tab=repositories
All repos except "fortheluluz" are needed for walleye.
Click to expand...
Click to collapse
Could I use these to attempt building other ROMs? For instance I'm interested in making my own personal DU build.
TCUofficial said:
Could I use these to attempt building other ROMs? For instance I'm interested in making my own personal DU build.
Click to expand...
Click to collapse
havent got a bootable build yet with those repos. you are free to use them, but i would rather not at this time as they are not working for me.

Errors when trying to build for S6 (Exynos)

I wanted to build RiceDroid 5.0 using @fakemanoan 's sources but I get some errors that I can't really solve. I looked at commit history of lineage/hardware/exynos repo and noticed that there are commits related to compilation errors. Here is the error.log:
https://temp.sh/aNizH/error.log
I somebody knows what to do I would be grateful!
Hi,
You need a couple of patches before you can build it properly.
You need to allow warnings from "hardware/" to build. https://github.com/LineageOS/android_build_soong/commit/17379d26179022b7bc8a55cda0318b125836a065
Also, you need to have a passthrough composer (or change it to hwbinder) otherwise you will fail to boot
hidl: Add Passthrough Composer 2.1 · html6405/[email protected]
It was removed in Android R but needed in Android S for Exynos 4.
github.com
You might also need this: https://github.com/html6405/android...mmit/f816b37d845e99ad8333422a76ee791bb5493318
I will fix the repos at a later date. GL!
I updated the repos, so as long as you sync with the new repos and apply all of the patches from 7420_patches, it will boot. Tested on lineage 19.
fakemanoan said:
I updated the repos, so as long as you sync with the new repos and apply all of the patches from 7420_patches, it will boot. Tested on lineage 19.
Click to expand...
Click to collapse
Alright. Thanks for quick reply !
The rom is now building. Thanks for new patches. Btw that framework base patch is not applying with git apply. I had to use git apply --reject. Same story for vendor patch but that can be applied manually.
Nem1x said:
The rom is now building. Thanks for new patches. Btw that framework base patch is not applying with git apply. I had to use git apply --reject. Same story for vendor patch but that can be applied manually.
Click to expand...
Click to collapse
It is likely that ricedroid has the fingerprint patches pre-applied, as other ROMs, such as crdroid, also apply this patch.
The vendor_lineage patch is for adb. Not strictly necessary, but useful if you need to debug.
fakemanoan said:
It is likely that ricedroid has the fingerprint patches pre-applied, as other ROMs, such as crdroid, also apply this patch.
The vendor_lineage patch is for adb. Not strictly necessary, but useful if you need to debug.
Click to expand...
Click to collapse
Thanks for the help. I'm new to this chip set. I don't even own the S6 actually.
Nem1x said:
Thanks for the help. I'm new to this chip set. I don't even own the S6 actually.
Click to expand...
Click to collapse
Damn lol. Welcome to the Squad
Finished building and booted. However audio (only dial tones are working), and microphone aren't working. Still waiting for @Concept48 to test other stuff and send me logs. I noticed that there are a lot of commits regarding audio in /hardware/Samsung.
Nem1x said:
Finished building and booted. However audio (only dial tones are working), and microphone aren't working. Still waiting for @Concept48 to test other stuff and send me logs. I noticed that there are a lot of commits regarding audio in /hardware/Samsung.
Click to expand...
Click to collapse
Approved!
Oooooooo.... Congrats!
ArmashOnXDA said:
Oooooooo.... Congrats!
Click to expand...
Click to collapse
Thanks! Any idea why mic and audio aren't working ?
Nem1x said:
Thanks! Any idea why mic and audio aren't working ?
Click to expand...
Click to collapse
Could you send me the logs? or even better the compiled rom itself. I have the S6 edge (zeroltexx) tho
ArmashOnXDA said:
Could you send me the logs? or even better the compiled rom itself. I have the S6 edge (zeroltexx) tho
Click to expand...
Click to collapse
I didn't compile for S6 edge yet, but I compile it now, and send it when it's done. I don't own S6 nor S6 edge. Building for them out of boredom.
Nem1x said:
I didn't compile for S6 edge yet, but I compile it now, and send it when it's done. I don't own S6 nor S6 edge. Building for them out of boredom.
Click to expand...
Click to collapse
Out of learn-some here
Nem1x said:
I didn't compile for S6 edge yet, but I compile it now, and send it when it's done. I don't own S6 nor S6 edge. Building for them out of boredom.
Click to expand...
Click to collapse
That's alright but the fact that you were able to boot is a big thing in itself. uk i have been trying to build evx 6.7 for the past week or so but it fails to boot fsr. Probably cause of the passthrough impl or something stupid that i have done
Concept48 said:
Out of learn-some here
Click to expand...
Click to collapse
Are you gonna release a video showcasing the ROM as well?
ArmashOnXDA said:
Are you gonna release a video showcasing the ROM as well?
Click to expand...
Click to collapse
I,m your promotor so of course
ArmashOnXDA said:
That's alright but the fact that you were able to boot is a big thing in itself. uk i have been trying to build evx 6.7 for the past week or so but it fails to boot fsr. Probably cause of the passthrough impl or something stupid that i have done
Click to expand...
Click to collapse
Check updated patches on fakeman's GitHub. I could even start building, without new patches added yesterday. Btw since I am building for Mi439 (Redmi 7A/8/8A), chances of booting ROM there are 99%.
Nem1x said:
Check updated patches on fakeman's GitHub. I could even start building, without new patches added yesterday. Btw since I am building for Mi439 (Redmi 7A/8/8A), chances of booting ROM there are 99%.
Click to expand...
Click to collapse
Lmfaooo... His name isn't fakeman. Jokes aside, I had tried attempting to build the ROM again using the updated patches fakemanoan had provided yesterday but I had a Power Cut while it was compiling so...umm.... yeah....

Categories

Resources