[Completed] Request Help for Kernel Compilation - XDA Assist

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!

Related

Building Kernel for Dream

Hello
As the prebuilt Kernel which comes with the dream-open project is not as cutting edge es I'd like it to be, I wanted to build the Kernel myself and checked out the sources for 2.6.29.
Now I've got some questions and problems:
Are there any known problems of using this kernel with the master branch? Are there any special/manual changes needed?
What are the best settings for the .config file to get a performance oriented and good kernel? Is msm_defconfig any good? (Maybe someone has a .config he could share with me?)
Are there any build time optimizations which would increase perfomance? (I read something about -O2)
Does only the WiFi Module have to be rebuilt?
When I played around, I got an error that a file (elf.h) is missing. How would I correct that/Which file is meant/Where would I get it?
It would be great if someone could answer these questions
Thank you very much

Program to overclock MTK6516 cpu

I was looking for a program to overclock MTK6516 processors, from china smartphones with Android, but didn't found anyone witch works.
Somebody knows some program or would like do develope it?
I want this too. I've tried many apps like SetCPU and No-Frills and none of them work.
Most chinese Android devices like the Hero H7000 have pretty decent specs at a pretty damn good price. However, they all use the god damn slow as MTK6xxx CPUs.......
Want something like this too!
Would be nice if one of the developers can write us something
You can't overclock from an app before modding the kernel to allow oc
And to mod the kernel you'ld need the kernel source
kernel unfound since we do not know the brand and manufacturer
Is hard to find it since there is no brand for it and i had been finding it since i bought a Hero H400 android china phone.
Mine CPU is mtk6515 too ~
Anyone tested to root the china phone before?
Thanks.
lingweiyong6 said:
Is hard to find it since there is no brand for it and i had been finding it since i bought a Hero H400 android china phone.
Mine CPU is mtk6515 too ~
Anyone tested to root the china phone before?
Thanks.
Click to expand...
Click to collapse
I've rooted my Gooapple 3G and tweaked it a fair bit and removed the bloatware and managed to get some speed increases that way, but still waiting on Kernel source to be able to do anything more.
The X10 Mini runs the same Qualcomm msm7227 processor as the Gooapple 3G and its widely reported that 787mhz is possible and stable with the X10, so would be nice to have that extra horsepower but until someone comes up with the source it aint gonna happen sadly.
I wonder if its possible to take the hw drivers etc from the Gooapple and merge it with the X10 Mini Source and create a hybrid rom for the Gooapple??
hi thebtman,
You are from Malaysia so this Gooapple 3G.
Need you to give commend on:
1) Camera 5MP?
2) CPU?
3) RAM & ROM?
4) Internet setting for this phone tested?
Any chance in finding an overclocking app for this type of kernel? I've rooted mine, a Star A8 aka Plum Velocity (present on gsmarena) but all the apps told me that is not for my kernel
If you don't have the kernel source, but your phone can be rooted. You can make a Overclock module and load it
Sent from my LG-P500 using XDA App
thachtunganh said:
You can make a Overclock module and load it
Click to expand...
Click to collapse
Easy to say
thachtunganh said:
If you don't have the kernel source, but your phone can be rooted. You can make a Overclock module and load it
Sent from my LG-P500 using XDA App
Click to expand...
Click to collapse
And how exactly do you do that?
Why is the kernel source required? It's not that hard to decompile the kernel and hexedit some parts, I just fail to recompile it since I don't know the cmdline for those mediatek processors

[dev][kernel][sgp512] 17.1.1.a.0.402

