Compiling Device Blobs from Scratch, Any guide? - General Questions and Answers

Hi,
I've been searching across Google and this forums, but failed to find a guide for building Device, Vendor and Kernel Trees for my Samsung Devices from Scratch :crying:. Can you please direct me to a good guide for that? . And I don't want a Step by Step guide. I have a decent knowledge about UNIX Terminology and Android. I have compiled ROMs for Pixel Devices :laugh:, but I can't for Samsung.
Thanks!:good:
Supersonic

Related

How to build Android AOSP? (I am getting these errors)

I have successfully built a AOSP ROM I think.
I now have recovery.img, boot.img, userdata.img, system.img
Is there a way of making a n update.zip with these?
This should be moved to Q & A.
Yes, it's about development BUT, it's a question about development and therefore does not belong here.
Pipsqueak approved this message
Come on man do a Google search. There is information for making AOSP ROMs all over the place.
With that said, I strongly recommend heeding this advice:
cyanogen said:
Here's my advice for those looking to make their own Android ROMs.. Stop. Write an app or two first, learn how the system works from a developer standpoint. Learn some Java. Read the developer documentation. Learn how to use Git. Then learn how to build AOSP from source. Read the porting guides, and learn how the build system works (the links below have almost everything you could possibly want to know). Now try to put your new found skills to work on enhancing the platform by writing code or making theme overlays. And share! And put that **** on your resume. There is a *ton* of information out there but any kind of "step-by-step rom cooking guide" is going to be a complete fail- it's too broad of a subject.
Android Developer Guides: http://d.android.com
Working with AOSP source: http://source.android.com
Platform Developer Guide: http://pdk.android.com
Android Gitweb: http://android.git.kernel.org
Git Ready (Git tips and tricks): http://www.gitready.com/
Building CyanogenMod: http://wiki.cyanogenmod.com/index.php/Building_from_source
How Dexopt works and what are those odex files: http://android.git.kernel.org/?p=pl...bcd225e47b2cc7abb2a366112d3aeb45936;hb=master
The PDK site is absolutely vital if you are going to work on custom ROMs. Read every single page. Twice. Some of the info isn't up to date, but you'll get a really good idea about what goes into actually configuring Android to work on a real device.
Click to expand...
Click to collapse

Dont know where to start

Hi every one I dont know where to start i want to make my own rom from source,build it,modify it etc.But i dont know where to start.I know how to build rom from source(learned it from the tutorial on source.android) but i dont know what do those codes mean.i searched on google but cant find an easy tutorial.If i build rom from source how do i make it work on my phone.How do i FIX bugs on my roms,modify it Help please
Check out the chef central section under android. There are a lot of great people working on making development accessible.
For a pure AOSP ROM you are going to have a bit more work, but be rewarded in the end. There is also cyanogenmod and other custom distributions you can build from source and modify.
If you are familiar with C and Java programming you can dig into the actual development more by writing apps or changing source code. If you don't you may want to start on that road. Other wise you will be basically cutting and pasting from everyone else, which doesn't get you any credit.
Themes are also a good place to start. There are lots of good guides in the theme section and people are willing to help if you ask nicely and appropriately.
I have done a bit of this foot work and come to the conclusion, I need to learn programming then come back to source. It is overwhelming to take on an entire operating system in a foreign language, especially when that language has to be perfect to function!
Good luck in your endeavors. Feel free to hit me up for the little knowledge I have!
Sent from my PC36100 using xda premium
But! where to learn
First i want to learn the basics of Rom
are you familiar with Java, C and C++? These are going to be very useful in understanding the "codes" as that is what they are written in. You are also going to have to build AOSP specific for your device, which will require adding your device to the device tree and extracting the necessary drivers and files that are specific to your device. Cyanogenmod has many devices already added to their github and you would simply clone the folder for your device, then build AOSP source and issue make using the device specific folder.
THIS is a helpful tool, and yes it will compile pure AOSP as well.
THIS is also a very helpful tutorial, and you can modify instructions to work for Gingerbread.
If you just want to learn to build and modify the source start with Cyanogenmod build from their source first. You can also build the kernel if you choose but that is a bit more complicated. After you have both of those building without errors then start making changes that you want to see.
The CM Wiki has some good info http://wiki.cyanogenmod.com/wiki/Building_from_source
http://wiki.cyanogenmod.com/wiki/Building_Kernel_from_source

[Help] Making N5 Kernels

I've been trying to find the best way to compile. I found a guide on youtube "http://www.youtube.com/watch?v=IV4jhXWc7AE", but it is a little outdated and I'm having some trouble following him. The kernel source that he has has a lot of folders and the only kernel source I've found for the N5 has 2 files. So I'm missing something in finding the kernel source it seems.
It would be awesome if I could get some help and maybe pointed in the right direction. The only problem is that I'm a auditory and kinesthetic learner.
I have Ubuntu installed and ready to go, I also have the lastest NDK, and I have the AnyKernel.zip.

How are LineageOS and TWRP built?

Hello, I am very new to everything. My knowledge is basically limited to using Linux. Could someone tell me where I can find the documentation of how to build TWRP and LineageOS for an unknown phone.
Or tell me what the general process is.
I cannot understand anything, when trying to understand I feel like being faced to a wall and not understanding how the hell it works.
Thanks in advance,
Snow
SnowCode said:
Hello, I am very new to everything. My knowledge is basically limited to using Linux. Could someone tell me where I can find the documentation of how to build TWRP and LineageOS for an unknown phone.
Or tell me what the general process is.
I cannot understand anything, when trying to understand I feel like being faced to a wall and not understanding how the hell it works.
Thanks in advance,
Snow
Click to expand...
Click to collapse
If the source files haven't been released by the OEM, you may be at a dead-end before you begin.
How can I get TWRP for my device? (how to compile TWRP)
We can’t afford to buy every device made and many times certain devices are only available in other countries. TWRP is fully open source, so you can port TWR...
twrp.me
[GUIDE][COMPLETE] Android ROM Development From Source To End
Hello Everyone....:D:D Today I will present you all the ultimate guide for ROM development starting from Source to End. This guide will be applicable to all devices. So lets Start :D What is Android? :rolleyes: Android is an...
forum.xda-developers.com
How to build LineageOS on Windows 10 using WSL 2
XDA Senior Member Uldiniad has published a guide on how to compile Android 10-based LineageOS 17.1 on a Windows 10 PC using WSL 2.
www.xda-developers.com
✦✦✦ [GUIDE] Build LineageOS ✦ How To use Github ✦✦✦
How-to Build LineageOS Introduction These instructions will hopefully assist you to start with a stock device, unlock the bootloader (if necessary), and then download the required tools as well as the very latest source code for LineageOS...
forum.xda-developers.com

Question Nethunter Kenrel for Poco X4

As the title suggests if someone that bears more knowledge than I could possibly compile or give me general instructions as to how to do it myself. I have tried many guides and dug through many information sources but as of yet only compilation errors and a dream
I need it

Categories

Resources