[CALLING ALL Devs/Advanced Users][HELP NEEDED] Let's overclock S5360! - Galaxy Y GT-S5360 General

Hello,the title describes this thread's reason.
i need help oc'ing this device.
let's start.
In arch/arm/mach-bcm215xx/board-totoro.c,i found some intersting lines
Code:
static struct regulator_init_data dldo3_init_data = {
.constraints = {
.min_uV = 1800000,
.max_uV = 3000000,
.valid_ops_mask = REGULATOR_CHANGE_VOLTAGE |
REGULATOR_CHANGE_STATUS,
.always_on = 0,
.boot_on = 0,
and several such lines.But nowhere did i find clock frequencies(only voltages)
also,i found this-
Code:
#if defined(CONFIG_TARGET_LOCALE_AUS_TEL)
static u32 TempAdcTable[] = { 775,721,664,602,541,479,420,366,315,270,230,196,166,141,119,100,93,88,};
#else
static u32 TempAdcTable[] = { 786,732,674,612,550,488,428,373,322,276,236,201,171,145,123,104,97,91,};
#endif
static u32 TempDegreeTable[] ={-10,-5, 0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 63,65,67,};
wonder what this could be?

another intesting folder is arch/arm/plat-bcmap

very interesting.
*trying to absorb the lines of code*

Anyone????

c'mon eaglerazor123 and pratyush.creed!
and here in something interesting in clock-21553.c
Code:
static u32 clk_armahb_reg_to_arm11_freq_mapping[] = {
FREQ_MHZ(52),
FREQ_MHZ(156),
FREQ_MHZ(104),
FREQ_MHZ(104),
FREQ_MHZ(156),
FREQ_MHZ(13),
FREQ_MHZ(26),
FREQ_MHZ(312),
FREQ_MHZ(312),
FREQ_MHZ(156),
FREQ_MHZ(156),
FREQ_MHZ(312),
FREQ_MHZ(312),
FREQ_MHZ(468),
FREQ_MHZ(468),
FREQ_MHZ(624)
};
but the catch is that i can't find the OPP/PLL for 832 Mhz(that's what the phone is clocked at,right?)

sakindia123 said:
c'mon eaglerazor123 and pratyush.creed!
and here in something interesting in clock-21553.c
Code:
static u32 clk_armahb_reg_to_arm11_freq_mapping[] = {
FREQ_MHZ(52),
FREQ_MHZ(156),
FREQ_MHZ(104),
FREQ_MHZ(104),
FREQ_MHZ(156),
FREQ_MHZ(13),
FREQ_MHZ(26),
FREQ_MHZ(312),
FREQ_MHZ(312),
FREQ_MHZ(156),
FREQ_MHZ(156),
FREQ_MHZ(312),
FREQ_MHZ(312),
FREQ_MHZ(468),
FREQ_MHZ(468),
FREQ_MHZ(624)
};
but the catch is that i can't find the OPP/PLL for 832 Mhz(that's what the phone is clocked at,right?)
Click to expand...
Click to collapse
I am no dev, but yeah..
Processor : ARMv6-compatible processor rev 5 (v6l)
BogoMIPS : 832.90
Features : swp half thumb fastmult vfp edsp java
CPU implementer : 0x41
CPU architecture: 6TEJ
CPU variant : 0x1
CPU part : 0xb36
CPU revision : 5
Hardware : BCM21553 ThunderbirdEDN31 platform
Revision : 0000
Serial : 0000000000000000
$

sakindia123 said:
c'mon eaglerazor123 and pratyush.creed!
and here in something interesting in clock-21553.c
Code:
static u32 clk_armahb_reg_to_arm11_freq_mapping[] = {
FREQ_MHZ(52),
FREQ_MHZ(156),
FREQ_MHZ(104),
FREQ_MHZ(104),
FREQ_MHZ(156),
FREQ_MHZ(13),
FREQ_MHZ(26),
FREQ_MHZ(312),
FREQ_MHZ(312),
FREQ_MHZ(156),
FREQ_MHZ(156),
FREQ_MHZ(312),
FREQ_MHZ(312),
FREQ_MHZ(468),
FREQ_MHZ(468),
FREQ_MHZ(624)
};
but the catch is that i can't find the OPP/PLL for 832 Mhz(that's what the phone is clocked at,right?)
Click to expand...
Click to collapse
Lol! I'm Not a Kernel Dev! I Only Compiled ICS kernel! I'll Look Into it! Just Pm'd a recognzd dev frnd of mine! I'll let you know!

eaglerazor123 said:
Lol! I'm Not a Kernel Dev! I Only Compiled ICS kernel! I'll Look Into it! Just Pm'd a recognzd dev frnd of mine! I'll let you know!
Click to expand...
Click to collapse
What do u mean?compile ics kernel,not a kernel dev......

