yashsingh1/xdaforums huggingface dataset:
[Galaxy Y GT-S5360 Android Development] Kousthubha Kumar:
Repencis Kernel doesnt seem to support deep sleep. Can anyone confirm that with irfans one? Thanks :)

Yeah. Low CPU load is referred to as Deep Sleep not only least CPU frequency. It used to work on Merruk v2 pre-final. Will test with irfans when I go home. Any confirmations before that could be appreciated :)
[Galaxy Y GT-S5360 Android Development] b16h22:
It is the inactive state of cpu.Some kernels does have the issue with wakelocks.I had that on terma's kernel

And according to my knowledge uv does not save much power in deep sleep.

sent while doin' some burnouts
[Galaxy Y GT-S5360 Android Development] MarcoToo:
Wow exactly what I wanted to do last weekend when my machine failed compiling and I bricked my phone and had to go back about 15 steps. Lovely!
[Galaxy Y GT-S5360 Android Development] Kousthubha Kumar:
How did that happen? You need to extract the boot.img file to your sd card and use kernel updater.zip or use odin to flash. Did you flash the zip intact?
[Galaxy Y GT-S5360 Android Development] kurotsugi:
I think he want to compile his own kernel. I'd like to try that too but I don't have linux system in my computer.
[Galaxy Y GT-S5360 Android Development] Kousthubha Kumar:
Oops yeah. Misunderstood it.
[Galaxy Y GT-S5360 Android Development] PREMOLIKES:
Why do you include meta and other folder with boot.img, Should i have to use only boot.img ?
[Galaxy Y GT-S5360 Android Development] MarcoToo:
You can flash that zip with CWM. That's why. :D
[Galaxy Y GT-S5360 Android Development] irfanbagus:
yes, because in deep sleep cpu already use very small power.

that's zip file flashable using stock/cwm recovery.

still got deep sleep problem?
[Galaxy Y GT-S5360 Android Development] xjammetx:
anyone wanna help having deep sleep in repencis final?

maybe someone should address him.
[Galaxy Y GT-S5360 Android Development] Kousthubha Kumar:
Bricked my phone flashing irfans kernel. My phone is messed up though. Need a clean sweep . Flashing irfans kernel from repencis has some issues. Merruk kernel still flashing and booting but irfans not booting. Cant complain though. I will test it by flashing over my modded ROM with stock Kernel.
[Galaxy Y GT-S5360 Android Development] irfanbagus:
sorry about that. looks like it's work on my phone only :D
[Galaxy Y GT-S5360 Android Development] PREMOLIKES:
@Hit me , make sure your build.prop is clean without tweaks before flashing kernels.

@irfan,I never knew that boot.img can be flash as cwm.zip.I got 3 goverrnors in Bacem ? Is that it?
[Galaxy Y GT-S5360 Android Development] Kousthubha Kumar:
Some sorta error with repencis kernel. Made Fresh install still some issue. Irfanbagus Kernel is clean and installing well. Thanks for the tip though. I solved the issue.

Thank you irfanbagus for your support trouble shooting the issue. I appreciate it.
[Galaxy Y GT-S5360 Android Development] MarcoToo:
Working on mine too, and it actually fixed the sleeplessness plus I love sio. But I actually only used your zImage, made my own insecure ramdisk with

exec /system/bin/sysinit

in init.rc for init.d support. Many many thanks!
[Galaxy Y GT-S5360 Android Development] kurotsugi:
stock rom doesn't have sysinit file in /system/bin. there's another easier method to make our kernel support init.d script.
[Galaxy Y GT-S5360 Android Development] savie:
So what is your easier method to make kernel support init.d bro kuro??

Still find the easier method :p
[Galaxy Y GT-S5360 Android Development] repencis:
did u mean like this?

just set cpu in ondemand io sio

freq max 624 min 312
[Galaxy Y GT-S5360 Android Development] kurotsugi:
by adding this line

start sysinit

class_start default

and

service sysinit /system/bin/logwrapper /system/xbin/busybox run-parts /system/etc/init.d
disabled
oneshot

with this method we doesn't need to use sysinit file. as long as we have busybox we'll able to run any script in init.d
[Galaxy Y GT-S5360 Android Development] repencis:
u can test too with kurotsogi tips its work without

