yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace S5830i Android Development] Rafael.Baugis:
This little numbers is minimum needed for CPU starts? initial work?

see in source the last changes.

int bcm21553_arm11_set_rate(struct clk *clk, unsigned long val)
{
u32 mode;
u32 arm11_freq[6];
u32 apps_pll_freq = bcm21553_apps_pll_get_rate();

arm11_freq[0] = (apps_pll_freq*2)/12;	//208Mhz LOLO
arm11_freq[1] = (apps_pll_freq*2)/8;	//312Mhz LOHI
arm11_freq[2] = (apps_pll_freq*2)/4;	//624Mhz NORMAL
arm11_freq[3] = (apps_pll_freq*2)/3;	//832Mhz HILO
arm11_freq[4] = (apps_pll_freq*3)/4;	//936Mhz HIHI
arm11_freq[5] = (apps_pll_freq);	//1248Mhz TURBO

/*we support only two modes - 0x0A & 0x0F - thats what she said*/
if (val == arm11_freq[0])
{
mode = 0x0A;
}
else if (val == arm11_freq[1])
{
mode = 0x0B;
}
else if (val == arm11_freq[2])
{
mode = 0x0C;
}
else if (val == arm11_freq[3])
{
mode = 0x0D;
}
else if (val == arm11_freq[4])
{
mode = 0x0E;
}
else if (val == arm11_freq[5])
{
mode = 0x0F;
} else
{
return -EINVAL;
}
//writel(mode, ADDR_CLKPWR_CLK_ARMAHB_MODE);
bcm215xx_set_armahb_mode(mode);
return 0;
}

long bcm21553_arm11_round_rate(struct clk *clk, unsigned long desired_val)
{
u32 arm11_freq[6];
u32 apps_pll_freq = bcm21553_apps_pll_get_rate();

/*we support only two freq - 312Mhz & appPll/1.5*/
arm11_freq[0] = (apps_pll_freq*2)/12;
arm11_freq[1] = (apps_pll_freq*2)/8;
arm11_freq[2] = (apps_pll_freq*2)/4;
arm11_freq[3] = (apps_pll_freq*2)/3;
arm11_freq[4] = (apps_pll_freq*3)/4;
arm11_freq[5] = (apps_pll_freq);

return (long)bcm21553_generic_round_rate(desired_val,
arm11_freq,
6);
}
[Galaxy Ace S5830i Android Development] k4ileb:
Min-max: 1248Mhz

GOV: performance

I/O: noop

Can you imagine this?

Also battery temperature is 35c so its safe right?
[Galaxy Ace S5830i Android Development] Rafael.Baugis:
Yes is normal.

The rom in use is Retribution?
[Galaxy Ace S5830i Android Development] Qeemi:
Rafael,deep sleep not working and with stock frequencies phone is lagging a lot :/

Inviato dal mio GT-S5830i con Tapatalk 2
[Galaxy Ace S5830i Android Development] k4ileb:
yes retribution v4
[Galaxy Ace S5830i Android Development] Rafael.Baugis:
Deep Sleep working, and 312~832Mhz working fine.

Set governor for userspace, I/O to noope, put min and max as same and test all frequencies.

EDIT-1:

BCM21553 Governor only working in TURBO and NORMAL frequencies.

I moved the TURBO from 832Mhz to 1248Mhz

and moved NORMAL from 312Mhz to 624Mhz

I do factory reset to see frequencies, look this!

is a BCM21553 governor and I/O noop Min 208Mhz and Max 1248Mhz

EDIT-2:

I compiled other kernel with TURBO = 936Mhz and NORMAL = 312Mhz

EDIT-3:

Uploaded, download and test.
[Galaxy Ace S5830i Android Development] k4ileb:
rafael,

i flashed a stock rom for my s5839i and tried to flash ur kernel but i get "installation aborted" error.

what should i do ?
[Galaxy Ace S5830i Android Development] apu314:
My score in antutu benchmark

Min-max: 1248

Governor: performance

Io: noop

Enviado desde mi GT-S5830i usando Tapatalk 2
[Galaxy Ace S5830i Android Development] Levent2101:
you have to wipe dalvik cache first

Rafael is there anything good with the latest s5360 source release ?
[Galaxy Ace S5830i Android Development] Visurox:
Everything works great but how can i delete the two logos before bootanimation? Cause i dont want three of them.

