• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

OC kernel

SlasherVRGR

Newbie
Is anyone working on one? If no.. why not? I'm almost positive we could get these things up to 1.1 or higher with a good kernel.
 
Is anyone working on one? If no.. why not? I'm almost positive we could get these things up to 1.1 or higher with a good kernel.
samsung source code for the kernel wont compile in a bootable state.:mad:

Few people have worked on it but nothing they have tried (yet) has been bootable and without that there will be no OC kernel
 
I was just snooping around in root explorer and stumbled upon /sys/devices/system/CPU/cpu0/cpufreq Its full of scaling info and other CPU stats if we could change these files would it result in an oc? O.o
 
Also I just checked my Droid x and it has a file that my prevail doesn't. Its called scaling_available_frequencies.. idk I'm desperate, I loved ocing my Droid and Droid x and finding what the best vsel and frequency combos were. Ill gladly be a Guinea pig to any pre alphas or betas of a kernel out there lol
 
those files are there stock, its how android knows what frequencies are there for it to scale to :) as such you dont wnat your phone running at 800mhz while the screen is off.... youd kill a lot of battery like that ;)

that being said you could however echo "600000" > /sys/devices/system/CPU/cpu0/max_scaling_freq

i think tahts the name of the file at least.. sorry its been a while :P

and that will set your max at 600mhz ;) who needs setcpu now ;P
 
Thanks for the insightful information, I take it though that setting Max to say 1000000 wouldn't run it at 1ghz? Also I've never written any android code but I did VB and C# in high school I may do some research and attempt to mod my own kernel.. I have nearly unlimited free time as I'm laid off until may or April :P
 
Thanks for the insightful information, I take it though that setting Max to say 1000000 wouldn't run it at 1ghz? Also I've never written any android code but I did VB and C# in high school I may do some research and attempt to mod my own kernel.. I have nearly unlimited free time as I'm laid off until may or April :P

nah, the cpu has a max of 800 mhz set in the cpufreq driver before compiling source code. Pretty gay if u ask me, I have tried repeatedly to get a working source compiled, and failed. The problems I am getting are with the touchscreen drivers that samsung has in this source... its like a bootleg of another samsung phone's source code.. Like they halfassed distribution of the source code... needless to say the source code samsung released isnt the same source they used when distributing the prevail, which is why nobody has created an OC kernel yet. I have been looking for a phone that is alot like the prevail, so i can use the touchscreen drivers from their source code, but i cant seem to find one. I know the samsung galaxy player 5 has the same touchscreen as the prevail, and they use the same driver (cypress tma340 touchscreen driver). Ima try that route and try porting the driver to be used with the prevail. what a pain in the a$$ to get a working source out of this thing...
 
I just came to ask about the source and were I would download it :P and read that its all botched up and what have you... here's another interesting question that will probably get me flamed.. but why can't we decompile the kernel from the boot.img file..? There has got to be some way to do it..? That would make this easy mode :P
 
I just came to ask about the source and were I would download it :P and read that its all botched up and what have you... here's another interesting question that will probably get me flamed.. but why can't we decompile the kernel from the boot.img file..? There has got to be some way to do it..? That would make this easy mode :P

all you would get when u take apart the boot.img is the ramdisk and the zImage which is the binary of the kernel. cant take that apart and decompile because it's missing all the necessary headers. Also, to get the source you go to https://opensource.samsung.com/index.jsp .
 
first and foremost let me clear the air. overclocking isnt done by

echo "herpderp 1zillion gigahertz" > cpu1/supa/speed/overclock.txt

if you want any idea on how much overclocking entails... check out this link
https://github.com/Shabbypenguin/Photon-Kernel/commit/a791da5650f39fa2b416e0d45791131a6c69d8db

also read the commit and stuff ;P thats just a 0.1 ghz increase ;)

keep in mind this was nice and easy because i could take most of the code and copy/paste it from the atrix.. you guys are a whole new cpu/chipset it would take a good bit to try and make the oc code and then test out new frequencies ;)
 
I didn't mean any offense by asking why it wasn't there. I just mean if he was able to make a kernel how come no one else can get a working one together..? Again, I'm not trying to put anyone down, I'm just curious.

Edit: I hate how small the keys are on the stock gb keyboard :P
 
I didn't mean any offense by asking why it wasn't there. I just mean if he was able to make a kernel how come no one else can get a working one together..? Again, I'm not trying to put anyone down, I'm just curious.

Edit: I hate how small the keys are on the stock gb keyboard :P
the kernel is in 2 parts, the zimage, which is where the overclocking and several other things are handled and then the ramdisk
which is where modules, for ext4 specifically and the rc.init are at.

the zimage is not able to be built from scratch we can only use the official samsung version
 
I didn't mean any offense by asking why it wasn't there. I just mean if he was able to make a kernel how come no one else can get a working one together..? Again, I'm not trying to put anyone down, I'm just curious.

