Please help making a kernel - Optimus One, P500, V General

I was going to make a kernel based on cm7 kernel, so how to start.
And how to add frequencies.
Adding over clicked frequencies is the main purpose, please help me somebody.
I want to make it for HTC explorer but there are nearly no devs who can help me that's why I am asking here
Sent from my HTC EXPLORER using xda premium

> You can PM kernel experts.. like TA and DJnoXD.. they are both good persons and they could help you out.

I really appreciate your work. Few weeks back.. i was trying to convince every Forum Admins to get
Explorer and similar devices.. a forum or atleast a sub-forum.. and happy to see they accepted our request..
Being a Lagacy Device.. they gave Explorer and others a complete forum!!

rishabho1 said:
I was going to make a kernel based on cm7 kernel, so how to start.
And how to add frequencies.
Adding over clicked frequencies is the main purpose, please help me somebody.
I want to make it for HTC explorer but there are nearly no devs who can help me that's why I am asking here
Sent from my HTC EXPLORER using xda premium
Click to expand...
Click to collapse
if u have some prior coding experience then adding frequencies, adding governors should be a piece of cake...
if no,
then you better check the gb cm7 rom for optimus one..try to find out the commit where actual work was started by the cm team on the kernel..you will find out how they added frequencies, governors and everything...:good:

rr0yy said:
I really appreciate your work. Few weeks back.. i was trying to convince every Forum Admins to get
Explorer and similar devices.. a forum or atleast a sub-forum.. and happy to see they accepted our request..
Being a Lagacy Device.. they gave Explorer and others a complete forum!!
Click to expand...
Click to collapse
But, how is this related
Btw i also requested mikechannon to do so
Sent from my HTC EXPLORER using xda premium

williamcharles said:
if u have some prior coding experience then adding frequencies, adding governors should be a piece of cake...
if no,
then you better check the gb cm7 rom for optimus one..try to find out the commit where actual work was started by the cm team on the kernel..you will find out how they added frequencies, governors and everything...:good:
Click to expand...
Click to collapse
That's nice idea of comparing with optimus one kernel
I'll try it.
Thanks for the tip
Sent from my HTC EXPLORER using xda premium

Now I have some ideas but I am unable to extract the kernel from boot.img
I have cygwin and saw some guides about some perl script but I am unable to use it
Please guide me how to do it
Sent from my HTC EXPLORER using xda premium

rishabho1 said:
Now I have some ideas but I am unable to extract the kernel from boot.img
I have cygwin and saw some guides about some perl script but I am unable to use it
Please guide me how to do it
Sent from my HTC EXPLORER using xda premium
Click to expand...
Click to collapse
u may use mDroidd's studio android....

rishabho1 said:
Now I have some ideas but I am unable to extract the kernel from boot.img
I have cygwin and saw some guides about some perl script but I am unable to use it
Please guide me how to do it
Sent from my HTC EXPLORER using xda premium
Click to expand...
Click to collapse
Check out dsixda kitchen. Extremely easy to use
Sent from my LG-VM670 using Tapatalk

sellers86 said:
Check out dsixda kitchen. Extremely easy to use
Sent from my LG-VM670 using Tapatalk
Click to expand...
Click to collapse
It's for making stock based roms
Sent from my HTC Explorer A310e using xda premium

Dude.. as Neko said why dont you talk to DJ and TA.. if you really want to learn about kernel
scripting and compiling??

rishabho1 said:
I was going to make a kernel based on cm7 kernel, so how to start.
And how to add frequencies.
Adding over clicked frequencies is the main purpose, please help me somebody.
I want to make it for HTC explorer but there are nearly no devs who can help me that's why I am asking here
Sent from my HTC EXPLORER using xda premium
Click to expand...
Click to collapse
I would suggest you to try compiling the cm kernel for your phone whitout changes. (cm wiki)
After you succeed compiling the kernel, test if it is working.
Now you have a base you could start working on.
Next step could be to change something. (frequencies for the p500 have to be changed here: arch/arm/mach-msm/acpuclock.c)