on property:cm.filesystem.ready=1
[Galaxy Y GT-S5360 Android Development] kurotsugi:
@repencis: thanks for more detailed explanation. Btw, what is the function of the line below start sysinit?
[Galaxy Y GT-S5360 Android Development] repencis:
for allowing app2sd or link2sd and other scripts
[Galaxy Y GT-S5360 Android Development] PREMOLIKES:
Sorry ,same question again,,how many governors are there now with latest Tweak
[Galaxy Y GT-S5360 Android Development] irfanbagus:
only add one governor, interactive.
[Galaxy Y GT-S5360 Android Development] savie:
If i'm not mistake target of UV in bacem-tweak is regulator.5

Min-Max microvolt in regulator.5 is 900000-1380000

1. So the question can we make OverVoltage at least maxMicroVolt is 1380000 ??

2. Or Bacem-tweak can OverVolt too ??
[Galaxy Y GT-S5360 Android Development] irfanbagus:
yes you can. put 60mv (without minus sign) in bacem-tweak will overvoltage. but why do yo want overvoltage?
[Galaxy Y GT-S5360 Android Development] savie:
To cooking corn :D

Actually i still dont know why people want to oc and ov ??

Uv and uc is more reasonable coz most people have problem with batre ..
[Galaxy Y GT-S5360 Android Development] irfanbagus:
lol, that's will make you a real chef :D

ov is consequence if you did oc
[Galaxy Y GT-S5360 Android Development] savie:
But the problem is not oc in sgy for now and waiting a hero to break oc in sgy.. Superhero maybe.. :D
[Galaxy Y GT-S5360 Android Development] kurotsugi:
no need to find superhero. we'll need a lot of experiment to find the working one :p
[Galaxy Y GT-S5360 Android Development] hell_lock:
m a noob in kernel stuff so i hav a question... can i extract the modules from the zip and directly place them in my /modules folder?? will they work or do i need to do few things more??
[Galaxy Y GT-S5360 Android Development] irfanbagus:
you need to extract module (*.ko) and put in your storage. it does not metter where. even in sdcard is fine. but 'standard' path in android is in /system/lib/modules/ . then you need to call

/system/bin/insmod /system/lib/modules/your_module.ko

and to remove (unload) from kernel

/system/bin/rmmod your_module

to list loaded module use

/system/bin/lsmod
[Galaxy Y GT-S5360 Android Development] sasuketobi:
It's better if you add this tut to enable init.d support in the one pack tweak collection that you posted in general section.
[Galaxy Y GT-S5360 Android Development] kurotsugi:
actually I have made it. it already inside mikstev's post about droidwall. you can also follow repencis's guide since the only differences between him and mine is this line

on property:cm.filesystem.ready=1

