yashsingh1/xdaforums huggingface dataset:
[Galaxy S Advance I9070 Original Android Developmen] anantttt:
See if this is working.

Not a flashable zip. Extract the file from the zip and put in init.d folder.

Make sure init.d folder has 0777 permission.

After putting the script in that folder change its permission to 0777 AND Ownership to root root 0:0.

Reboot after that.

LINK--- https://www.dropbox.com/s/w54pn3wt2n5ronn/deepsleep.zip
[Galaxy S Advance I9070 Original Android Developmen] bobfrantic:
I use root explorer for setting permissions so what do i check and what is unchecked please.

Sent from my Advanced SII lite ;)
[Galaxy S Advance I9070 Original Android Developmen] Patlcs:
It works!! :highfive: thanks
[Galaxy S Advance I9070 Original Android Developmen] :
In CM init.d perms are : rwxr-xr--x

In stock init.d perms are : rwxrwxrwx

-.-

So check every permission.
[Galaxy S Advance I9070 Original Android Developmen] bobfrantic:
Thanks you guys. Changed permissions to the init.d folder to match the zdeepsleep script and set the ownerships to the script and it worked. Deep Sleep of 4 really makes a noticeable difference in battery, at least on my phone :)
[Galaxy S Advance I9070 Original Android Developmen] dipanjannet:
i didn't find any init.d folder.. how to get that in system/etc...
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
Make one with some root explorer.
[Galaxy S Advance I9070 Original Android Developmen] dipanjannet:
ok...means ive to just create a folder n copy n past n change permission
[Galaxy S Advance I9070 Original Android Developmen] dipanjannet:
aaah...thnx..seems ive done..
[Galaxy S Advance I9070 Original Android Developmen] dipanjannet:
what governor combo u r using.. m on pregasq+ sio

what should b if i change the deep sleep to 5?
[Galaxy S Advance I9070 Original Android Developmen] jazzh:
I tried to change deep sleep from 3 to 4 with kui on cocore 8.1 but it lags a lot afterwards, pegasusq+sio...

So reverted back to 3 and had to reboot.
[Galaxy S Advance I9070 Original Android Developmen] Patlcs:
Some games like despicable me lags a lot in 8.1 compared to 8.0

Are you meeting with that problem?
[Galaxy S Advance I9070 Original Android Developmen] YMatrix:
You got a wrong conclusion.

The deep sleep settings only takes affect of what happens when

screen turns off

.

Thus your lagging had nothing to do with it.

Changing that settings doesn't involve in needing a reboot.

Thing is, that the lag you were experiencing got fixed by the reboot itself, not by changing the setting.

Like I said, if you want to increase battery up time

while in standby

set the deep sleep to 4.
[Galaxy S Advance I9070 Original Android Developmen] jazzh:
Yes, I know old that. I used wrong term. It didn't lag, it was barely usable.

I think kui doesn't do it right.

---------- Post added at 11:42 PM ---------- Previous post was at 11:39 PM ----------

I meant all not old.

I wonder how come I can't edit my post. Sorry...
[Galaxy S Advance I9070 Original Android Developmen] YMatrix:
Oh!

haha! :laugh:

You didn't notice that when you open KUI, the min and max CPU frequencies are set to 200 mhz !

When using KUI, you should change the max CPU setting to whatever you like (I use 1 Ghz).

That really is a bug that if you don't notice, when you hit the apply button KUI sets your max CPU to 200 mhz :silly:
[Galaxy S Advance I9070 Original Android Developmen] jazzh:
Yes, that was the case :rolleyes:

It is a bug, because when I set it to 200-1ghz and deepsleep to 4, everything is ok, as expected, fast, but when I enter kui again deepsleep is on 4, but max freq ia again 200mhz. Although I can see it's 1 ghz in setcpu...

Thanx.
[Galaxy S Advance I9070 Original Android Developmen] :
In JB it's a known bug.You can set it, it will work as you set but the device show will you min and max at 1000.

Maybe it's not a bug...
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Hey guys...

First, I would like to thank the warm-hearted guys who reply the questions here. Thank you.

