yashsingh1/xdaforums huggingface dataset:
[Galaxy Y GT-S5360 Android Development] ianczarina:
on my opinion, (and based on experience) a2sd is causing the phone to be unable to go to deepsleep. i had never encountered deepsleep problem with bacem-tweak, but after flashing a2sd, phone cant go to deepsleep
[Galaxy Y GT-S5360 Android Development] thirdzcee:
I used a2sd before wid savies kernel and i still had deep sleep... well thats my experience:D

EDIT: that was when i was still on evolution-x even got a2sd to work on his 60rev2 but when i used his kernel on my own custom rom deep sleep dont work anymore with a2sd so i believe the problem must be somewhere else
[Galaxy Y GT-S5360 Android Development] MarcoToo:
Never even used a2sd (or any similar method to link the apps to sd-ext) when I used BaCeM and it still didn't sleep. Now I use m2sd and I don't use BaCeM(because I undervolted the sources directly) and my phone sleeps very much.

I'm down to below 1% battery used per hour!
[Galaxy Y GT-S5360 Android Development] savie:
1% for standby or what setting and u use in 1hour?

Interesting.. maybe i should try ur method too marco.. of course if u give permission.. :)
[Galaxy Y GT-S5360 Android Development] kurotsugi:
@marco: try without modfying the files in mm. you'll rarely get deepsleep. your modification on the driver makes the cpu sleep more frequent.
[Galaxy Y GT-S5360 Android Development] MarcoToo:
I would say out of two hours my phone can sleep only one hour because I use it so much. So 2% would be for [1h deep sleep] + [1h wifi usage]

It goes into deep sleep state 3 seconds after I turned off the screen (did the test :P).

Calls don't count into that. They just eat my battery.

Yah I know, but why should I not modify the driver if a modified driver is so much more useful?
[Galaxy Y GT-S5360 Android Development] kurotsugi:
you said,

take more attention on the bolded one plz. people might think that the unability of the cpu to gain deepsleep was caused by bacem tweak. well, all of us know that isn't true. all prove have shown that this problem isn't from bacem tweak and the problem comes from the cpu driver who won't let the cpu got sleep easily.
[Galaxy Y GT-S5360 Android Development] MarcoToo:
True that, BaCeM did not cause the insomnia.

It helped us notice it by enabling the stats file. Once again great work, irfan! :good:
[Galaxy Y GT-S5360 Android Development] whitexp:
up

OP

man u have news ?

about ? kernels cods ,hacks and etc ?

:D

i love u !! :P
[Galaxy Y GT-S5360 Android Development] b16h22:
We are missing him..

sent while doin' some burnouts
[Galaxy Y GT-S5360 Android Development] akiroJo:
Q[default value]

what is the value of stock voltage?

ive seen in hell_fusion #50 its -80mv, in savie's its -120mv, and this twaek is -60mv??

now, im confused already, of what's the most stable value, in terms of performance and battery life

just asking..
[Galaxy Y GT-S5360 Android Development] irfanbagus:
most stable value is 0mV :D

speaking about undervoltage, every device have unique value. that's why i named this mod tweak, because it give you ability to tweak your own parameters. just find lowest voltage which your device still stable. i put it on -60mV because this value guarantee to work.
[Galaxy Y GT-S5360 Android Development] akiroJo:
■ thanks infranbagus

thanks infranbagus :) for a quick response

im currently using hell_fusion #50, and is tweaked at -80mv, if i used -60mv will it be the same?

i mean, @ -80mv w/ gov: conservative i/o: deadline min: 156 max: 624 the battery lasted 2days +,

if i used -60mv? will it still be the same?
[Galaxy Y GT-S5360 Android Development] irfanbagus:
if -80mV work then use that voltage. use lowest value you can get. but don't expect miracle. uv save battery but not much. combine with other tweak (like remove bloatware) give better result.
[Galaxy Y GT-S5360 Android Development] akiroJo:
■ thanks infranbagus