Btw, 1748 points and 492 in 3d graphic. 100 more as with 938. Wow!

(1248 MHz.)

But over 2000 with 800 MHz are nearly impossible... how can this guy tweak his i so much?
[Galaxy Ace S5830i Android Development] Rafael.Baugis:
I'm only using stock rom, because I have to test the kernel in rom unchanged, and I do not have errors on flash the kernel.

what is the rom you have flashed? for "i", "m" or "c" ?
[Galaxy Ace S5830i Android Development] Rafael.Baugis:
493 in 3D ???? :eek:

What do you did to get it?

1º logo is from param.lfs partition /mnt/.lfs/

2º logo is from kernel is unremovable!

3º and 4º must delete in /system/media/
[Galaxy Ace S5830i Android Development] Visurox:
Used claimfire with Everything low settings, v6 tweaks and adrenaline Engine.

Thx for the info, will look into it.
[Galaxy Ace S5830i Android Development] Qeemi:
Ooooh yeah,501 in 3D Graphics,XXLH2,V6,Adrenaline,Chainfire w/qualcoom plugin and 936 perfomance. :D
[Galaxy Ace S5830i Android Development] Visurox:
Nice one! Is the plugin so good?

Edit: Got 454 with 936.
[Galaxy Ace S5830i Android Development] Qeemi:
Apparently!
[Galaxy Ace S5830i Android Development] Rafael.Baugis:
The slowdown solved in last kernel?
[Galaxy Ace S5830i Android Development] Visurox:
936: 420 with qual and 477 with powervr plugin.

1248: 486 with vr and 460 with qual
[Galaxy Ace S5830i Android Development] k4ileb:
s5939i .

but s5839i = s5830i as i know.

the stock rom is really smooth and light and without ur OC kernel it hits 1700 on AnTuTu.

i really wanna flash ur kernel in this rom.

also i cant flash stock roms for s5839i or s5830i which are 1 package file. i can flash only when rom is in seperate files (boot,pda,phone,csc) with odin 1.85.

does anyone knows why ?

help
[Galaxy Ace S5830i Android Development] domnic79:
Benchmark score with 1.248Ghz

Rom: M!-U! v2.2

Chainfire3D with Qualcomm pluggin

Antutu score: 1820

3D score: 1073
[Galaxy Ace S5830i Android Development] Visurox:
Over 1000?!? How? O.o
[Galaxy Ace S5830i Android Development] snopdog:
What kernel version do you recommend to get good scores with antutu?
[Galaxy Ace S5830i Android Development] Visurox:
1098 with antutu 3D, muhahaaa :)

(with no plugins! Qual and powervr give 1055 or less! Test it)
[Galaxy Ace S5830i Android Development] Levent2101:
well look samsung used to release the updates in pieces now they are compiled them in to fus file

there is an article about how do split fus files (google splitfus) you will need cygwin or linux based OS (and there is small percent of corruption like less than %0.1)
[Galaxy Ace S5830i Android Development] k4ileb:
thanks for helping but i figured the problem has to do with the model.

i mean i managed to flash with odin 1.84 XXLA2 firmware in PDA form by rajrocks

but i can't flash samfirmware's STOCK ROMs. i dont know why

does anyone know why?
[Galaxy Ace S5830i Android Development] menboi1:
how i can delete the kernel boot and put a bootanimation.zip

i put the bootanimation.zip in system/media but nothing
[Galaxy Ace S5830i Android Development] domnic79:
Did u flash bootanimationenabler?
[Galaxy Ace S5830i Android Development] bijoy91:
i flashed 907 and now i wanted to try a new rom and there is no way i can unmount system , it alwayas says error unmounting system and i cant get into the download mode either
[Galaxy Ace S5830i Android Development] MindCr:
We need a script in /etc/init.d for governos? I see only install null file, is that correct? thanks
[Galaxy Ace S5830i Android Development] HeathenMan:
he said to you^^ only pda isnt working with our phone. you need to search the same rom with 3 files ( pda, phone and csc)
[Galaxy Ace S5830i Android Development] carlos9545:
rev-20120907-2311 Brick my phone plz help me
[Galaxy Ace S5830i Android Development] Bert98:
With 1,24 Ghz my phone FLIES with phoenix launcher!!!! :D

