yashsingh1/xdaforums huggingface dataset:
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
From 0x35 to 0x3f, the voltage is 1326.5 mV.

[/URL]

---

Many guys talked about the freezing issues.
Yeah, I do have it.
It is likely to freeze some seconds while closing Camera app.
The kernel log said that NO MORE MEMORY.
Well, i am trying to fix poor memory issues.

And overclocking cpu (>1100 MHz) might cause choppy audio. (at least for me)

---

It's weird that Janic can not boot the kernel which is compiled by GCC 4.7+.
Will try to compile a custom Toolchain, to see whether it works or not.
[Galaxy S Advance I9070 Original Android Developmen] ace2nutzer:
Many Thanks !

it is so only a wrong displayed Varm ?!

Because @ 1200 Mhz with 0x3a runs better as 0x38 ! (but same displayed Varm: 1,3625V)

I have with 0x3a after 1 hour classic stability test an reboot when i open an app..

I think (perhaps) it is not a miscalculation of the CPU .. but from the mmc (nand-flash) when it try 2 read data...

I don't know but perhaps @ 1200 Mhz the FSB is overclocked too ??!!

I know me to overclock, but in the PC area .. because I know when you overclock the FSB then the sound card, AGP port and disk controllers are also overclocked.

last it might be helpful if you could create a table as what frequency is running:

Thus, for example: 200 Mhz = (xxx) FSB x (xx) Multiplier

then you can see whether and from which frequency the FSB also overclocks each user.

Thank you very much !
[Galaxy S Advance I9070 Original Android Developmen] Closed Force:
I still hope we will one day get bln support like this https://github.com/neldar/liblights_gt-i8190. And still hope this will happen before we all get ourselves new devices. :fingers-crossed:
[Galaxy S Advance I9070 Original Android Developmen] :
We already have that file in CM. Only problem it's not working lol
[Galaxy S Advance I9070 Original Android Developmen] geopapa:
Hope Cocafe will do his miracle :D
[Galaxy S Advance I9070 Original Android Developmen] ace2nutzer:
for me, for my ace2 it runs when the phone is not going to sleep !! so worked with no deep sleep !

activate sweep2wake and BLN, then the phone not go to sleep.. try it.. perhaps it works for your device too !!
[Galaxy S Advance I9070 Original Android Developmen] :
I believe new build is coming with a good changelog.
[Galaxy S Advance I9070 Original Android Developmen] ace2nutzer:
[MENTION=4832589]cocafe[/MENTION]

it runs now with ondemand governor stable with these settings ( undervolting ) @ 1150 MHz higher .. he does not succeed ^ ^

During the entire test , I noticed , that on full load @ 1150 Mhz + GPU @ 540MHz -> 1.2V vape .. since reached the Batt . 42° C (107,6° F) after 40 minutes of CPU + GPU test .. and the CPU is 85° C (185° F) hot !

In these conditions , the test will be canceled automatically ! .. Sometimes but also reboot!

Even with something less and less Mhz Vcore .. from an hour he reached the batt 42° C . Temp .. and the test is aborted again !

So I think it's a temperature problem ! I guess ( from experience) that will be the voltage regulator too warm and the voltage is not stable to the CPU / GPU !

The standard Vape the GPU is 1.175 V ? and 400 Mhz ... 've seen that you can set to 1.36 Vape and 730MHz ... to which clock speed and vape it is still " safe " ? Has anyone hardness tests carried out ?

I read in your thread that if the CPU is too hot , the Board U8500 automatically creates a reset ... that is very good ! So I think it is safe for the CPU @ max. speed and max. Varm .. it shuts wenns is too hot anyway!

But what about the GPU ? This is important to me ... there is also protection mechanisms ??

My undervolting values, stable up to 1150 MHz :