You know, I have been off for a month. I didn't do well in the last exams, sadly. I need to study harder.

It's likely that I will go home this Sunday. So I can release one that fixes lagness in 8.1, I have merged many Samsung upsteam commits, some of which are bad, so I removed them.

It works well with hotplug even. But I think my battery has been damaged...

If I get home on every Sunday, i will do some development.

Upgrading CWM, personally, It's better to keep CWM a stable version as I get some weird warnings in new ones. But I can upgrade CWM Touch.

Surely, I will provide LTS(long-term support), but slowly.

Hope that someone will do some kernel development, too.
[Galaxy S Advance I9070 Original Android Developmen] arneldna:
No matter how many times we thank you.. But the job that you do deserves more than a Billion thanks... We all are so grateful to have you as a SGSA user... I really wish I had enough money to donate as a token of appreciation... Keep studying harder...I am sure there's a fortune waiting for you....
[Galaxy S Advance I9070 Original Android Developmen] jazzh:
Now... after 1 day of use of deepsleep 4, I can surely recommend it over setting of 3. Not a single problem and my batt lasts approx 10% longer, with my habbits...
[Galaxy S Advance I9070 Original Android Developmen] Shiningb:
Keep going on, dude

If it wasn't you, we would have to wait Samsung to improve the speed(it would take, perhaps a year)

You deserve our thanks for making stock ROM usable
[Galaxy S Advance I9070 Original Android Developmen] rodaven:
Long life to cocore!

SS using 8.1
[Galaxy S Advance I9070 Original Android Developmen] Grady22:
I can not install any new kernel. After you write the code in terminal and reboot .. device is locked.. the only thing it can access is download mode.
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
Flash it with CWM/TWRP - kernel is in flashable zip. 8.1 is not, use Universal kernel flash from Frapeti.

I use 8.1 without any problem, you are doing something wrong.
[Galaxy S Advance I9070 Original Android Developmen] eduds:
What Android version your device is running? CoCore is compatible with Jelly Bean (4.1) only and your device should be rooted.
[Galaxy S Advance I9070 Original Android Developmen] jazzh:
Anyone tried 8.2 twrp?
[Galaxy S Advance I9070 Original Android Developmen] Grady22:
It is the first time it happens to me. I'll try Universal kernel flash :D

I use 4.1.2 Romania (COA)
[Galaxy S Advance I9070 Original Android Developmen] arneldna:
8.2 works great..!!FINALLY.....USB MASS Storage is Fixed....!!!!! Hurray..long live Cocafe..! UIremains smooth as usual..Games play well no noticeable lags. Yet to Test Battery life will report in 48 hours.
[Galaxy S Advance I9070 Original Android Developmen] jazzh:
8.2 so far, great!

How to enable usb mass storage mode?
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
Settings>More settings>USB utilities>Connect storage to PC.
[Galaxy S Advance I9070 Original Android Developmen] dipanjannet:
changed deep sleep to 4 in cc 8.2
[Galaxy S Advance I9070 Original Android Developmen] andu86:
deleted
[Galaxy S Advance I9070 Original Android Developmen] jazzh:
Oah, I see now, so obvious.. :(

Thx.
[Galaxy S Advance I9070 Original Android Developmen] arneldna:
No reboots and fcs with DS state set to 5...!.. :)
[Galaxy S Advance I9070 Original Android Developmen] dipanjannet:
which rom...n combo?

m in stock.

---------- Post added at 06:47 AM ---------- Previous post was at 06:40 AM ----------

is there any way to control the battery draining rate whenever surfing (2g) .mine in 10 minutes 4-5 % decrease .using opera mini n screen is continuously on!! plz reply if any solution found.

m on stock +8.2
[Galaxy S Advance I9070 Original Android Developmen] arneldna:
I will tell you mine...Harsh Jelly 3.1 + CC-E-8.2, I usually surf net at night when the Lights Go Off...:p so I use Night Mode: https://play.google.com/store/apps/details?id=pt.bbarao.nightmode helps me save a lot of battery while browsing, Gaming, Music and Videos...since we have SuperAmoled displays a Dim/dark dsplay utilizes low Power.