Inviato dal mio GT-S5830i con Tapatalk 2
[Galaxy Ace S5830i Android Development] Rafael.Baugis:
delete the file is empty.

don't need script to load governors, governors is compiled built-in.
[Galaxy Ace S5830i Android Development] Rafael.Baugis:
reflash your phone with odin.
[Galaxy Ace S5830i Android Development] k4ileb:
anyways i dont mind that much about flashing roms.

but why i can't flash this kernel on s5839i STOCK ROM ?
[Galaxy Ace S5830i Android Development] menboi1:
yes thanks but i want delete kernel i want only my bootanimation

THANKS
[Galaxy Ace S5830i Android Development] Rafael.Baugis:
open zip file and edite file updater.script

remove the lines refering phone models

ex:

assert(ksdbvkjsd sfdasdfsadv || sdfglidfv lndlnsdvjn);

S5839i = S5830i ????
[Galaxy Ace S5830i Android Development] Rafael.Baugis:
kernel splash image, you cannot remove.
[Galaxy Ace S5830i Android Development] menboi1:
Ok in next version pleaseee remove it :)
[Galaxy Ace S5830i Android Development] Rafael.Baugis:
The reason :confused:

This causes a bug :confused:

It is very ugly :confused:
[Galaxy Ace S5830i Android Development] carlos9545:
ahahhaha i know unbrick my phone, what I said was that every time I installed it bricked my phone
[Galaxy Ace S5830i Android Development] Rafael.Baugis:
any version it happens
[Galaxy Ace S5830i Android Development] paradoxiumwind:
@Rafael: any chance of being able to apply the higher clock after the kernel loads so bootup (eg; samsung boot ani logo) is faster and phone loading is not so slow, or will it not make a difference?

Also do you maintain "No-frills CPU Control"? because it seems to want to update every time I update your kernel, should I be updating it?
[Galaxy Ace S5830i Android Development] Rafael.Baugis:
The kernel always starts with a minimum frequency of 208MHz and maximum of 1248Mhz, but as the governor is the standard initial bcm21553, is only used the frequencies of 312 ~ 936Mhz. "On kernel start"

No-Frills is needed to set governors and frequecies, or need modding in android to control this. "On system start"
[Galaxy Ace S5830i Android Development] paradoxiumwind:
You can't modify the stuartup speeds to be much higher and with the interactive governor?
[Galaxy Ace S5830i Android Development] carlos9545:
I've tried over 20 times and get the same result = brick
[Galaxy Ace S5830i Android Development] Rafael.Baugis:
yes I can. but I cannot put straight to start with 1248Mhz, not all phones supports this.
[Galaxy Ace S5830i Android Development] paradoxiumwind:
what about at least 8xx? the max stock. I think this would be a really great addition to the mod/kernel if it works, phone will boot nice and fast, boot animation might not be laggy etc, then startup programs won't take ages to load before CPU app kicks in.
[Galaxy Ace S5830i Android Development] Rafael.Baugis:
You tried 20 times same version?

download the file again and try.
[Galaxy Ace S5830i Android Development] Rafael.Baugis:
BCM21553 start loading android in 936Mhz, only down to 312Mhz on loading done!

In a kernel that is in the process of development we can not leave it susceptible to instability.

Users end up complaining of a problem, but the cause is something else!

My next step is to add OTG, I have no devices to test!
[Galaxy Ace S5830i Android Development] paradoxiumwind:
so the kernel has to use BCM21553, and people think they have problems running at 936Mhz during startup?

Or are you saying I should just set it to use BCM21553 governer in the CPU app and it will do everything i'm asking?
[Galaxy Ace S5830i Android Development] jasliau:
Hmmm, again latest rev gave me missing statusbar after flash.
[Galaxy Ace S5830i Android Development] menboi1:
no no its ok the boot, but the duration is much of kernel boot, my bootanimation not last a second and takes off, I would like my bootanimation last longer
[Galaxy Ace S5830i Android Development] carlos9545:
rev-20120907-2311 <--- this version, yeha i download the file again, in windows this file weight 8.800 kb its ok...

no problem now im using rev - 20120907-1550 but i wanna use the last version :crying:
[Galaxy Ace S5830i Android Development] k4ileb:
ok i had flash XXLA2 with ur kernel then restored nandroid backup with the stock s5839i rom and somehow rom was already flashed with the oc kernel. hehehe.

