yashsingh1/xdaforums huggingface dataset:
[Galaxy S Advance I9070 Original Android Developmen] sarabjit singh:
suggestion

i just moved to indian firmware from Russian firmware .. succeed in rooting but now stuck in part of kernel .. can any one tell me the exact command or method that how to get cocore i already tried method but still stuck on stock firmware .
[Galaxy S Advance I9070 Original Android Developmen] Sami Kabir:
- Download Terminal Emulator

- Download the kernel and put it on your internal SD card

- Open Terminal Emulator and type the codes below:

su (tap on enter and grant superuser permission)

dd if=/sdcard/kernel.bin.md5 of=/dev/block/mmcblk0p15 (then carefully type this and tap on enter)

you will see a message saying "..blah blah has been transferred in xx seconds.." :p

then type "reboot" without quotations and tap enter... :)
[Galaxy S Advance I9070 Original Android Developmen] arffrhn:
Flash using UKF.

1. Download preferred kernel.

2. Extract the zip file and search for kernel.bin.md5. Put it in root of internal sd.

3. Download any root explorer (es file explorer) from playstore.

4. Download and install Universal Kernel Flasher from playstore.

5. Open the app and follow direction from the app.

6. Easy and safe success. Reboot.

7. Thank cocore and frapeti for their awesome work. :good:
[Galaxy S Advance I9070 Original Android Developmen] sarabjit singh:
slub

can any one tell me how to flash or install slub part because i just flash 7.0 cocore ....
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
Search this thread with "slub", and you will find it. Cocofe posted zip with it.

Послато са GT-I9070 користећи Тапаток 2
[Galaxy S Advance I9070 Original Android Developmen] arneldna:
Can you please share your Easy Battery Saver Advanced Mode Configuration ?I have tried all....battery doesn't last beyond 13-15 hous of normal usage...!
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
See screen on. :D:D:D Second bar from the bottom. He almost didn't use the phone.
[Galaxy S Advance I9070 Original Android Developmen] arneldna:
:laugh::laugh::laugh::laugh::laugh:...lol
[Galaxy S Advance I9070 Original Android Developmen] rajman:
well, that is a well known rule, if your smartphone can last more than a one day of usage, your not using it properly.

end of story.

tapatalked
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Okay guys, i have compared DXAMD kernel to 7.0slub.

And it is true that WA gallery lags as CoCore.

But i have decided to restart kernel from pure source.

At the end of August, it will be here maybe(beta builds will be release daily)

There will be an one-week vocation after two weeks.
[Galaxy S Advance I9070 Original Android Developmen] arneldna:
Good luck with your new work..!! My best wishes with you....

All Hail Co-Cafe..!..Lord of Kernels..!!!
[Galaxy S Advance I9070 Original Android Developmen] arneldna:
Deep Sleep Tweak

I set the Deep Sleep state to 5. I use Ondemad/Sio;but CPU Spy never shows that the CPU was in Deep Sleep state. At least it runs at 200Mhz...but no deep sleep. An idea why dit doesn't go to Deep Sleep mode.

After I set the DS state to 5, I checked the CPU Idle stats and it says 'Deepest Sleep state is set to 3. What does that mean?
[Galaxy S Advance I9070 Original Android Developmen] CallMeVentus:
The deepest sleep state did not change to 5

You wouldn't care where I sent this message from.
[Galaxy S Advance I9070 Original Android Developmen] sam_code4u:
Deep sleep is workingfine for me. Battery isn't a problem. Only 3% battery was consumed in ~5hr when phone wasnt in use.
[Galaxy S Advance I9070 Original Android Developmen] Prabuw:
I'm reverting back to 6.2 , the 7.0 version was so smooth but not until I played some games.

I'm using CSR Racing and Minion Rush as my benchmark, with 6.2 there is no single lag for them. I'll stick with 6.2 for now, however the 7.0 one was so slick and smooth,I think it depends on different handheld. Thank you Cocafe for your awesome kernel :D
[Galaxy S Advance I9070 Original Android Developmen] BOOTMGR:
Hello