The battery drain is only when the screen is On. With Ondemand + Sio and Deep Sleep state @ 5 there is 0% drain in span of 11 hours when screen off. Hate Opera; I use Dolphin latest.
[Galaxy S Advance I9070 Original Android Developmen] dipanjannet:
installed that app...dats really a cool stuff ,but only in night.

now a day's i usually used pegasusq+sio

deep sleep 5

Changed to ondemand+sio

using opera mini

lets check,m not using any custom ROM

---------- Post added at 11:03 AM ---------- Previous post was at 10:25 AM ----------

facing a problem. whenever m going to switch on my phone in the boot menu its showing android is upgrading.

in cc 8 the problem was not there, but after installation of cc 8.2 touch m facing this after each n ever reboot or on/off.

tried wipe catche/dalvik catche but still exist. wat to do?
[Galaxy S Advance I9070 Original Android Developmen] andu86:
Using cocore 8.1 and light jb rom, only a few hours of battery life using the phone and internet on it
[Galaxy S Advance I9070 Original Android Developmen] mathei:
Maybe CoCore 8.2?!?:confused:
[Galaxy S Advance I9070 Original Android Developmen] corvus.corax:
I recently flashed CWM_deodex_xxlqe. Do I have to reflash that after installing 8.2?
[Galaxy S Advance I9070 Original Android Developmen] ming86:
every time.
[Galaxy S Advance I9070 Original Android Developmen] YMatrix:
Yeah, I opened the zip to see the script and saw it was only a one time script that needs to be run every time, but thanks :good:.
[Galaxy S Advance I9070 Original Android Developmen] bobfrantic:
I believe it is everytime but it isn't a big hassle at all. Easier than using the adb method for sure :)
[Galaxy S Advance I9070 Original Android Developmen] emmanueldmc:
Re: [Kernel][02/22/2013] CoCore-E 4.0

With this the sound boost is active?
[Galaxy S Advance I9070 Original Android Developmen] :
Don't use this method, terminal-emulator maybe temporary for many feature -after a reboot values turn to stock- Instead ; use init.d script.First write this in an empty file,

after ; write your commands what you want finally ; re-place it in /system/etc/init.d and set permissions 0777.

I know i know my English is f*ck*ng bad.I hope i can help you.
[Galaxy S Advance I9070 Original Android Developmen] fbs:
It's "Android OS".. and whenever I change to ondemand, the "deep sleep" works again.. so.....
[Galaxy S Advance I9070 Original Android Developmen] emmanueldmc:
Re: [Kernel][02/22/2013] CoCore-E 4.0

This way is correct? 0777 permissions is the same that 777?
[Galaxy S Advance I9070 Original Android Developmen] :
Yep, it's same
[Galaxy S Advance I9070 Original Android Developmen] mixvega:
R: [Kernel][02/22/2013] CoCore-E 4.0

I flashed cocore 4.0 from cwm recovery present in cocore 3.3, after flashing i've reboot simply using the command reboot. Work perfecly, i need to install the reboot-system-cwm.zip ? or not ?

Inviato dal mio GT-I9070 con Tapatalk 2
[Galaxy S Advance I9070 Original Android Developmen] er.jaldip:
Re: [Kernel][02/22/2013] CoCore-E 4.0

I think frepati's Universal flasher tool is safest for flashing kernel...

What you say guys????
[Galaxy S Advance I9070 Original Android Developmen] kneer:
Re: [Kernel][02/22/2013] CoCore-E 4.0

Ya its safe.. No mistake in typing wrong code

---------- Post added at 04:07 AM ---------- Previous post was at 04:06 AM ----------

Trying version 4, battery keeps on changing after 99%, but it never reaches 100%

But after removing the charger, it shows 100%
[Galaxy S Advance I9070 Original Android Developmen] emmanueldmc:
The New Kernel CoCore.E 4.0 installed by CWM?, no terminal emulator?
[Galaxy S Advance I9070 Original Android Developmen] mixvega:
R: [Kernel][02/22/2013] CoCore-E 4.0