- thanks :cowboy: hats off
[Galaxy Y GT-S5360 Android Development] walutisme:
This cant run when boot. I need to run manualy from rootex. I use kuro kernel and stock rom. Combine it with addrenaline engine. Solution ?

Sent from my GT-S5360
[Galaxy Y GT-S5360 Android Development] Deadly:
If you are using kuro kernel.. then no need to use this again.. as kuro has added it in his source itself.. make a script with those values given in op or your own values to make it run at boot time always..
[Galaxy Y GT-S5360 Android Development] walutisme:
Well I still use that script cause I can set it up to -120mV :laugh:

I just so lazy to run it manually from rootex every boot
[Galaxy Y GT-S5360 Android Development] ajay1919:
I have Repencis kernel v4 build 7 final.. Do I need to install this tweak.

My cell Galaxy s duos Gt-s7562

Stock Rom

Breakfast kernel overclock to 1.2

Press Thanks if I helped else Thank you for helping me :)

---------- Post added at 10:28 AM ---------- Previous post was at 10:19 AM ----------

And I am asking for my Galaxy Y

My cell Galaxy s duos Gt-s7562

Stock Rom

Breakfast kernel overclock to 1.2

Press Thanks if I helped else Thank you for helping me :)
[Galaxy Y GT-S5360 Android Development] hoops04:
why i write the command "echo -20mV > /proc/sys/bacem/volt/cpu" it said cannot create /proc/sys/bacem/volt/cpu: directory nonexistent
[Galaxy Y GT-S5360 Android Development] wanyakuza:
can this tweak work on stock kernel??
[Galaxy Y GT-S5360 Android Development] Mranggapo:
Sure
[Galaxy Y GT-S5360 Android Development] wanyakuza:
why when i try this bacem tweak it does not effect my volt? i check on the cat/proc/sys/bacem/volt/cpu but it show not found.anyone suggestion about my problem?
[Galaxy Y GT-S5360 Android Development] kartik verma:
Your undervolting module works well in my Galaxy y Duos but before 2 days i face power leakage.

Means My device have Battery charge 20% some time its going up like 24% or some time it going down from 20% to 17%. can u please tell me whats the actual matter.

i use -100mV voltage (i tried -10mV , -20mV , -40mV , -60mV) i mostly use -20mV now i use -100mV
[Galaxy Y GT-S5360 Android Development] kurotsugi:
downloading it...i'm still working at megabassbeat. I'll report the result later. btw, the bcm tweak and the governor is installed by separated script, am i right?
[Galaxy Y GT-S5360 Android Development] irfanbagus:
from single script, but governor only loaded but not selected. default governor still bcm21553. use setcpu or nofrills to enable
[Galaxy Y GT-S5360 Android Development] savie:
Try interactive mode without any change parameter and time to deep sleep. See what happen tomorow. Lol
[Galaxy Y GT-S5360 Android Development] kurotsugi:
all modules are succesfully loaded. I can't find an error message from logcat about the modules but I haven't tested the new governor yet. I'll try to run my zenonia4 with this governor.

edit: the game run a little bit slower than usual. antutu score is lower than usual but I'm not sure about it's overall performance. especially on its battery life.
[Galaxy Y GT-S5360 Android Development] irfanbagus:
interactive governor only give improvement for low/medium activity but with screen on, like chatting or web browsing. if your sgy spend a lot of time with screen off, power management become more dominant than cpufreq and it's already do good job to put cpu on deep-sleep. if you run heavy duty job like game or benchmark, then you must use performance or bcm21553.

and try to increase Min Sample Rate if you feel your ui lag.
[Galaxy Y GT-S5360 Android Development] Heartlessangel2001:
I tried playing zenonia 4 but can't get it top run fast. When you get to choose the 4 classes. It slows down alot. What rom are you using.

If you're reading this,fuk off
[Galaxy Y GT-S5360 Android Development] kurotsugi:
I'm using my own custom rom.
[Galaxy Y GT-S5360 Android Development] PREMOLIKES:
Can you play around with graphics drivers plz..Maii was talking about some iphone driver.
[Galaxy Y GT-S5360 Android Development] irfanbagus:
what iphone driver ? i don't think ios driver will work on android
[Galaxy Y GT-S5360 Android Development] kurotsugi:
mai said that the gpu in iphone are same with the one in sgy. he ask you to make a module for the driver to enhance the performance
[Galaxy Y GT-S5360 Android Development] Heartlessangel2001:
Mai does not know what she is talking about. Let her do the graphic driver then.