SGP512 Kernel, first attempt since I just got the device yesterday.
- close to stock
- disabled a few modules which are rather not going to be used
- disabled debug
- integrated wlan driver & configured so that it loads properly
- integrated exFAT
Instructions:
- unzip contents, copy over the modules to /system/lib/modules (remember to set the correct permissions)
- reboot into bootloader & flash the kernel
Code:
fastboot -i 0x0fce flash boot boot.img
fastboot -i 0x0fce reboot
Download binaries: https://drive.google.com/file/d/0B8rpJsF4EG0YMFNHYWZhSHQ5VW8
source
Er... nice that someone starts developing for this device... but:
- what is wrong with the stock WiFi driver? I don't see any problems...
- exFAT is already integrated, no need of special kernel...
Doesn't seem very flash-worthy
I would really appriciate a custom kernel for the Tablet so that we can undervolt the cpu and change frequencies and governors.
But wouldn`t it be the best and easiest way to port (of course with the approval of doomlord) his already existing doomkernel from the Z2 phone?
hasenbein1966 said:
Er... nice that someone starts developing for this device... but:
- what is wrong with the stock WiFi driver? I don't see any problems...
- exFAT is already integrated, no need of special kernel...
Doesn't seem very flash-worthy
Click to expand...
Click to collapse
You won't be able to use the stock modules if you start messing too deep with the kernel & there is no in-kernel (3.4.0) driver for the bcm4339 which the Z2 uses, unless you want to mess with the brcmfmac driver.
Try using the compiled kernel I attached without copying over the associated wifi driver.
Frankus99 said:
I would really appriciate a custom kernel for the Tablet so that we can undervolt the cpu and change frequencies and governors.
But wouldn`t it be the best and easiest way to port (of course with the approval of doomlord) his already existing doomkernel from the Z2 phone?
Click to expand...
Click to collapse
You can already change the freqs & governors with tools like PerformanceControl.
The only part which would need coding is UV control & a sysfs interface for it.
I'll do it sooner or later in my free time, but seeing as I don't have much of the latter, you'll surely see the features being implemented by other devs. Or you can code/port it yourself ;]
This post was never intended to being a starting point for developing a kernel for the community. I got the device 2 days ago & prepared my base for private kernel development & since I didn't see any posts related to a kernel base for the Z2 Tablet I wanted to share it so that interested parties could have a good starting point.
It was NEVER intended for end users.
adwinp said:
You won't be able to use the stock modules if you start messing too deep with the kernel & there is no in-kernel (3.4.0) driver for the bcm4339 which the Z2 uses, unless you want to mess with the brcmfmac driver.
Try using the compiled kernel I attached without copying over the associated wifi driver.
You can already change the freqs & governors with tools like PerformanceControl.
The only part which would need coding is UV control & a sysfs interface for it.
I'll do it sooner or later in my free time, but seeing as I don't have much of the latter, you'll surely see the features being implemented by other devs. Or you can code/port it yourself ;]
This post was never intended to being a starting point for developing a kernel for the community. I got the device 2 days ago & prepared my base for private kernel development & since I didn't see any posts related to a kernel base for the Z2 Tablet I wanted to share it so that interested parties could have a good starting point.
It was NEVER intended for end users.
Click to expand...
Click to collapse
ok, sony released the kernel code on git some time ago, any news with your kernel?
spider623 said:
ok, sony released the kernel code on git some time ago, any news with your kernel?
Click to expand...
Click to collapse
I release this kernel since there were none at that time, at least none integrating the wifi driver & exfat.
Till then, the kernel development for the Z2 tablet took off, so there's no need to keep this post updated.
adwinp said:
I release this kernel since there were none at that time, at least none integrating the wifi driver & exfat.
Till then, the kernel development for the Z2 tablet took off, so there's no need to keep this post updated.
Click to expand...
Click to collapse
really? i haven't seen any other kernels around
spider623 said:
really? i haven't seen any other kernels around
Click to expand...
Click to collapse
Uhmmm.... me neither to be honest.
However, it's extremely nice to see people taking part in kernel development. It's not so easy as one thinks. It's a lot of "trial and error" before something can be released to the public.
(patiently awaiting my Z2 tomorrow)

[Completed] Need help to add sweep2wake in kernel.