---------- Post added at 09:05 AM ---------- Previous post was at 08:48 AM ----------

i will try it.

then i zip like normal or it needs a special program to sign ? im noob

EDIT: do i delete all the assert sentences ? or replace all s5830i with s5839i ??

EDIT2: with what prog do i open the file ? wordpad ?
[Galaxy Ace S5830i Android Development] domnic79:
I use winrar to .zip it. No need to sign.
[Galaxy Ace S5830i Android Development] k4ileb:
i ziped it again, but i can't see it on recovery mode. although it's on my SD card.

what's going wrong ?
[Galaxy Ace S5830i Android Development] domnic79:
U zipped it in winrar?
[Galaxy Ace S5830i Android Development] Rafael.Baugis:
Use notepad++

Delete assert everting or add you model!

EDIT:

I add your model in next release.
[Galaxy Ace S5830i Android Development] Rafael.Baugis:
You phone wont work in 936Mhz ?
[Galaxy Ace S5830i Android Development] Rafael.Baugis:
the BCM21553 have static clock in 312Mhz and 936Mhz on last version.

in version 1550 BCM21553 have static clock in 624Mhz and 1248Mhz, test this to see.
[Galaxy Ace S5830i Android Development] k4ileb:
thanks a lot!

---------- Post added at 03:50 PM ---------- Previous post was at 03:47 PM ----------

right click-> zip to archive-> and i typed my name for example.
[Galaxy Ace S5830i Android Development] Rafael.Baugis:
Download new version and test.
[Galaxy Ace S5830i Android Development] alisam:
rafa!

without the old scripts in init.d when i install the kernel i have less governors in antutu master pro. bfore was showing ondemandX, minmax, lioheart and more but now i have nothing in init.d and just have some governors not all like before. is that correct?? Gracias rafa.
[Galaxy Ace S5830i Android Development] Rafael.Baugis:
Yes,

I construct one governor package, wait a minutes.
[Galaxy Ace S5830i Android Development] k4ileb:
actually i managed to edit it and flash it, so i test it

i will download ur new version later and test it too
[Galaxy Ace S5830i Android Development] cobramax:
1248 mhz and 1040 mhz big problem.battery charge problem.but 936 mhz nice working. İ turn back 936mhz

GT-S5830i cihazımdan Tapatalk 2 ile gönderildi
[Galaxy Ace S5830i Android Development] Rafael.Baugis:
download latest kernel, have only functional frequencies.
[Galaxy Ace S5830i Android Development] k4ileb:
does the kernel also roots the stock roms ?

cause if i does, mine isn't rooted.

also other root methods that work on s5830i doesnt work on my stock rom :S

any help ?
[Galaxy Ace S5830i Android Development] Visurox:
Root can be simply installed over a zip via cwm. But Flash the latest kernel are much better
[Galaxy Ace S5830i Android Development] JB|Fabo:
Bootloop after i tried to install these Version of your kernelk. rev - 20120907-2311

What should i do now?
[Galaxy Ace S5830i Android Development] Levent2101:
well i am using the first 1240 mhz release for a while now there is only a issue ,when you heavy load the cpu while charging battery temp goes quite high (ive seen 52 while charging) besides that i am pretty much happy about everything (if the sim card contacts issue gets fixed it will be better )

Battery Results are pretty much as i expected

832 was going around 1.5 day's max

1240 is going around 1 day max (using interactive governor 1240-634)
[Galaxy Ace S5830i Android Development] jasliau:
No cwm backup before flashing? Or any backup you did before. That kernel version works fine here, and I see the difference on device booting.
[Galaxy Ace S5830i Android Development] Qeemi:
Rafael,deep sleep,in my phone, doesn't work with last kernel! :(
[Galaxy Ace S5830i Android Development] Rafael.Baugis:
My deep sleep is in 99,16%