Yes

Inviato dal mio GT-I9070 con Tapatalk 2
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
Одг: [Kernel][02/22/2013] CoCore-E 4.0

That is only if you get bootloop in cwm. If not, you don't need to use that.

Sent from Galaxy S Advance
[Galaxy S Advance I9070 Original Android Developmen] er.jaldip:
Re: [Kernel][02/22/2013] CoCore-E 4.0

Superb kernel!!! *****

Great performance...
[Galaxy S Advance I9070 Original Android Developmen] d14gvn:
Got an error in CoCore 3.3 and 4.0, only can set a max CPU freq of 800Mhz (tested on No-Frills and antutu CPU master)

And in 3.3 my PC doesn't recognize my device in MTP mode, in 4.0 it hangs A LOT.

Sorry for bad english, if my information was poor can you help me how can I show you more information about this issue? noob here haha :(

EDIT: So NOOB about the CPU freq HAHA, the option "battery saver" was activated, now that part is fine, and the MTP mode still with issues, tried all the USB ports.
[Galaxy S Advance I9070 Original Android Developmen] Apop10:
Re: [Kernel][02/22/2013] CoCore-E 4.0

I have the same problem with usb in my computer, in mtp mode.

Enviado desde mi GT-I9070 usando Tapatalk 2
[Galaxy S Advance I9070 Original Android Developmen] Sami Kabir:
For the first problem, Disable Power Saving Mode and/or Change Governor.. as some Governors limits the CPU's speed to 800 MHz to save power..

EDIT: Lol.. by the time I typed my answer.. you fixed it by yourself... :p
[Galaxy S Advance I9070 Original Android Developmen] cocafe:
Check my screenshot

Check your drivers on PC
[Galaxy S Advance I9070 Original Android Developmen] Nekrid:
Seems like core lost some smoothness and speed. Were there some changes connected with it or it's just me? :)
[Galaxy S Advance I9070 Original Android Developmen] mathei:
No, don't reflash.
[Galaxy S Advance I9070 Original Android Developmen] pawelarc:
screen ~3 hours and >60% battery, this is normal usage...

if you find your batt. usage as abnormal try to to detect wakelocks (better battery saver?)
[Galaxy S Advance I9070 Original Android Developmen] corvus.corax:
Mr. Cocafe, can you add 4-way reboot to restart on the power menu? I have that enhancement on my rooted S2 running NeatROM and it really is a great convenience for people like us here ( :) ) who like to constantly fiddle with our phones.
[Galaxy S Advance I9070 Original Android Developmen] northernhero:
Hi, can I know is it possible to keep my deepest sleep at 4 after I reboot?

I use KUI to change the deep sleep state, but after I reboot the deep sleep state will return to 3.

If I use terminal emulator to do it i get "permission denied"

Thanks in advance
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
Init.d script, read couple of pages back. Or simply search init.d on this thread.

---------- Post added at 07:59 PM ---------- Previous post was at 07:58 PM ----------

That is not provided by Kernel. Kernel only give possibility for it, framework of systemui need to be modded.
[Galaxy S Advance I9070 Original Android Developmen] :
It's about ROM not kernel.
[Galaxy S Advance I9070 Original Android Developmen] corvus.corax:
That's helpful. Thanks. At this point, I don't want to change the ROM. Most ROMs seem to be more stock-android oriented and I am happy with the stock Samsung ROM. However, I have an open mind if there is another good choice that is pretty much fully functional.
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
I did not tell you to install any ROM. :cool:

There is a guide how to make that what you need. http://xdaforums.com/showthread.php?t=1573032

:D:D:D

P.S. Much easier choice - https://play.google.com/store/apps/details?id=one.two.reboot

Look for similiar yourself. :) You need ROOT for this.
[Galaxy S Advance I9070 Original Android Developmen] samm000:
compatibility with cm10.1

Hi,

Is CoCore-E 8.2 compatible with roms based on cm10.1?