If you're reading this,fuk off
[Galaxy Y GT-S5360 Android Development] PREMOLIKES:
Mai is he or she or you are she.
[Galaxy Y GT-S5360 Android Development] savie:
With 1000000 sample rate interactive governor and some tweak from last night batre perform good enough for me. 5-6hour full display for browsing with 3g and maybe just 0-1% drop in deep sleep for 8hour.

Never try for gaming cz dont have game in my dvice. Lol.

Try to change sample rate under default number and time to deep sleep.

Thanks irfan.
[Galaxy Y GT-S5360 Android Development] PREMOLIKES:
Plz update the first page,,what governors are working ,,can someone attach here ,,im unable to download from first page.
[Galaxy Y GT-S5360 Android Development] savie:
For now just patch bcm21553 and interactive governor. Cpuspy work.

I can download from 1st page and sory cant upload b4 permiss irfan and still cant upload pic. Nebwie here. Lol
[Galaxy Y GT-S5360 Android Development] irfanbagus:
i add mirror in attachment. every governor working if you can compile as kernel module. my build include interactive governor. with only 2 freq, i can't find any reason to compile other governor. and we already have 3 governor for 3 usage profile :

light work -> performance with max freq 312mhz

medium work -> interactive

heavy work -> bcm21553 or performance with max freq 832mhz
[Galaxy Y GT-S5360 Android Development] savie:
Yup i think its enough for just 3 governor with ur explanation.

But can you add mid freq, just for light-mid work coz 312mhz is soo slow when i try just to open 1app even batry perform and tempratur is good.

Thanks bro.

Ps. I've done install virtualbox n just need linux cd to upgrade my rookie status. Lol. Hope u can guide me irfan. Thanks
[Galaxy Y GT-S5360 Android Development] PREMOLIKES:
Wat of ondemand ?
[Galaxy Y GT-S5360 Android Development] irfanbagus:
mid freq is impossible to do with just kernel module, need modification to kernel source. ok, just let me know if you ready

i build ondemand and conservative. both perform badly in our device. they make ui lag (especially conservative) and if you scroll long list or page in browser, it look like 'jumping'. so i am not include in build package. powersave can easily emulated with performance with 312mhz.

but if you still want ondemand and conservative module, send me pm with your email address. it's small only few kb
[Galaxy Y GT-S5360 Android Development] PREMOLIKES:
I don't see your governor on no frills cpu control,,which app you are using?
[Galaxy Y GT-S5360 Android Development] irfanbagus:
i use setcpu and no frills, both working fine. but i recommended setcpu because it's show you actual governor and freq that currently active. did your kernel support init.d ? if not try to run in terminal

/system/etc/init.d/00bcm-tweak

or

