So I have decided I want to make my own rom. Where are the binaries to use for the ROM? Some randomer I saw had been trying to make a lineage os that works with this phone and he put the firmware in a GitHub file I think. I would like to know where and what binaries are needed.
@sd_shadow it would be great if you could help me.
Residentalien63 said:
So I have decided I want to make my own rom. Where are the binaries to use for the ROM? Some randomer I saw had been trying to make a lineage os that works with this phone and he put the firmware in a GitHub file I think. I would like to know where and what binaries are needed.
@sd_shadow it would be great if you could help me.
Click to expand...
Click to collapse
I will not be much help.
See these threads.
[GUIDE][COMPLETE] Android ROM Development From Source To End
[Guide][Video Tutorial] How to build Custom ROMs and Kernels![10,P,O,N,M,L]
[REFERENCE] How to compile an Android kernel
Related
Hi guys. 2 months ago I've came into Android World deeper than before and now I'm very fascinated. I downloaded linux, all the necessary files to compile a rom but I still don't understand some things.
My device is Redmi Note 2 and I use stock MIUI 7. As we all know mtk and/or xiaomi haven't released kernel sources (6795) so developers have to think hard how to make a rom. And there are my questions. Does kernel source is really necessary? What if I compile rom successfully and then port boot.img from stock? Will it work? However developers made some roms based on LP for this device. And I read that I need device tree and vendor, which doesnt exist for redmi note 2 or I still can't use github.
Second question which I have is: does compiling for 64 bit CPU differ from compiling for 32 bit CPU (like 6592)? If yes, could you give me some tips?
Ohh I think you can understand what I wrote
Thanks in advance and please dont blame me for silly questions
If you are looking to compile roms then you picked the wrong device to do it. They are the worst with kernel source. You can't completely compile a rom but use a patch system that does most of the work.
Yes it is different. There are some Tuts around but they are few as most don't use that type of chip.
If you really want to learn to develop then I would suggest getting a different device. One that respects the copyright and gpl laws.
zelendel said:
If you are looking to compile roms then you picked the wrong device to do it. They are the worst with kernel source. You can't completely compile a rom but use a patch system that does most of the work.
Yes it is different. There are some Tuts around but they are few as most don't use that type of chip.
If you really want to learn to develop then I would suggest getting a different device. One that respects the copyright and gpl laws.
Click to expand...
Click to collapse
Thank you for your advices. I have HTC desire 310 and I found the kernel sources. I know what I'll do in my free time
Monsterlevel said:
Thank you for your advices. I have HTC desire 310 and I found the kernel sources. I know what I'll do in my free time
Click to expand...
Click to collapse
To compile a rom u need kernel source, device tree and proprietary, bye
Hi! I own the Nexus5X and I am interesting in creating a custom ROM for the device. I have synced the AOSP source tree, gotten everything set up and flashed a build on to my device.
How can I start creating a ROM for the device? What are some general guidelines? How do I start tweaking apps, adding features, etc.
Also, if someone could take a look at these errors I am getting with my AOSP build that would be awesome: https://forum.xda-developers.com/nexus-5x/help/issues-aosp-built-source-bullhead-t3555439
Thanks
NateDev said:
Hi! I own the Nexus5X and I am interesting in creating a custom ROM for the device. I have synced the AOSP source tree, gotten everything set up and flashed a build on to my device.
How can I start creating a ROM for the device? What are some general guidelines? How do I start tweaking apps, adding features, etc.
Also, if someone could take a look at these errors I am getting with my AOSP build that would be awesome: https://forum.xda-developers.com/nexus-5x/help/issues-aosp-built-source-bullhead-t3555439
Thanks
Click to expand...
Click to collapse
Hello,
If you have interest in develop a custom rom, i suggest you start at XDA University to learn a bit of everything about Android.
You have some great guides on Android Software Development (look at stick posts)
I have my own guide which is not finished but I will teach everything you need to know about build a custom ROM from source, how to use github, git, mergetool etc... You can follow my progress HERE
FSadino said:
Hello,
If you have interest in develop a custom rom, i suggest you start at XDA University to learn a bit of everything about Android.
You have some great guides on Android Software Development (look at stick posts)
I have my own guide which is not finished but I will teach everything you need to know about build a custom ROM from source, how to use github, git, mergetool etc... You can follow my progress HERE
Click to expand...
Click to collapse
OK thanks, I will take a look at that. If possible, could you take a look at the errors I am getting with my AOSP build? I posed the link in the original post. Also, do you have to run extract-files.sh or can you simply download the vendor binaries from Google and run the extracting script? (AOSP)
NateDev said:
Also, do you have to run extract-files.sh or can you simply download the vendor binaries from Google and run the extracting script? (AOSP)
Click to expand...
Click to collapse
If you fork/download vendor binaries you don't need to run extracting script
Hi, I'm completely new in Android ROM development and want to get into it. I have a Moto G Turbo and a old Moto E 1st gen.
So I had some question regarding Android ROM development. I may sound completely noob which I am, but still if you help me by answering my question or at least referring to some links then I'll be helpful. And please only answer if you are confident about what you are saying.
1> I understand that Android is open source, so basically we can download and build it. What does it take to make that boot on a particular device?
2> Android is based on linux kernel. So we need a kernel source too. I found this, https://github.com/MotorolaMobilityLLC/kernel-msm, is this the kernel source for moto devices? I am confused because I can find only one repository although it must different repositories for different devices.
3> If we have a kernel source for the device, can we build any ROM like AOSP or AOSP-CAF and boot it in our device? If not why?
3> I have a good knowledge of C although I am still learning. How do I start developing or porting ROM? I am specially interested in PURE AOSP.
I don’t know but you might find a lot of tutorials in non-device-specific threads. And I think there’s a guide on how to build lineage 13 for osprey
This thread could be helpful:
https://forum.xda-developers.com/showthread.php?t=2073370&page=1
Hi, I am currently building custom rom for my Lenovo a7000-a (aio_row) and I have a few questions regarding the device section of the AOSP build.
1. I have seen that to build the custom ROM for a device, I would need the following .mk files from topic "Android device configuration AOSP" in Stackoverflow.
However, from the device configuration/device-tree(?) from user rohantaneja in Github, I see that I would also need files that look like drivers for the devices based on the files on that github. May I ask how would I obtain these files?
2. Would flashing an arm64 generic build of custom AOSP into any Android device work or not? If so, why?
Seems like the amount of knowledge that I faced off with confused me a lot.
Any help is appreciated.
Thanks in advanced.
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.