Cheers
[Galaxy S Advance I9070 Original Android Developmen] shadytarek_97:
No cm10.1 has its own kernel
[Galaxy S Advance I9070 Original Android Developmen] andu86:
Here its my results for cocore 8.1 & 8.2

8.1

8.2

If u look close i had even a sudden restart with 8.2

And the greenified apps

With past cocore kernels i had battery after 9h of using the phone to 30%
[Galaxy S Advance I9070 Original Android Developmen] corvus.corax:
8.2 is working smoothly, still a little laggy, but otherwise no problems after 24 hours.

---------- Post added at 01:24 PM ---------- Previous post was at 01:08 PM ----------

I installed EZBoot on my galaxy s-advance running CoCore 8.2. When I open the app, it does not ask for superuser permission, so I suppose that is why it is not working. Is there some way I can get SuperSU to recognize it?
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
Try some other app, it is not working to me too.
[Galaxy S Advance I9070 Original Android Developmen] corvus.corax:
I wrote to the developer to see if he has any advice. If he does, I will put it here.
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
Save yourself time and use this: https://play.google.com/store/apps/details?id=org.riceknight.gs2reboot

I just tried it, and it is working.
[Galaxy S Advance I9070 Original Android Developmen] corvus.corax:
Well, it never hurts to get an answer to something I don't know :good:

I ended up going with RebootMenu, which it turns out to be what you recommended under another name (but same developer - go figure). It works perfectly.
[Galaxy S Advance I9070 Original Android Developmen] wmfaiz:
i use quickboot
[Galaxy S Advance I9070 Original Android Developmen] isaak:
Can I set deepest sleep at 5 with pegasusq + sio in lastest 8.2?
[Galaxy S Advance I9070 Original Android Developmen] bobfrantic:
It is not recommended with pegasusq. I use deep sleep 4 with that and sio and get great battery life.
[Galaxy S Advance I9070 Original Android Developmen] :
Nope don't use deep sleep mode with hotplug governors.Use with Ondemand/Interactive
[Galaxy S Advance I9070 Original Android Developmen] corvus.corax:
I checked that out. I went with RebootMenu because it also can boot into download mode, which Quickboot does not do. I just thought that would occasionally be useful.
[Galaxy S Advance I9070 Original Android Developmen] templeka:
I had a sudden restart with 8.2 as well. After that I had to restart again since my screen went berserk. It was looking just like an old PC video-card braking down, torn image, pixels etc. It's good now and hope it doesn't happen again.
[Galaxy S Advance I9070 Original Android Developmen] pawelarc:
with deep sleep 5 i'm using ondemandq

works ok

Sent from SGSA using Tapatalk 4
[Galaxy S Advance I9070 Original Android Developmen] rodaven:
I had one of that too once, but it hasn't happened again since then. Lock and unlock the phone fixed that for me.
[Galaxy S Advance I9070 Original Android Developmen] snowcloud:
Me too have faced 1 random reboot per day.

Its not reproducible.

I did not faced any reboot on 8.1 in 10 days of usage.
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
I got reboot just on deepsleep 5 twice. I am on 4 now, and no problems.
[Galaxy S Advance I9070 Original Android Developmen] bobfrantic:
I had 2 random reboots using deepsleep of 5 with ondemandq and sio. with pegasusq and sio with deepsleep of 4 all is good, no reboots and battery is lasting 1 day 9 hours with 3 hours of onscreen time :D Phone operates smooth.
[Galaxy S Advance I9070 Original Android Developmen] isaak:
Me too... I use greenify donate + killjoy mod.

Probably one of these create some problems with deepsleep 5.
[Galaxy S Advance I9070 Original Android Developmen] krazzykid:
On CoCore 8.2 I've had 2 reboots with deep sleep 5 & 1 reboot with deep sleep 4. Both with Ondemand + SIO

Working fine now.
[Galaxy S Advance I9070 Original Android Developmen] sandebal:
Unable to set min cpu freq

I am using Cocore CWM 8.2 for I9070 with Light JB rom. I have set the min and max CPU fre as 200MHz and 800MHz rsp with help of KUI app.

