I know there's got to be more people here capable of compiling a kernel than just the CyanogenMod team. Now that we're "official" a lot of 3rd party kernels that borrow from the d2 (Galaxy S III) CyanogenMod tree include everything you need to compile an alternate kernel for apexq. Here's 2 I found at random:
http://forum.xda-developers.com/showthread.php?t=2139055
http://forum.xda-developers.com/showthread.php?t=2226290
Also porting to other roms like AOKP or Paranoid Android is typically a matter of minor changes to the build files. Almost everyone uses CyanogenMod as a base or keeps up with CyanogenMod so the differences, if any, should be minimal.
Related
Hi all,
Some of you may know me from the Korean phones section where I was developing fixes for bricked phones, as I no longer have a bricked phone at the moment I moved on.
What I moved onto is opening the devices trees for the A210 tegra 3 based tablet from Acer.
yes I know there are already a few cm10 compiles out there for the Acer Axxx devices but the A210 seems to have only closed sources on the cm side and kernel, example kiwi++ based kernel/James ROMs, (if the kernel is public,then I stand corrected)
Anyway, moving on,
My current tree for cm10.2 is available on github and I will start posting compiled nightly builds as the project moves on. And develops.
For now my builds will include the cm kernel, based off kernel/acer/t30-common , mainly because I know little about kernel hacking and the goal was to get cm10.2/11 booting and usable.
Current status
CM10.2
1. WiFi working
2. Touch working
3. Sound fully working
4 no internal/external SD card yet
5 USB devices are working
6 display has flicker but otherwise fully working
7 cwm is working, touch to follow
8 PA-gapps / play store working
9 battery life untested yet
10 custom kernel/CPU gov's - not started yet
CM11
same as CM10.2 status
You can find my cm10.2 online on github, my cm11 tree is staying closed for now while I iron out some hectic bugs that have the potential to brick the device (so far I keep loosing touch and sound even across ROMs)
Anyway, onto the meat of it , if you want to compile yourself, pull the trees from here
https://github.com/darkspr1te
I also want to document some of the development process here too, time allowing (mods gods allowing)
Compiled builds to follow for now, enjoy the reading.
Darkspr1te
Sent from my A210 using Tapatalk
Hi, I've just received my OPO on the 27th. I was really interested in Android development when I had my Nexus 5 and started building my own AOSP ROM, I've been looking into doing the same for the OPO but am unable to find an actual way of building AOSP with Google's code. I know OPO released their AOSP kernel source here: https://github.com/OnePlusTech/android_kernel_oneplus_one and CyanogenMod has thiers here: https://github.com/CyanogenMod/android_kernel_oneplus_msm8974 but I'm unable to work out a way of including these into my AOSP build and I would prefer to not build CM.
Note: I'd like to build AOSP myself, I'm fully aware that there is a current official OPO build available.
Thanks in advance,
Lewis
LewisD94 said:
Hi, I've just received my OPO on the 27th. I was really interested in Android development when I had my Nexus 5 and started building my own AOSP ROM, I've been looking into doing the same for the OPO but am unable to find an actual way of building AOSP with Google's code. I know OPO released their AOSP kernel source here: https://github.com/OnePlusTech/android_kernel_oneplus_one and CyanogenMod has thiers here: https://github.com/CyanogenMod/android_kernel_oneplus_msm8974 but I'm unable to work out a way of including these into my AOSP build and I would prefer to not build CM.
Note: I'd like to build AOSP myself, I'm fully aware that there is a current official OPO build available.
Thanks in advance,
Lewis
Click to expand...
Click to collapse
It's advisable that you create your own tree from the CAF MSM8974 using CM GPS and other drivers and build CAF AOSP. Otherwise, it's close to impossible/very difficult. Pure AOSP is again near impossible/very difficult for non nexus devices.
Thank you very much for the reply, so building AOSP is pretty much impossible then?
I was having a look around on the internet last night and came across this: http://developer.sonymobile.com/kno...uild-aosp-kitkat-for-unlocked-xperia-devices/
Would there be a way of adapting this guide to allow for an easier build process of AOSP for our device? The other confusion that I face is if it's impossible to build AOSP for the OPO then how are ROMs such as this available?
LewisD94 said:
Thank you very much for the reply, so building AOSP is pretty much impossible then?
I was having a look around on the internet last night and came across this: http://developer.sonymobile.com/kno...uild-aosp-kitkat-for-unlocked-xperia-devices/
Would there be a way of adapting this guide to allow for an easier build process of AOSP for our device? The other confusion that I face is if it's impossible to build AOSP for the OPO then how are ROMs such as this available?
Click to expand...
Click to collapse
VanirAOSP uses CM trees as of now. Again, CAF AOSP is basically AOSP for non nexus Qualcomm devices., and any experienced dev can whip up a tree and get it working. Also, reaally good devs can/may be able to port AOSP if they wanted. It's a matter of whether they want to do it or not.
That link is for Sony devices only because Sony already provides CAF trees as an OEM so devs can build.
rudi_j7 said:
VanirAOSP uses CM trees as of now. Again, CAF AOSP is basically AOSP for non nexus Qualcomm devices., and any experienced dev can whip up a tree and get it working. Also, reaally good devs can/may be able to port AOSP if they wanted. It's a matter of whether they want to do it or not.
That link is for Sony devices only because Sony already provides CAF trees as an OEM so devs can build.
Click to expand...
Click to collapse
Ah yes, I see what you're saying now. Thanks for clearing this up for me! I just noticed when I looked at the VanirAOSP ROM thread that it states CM for it's credits, haha. I apologize for my ignorance.
Hello
I would like to create my first rom for oneplus one but without modification from OMNI or CM, basically vanilla rom. but I have some doubts.
Can I create a rom based on AOSP with device tree from OMNI/CM right?
Thanks!
Hello,
I recently compiled CyanogenMod 14.1 for my Android device using the official sources and want to compile Omni 7.1 for the same device and use the device tree and kernel from the official CM sources because there's no device tree for Omni. Is there a way to "convert" the CM device tree to work with the Omni sources? My exact problem is the compiler doesn't know my device so I can't run something like "brunch [device]" or "make [device]", although I already downloaded all device-specific repositories to the same subdirectory as I'd do it on CM.
Thanks in advance,
Oebbler
Oebbler1 said:
Hello,
I recently compiled CyanogenMod 14.1 for my Android device using the official sources and want to compile Omni 7.1 for the same device and use the device tree and kernel from the official CM sources because there's no device tree for Omni. Is there a way to "convert" the CM device tree to work with the Omni sources? My exact problem is the compiler doesn't know my device so I can't run something like "brunch [device]" or "make [device]", although I already downloaded all device-specific repositories to the same subdirectory as I'd do it on CM.
Thanks in advance,
Oebbler
Click to expand...
Click to collapse
You have to go to your android_device_manufacturer_yourphonecodename repo and rename cm.mk to omni_codename.mk, open it and change cm_codename to omni_codename.
You have also to rename cm.dependencies to omni.dependencies, but the repos included in that file may not be in omnirom source, so you would need to manually sync those repos in your android sorce tree.
You might have to make other minor changes, take a look at the rest of code in that repo.
For further info: https://docs.omnirom.org/Porting_Omni_To_Your_Device
Thank you, but I think I won't succeed in building Omni for my device because I always get strange errors.
Probs will get annoyed, cmsdk, cmhw, and cm encryption are significantly annoying. Also they moved their build dir, generally include useless common subtrees, and named dtbtool with CM suffix. Their build tree might be the most significant hindrance to unified building on Android, not only for the many unnecessary additions and dependencies they have for devices, but also they generally lack a community presence to answer or respond to users, so a lot of us get stuck with cleaning up their mess.
Notice how TWRP has a community presence here and are helpful. I'm not hating on cm, they have been doing this longer than most of us, but for ease id recommend using your rom choices tree.
Also the immensely significant annoyance of having to track devicesettings and the unwillingnes to nuke cmactions, combine it with cmsdk, or at least remove it's dependency in most trees is almost certainly going to cause you errors.
Sent from my One using XDA-Developers Legacy app
I have been running AOSP preview 2 on EMUI 9.1 STF-L09. This build was created by openkirin and runs smoothly. However, upon a polite request from openkirin I was told that I was not able to use their device tree and sources for unknown reasons.
My question is to anybody even with mild experience what I can do. I spotted a kernel tree for kirin 960: https://github.com/wirmpolter/device_huawei_kirin960-common along with the two: https://github.com/wirmpolter/device_huawei_hi3660 and https://github.com/wirmpolter/proprietary_vendor_huawei_kirin960-common
The other alternative is to use https://github.com/phhusson/treble_experimentations if this is more stable. I could try merging the two.
However, I have never done any Dev work before so I just wanted to stay of by building my own stable AOSP and then trying to get pixel experience to work
I want to build my unofficial build for my phone, HTC Desire 816. But I have a limited data plan, and I worried I will running out of my data by downloading a huge source code with unnecessary files for other architectures, phones etc. And I'm just need the ARM and important files.
Also I got these repos from Tarkzim's forum at LineageOS unofficial for HTC Desire 816:
Device tree
Kernel
Vendor
Well, I didn't have any experience at Android development. So maybe can someone give me a guide too?
I'm just know the preparations on the documentation and it's ready, but the steps are confusing for me.
Or maybe if peoples are have their time maybe can someone make the official build?
Maybe it such out of BlissROMs, but I really want to Blissify my phone. Because LineageOS are too plain, no good features like smart charging etc. It just looks a normal Android build from AOSP source.