try to clear data and cache.
[Galaxy Ace S5830i Android Development] adrian816:
The SIM contacts issue I found with this kernel was that none were loaded after booting the handset. Writing a new contact to SIM worked and it showed up in the list until the next reboot. I found this out after flashing back to stock kernel due to the handset crashing several times a day (which I only found out when the no-frills-CPU app reported "settings not applied after unclean shutdown".) I had flashed just the kernel, not a full replacement for the stock firmware.
[Galaxy Ace S5830i Android Development] JB|Fabo:
The problem is that i can´t access the download or recovery mode but my Ace is displayed at odin when I connect it.
[Galaxy Ace S5830i Android Development] Hate Of Love:
hi

No Link Download. ?!!
[Galaxy Ace S5830i Android Development] Rafael.Baugis:
link is in rev-20120909-xxxx
[Galaxy Ace S5830i Android Development] Hate Of Love:
I do not know where the link is no hassles scale :o
[Galaxy Ace S5830i Android Development] alisam:
Link is in the skydrive link en the end. search where rafael put " my skydrive" and click there.
[Galaxy Ace S5830i Android Development] Hate Of Love:
Hi, I have a link for the download link above will not ruin it for me, instead I can upload ? ;)
[Galaxy Ace S5830i Android Development] Only1wilber:
Alright Rafael, since updating to rev - 20120909-0931 I have lost both the superuser app and droidwall. I reinstalled rev 20120907 (my last working version) then tried installing the rev - 20120909-0931 again and they still do not apear.

I did run a benchmark test anyway and I now get my best all time score of 1850 @ 1248MHz. Awesome!

Should I just install Super user and droidwall from the app market?
[Galaxy Ace S5830i Android Development] Rafael.Baugis:
DroidWall and Superuser is in package!
[Galaxy Ace S5830i Android Development] Alucard1989pl:
Rafael this will be safe when i change frequency of my cpu in s5830i to 1248MHz?? this frequency is so wierd and dangerous, don't ya??
[Galaxy Ace S5830i Android Development] Hate Of Love:
Hi, I have a link for the download link above will not ruin it for me, instead I can upload ? :crying:
[Galaxy Ace S5830i Android Development] Only1wilber:
I Know, it was there, then I installed the update and they have dissapeared, weird? something is up as I now cant access google talk and I now get an error message when trying to download from the play store.
[Galaxy Ace S5830i Android Development] Rafael.Baugis:
click under the file to download start.
[Galaxy Ace S5830i Android Development] Rafael.Baugis:
I can not say whether it is safe or dangerous!

It depends from device to device!
[Galaxy Ace S5830i Android Development] Hate Of Love:
Error does not download my dear friend!

The connection has timed out

The server at skydrive.live.com is taking too long to respond.
[Galaxy Ace S5830i Android Development] alisam:
that s due to your internet conexion or that the server is busy. try to clean your web navegador history and cockies.

---------- Post added at 01:19 AM ---------- Previous post was at 01:17 AM ----------

the link has no problem
[Galaxy Ace S5830i Android Development] k4ileb:
i flashed the stock rom, then flashed uot framework, then flashed adrenaline engine, then flashed kernel and my phone wasn't rooted. and i tried about 3 or 4 different .zip files to root. i had the superuser app but i wasnt rooted.

then i reflashed stock rom from the begin and i flashed .zip to root and then flashed all the other .zips

that worked for me.
[Galaxy Ace S5830i Android Development] Rubenyz:
Weird.....

It's a bug from the kernel, I think.

Can you send me the zip of Adrenaline?
[Galaxy Ace S5830i Android Development] domnic79:
Its in 5830 theme section.
[Galaxy Ace S5830i Android Development] maciej_s20:
Is there a problem with Rafael.Baugis kernnel's frequencies?

Hi.

I've just tried to run a set of linpack tests on two kernels running on S5830i. Results are quite strange, looks like some frequencies are not real...

Methodology: set min freq=max freq, interactive governor. Select different frequencies and run each "single thread" test 4 times, than calculate an average. System: Retribution 4. Phone is rooted. Frequency is set using "no frills cpu control", new setting is applied without any problems.

Background: as far as I remember I've got linpack result of about 10 MFLOPS for stock kernel/system.

Here are the (average) results.

Kernel: 20120909-0931

What this means? It looks like 832=936, 624<312. Strange...

Kernel: 20120906-1926-CWM-(936Mhz)

Now the 936 is slower than 832 (or maybe the same).

I've performed the same test with AnTuTu benchmark, but only for second kernel. Results are similar to those from Linpack.

There is no advantage for 936 over 832, also for graphics benchmarks (not shown below).