Related

[How To] Implement Z-OC into stock ROM

BEFORE I START: ALL CREDITS TO Z FOR HIS AMAZING WORK AND FOR HIM CHOOSING TO STAY. THANK YOU Z
FOR ADVANCED USERS.
USE ROOT EXPLORER TO COPY AND PASTE OR MOVE THE FILES NEEDED AND SET PERMISSIONS
Hi Guys. I know some of you are probably wanting OC in your ROM and might not want to wait for someone to implement it in there ROM or maybe you don't want to flash a ROM but just want the OC.
Well i am going to tell you how to get Z-OC in your phone. There are some thing you will need to remember and that is that this can be dangerous if you don't know what you are doing.
PLEASE NOTE: I AM IN NO WAY RESPONSIBLE IF YOU TURN YOUR PHONE INTO A PAPER WEIHGT OR TURN IT INTO A BRICK FOR A REPLACEMENT FOR YOUR WALL.
Here is what to do:
You will need the files at the bottom of this post and extract them.
For permissions. O means tick, X means leave unticked.
1. Place the install-recovery.sh file in system/ect/ and set permissions to:
ooo
oxo
oxo
2. Place these 3 files: zdzihu_oc.ko/ar6000.ko/tun.ko in system/lib/modules and set the permissions to:
oox
oxx
oxx
3. Go back to the install-recovery.sh file and select it and then select execute.
4. Reboot and enjoy
PLEASE NOTE: ONLY LOOK AND CHANGE THE CPU SPEED USING CPU MASTER. DO NOT TRY CHANGIING THE CLOCK SPEED WITH OTHER CPU APPS LIKE SET CPU OR YOU WILL LOSE THE 1113MHZ SPEED AND YOU WILL NEED TO GO BACK TO INSTALL-RECOVERY.SH AND EXECUTE AGAIN.
Awesome. Thank u so much
Sent from my X10i using XDA App
awesome! thanks! any module to wifi?
erickwill said:
awesome! thanks! any module to wifi?
Click to expand...
Click to collapse
That's what the ar6000.ko is. Don't delete the original as I have not done that and my WiFi is fine. Also I need to add this to the op but everytime you reboot the phone you need to set the CPU again.
Sent from my Nexus S using XDA Premium App
sammyjc89 said:
That's what the ar6000.ko is. Don't delete the original as I have not done that and my WiFi is fine. Also I need to add this to the op but everytime you reboot the phone you need to set the CPU again.
Sent from my Nexus S using XDA Premium App
Click to expand...
Click to collapse
Should I invoke this module?
erickwill said:
Should I invoke this module?
Click to expand...
Click to collapse
What does invoke mean?
EDIT: just searched it and yes still add it just in case you need to. You can always try without it and let me know or just stay on the safe side and add it. If I have time in a bit I will try without it as I think that the ar6000.ko is actually something to do with CM find coz if I remember rightly the CM kernels or gingerbread kernels had the ar6000.ko WiFi module and the 2.2 or 2.1 kernels had a different one but don't quote me on that one
Sent from my Nexus S using XDA Premium App
sorry guys.. i am new ><
can anyone explain to me what is OC?
thanks in advance..
rshui said:
sorry guys.. i am new ><
can anyone explain to me what is OC?
thanks in advance..
Click to expand...
Click to collapse
It means OverClock
It is jot necessary to include all the modulus.
Only the oc modulus seems work fine
cheers,
L
Sent fRom mY fReeXperia X10 uSIng xda Premium App
confirmed working on MIUI (Trips rom) thanx mate ... thanx Z
Correct me if I wrong, but for OC feature you need zdzihu_oc.ko only, others does nothing with OC.
Indeed, i am using terminal and insmod zdzihu_oc.ko and everything is fine...
Sent from my X10i using XDA App
implemented in WB rom, I believe:
http://forum.xda-developers.com/showthread.php?t=1192988
Can't someone make a zip to flash?
Sent from my X10 using XDA Premium App
If it is the case only the z oc module is need then I will delete others but if I remember rightly the CM roms needed the ar6000.ko file for the WiFi to work and the tun.ko is a module for the CPU speeds to run by. Eg like CPU governer ect..... Correct me if I'm wrong but there must be reason they are there also the install-recovery.sh file has a lot of coding unlike the fps uncap one as where the one I added in this thread has a hell of a lot more also to do with the CPU governer.
Sent from my Nexus S using XDA Premium App
chiefy009 said:
Can't someone make a zip to flash?
Sent from my X10 using XDA Premium App
Click to expand...
Click to collapse
Yea it's possible ... i tried but it gives me syntax error .....(copy_dir then set_perm) .... sorry i'm a little noob
chiefy009 said:
Can't someone make a zip to flash?
Sent from my X10 using XDA Premium App
Click to expand...
Click to collapse
I have tried to make an update zip also but if you try flashing this with a ROM with tweaks you will lose all the tweaks like with wolfs ROM. It is best to do it this way so you don't have the risk of something going wrong and also I get the same error with my zip and I used the update zip program to make it which set perms and signed and zips but still no go.
Sent from my Nexus S using XDA Premium App
Tried to stick this on Z rom and got wifi error
Sent from my X10 using XDA Premium App
chiefy009 said:
Tried to stick this on Z rom and got wifi error
Sent from my X10 using XDA Premium App
Click to expand...
Click to collapse
coz its already implemented. Unless you are on about his first ROM that is no longer in development. Also did you delete the original WiFi module
Sent from my Nexus S using XDA Premium App
sammyjc89 said:
coz its already implemented. Unless you are on about his first ROM that is no longer in development. Also did you delete the original WiFi module
Sent from my Nexus S using XDA Premium App
Click to expand...
Click to collapse
Its his most recent rom v3 he took oc out, I restored now, the oc worked but it broke wifi
Sent from my X10 using XDA Premium App

