yashsingh1/xdaforums huggingface dataset:
[Galaxy S Advance I9070 Original Android Developmen] krazzykid:
I'm experiencing faster battery drain on 8.6 than 8.2. Can anyone confirm if its true?
[Galaxy S Advance I9070 Original Android Developmen] cineq:
No difference in battery usage, default kernel settings.

Wysłane z komórki
[Galaxy S Advance I9070 Original Android Developmen] bobfrantic:
I like Dolphin browser. :)
[Galaxy S Advance I9070 Original Android Developmen] yasje:
its not about the browser.. i use opera, once in a while.

but i just get lagg since i use 8.6 cocore...
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
CoCore-E 8.6.4 Nightly Build

I9070P isn't included, I will integrate PN544 driver into kernel in the future.

So that I9070P users can use the same kernel.

I will have big exams next week, and the holiday will begin on Jan 25.

Will have more time to play then.

Changelog: [Check my Github commits history]

I modified the HOW-TO, added introduction about frandom.

Download:

8.6.4 TWRP

8.6.4 CWM
[Galaxy S Advance I9070 Original Android Developmen] jagnik:
PN544 driver integrated in latest nightly or not??
[Galaxy S Advance I9070 Original Android Developmen] shaarky:
PN544 / NFC is only on I9070P version... so if you are using I9070 without NFC chip, it's nothing which should worry you. In other case - we have to wait for EP release (for I9070P), I guess it's not an easy step to integrate it.
[Galaxy S Advance I9070 Original Android Developmen] ADR USR:
battery drain ondemand /sio excellent
[Galaxy S Advance I9070 Original Android Developmen] prokji:
I confirm it - after 25 hours,33 mins have battery 63% , i.e. consumption less 27% per day.../excellent! / in my normally usuable-cca5 SMS,20 mins speaking , 1x completely backup into cloud /TitaniumBackup/, aktualization /wifi approx 15 mins/,cca 30 mins GPS+Wifi /satelite director/....and ,offcourse, three round Andoku-Sudoku /challenge level,approx half hour/...
[Galaxy S Advance I9070 Original Android Developmen] krazzykid:
Seeder does not work with 8.6.4 nightly
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Frandom has been enabled by default.

To disable:

Relink /dev/random.orig to /dev/random, also urandom
[Galaxy S Advance I9070 Original Android Developmen] arneldna:
App drawer and 3D Games lag in the latest nightly...unlike v8.6
[Galaxy S Advance I9070 Original Android Developmen] T.M.:
To update from older version i have to wipe something after flash 8.6.4 with UKF?
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
No need to wipe anything. You can install its zip from CWM/TWRP.
[Galaxy S Advance I9070 Original Android Developmen] raan4:
No, Just install new kernel

Regards!
[Galaxy S Advance I9070 Original Android Developmen] T.M.:
Thanks!

Enviado desde mi GT-I9070 usando Tapatalk 4
[Galaxy S Advance I9070 Original Android Developmen] ADR USR:
8.6.4 ok . Good performance, battery and no bug observed. -- in testing--

Well, I decided that for me the stock rom is best for my use.

In CM 4.4 and even 4.3 some basic apps I need not work well. Even the lack of an automatic text adjustment in certain sites and other small details.

I have successfully used Cocore to Improve Stock ROM and probably keep this up until I switch to another smart.

Thank's to developer.
[Galaxy S Advance I9070 Original Android Developmen] OscarNick93:
Work on cm11 of maclaw 4.4.2 ???

Inviato dal mio GT-I9070 utilizzando Tapatalk
[Galaxy S Advance I9070 Original Android Developmen] saumar:
As stated in OP...

So the answer is no,it will not work on CM ;)

Inviato dal mio GT-I9070 utilizzando Tapatalk
[Galaxy S Advance I9070 Original Android Developmen] shashank g:
Is video playing good in 8.6.4? Youtube playing is not good in 8.6. It totally freezes for sometime and some videos in stock player too
[Galaxy S Advance I9070 Original Android Developmen] slv96:
games is better in 8.2 or in last nightly 8.6.4?
[Galaxy S Advance I9070 Original Android Developmen] andu86:
Im using 8.6.4 since its release day, and the overall performance its good. I no longer have lag when i exit an app with home button, fb and chrome caused this. And fb + chrome at the same time made the phone lagged alot. Since the lag i have stopped using chrome and switched to default android browser and everything its ok.

I didnt experience any freezes in youtube with 8.6 nor 8.6.4.

