How to get kernel source for specific Qualcomm msm board - General Questions and Answers

I have studied the google's official documentation and I got the source with this command
$ git clone https://android.googlesource.com/kernel/msm
Now how can I get kernel source for specific Qualcomm Board like msm8994 or any other board

yuvraj_reckon said:
I have studied the google's official documentation and I got the source with this command
$ git clone https://android.googlesource.com/kernel/msm
Now how can I get kernel source for specific Qualcomm Board like msm8994 or any other board
Click to expand...
Click to collapse
You would need to look for the stock source used in the stock firmware from the manufacturer or carrier of the specific device in question.
I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE

git branch -a in the msm directory will give you the list of branches for particular boards / Kernel. you can checkout one of those branches using git checkout <branch name>

Related

Git repository for kernel

Created a git repository for the kernel for easier collaboration in the future, plus Acer's download site is pretty slow.
Link: https://github.com/pawitp/android_kernel_acer_t30
Compiler: Use gcc 4.6 from AOSP Jellybean prebuilts
Compiling
Code:
export ARCH="arm"
export CROSS_COMPILE="/path/to/arm-eabi-4.6/bin/arm-eabi-"
make picasso_mf_defconfig
make -j4 zImage modules
Then you can flash the zImage with the extracte stock ramdisk using fastboot
Code:
fastboot flash:raw boot /path/to/zImage /path/to/ramdisk.gz
the good one
Link: https://github.com/pawitp/android_kernel_acer_t30
Thanks, I changed the url but forgot to update it.
no trouble, just to help
hope that you'll have a working tab soon, we should set-up a petition online to badger Acer to get nvflash
Is the kernel published here the same as on acer's website?
Is the one published on the acer's website the same that runs on the A700/A701 tablets now in fw 15 and 17?
Did you find what locks the system remount in the sources, or that's something acer added after they've published the sourcecode to the website?
andlommy said:
Is the kernel published here the same as on acer's website?
Is the one published on the acer's website the same that runs on the A700/A701 tablets now in fw 15 and 17?
Did you find what locks the system remount in the sources, or that's something acer added after they've published the sourcecode to the website?
Click to expand...
Click to collapse
It's the source imported from Acer's source site, with modification as seen in the git history. I'm not aware of any new kernel release from Acer. The remount block is something not present in the source (which would be a violation of GPL on Acer's part).
pawitp said:
It's the source imported from Acer's source site, with modification as seen in the git history. I'm not aware of any new kernel release from Acer. The remount block is something not present in the source (which would be a violation of GPL on Acer's part).
Click to expand...
Click to collapse
Thanks for clarification.
In this post: http://forum.xda-developers.com/showpost.php?p=31105735&postcount=5 you say there is a kernel block.
I'm determined to have root with ability to remount (for adfree to work at least)
Any ideas how to proceed?

Allwinner A31 Linux 3.3 kernel source

Good news for the developers i was provided with the kernels for the A31 chipset.
the source is allwinners
1.A31 U-boot "allwinner-sunxi-a31"
git.hands.com Git - u-boot.git/tree
2. A31 Linux 3.3 kernel source "allwinner-sunxi-a31"
git.hands.com Git - linux.git/summary
Great news!. It may be useful to post under Android TV stick. This will make MK810 be a powerful Linux box.
aruangra said:
Great news!. It may be useful to post under Android TV stick. This will make MK810 be a powerful Linux box.
Click to expand...
Click to collapse
Please if you can cpmpile it publish the tutorial and also the ported verision of linux.
Sent from my MOMO11 四核 using Tapatalk 2
Yeah, this is the first time a Chinese manufacturer release code of its chip. Nice.
kcthomlau said:
Yeah, this is the first time a Chinese manufacturer release code of its chip. Nice.
Click to expand...
Click to collapse
well, no, this is the fourth chip Allwinner releases the kernel source for, Amlogic is also good at releasing code, so it's not unheard of.
git gives error:
Code:
:~$ git clone http://git.hands.com/linux.git
Cloning into 'linux'...
warning: remote HEAD refers to nonexistent ref, unable to checkout.
suleymanovemil8 said:
git gives error:
Code:
:~$ git clone http://git.hands.com/linux.git
Cloning into 'linux'...
warning: remote HEAD refers to nonexistent ref, unable to checkout.
Click to expand...
Click to collapse
Seems like someone did a bad commit on the HEAD branch. Thankfully, you can still recover the content by first cloning the repo, and then checking out the appropriate branch:
Code:
git checkout allwinner-sunxi-a31