sakindia123 said:
What do u mean?compile ics kernel,not a kernel dev......
Click to expand...
Click to collapse
I Compiled ICS Kernel from source Once or twice! i Didn't Add OC To It Or Some other features to it! So,I'm N00b at Kernels ! I Told You i have contacted someone! So i'll def look into it!

If it's qualcomm processor, take a look in the acuclock file under /arch/arm/mach-msm

it's broadcom processor.. new soc...

qualcomm's are the easiest to overclock,just a speed hack.
Galaxy Y uses the 'Totoro' board,which is bcm21553
The overclocking code whould be found in plat-bcmap/bcm_cpufreq.c,and it does call a cpu freq table,but i can't find that darn table.

sakindia123 said:
qualcomm's are the easiest to overclock,just a speed hack.
Galaxy Y uses the 'Totoro' board,which is bcm21553
The overclocking code whould be found in plat-bcmap/bcm_cpufreq.c,and it does call a cpu freq table,but i can't find that darn table.
Click to expand...
Click to collapse
erm.. this? https://github.com/sakindia123/Cranium_S5360/blob/master/common/drivers/cpufreq/freq_table.c

noobwithgalaxyy said:
erm.. this? https://github.com/sakindia123/Cranium_S5360/blob/master/common/drivers/cpufreq/freq_table.c
Click to expand...
Click to collapse
no
it usually is somewhere in arch/arm/(board-name)

sakindia123 said:
no
it usually is somewhere in arch/arm/(board-name)
Click to expand...
Click to collapse
just wanted to help
btw, I went through most of the files and only direct mention to frequencies was in the governor file /mach/bcm21553_cpufreq_gov.h :/

hi friend
i notice we have already got overclock on 5360 ...
but i'm currently trying to work on S6120 (i.e. Galaxy Y Duos)
it uses same processor bcm-21553
so overclocking and enabling 624mhz etc should work here too
i just want to know what changes are need to clock-21553.c file to get other frequencies working??
i have developed only snapdragon kernels till now and the bcm clock file is giving me headaches
any help will be appreciated
the kernel sources for S6102 i have pushed to github (as of now, without any changes at all made to original sources..totally untouched)
https://github.com/championswimmer/kCernel-S6120

vivekalady has already succed oc sgy to 900 mhz but all the result shows that the overall performance is decreased. the same result is also observed in mar-oc's test. when the freq is set to 1ghz it run a lot slower.

kurotsugi said:
vivekalady has already succed oc sgy to 900 mhz but all the result shows that the overall performance is decreased. the same result is also observed in mar-oc's test. when the freq is set to 1ghz it run a lot slower.
Click to expand...
Click to collapse
lets see...maybe my kernel can fare better...
I'll work with vivek's and maroc's help only as I'm new to broadcomm SoC ...
we have no dev at S6120 .... so we dearly need a custom kernel there.... to add tun/tap, ext support, governors and schedulers blah blah...
Sent from my X10S using xda premium

championswimmer said:
lets see...maybe my kernel can fare better...
I'll work with vivek's and maroc's help only as I'm new to broadcomm SoC ...
we have no dev at S6120 .... so we dearly need a custom kernel there.... to add tun/tap, ext support, governors and schedulers blah blah...
Sent from my X10S using xda premium
Click to expand...
Click to collapse
Our kernel cant work on yours???
Sent from my GT-S5360 using XDA

hell_lock said:
Our kernel cant work on yours???
Sent from my GT-S5360 using XDA
Click to expand...
Click to collapse
nope has to compiled separately....
the cpu portion is same but ril (read gsm, data, hspa etc etc) is not same as it has dual active module... so needs separate compiling
Sent from my X10S using xda premium

Related

[Kernel][Sense]2.6.35.14/OC/UV/CFS/Vdd_sysfs