Ps in antutu it says that our phone cant run large apps so maybe thats what caused big lag when i used to open a link from fb with chrome
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
And how about the touch issue? I don't have this kind of issues at all, so I unable to check it.

Actually, I open 20 windows in Chrome Beta, It doesn't feel laggy in Chrome but in other tasks running in the same time.

BTW, no FB and YouTube in China.

Cannot test.

Off topic: I caught a flu, and tomorrow is the exams, W*F...
[Galaxy S Advance I9070 Original Android Developmen] krazzykid:
Get well soon bro & best of luck for your exams!!
[Galaxy S Advance I9070 Original Android Developmen] yasje:
I cant find8.

64 only 8.6 download link
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
http://xdaforums.com/showthread.php?p=49354046

Послато са GT-I9070 уз помоћ Тапатока
[Galaxy S Advance I9070 Original Android Developmen] andu86:
I didnt experienced any issues with touch...
[Galaxy S Advance I9070 Original Android Developmen] shashank g:
I have video issue in 8.6 but not in 8.2. What might be the problem? Every video starts playing fine but after a minute or two it starts freezing. :confused:
[Galaxy S Advance I9070 Original Android Developmen] Shiningb:
I've been investigating this matter, it's like stuttering, yes?

On CM10.2 I have this, and I use some custom LMK values on cm

The thing is when I'm using my custom values, multitasking is awesome but videos stutter when trying to watch videos (I use TubeMate)

And with default values I have less chance of getting the stuttering thing, on stock I didn't experienced this (Harshjelly)....

Are you on stock Sammy jb?? Or you really experienced those only after flashing cocore???
[Galaxy S Advance I9070 Original Android Developmen] shashank g:
Yes the screen stops responding, the video stutters. Yes i am on stock jb italian(xxlqe) firmware. This happened only after switching to 8.6. It was good when i was on 8.2 and i once reverted to 8.2 just for videos and it was fine.

And is that issue solved in 8.6.4?
[Galaxy S Advance I9070 Original Android Developmen] Shiningb:
Hmmm you could try harsjelly, i haven't experienced stuttering on 8.6 on harsjelly

Plus, harshjelly use some optimized LMK values...

I haven't tried latest cocore 8.6.4 yet... Since I'm on awesome cm10.2 2014-04-01 build...

Can I ask a question here??? OK

Why the default FSync mode is on and not dynamic??? We have side effects on dynamic???

I'm testing dynamic option now...
[Galaxy S Advance I9070 Original Android Developmen] unexpected0ne:
Bug!

I've found a bug... At the beginning I thought it was the newest HarshJelly 5 fault, but it seems it isn't. Someone else ensured me about this, by having the same problem. So I'll repeat what I wrote on the HJ thread.

The camera is all blurred (image looks like blended into stripes). What's interesting when I'll switch to recording it's ok. Additionally if I'll make a screenshot, on the picture everything looks ok - ridiculous... The front camera works as always.

Downgrading to previous CoCore kernels doesn't help (I tried 8.6 and 8.2). I'll try to going back to stock kernel and then again to 8.2, which was ok. If you have another ideas, please tell me, I can't use my cam -.-

[Edit]It didn't help >.>
[Galaxy S Advance I9070 Original Android Developmen] shashank g:
It happened to me. But i dont know how it solved after 3-4 days :D

---------- Post added at 04:31 PM ---------- Previous post was at 04:28 PM ----------

How is the battery life in cm 10.2. In stock it gives me only 3 hrs of on screen time with 2g internet always on.
[Galaxy S Advance I9070 Original Android Developmen] Shiningb:
The battery life in cm10.2 is random, sometimes it lasts 2.30hrs, sometimes is 3hrs

But this is because last days I've been into heavy usage...

OFFTOPIC: I've been hearing too much Deftones, and also my carrier internet got into a state where it became infinite and fast, downloading 200kbps with no download limit :D
[Galaxy S Advance I9070 Original Android Developmen] yasje:
Thanks :cyclops:
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Not kernel issue i think

Never have I modified camera stuff except adding some lines that accessing burning led mode

Check your focus

distance in camera app? Or try other apps?

Dynamic fsync control has been updated.

DynFsync will flush data when screen is off and reboot.

Dynamic disables fsync when screen is on, and with fsync disabled io performance improves a bit (+300 scores in ATT)

But don't unplug your battery when phone is running with Dynamic fsync enabled, your data in RAM which hasnt been written will lose.