hi,

as cocafe is busy with his studies, he can't give us that much time.So guys untill he comes back i'll keep providing you test builds of cocore kernel.please test them and report back them here.note that this won't be final build.I won't implement anything new.I'll only do as cocafe says.

So, here goes the first build.

Test Build

-Fix CPU hotplug after delay
[Galaxy S Advance I9070 Original Android Developmen] arneldna:
Well..I'm able to see this now.....But how can I determine that the DS state is set to 5 ? I used the Terminal command exactly as instructed by Cocafe..." echo 5 > /d/cpuidle/deepest_state "

But I have a wierd problem here...the moment I complete typing deepest_state, I get the below screen. Any fix for this ?
[Galaxy S Advance I9070 Original Android Developmen] NeoXP:
A permission problem, open terminal emulator and get root-privileges by typing su and hit enter.
[Galaxy S Advance I9070 Original Android Developmen] arneldna:
I did as you said... Can I assume the DS state is now set to 5?
[Galaxy S Advance I9070 Original Android Developmen] NeoXP:
I would say yes, but you can always check the settings by typing cat /d/cpuidle/stats in terminal emulator.
[Galaxy S Advance I9070 Original Android Developmen] arneldna:
Have no clue what it says.... Is it now set to 5?

Change is always constant...!
[Galaxy S Advance I9070 Original Android Developmen] hastalafiesta:
I'll test it today and I'll give some reports if there's any prob.

Inviato dal mio GT-I9070 con Tapatalk 2
[Galaxy S Advance I9070 Original Android Developmen] CallMeVentus:
Do

cat /d/cpuidle/deepest_state

You wouldn't care where I sent this message from.
[Galaxy S Advance I9070 Original Android Developmen] arneldna:
No avail...... Still the same message.

Change is always constant...!
[Galaxy S Advance I9070 Original Android Developmen] CallMeVentus:
Once you've changed the deepest sleep state, don't restart, as the changes will be lost after a reboot.

Firstly, use su to get superuser permissions.

Secondly, type in the deepest sleep state code

echo 5 > /d/cpuidle/deepest_state

Lastly, check it

You wouldn't care where I sent this message from.
[Galaxy S Advance I9070 Original Android Developmen] NeoXP:
Use init.d script to make the changes permanent. See the excellent instructions of CoCafe in one of the first posts of this thread.
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Did any guy got any freeze/reboot when woke up device with latest build(built by mr.harsh)? :X
[Galaxy S Advance I9070 Original Android Developmen] mathei:
After 20 hours, no freeze/reboot.
[Galaxy S Advance I9070 Original Android Developmen] sam_code4u:
I am stuck into boot loop. It reboots into recovery everytime I restart the device. Using the harshjelly Rom.
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
That's ramdisk stuff, j4fs/param modules might haven't been updated
[Galaxy S Advance I9070 Original Android Developmen] mathei:
I use same HarshJelly 2.0 Rom. No freeze, reboot normal.
[Galaxy S Advance I9070 Original Android Developmen] sam_code4u:
Well. Fixed the ramdisk. Its working now. Noticed slight lag at some places but overall it functiona normally. No reboot / freeze
[Galaxy S Advance I9070 Original Android Developmen] arneldna:
Awesome..! it worked like a charm. Ty vm... Any guide available on how to make this permanent with init.d scripts..?

Change is always constant.....
[Galaxy S Advance I9070 Original Android Developmen] NeoXP:
Check this post from CoCafe about different settings and tweaks.
[Galaxy S Advance I9070 Original Android Developmen] arneldna:
Man.. You are damn fast.. I appreciate. A question though. Just had a random freeze and reboot...do you think DS has to do something about it?

Change is always constant.....
[Galaxy S Advance I9070 Original Android Developmen] CallMeVentus:
Certain apps and/or governors have problems with the deep sleep states

