[Completed] Building A Custom Android ROM - XDA Assist

HI! I'm wondering how I would get started creating a custom ROM for Android. Not necessarily a ROM as big as CyanogenMod, but a custom ROM nonetheless, that can evolve and get bigger. Thanks

NateDev473 said:
HI! I'm wondering how I would get started creating a custom ROM for Android. Not necessarily a ROM as big as CyanogenMod, but a custom ROM nonetheless, that can evolve and get bigger. Thanks
Click to expand...
Click to collapse
Hi,
Check out this thread http://forum.xda-developers.com/chef-central/android/guide-android-rom-development-t2814763

Art Vanderlay said:
Hi,
Check out this thread http://forum.xda-developers.com/chef-central/android/guide-android-rom-development-t2814763
Click to expand...
Click to collapse
That mentions needing the device tree, vendor and kernel, and says that is on GitHub, however my device, the BLU Energy X 2 isn't very well known so there is no device tree or vendor. All I could get was the kernel source from BLU. I saw that there might be no device tree because the kernel version is only 3.10.74+, but there must be a way.
If I want to use CyanogenMod as a base, would having a CM ROM for my phone that I ported (copying over files from stock to port) help with the process? Because the original CM ROM that I used to port was for a phone with the same kernel version of mine, so there was a way that they got it, without device tree or vendor, right?
Sorry for this long + confusing wall of text, I'm just trying to explain my situation here. If you need me to clarify something, just ask.
Thanks,
Nate

NateDev473 said:
That mentions needing the device tree, vendor and kernel, and says that is on GitHub, however my device, the BLU Energy X 2 isn't very well known so there is no device tree or vendor. All I could get was the kernel source from BLU. I saw that there might be no device tree because the kernel version is only 3.10.74+, but there must be a way.
If I want to use CyanogenMod as a base, would having a CM ROM for my phone that I ported (copying over files from stock to port) help with the process? Because the original CM ROM that I used to port was for a phone with the same kernel version of mine, so there was a way that they got it, without device tree or vendor, right?
Sorry for this long + confusing wall of text, I'm just trying to explain my situation here. If you need me to clarify something, just ask.
Thanks,
Nate
Click to expand...
Click to collapse
If you want to work on a ROM then you need to have a device tree and vendor blobs. There's no way around this, its very different to porting a ROM. Try making a new thread in http://forum.xda-developers.com/android/help
Maybe some experts can help you there

Art Vanderlay said:
If you want to work on a ROM then you need to have a device tree and vendor blobs. There's no way around this, its very different to porting a ROM. Try making a new thread in http://forum.xda-developers.com/android/help
Maybe some experts can help you there
Click to expand...
Click to collapse
Ok, I will. Just wondering, how are these files usually acquired? I know they can usually be found on GitHub, but who originally puts them there? Where are they originally acquired from? The phone manufacturer?

NateDev473 said:
Ok, I will. Just wondering, how are these files usually acquired? I know they can usually be found on GitHub, but who originally puts them there? Where are they originally acquired from? The phone manufacturer?
Click to expand...
Click to collapse
They're built by developers. Since no ones developing for your device someone with some knowledge of ROM building would have to work on. I'm no expert so my advice would be to make a new thread in the section that I linked you.

Art Vanderlay said:
They're built by developers. Since no ones developing for your device someone with some knowledge of ROM building would have to work on. I'm no expert so my advice would be to make a new thread in the section that I linked you.
Click to expand...
Click to collapse
I've just done that

Related

[Q] Rom Porting