mod your stock kernel to support init.d (see kurotsugi tutorial in mikstev's droidwall kernel)

or

use boot.img from my sgy bootscript
[Galaxy Y GT-S5360 Android Development] PREMOLIKES:
I'm in marroc 2.0,,,set cpu,,,ok I'm gonna have to a warez
[Galaxy Y GT-S5360 Android Development] irfanbagus:
why warez, afaik there is free version for xda member. and i'm not sure it's compatible with marroc's. and marroc already patch 1 bug (cpufreq table).
[Galaxy Y GT-S5360 Android Development] kurotsugi:
when I'm using maroc 1.8 the init.d script didn't run even if he said that his kernel support init.d script. please do these following test to make sure that kernel is support init.d script.

1. using root explorer go to /system/etc/init.d/

2. make new file named it '97test'

3. insert these script into that file

#!/system/bin/sh
busybox touch /data/kucing.txt
busybox echo /data/kucing.txt "all test OK"

4. set the permission to 777 or rwxrwxrwx

5. reboot your device.

6. go to /data. see if you can find 'kucing.txt' there.
[Galaxy Y GT-S5360 Android Development] PREMOLIKES:
I did it,but don't find kucing.txt in /d

From terminal../system/etc/init.d/00bcm-tweak,,,,,for this no bcmtweak.,,,found
[Galaxy Y GT-S5360 Android Development] kurotsugi:
that means the init.d script didn't work. you need another kernel with init.d support to run the script at boot.
[Galaxy Y GT-S5360 Android Development] Kousthubha Kumar:
Wonderful work irfanbagus, kurotsugi and co..can't wait to test these will report later..

Got it working in pre 2.0..

Edit : flashed the zip but can't find any additional governers in no frills cpu..

And merruk said that the init.d scripts should be placed in /sdcard/scripts folder... I didn't get any added scripts to /etc/init.d folder after flashing...
[Galaxy Y GT-S5360 Android Development] kurotsugi:
it seems that merruk's kernel doesn't really support init.d script. thats why you can't load the module properly.
[Galaxy Y GT-S5360 Android Development] Kousthubha Kumar:
Hmm.. Seems so.. Will try using irfanbagus kernel
[Galaxy Y GT-S5360 Android Development] leodasal2:
i think it's working

all the scripts that i've placed in the sdcard/scripts folder was automatically added to the etc/init.d folder

and also

i had a 99test script

i checked
[Galaxy Y GT-S5360 Android Development] kurotsugi:
delete init.d_log_test.txt then reboot. please check if you can find that file again. make sure that you also turn off script manager (if you're using it).
[Galaxy Y GT-S5360 Android Development] irfanbagus:
@hitme987

then something in merruk change default behavior. could be recovery or rootfs. i test 3 times using stock recovery and it's working fine. init.d script instaled on '/system/etc/init.d/00bcm-tweak'. if this simple updater-script and init.d script cannot working, there is big chance others (rom or tweak script) have same problem. premolikeshtc also have same problem, so maybe you should ask to marroc.

for alternative, you could extract zip file and copy all files manually. it's only 3 files.
[Galaxy Y GT-S5360 Android Development] leodasal2:
will try and report back..
[Galaxy Y GT-S5360 Android Development] Kousthubha Kumar:
Hmm I couldn't find that script in init.d folder.. I'll try manual copying..

As kurotsugi said I got the .txt file on /data which is evident that init.d scripts are working on merruk's kernel
[Galaxy Y GT-S5360 Android Development] kurotsugi:
thats a good news...the init.d script really working. I've heard that sometimes merruk's cwm failed to install from a zip file. doky73 have found the source and the way to fix these problem but unfortunately his post has been deleted.
[Galaxy Y GT-S5360 Android Development] leodasal2:
sorry for the delayed response..

yes it generates the init.d_log_test.txt on every boot

confirming that it does work :)
[Galaxy Y GT-S5360 Android Development] Kousthubha Kumar:
Something similar happening here.. Flashed the zip but can't get the files added to /init.d and /modules

Anyways as irfanbagus said I copied the files from the extracted zip "system" folder to respective folders and fixed permissions.. What about "META-INF" folder do I need to copy those too?
[Galaxy Y GT-S5360 Android Development] leodasal2:
mount the system bro :cool:
[Galaxy Y GT-S5360 Android Development] Kousthubha Kumar:
Oh wait.. Forgot it LMAO..
[Galaxy Y GT-S5360 Android Development] kurotsugi:
the meta-inf folder is the installer script. no need to copy that.
[Galaxy Y GT-S5360 Android Development] Kousthubha Kumar:
Thanks for your help guys.. I got it working.. I got an extra column in io scheduler tab as "minimum sample rate " what it is used for?

I'm a little newb in these governers things.. So a little info on what "interactive", "performance" and "bcm21553" does could be appreciated..
[Galaxy Y GT-S5360 Android Development] irfanbagus:
that's minimum time (in micro second) must be spend before cpu frequency goes down. try increase if your phone become unresponsive.
[Galaxy Y GT-S5360 Android Development] Kousthubha Kumar:
Hmm what is the default value you suggest to the min sample rate?
[Galaxy Y GT-S5360 Android Development] irfanbagus:
depend on your need. currently i use interactive with min sample rate 200000, it's ok for me (reading emails, browsing, news feed). but if i need to play games, i switch governor to bcm21553.
[Galaxy Y GT-S5360 Android Development] Adam_Blade:
Thanks! :)
[Galaxy Y GT-S5360 Android Development] savie:
This module work in marok pre-2.