everything else is same including where to put the additional script.
[Galaxy Y GT-S5360 Android Development] hell_lock:
So first i need to copy it in /system/lib/modules/ folder and den execute those commands from adb right??? Any way to execute them from an init.d script?? Sorry i know my questions are really nooby :(
[Galaxy Y GT-S5360 Android Development] savie:
Use rootexplorer.apk

1. Copy bacem_tweak.ko and cpufreq_interactive.ko to system/lib/modules

2. Change owner and group to root

3. Set permission rw-r--r--

Excecute 01bacem-tweak open with linux script handler

It enough to execute tweak.

If ur kernel support init.d just copy 01bacem_tweak to system/etc/init.d then change owner and setperm.
[Galaxy Y GT-S5360 Android Development] kimerika:
can i use it merruk kernel,, i just backread,, all kernel are from repencis
[Galaxy Y GT-S5360 Android Development] Kousthubha Kumar:
Make sure to have a nandroid backup as I got stuck on splash screen once I tried it long before. It may/may not work. But it works 100% and tested by me with repencis,irfan bagus kernel.
[Galaxy Y GT-S5360 Android Development] PREMOLIKES:
Irfan you gotta help for CM7,, you can do it ?
[Galaxy Y GT-S5360 Android Development] irfanbagus:
i can't. the reasons :

a. lack of skill. porting need good reverse engineering skill . that's not best best thing i can do.

b. lack of time. porting need a lot of time. right now, i don't have it.

c. lack of resource. i don't have enough bandwidth to download gigantic cm source or fast pc to compile.

d. lack of interest. i am not an extreme modding fans. i just 'fix' something that not fit to me and leave the rest. i don't even change my themes because default one is ok (not great but ok) for me.

oot, i just buy a cheap 7 inch local brand tablet (local branded china tablet). i buy because i need hdmi and usb otg for my job, and i don't want to spend to much money on it because that will make our product's price higher. it's come with allwinner a10 soc , 1GB ram and ics (4.0.3). at first i like ics. but after few hour, i already boring. speaking about android itself, for me (as user) it's it just little bit better compared to our gingerbread in sgy. all that great things from that tablet (compared to sgy of course) mostly comes from hardware. bigger ram, bigger storage, faster cpu, faster gpu. it's just my opinion of course. but make me say big NO if someone ask me to port cm/ics/whatever to sgy. still, i love my sgy, as a phone.
[Galaxy Y GT-S5360 Android Development] PREMOLIKES:
Howz that Chinese tablet, is it worth, ics ?

Are you talking about Ainovo Novo7?
[Galaxy Y GT-S5360 Android Development] kurotsugi:
based on the spesification...cyrus pad?
[Galaxy Y GT-S5360 Android Development] irfanbagus:
treq c10c. ainol have better spec, but it's hard to find in local store. treq easier to find and there is service center in my city. not something that i would recommended to others people, but for my purpose (interactive display using lcd projector) it's already fine.
[Galaxy Y GT-S5360 Android Development] MarcoToo:
OnDemand

I made a kernel module for the OnDemand governor. It enables full use of CPU Editor.

Make a one line script or add this line to the bacem-tweak init.d script:

/system/bin/insmod /system/lib/modules/cpufreq_ondemand.ko
[Galaxy Y GT-S5360 Android Development] hell_lock:
Hey irfan.. is Ubuntu 12.04 good for compiling a kernel?
[Galaxy Y GT-S5360 Android Development] samsoul16:
Hey hell_lock did u build a Rom for sgy duos?? U were gng 2 build na..
[Galaxy Y GT-S5360 Android Development] savie:
I've try with my old ubuntu 8.0.4 and work. :)
[Galaxy Y GT-S5360 Android Development] savie:
Marco do u modified ondemand source or not before compile module??
[Galaxy Y GT-S5360 Android Development] MarcoToo:
It's from the original samsung kernel source for the Y, compiled as module. Running fine on my phone.
[Galaxy Y GT-S5360 Android Development] savie:
Just compile as module. Yup i have too if original source. I have other gov like lionheart but when running with cpu master can't change parameter like min sample rete on interactive gov. Do u have idea bout it?
[Galaxy Y GT-S5360 Android Development] irfanbagus:
how it's perform ? i already build ondemand and conservative long time ago. because both make ui lag, i don't include in my tweak. it's possible to tweak parameters. but because i successfully compile interactive, which perform better in my phone, i don't bother to do that.

personally i don't like ubuntu as development platform, but it should working

different parameters maybe ? you can check all available parameters in /sys/devices/system/cpu/cpufreq/<your governor>
[Galaxy Y GT-S5360 Android Development] MarcoToo:
At first it lagged, but then I applied custom settings and now it's all smooth. :)

via XDApp
[Galaxy Y GT-S5360 Android Development] savie:
Parameter of lionheart

- down_threshold

- freq_step

- ignore_nice_load

- sampling_down_factor

- sampling_rate

- sampling_rate_min

- up_threshold

That parameter not show in antutu cpu master but status in cpu tuner is working.

How to show that parameter in antutu cpu master??

Should i modified lionheart source??

Repencis use lionheart gov to and is parameter show in antutu cpu master??

I don't have repencis kernel and ask him to share source but still busy with new rom. So i need suggess or someone who use lionheart in repencis kernel.

Thanks b4
[Galaxy Y GT-S5360 Android Development] irfanbagus:
well, i don't know :D but it could be your source different from repencis. when i search interactive governor, i also got 3-4 variant with different params.

not look cool maybe, but to set that params use echo command from terminal or init.d is enough. most of time i did that way because it's faster.
[Galaxy Y GT-S5360 Android Development] savie:
Very very not cool bro if use terminal/tweak even know it's working.. :p

User wanna interactive interface to change parameter but modifiers have lack of knowledge to change from source.. :D
[Galaxy Y GT-S5360 Android Development] irfanbagus:
for me, terminal is interactive enough :p
[Galaxy Y GT-S5360 Android Development] kurotsugi:
not all the parameters will be shown in app. when I use setcpu I could only see the parameter for several gov, I think it depends on the app itself. not all gov supported by the app which we use.
[Galaxy Y GT-S5360 Android Development] savie:
So the prob is not from source but app too. Btw what gov in setcpu can change parameter bro??
[Galaxy Y GT-S5360 Android Development] kurotsugi:
brazlianwax

lazy

smoothass

minmax

lagfree

conservative

ondemand..
[Galaxy Y GT-S5360 Android Development] whitexp:
hello infanbagus..

you bacem-tweak 0.2.1 atualized with you github ?

thanks ...very thanks
[Galaxy Y GT-S5360 Android Development] savie:
Almost forget to ask.

Still waiting latest bacem.patch :p
[Galaxy Y GT-S5360 Android Development] irfanbagus:
yes it is. but not in master.get it from bacem branch. you can also use bacem.patch but replace bacem_tweak.c with the one from github.
[Galaxy Y GT-S5360 Android Development] savie:
Got it bro.

But 1st must repair my laptop.

OV&UV done with ur work.

Seem all people still wanna OC&UC, do u interest too bro? :p

Anyways thanks again.
[Galaxy Y GT-S5360 Android Development] schalkerjung1984:
hello

can anyone help me please?? i missed deep sleep in cpu spy..

im in creeds rom 3.5 with R_Final Kernel + Modules.zip (Repencis Final Kernel),I/O is sio and CPU Governor is ondemand, and BaCeM-Tweaks 2.1 :)