Editing a custom kernel

Is it possible for me to edit my kernel to allow higher clock frequencies? I am trying to achieve 1700-1800mhz
Can i extract the kernel from my ROM zip?
Do I simply edit 'scaling_available_frequencies','cpuinfo_max_freq' & 'UV_mV_table'?
If so how can I gain write access to this file? Any info appreciated!
SGSII
Latest cm7 nightly
13pointseven said:
Can i extract the kernel from my ROM zip?
Yes just open in win zip win rar etc and extract zimage .
jje
Click to expand...
Click to collapse
How do I open zimage
Sent from my GT-I9100 using xda premium
You can't unzip the zImage and make changes. You'll need to compile the kernel from source yourself.
Ok thanks for the reply. I am currently downloading the cm7 source code from github. Can you help with regard to overclocking?
Sent from my GT-I9100 using xda premium
You could try looking at the original overclocking commit and modifying it.
Why would you ever want 1.8GHz though? It'll almost certainly be unstable.
Sent from my GT-I9100
OK so what I've sussed out so far is as Oxygen ROM is cm7 based I can extract the boot.img from stable cm7 ROM (which is the kernel) and replace it with the Oxygen boot.img thus creating oxygen 2.3.1/wolverine, clockable to 1.6ghz.
I have found a tut on unpacking ramdisk, is this the boot.img?
If so can anybody tell me how id go about further increasing clock speed once unpacked?
Any help appreciated, cheers Andy
Sent from my GT-I9100 using xda premium
Like I said, it's not possible to change the available frequency steps in a compiled kernel. You can't unpack it and make changes, you've got to build it from source.
Thanks for the reply, I believe I have the source and instructions on compiling unsure what to edit. Am I rite in saying the kernel is generic to all devices and need tailoring to suite? Please forgive the noobness I like to dive in deep end. Hopefully studying comp sci in sept if I get my grades so maybe then ill be able to contribute to the forum a little better
Sent from my GT-I9100 using xda premium
As for why, my device runs real smooth even at 500mhz but have a friend who likes to gloat over a cf bench result id like to smash, that and learning more and as much as I can on android OS.
Sent from my GT-I9100 using xda premium

