Question Nethunter Kenrel for Poco X4 - Redmi Note 11 Pro+ 5G (peux)/POCO X4 Pro 5G (veux)

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

Related

Compiling Android + Kernel from Source.

Hi there,
Now, I understand that there's a thread or two and a few web pages directed at compiling Android and its kernel from source.
However, the thread in question is months old, and didn't fully explain the process.
As for the web pages, they are mostly outdated and don't include enough information, not to mention desire specific instructions.
I think that, properly explained, building Android shouldn't be daunting, and everyone should be able to attempt it, if they wanted to.
So, I hope to compose a comprehensive guide on how to do just that.
The problem is that I myself have not been able to put enough instructions together to be able to complete a build. And there is no point digging up old threads.
So, If anyone who knows the ropes (that is, compiling android and a kernel from source) would be willing to lead the way, I'd happily turn it into an easy to understand guide.
Josh.
fllash said:
Hi there,
Now, I understand that there's a thread or two and a few web pages directed at compiling Android and its kernel from source.
However, the thread in question is months old, and didn't fully explain the process.
As for the web pages, they are mostly outdated and don't include enough information, not to mention desire specific instructions.
I think that, properly explained, building Android shouldn't be daunting, and everyone should be able to attempt it, if they wanted to.
So, I hope to compose a comprehensive guide on how to do just that.
The problem is that I myself have not been able to put enough instructions together to be able to complete a build. And there is no point digging up old threads.
So, If anyone who knows the ropes (that is, compiling android and a kernel from source) would be willing to lead the way, I'd happily turn it into an easy to understand guide.
Josh.
Click to expand...
Click to collapse
I followed this guide here and successfully compiled a modified HTC Kernel and I had very little Linux and Android experience.
Obviously instead of cloning the Cyanogen git, you just use the gits you wish to compile
Mekrel said:
I followed this guide here and successfully compiled a modified HTC Kernel and I had very little Linux and Android experience.
Obviously instead of cloning the Cyanogen git, you just use the gits you wish to compile
Click to expand...
Click to collapse
Thanks for the link
Though i don't fully understand the whole 'git' thing. Where do i find them? And how to i know which ones are the ones i want to use?
Josh
EDIT: Also, how do you 'edit' the kernel (i imagine it is somewhat like make menuconfig?). Also:
- Are these sense kernels?
- How do you add modules like OC and UV?
fllash said:
Thanks for the link
Though i don't fully understand the whole 'git' thing. Where do i find them? And how to i know which ones are the ones i want to use?
Josh
EDIT: Also, how do you 'edit' the kernel (i imagine it is somewhat like make menuconfig?). Also:
- Are these sense kernels?
- How do you add modules like OC and UV?
Click to expand...
Click to collapse
A git is a repository for source code, developers upload their source code there and can commit changes. The commit can allow descriptions of what was changed and also details the files changed.
The git system allows other people to add to the source if they have permission, or allows others to read the changes and download the source code.
Git links are usually posted by people who release software, as Android is GPL licensed so people have to release their source code if they're distributing their work.
Editing the kernel, take a look into the git and the commits and it will show you which files were changed and how exactly they were changed. That will give you the best understanding.
UV/OC is done by changing the acpu table in the architectures files and changing the minimum/maximum voltage figures in the board_bravo.c file.
The Cyanogen kernels are not Sense kernels no, it's a modified Google Kernel.
Thanks for the explanation. I followed the guide and built the rom, and it works (always a plus )
Now, the next thing is the kernel. How do I build a kernel with the CM tweaks integrated? I understand that all i would be doing is rebuilding the same one that is already installed, but im doing it to learn.
So, if i synced the GIT, does that include the CyanogenMOD kernel source? If it does, where is it and how do i rebuild it. If not, where do i find it?
Thanks,
Josh.

Some questions regarding Android ROM Development and Kernel Development

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

Compiling Device Blobs from Scratch, Any guide?

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

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

How to create a distribution of crDroid for the tablet Teclast t40 pro (rooted, unlocked bootloader)

Hello,
Could somebody give me links, initial instructions or an overview of how to adapt the crDroid custom rom to be able to install also on the Teclast t40 pro ?
Or in other words... Which changes should be made (and a general how-to) to that rom once obtained its source code, to add support for a new device, in this case that tablet ?
I am a software developer in .NET with some linux experience also, and this could give me the opportunity to learn something big'n new...
Thanks in advance !
It's so sad that nobody can give me a hand on this; At least a general intro. Ok, I will forget about it and I'll change my little goals in life to something more useful and productive.
Have a nice day.
Hello try this
[GUIDE] Build crDroid ROM from source
Because I saw some requests for a build guide for crDroid (ROM with many added features based on CM) I decided to make one. Please report if it worked. If you have errors I will try my best to resolve them. Please read everything carefully...
forum.xda-developers.com
and this below this information below.
Thanks
I hope you are very successful in this process.
I hope you are very successful in this process.

Categories

Resources