Edit: I hate how small the keys are on the stock gb keyboard :P

oh there is no offense. im just clearing out some info :) earlier you had asked about frequencies etc


new optimus explained it all really imagine if you iwll we have a zip file, in the zip file are a bunch of config files and a exe. those config files can do some fairly cool things but in order to edit the game and change the really good stuff... you need to be able to make the exe :/
 
oh there is no offense. im just clearing out some info :) earlier you had asked about frequencies etc


new optimus explained it all really imagine if you iwll we have a zip file, in the zip file are a bunch of config files and a exe. those config files can do some fairly cool things but in order to edit the game and change the really good stuff... you need to be able to make the exe :/


With that being said the Linux kernel the official one not android is comeing to are phones if u make a kernel u have to build it on the device try building it on the prevail and see if it works
 
With that being said the Linux kernel the official one not android is comeing to are phones if u make a kernel u have to build it on the device try building it on the prevail and see if it works

Problem there is the source is bigger than the phone's memory.
 
the kernel is in 2 parts, the zimage, which is where the overclocking and several other things are handled and then the ramdisk
which is where modules, for ext4 specifically and the rc.init are at.
I understand this part. Two days ago I found and used a tutorial on how to decompile the boot.img file. I got 3 files boot.img-ramdisk, boot.img-ramdisk.gz, and boot.img-kernel.

Then found and used a tut on how to decompile the ramdisk using the console in slitaz and found the system, sys, folders and etc.

Anyway my point was why can't we decompile the zimage.. the real kernel part. I may have to kidnap someone from Samsung and demand a better source :P
 
Problem there is the source is bigger than the phone's memory.


Not on ur SD card u don't put a kernel slice on ur PC's internel memory to buld it I cut my finger at work yesterday I had.to have 5 stochastic and I'm on some strong stuff other I would try my methods as I stated b4 I've bult custom kernels.all.the time.
 
Not on ur SD card u don't put a kernel slice on ur PC's internel memory to buld it I cut my finger at work yesterday I had.to have 5 stochastic and I'm on some strong stuff other I would try my methods as I stated b4 I've bult custom kernels.all.the time.

what?

you cant just take the linux kernel and stuff it on your phone
 
I understand this part. Two days ago I found and used a tutorial on how to decompile the boot.img file. I got 3 files boot.img-ramdisk, boot.img-ramdisk.gz, and boot.img-kernel.

Then found and used a tut on how to decompile the ramdisk using the console in slitaz and found the system, sys, folders and etc.

Anyway my point was why can't we decompile the zimage.. the real kernel part. I may have to kidnap someone from Samsung and demand a better source :P


The zImage is a binary file, cant decompile binary files, u can hex edit it, but cant decompile it
 
what?

you cant just take the linux kernel and stuff it on your phone

What u can do is put it on the SD card build it from there not stuffing it in the phone internel
Yea u can you can build a kernel for anything anymore instead of trying the original kernel hybrid with the Unix kernel maybe the reason why we don't have some scripts is because you need both android is a Linux just a forked kernel I know for sure that u can do anything u set your skills to
 
What u can do is put it on the SD card build it from there not stuffing it in the phone internel
Yea u can you can build a kernel for anything anymore instead of trying the original kernel hybrid with the Unix kernel maybe the reason why we don't have some scripts is because you need both android is a Linux just a forked kernel I know for sure that u can do anything u set your skills to

what you are talking about is booting a kernel of fteh sd card that alone would requires ENORMOUS amounts of time just to even get that much going. let alone then taking generic linux and making it fit and work on android, then making it run on the prevail is a whole nother elephant to tackle :/

dual boot is entirly possible... just not sure if its worth teh giant hassle so that people can boot a rom off their sdcard (considering there isnt a whiole lot of difference between stock/cm7 in terms of looks) :/
 
what you are talking about is booting a kernel of fteh sd card that alone would requires ENORMOUS amounts of time just to even get that much going. let alone then taking generic linux and making it fit and work on android, then making it run on the prevail is a whole nother elephant to tackle :/

dual boot is entirly possible... just not sure if its worth teh giant hassle so that people can boot a rom off their sdcard (considering there isnt a whiole lot of difference between stock/cm7 in terms of looks) :/


Well I was looking on the net and saw that the Unix kernel is comeing to android 4,0 if u build a generic kernel make it small see if it boots u have an ideal yes it is work yes its time consumption and yes I haven't developed for android only because.I'm gonna be a father and I tackled my finger so I scanty type with two hands but if I could ibwould helping to take off the limttations on are phones

http://www.google.com/url?sa=t&sour...pF_VQGh8tG_b-1gdw&sig2=8abhfJnsJg62wNpdt4VN0g try thus if u haven't already
And this http://www.google.com/url?sa=t&sour...Ys4wUmVNtdtqHfzqQ&sig2=deT3Mm-Wp7tpYbOLDbUGgQ
 
Back
Top Bottom