However when I check for the min and max values in sys/power the values are as below

cpufreq_max_limit 800MHz

cpufreq_min_limit 1 GHz

I am unable to set the min CPU freq. I am not on the power save mode. Please anyone help me
[Galaxy S Advance I9070 Original Android Developmen] cougzys:
Is anyone running crt-off on CoCore 8.2? And do i have to run deodexed rom for that?
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
CRT zip changes services.jar and adds some permissions as I saw. So I think no need for deodexing. You can make nandroid backup and try, if there is some problem - restore backup.
[Galaxy S Advance I9070 Original Android Developmen] YMatrix:
If I remember correctly it just adds a script to the init.d folder without touching the services.jar
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
I downloaded zip, services.jar was in it. :cool:
[Galaxy S Advance I9070 Original Android Developmen] YMatrix:
Hmmmm, yeah I just checked it out :p

Though when I did it I only added the init.d script... :D
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
Maybe there was two ways and when you tried it was just with init.d. ;)
[Galaxy S Advance I9070 Original Android Developmen] cougzys:
I flashed the zip and the crt effect didn't work. Instead when i turned off the screen it was a laggy.
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
Now restore backup that I told you to make.
[Galaxy S Advance I9070 Original Android Developmen] jazzh:
I know this maybe hasn't to do anything with kernel, but anyway...

I flashed cocore 8.2 twrp.

Before that I wiped cache and dalvik cache from twrp.

When booted I started kui and changed deep sleep to 4, min 200 max 1ghz.

Now I don't have any issues, battery is fine, no reboots... but at the same time I noticed that data transfer is very bad compared to the previous state. Meaning "E" is there, "H" is there, it connects, but the transfer is very slow. Wifi works perfect.

At first I thought that some of the configuration APN parameters were lost when flashed cache, so I updated them with new initiated configuration message from the operator.

At 1st, nothing happened, same speed, but when I restarted I had faster data speed, as before.

Started kui again, deep sleep to 4 again, checked transfer again - fast.

And after some time during the day, it becomes slow again.

What do you think? KUI related? Deep sleep to 4 related? Kernel 8.2 related? APN params related? Or provider related, just a coincidence...?
[Galaxy S Advance I9070 Original Android Developmen] jazzh:
Hmmm...

I think I know what caused the issue. Some widget I installed, for enabling wifi/3g. One of the modes in it was 3g only, besides 3g off, wifi on.

It seems that 3g only tortures the data modem and it constantly retries to connect in 3g, where only 2g is available.

Uninstalled it, cause there is no mode 2g3gauto...
[Galaxy S Advance I9070 Original Android Developmen] prateektyagi91:
I got bootloop after installing 8.2 kernel in cm 10.2 29/10 version

Please help!
[Galaxy S Advance I9070 Original Android Developmen] darcik:
If I'm right CM has own kernel based on Cocore, so you cant use this one.

Maybe is somewhere zip file with only CM kernel to flash in recovery?
[Galaxy S Advance I9070 Original Android Developmen] arffrhn:
If you can still enter recovery, flash back CM rom. Then wipe cache and dalvik. You cannot flash cocore over CM or any CM based roms. They only works with CM kernel that comes with the rom.

Sent from whatever the thing I use using whatever the app I have.
[Galaxy S Advance I9070 Original Android Developmen] aotta:
but no news about BLN support? is still in the CoCafè "to do" list?
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
It is not done still. Probably it is on "to do" list. CoCofe is occupied with school now.
[Galaxy S Advance I9070 Original Android Developmen] ™LEO:
Does OTG work with this Kernel(v8.2)?
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
No.
[Galaxy S Advance I9070 Original Android Developmen] templeka:
Sadly I had to revert to v8.1. I experienced to many random reboots with v8.2. I would have put some logs here if I knew how to get them, but sadly I didn't figure how logcat works.
[Galaxy S Advance I9070 Original Android Developmen] AltamashAN:
I never faced any random reboot in a week ,try clearing cache and dalvik cache.