please help me i need deep sleep :D
[Galaxy Y GT-S5360 Android Development] savie:
Is deepsleep run b4 u use bacem tweak???

The problem from governor.

Try with bcm21553 govornor.
[Galaxy Y GT-S5360 Android Development] irfanbagus:
you can try pm hitme987. i am not sure what's the problem because i never have problem with deep sleep. hitme987 have similar problem with yours and afair he also using repencis kernel. he only say the problem in build.prop but not give detail.

@savie

UC is easy. OC .. noway. i'll try with UC this weekend
[Galaxy Y GT-S5360 Android Development] schalkerjung1984:
yes b4 i installed bacem tweaks it was .. okay im test it with bcm21553

Gesendet von meinem GT-S5360 mit Tapatalk 2
[Galaxy Y GT-S5360 Android Development] savie:
Actually I got problem too but when use interactive from irfan source no problem again.

@irfan hai bro it's long not see u arround. Still bussy with ur project??

Waiting ur new release UC and hope opensource too. :p
[Galaxy Y GT-S5360 Android Development] schalkerjung1984:
sorry for noob question how can i use interactive from irfan source did you mean interactive in setcpu?:confused:
[Galaxy Y GT-S5360 Android Development] savie:
Its interactive gov that modified by irfan and I think include in bacem-tweak. But repencis have interactive integrated with kernel not as module. If he use same source like irfan I think deepsleep can run. Actually I wanna know what feature in repencis kernel beside gov+io??
[Galaxy Y GT-S5360 Android Development] schalkerjung1984:
I/O noop,deadline,cfq,vr,sio

CPU Governors brasilianwax,interactive,scary,lazy,smoothass,savagedZen,interactiveX,lagfree,minimax,smartassV2,conservative,ondemanduserspace,powersave,bcm21553,Lionheartperformance..
[Galaxy Y GT-S5360 Android Development] b16h22:
Great man.Waiting for that.

sent while doin' some burnouts
[Galaxy Y GT-S5360 Android Development] b16h22:
I'm not sure about that.Because i'm using his modules without his kernel and there is still 14govs and 5 io.