---

I had to have extra lessons until Jan 25. So unable to go home this Sunday. ...This is Chinese feature...
[Galaxy S Advance I9070 Original Android Developmen] fedevd:
Maaaaaateeee!! I need youu!! Need you to fix touchscreen drivers 'cus kills the touchscreen!!! Reveal yourself!! xD

Text me please

Enviado desde mi C6603 mediante Tapatalk
[Galaxy S Advance I9070 Original Android Developmen] DVDandroid:
With cocore kernel 8.6 crt off effect doesn' t work anymore. There is a fix?
[Galaxy S Advance I9070 Original Android Developmen] bobfrantic:
It does work but if you have XXLQL firmware it won't work.

hastalafiesta made one that does work in that firmware though just go:here
[Galaxy S Advance I9070 Original Android Developmen] lehrqt:
Hey,

Can we install the kernel on cm 10, 10.1, 10.2, 11 or on liquidsmooth?

Thanks.
[Galaxy S Advance I9070 Original Android Developmen] krazzykid:
No you can't. CM ROMs have their own kernels. CoCore kernel works only with stock based ROM.
[Galaxy S Advance I9070 Original Android Developmen] lehrqt:
Ok thanks and I have an other question, Actually I test lot of rom but Every rom have their advantages/disavantages.

But can you tell how is the best (stable, performance, etc...) rom?

I have freeze, crash.

Can you help me?

I want to have the best rom or why don't return to rom stock + cocore? Rom stock have advantages?

Thanks a lot/
[Galaxy S Advance I9070 Original Android Developmen] krazzykid:
[/QUOTE]

First of all get this straight, there is no "BEST ROM". What might be good for me may not be good for you. Test and decide for yourself.

Personally I find Pure Vanilla ROM to be good for my use. Most people say HarshJelly is good. Some say CM works better for them. Flash and find the ROM best suited to you.
[Galaxy S Advance I9070 Original Android Developmen] lehrqt:
What is Harshjelly?

I can't found this rom in this section.
[Galaxy S Advance I9070 Original Android Developmen] arffrhn:
http://xdaforums.com/showthread.php?t=2342314
[Galaxy S Advance I9070 Original Android Developmen] droidinsane:
is usb otg enabled in this kernel now??
[Galaxy S Advance I9070 Original Android Developmen] pawelarc:
otg is disabled

(no data transmission)
[Galaxy S Advance I9070 Original Android Developmen] arneldna:
Plz understand our phones do not support USB OTG.. its a hardware limitation..
[Galaxy S Advance I9070 Original Android Developmen] wmfaiz:
can anyone told me CoCore-E8.6.4 nightly is cwm or twrp?
[Galaxy S Advance I9070 Original Android Developmen] krazzykid:
TWRP
[Galaxy S Advance I9070 Original Android Developmen] bobfrantic:
It is both but only for I9070 not the P version of S Advance. See this

post
[Galaxy S Advance I9070 Original Android Developmen] andu86:
Hi, i have a few things to say about this kernel and stock fw.

I have recently changed fw from indian ddlup8 to italian lql.

With indian fw and 8.6.4 kernel absolutely no freeze in youtube but a big lag in launcher and great battery drain.

In italian lql, best battery so far no lag in launcher but big freezes in youtube with and without kernel installed. I didnt experienced freezes in youtube since the for jb for our phone
[Galaxy S Advance I9070 Original Android Developmen] ssbnasa:
does it supposed to work on PA 4.3.1? :S
[Galaxy S Advance I9070 Original Android Developmen] Razvan:
Nope. Only on stock Jelly Bean. Read carefully the OP.

Powered by CM10.2
[Galaxy S Advance I9070 Original Android Developmen] pawelarc:
works on ALL stock-based ROMs...
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Hey I9070P guys!

Please post your Original STOCK ROM build.prop here

I need it for loading pn544 module on various devices.
[Galaxy S Advance I9070 Original Android Developmen] andu86:
Is it just me or with every new version of the kernel things get worse?

Stock kernel 50% battery in 4h

Cocore kernel 57% in 2h
[Galaxy S Advance I9070 Original Android Developmen] yasje:
Look at mine
[Galaxy S Advance I9070 Original Android Developmen] andu86:
Yeah but from what i see here, u didnt use your phone in this time, only 8% screen....
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Well community, I have something to announce.

When I got my SGSA two years ago, I have a dream, that's overclocking.

Now, we, teamcanjica made it.