echo varm=0x0c > /sys/kernel/liveopp/arm_step0
echo varm=0x0c > /sys/kernel/liveopp/arm_step1
echo varm=0x1c > /sys/kernel/liveopp/arm_step2
echo varm=0x22 > /sys/kernel/liveopp/arm_step3
echo varm=0x2f > /sys/kernel/liveopp/arm_step4
echo varm=0x32 > /sys/kernel/liveopp/arm_step5
echo varm=0x34 > /sys/kernel/liveopp/arm_step6
echo varm=0x36 > /sys/kernel/liveopp/arm_step7
echo varm=0x38 > /sys/kernel/liveopp/arm_step8
echo varm=0x38 > /sys/kernel/liveopp/arm_step9

Thank you very very much in advance !
[Galaxy S Advance I9070 Original Android Developmen] me_ankit:
This issue is not present in 8.2. I am facing this issue on versions released after 8.2
[Galaxy S Advance I9070 Original Android Developmen] Bulgaricus:
Till 710MHz is kinda safe, higher clock rate can harm the GPU. Overclocks over 710MHz may cause heat, extreme texture errors and lags. (My GPU clock runs at 720MHz without any problem)

Our phone is SoC (system-on-a-chip) so if the board resets the SoC for heat problem it resets all the components on the SoC, as RAM and in this case the GPU! I hope i helped... Good luck with testing, you did a great job with the undervolting settings my phone can handle all the CPU clocks without any crash..Thanks!
[Galaxy S Advance I9070 Original Android Developmen] ace2nutzer:
Thank u !! Are u sure that is not 2 much ? 710MHz @ 1,36 V ... hmmm in combination of the CPU for example: 1,2Ghz @ 1,36 V.. I can not believe that the Stability Test CPU / GPU runs for 1.5 h without crashes ... U have already tested it ?!!

My Phone Runs now with CPU: 1,15 Ghz and GPU: 540 Mhz very Stable.. I'm very happy with these settings.. faster than i can see ! :victory:

Another Question:

When the Display is OFF, but NOT in deep sleep.. the GPU comsumes Power ?? (therefore remains on?)

And when the Phone is in deep sleep, CPU and GPU is completely OFF ?? (no power consumption) ??
[Galaxy S Advance I9070 Original Android Developmen] Bulgaricus:
i've used 1,25Ghz and 720Mhz for 9 weeks still no problems... i have epic performance in games.. and yes the undervolting code works really well.

it's all about luck and testing... if the phone is not in deep sleep yep the CPU and GPU consumes power... if it is in deep sleep they are in sleep... they are working but in a really low way... :highfive:

EDIT: in deep sleep the consummation of power is really poor!
[Galaxy S Advance I9070 Original Android Developmen] jadega:
[MENTION=741619]Mr. X[/MENTION]d97 plz can u tell me your device configriation so that I can enjoy games smoothly@700 mhz....after putting all my efforts I was forced to D-grade my phone for better gaming even GL tools did'nt helped so plz help me......
[Galaxy S Advance I9070 Original Android Developmen] templeka:
Faced another random reboot while browsing the web and I tried opening a link. I attached last_kmsg. There is some kernel panic in there around the last lines. Hope it helps.

View attachment last_kmsg.zip
[Galaxy S Advance I9070 Original Android Developmen] jineshpatel30:
waiting for 10 June ( it's not July ri8 ? as per quote :p ) and hoping your exam was / is going good :)

ok back to topic ,

as there is more than month since last build I ( many other ) hv some time to experiment with different versions. here are my conclusions...

sadly no OC kernel is stable in my phone :( {except with performance governor} one more thing i noticed is with both GPU & CPU OC even though benchmarks are showing good result actual performance is not good for me... i already posted some time ago that OC kernel UI is not smooth as NON OC ( even without using OC.... hoping u can fix it in next release ) and in games ...many games changes to High graphics when we use 1.2Ghz ( ex. nfs MW ) so instead of increase in performance it decreases and with OC most of time i get reboots withing 5 min while playing games .

so i tried older versions till 6.7 and v8.2 is best for me , smooth UI and good gaming :) { though it has its own problem of touchscreen become crazy while charging ;) }