You wouldn't care where I sent this message from.
[Galaxy S Advance I9070 Original Android Developmen] NeoXP:
[MENTION=5008436]arneldna[/MENTION]

This is also explained in the same post, I suggest you read it completely.
[Galaxy S Advance I9070 Original Android Developmen] CallMeVentus:
....I think you should quote the correct person

You wouldn't care where I sent this message from.
[Galaxy S Advance I9070 Original Android Developmen] NeoXP:
Sorry mate, previous post edited.
[Galaxy S Advance I9070 Original Android Developmen] arneldna:
I did fyi he says PegasusQ/HotPlug governers dont work... But ondemand works well wi DS 5 And I use the same with SIO.

Change is always constant.....
[Galaxy S Advance I9070 Original Android Developmen] NeoXP:
Are you using lastest build from CoCafe or Mr.Harsh?
[Galaxy S Advance I9070 Original Android Developmen] arneldna:
I use the last most stable version released by cocafe..(CoCore-E-7.0-TWRP.zip - [Click for QR Code] (10.06 MB, 1428 views last updated in OP)
[Galaxy S Advance I9070 Original Android Developmen] NeoXP:
I haven't messed with deepest sleep state, so I have no experience with it.

You could try to change deepest sleep state to 4 and check if the reboots/freezing still occurs, you could also downgrade to an older version of the kernel and check if the problem occurs.

Good luck.
[Galaxy S Advance I9070 Original Android Developmen] carlese:
Mr. Harsh released a kernel? Where?
[Galaxy S Advance I9070 Original Android Developmen] NeoXP:
link
[Galaxy S Advance I9070 Original Android Developmen] arneldna:
Compiled by Harsh, with Cocafe's guidance**
[Galaxy S Advance I9070 Original Android Developmen] carlese:
Anyone tested it? Still freezes?
[Galaxy S Advance I9070 Original Android Developmen] sam_code4u:
What freeze /crash u guys are talking about? Been on the cocore-7.0 since 2 days. Havent noticed anyhing unusual yet? !!
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
What gov/IO? I was not getting freez on Ondemand/NOOP (or SIO). And on PegasusQ and some other I got freez. I will try that "Compiled by Harsh, with Cocafe's guidance" kernel now. :)
[Galaxy S Advance I9070 Original Android Developmen] sam_code4u:
Yes i have been using odemand, interactive previously and recently switched to smartassv2 with sio.

So far interactive proved to work best for me.
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Nope guys, i meant the freeze during waking up(unlocking screen).

Anyone has this? I need the log

Some apps haven't optimized well, their lags are unavoidable(like viewing posts of xda app, WA Gallery)...(stock kernel does too)
[Galaxy S Advance I9070 Original Android Developmen] sam_code4u:
I am using the new kernel posted by harsh. I havent encountered any lag on lo screen and on screen wake up.

I am using harsh jelly rom and crossbreeder. With cocore kernel.

