[KERNEL][4.0.4] Help a noob build a kernel! - Miscellaneous Android Development

Hello everyone! As the title suggests I'm a noob who wants to build a kernel. The device has virtually no support and to be honest, very underpowered. I want to overclock the device, but there are no overclockable kernels out there for this device.
The device in question is an: ACTScom A930.
I posted a question asking for help on overclocking. The post should have more info on the device itself:
http://forum.xda-developers.com/general/help/overclocking-stock-rom-kernel-t2922777
As stated in the topic above, I want to overclock it to run at around 1.10-1.25 Ghz instead of the stock 960 Mhz. However, I don't want the device to overheat, so I'm going to run the CPU at around 200-300 Mhz when the screen is idle.
As I said in the beginning, I'm a complete noob at building kernels. Sure, I've done some basic modding, but never have I tried to development my own mods. I fully understand the risks at hand, however the device is so slow, it's come to a point where I so rarely use it, I'm going to be willing to experiment.
For the past week or so, I've been doing some research. I've read these topics on building and overclocking Kernels:
1. http://xda-university.com/as-a-developer/adding-features-to-your-kernel
2. http://forum.xda-developers.com/showthread.php?t=1748297
I've gotten a basic grasp of how overclocking works, but I'll need your help to actually be able to successfully build it. I'll be going step by step, asking for help where I need it. The post below this will be updated by my questions that hopefully you guys can answer. All you help is appreciated!

11/3/2014
Basic Setup
The device has no support and there is no Kernel source listed anywhere for this device. The closest thing I could find was a ICS tools and Linux Kernels by the CPU Manufacturer (telechips).
https://www.telechips.com/technical_support/kor/opensource/opensource_list.asp
Will this work as a source, or do I need to find another kernel source for my device?

Related

G1/MT3G Video Drivers fo Eclair

If this is in the wrong thread I apologize. I didn't know if I should post this in Q & A because its a question relevant to something developed, I also didn't wanna invade anyones ROM thread.
I am creating a ROM which is a fusion of the Droid and Nexus one for the G1/MT3G. I am learning how to create ROMS and have been able to search and solve alot of problems on my own. This one however has me stumped and I've searched through a hundred threads but it seems no one is interested in this information but me.
Would someone explain to me how to implement the graphics driver that was designed for the G1/MT3G for Eclair 2.1. I can't seem to find any documentation/posts about how to implement this so that the camcorder works and the 3d gallery, those are my last 2 obstacles. I know ROMS such as CaNNoN202 Complete Eclair 2.2.1 or CyanogenMod-5 have it implemented. I have even looked through the ROMS but haven't found the drivers and have no idea where they would be.
If an experienced modder could help me get on my way to becoming a allround dev, please explain a few thing to me like in a pm or something. Like if they are kernel specific/dependent, what scripts are needed for the drivers to install, etc..
Please any help is very much appreciated.
EDIT:
I found a thread where CE developed a patch for his ROM which adds the support for 3D to the G1.
Gonna see if I can implement it that way. I will post results if I find anything.
Any info is still very welcome
Are you trying to build your own kernel or just a rom? The only reason you would need the drivers is if you are making your own kernel, which by the way you ask, I doubt you could do. Nothing against you, its just not easy.
Any kernel (mostly Cyanogens) has the drivers implemented after version 5.0.4 i think. You can just strip the boot.img out of any of those roms and slap it into your rom till you get it all to work.
Once you do that, then you may have the problems of no BT or wifi.
crypysmoker said:
Are you trying to build your own kernel or just a rom? The only reason you would need the drivers is if you are making your own kernel, which by the way you ask, I doubt you could do. Nothing against you, its just not easy.
Any kernel (mostly Cyanogens) has the drivers implemented after version 5.0.4 i think. You can just strip the boot.img out of any of those roms and slap it into your rom till you get it all to work.
Once you do that, then you may have the problems of no BT or wifi.
Click to expand...
Click to collapse
Yea I have been exploring these ROMS and seen the extra libraries and patches that have been implemented, but I haven't been able to get someone elses kernel to boot my ROM.
I have used the tutorial on theunlockr to set up a kitchen and been able to modify alot, but I am missing the true functionality of these ROMS if I don't understand the kernel and libraries that allow for these patches.
I think I am going to set up Eclipse in my linux and slowly learn the process of actually building these ROMS from scratch, I know its difficult but I'll search through old examples until I get on my feet.
Thanks for the info. If any ther experienced ROM maker has any tips to share I thank you in advanced.
The drivers you are looking for are in /system/lib
Note that in some cases, preload memory offsets need to be manipulated.
lbcoder said:
The drivers you are looking for are in /system/lib
Note that in some cases, preload memory offsets need to be manipulated.
Click to expand...
Click to collapse
Hey thanks for your info/help
I figured the libraries and modules needed to be ported over as well, didn't know anything about the memory offsets
I am trying to port Cyanogens kernel+system/libe+modules offer, hopefully it will fix all issues.
Will post update. Thanks you guys for helping a noob I'm really trying to learn and its very tough
Edit:
porting kernel either ends in bootloop or it ends in the settings and fc's like crazy
If I apply my modifications to cyanogens rom, the live wallpapers break, this is so wierd!