Freq & Voltages:
245760: 900
368640: 925
768000: 1000
1024000: 1050
1113600: 1075
1209600: 1125
1305600: 1175
1401600: 1225
1497600: 1250
1516800: 1250
1612800: 1350
1708800: 1400
1804800: 1425
Kernel Features:
LZMA
Ext4
TUN
CIFS
SLBQ
Tiny_RCU_Preempt
SCHED_AUTOGROUP backport to 2.6.35
VDD & Smartass Sysfs see here for use
Audio Moderately Increased
Readahead to 4096
Numerous compiler optimizations
Kernel max boot freq set @ 1024mhz
Kineto_gan incase we have some sim-unlocked on t-mobile(still will need userspace stuff)
Some Code Aurora Foundation FS & QSD optimizations
Almost all debugging turned off
Governors:
greaselightning
superbad
scary
smartass
minmax
conservative
ondemandX
powersave
ondemand - default
performance
Thanks & Credits in no particular order:
Umaro
Thederekjay
Ziggy471
Imoseyon
Erasmux
Cyanogenmod Team
Tiamat
changelog:
#17 Had included mismatched wifi module in #16 and fixed install zip to handle ext4 /system partitions also.
#18
Removed sysfs tuneables for smartass
Fixed smartass gov that didn't scale properly. Just like interactive gov that I didn't include smartass has random lockups at freqs above 1612mhz especially @ 1804mhz.
Added smartassV2 this newer revision of smartass does not have the lockups at highest freq like original smartass does.
#21 This one is for sense 2.3.4+ only usb mounting is fixed for 2.3.4+
GPL Source
Download section:
Beta Unsigned:
inc2_2.6.35.14#16-gnm.zip
inc2_2.6.35.14#17-gnm.zip
inc2_2.6.35.14#18-gnm.zip
inc2_2.6.35.14#21-2.3.4.zip
Nicely done. Sense needs kernel like tiamat.
have to try it!
Sent from my HTC Incredible 2 using XDA Premium App
<---- totally ignorant here. Is this for sense 2.1 or 3.0?
Sent from my cyanogen(mod) turbocharged Incredible 2
Clutch McWinner said:
<---- totally ignorant here. Is this for sense 2.1 or 3.0?
Sent from my cyanogen(mod) turbocharged Incredible 2
Click to expand...
Click to collapse
Both. Can be used on either
Clutch McWinner said:
<---- totally ignorant here. Is this for sense 2.1 or 3.0?
Sent from my cyanogen(mod) turbocharged Incredible 2
Click to expand...
Click to collapse
doesnt matter, as long as its 2.3.3 sense based rom
nitsuj17 said:
doesnt matter, as long as its 2.3.3 sense based rom
Click to expand...
Click to collapse
Only matters that its a gingerbread sense rom. 2.3.x sublevel doesnt matter.
Thanks , can you advise me the right voltage to increase my battery life with it ?
I will give it a try
EDIT : i got connection closed but the server , can you please upload it in megaupload ?
zozor said:
Thanks , can you advise me the right voltage to increase my battery life with it ?
I will give it a try
EDIT : i got connection closed but the server , can you please upload it in megaupload ?
Click to expand...
Click to collapse
Its already undervolted. Power users can adjust it even more via sysfs.
Stock voltages were:
245760 1000 100mv undervolt on mine
368640 1050 125mv undervolt on mine
768000 1100 100mv undervolt on mine
1024000 1200 150mv undervolt on mine
1305mhz is running at 1175mv which a 25mv undervolt from the stock voltage at 1024mhz.
Can you make a megaupload link , i cant download .
How does greased lightning governor work? And ondemandx. I've heard of the others
Sent from my ADR6350 using XDA App
Anyone can make a megaupload link for me please ?
So far so good. Initially had a lockup in SetCPU but after battery pull all is good. Hope the undervolting adds a little to my already awesome battery life.
Anyone can make a megaupload link for me please ?
I cant download the link in my way
zozor said:
Anyone can make a megaupload link for me please ?
I cant download the link in my way
Click to expand...
Click to collapse
Yes.
http://www.multiupload.com/MVY42UF32I
megaupload- http://www.multiupload.com/MU_MVY42UF32I
Thanks Andy
zozor said:
Thanks Andy
Click to expand...
Click to collapse
anytime man.
droidxplorer said:
So far so good. Initially had a lockup in SetCPU but after battery pull all is good. Hope the undervolting adds a little to my already awesome battery life.
Click to expand...
Click to collapse
+1
Sent from my ADR6350 using xda premium
anyone else achieving a surreal performance with this? it's INSANE....... wow.

Stock Kernel 2.26.401.3 OC 806Mhz (source: marvel-s-gb-mr-2.6.35-696f19b.tar.gz)

