Samsung has a kernel source code portal - Samsung Galaxy M31 Guides, News, & Discussion

Samsung has an entire portal for letting users to download the kernel code: https://opensource.samsung.com/
I would like to see LineageOS & others start supporting more Samsung devices, and hope the ROM devs see my post.
M31 code:
https://opensource.samsung.com/uploadSearch?searchValue=sm-m315
#m21 #m31 #m31s

Related

[REF] Kernel source code repository for T-Mobile Galaxy S III (T999V)

Hi everyone.
As you all know, Samsung distributes source code as tarballs which isn't the best way to redistribute kernel source code
git is the best modern way to work with Linux Kernel sources, designed by Linus himself in this purpose.
So, cdesai made an organization on Github for that. It contains the kernel source for all the variants that have posted source so far.
https://github.com/sgs3
And yea, that means source code has been released, head on to http://opensource.samsung.com/
Kernel Sources :
https://github.com/sgs3/SGH-T999V_Kernel
Branches :
master :- branch you should use(for developers), will contain fixes and more in the future
If anyone wants to commit any fixes / anything else, let me know, and we can add you to the organization
How to Build :
Get the source:
Code:
git clone git://github.com/sgs3/SGH-T999V_Kernel.git
cd SGH-T999V_Kernel
git checkout master
Tell it to use our config:
Code:
make ARCH=arm CROSS_COMPILE=/path/to/toolchain m2_att_defconfig
Build:
Code:
make CROSS_COMPILE=/path/to/toolchain
or
Code:
make -j `cat /proc/cpuinfo | grep "^processor" | wc -l` CROSS_COMPILE=/path/to/toolchain
The compiled kernel is arch/arm/boot/zImage
(Also note: Im posting the source in a much easier to get way, but I dont have T-Mobile, so I wont be doing builds for you guys)
Very handy, thanks.
=Tortel1210;27699030]Kernel Sources :
https://github.com/sgs3/SGH-T999V_Kernel
Click to expand...
Click to collapse
The T999V is not the correct model for T-Mobile.
The correct source is for the T999 (no V). I believe the V is for WIND Mobile in Canada.
You can find the opensource for the T999 here:
http://opensource.samsung.com/reception/receptionSub.do?method=search&searchValue=SGH-T999
Not complaining about the original post, just want to make sure everyone is using the correct files and on the same page development-wise.
The V is for Windmobile.
The baseband/(kernel ?) is not compatible. (found out after flashing a t mobile custom rom and the phone now has a unrecognised baseband.
Pig Vomit said:
The T999V is not the correct model for T-Mobile.
The correct source is for the T999 (no V). I believe the V is for WIND Mobile in Canada.
You can find the opensource for the T999 here:
http://opensource.samsung.com/reception/receptionSub.do?method=search&searchValue=SGH-T999
Not complaining about the original post, just want to make sure everyone is using the correct files and on the same page development-wise.
Click to expand...
Click to collapse
I own a SGH-T999V and my carrier is Videotron.

SlimRom 6.0 for Galaxy S6 - V2 - 12/21/2015

SlimRoms is a custom android operating system. The main goal is to offer users a slimmed down but still feature rich alternative to other android operating systems.
The entire SlimTeam work together to bring you this tailor-made beauty straight from Android Open Source Project (AOSP) source code.
All of the sources can be publicly viewed through GitHub and you can stop by the public Gerrit to submit patches of any type.
Important links:
slimroms.org - The official webpage where you find everything you need to know about SlimRoms.
Downloads - Download the rom for S6 from here
Kernel Source - The source of your device's kernel.
Get in touch! - Contact SlimRoms at these places if you have questions, requests or feedback.
Google+
Twitter
Facebook
Thanks!
The entire team who helped with the device tree to make this device get CM. Hats off guys. Really appreciate your hard work.
For dual boot, kindly follow this link.
If you have any other queries, kindly see this link for any issues other users face before posting here.
Working and Not working:
Everything as in CM
/* Supported devices */
Galaxy S6 International (SM-G920F/I, zerofltexx)
Galaxy S6 SK (SM-G920S, zeroflteskt)
Galaxy S6 KT (SM-G920K, zerofltektt)
Disclaimer: SlimRoms are not responsible for any damages to your device.
XDA:DevDB Information
SlimRom 6.0 for Galaxy S6 , ROM for the Samsung Galaxy S6
Contributors
a2441918
ROM OS Version: 6.0.x Marshmallow
Version Information
Status: Testing
Current Beta Version: 0.2
Beta Release Date: 2015-12-21
Created 2015-12-16
Last Updated 2015-12-23
No offense but you're the 3rd one to release a rom that has the exact same source as the original CM13 thread, and all others have been shutted down. You should invest your time helping the main branch fixing their stuff instead of dividing everybody. Releasing a ROM that is exactly the same with a different name is a total lack of respect to those who really worked hard to make this happen, plus your sources are not even public :/
virulentt said:
No offense but you're the 3rd one to release a rom that has the exact same source as the original CM13 thread, and all others have been shutted down. You should invest your time helping the main branch fixing their stuff instead of dividing everybody. Releasing a ROM that is exactly the same with a different name is a total lack of respect to those who really worked hard to make this happen, plus your sources are not even public :/
Click to expand...
Click to collapse
I have no sources. I have published the link to the kernel source. Every Rom is based off CM tree and it is not the same. Its SLIM.
a2441918 said:
I have no sources. I have published the link to the kernel source. Every Rom is based off CM tree and it is not the same. Its SLIM.
Click to expand...
Click to collapse
I'm pretty sure it's an XDA rule to publish the source of every rom/kernel. Otherwise it could contain malware/keylogger or could be fake. I took a look at SLIM's github and i didn't see anything related to the S6.
Dude you dont get it. According to XDA you should publish a source for the kernel and I did. Go ahead with the link I posted and it will direct you to the kernel source. It is not necessary that the kernel should belong to Slim.
I see no official source on your GitHub. Is this just a rebrand of CM 13 for S6?
Nevermind keep it coming
Sent from my SM-G920F using Tapatalk
bio4554 said:
I see no official source on your GitHub. Is this just a rebrand of CM 13 for S6?
Click to expand...
Click to collapse
Dude, I used Slim rom sources and this device kernel and vendor tree and built the rom. There is no need for sources in my github. And Slim and CM are different. I am not just rebranding. I am building this from source.
a2441918 said:
Dude, I used Slim rom sources and this device kernel and vendor tree and built the rom. There is no need for sources in my github. And Slim and CM are different. I am not just rebranding. I am building this from source.
Click to expand...
Click to collapse
It's like steeling the bigmac sauce's receipe to make your own burger restaurant, but saying that you use a different bread.
Omg whats the issue with you guys? I gave credit for the developers, linked to the kernel tree of the actual developer and now what is that you people need?
a2441918 said:
Omg whats the issue with you guys? I gave credit for the developers, linked to the kernel tree of the actual developer and now what is that you people need?
Click to expand...
Click to collapse
http://forum.xda-developers.com/gal...yanogenmod-13-galaxy-s6-t3269984/post64321767
Having a second ROM with same issues doesn't help at all. Why wouldn't you wait for it to be stable instead of releasing another alpha rom?
virulentt said:
http://forum.xda-developers.com/gal...yanogenmod-13-galaxy-s6-t3269984/post64321767
Having a second ROM with same issues doesn't help at all. Why wouldn't you wait for it to be stable instead of releasing another alpha rom?
Click to expand...
Click to collapse
You could have pointed that out in the first post itself rather than us spamming this thread. I will remove the download link and keep this thread closed for now.
virulentt said:
I'm pretty sure it's an XDA rule to publish the source of every rom/kernel. Otherwise it could contain malware/keylogger or could be fake. I took a look at SLIM's github and i didn't see anything related to the S6.
Click to expand...
Click to collapse
The only source required to be posted by GPLv2 and XDA requirements is kernel source. Also Slim and CM both have posted open permissions to build.
New build up. See OP for download link.
Download Link is dead for me.
a2441918 said:
New build up. See OP for download link.
Click to expand...
Click to collapse
ripv2 said:
Download Link is dead for me.
Click to expand...
Click to collapse
Try it out now mate.
Up and reachable Ill give it a shot!
a2441918 said:
Try it out now mate.
Click to expand...
Click to collapse
Any changelog ? and is this usable for edge version ? or it has same screen issue ?
bigbossclk said:
Any changelog ? and is this usable for edge version ? or it has same screen issue ?
Click to expand...
Click to collapse
I guess its usable. But a different build for S6 Edge is in the works.
Doesnt Boot on my 920f latest recovery clean install with and without gapps. Never finnishing Boot animation.

[ROM] LINEAGE-15.x [UNOFFICIAL][woods][O1-12-2017]

Thread Closed Per OP Request
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
LineageOS is a free, community built, aftermarket firmware distribution of Android 8.0 (Oreo), which is designed to increase performance and reliability over stock Android for your device.
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.
NOTE :
THIS WORK IS STILL WIP !!!
MOST STUFFS ARE BROKEN , DO NOT ASK FOR ETA !!!
DOWNLOAD ROM
> Click Me
Lineage Source
https://github.com/LineageOS
Device Source
https://github.com/devOreo
​
Not Working :
Ril
Codecs
Bluetooth
Sensors
Hotspot
Camera, flashlight
Radio
Fingerprint
> others...
Working :
WiFi
Sound
Vibration
Instructions :
Reboot to recovery
Flash the latest build
Reboot
Reporting Bugs :
i know them for now . xD
CREDIT : @darklord4822[4pda] & SRT
Mediatek Android Developers [M.A.D]
@Mysteryagr
Version Information
Status: ALPHA
SCREENSHOTS
Reserved !
Reserved !!
Well, actually big credits deserve to Dark lord.
I hope you had asked for his permission or talked with him?
Because he is the one to make it happen, anyways you haven't linked the source in the OP
Hats off to Dark Lord for this bring up :
https://github.com/darklord4822 without him I don't think it was possible, i don't own the device but just a gratitude to the guy.
https://github.com/darklord4822/android_device_moto_e4
https://github.com/darklord4822/android_kernel_moto_e4
https://github.com/darklord4822/android_vendor_moto_e4
:cyclops:
Before you can boot it, see here :
https://github.com/devOreo/android_device_motorola_woods#note-
Nice
ok
Not that it is a big problem but I have no success with installing the ROM. the recovery indicates that the zip is corrupt. And also the zip looks different from other zip's is there perhaps a different procedure to install this ROM?
Again it is not a big problem since the ROM is still unstable, but it would be nice to try out the ROM.
aadvandersteeg said:
Not that it is a big problem but I have no success with installing the ROM. the recovery indicates that the zip is corrupt. And also the zip looks different from other zip's is there perhaps a different procedure to install this ROM?
Again it is not a big problem since the ROM is still unstable, but it would be nice to try out the ROM.
Click to expand...
Click to collapse
he has two zips in ahf ..i think in one he modified installer script to allow install .. in the telegram group he created we are talking about this rom ..he knows it didn't boot for some but it is a WIP and for working on bugs maybe you can tell us the error in twrp amd join telegram group to try and help test .in the telegram group we are also looking into dual boot patch etc etc in AIM rom he put latest security patches and is a great rom for daily driver .:good:
KevMetal said:
he has two zips in ahf ..i think in one he modified installer script to allow install .. in the telegram group he created we are talking about this rom ..he knows it didn't boot for some but it is a WIP and for working on bugs maybe you can tell us the error in twrp amd join telegram group to try and help test .in the telegram group we are also looking into dual boot patch etc etc in AIM rom he put latest security patches and is a great rom for daily driver .:good:
Click to expand...
Click to collapse
Don't forget to join us on telegram
We have a lot going on and if we chat via one central chat development , bug fixing and general help happens fast .
https://t.me/joinchat/G3XDFEO7AR4fGdyBRfwVOw
http://telegra.ph/woods-development-01-07
Great Rom..
iykeDROID™ said:
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
LineageOS is a free, community built, aftermarket firmware distribution of Android 8.0 (Oreo), which is designed to increase performance and reliability over stock Android for your device.
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.
NOTE :
THIS WORK IS STILL WIP !!!
MOST STUFFS ARE BROKEN , DO NOT ASK FOR ETA !!!
DOWNLOAD ROM
> Click Me
Lineage Source
https://github.com/LineageOS
Device Source
https://github.com/devOreo
​
Not Working :
Ril
Codecs
Bluetooth
Sensors
Hotspot
Camera, flashlight
Radio
Fingerprint
> others...
Working :
WiFi
Sound
Vibration
Instructions :
Reboot to recovery
Flash the latest build
Reboot
Reporting Bugs :
i know them for now . xD
CREDIT : @darklord4822[4pda] & SRT
Mediatek Android Developers [M.A.D]
@Mysteryagr
Version Information
Status: ALPHA
SCREENSHOTS
Click to expand...
Click to collapse
Rom is amazing bro just little bit of bug fixing need to be done...Except it's fabulous
This is big hope! But this actually gonna be a thing or it's abandoned already?
abrahamrhs said:
This is big hope! But this actually gonna be a thing or it's abandoned already?
Click to expand...
Click to collapse
My Moto E4(woods) is dead.
iykeDROID™ said:
My Moto E4(woods) is dead.
Click to expand...
Click to collapse
Should probably as moderator to close/lock thread if development is suspended.
Davey126 said:
Should probably as moderator to close/lock thread if development is suspended.
Click to expand...
Click to collapse
Relax, because we still working under the hood, despite device got broken/dead.
When thread needs to be closed, i will contact the crew responsible for thread/forum moderation.:good:
iykeDROID™ said:
Relax, because we still working under the hood, despite device got broken/dead.
When thread needs to be closed, i will contact the crew responsible for thread/forum moderation.:good:
Click to expand...
Click to collapse
Sorry about that; read too much into your brief post. You are obviously aware of/sensitive to thread hygiene. Good luck with your work.
Davey126 said:
Sorry about that; read too much into your brief post. You are obviously aware of/sensitive to thread hygiene. Good luck with your work.
Click to expand...
Click to collapse
No problem, you can go ahead and do your work as instructed by the XDA Team.
when stuffs are due, a thread/post will be created or made.
Thanks.
Any Progress
Hi @iykeDROID™, are you going to continue with the support of this ROM?
nachoxda79 said:
Hi @iykeDROID™, are you going to continue with the support of this ROM?
Click to expand...
Click to collapse
less time these days.
i can't guarantee a continuous development.
:good:
Link has been broken
The link has been broken everywhere I go it's error 404 please I really need lineage os 15.1

[kernel] [source code] [sm-a805f/ds] [a805fxxu4btc3] [github]

Hi all out there.
I just extracted the kernel source code of Samsung Galaxy A80 (SM-A805F/DS) with ROM Base: A805FXXU4BTC3, and I pushed it on Github.
It took few days to upload it because it almost had a 70,000+ files and roughly 1.3GB+ all files.
I made it as public repository and uses GPL 3.0 LICENSE(which is recommended by samsung open source) to make it easy to fork/modify and clone it.
Kernel Source Code is Under GPL 2.0 LICENSE
Here is the link https://github.com/firemax13/android_kernel_samsung_sm6150-sm7150.
You can contact me through github for collaborations. You can also make any custom kernel using this code.
You can clone this by using this git link https://github.com/firemax13/android_kernel_samsung_sm6150-sm7150.git
Thank you all.
Android 10 Kernel Source Code Uploaded Through GITHUB!
* Source code is both under GPL 3.0 & APACHE 2.0 LICENSE
* ROM BASE: A805FXXU4BTC3
*
firemax13 said:
Reserved.
Click to expand...
Click to collapse
Have you pulled it from Android Q? Of yes i'd likes ti fork it
Fulbert95 said:
Have you pulled it from Android Q? Of yes i'd likes ti fork it
Click to expand...
Click to collapse
No, this is still Android Pie based. Samsung Open Source still not providing source code for Android 10, but soon they will release it just don't worry, if the samsung will release I'm gonna pull those new things to github. Gonna update you if I pulled the Android 10 source code to github.
Galaxy A80 Android 10 Source Code
https://opensource.samsung.com/uploadSearch?searchValue=SM-A805F
motobenny said:
https://opensource.samsung.com/uploadSearch?searchValue=SM-A805F
Click to expand...
Click to collapse
Uploaded!
You can now clone it or fork it from my github link that u can found from the first post. It took me 2 hours to upload it, it has 1.3gb when I unpacked it. Feel free to contact me for the link problem or collaboration.
Fulbert95 said:
Have you pulled it from Android Q? Of yes i'd likes ti fork it
Click to expand...
Click to collapse
Updated to A805FXXU4BTC3/Android 10. Check my first post for the github link.
cant download

Everything you need to create a custom kernel for Red Magic 5G

This is a huge improvement from the Red Magic 5G source which was released in 1 commit with no CAF libraries and many missing components to actually build a kernel. In its current status, one can download and immediately add features for a custom kernel without having to do anything but clone the repo (git clone -b=ten-dirty https://github.com/mrslezak/NX659J_Q_kernel.git RM5G) and add the various features desired. A GPU overclock commit was added (and it does work and has a flashable release zip), but if you want to build pure stock, after cloning, type: git reset --hard HEAD^; this will take you back to the stock source that builds with no modifications. In the name of development for this phone, complete source is being released early. Our very good AOSP developer completed his crowd-fund drive today and we will make the Red Magic 5G a phone with actual AOSP ROM support; he supports 3 phones in the official Lineage OS project already, and has finally met his target fund amount. Having AOSP source will allow it to be a useable and a competitive phone for 3 years. For those that don't know, Android Open Source Project = AOSP, it's making the device as it was intended to be used. We have developers already porting the gaming functions over to the device at this moment. That includes the game launcher, triggers, and fan speed tiles. Once a clean base is made, ROMs will be easily ported to the device. What else could you want on a phone with such high hardware specs? Longevity. Please come join our Telegram channel if you'd like to support AOSP and the future of this incredible device. https://t.me/NubiaRedMagic5G_Mods
XDA:DevDB Information
Stock Kernel Base COMPLETE, Kernel for the Nubia Red Magic 5G
Contributors
mslezak, DD3Boh, mslezak
Source Code: https://github.com/mrslezak/NX659J_Q_kernel.git
Kernel Special Features: This kernel will compile on its own using the build script included with Clang-11.
Version Information
Status: Stable
Current Stable Version: 1
Stable Release Date: 2020-06-08
Created 2020-06-08
Last Updated 2020-06-10
THREAD CLOSED on request of OP. If you're interested in the subject, please refer to MOD Kernel for the Red Magic 5G! GPU overclock 670k AnTuTu, simple to modify source.

Categories

Resources