[Q] Help rebild kernel from liquid mini to highscreen cosmo

Help me please. Tell me how rebuild kernel from acer to my phone, phones are almost the same. i have kernel from my phone, kernel from acer i think not difficult to download, but the question is what next. Thanks in advance.
you won't find many people willing to help. It is just not worth the work. Why do you want it anyway?
it worth, many people who buy this phone want it, at first i want to learn how to do this, second i want 800 mhz, and android 2.3
p.s. i dont have money to buy other device, so i want to overlock my device for maximum
I will download the file and look into making it run on your phone. Dont know if it is possible yet. Just give me link to kernel download. I will look at it and see.
Hit that thank button if I helped!
source code
See https://github.com/IVAN89 its porting kernel 2.6.35. Original kernel Cosmo 2.6.32

New to rooting need help

What is a custom kernel i guess?
Dude....just read.....A LOT.....and when you think you got it.....go back and read it all again. If you brick your phone....be a good guy and replace it yourself.....meaning, don't take it back to your carrier and tell them it stopped working.
Sent from........Somewhere In Time
tylerdurdin said:
Dude....just read.....A LOT.....and when you think you got it.....go back and read it all again. If you brick your phone....be a good guy and replace it yourself.....meaning, don't take it back to your carrier and tell them it stopped working.
Sent from........Somewhere In Time
Click to expand...
Click to collapse
can you give me a link where it has info on kernels and roms
Just go to your devices specific forum and read the stickies.....they will have all the info you need.....
Also to keep people from flaming you or just hating you.....use the thread search and don't open a new topic.....if you are asking the question....it has already been asked a million times. You can also use Google with a search like
Ex: Samsung Galaxy I9100 custom kernel XDA
You will have more than you care to know.....but read it all and you can help future noobs.
Sent from........Somewhere In Time
Answer to the Custome Kernel question
NemoHoees said:
What is a custom kernel i guess?
Click to expand...
Click to collapse
Think about in this way, Kernel is a main component of an operating system , to make things easier let’s call it the operating system: and users with android phones install custom operating system mainly because their phones came
with official 2.1 or 1.6 android 3.2 or more recent builds because, as you know, not all phones get the privilege of getting the latest Android 4.x operating system.
Now, in order to install an operating system, you need to root your phone which is the equivalent of being an administrator account , and not a user
: the most famous custom kernel is cyanengon mod
From there, you are able to understand more about custom Android operating system kernels.
The kernel is the part of your device that stands inbetween the hardware and the software. It controls all the basics like charging, handling CPU usage, memory use, etc.

Does the KT747 Kernel come undervolted stock?

I was just wondering if the kernel came undervolted stock for the AOSP JB version. Or would I need to use an app like system tuner to undervolt it.
Thanks in advance!
i dont know if it comes undervolted. but i know you can change it with the ktweaker app that is included.
heres the link. if you put in minimal effort youd save yourself time and furstration waiting for answers that are readily available.
http://forum.xda-developers.com/showthread.php?t=1853816
just wanted to know if it came undervolted but thanks
no problem, wasnt being a jerk.
i can see hwo it could be read that way.
good luck, its my kernel of choice.
FYI KT747 kernel is one of the most popular kernels for this phone therefore its thread is almost always in the first page of the original development section. So it is safe bet to look there first before posting a question like this as that thread will answer your questions. Word of advice research first and only ask questions when you can't find the answers because I noticed that a lot of the questions that are asked can be searched within this forum except for the troubleshooting questions. Have fun with the kernel it is a very good one to use.

[Completed] what specifics per device are needed to "match" roms to attempt a port

I'm pretty new at all this buy the basics of installing already made roms I get my question is when attempting to create new custom roms what information about the device say (cpu, gpu, modem, kernal, etc) need to match up to attempt using or moding those said parts of the dev process in order to build a working tree. Continued below Sidenote........
Sidenote : idk if the terms I used were correct in there placement or meaning but I feel that any who will reply to this thread probably grasp what I'm getting at.
So essentially what I'm attempting to do is figure out what things to change and how to change them in order to figure out what goes into building a rom or the favorable option that I'm shooting for is what to look for to attempt to match up a already built custom rom from another device I need little to no changes in order to use on my device's, reason being, both devices I am currently woking on, which are a Samsung Galaxy Core Prime sm-g360t and a HTC Desire 626s, do not have a official or even, to my knowledge, have an official CM and honestly besides one,the HTC which I have TWRP and it's running now off the AdvancedStock rom I found on this site and it keeps wanting to break or just doesn't work the way I want .
ANY HELP IS GREATLY APPRECIATED
Hello and thank you for using XDA Assist,
please ask here:
Upgrading, Modifying and Unlocking
Good luck!

Categories

Resources