[HELP] Building rom from kernel source code.? - Android Q&A, Help & Troubleshooting

Hello there,
I am trying to build a rom from scratch for xolo black device. The problem is that they have uploaded only kernel source.
Therefore, I can't figure out how to build the device tree and other things to make a working rom package. If I want to port cm12 to my qualcomm device (unsupported), then what I need to download and the order to executing the commands. I downloaded cm 12 sources but after that cant figure out how to compile other sources and libraries when all I have is kernel source code.
I want to use normal official google version of lollipop/marshmallow as the stock firmware UI is laggy and full of bugs.
I just cant seem to get a straight guide to make a rom from scratch with custom apps and launcher while using the kernel provided by the vendor.
Please help me out.
Thanks.

Related

[Q] Build AOSP For I9300

Hello,
I recently downloaded the official AOSP source code into my machine and I want to compile it for my GT-I9300,
but before that where do I get the device blobs and properitary drivers from? Can I use CM's device tree? Are there any other device trees?
And in an addition to that how do I get the Kernel to work properly? Do I need to use the CM kernel?
A hint / tip or a link to a guide would be appreciated.
Thanks in advance

Building recovery for simba Sx1

I am following this guide XDA university porting cwm to a new device and I just wonder if I need the same android version of sources as it is on the android phone.
I mean, the phone is running android 4.2 so it is neccecary to download cm 10.1 sources or can I build it using cm 11 sources?
tulen_kobi said:
I am following this guide XDA university porting cwm to a new device and I just wonder if I need the same android version of sources as it is on the android phone.
I mean, the phone is running android 4.2 so it is neccecary to download cm 10.1 sources or can I build it using cm 11 sources?
Click to expand...
Click to collapse
It is not necessary to have the same android source as your device's android version to make cwm. CWM is part of the kernel and not the android system. Your device's kernel will be extracted and the ramdisk will be replaced with cwm ramdisk and after that the kernel will be built with cwm ramdisk then you can use it as recovery.
If you want I can help you out with twrp recovery. I have done it for LG L65 and L70. If you want my help with twrp then please download omni rom sources (manifest: https://github.com/omnirom/android ) or just replace bootable/recovery folder with the omni's one in your cm source tree, get kernel source code for your device or have a boot.img, make sure your device has a recovery partition so recovery is not part of the kernel image as a secondary ramdisk like on samsung devices otherwise I could not help.

[Q] Building ROM with official kernel/device

Hi,
I have a moto E and want to build a custom ROM. But I'm new in building the ROM.
I read http://forum.xda-developers.com/showthread.php?t=2762685. But I wasn't sure
where to put the device/kernel/vendor source. Should I put it the root of ASOP tree?
Is there are more detailed guide in the building?
Also, I managed to build the official kernel sources https://github.com/MotorolaMobilityLLC
into a zImage file. How can I flash it to the stock ROM?
Thank you!

Lenovo A880 ROM from source

Hello. I am new on building ROMs and I want try to build my first rom and kernel from source code but lenovo has not shared sources for A880.
1) How can I extract it from firmware? I found only guide for extracting device tree, but what about vendor and kernel?
2) for building kernel need just sources from mediatek and device tree, right?
3) if exists phone on MT6582 with android lollipop, is possible building lollipop for my phone while it has latest official jelly bean? Or at least KitKat?
Thanks for replies!

Using a pre-built MTK6589/8389 kernel in a custom (Lollipop) ROM

I've got an old Lenovo S6000 which, like every other Mediatek device, has incomplete source code for the drivers and the kernel. As a small project, I would like to try and get Android Lollipop up and running to an extent where:
the system boots to the GUI;
the Wi-Fi works;
and the touchscreen works.
just to start off.
The device currently is rooted, with ClockworkMod recovery installed, and I can create Android back-ups of the system. Could I potentially take the kernel and the proprietary blobs and build them in to a CyanogenMod 12 update? Or would the kernel have to be patched to support the new features in Lollipop (the current OS running on the device is Android 4.2.2, and there have been no other working attempts to create a custom ROM for the device)?
Thanks,
George
Sir I want to know Mediatek 6589 3.4.5 kernel can be used with any custom lollipop ROM or it need development for doing that? what can be done to update device with latest android ROM, what is required for developing ROM and kernel? Do all Mediatek 6589 chipsets share same kernel? because sony has released the source code for 3.4.5 kernel but I don't know how to use it for development of new ROM with latest android, how cyanogen do that?
http://developer.sonymobile.com/dow...es/open-source-archive-for-build-16-0-a-0-36/
this is the link to xperia c 3.4.5 kernel source code. please check it sir.

Categories

Resources