I won't post anything with an excitement.

You know, it took me nearly a week to look up the code, and nearly one and half year to learn.

Yesterday, inspired by the way overclocking my S5570, I found a way to tweak our ARMPLL in PRCMU.

Please be aware that, this way is not the fake overclocking method which is full of Sony forums.

They just changed the values displaying in Apps like SetCPU, these values have NO effect on real CPU clocking,

These values are just designed for SHOWING! I could ever write it 9999999Mhz, does it work?!

We access PRCMU registers and AB8500 Regulator on the fly. We can overclock it on the fly.

Please note down that, we are lack of the proper document of Novathor platform, we are in a dark.

We just guess the meanings of the code then experiment and experiment, we can't make sure that everything

is absolutely right. There are still a lot of things like Clock MGT Registers we don't understand! (No register document!!!!)

BUT benchmarks speaks! It works! Check the screenshot I uploaded.

Here is the method. We have not coded anything in kernel, we will do this later.

I want to share with you guys.

This method only works on CoCore, because CoCore has the development entry of PRCMU registers.

Disable Power Saving mode in Settings

Open SetCPU, set Governor Performance, in order to prevent scaling cpufreq.

Open Terminal, do:

cd /d/ab8500
echo write 0x04 0x0b 0x3f > hwreg # To set max Varm Voltage @ 1362.5mV Or it will be come unstable and reboot
cd /sys/kernel/prcmu
echo 0x88 0x0001011f > regs # Set PLL register, CPU will overclock @1190Mhz, when it OC @1228Mhz, it cannot stand for seconds.

Now run Float Point Benchmarks in SetCPU, you can see it will score 4000ms while 1000Mhz gets 4600~4900ms!!!

Cheers!!! But don't change the governor, the tweaks will be override by PRCMU HW.

In fact,

400Mhz showed is clocking @399Mhz

800Mhz @798Mhz

1000Mhz @998Mhz
[Galaxy S Advance I9070 Original Android Developmen] mykimouse:
Wonderful work Cocafe :)

Hope that overclocking eventually comes to CM and other cm based custom roms.
[Galaxy S Advance I9070 Original Android Developmen] yasje:
That's because i did my brightness all the way down!

if i do my brightness on auto or on half then yes 50% in 2 hours is same for me...
[Galaxy S Advance I9070 Original Android Developmen] Paul L.:
Why I think you got that while investigating alin.p kernel lol.

It's seems to me that either Samsung forces the chipmakers that they use to have a more like "common interface" to set the clocks dynamically depending on what specs they want for the final product. (you were talking about a Qualcomm MSM 7x27 SoC, and that is so old that is not even ARMv7, is barely ARMv6 with VFP). I said that it had to be with power management from the derpy "Texas Instruments" stuff but never thought that it could be that stupidly easy.

Anyway, remember that since some voltages aren't implemented, because it's a stock kernel interface; maybe the voltage regulator doesn't know the proper handling of higher CPU frequencies (and therefore higher voltages); and then it either overheats (because the voltage becomes too high) or it bugs itself (you know, when you reach the highest voltage available set on kernel parameters for the power subsystem) and it's "undervolted" (not on purpose, but CPU losses power). For the first one, it should be actually undervolt'd at a point where it is stable enough. and for the second, you should raise the maximum voltage to a safe extent.

Anyway, I am just talking about my experience on x86, I really hate the thermal stuff on ARM, and I barely have read the code (and I barely understand your approach), I hope that you atleast "document" it on the code itself (comments).
[Galaxy S Advance I9070 Original Android Developmen] bobfrantic:
8.6.4 & 8.6 were not very good with battery use as 8.2 for me. Used pegasus and sio/row with deep sleep scripted to be set to 4. Had 38% drop in 2 1/2 hours with only 20 mins screen time while 8.2 was only 1/4 of that. Just sayin' is all. Happy with your work and will stay with your kernel till I get a different phone (not in the forseeable future though)

Sent from my Advanced SII lite ;)
[Galaxy S Advance I9070 Original Android Developmen] pawelarc:
look at mine :)
[Galaxy S Advance I9070 Original Android Developmen] jagnik:
can we expect overclocking in upcoming update of cocore kernel ??
[Galaxy S Advance I9070 Original Android Developmen] juanchotazo99:
Excellent work team! But.. 1.35v for 1180 mhz, that doesn't look good. From a quick google, I can gather that other 45nm A9 platforms such as the S2's exynos does 1200 mhz stock and can OC to 1400-1600 mhz with the same 1.35v... it might be that STE's U8500 wasn't built on a high performance process. Too bad. But, before you jump at my throat, of course you can't draw conclusions from a single data point! Others should give this a try and see what their phone is capable of at the same 1.35v. As you probably already know, CPU quality in terms of frequency/voltage is a lottery, and there's a lot of variance in that regard, so.. yours cocafe might just be an exception more than the norm. Let's hope it is that way. Monumental work you guys have done, don't get me wrong!

