What are the tools needed for building ROM grom source code... - General Topics

.........

Manash007 said:
.........
Click to expand...
Click to collapse
This will depend on the device and the ROM you want to build, how the sources are stored, etc....
The best place to start is in your device specific forum, as there may be a guide already available for your device.

Related

[Q] What device tree I can use for Qumo Quest phone

Hi there!
I want to compile CM 10.1 for my phone, but stucked with device tree and i don't know what tree to choose for this.
Phone mentioned in the subject is Qumo brending of chinese i9220 PAD 5" MT6575 (e1809c_v75) Android 4.0.3
Great thanks if anyone can help.
PS. Sorry for my English.
rippak said:
Hi there!
I want to compile CM 10.1 for my phone, but stucked with device tree and i don't know what tree to choose for this.
Phone mentioned in the subject is Qumo brending of chinese i9220 PAD 5" MT6575 (e1809c_v75) Android 4.0.3
Great thanks if anyone can help.
PS. Sorry for my English.
Click to expand...
Click to collapse
I dont think there is one for that as that is not an official version of Android. Very few China based Android phones are supported by AOSP. You may have to start it yourself if you want it. The first thing you will need to do is have the OEM post the kernel source code for the device. This will be your biggest challenge. As most China OEM dont respect the GPL laws
zelendel said:
I dont think there is one for that as that is not an official version of Android. Very few China based Android phones are supported by AOSP. You may have to start it yourself if you want it. The first thing you will need to do is have the OEM post the kernel source code for the device. This will be your biggest challenge. As most China OEM dont respect the GPL laws
Click to expand...
Click to collapse
Ok
What if there is no source of kernel? Can I use compiled kernel (3.0.13) from current firmware (4.0.3) or this is impossible?
rippak said:
Ok
What if there is no source of kernel? Can I use compiled kernel (3.0.13) from current firmware (4.0.3) or this is impossible?
Click to expand...
Click to collapse
Without kernel source your kinda out of luck. No that kernel will not work on AOSP as that 4.0.3 is not an official android version. It is a hacked together version. Your best bet would be to sell it and get something that is not a knock off.
zelendel said:
Without kernel source your kinda out of luck. No that kernel will not work on AOSP as that 4.0.3 is not an official android version. It is a hacked together version. Your best bet would be to sell it and get something that is not a knock off.
Click to expand...
Click to collapse
Just for fun: wrote to "developer" for sources.
rippak said:
Just for fun: wrote to "developer" for sources.
Click to expand...
Click to collapse
Got to write to the OEM. Only they will be able to release the kernel source. Good luck. Dont hold on to hope though. They are not forced to post kernel source like everyone else.
zelendel said:
Got to write to the OEM. Only they will be able to release the kernel source. Good luck. Dont hold on to hope though. They are not forced to post kernel source like everyone else.
Click to expand...
Click to collapse
Don't you know is it real to compile with another kernel for same CPU MT6575?
Found some links to kernel sources for other phones - seems to be working for different devices.

Lenovo vibe x3 custom rom required

Below link gives access to open source code for lenovo vibe x3 (x3a40). Can you please make custom rom for my device please?
http://support.lenovo.com/us/en/products/phones/vibe-series/x3/downloads/ds105747
Sent from my Lenovo X3a40 using XDA-Developers mobile app
impaul007 said:
Below link gives access to open source code for lenovo vibe x3 (x3a40). Can you please make custom rom for my device please?
http://support.lenovo.com/us/en/products/phones/vibe-series/x3/downloads/ds105747
Sent from my Lenovo X3a40 using XDA-Developers mobile app
Click to expand...
Click to collapse
Sorry mate. I'm sure devs are working on it. But the link you provided is solely for kernel only. There are many device specific codes required to start off with the custom firmware. Guess we'll have to wait at the moment.
PaletroxZ said:
Sorry mate. I'm sure devs are working on it. But the link you provided is solely for kernel only. There are many device specific codes required to start off with the custom firmware. Guess we'll have to wait at the moment.
Click to expand...
Click to collapse
Thanks a lot for the reply. Can you please educate me on the device specific codes that are required for a custom rom?
impaul007 said:
Thanks a lot for the reply. Can you please educate me on the device specific codes that are required for a custom rom?
Click to expand...
Click to collapse
Well to say the truth, I do not know how to put it in words. You see it's the codes that are published by vendors for the device, and some by developer themselves. It contains some proprietary codes mostly in "*.mk" files, some "*.c" files and so on. Device codes can be cloned from similar devices like for our device, we could clone Nexus 5X's source codes for CyanogenMod or for similar ROMs. But still vendor codes for the device is mandatory to get a working device with fewer flaws. And device codes, maybe devs are working on it. We need to be patient until someone comes up...
http://forum.xda-developers.com/general/general/-t3405875
Here is CM 13 unofficial

[Completed] Android ROM Need Help! ðŸ˜*