What can I do? I am willing to help.!
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
It was freez like phone is stuck, and maybe it was on unlocking (can't remember, I used MIUI some time - now got back to see how that kernel works). For now that new build from Harsh is ok. :good:
[Galaxy S Advance I9070 Original Android Developmen] DeuxEx:
I have installed CoCore 7.0 on a I9070P, but after a few days, I receive random reboots and freeze screens. But after a few days, not right away!
[Galaxy S Advance I9070 Original Android Developmen] :
If you're having issues with init.d scripts, try this text (you should write this before echo commands)

Tapatalked
[Galaxy S Advance I9070 Original Android Developmen] Prabuw:
I didn't get random lags and freeze with 7.0 but not until I playing some games.

So I swith back to 6.2 which is more smoother for gaming.

The only problem is overheat but its ok. Still...without cocafe's kernel this device just giving a bad experience for me.:)
[Galaxy S Advance I9070 Original Android Developmen] sam_code4u:
Yup playing games just sucks on cocore 7.0 otherwise i dont experience any frequent freeze/lag on the device.

I hope future release will be optimized for gaming.

Simple games like subway surf, temple run experiences lag or shuttering.

I wonder if the developer play games on the device when developing the kernel.

I love cocore because it helps my device run smoothly for general purpose.
[Galaxy S Advance I9070 Original Android Developmen] CallMeVentus:
It depends on your configuration

You wouldn't care where I sent this message from.
[Galaxy S Advance I9070 Original Android Developmen] arneldna:
CoCore is the only Kernel which is optimized for smooth Gaming. I played Asphalt7, Temple Run Oz, Eternity warriors,with FPS meter on and I got an average of 58 Frames/sec...isn't this smooth enough ? May be you do not recall when Subway Surfer lagged like Hell!! with The stock Kernel, I purchased Asphalt7 and I couldn't even use it until I flashed CoCore....
[Galaxy S Advance I9070 Original Android Developmen] sam_code4u:
What configuration?
[Galaxy S Advance I9070 Original Android Developmen] carlese:
Latest version by Mr. Harsh has cwm, and I got stuck in recovery.. Please use twrp from now on, it works way better! ;)
[Galaxy S Advance I9070 Original Android Developmen] CallMeVentus:
It depends on anything that you're using, be it optimizations, scripts, build.prop mods etc

You wouldn't care where I sent this message from.
[Galaxy S Advance I9070 Original Android Developmen] sam_code4u:
I am not using any other nod on my device. Its cocore + harshjelly rom
[Galaxy S Advance I9070 Original Android Developmen] CallMeVentus:
User apps?

You wouldn't care where I sent this message from.
[Galaxy S Advance I9070 Original Android Developmen] sam_code4u:
Not more than 8-10 apps anytime.

Its cocore 7.0. I can play games fine on cocore 6.2

But i like the sleek design of the latest version. Performs better for general use and phone is snapier.

I am not a gamer. But, i like to play games occassinaly. Basically i use my phone to check emails and notifications.
[Galaxy S Advance I9070 Original Android Developmen] lebidou:
Hey, everyone.