here is the bare stock 2.26.401.3 Updated 806Mhz OC kernel: http://www.2shared.com/file/Y-kesdt0/OCkernel235_806Mhz_Stock_NEW.html
antutu score 2.26.401.3 600Mhz no_adreno: 1593
cpu 328 ram 95
gpu 785 i/o 385
ram 95
cpu integer 186
cpu float 142
2d graph 306
3d graph 479
database 125
sd write 76
sd read 184
-----------------------------
antutu score 2.26.401.3 806Mhz no_adreno: 1880
cpu 460 ram 132
gpu 839 i/o 449
ram 132
cpu integer 267
cpu float 193
2d graph 306
3d graph 533
database 175
sd write 150
sd read 124
-----------------------------
on 2.14.401.1 I was getting around 1940 points with 806mhz oc and new adreno libs (http://forum.xda-developers.com/showthread.php?t=1539281), but the new score is good enough for me.
P.S. this kernel is stock (without swap, ext..., etc). If you want more space on your phone, I advise to use SystemCleanup from GooglePlay (you can long press on any system app and choose "update system app" for any stock app, EXCEPT for updated HTC clock widget - it will break it). If you need other frequency... tough luck, you have to do it yourself (http://forum.xda-developers.com/showthread.php?t=1500419)
Default setting is 480-800Mhz Ondemand Deadline ?
Wifi doesn't work on mine with this kernel!!
On my device everything works.
not working for me
Zlobizlob said:
not working for me
Click to expand...
Click to collapse
Wifi is not working or whole kernel ? Do you have 2.26.401.3 version ?
Zlobizlob said:
not working for me
Click to expand...
Click to collapse
if the phone is not loading after flashing, either you did not install 2.26 update or your phone does not support overclocking to 806Mhz. Kernel is bare stock, so all stock functions will work.
Rioachim, default setting is 480-800 Ondemand deadline ?
miso00 said:
Rioachim, default setting is 480-800 Ondemand deadline ?
Click to expand...
Click to collapse
Yes, 480-806 ondemand, but it goes to 245 in sleep and also has htc stock perflock driver which I noticed it increases out-of-sleep response without affecting battery as much as smartass (personal opinion only)
miso00 said:
Wifi is not working or whole kernel ? Do you have 2.26.401.3 version ?
Click to expand...
Click to collapse
sorry, kernel not working, freezing at start
i have 2.26.401.3, root, unlocked
Zlobizlob said:
sorry, kernel not working, freezing at start
i have 2.26.401.3, root, unlocked
Click to expand...
Click to collapse
then you are the unlucky owner of a lazy Wildfire S
Not impressed at all.
First of all, to any that were complaining their WiFi broke after applying this kernel, mine works just fine. That is the (only) good news.
The kernel itself isn't that useful. You've got a LIMITED amount of frequencies (19 Mhz? For real?) The only overclocked speed is 806Mhz. And finally, when I set CPU options with No-Frills, the settings don't stick (in fact, they are translated wrong.) I pick 600 Mhz max, but the kernel runs at 806 Mhz max. (wtf?)
This kernel might be good for some phone, but not our Wildfire S.
Soon, marvel will be part of the cm project. So, a new working kernel will be around.
Sent from my Wildfire using Tapatalk 2
Tigger31337 said:
Not impressed at all.
First of all, to any that were complaining their WiFi broke after applying this kernel, mine works just fine. That is the (only) good news.
The kernel itself isn't that useful. You've got a LIMITED amount of frequencies (19 Mhz? For real?) The only overclocked speed is 806Mhz. And finally, when I set CPU options with No-Frills, the settings don't stick (in fact, they are translated wrong.) I pick 600 Mhz max, but the kernel runs at 806 Mhz max. (wtf?)
This kernel might be good for some phone, but not our Wildfire S.
Click to expand...
Click to collapse
Come on, this is STOCK kernel. (which has perflock and NO settings = SetCPU does NOT work, as in original kernel).
This kernel is not for you, it's for people which have better things to do than trying frequencies/governors (kernel only has top speed modified from 600Mhz to 806Mhz, that's all!!!).
my phone is not working with this kernel.. i need to flash a new ROM now
pongping88 said:
my phone is not working with this kernel.. i need to flash a new ROM now
Click to expand...
Click to collapse
Or flash other kernel.
Press thank's if i helped you !

Smarreflex - Values explained +1350mv calibration fix

Ok dears, I accidentally came across this. Now there is nothing smart about smartreflex.
voltage.h contains values about min and max range for smartreflex calibrations for CORE IVA and MPU, that we already knew...
Now I found this:
http://gitorious.org/pandroid/kerne...a10c87d6445/arch/arm/mach-omap2/smartreflex.c
Let's quit fooling around:
/* Default steps added for 1G volt is 5 in uV */
static unsigned long sr_margin_steps_1g = 62500;
/* Default steps added for less than 1G OPP's is 3 in uV*/
static unsigned long sr_margin_steps = 37500;
Click to expand...
Click to collapse
Does this explain enough for you? Below 1ghz each step is 3.7500, above it is 6.25
You don't get it?
static void sr_add_margin_steps(struct omap_sr *sr)
{
int i;
/*
* Add 5 steps for 1g and 3 steps for other OPP's by default
* REVISIT: Make it configurable through sysfs dynamically
*/
for (i = 1; i <= 3; i++)
sr1_opp_margin = sr_margin_steps;
sr1_opp_margin[4] = sr_margin_steps_1g;
for (i = 1; i <= MAX_VDD1_OPP; i++) {
printk(KERN_INFO "sr1_opp_margin[%d]=%ld\n", i,
sr1_opp_margin);
mpu_opps.sr_vsr_step_vsel = 0x0;
mpu_opps.sr_adjust_vsel = 0x0;
}
printk(KERN_INFO "steps added, volt will be"
"recaliberated automatically\n");
}
Click to expand...
Click to collapse
How did that translate for you? Is that just hardcoded to read the OPP table??? The first three elements in the MPU OPP table are below 1GHZ: 350, 700, 920
The rest is above...
I hope I helped some developers with this.
Since I'm no programmer I'm having a hard time to understand this.
Does it mean smartreflex is not good at all?
For me I hate smartreflex. I always get better battery uptime (especially in standby I get around 0.5% usage per hour) when I undervolt by myself.
When I use smartreflex my usage in standby is about 3 to 5%.
In my opinion smartreflex is for noobs who don't wanna fool around themselves...
Gesendet von meinem Galaxy Nexus mit Tapatalk 2

GPU overclocking for the Hercules possibly?

Anybody know if the GPU overclocking method listed here with work on our phones? I pulled it from the instigator X page
GPU Overclocking
GPU is stock clocked at [email protected] & [email protected] (default).
Example: To increase maximum GPU frequency in 3D mode to 320 MHz:
echo 320000000 > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/max_gpuclk
Example: To increase maximum GPU frequency in 2D mode to 266 MHz:
echo 266667000 > /sys/devices/platform/kgsl-2d0.0/kgsl/kgsl-2d0/max_gpuclk
echo 266667000 > /sys/devices/platform/kgsl-2d1.1/kgsl/kgsl-2d1/max_gpuclk
Available frequencies:
3D: 320000000, 300000000, 266667000, 228571000, 200000000, 177778000, 27000000
2D: 266667000, 228571000, 200000000
This isn't my work!!! All credit for this snipet goes to TamCore @ https://github.com/TamCore
ian577416 said:
Anybody know if the GPU overclocking method listed here with work on our phones? I pulled it from the instigator X page
GPU Overclocking
GPU is stock clocked at [email protected] & [email protected] (default).
Example: To increase maximum GPU frequency in 3D mode to 320 MHz:
echo 320000000 > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/max_gpuclk
Example: To increase maximum GPU frequency in 2D mode to 266 MHz:
echo 266667000 > /sys/devices/platform/kgsl-2d0.0/kgsl/kgsl-2d0/max_gpuclk
echo 266667000 > /sys/devices/platform/kgsl-2d1.1/kgsl/kgsl-2d1/max_gpuclk
Available frequencies:
3D: 320000000, 300000000, 266667000, 228571000, 200000000, 177778000, 27000000
2D: 266667000, 228571000, 200000000
This isn't my work!!! All credit for this snipet goes to TamCore @ https://github.com/TamCore
Click to expand...
Click to collapse
Yes, and has already been done. I believe this is applied to all of Faux's TW kernels. In addition, I believe TDJ was including this in his Darkside kernels as well.
Rod3 said:
Yes, and has already been done. I believe this is applied to all of Faux's TW kernels. In addition, I believe TDJ was including this in his Darkside kernels as well.
Click to expand...
Click to collapse
Thank you for clearing that up for me. I wasn't trying to post it as a method in of itself for my credit. I just wondered if it works.
Gah i wanna do this but cm9 won't let me change the values. The file just reverts to its prior setting :-/
Sent from my SAMSUNG-SGH-T989 using xda premium
RushAOZ said:
Gah i wanna do this but cm9 won't let me change the values. The file just reverts to its prior setting :-/
Sent from my SAMSUNG-SGH-T989 using xda premium
Click to expand...
Click to collapse
I flashed Instigators kernel over 9.1 and I notice a difference. Also there is more than just a Boot.img in the zip so I think it patched stuff to allow you to mod your gpu

[KERNEL] AlterNdromadus 3.0.x JB (CM10+, AOSP 4.x, SlimBean) R11 [3.0.101][25/03/14]

I will try to keep this up to date. I'm not a developer, I like mucking about with stuff.
Please give feedback, in the very least just vote on the poll, and I am entirely open to suggestions! I would love to hear from you.
Please try to keep this thread tidy, and if you're reporting issues then logs and a last_kmsg would be greatly appreciated.
Lastly, I hope you enjoy this kernel, attached below, and info about compiling in post #2.
-{ AlterNdromadus }-
This is ultimately tweaked for performance. Therefore if a governor, for example, has (tweaked) next to it, it is likely to be more so towards the performance side.
None of these features should really have a negative impact on battery life, however, in fact some should improve it.
Any orange text shows where updates have occured
-{ For Android JB 4.1.x - 4.2.x | CM10 - CM10.1 | SlimBean | MIUI V5 }-
3.0.101
Latest Andromadus source: 24/08/13
...also cherry-picked new stuff from the andromadus_4.4 branch
Built with @Christopher83 's latest Custom toolchain and -O2 optimizations
Governors: Interactive, Ondemand, Conservative, Performance, Powersave, Userspace, Dynamic Interactive
I/O Schedulers: Noop, CFQ, BFQ, Deadline (tweaked), ROW, Zen (default)
More frequencies (see frequency table below)
Undervolted frequencies below 1.4GHz (See frequency table below)
Frequency table:
Code:
static struct clkctl_acpu_speed acpu_freq_tbl[] = {
{ 0, 24576, LPXO, 0, 0, 30720000, 800, VDD_RAW(800) },
{ 0, 61440, PLL_3, 5, 11, 61440000, 800, VDD_RAW(800) },
{ 0, 122880, PLL_3, 5, 5, 61440000, 800, VDD_RAW(800) },
{ 0, 184320, PLL_3, 5, 4, 61440000, 800, VDD_RAW(800) },
{ 0, MAX_AXI_KHZ, AXI, 1, 0, 61440000, 800, VDD_RAW(800) },
{ 1, 245760, PLL_3, 5, 2, 61440000, 800, VDD_RAW(800) },
{ 1, 368640, PLL_3, 5, 1, 122800000, 800, VDD_RAW(800) },
{ 1, 544000, PLL_2, 3, 0, 122800000, 900, VDD_RAW(900), &pll2_tbl[0] },
{ 1, 600000, PLL_2, 3, 0, 122800000, 925, VDD_RAW(925), &pll2_tbl[1] },
/* AXI has MSMC1 implications. See above. */
{ 1, 768000, PLL_1, 2, 0, 153600000, 950, VDD_RAW(950) },
{ 1, 806400, PLL_2, 3, 0, 192000000, 1025, VDD_RAW(1025), &pll2_tbl[2]},
/* AXI has MSMC1. End */
{ 1, 1024000, PLL_2, 3, 0, 192000000, 1100, VDD_RAW(1100), &pll2_tbl[3]},
{ 1, 1200000, PLL_2, 3, 0, 192000000, 1100, VDD_RAW(1100), &pll2_tbl[4]},
{ 1, 1305600, PLL_2, 3, 0, 192000000, 1200, VDD_RAW(1200), &pll2_tbl[5]},
{ 1, 1401600, PLL_2, 3, 0, 192000000, 1250, VDD_RAW(1250), &pll2_tbl[6]},
{ 1, 1516800, PLL_2, 3, 0, 192000000, 1300, VDD_RAW(1300), &pll2_tbl[7]},
{ 1, 1612800, PLL_2, 3, 0, 192000000, 1400, VDD_RAW(1400), &pll2_tbl[8]},
{ 1, 1708800, PLL_2, 3, 0, 192000000, 1400, VDD_RAW(1400), &pll2_tbl[9]},
{ 1, 1804800, PLL_2, 3, 0, 192000000, 1450, VDD_RAW(1450), &pll2_tbl[10]},
{ 1, 1920000, PLL_2, 3, 0, 192000000, 1500, VDD_RAW(1500), &pll2_tbl[11]},
{ 1, 2016000, PLL_2, 3, 0, 192000000, 1550, VDD_RAW(1550), &pll2_tbl[12]},
{ 0 }
};
CPU Idle PM
2 Phase Ondemand
Preemptible UP-only small-memory-footprint RCU
RCU Priority boosting
Disabled disable heap randomization
Disabled various unneeded debugging stuff
Tons more stuff, see GitHub
-{ CHANGELOG }-
14/03/25 R11 - 3.0.101
I said I wouldn't update this... WELL I lied, deal with it.
Updated with lots of cherry-picks from the latest andromadus_4.4 branch
No more Lionheart (anyone mind?)
Zen scheduler
GPU OC
Simple GPU governor
new toolchain
more optimizations cherry-picked
GO HERE FOR ALL THE CHANGED THINGIES
(R10 still attached here for Justin Case)
13/10/04: R10 - 3.0.93
Updated to latest Andromadus source
Removed governors: asswax, lulzactive,
Added governor: Lionheart
Removed GPU OC
Removed some stuff which either sucked or didn't work
Sorry for the wait
13/07/04: R9 - 3.0.85
Fixed GPU 2D OC
Removed lowmemorykiller 3.9
Disabled an absolute ton of useless tracers and debugging stuff
Disbale cleancache (Somehow got reenabled at some point)
More stable, should have fixed reboots and performance issues
-{ CREDITS }-
The Andromadus team for their amazing source
@kylon for putting up with my incompetence and helping me far too much ( sorry!) and for lots of tweaks
@franciscofranco for his kernel source, I copied some tweaks
@Christopher83 for the toolchain
@bbedward for the Zen scheduler
@Shaky156 for the GPU stuff
The XDA community
Any one else I've forgotten, thank you so much​
RE: [KERNEL] AlterNdromadus 3.0.x CM10.1 R1 [3.0.79][22/05/13]
-{ AlterNdromadus SOURCE }-
(Click on the GitHub Logo ^ for AlterNdromadus source)
Of course this is just forked from the mighty Andromadus htc7x30-3.0 kernel source so check that out as well.
-{ PREREQUISITES TO COMPILATION }-
Firstly, you need to know how to use Github. Read @eagleeyetom 's guide. Also read here so you know how to update to the latest Andromadus/my source.
Secondly, to update to the latest kernel version go to CodeAurora, then the boring bit: go through each update individually, click on patch, copy the contents into a file and apply the patch. (see how to do this in the guides below).
Thirdly, don't use the Android NDK, it won't work and Linaro is better anyway. Download the latest Linaro toolchain HERE and specify your path like so:
Code:
export CROSS_COMPILE=/home/PUT_YOUR_USERNAME_HERE/WHATEVER_SUBDIRS_YOU_PLACED_IT_IN/android-toolchain-eabi/bin/arm-eabi-
Last of all, if you're using my source, the AlterNdromadus config is vision_altern_defconfig . This has all the options enabled featured in the OP.
-{ COMPILATION }-
So, you're all set up and now you want to compile your own kernel from mine or the original Andromadus source? Here are some good guides I've found to help:
@TheWizardOfROMs 's [GUIDE] Build Your Own Android Kernel{Easiest and Fastest Way] [Using The NDK]
@thewadegeek 's [Tutorial] Building Your First Kernel
XDA University: Building a kernel from source
-{ ADDING FEATURES }-
Well, that was a bit of anticlimax... it's just like the original, but you compiled it... so you want to add some unique features?
XDA University: Adding features to your kernel
errrmm... there doesn't appear to much stuff on the web about modding kernels, so my advice is to search Github, look at other interesting source (here, here, and here), and just learn.
Have fun! ​
RE: [KERNEL] AlterNdromadus 3.0.x CM10.1 R1 [3.0.79][22/05/13]
reserved
HTCDreamOn said:
reserved
Click to expand...
Click to collapse
Is this only for AOSP or CM roms? Can I use it in Sense rom?
Yeah right! You are becoming more and more of a developer with each passing day! Just keep up the good work and you'll be a recognized developer in no time!
I'll be adding this to the aroma package for cm10.1 soon, for now keep up the good work!
And yes this is for cyanogen ROMs and should work in aosp and possibly miui but I doubt sense, feel free to try but do a nandroid first of course!
Sent from my Nexus 7 using xda premium
HTCDreamOn said:
NTFS File system support (Read-only); testers would be appreciated
Click to expand...
Click to collapse
Didn't RW support fit in the kernel?
Other than that, looks pretty cool. Good job
RE: [KERNEL] AlterNdromadus 3.0.x CM10.1 R1 [3.0.79][22/05/13]
NeverGone\RU said:
Didn't RW support fit in the kernel?
Other than that, looks pretty cool. Good job
Click to expand...
Click to collapse
I can enable writing to NTFS, I just didn't want to mess anything up, as I wasn't sure how well NTFS support would work. I'll enable it in the next release unless anyone has any problems with it.
By the way as a general note to everyone, if I'm not clicking your thanks button for giving me feedback it's 'cause I've reached my limit of 8 already.
Good job implementing the UKSM, let's hope it works well on our G2 just like it is on a desktop.
seems to be better battery life, and even faster
thanks
after flashing this kernel, my mobile turned damn slow and i cant even draw the security pattern at boot up.it seems cant even get my home page.. so lagging..
what can i do?
RE: [KERNEL] AlterNdromadus 3.0.x CM10.1 R1 [3.0.79][22/05/13]
sharptv said:
Good job implementing the UKSM, let's hope it works well on our G2 just like it is on a desktop.
Click to expand...
Click to collapse
The developers of UKSM have a test that can be run, I'll try it and see what results it gives. It should be better than normal KSM though.
patek said:
seems to be better battery life, and even faster
thanks
Click to expand...
Click to collapse
Glad you think it's working well so not the same performance problems with AndromadusMod, then? (which I haven't abandoned, just having some trouble with it)
ramprabhu19 said:
after flashing this kernel, my mobile turned damn slow and i cant even draw the security pattern at boot up.it seems cant even get my home page.. so lagging..
what can i do?
Click to expand...
Click to collapse
Sounds odd, most people are experiencing better performance. What are your settings? Governor, CPU speed, I/O scheduler, anything you've enabled/disabled under performance settings and Developer settings? If nothing seems out of place then I'll release a version without the iosettings init.d script, admittedly I haven't tested this much.
i use ondemand, with noop or deadline...and cpu speed set @ 240-1800, ROM - cm 10.1 v 22.
FORCED Hard Reboots
i tried this kernel to attempt to get rid of the daily reboot that andromadus build 21 had for me.
unfortunately when using this kernel i got forced reboots about once every 4 hours with no warning, no lag, just boom HTC logo and BZZZZ
I have linked the cause here > http://pastebin.com/YtEkpt26
the kernel seems to be reporting incorrectly as 2.6, and the kernel itself crashed and obviously took the system down for a reboot
Also would like to note that this kernel had significantly worse battery usage and lagged doing basic tasks
RE: [KERNEL] AlterNdromadus 3.0.x CM10.1 R1 [3.0.79][22/05/13]
ramprabhu19 said:
i use ondemand, with noop or deadline...and cpu speed set @ 240-1800, ROM - cm 10.1 v 22.
Click to expand...
Click to collapse
Have you got any mods installed, e.g. V6 Supercharger, Kick Ass Kerneliser, Cross Breeder, Seeder, anything else? I've just done a fresh install of B22 with this kernel and it seems fine to me, and I haven't installed anything extra apart from a keyboard remap and an apps to SD-ext script. Also, run Antutu or another benchmark app: I usually don't believe in benchmarks but if your getting obviously abysmal results then something must be wrong.
General notice: frandom isn't working by default, I'll need to edit the init.d script to autoload it. Hopefully you should see some more stuff in the next release as well :fingers-crossed: any suggestions?
RE: [KERNEL] AlterNdromadus 3.0.x CM10.1 R1 [3.0.79][22/05/13]
MissyVixen said:
i tried this kernel to attempt to get rid of the daily reboot that andromadus build 21 had for me.
unfortunately when using this kernel i got forced reboots about once every 4 hours with no warning, no lag, just boom HTC logo and BZZZZ
I have linked the cause here > http://pastebin.com/YtEkpt26
the kernel seems to be reporting incorrectly as 2.6, and the kernel itself crashed and obviously took the system down for a reboot
Also would like to note that this kernel had significantly worse battery usage and lagged doing basic tasks
Click to expand...
Click to collapse
If you already had forced reboots then I doubt that the kernel is the problem, but there's evidently something not right. I don't suppose you're using SmartassH3? I had problems with it before, but I thought I'd fixed it. Also I ran cat /proc/last_kmsg and it reports the kernel as 3.0.79 (as it should) and no errors. It sounds ridiculous, but it's as if you're not even using this kernel. It should report version 3.0.79 and gcc version 4.8, and your report says the build date was Mon 30th April 2013, it should say Wed 22nd May 2013. Try a completely fresh install of B22 with this kernel.
HTCDreamOn said:
If you already had forced reboots then I doubt that the kernel is the problem, but there's evidently something not right. I don't suppose you're using SmartassH3? I had problems with it before, but I thought I'd fixed it. Also I ran cat /proc/last_kmsg and it reports the kernel as 3.0.79 (as it should) and no errors. It sounds ridiculous, but it's as if you're not even using this kernel. It should report version 3.0.79 and gcc version 4.8, and your report says the build date was Mon 30th April 2013, it should say Wed 22nd May 2013. Try a completely fresh install of B22 with this kernel.
Click to expand...
Click to collapse
i have since wiped out /system and installed build 22. I have downloaded a kernel zip and discarded the old one, will update this post with results
--------------------------------------------------------------------------------------------------------------------
after a full wipe and install now reporting as 3.0.79, and with proper dates. maybe i had some sort of flag in my build.prop to kill error reporting ( but i dont recall that) essentially stalling it at the last rom that crash ?
this is now reporting properly, but still slow as molasses, and i am not sure why.
Scheduler is ondemand (its all i use, laptop or phone), speeds are set to stock 245/806. it just seems so much less responsive in comparison to the default for me
no didnt flashed any extra tweaks or anything... jus trie in a fresh, even it doesnt support me
RE: [KERNEL] AlterNdromadus 3.0.x CM10.1 R1 [3.0.79][25/05/13]
ramprabhu19 said:
no didnt flashed any extra tweaks or anything... jus trie in a fresh, even it doesnt support me
Click to expand...
Click to collapse
MissyVixen said:
i have since wiped out /system and installed build 22. I have downloaded a kernel zip and discarded the old one, will update this post with results
--------------------------------------------------------------------------------------------------------------------
after a full wipe and install now reporting as 3.0.79, and with proper dates. maybe i had some sort of flag in my build.prop to kill error reporting ( but i dont recall that) essentially stalling it at the last rom that crash ?
this is now reporting properly, but still slow as molasses, and i am not sure why.
Scheduler is ondemand (its all i use, laptop or phone), speeds are set to stock 245/806. it just seems so much less responsive in comparison to the default for me
Click to expand...
Click to collapse
OK I've just put a new build out, frandom and the init.d scripts should be working now, so hopefully this might give the performance boost you were missing. If it's still giving you worse performance, try over clocking a bit above stock, I find 1GHz a good middle ground for performance/ battery. Enable show CPU usage in developer settings to see if anything is acting suspiciously. Also I assume you have Max 2/3 background processes enabled in dev settings, it pretty much a requirement for the ROM.
link? not in op for now.
HTCDreamOn said:
OK I've just put a new build out, frandom and the init.d scripts should be working now, so hopefully this might give the performance boost you were missing. If it's still giving you worse performance, try over clocking a bit above stock, I find 1GHz a good middle ground for performance/ battery. Enable show CPU usage in developer settings to see if anything is acting suspiciously. Also I assume you have Max 2/3 background processes enabled in dev settings, it pretty much a requirement for the ROM.
Click to expand...
Click to collapse
i dont run the background process limit, i instead run a combined 600MB of swap space between cache and data. Had issues where it would kill off skype or andchat :S
But i am downloading this to flash and try again ^^, thank you for reading my post and changing things up for me. Im still not to the stage of making my own phone kernel yet
*******updates to follow*******
whatever all the changes did im not sure, but now it is smooth and responsive for me with the ondemand scheduler and 245/806. and battery life seems really good, with IMO/Skype/andIRC up for 8 hours i was at 50% *there was considerable screen off, but the wifi was being constantly used of course)

Categories

Resources