sent while doin' some burnouts
[Galaxy Y GT-S5360 Android Development] savie:
Whose kernel do u use??

Btw how ur Rom update?? Many cusrom now in our device. :)
[Galaxy Y GT-S5360 Android Development] b16h22:
Your kernel:D

The rom is on it's way.Had a theme change to something simpler.

sent while doin' some burnouts
[Galaxy Y GT-S5360 Android Development] savie:
Just try ondemand and it never deepsleep. So I just use bcm21553 and interactive to get deepsleep.

Don't have time to compile new kernel with 17gov like repencis some governor must edited coz can't compiling.

Make sure u put 99complete file into init.d folder and sysinit into bin folder (get from a2sd-draktemor.zip) to make kernel running and don't get stuck in samsung galaxy y logo.
[Galaxy Y GT-S5360 Android Development] b16h22:
It passed 2 weeks of rigorous testing, so no worries here:D

And your kernel is good, really good.

sent while doin' some burnouts
[Galaxy Y GT-S5360 Android Development] savie:
Nice to hear that.

It's for user who use at 1st time coz i've got problem with that when forget add that file after recovery or install fresh rom.

Waiting uc from irfan n hope can integrate to my kernel too. :)
[Galaxy Y GT-S5360 Android Development] jhapz:
should i install the first version first or i can install automaticaly the 2.1
[Galaxy Y GT-S5360 Android Development] b16h22:
you can install 2.1 directly.

sent while doin' some burnouts
[Galaxy Y GT-S5360 Android Development] jhapz:
thanks bro.will this automaticaly undervolts the phone?
[Galaxy Y GT-S5360 Android Development] Kousthubha Kumar:
Yeah.It undervolts by -60mV. You can try increasing it as per your needs. -100mV is stable for most.

---------- Post added at 04:01 PM ---------- Previous post was at 03:56 PM ----------

hmm..on repencis 3.5 kernel its going to deepsleep in ALL governers . You might have to edit something on your kernel ;)
[Galaxy Y GT-S5360 Android Development] savie:
Trying without promising. Lol.

Lesson1 from my tutor is try with edit infitrams first before compiling kernel.

That must i do and now my kernel support cm7 in 2nd rom so i can port someting in cm7 without affraid my phone brick and when it happen just switch to 1st rom :p
[Galaxy Y GT-S5360 Android Development] jhapz:
my phone not geting deepsleep.what should i do?
[Galaxy Y GT-S5360 Android Development] savie:
What kernel do u use?

Try with bcm21553 gov 1st then interactive.

See oldest page.

@hitme: i see in repencis thread some user got problem with deepsleep too

I dont understand is bacem-tweak make phone can't deepsleep coz most deepsleep problem is in this thread but irfan say he doesnt get that problem..

Edited- deepsleep working all gov

In my kernel (investigate is problem cause by a2sd-draktemor cz i not use this time)
[Galaxy Y GT-S5360 Android Development] irfanbagus:
it could or could not be bacem-tweak problem. i try both with stock and custom and none show deep sleep problem. in stock kernel it make instability (soft restart) and little trick in init.d solve the problem. but i don't get deep sleep problem. in custom kernel with working governor bacem-tweak cpu freq related function even not running at all (only undervoltage functions is running).

it could be app/system problem. deep sleep only occurs if your phone do nothing with screen off and no app using wakelock. music player for ex using wakelock, palying music event with screen off, you will not see deepsleep. charging also make device always wakeup.

it could be bacem-tweak make you aware about deep sleep. with stock kernel you can't see cpu freq statistic so you can't see if you have deep sleep problem. i am sure anyone who use bacem-tweak expecting to make governor work and logical way to test it is using cpufreq stat app (like cpuspy). and then you realize that you have deep sleep problem. and because last tweak that you install is bacem-tweak then you suspect bacem-tweak as the problem.

but i always open to possibility that bacem-tweak has problems. it's not perfect. it's just small tweak i wrote in my spare time.