I used CoCore-E 7.0 and went back to 6.8 because of slow downs, freezes and reboots. But I still had those :(

So I checked my data partition for errors and reinstalled a few apps. Now it is much better.

For those who don't know how to do that :

Reboot on recovery, plug your phone on your computer. Then, with adb, open a shell :

adb shell

And check for errors :

e2fsck -fn /dev/block/mmcblk0p5

This won't fix anything, just tells you if there are errors to fix.

To actually fix things :

e2fsck -fy /dev/block/mmcblk0p5

I also wiped caches and dalvik-cache, to remove possible errors.

Reboot your phone and use logcat or catlog to find which app still has issues (freezing still may occur).

In my case I had to reinstall :

-Google Keyboard;

-Google Chrome;

-Facebook;

-Play Films and YouTube;

And a few others, but I don't remember which. It will likely be large apps since they have more chances to get corrupted.

I haven't reflashed CoCore-E 7.0 yet. As my phone is working fine right now.

That worked for me, I'm not saying this IS the solution. But it would explain why some people report freezes and others don't, and also why freezes and reboots seem to grow more frequent over time. The remaining question is : why did the data partition got corrupted?

I hoped this will be useful to someone!

Have a nice Sunday!
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
I was planning to push 7.2 today

But i messed up my Ubuntu

I am setting up Ubuntu now :(
[Galaxy S Advance I9070 Original Android Developmen] lebidou:
It's OK, take your time ! There is no hurry !

Checking the few ANRs I got since two days ago, when I checked my /data partition, I noticed heavy CPU load caused by the 'mmcqd' process (up to 34%). So I'm gonna check every partition, like internal and external SD Cards, they could also be effected by the same issue.

I repeat myself but, I don't know if that's the solution to everyone's performance/reboots issue, but it did the trick for me !

Good work on kernel, Cocafe ! Keep it up !
[Galaxy S Advance I9070 Original Android Developmen] pawelarc:
great news!

(team CoCore 7.0 twrp/lightJb work perfect, no lags, no restarts... but i decided to remove crossbreader from my set :))

Sent from GT-P1000 with Tapatalk 2
[Galaxy S Advance I9070 Original Android Developmen] mykimouse:
Is there any app which can check data partition for errors?
[Galaxy S Advance I9070 Original Android Developmen] lebidou:
I don't think so, since the data partition must be unmounted to be checked. Hence the use of recovery and adb.

Edit: You could use a one time init.d script to do this at boot time.

Note : I still have a few hangs and reboots (I used my phone heavily today). It is important to track down every app that might cause trouble due to corrupted data. In my case it seems Maildroid is being nasty, as well as DialApp. If you don't feel able to hunt these down with logcat/catlog, a factory reset, followed by e2fsck

might

correct everything.
[Galaxy S Advance I9070 Original Android Developmen] Prabuw:
Yes there is some nasty app which is slowing down some another app (mostly games) :eek:

Ex. Foursquare forcing Maps to always running in background which is eating some amount of ram CMIIW.

With cocore 7.0 I hardly feel overheat while gaming but the lags untolerant at this time.

Hail logcat!:D
[Galaxy S Advance I9070 Original Android Developmen] lebidou:
I'd like to report an other issue. I didn't find any information on this in the thread, maybe I overlooked it.

It has to do with using MTP with Macs. It doesn't work. A little research lead me to this :

http://xdaforums.com/showthread.php?t=2130521&page=6

It seems we're missing the /dev/mtp_usb file. So the MTP driver stops with errno=2, and the File Transfer thing on MacOS never connects to the phone.

The Mass Storage thing works ok, it is just MTP.
[Galaxy S Advance I9070 Original Android Developmen] Sh0m1:
Games work better on 6.8 than on 7.0 for me.
[Galaxy S Advance I9070 Original Android Developmen] Prabuw:
I'm using 6.2 for now, no issue or whatsoever. I still remember one of 5.x cocore version was really stable..I keep using it for a month without reboot or turning off my phone, everything went smooth. But I forgot which one it is.

I use stock LQB with interactive+sio. No additional script or boost.
[Galaxy S Advance I9070 Original Android Developmen] AlexCoolBoss:
Can u make it compatible with miui?
[Galaxy S Advance I9070 Original Android Developmen] :
I don't know game performance but battery is clearly better with stock kernel.
[Galaxy S Advance I9070 Original Android Developmen] YMatrix:
I have to strongly disagree.

With the right configuration for your usage (you need to test yourself) cocore is the best for both performance and battery usage.
[Galaxy S Advance I9070 Original Android Developmen] Sh0m1:
Cocore>Stock but CM kernel>Cocore. But for stock, this is the best kernel and the only one that is being updated. And if you care that much about a little more battery usage use stock. Just dont expect to be able to play games, or do anything at all :P
[Galaxy S Advance I9070 Original Android Developmen] :
It's not about just kernel as you know.

I tested it for a long time.Even after flashing stock kernel battery drains stopped I can clearly see this.Of course I'm respecting choices I just write my reviews, good luck with it. :good:

Edit : And flashing the stock kernel won't beat your phone :D you can tweak it, you can disable sleepers/debuggers for performance bla bla.. game performance is not terrible but not as good as CoCore

Sorry for bad English...
[Galaxy S Advance I9070 Original Android Developmen] LyNChP1N:
Eagerly waiting for a stable release of this awesome kernel for every day use(its for my dads phone, cant afford to have too many random problems) :D
[Galaxy S Advance I9070 Original Android Developmen] galaxyfitankit:
totally agreed.. after using all cocore kernels for 4 months in back to stock trust me nothing can beat stick kernel on stability and battery :) though cocore is the smoothest kernel :)
[Galaxy S Advance I9070 Original Android Developmen] carlese:
But YouTube videos lag like he with stock kernel..
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Well, i just fixed some bugs during rebooting the phone.