Essential prerequisites for X2 Android development [Crowdsourcing]

There is 3 packages needed for any device for an original Android development:
Android source tree, preferably the original as with OEM devices but CyanogenMod or independent ports are enough too. Aka device
Kernel sources for the device. Aka kernel
Vendor proprietary drivers, which make the GPU and various sensors work. If not explicitly available for download they need to be extracted from a running device. Aka vendor
If these three packages are all available, making new roms will be easy for developers. Please co-operate to gather all of them here to be a resource for android developers.
If we could achieve this goal, I would port the Ubuntu OS for Nokia X2 and share it here with you
====
Progress:
Android source tree
No known instant or effort.
Can anyone contact to Microsoft mobile and get the Android source tree for Nokia X2 and upload it to Github?
Kernel sources
here is kernel source code for Nokia RM-1013 2.0.0.11: https://github.com/danialbehzadi/Nokia-RM-1013-2.0.0.11
Due to Microsoft mobile statement, there is no difference in kernel between 2.0.0.11 and 2.1.0.13.
DONE! :good:
Proprietary drivers
Thanks to T4ufik_Hidayat, Here is vendor packages: https://github.com/cm-nokia-x2/proprietary_vendor_nokia_ara
DONE! :good:
Nice effort
You are our only hope
As we have no real devs for this device and the device wasn't released globally, u r our only hope. I request u to build the kernel with device tree that we need so much to port any real android rom like AOSP , please. Frozentears was working on that, You can contact him as well.
Again, I request you, please make us a custom kernel so that we noobs can start porting KitKat/Lollipop for our beloved X2DS, u r our only hope because we see no other developer here for this device.
danialbehzadi said:
There is 3 packages needed for any device for an original Android development:
Android source tree, preferably the original as with OEM devices but CyanogenMod or independent ports are enough too
Kernel sources for the device
Vendor proprietary drivers, which make the GPU and various sensors work. If not explicitly available for download they need to be extracted from a running device.
If these three packages are all available, making new roms will be easy for developers. Please co-operate to gather all of them here to be a resource for android developers.
If we could achieve this goal, I would port the Ubuntu OS for Nokia X2 and share it here with you
====
Progress:
Android source tree
No known instant or effort.
Can anyone contact to Microsoft mobile and get the Android source tree for Nokia X2 and upload it to Github?
Kernel sources
here is kernel source code for Nokia RM-1013 2.0.0.11: https://github.com/danialbehzadi/Nokia-RM-1013-2.0.0.11
Due to Microsoft mobile statement, there is no difference in kernel between 2.0.0.11 and 2.1.0.13.
DONE! :good:
Proprietary drivers
No known instant or effort.
Does anyone know how to extract it? Can anyone contact to Microsoft mobile and get them and upload it to Github?
Click to expand...
Click to collapse
Here is for proprietary https://github.com/cm-nokia-x2/proprietary_vendor_nokia_ara
for Android source tree, try to use CyanogenMod.
maybe you can help people to make the complete rebuild of CyanogenMod with full fixed from bugs
danialbehzadi said:
There is 3 packages needed for any device for an original Android development:
Android source tree, preferably the original as with OEM devices but CyanogenMod or independent ports are enough too. Aka device
Kernel sources for the device. Aka kernel
Vendor proprietary drivers, which make the GPU and various sensors work. If not explicitly available for download they need to be extracted from a running device. Aka vendor
If these three packages are all available, making new roms will be easy for developers. Please co-operate to gather all of them here to be a resource for android developers.
If we could achieve this goal, I would port the Ubuntu OS for Nokia X2 and share it here with you
====
Progress:
Android source tree
No known instant or effort.
Can anyone contact to Microsoft mobile and get the Android source tree for Nokia X2 and upload it to Github?
Kernel sources
here is kernel source code for Nokia RM-1013 2.0.0.11: https://github.com/danialbehzadi/Nokia-RM-1013-2.0.0.11
Due to Microsoft mobile statement, there is no difference in kernel between 2.0.0.11 and 2.1.0.13.
DONE! :good:
Proprietary drivers
Thanks to T4ufik_Hidayat, Here is vendor packages: https://github.com/cm-nokia-x2/proprietary_vendor_nokia_ara
DONE! :good:
Click to expand...
Click to collapse
https://github.com/cm-nokia-x2/
android_kernel_nokia_msm8610-kernel source
proprietary_vendor_nokia_ara-vendor
android_device_nokia_ara- device(boardconfig.mk, other configs)
And here is the manifest
https://github.com/cm-nokia-x2/android_local_manifest