one more thing i want to point out is that " sleep of death" as some user reported a week or 2 ago... i also experience this problem of phone sleep in both version latest 9.8 and 8.2 and it can't wake-up whatever we do , no response to power button or home button ... only thing helps is to hold power button for 8 sec to reboot... i dont know when exactly it occurs but most of time it occurs while downloading is on and phone went to sleep and after some time we try to wake it up.

finally i found , USB OTG ( WIP ) in newmaclaw's S3mini thread , dont know whether it's working or fake ( as usual :p ) but if it's working you can check it ( in case it can help )

https://github.com/NovaFusion/andro...mmit/bf67d8eb1846664ae357cff93067d7e5253aced0

( purpose of this post is not showing only problems and depreciate you , i'm one of the beloved appreciator of your work and your kernel is only reason i still using this device:p , i just share my experience with a view that it can help you to resolve problems )
[Galaxy S Advance I9070 Original Android Developmen] ace2nutzer:
My Ace 2 has OTG .. but it consumes to much power... (without plugged OTG Cable) in Normal way i have: 75mA and with OTG 144mA
[Galaxy S Advance I9070 Original Android Developmen] MikiGry:
What do u mean by OTG ?

-Connect pendrive , bluetooth mouse .etc ?

or

-Only charging other devices ?

Wysłane z Light-fonika 1-2.
[Galaxy S Advance I9070 Original Android Developmen] Sami Kabir:
In think its both.

Sent from my GT-I9070
[Galaxy S Advance I9070 Original Android Developmen] MikiGry:
Is this a joke ?

Ace 2 and sIII have "Beta" OTG support and our phone is not anable to handle it ?

Arrrrr S-A-M-S-U-N-G !!!

(Cenzored world) u !

Sorry for my words written there. And sorry for off-topic.

Wysłane z Light-fonika 1-2.
[Galaxy S Advance I9070 Original Android Developmen] ace2nutzer:
nope... it's not a joke !

Im mean a have more power consumption only if i activate it !! Nothing plugged in !!!

Very strange.. where goes the power down ?

See Screenshot ...
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
Cocafe explained it before I think, it does consume some power. Why would you keep it on anyway?
[Galaxy S Advance I9070 Original Android Developmen] ace2nutzer:
No, i don't wanna keep it on for ever :) Just wondering that consumes power without charging another battery or something else.
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Well, just got back.

Maybe will develop a clean kernel again, the current kernel has memory management issue.

For development details, welcome to visit my Github. :)
[Galaxy S Advance I9070 Original Android Developmen] MikiGry:
I think there are ram problems.

I am on light JB 1.2 witch 9.8 and ram ussage after phne reboot is tooo big.

580 mb /624 mb !!

The same thing is happening when i will try to play worms 3. I cant post screen shot because my gallery is not working.

Wysłane z Light-fonika 1-2.
[Galaxy S Advance I9070 Original Android Developmen] Gordon2013:
Next update?

Will there be a new update for this kernel, like version 10?

After a good amount of time, the phone started to really slow down........ And the battery was also dropping like a waterfall... I also have very low memory(RAM), like 100mb or so. When filming, the phone is so slow, that it's like freezes for a half a second, like it's filming with 10fps... What to do? Help! I managed to save some battery with Auto3G Battery Saver from Google Store, but that's pretty much it, the slow is still there. :(

I'm using custom firmware LightJB 1.2.
[Galaxy S Advance I9070 Original Android Developmen] coffeecore:
I think this ROM ain't gonna be updated anymore. Use Harshjelly if you want something like stock. Otherwise choose between the other awesome ROMs we have :thumbup:

sent with my S Advance
[Galaxy S Advance I9070 Original Android Developmen] rodaven:
WTF this is not even a ROM, just a kernel. Cocofe said he is waiting for an important test, then he will keep the development of his kernel.
[Galaxy S Advance I9070 Original Android Developmen] arffrhn:
WTF this is not even a ROM, just a kernel. Cocofe said he is waiting for an important test, then he will keep the development of his kernel.[/QUOTE]

Facepalm. LOL :p
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Fixing freeze issue (LOW RAM) now
[Galaxy S Advance I9070 Original Android Developmen] :
LOL
[Galaxy S Advance I9070 Original Android Developmen] coffeecore:
dude dude sorry I switched this thread with the LightJB thread, I just answerd somebody but tought it was light jb topic...

and if you would have read my comments properly you should have known I was not talking about kernel(s)
[Galaxy S Advance I9070 Original Android Developmen] Gordon2013:
Good news! Don't know why it happened though. :| Hope the new version will solve my problem. I only have 2 apps running in the background, the antivirus and Auto3G Battery Saver, so what is using up my RAM? In the development options I even checked the "limit background apps to 2 at most", "don't keep active apps that the user just closed". No difference...
[Galaxy S Advance I9070 Original Android Developmen] paratab:
does cocore gonna up kernel to 3.0.101?
[Galaxy S Advance I9070 Original Android Developmen] coffeecore:
Antivirus is taboo, you don't need them;)
[Galaxy S Advance I9070 Original Android Developmen] Gordon2013:
You sure about that? If not for the antivirus, I would've been screwed by some apps in the store. Yes, I do online transactions with my phone, and I want to be safe. There are a lot of viruses for smartphones too these days. Never got the chance to "test" one, darn... :p I agree the antivirus is taking resources, but not this much. This is ridiculous...
[Galaxy S Advance I9070 Original Android Developmen] Gordon2013:
One more thing. Dunno who's fault is it, but the sound and the vibration are also low since LightJB. The sound is lower than when it was 2.3.6 Gingerbread. And the vibration too, I can't feel any vibration when it's turned on, even though I maximized the vibration's intensity in the settings. :(
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Have you ever thrown your phone onto the ground?!

===

Here is the latest build, test it please.. freezes still exist, but it does not freeze over mins only few seconds...(not very often) when it freezes deadly, the RAM has nearly run out. And within several days using, i did not see dead camera bug when taking picture (it also relates to RAM, kernel driver reports that NO MORE MEMORY).

Thanks [MENTION]@Pieee85[/MENTION] for the LMK minfree value. :"

For more changelog here

You can see i added more cpu steps like 100, 300, 500 MHz, but i disabled them. It does not stable enough...

About the screen:

All s6e63m0 interfaces have been moved to /sys/kernel/s6e63m0

And added a sunlight mode and a night mode (more darker!)
[Galaxy S Advance I9070 Original Android Developmen] jadega:
Welcome back cocafe!!!

The new kernel is better than the previous version but when gaming I still get lags
[Galaxy S Advance I9070 Original Android Developmen] :
What game ? And if you review kernel it has simple bug fixes. Not big improvements, don't wait too much thing, our phone is weak because of RAM.
[Galaxy S Advance I9070 Original Android Developmen] jineshpatel30:
ok using & tweeking it for a hr...

didn't met with any freezes till now...

and small games ( <100MB ) are working smoother than before :) :good:

though UI hv some glitches

second i'm not using any OC bcz CPU OC gives me random reboots excepts on performance governor.. simply my ph is not capable for it :(

and GPU OC gives me glitches in UI so i disable it also