Do a reboot, then check /proc/last_kmsg, you will get the log of that scheduler bug

That isnt serious, so relax. xD

I will push 7.2 tomorrow, a stability update.

So tired, gonna sleep
[Galaxy S Advance I9070 Original Android Developmen] Heartstoler1991:
Great work
[Galaxy S Advance I9070 Original Android Developmen] jineshpatel30:
so how will u get rid of those frikin lag even in launcher? ?

its nicely said ...

u can recharge battery bt can't performance. :D

and battery life on cocore is not that much bad.

so cocore is best for sgsa respect that fact :)
[Galaxy S Advance I9070 Original Android Developmen] juanchotazo99:
Well, for the launcher I've just stopped using it, touchwiz will always lag like hell for no reason... I froze it and installed something else like nova.. no more lags. Smooth! Surprisingly it's gotten rid of every lag there was while browsing menus, for example. Using cocore 6.8, I can't seem to get 7, or 7slub working fine without some freezes for some seconds and the like.
[Galaxy S Advance I9070 Original Android Developmen] jineshpatel30:
many times nova stucks on "stock kernel" n freeze every thing...

& launcher is just an example my point is cocore is far batter than stock

I also find 6.8 batter than 7 bt it doesn't make all cocore worse than stock
[Galaxy S Advance I9070 Original Android Developmen] galaxyfitankit:
hi bro

first time when I came from gingerbread to jellybean the stock was lagging like hell but now it's smooth no Lag battery amazing no lag in touchwiz drop down games or even you tube... I'm on deodex stock ddlup8 removed most of the bloatwares... using the same ukf for pricier by jignesh patel of stock ddlup8 kernel... thanx a lot bro
[Galaxy S Advance I9070 Original Android Developmen] mykimouse:
Will try 7.2 and post my views later.
[Galaxy S Advance I9070 Original Android Developmen] jineshpatel30:
I'm wondering how my ukf bkup works better in yrs than me. :p { btw my name is Jinesh not typical gujarati Jignesh ;)

if it works better , than good for u.

so let it b

guys,

just tried 7.2 its better than 7

no random stuck , smooth games

thnx to cocafe for new update
[Galaxy S Advance I9070 Original Android Developmen] maldex:
Sorry, where is link for 7.2 E?

Inviato dal mio GT-I9070 HarshJelly + CoCore 7
[Galaxy S Advance I9070 Original Android Developmen] Stevex26:
Here: http://xdaforums.com/showpost.php?p=37782738&postcount=5

After TWRP info!
[Galaxy S Advance I9070 Original Android Developmen] lebidou:
Just flashed it, so far so good. I will report as I test mmcqd behavior.
[Galaxy S Advance I9070 Original Android Developmen] giec:
It work fine on XXLQG (ITA)?? lag on gaming? I have cocore 6.2 + xxlqg
[Galaxy S Advance I9070 Original Android Developmen] :
Try and see, results are vary.
[Galaxy S Advance I9070 Original Android Developmen] hastalafiesta:
I have lqg. All is smooth. great work mr cocafe

Inviato dal mio GT-I9070 con Tapatalk 2
[Galaxy S Advance I9070 Original Android Developmen] LyNChP1N:
Sorry for bugging you guys butt i have a doubt.

1. Does this work fine for a stock rooted rom?(just making sure)

2. Is the cwm zip for 7.2 flashable from cwm recovery? or should i follow the terminal command instructions itself?
[Galaxy S Advance I9070 Original Android Developmen] lebidou:
It is meant to be used on a stock rooted ROM.

The CWM zip file is flashable through any custom recovery, CWM included.

Have fun with it!

Everything is working fine here.
[Galaxy S Advance I9070 Original Android Developmen] carlese:
7.2 works flawlessly.. I have a strange problem though, and this happens with all the kernel versions.. When I open the camera app, it doesn't show any button, and I have to reboot or wait like 5 minutes for them to appear.. Is it a kernel problem or crappy Samsung firmware? Thanks!