[Q] Cut down XOOM rom?

I do really apoligize if i sound incredibly noob-ish and dumb. If in theory i download a stock flashable xoom rom and then remove most xoom independent files such as kernel (modules) and other /system folders then flash it over a lightweight rom without tw apps, would i get a stock honeycomb rom? Mainly relying on compatible /system/app and system/framework folders?
Sent from my GT-S5830 using xda premium
nope. If you don't know what you're doing (and few of us do), just find a ROM in the dev forum and follow the instructions. If it was as easy as that, everyone would be a dev...
slack04 said:
nope. If you don't know what you're doing (and few of us do), just find a ROM in the dev forum and follow the instructions. If it was as easy as that, everyone would be a dev...
Click to expand...
Click to collapse
Thanks for your answer, i just had an idea and wondered how practical it was. I have actually compiled cm7 (kang) for sga so i know what im doing
Sent from my GT-S5830 using xda premium

[Q]Help need while adding apps to .zip

Hello guys
I was trying to add apps to my own custom made Rom I have flashed and it works fine but only prolem it give it apps which I have added it in .zip myself are force closeing when try to open them.
I have signed them also
Can anyone tell me what's the problem and how to solve it ?
Sent from my HTC Glacier using xda premium
gsminhas said:
Hello guys
I was trying to add apps to my own custom made Rom I have flashed and it works fine but only prolem it give it apps which I have added it in .zip myself are force closeing when try to open them.
I have signed them also
Can anyone tell me what's the problem and how to solve it ?
Sent from my HTC Glacier using xda premium
Click to expand...
Click to collapse
You didn't give them the appropriate permissions
rw-r--r--
and change ownership to root and root
EmoBoiix3 said:
You didn't give them the appropriate permissions
rw-r--r--
and change ownership to root and root
Click to expand...
Click to collapse
Can u describe this in steps or anyone else if they can
I am noob trying to create custom Rom so still don't know much about many topics
Sent from my HTC Glacier using xda premium
gsminhas said:
Can u describe this in steps or anyone else if they can
I am noob trying to create custom Rom so still don't know much about many topics
Sent from my HTC Glacier using xda premium
Click to expand...
Click to collapse
On the phone you can use a root file explorer app(available in the market) and go to system then apps and change the permissions to what he says above.

[TOOL] KDZ - Extract and Merge

I was looking on the web for some kind of kdz file extraction and re-zip tool that could help with inserting the root file AND possibly the V20B bootloader unlock function for all of our L9 variants. Being a P769 user I would definitely gravity to using our phone first! But I found this link in android and it shows you how to extract a kdz via LG UPTESTEX MOD. Sound familiar, well it should because that's what we use to offline flash our phones. So it's saying that we can extract, modify then merge the files back INTO A KDZ for flashing. If this is true then we can manipulate the ROM! but I'm no devy so I can't so do. Here is the link for anyone curious about it:
Oh my apologies if I didn't put this in the right forum. I always wan to place things in the general forum so that I get maximum eyeage. But I placed it here for dev's to see.
Thanks for sharing! I hope the devs here can use this to their advantage! :thumbup:
Sent from my LG-P769 using XDA Premium 4 mobile app
LaDY Vengeance said:
Thanks for sharing! I hope the devs here can use this to their advantage! :thumbup:
Sent from my LG-P769 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Maybe we can load up cyanogenmod with the stock kernel a-la 2nd init with this method. THANKS
Well nice thought, but I think it wont work. I think so for a simple reason. We already tried that over at the p970 forum. I dont really remember of the dev who tried it, but it was either navossoc or xonar, if I remember correctly. He said something like, it s possible to extract the bin files, but he receives some nonsense code and doesnt know, how to interpret and put them back together. If you need the source, pm me please and I ll look it up
Sent from my LG-P760 using xda app-developers app

Categories

Resources