@irfan:

try with my old ubuntu 8.4.0.1 ultimate edition and follow ur instruction.

1. Fail when --> make defconfig

2. Many eror when --> make

3. Fail when --> chmod +x mkbootimg

./mkbootimg --kernel zImage --

ramdisk boot.img-ramdisk.gz --base

0x81600000 --kernelMD5 -o boot.img

4. Try to repack use dsixda, then stuck in samsung logo and cant in to rcovery mode so flashing via odin.

Edit-

I think my ubuntu is too old, some tool doesn't exist when compare with min req.

Just wait now till got newest ubuntu from my friend.
[Galaxy Y GT-S5360 Android Development] b16h22:
that's true.It doesnt flash dt a2sd script in my phone.It is a recovery problem.I'm using terma kernel now

sent while doin' some burnouts
[Galaxy Y GT-S5360 Android Development] savie:
I think module work in all kernel that support init.d

Fyi merruk-pre2 and terma and my custom dxlc1 suport init.d so this module can work.
[Galaxy Y GT-S5360 Android Development] irfanbagus:
i think what b16h22 means is recovery, not the kernel itself. my guess recovery in meruk did not automatically mount system partition while booting. stock recovery do that. so in merruk installation success but actually file not copy to system partition. it is installed in ramfs, which will be gone if you restart your device.
[Galaxy Y GT-S5360 Android Development] savie:
Still confusing with merruk kernel after v1.0.8 cant dcompile inftrm just zImage. Only advance dev maybe can do. For now just combine ur mdule work + merruk pre2.

@irfan

Thanks bro for ur guide to custmize kernel.

Still confuse in custmize 'make menuconfig' and some 'warning' display when 'make' but actually can run :)

But i try after use merruk so mmm there so many think2do like busybox n su cant work.

2mrw wanna try to patch mid freq and interactive run in mid freq and ofcourse flow ur guide 1st.
[Galaxy Y GT-S5360 Android Development] irfanbagus:
you're welcome. merruk using lzma. you need replace gzip with xz but i dont' remember the parameters, i am on windows right now. try to read xz man. to use make menuconfig, you need to have good knowledge about linux kernel. try something simple like enable cifs (for mount windows file sharing).
[Galaxy Y GT-S5360 Android Development] savie:
Actually i'm noob with all stuff (ubuntu and virtualbox) so more time to read doc and have real life too :)

Got problm in virtualbox to read window partition and usb. Try with network share but dont know command in konsol to direct file from window partition.

I think time to read more better for newbi like me, do u have reference such as ebook or web link all bout kernel modification?

Thanks b4
[Galaxy Y GT-S5360 Android Development] savie:
Need help or guide how to compile bcm-tweak from source github. :confused:

Anyone??
[Galaxy Y GT-S5360 Android Development] irfanbagus:
- put BCM-tweak folder inside your sgy kernel folder (so it have "common","modules","BCM-tweak")

- in Makefile replace /opt/arm-2009q3/bin/arm-none-eabi- with your toolchain (compiler) location (and add "arm-none-eabi-")

- in terminal go to BCM-tweak folder and run "make all"

[edit]

you need to compile kernel first, because some header (*.h) only generated when you compile kernel.
[Galaxy Y GT-S5360 Android Development] savie:
So same with patch kernel and should compile kernel 1st.

How to create patch and tweak at same time?

Should change some text in file?

Plus how to add interactive gov outside tweak?

Sori 4 noob quest and bad english.

I send u pm