Hi,
I'd like to familiarize myself with rom development and porting.
Before anyone asks, I am an extensive linux user (gentoo), I know how to work with adb and fastboot, I am good at C/C++ and Java. I even know a little about kernels.
From my understanding, in order to port a rom from device A to device B, I need to swap the kernel and configure a kernel for device B. One includet into the ported rom, the rom should at least boot.
If the kernel is good and device A and device B are not too far apart from each other, everything should work the same.
Please do correct me, if I am wrong.
What I need is a point to start. Doesn't need to be a trivial one.
And I'd like to get some more info on kernel development.
Please help me find a good starting point.
ClericLeech said:
Hi,
I'd like to familiarize myself with rom development and porting.
Before anyone asks, I am an extensive linux user (gentoo), I know how to work with adb and fastboot, I am good at C/C++ and Java. I even know a little about kernels.
From my understanding, in order to port a rom from device A to device B, I need to swap the kernel and configure a kernel for device B. One includet into the ported rom, the rom should at least boot.
If the kernel is good and device A and device B are not too far apart from each other, everything should work the same.
Please do correct me, if I am wrong.
What I need is a point to start. Doesn't need to be a trivial one.
And I'd like to get some more info on kernel development.
Please help me find a good starting point.
Click to expand...
Click to collapse
you have reason... for do rom, or kernal port you need Devices seemed..
example: you can port a DESIRE S rom to DESIRE HD
but canĀ“t port it to another device without the same characteristics..
(exceptional case: one XDA developer was ported an HTC desire S rom TO nexus S with the htc sense environment!!! BUT ITS the only one case... )
okay man... first thing that i recommend its browse all that you need in the especific android hack and development forum: thake this link:
http://forum.xda-developers.com/forumdisplay.php?f=565
welcome mate, XDA needs developers and learners
I want to port a rom from desire s to the desire z.
Or a rom from desire to desire z.
That's it for starters.
ClericLeech said:
I want to port a rom from desire s to the desire z.
Or a rom from desire to desire z.
That's it for starters.
Click to expand...
Click to collapse
are you going to thematize the rom or something similar?
because in the desire z dev. forum are availables at least 2 or 3 roms porteds from desire s... someone with sense 3.0 included... if you want you can download them and explore for to start...
you can browse your questions in the link that i posted avobe.icluded de kernel dev.
cheers

[Q] Install Linux?

Has anyone been able to install Linux on the Galaxy Note Pro? I'd really like to install it, but haven't found success using the Complete Linux Installer (my tablet is rooted). Apologies if a thread relating to this already exists!
GrowingViolet said:
Has anyone been able to install Linux on the Galaxy Note Pro? I'd really like to install it, but haven't found success using the Complete Linux Installer (my tablet is rooted). Apologies if a thread relating to this already exists!
Click to expand...
Click to collapse
My guess is there is no working kernel for this device, and since we don't have a working device tree to build kernels or even complete kernel source, it's probably not going to happen anytime soon.
acejavelin said:
My guess is there is no working kernel for this device, and since we don't have a working device tree to build kernels or even complete kernel source, it's probably not going to happen anytime soon.
Click to expand...
Click to collapse
That is a shame .. this would be great for it. Does anyone know if anyone is working on this, or who could (and how they might be encouraged)? I would love to see Linux on this!
GrowingViolet said:
That is a shame .. this would be great for it. Does anyone know if anyone is working on this, or who could (and how they might be encouraged)? I would love to see Linux on this!
Click to expand...
Click to collapse
I have not heard of anyone working on this... Unfortunately the developer support for this device is very minimal. We can't even get a basic AOSP ROM much less a full Linux distribution. Until the price comes down and some devs with a bit of skill pick this up there likely won't be much besides stock based ROMs.
Sent from my Samsung Galaxy Note Pro 12.2 using Tapatalk
Hi!
Perhaps this would be of interest:
http://forum.xda-developers.com/showthread.php?t=2755962
Regards
Elo

[Completed] Worst Case Scenario Of Flashing Improper ROM