Can anyone please tell me how to make CyanogenMod ROM, as nothing is available for my device no device tree, no vendor tree, I only have my smartphone. I tried alot but I didn't found any way to make all materials required to make CyanogenMod ROM.
Device : HTC E9+
Aryan25167 said:
Can anyone please tell me how to make CyanogenMod ROM, as nothing is available for my device no device tree, no vendor tree, I only have my smartphone. I tried alot but I didn't found any way to make all materials required to make CyanogenMod ROM.
Device : HTC E9+
Click to expand...
Click to collapse
Hello,
It isn't possible. You need a kernel, device tree, vendor for building CyanogenMod.
Regards
Vatsal,
Forum Moderator.
Where can I get them or build them from scratch, I found kernel on htc dev but can I use it make any rom
Aryan25167 said:
Where can I get them or build them from scratch, I found kernel on htc dev but can I use it make any rom
Click to expand...
Click to collapse
Hello,
Well you need to bring them up from scratch.
You need to extract blobs from the ROM, update the kernel to make it buildable and booting with CM, device tree from scratch.
Regards
Vatsal,
Forum Moderator.
Can you provide me step by step quide to do so

How to create android kernel if I am creating a new android device

I am creating a new android device and want to create a kernel for it, how can I create it? Almost every guide and tutorial suggests to download a kernel source from the device's developer site for the particular device, but what if I want to create a new one?And how can I do it?
yuvraj_reckon said:
I am creating a new android device and want to create a kernel for it, how can I create it? Almost every guide and tutorial suggests to download a kernel source from the device's developer site for the particular device, but what if I want to create a new one?And how can I do it?
Click to expand...
Click to collapse
Wait.. So you're​ telling​ that you are creating your own phone?
psxda97 said:
Wait.. So you're​ telling​ that you are creating your own phone?
Click to expand...
Click to collapse
Exact sir
yuvraj_reckon said:
Exact sir
Click to expand...
Click to collapse
First, you need to decide exactly which hardware components to use, then find out which Linux kernel drivers those components require. How the kernel is built and what it contains depends on the hardware in the device.
Really, it would be better to ask this question somewhere else other than XDA, XDA deals with custom development and modifying existing stock firmwares, not with building source code for a device from scratch.
Sent from my SM-S903VL using Tapatalk
Droidriven said:
First, you need to decide exactly which hardware components to use, then find out which Linux kernel drivers those components require. How the kernel is built and what it contains depends on the hardware in the device.
Really, it would be better to ask this question somewhere else other than XDA, XDA deals with custom development and modifying existing stock firmwares, not with building source code for a device from scratch.
Click to expand...
Click to collapse
Thank you sir..... I have started building it

Is There a Custom Kernel Available for Nokia 3 TA 1032

My device is Nokia 3 TA 1032 running Android Pie rooted using Magisk and with TWRP custom recovery with kernel version 3.18.119+ ....
Is there a custom Kernel available for this device which is 3.19 or above.?.?.
If so ...can anyone provide me the link please.?.?.
And if not...does anyone know about porting/compiling kernel for this device.?.?.
please...i need some help....
https://ibb.*co/ MCBrDtC
mechano59 said:
My device is Nokia 3 TA 1032 running Android Pie rooted using Magisk and with TWRP custom recovery with kernel version 3.18.119+ ....
Is there a custom Kernel available for this device which is 3.19 or above.?.?.
If so ...can anyone provide me the link please.?.?.
And if not...does anyone know about porting/compiling kernel for this device.?.?.
please...i need some help....
https://ibb.*co/ MCBrDtC
Click to expand...
Click to collapse
I dont' know if there's a custom kernel for this device. But you can download the source code form here https://www.nokia.com/phones/en_int/opensource to compile it and add features by yourself.
Isrks said:
I dont' know if there's a custom kernel for this device. But you can download the source code form here https://www.nokia.com/phones/en_int/opensource to compile it and add features by yourself.
Click to expand...
Click to collapse
https://ibb. co/WWFxSsb
sir there seems to be multiple files...which one should i download.?.?. I am really new to this...
and I will be very grateful if you can point to any tutorials or blog posts on how to modify kernels coz i cant seem to find any...
mechano59 said:
https://ibb. co/WWFxSsb
sir there seems to be multiple files...which one should i download.?.?. I am really new to this...
and I will be very grateful if you can point to any tutorials or blog posts on how to modify kernels coz i cant seem to find any...
Click to expand...
Click to collapse
To compile a kernel from source you can follow this tutorial.
https://forum.xda-developers.com/android/software/ultimate-guide-compile-android-kernel-t2871276
There are more threads, this is an example.
The build number in your screenshot (5_180) tells the number of the kernel version you need to download (i want think so ), in this case is the Nokia3_V5.180.tar.bz2 file.
Isrks said:
To compile a kernel from source you can follow this tutorial.
https://forum.xda-developers.com/android/software/ultimate-guide-compile-android-kernel-t2871276
There are more threads, this is an example.
The build number in your screenshot (5_180) tells the number of the kernel version you need to download (i want think so ), in this case is the Nokia3_V5.180.tar.bz2 file.
Click to expand...
Click to collapse
Thank you very much sir....will see if i can do anything with it...
(very sorry for the late reply... )
mechano59 said:
Thank you very much sir....will see if i can do anything with it...
(very sorry for the late reply... )
Click to expand...
Click to collapse
With having a linux environment you can build a kernel from source reading the guides. Adding features is more difficult because the main reason: this device has mediatek SoC.

Categories

Resources