Thanks
[Galaxy Y GT-S5360 Android Development] b16h22:
This module is working.Interactive governer is doing it's job.My battery seems to be lasting more.I've changed the voltages also.But is there any way to know the cpu voltage?

sent while doin' some burnouts
[Galaxy Y GT-S5360 Android Development] irfanbagus:
of course it's work. i will not share here if it's not. but i don't know how much power will be save with this tweak. to see cpu voltage open /sys/class/regulator/regulator.5/microvolts. and don't put voltage too low.
[Galaxy Y GT-S5360 Android Development] savie:
Done with add all governor and i/o scheduler module.

But still failed with compile kernel :(

device not found, time2investigate or try from 1st guide again :)

Thanks bro.
[Galaxy Y GT-S5360 Android Development] b16h22:
sorry to ask this.I've had some performance issues and a little UI lag so i've applied bcm remove.There is no UI lag now but the Antutu score is stuck below 1650.I used to get around 1830-1860.Any idea?

EDIT: back to normal now

sent while doin' some burnouts
[Galaxy Y GT-S5360 Android Development] savie:
Yupz some lag but do u try to change voltage in script tweak??

For benchmark i never se sgy wth 2000 score. Dont know if u try old merruk wth oc.
[Galaxy Y GT-S5360 Android Development] irfanbagus:
ui lag comes from interactive governor. increase minimum sample rate to 200000 works for me. or change governor to bcm21553 if i need to play games (or benchmark). you can also increase voltage in init.d script (but i don't think it's have effect to performance). and if you still don't like, you an safely remove 3 files from my tweak using root explorer (remover script written for old version and still leave 1 file).
[Galaxy Y GT-S5360 Android Development] b16h22:
i was getting lag in performance governer.I've tried increasing voltage.But as i said in the above post the phone is normal now after removing the tweak and a few reboots.

Anyway it was greate mate.You are a great asset to our community..

sent while doin' some burnouts
[Galaxy Y GT-S5360 Android Development] savie:
Just follow other work from him. In my opinion just little part for our device but absolutely working and very usefull.

Lag it's mean working so just try to solve wth favorite setting for personal satisfied :)
[Galaxy Y GT-S5360 Android Development] b16h22:
I think you are talkin about dualboot, right?

sent while doin' some burnouts
[Galaxy Y GT-S5360 Android Development] savie:
Not only dualboot but patch kernel, bcm-tweak and cifs kernel module too..

All his work can we customize, of course with own risk and ask permission 1st :)

In bcm-tweak i customize with add governor and i/o scheduler..

In dualboot 2nd release i modified so a2sd and link2sd can work.

In patch kernel i add 1freq 507mhz so have 4freq 312, 507, 624, and 832. But this is trial still dont know is 507 is real freq.
[Galaxy Y GT-S5360 Android Development] Adam_Blade:
question, can I use this with v6 supercharger by zep?
[Galaxy Y GT-S5360 Android Development] b16h22:
I had no problem whatsoever.I was using these with v6 script

sent while doin' some burnouts
[Galaxy Y GT-S5360 Android Development] irfanbagus:
i create new branch for bcm-tweak (not push to github yet). re-branded as BaCeM-tweak, it's only focus on undervoltage. now it's possible to include as build-in kernel module and apply 624mhz without conflict. unfortunately i have to make change which incompatible with bcm-tweak (but new way is much easier that first version).

put patch outside "common" forder and apply patch from "common" forder

patch -p1 < ../bacem.patch

from "make menuconfig" open

device drivers > staging drivers

and select

Tweak for Samsung's bcm21553 based phone

to change uv call from your init.d script

echo -60mV > /proc/sys/bacem/volt/cpu

that command will undervoltage cpu -60mV. voltage must be multiple of 20 (...,-40mV,-20mV,0mV,20mV,40mV,...). no binary build because it's still not finish. please make comment.
[Galaxy Y GT-S5360 Android Development] b16h22:
Exellent work again.

sent while doin' some burnouts
[Galaxy Y GT-S5360 Android Development] irfanbagus:
thank you.

but, what i mean with "comment" is about technical aspect :D