Hi! I have found a device that has almost the same specs of my device, and it has a device tree already made. I have gone ahead and replaced those files with the one from my device, and I have done the same thing with the vendor files. I am planning to use these to compile CyanogenMod for my device, but incase I did something wrong, and I flash it, what's the worst thing that could happen? It's not like it's from a completely different device, as the only differences are the camera, and one more core on the GPU, and I believe that's it. The 2 devices are the Energy X 2 and the Infinix Hot 2.
Thanks a lot!
NateDev473 said:
Hi! I have found a device that has almost the same specs of my device, and it has a device tree already made. I have gone ahead and replaced those files with the one from my device, and I have done the same thing with the vendor files. I am planning to use these to compile CyanogenMod for my device, but incase I did something wrong, and I flash it, what's the worst thing that could happen? It's not like it's from a completely different device, as the only differences are the camera, and one more core on the GPU, and I believe that's it. The 2 devices are the Energy X 2 and the Infinix Hot 2.
Thanks a lot!
Click to expand...
Click to collapse
Greetings and welcome to assist. Unfortunately assist is for guiding new members around the forums only, try asking your question here
http://forum.xda-developers.com/android/help
Thanks for understanding
Sawdoctor

How do I create a custom rom?

Hey! So I was so happy with my phone, a Huawei mate 20 lite, that has been obsolete cuz it's old. I unlocked it's bootloader, and I will install TWRP for it, but there's no custom roms like pixel experience or Lineageos for it, so I decided to take it and create a custom rom. But idk how to do it. Can anyone say me how you do it? It really means to me so much! Thanks
creeperlul631 said:
Hey! So I was so happy with my phone, a Huawei mate 20 lite, that has been obsolete cuz it's old. I unlocked it's bootloader, and I will install TWRP for it, but there's no custom roms like pixel experience or Lineageos for it, so I decided to take it and create a custom rom. But idk how to do it. Can anyone say me how you do it? It really means to me so much! Thanks
Click to expand...
Click to collapse
[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]
Thank you so much!
Hello friend, here I join the request... over there we could open a public repository and share our experiences.
Yeah B)
sd_shadow said:
[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]
Click to expand...
Click to collapse
This is too old, i want to make new android version roms, not that
creeperlul631 said:
This is too old, i want to make new android version roms, not that
Click to expand...
Click to collapse
I'm pretty sure the whole thing is "applicable" to newer Android versions, except for some differences.
After all, both threads still get visitors who come regularly to ask about Android ROM development and for support. Especially the first one, we passed the 500th page count some time ago (the thread started in 2014!), and as of now, the last comment in the thread was made in just a few weeks back.

Payment for building TWRP (or other recoveries)?

anyone know if there is someone i can pay to build twrp for my device (SM-T870)?
Or really any custom recovery that is good (fox, etc)
Prefer twrp
Arealhooman said:
anyone know if there is someone i can pay to build twrp for my device (SM-T870)?
Click to expand...
Click to collapse
It does not work like that.
Normally it is someone who is willing to donate their own time and knowledge to port a rom or recovery to a device.
Donations are normally welcome but, not the motivator driving the one doing the work.
TWRP can be built from a Lineage and more recently an AOSP build.
You would have to find a dev familiar with the manufacture and device (or a device that is close enough, better yet a sister device).
It would be the easiest for a dev who has built a working rom for the device in question.
I see the last one who tried ported it from ianmacd's build for T976B.
You could maybe PM ianmacd and see if he would be willing (have the time) to try a blind port for the T870.
If so, you would have to be the alpha tester and be willing to risk bricking your device for testing.
Cheers.
ipdev said:
It does not work like that.
Normally it is someone who is willing to donate their own time and knowledge to port a rom or recovery to a device.
Donations are normally welcome but, not the motivator driving the one doing the work.
TWRP can be built from a Lineage and more recently an AOSP build.
You would have to find a dev familiar with the manufacture and device (or a device that is close enough, better yet a sister device).
It would be the easiest for a dev who has built a working rom for the device in question.
I see the last one who tried ported it from ianmacd's build for T976B.
You could maybe PM ianmacd and see if he would be willing (have the time) to try a blind port for the T870.
If so, you would have to be the alpha tester and be willing to risk bricking your device for testing.
Cheers.
Click to expand...
Click to collapse
Sadly no rooms for my device

Categories

Resources