On another note, if you have gained control over voltage registers, there is another possibility: undervolting. Those 1000/800/400/200 mhz our platform supports can probably be done on less voltage... battery life gains are possible. If our device's CPU wasn't built on a high performance process, but one that targets lower frequencies, then it might very well be suited for undervolting. Again, some will undervolt better than others, it's luck of the draw. I believe once your findings are better implemented in a next kernel release, then it's the start of a new age for our little S advance.

Ah, one can only hope we have a situation similar to AMD's: their processors usually run at 1.4v stock right from the bat, when in fact you can run their CPUs at 0.1v, even 0.2v less sometimes and save lots of power and have a much cooler computer. Of course you aren't going to find this situation on a phone CPU where every mV counts, but who knows, maybe STE was as lazy as AMD when it comes to binning their CPUs. From cocafe's result it doesn't seem to be that way.. but again, it's just a single data point. Let's hope!

Congratulations again for your hard work, what would be of our little phone if it wasn't for people like you?
[Galaxy S Advance I9070 Original Android Developmen] Paul L.:
Well, remember that on x86 you only have two vendors (three if you count VIA), AMD and Intel. The AMD specifications came from Intel, (because Intel wasn't capable of manufacturing enough 80386 chips back on the IBM PC AT clones days, so they had to license their work). So while AMD is still basing itself on Intel designs, it becomes obvious that atleast they are trying to do stuff on their own (like what you mentioned, or HSA -Heterogeneous System Architecture-, for example).

While on the ARM platform there are a lot more competing, so, thermal, power usage, and obviously mV and mW per MFLOP becomes a great thing for the investment. It's kind of funny if you think why ST-Ericsson had a lot of losses and then they disbanded.
[Galaxy S Advance I9070 Original Android Developmen] Paul L.:
Nah, I was just saying that because you mentioned x86 CPUs, it's not the same, not in everything, they are very different architectures, one based on RISC, and other on a newer (newer in comparison of RISC, but older than ARM) as it is x86.

What I meant to say, that AMD and Intel have their "thermal" and "power management" approachs, they are both now focusing on low power, before, most of the "focus" was on pure "computing power", that's why then it came the "war" of the GHz, because Intel thought that they kept increasing the Gigahertz, then AMD won't become close enough. And they were wrong, that's why they started to worry about their "power consumption", the Pentium Extreme edition processor became near 3.8 GHz and that was so unstable that normal motherboards on their 775 LGA design could barely keep up.

Remember that the design in fact does matter about the voltages and the thermal. And now that you mention it, maybe you could look about the ST-Ericsson Snowball development board, I think I remember that it was overclock unlocked and it is u8500, so it could be the better one to look about the performance capabilities of this.

I don't think that u8500 was based on the first specifications of A9-Cortex, we have the NEON SIMD instructions, that is optional for the processor design. Maybe we have a "older" revision of ST-Ericsson U8500 design, I think there is somewhere on the /sys/ directories the revision of your own processor in your actual phone.
[Galaxy S Advance I9070 Original Android Developmen] rodaven:
Like always Cocafe surprising us :victory: this guy is a genius.
[Galaxy S Advance I9070 Original Android Developmen] Paul L.:
I know, I just like to talk most of this in detail, not everyone is experienced as me or you. So, while I don't have to explain to you, I like to do it anyway because with some of this info, like the one you are sharing, it could be useful with someone that lands here.

It becomes really useful when users are learning, because not much of this info is available without searching alot (or reading a lot), so then they atleast know a little more of what is being talked about. Like the very example of the "due warning to noobs who will probably brick their phones".
[Galaxy S Advance I9070 Original Android Developmen] juanchotazo99:
It's fine, it just seemed we were echoing the same words at the same time, lol.

Do you guys accept donations or something? You all deserve some good beers, at the very least.
[Galaxy S Advance I9070 Original Android Developmen] Paul L.:
I don't care about the money too much. But it's specific to every dev on the team, so...