Hello dear fellow xda-developers.
In my quest of learning "compiling android kernel from source", here I am, stuck and feeling helpless to add sweep2wake feature to my kernel.
Since I am learning the things, I have started to work on a legacy device "HTC Pico (Explorer)"
Till now, I have learned to -
i. Compile my own kernel (of-course)
ii. Added some governors (lionheart, etc.)
iii. Added fastcharge
Is anyone here who can teach me to add sweep2wake and doubletap2wake feature in the kernel ?
Any type of help or link to reference can be quiet useful. Thank You !!!
Hi, thank you for using XDA Assist. The purpose of XDA assist is to point you in the right direction, not provide technical assistance. I see you are also asking about this in other threads so I'm going to close this one.

Kernel Developer available for any project

Hello all Samsung Galaxy Young users,
As you can see my name on this forum is PsychoGame.
I'm not a full-time software developer, but rather a Linux enthusiast which is familiar with Linux and it's kernel for over 10+ years.
When using Linux (Fedora in my case) I'm always interested in optimizing the hell out of it so I know I get maximum performance out of my hardware.
This of course requires using custom *self* build kernels which are optimally patched and configured for my specific hardware.
Conclusion is that I have real good knowledge of what's going on in the kernel and can be a valuable addition to a developers team.
In the past I worked on other projects kernel and android (CyanogenMod) for example (Samsung Galaxy Y (S5630)) where with my kernel knowledge I've been able to help other developers move forward very much.
Already I've downloaded the (Samsung Galaxy Young (GT-S6310) Update 1) kernel source to my PC, and found out on which CAF branch this kernel was based on.
Now I'm ready to get involved in development for at least the kernel of this device.
Are there any requests of things people would want me to do?
I've looked into what Shinkamaru kernel currently features and think I can make some more improvements on this as well.
Not only am I making myself available for development but also want to try to form a "Development Team" for this device.
Next to my android/linux enthusiasm I have a personal life as well so it would be virtually impossible to do all development on my own.
If you are interested in joining this "Development Team" and you have some past experience with kernel building with linux (or android preferred).
Or maybe you have some knowledge in ROM development leave a comment in here.
Greetings PsychoGame
Thank you for your availability and desire to help us!
I have a Galaxy Young Duos TV (S6313T) and this device doesn't have any custom kernel
Can you create a simple one for us?
A kernel that support CM11 would be helpful too
This is my stock kernel:
http://forum.xda-developers.com/attachment.php?attachmentid=3523152
Thaaaanks! :good:
Hello OsniNO,
Thank you for you're message.
It's midnight over here in Holland, so I will take a look into the sourcecode you provided in your post.
What I'll do first is compare the sourcecode for your specific device with the available sourcecode of the other Galaxy Young devices.
When sourcecode is mostly the same between most devices I'll try to create a overall kernel which may be usable in all Galaxy Young released devices.
Features to improve the device performance and responsiveness which will be included by me are as follow:
- KSM will be enabled cause the Galaxy Young is a low ram device in my opinion so this should improve performance and responsiveness.
- ZRAM should and will be enabled by default to improve the devices RAM availability which also should improve performance and responsiveness.
- Interactive scheduler should be enabled by default with no-op (maybe) as default.
Greetings PsychoGame
PsychoGame said:
Hello OsniNO,
Thank you for you're message.
It's midnight over here in Holland, so I will take a look into the sourcecode you provided in your post.
What I'll do first is compare the sourcecode for your specific device with the available sourcecode of the other Galaxy Young devices.
When sourcecode is mostly the same between most devices I'll try to create a overall kernel which may be usable in all Galaxy Young released devices.
Features to improve the device performance and responsiveness which will be included by me are as follow:
- KSM will be enabled cause the Galaxy Young is a low ram device in my opinion so this should improve performance and responsiveness.
- ZRAM should and will be enabled by default to improve the devices RAM availability which also should improve performance and responsiveness.
- Interactive scheduler should be enabled by default with no-op (maybe) as default.
Greetings PsychoGame
Click to expand...
Click to collapse
Thank you veeeery much!!
Just can't wait
Hello from germany,
since i got the NFC Version 6310N,which is technically the same, i would like to request cifs kernel support to Mount smb shares (dont get me wrong es file manager works eine,but i want the share to show up as a folder )
Thanks in advance
I too have the Galaxy Young GT-S6310N and would be more than happy to help out with testing and such
Don't have any real experience with kernel-building and the like, but I do have loads of spare time and would really like to see a working cm11 for 6310N this year :fingers-crossed:
thank you very much for working on the young gt-s6310
hi.
requests...
being able to swap ram using the sd card (class 10), being able to really and completly move apps to sd card, and being able to swap internal sd with external sd (saw there is a tutorial already - haven't tried it because...):crying:
and some personal help with my gt-s6310T. after factory, cash and delvik cash wipe, the cm11 (cm11_s6310_by_DevSwift1_V4) and the gapps for cm11. (my cwm was never able to access my ext sd card in clockworkmod but everything else worked with my ext sd card) since then my phone/usb connect/clockworkmod/twrp/phone settings-storage couldn't locate my ext sd card at all. only grey mound sd in the storage area. and the cm11 messed up my phone so badly that i had to reflash a stockrom only using odin cause nothing else worked. no internal sd in cwm, no access to my computer using the usb cable. after that everything was ok but still stuck with no ext sd card. what should i do to fix this?
Thanks for your help in advance.
As I have mentioned in another post i want to make CM13 for S6312(I'll start doing it next year [I'm busy with my scientific research(not as high level as it sounds)]), but I don't have the experience to do that yet so I would be greatfull if you could help with Kernel and hopefully other stuff.
xlen said:
Thanks for your help in advance.
As I have mentioned in another post i want to make CM13 for S6312(I'll start doing it next year [I'm busy with my scientific research(not as high level as it sounds)]), but I don't have the experience to do that yet so I would be greatfull if you could help with Kernel and hopefully other stuff.
Click to expand...
Click to collapse
I wish you good luck but without a good understanding of how linux works or even how to code it's going to be impossible for you to make CM13. Also let's first just finish CM11 before we go any higher.
sorry guys
lesleyxxx15 said:
I wish you good luck but without a good understanding of how linux works or even how to code it's going to be impossible for you to make CM13. Also let's first just finish CM11 before we go any higher.
Click to expand...
Click to collapse
Thanks luck is one of many things I need!
sorry guys but I will start only february as I have to finish my scientific research...
PsychoGame said:
Hello all Samsung Galaxy Young users,
As you can see my name on this forum is PsychoGame.
I'm not a full-time software developer, but rather a Linux enthusiast which is familiar with Linux and it's kernel for over 10+ years.
When using Linux (Fedora in my case) I'm always interested in optimizing the hell out of it so I know I get maximum performance out of my hardware.
This of course requires using custom *self* build kernels which are optimally patched and configured for my specific hardware.
Conclusion is that I have real good knowledge of what's going on in the kernel and can be a valuable addition to a developers team.
In the past I worked on other projects kernel and android (CyanogenMod) for example (Samsung Galaxy Y (S5630)) where with my kernel knowledge I've been able to help other developers move forward very much.
Already I've downloaded the (Samsung Galaxy Young (GT-S6310) Update 1) kernel source to my PC, and found out on which CAF branch this kernel was based on.
Now I'm ready to get involved in development for at least the kernel of this device.
Are there any requests of things people would want me to do?
I've looked into what Shinkamaru kernel currently features and think I can make some more improvements on this as well.
Not only am I making myself available for development but also want to try to form a "Development Team" for this device.
Next to my android/linux enthusiasm I have a personal life as well so it would be virtually impossible to do all development on my own.
If you are interested in joining this "Development Team" and you have some past experience with kernel building with linux (or android preferred).
Or maybe you have some knowledge in ROM development leave a comment in here.
Greetings PsychoGame
Click to expand...
Click to collapse
Hello bro..
It's rare to find devs who work for other type of phones..
I want to ask if you can help in getting a custom recovery or kernel for the Galaxy Core Prime VE (G361H)? We don't have any devs or any development, we only have a pre-rooted ROM..
We want a custom recovery or a kernel with SeAndroid permissive and we won't say no for any added features... so can you please help us?
Thanks in advance..
Sent from my SM-G361H using Tapatalk

Categories

Resources