[QUESTION][DEV] Upstreaming Spreadtrum Kernel

So I have a j2xlte [SpreadTrum SC8830]. I'm interested in getting a custom kernel ready for it (the one on github is very broken)
After waiting for Samsung to give us the kernel and cherry-picking some commits: here's the current source
https://github.com/J2xlteDev/android_kernel_j2xlte/commits/working
Now I want to have upstream changes, like remilia has in their kernel
But after spreadtrum got renamed to Unisoc, it's really hard to find any information on it.
Can someone give the Spreadtrum common kernel repo or something? Would be cool
figured it out, just needed to clone upstream kernel source and cherry-pick some commits
Moderator Information,
Thread has been closed at OP's request.

General [info] Xiaomi 13 (fuxi) Open Source Kernel and Lineage Device Tree

Hi all,
For those of you, like me, who are interested in learning more about developing for custom ROMs, the following links will be helpful for finding .
First is the inclusive list of open source kernel releases by Xiaomi: https://github.com/MiCode/Xiaomi_Kernel_OpenSource
At the bottom of said list is the Xiaomi 13 (fuxi).
Second is the device tree (based on Lineage OS and said to be WIP) by YuKongA: https://github.com/YuKongA/device_xiaomi_fuxi
What is the primary difference between official xiaomi 13's device tree https://github.com/MiCode/kernel_devicetree/tree/fuxi-t-oss and https://github.com/YuKongA/device_xiaomi_fuxi ?
YuKongA's contribution is for Lineage OS, or instead of MIUI it's AOSP. I think.
To give additional information, the Lineage-derived device tree likely originates from: https://github.com/imasaru/android_device_tree_template
Also, the kernel includes a lot of stuff for the hardware and is accompanied by a kernel device tree, which is a kind of 'table of contents' (unless I'm mistaken about the analogy).
"The 'Open Firmware Device Tree', or simply Devicetree (DT), is a data structure and language for describing hardware."
Linux and the Devicetree — The Linux Kernel documentation
I imagine a lot of compatibility issues are lining up the system image and the kernel+device tree.
...
(At this point, I'm really just spouting off some things as I'm learning, so feel free to correct or ignore me as I'm going along!)
Aquariuslt said:
What is the primary difference between official xiaomi 13's device tree https://github.com/MiCode/kernel_devicetree and https://github.com/YuKongA/device_xiaomi_fuxi ?
Click to expand...
Click to collapse
1/Xiaomi Kernel OpenSource
2/Xiaomi fuxi prebuilt
Veiranx said:
To give additional information, the Lineage-derived device tree likely originates from: https://github.com/imasaru/android_device_tree_template
Click to expand...
Click to collapse
You can find older ones.

Categories

Resources