so if you wan't report about deep sleep problem, please analyse your system first (rom,running service, buld.prop, misc). only saying you got deep sleep problem does not help me to identify the problem. if you running custom kernel with working governor, try to remove bacem-tweak first and see if you got deep sleep problem.
[Galaxy Y GT-S5360 Android Development] ianczarina:
on my part, deep sleep used to work, but after flashing a2sd deep sleep is gone..
[Galaxy Y GT-S5360 Android Development] savie:
Maybe some confict with a2sd script. As irfan say before a2sd maybe make phone can sleep. Actually i got that problem too when use a2sd but when i remove a2sd script my phone can sleeeeeep again. Lol.
[Galaxy Y GT-S5360 Android Development] irfanbagus:
what is your kernel? can you disable bacem-tweak and see if deep sleep still gone?
[Galaxy Y GT-S5360 Android Development] vaibhavlokare111:
I am on creed 3.5 with repencis 3.5kernel .I don't get deep sleep intact I don't know about deep sleep how to activate it I haven't used bcm twicks please Somebody help me
[Galaxy Y GT-S5360 Android Development] Kousthubha Kumar:
I'm using repencis v3.5 kernel +3.0 modules. Used BaCeM Tweaks and Under volted to -120mV and having 400+ apps using link2sd. No problems with deep sleep with all governors. I guess app2sd is causing problems of deep sleep. Rom is not an issue, deep sleep should work in all roms. I tested all roms and deep sleep worked on all of them. I'm currently using usr 3.0.

And for those who are getting problems on deep sleep, try adding these two commands in your build.prop in /system

ro.ril.disable.power.collapse=1

pm.sleep_mode=1

They make deep sleep more frequently.

Btw, my stats xD

In the cpu spy pic, I resetted values after 6 hours of heavy usage. So its showing 11 hours

I'm more than happy with my battery life. It's coming 2-3 days with moderate usage :D
[Galaxy Y GT-S5360 Android Development] ianczarina:
im using repencis kernel. bacem tweak works fine with it. my phone can go to deep sleep. but when i installed a2sd, deep sleep is gone.
[Galaxy Y GT-S5360 Android Development] schalkerjung1984:
where i must adding this 2 commands in buildprob also in wich line or at the bottom or at the end:confused: or where?
[Galaxy Y GT-S5360 Android Development] Kousthubha Kumar:
At the end. Add them. Reboot and check if deepsleep works.
[Galaxy Y GT-S5360 Android Development] schalkerjung1984:
xD sorry but i must delate build.prob.bak??
[Galaxy Y GT-S5360 Android Development] Kousthubha Kumar:
No issue in letting it stay or you can delete it. Doesnt matter.
[Galaxy Y GT-S5360 Android Development] vaibhavlokare111:
@hitme How to remove a2sd
[Galaxy Y GT-S5360 Android Development] schalkerjung1984:
so my result after 15 mins after adding this 2 commands: no apps running in background,no autosync,no app2sd script,wifi and data on,interactiv,sio,but no deep sleep :( iam so confused
[Galaxy Y GT-S5360 Android Development] Kousthubha Kumar:
Which kernel are you using?
[Galaxy Y GT-S5360 Android Development] schalkerjung1984:
also at the moment i use Evolution X rom with savie Kernel, but before i use this rom i used creeds rom 3.5 with Repencis Kernel and no deep sleep too :(
[Galaxy Y GT-S5360 Android Development] Kousthubha Kumar:
Are you using cpu spy to check it? Repencis kernel 3.5 should go to deep sleep. Try using repencis on your rom
[Galaxy Y GT-S5360 Android Development] savie:
Do u connect usb??

Confuse too coz i'm not have problem with my kernel.
[Galaxy Y GT-S5360 Android Development] schalkerjung1984:
yeah i use cpuspy to check it. okay i try repencis kernel and their all governors with sio go to deep sleep? wich rom are u using?
[Galaxy Y GT-S5360 Android Development] Kousthubha Kumar:
Yeah. Try it. Rom really doesn't matter. It must work in all roms. I'm using usr 3.0 with repencis 3.5 kernel + repencis 3.0 modules.
[Galaxy Y GT-S5360 Android Development] schalkerjung1984:
no i havent connect usb.. :( ur kernel is great but no deep sleep!? :(
[Galaxy Y GT-S5360 Android Development] vaibhavlokare111:
How to remove app2sd please