SmartassV2 - General Questions and Answers

Can someone tell me how to add SmartassV2 to kernel.

I dont know much but i think you have to add it to your kernel source before compiling. Not sure though
Hit thanks if helped

You will have to find the source for the specific governor type, then you will have to add it to your kernel source, then compile it. I'm not a kernel dev but this is probably the approach to it. There are plenty of tutorials that should help you.

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.

[Q][4 DEVS] kernel developement

I'm going to create altenative for CM10.1 kernel.
SImply I would add WM1811 improvements, make minor OC and UV, add ROW iosched and compile with good toolchain.
However I can't just cherry-pick commits, because this isn't possible, so I to do many things on my self.
I have some questions for expericied devs.
How to target android_kernel_samsung_smdk4210 for i9300?
Where I should put propietary binaries?
Which voltage table (struct) I should modify?
Can I simply merge some commits from perseus, siyah with one click?
Will BFS and UKMS give boost to android (They did on PC)?
Can I just run patch -p1 row.patch to add row?
I'm not very familiar with linux and C++, I prefer windows and C# in most cases.
there's a link to the developers' section in the section list
Can moderator move thread to devs forum?
I think it's prohibited to duplicate threads
you hit the yellow triangle and ask

[Completed] Request Help for Kernel Compilation

Hello friends
last days i'd successfully compiled kernel for GT-N7100 and its work great
added cpu governor
1-but how can compile new gpu driver and use it in kernel?
2-how can identify hardwares to use different driver like wlan?
3-some kernel have extra features like changing gpu freq.how?
Thank you
juan503 said:
Hello friends
last days i'd successfully compiled kernel for GT-N7100 and its work great
added cpu governor
1-but how can compile new gpu driver and use it in kernel?
2-how can identify hardwares to use different driver like wlan?
3-some kernel have extra features like changing gpu freq.how?
Thank you
Click to expand...
Click to collapse
Hi @juan503.
Congrats on your working kernel!
Since we here at XDA Assist merely point you in the right direction, we do not provide tech support; I cannot answer all your questions.
There is however quite a few threads on how to add features to a kernel, and what you don't find in them you can ask there.
Check these out:
Adding features to your kernel - XDA University
[GUIDE] How to compile kernel EASIEST WAY + add features + useful tools
Good luck on your development!

Custom Kernel Compiling (Hotplug drivers)

Long story short: I compiled my kernel from source (G900F) and added schedulers and governors. Haven't seen any articles regarding hotplug drivers, anyone there that knows how to add one or modify one?
I looked at other's source on their git but I just can't understand how and where should I look.
bump. Anyone that can really help me? I posted questions regarding this, ask some devs, searched for hours, and whatnot.
same question

msm8916 a11ul edit cpufreq files to overclock (can't get it work)

Hi
I got old crappy device so I use it to learn about compiling kernel from source, I start understand code fix error etc.. but I can't get get cpu/gpu overclock, already try many other msm8916 sources as example but without success if I edit cpufreq table anyway and get success compilation anyway kernel see only stuck on stock cpufreq
I haven't got clue what I doing wrong ? wrong cpufreq files ? , can someone guide me ? plz
Thanks for help
I using linaro 4.9 and my device is HTC Desire 510 (a11ul) europe
My repo source
https://github.com/jas7o/a11ul_jas7oMoD

Categories

Resources