i use some init.d which makes UI smoother ..which i uploaded here.. ( collected them from different roms and threads and checked myself to find optimum performance.

another file contains older init.d which i was using with 8.2 and need your suggestion ( if u hv some time to look them ) whether they'll help to increase performance in new version or not ?

no need to say i like smooth performance and i'm not that much concern about battery backup bcz with these settings i can easily get 12hr+ which is sufficient for me
[Galaxy S Advance I9070 Original Android Developmen] Gordon2013:
I didn't throw it to the ground, I dropped it. But this was before even rooting my phone. And still on Gingerbread worked perfectly.

As for the camera, the bug I was refering to is in video mode, when filming/recording.

I'll show you a sample of what I mean. I recorded this not long ago. The problem starts at 0:23, and quite often...

https://www.youtube.com/watch?v=6nLp3OzA7CI

I don't know what to say about the latest build you've given me. I downgraded to 6.8. I think I'll wait for a more stable build, when the freezes will be fixed for good, and the RAM management will be better. Google made a very good android, why did Samsung **** and pee on it with they're touchwiz crap? Two thirds of performance goes down the drain. They're hardware is very good, but the firmware sucks...
[Galaxy S Advance I9070 Original Android Developmen] DEMONVoz:
I just want to clarify - If i right understood, reboots occur due RAM (kernel driver reports that NO MORE MEMORY) and problem not in processor quality (of course not always). Right?
[Galaxy S Advance I9070 Original Android Developmen] ace2nutzer:
Why u do not remove CPU / GPU OC / UV and see if u have still reboots ?!!

It's a simple and correctly way ! :cowboy:
[Galaxy S Advance I9070 Original Android Developmen] DEMONVoz:
[MENTION=5840412]ace2nutzer[/MENTION] It strange, but when memory free - no reboots, and phone can work on 1.2 ghz many time (when i clear RAM) and can passes the stability tests
[Galaxy S Advance I9070 Original Android Developmen] fbs:
I think cocafe was talking about Kernel memory (a limited amount that only Kernel can use).. Because we have a lot of options when we're running out of "normal" RAM:

1. Dalvik (java virtual machine where apps are run) will "garbage collect" and free some unused memory space left by

2. The "lowmemorykiller" module will simply close apps in order of importance

3. Linux itself will drop file-caches (lots of file are "mirrored" in ram for faster access) and this space is readily free when necessary

4. Linux itself has a rude process killer that will semi-randomly kill everything till some ram are free
[Galaxy S Advance I9070 Original Android Developmen] ace2nutzer:
Yeah.. and with no OC and UV ??? The same ?!
[Galaxy S Advance I9070 Original Android Developmen] DEMONVoz:
On 1 GHz always stable. But why new freq. (300, 500,700,900) unstable? I think for the same reason that and 1.2 GHz. And problem not in processor quality
[Galaxy S Advance I9070 Original Android Developmen] ace2nutzer:
Nope ... absoulutely wrong what u think !! This has nothing to do with RAM.. why the new steps are unstable... i dont know.. ask cocafe.

Your Problem is in UV / OV !! When u make a stability test, the CPU runs all the time at 1,2Ghz .. and it runs stable.. but when u use the Phone in a normal way.. u have a scaling mode.. so like ondemand Governor and the freq. ist switches very fast... that is the reason why you have reboots @ 1,2 Ghz.. u need to give more Voltage on the other steps.. especially: step4, 5, 6, 7, 8. ! For more Informations about this Stuff:

http://xdaforums.com/showpost.php?p=53304198&postcount=702

EDIT: and this Post about changing the Voltage on a single step !

http://xdaforums.com/showpost.php?p=53285566&postcount=694

Enjoy !! :highfive:
[Galaxy S Advance I9070 Original Android Developmen] juanchotazo99:
Linux manages RAM differently than windows. It tries to use all the ram as cache, and is the expected behaviour. In fact, vista implemented something similar and from then on, it's the expected behavior on both platforms, with linux remaining the lightest and best at it. Therefore you're not supposed to have free ram in android, especially since you're dealing with a battery powered device. Used, cached memory = ideal situation, and android from ICS (4.0) upwards is getting better and better at it. LightJB is old and not updated anymore, if you want to keep using stock JB, then you should be using harshjelly. This is a development thread, that's why you're being told to calm down and post somewhere else, like the Q&A section.

It is true that when comparing stock 4.1.2's memory usage to CM11/AOSP you'll see it being higher than the latter, leaving little free RAM. It is the free ram that's used as a cache in anticipation of an eventual app that it thinks you'll use, so when it's needed, it's already there ready to be used... and that cache is evicted as need by the main apps running. This means, switch to CM11/AOSP, you'll have little RAM use because of them being stripped of all the bloat, and the remaining free RAM as one huge cache... as it should be. In fact, try to use a half decent rig under windows 8.1.1 with only 1GB of memory. You'll be surprised how well it runs, it has come a long way... well, android does even better. Kitkat is excellent in that regard. Don't use any memory "cleaners" or task killers since they're meant for gingerbread (2.3.6) and below where RAM management left something to be desired...

It's just that samsung's 4.1.2 for this phone in particular is crap. As you said, 2.3.6 ran perfectly! But sadly it's a relic right now, unreliable, unsecure and largely obsolete. If you aren't happy with stock 4.1.2 performance + cocore you can always try CM11/AOSP which are mostly bug free and do make the phone more responsive. Especially CM11 right now which includes some important fixes that have to spread to other roms/kernels, including cocore (which runs only on stock 4.1.2). 9.8 is at least a month and a half behind, and is in urgent need of a stable update. Just wait a bit.
[Galaxy S Advance I9070 Original Android Developmen] malybru:
Mod Edit

Thread cleaned

May I remind everyone that this is an Original Android Development Thread

All discussion must remain on topic , and related to the Development of this kernel

Thank you

malybru

Forum Moderator
[Galaxy S Advance I9070 Original Android Developmen] jadega:
[MENTION=4832589]cocafe[/MENTION]

Since GCC 4.8(king's kernal) and GCC 4.9 (CM 11 by maclow) are out , is it possible to build a cocore kernal using these sources
[Galaxy S Advance I9070 Original Android Developmen] yeholipsker:
Ok, after almost week of using the latest build here is my experience-

1.it smooth and fast

2.not like the other builds, this one doesn't freeze in playing videos, mx player, YouTube etc...

3.the problem - my phone freeze and reboot only when I use the browser, especially when I try to watch videos in it, but not only.

I use stock 4.1.2 pegasusqplus, sioplus, min 200 max 1000.

Thank u cocafe, it's the best one for me since 8.2!
[Galaxy S Advance I9070 Original Android Developmen] bialabs:
I'm on 8.2 version

Sometimes Internet 3g is slow, I have no signal and a high battery drain on 3g (when I'm connected in wifi it's all ok)

It's a kernel problem or a modem problem?
[Galaxy S Advance I9070 Original Android Developmen] jineshpatel30:
/preload as SWAP partition ?

[MENTION=4832589]cocafe[/MENTION]

is it possible to use preload as swap ram ?

i have totally formatted preload partition ( no apps or symlinking , i use debloted rom and i removed symlinking and moved all apps to system/app and i hv >150 MB free in system so i'll never need preload in feature )

so i hv >300MB free space in /preload without any use

so can i use it as swap ram ?

if yes plz instruct me how to do it :)

PS : i'm on latest beta version of cocore
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
You can try with this. I used it before for testing on MIUI.
[Galaxy S Advance I9070 Original Android Developmen] jineshpatel30:
Thx for confirming that it's working on our device actually i searched and found it but i hesitate to use it bcz it wasn't ment for our device.

Now i read in that thread link that swap isn't that much good and it can adverse affect on performance.

So let's wait for [MENTION=4832589]cocafe[/MENTION]'s suggestion to use preload as swap on cocore
[Galaxy S Advance I9070 Original Android Developmen] iso188:
The best Cocore version for S Advance

What is the best Cocore version for Samsung Galaxy S Advance to fix the lags and freezes?

Because, I tried 9.8 and my phone is still laggy in games (such as Subway Suffers) and it freezes sometimes when watching videos.
[Galaxy S Advance I9070 Original Android Developmen] AltamashAN:
Try v 8.2