So - the questions are pretty obvious: does the OC really works for S5830i??? Max linpack MFLOPS result for OC in RB Kernel is at the same level as stock default one... It looks like we do have different frequency steps in those kernels, but max frequency (as well as performance) stays at maximum of 832Mhz, i.e. approx 10MFLOPS in linpack, regardless if we name them 1.2 GHz or 936MHz. Could anyone confirm my observations?

Rafael: This is not an attack, I really apreciate dev's work. This is great thing!

regards

m.
[Galaxy Ace S5830i Android Development] Alucard1989pl:
The 1248MHz frequency is so weird O.o i mean, when i set that frequence and played psx emulator i felt the speed of cpu was the same when i set 624MHz frequency. Could you explain that ? Btw sorry for my english
[Galaxy Ace S5830i Android Development] Hate Of Love:
So I'm uploading this kernel is not the place we want to use :confused:
[Galaxy Ace S5830i Android Development] FRSalvador:
Hi to all...tell me one thing...when i flash a new kernel do i loose my data like happens when i flash a rom?
[Galaxy Ace S5830i Android Development] Levent2101:
is it soo hard to use an proxy ? god damn copy the link here and download it http://hidemyass.com/
[Galaxy Ace S5830i Android Development] TxaEkis:
No, you will loose nothing. Some apps are added, like Droidwall and NoFrills.

Do a backup!
[Galaxy Ace S5830i Android Development] Only1wilber:
Managed to brick my phone whilst mucking about with it so I put a fresh install of everything back on it:

Distribution Rom, Adrenalin 4.3, latest Rafael Kernal, Chainfire 3D, Link2SD and SD Booster only.

Ran Antutu Benchmark and my results are as follows:

Gov: Performance

I/O : Noop

Lee
[Galaxy Ace S5830i Android Development] ZakooZ:
The stock (800mhz s5830) ace does 1835 :V
[Galaxy Ace S5830i Android Development] Only1wilber:
Thats nice but mine is a s5839I, if I had the option to change for a s5830 I would but Ive got what I have got.

All I know is by using this kernel i have gone from 1500 to 1869, I'm happy with that for now.

Lee
[Galaxy Ace S5830i Android Development] :
Logo for Rafael

Hello, can you set this logo is default? :fingers-crossed:

__________________________________

without line

link: youcraft.ru/forrafael.jpg

source link: youcraft.ru/source.psd

__________________________________

with line, more beatiful

link: youcraft.ru/v2.jpg

source link: youcraft.ru/source2.psd
[Galaxy Ace S5830i Android Development] maciej_s20:
Look in my previous mail - this result is exactly what You should get from stock kernel. According to my tests Rafael's kernel lies about frequency the handset runs, it looks like it goes never above 832MHz. Also - different kernels are not standarized - I mean 832MHz gives different 'real' frequency. For example - 20120909-0931 gives linpack score of 7,9 while 20120906-1926 at the same 832MHz gives 10. Just to compare - stock one at 832 gives also 10.
[Galaxy Ace S5830i Android Development] ZakooZ:
Maybe it's the "tweak for BCM21553 Governor oparate in 312~832Mhz"

If you could test 20120907-1550 i'd appreciate it (I'm having some troubles with my carrier so I better off not flashing anything at the moment)
[Galaxy Ace S5830i Android Development] Rafael.Baugis:
My intention is to overclock else or would not have done a lot of revisions trying to correct deep-sleep clock and etc ...

see mi testes with

cpufreq:min=max

gov:userspace

I/O:noop
[Galaxy Ace S5830i Android Development] Rafael.Baugis:
Very nice,

I had intention of opening a topic for election of the boot screen.

could do this please?

Very thanks!
[Galaxy Ace S5830i Android Development] ZakooZ:
This further proves that 832mhz = 936mhz

I don't know much about android overclocking... Do you think it's just unstable frequency?

I got around 1700 on a 5839i stock everything 832mhz
[Galaxy Ace S5830i Android Development] saeed14i:
To All the Newbies like me. Please read this before you overclock. It is a very gud guide about OverClocking Basics by prawesome:

http://xdaforums.com/showthread.php?t=1376870

@Rafael - If you find it appropriate, you can give this link in the first post for all those who are new to overclocking like me. Thanx