yashsingh1/xdaforums huggingface dataset:
[Galaxy Y GT-S5360 Android Development] schalkerjung1984:
only holo launcher is active in taskmanager!??? is that because no deep sleep?
[Galaxy Y GT-S5360 Android Development] Kousthubha Kumar:
Nah. Nope. Im using holo too and it always stays in task manager.

@ vaibhav , execute this command in better terminal emulator:

1)su

2) a2sd remove

It links back all the apps to internal memory. So if you have a huge amount of apps you will be starved for memory. Better reflash your rom if you have a lot of apps.
[Galaxy Y GT-S5360 Android Development] schalkerjung1984:
im not understand anymore,now im use repencis kernel with this 2 comands for 15 min but noooo deep slepp no understand realy no :(:confused:
[Galaxy Y GT-S5360 Android Development] savie:
So no deepsleep in my kernel and repencis kernel??

Confuse too....

Just last optional try with flash fresh rom via odin.

Before install my kernel after root u must add sysinit in /system/bin and 99complete in /system/etc/init.d (get that file from a2sd-drakremor)

Make sure too backup 1st.
[Galaxy Y GT-S5360 Android Development] schalkerjung1984:
soo.. i flashed fresh stockrom,root this and flash darktramor script, in rootexplorer is sysinit,and 99 complete is in init.d , now i flash your kernel and test it in cpuspy ;)

is Governor and I/O shedulker unintrested for deep sleep in your kernel?
[Galaxy Y GT-S5360 Android Development] savie:
After flash stockrom and root, dont install draktemor-script just copy-paste n setperm that file /system/bin/sysinit rwxr-xr-x and /system/etc/init.d/99complete rwxrwxrwx. after that u can install kernel. then chek with cpu spy.

i try that method and deepsleep working in all gov..
[Galaxy Y GT-S5360 Android Development] schalkerjung1984:
i use evolution X rom this is with ur kernel is that okay so??
[Galaxy Y GT-S5360 Android Development] b16h22:
so far it's okay.It does go to deepsleep without a problem.

sent while doin' some burnouts
[Galaxy Y GT-S5360 Android Development] schalkerjung1984:
i liked ur rom and kernel but i have problem with deep sleep :(
[Galaxy Y GT-S5360 Android Development] b16h22:
Hmm.. which gov do you use?

sent while doin' some burnouts
[Galaxy Y GT-S5360 Android Development] schalkerjung1984:
ihave test all gov :(
[Galaxy Y GT-S5360 Android Development] b16h22:
Cpu spy app shown proper deepsleep in testing times.Which app are you using to check?

sent while doin' some burnouts
[Galaxy Y GT-S5360 Android Development] schalkerjung1984:
i use cpuspy
[Galaxy Y GT-S5360 Android Development] b16h22:
I'll investigate that.But the problem doesnt exist in my phone.It could also be some app puting a wakelock.Try running better battery stats app.

sent while doin' some burnouts
[Galaxy Y GT-S5360 Android Development] schalkerjung1984:
i have only cpuspy and setcpu and rootexplorer on my phone :/
[Galaxy Y GT-S5360 Android Development] jhapz:
will deepsleep b afected when i use v6 supercharger?
[Galaxy Y GT-S5360 Android Development] Kousthubha Kumar:
Nope. I'm using v6 and no problem at all with deep sleep
[Galaxy Y GT-S5360 Android Development] jhapz:
haay.i cant find the problem why deep sleep not working. im using ddla1 on hybrid v2.1 and revolution x kernel
[Galaxy Y GT-S5360 Android Development] Kousthubha Kumar:
Try using repencis kernel.
[Galaxy Y GT-S5360 Android Development] schalkerjung1984:
mmh.. then i dont know :( only rootexplorer,setcpu,cpuspy and now better battery stats installed but nothing happens :/
[Galaxy Y GT-S5360 Android Development] b16h22:
Try to find the 'wakelock' in better battery stats app.
[Galaxy Y GT-S5360 Android Development] schalkerjung1984:
hmm theire isnt a wakelock.. :( **** happens ;(
[Galaxy Y GT-S5360 Android Development] b16h22:
I'll talk with savie about it.

if you can,try my rom and report.I'll look into it if more people are experiencing it.

sent while doin' some burnouts
[Galaxy Y GT-S5360 Android Development] kimbaduds:
hey dude, can you give me a link of repencis kernel and the 3.0 modules? and what rom are you using?? creeds? waiting for your reply :D
[Galaxy Y GT-S5360 Android Development] kimbaduds:
where did you get repencis kernel? share please im trying to find it but i cant..
[Galaxy Y GT-S5360 Android Development] Kousthubha Kumar:
Just flash this via CWM. Be sure to have a nandroid backup. Its the repencis 3.5 kernel+Repencis 3.0 Modules.

http://www.mediafire.com/?2w93o6wzv2rod45

Im using U.S.R 3.0 ROM.
[Galaxy Y GT-S5360 Android Development] kimbaduds:
oh and link for the rom too if you don't mind? :D thank you bro
[Galaxy Y GT-S5360 Android Development] Kousthubha Kumar:
Im not sure if I can share it as the ROM been closed by the Xda Mods due to some copying issues (which isnt anything imo). So Ill PM you instead. Anyone can ask me via PM if they want it.
[Galaxy Y GT-S5360 Android Development] kimbaduds:
what should i install 1st? the rom or the kernel?
[Galaxy Y GT-S5360 Android Development] android1561:
Instructions for Dummies?

I am very interested in flashing bacem-tweak-0.1.1.zip but I don't know what to do after... :(( I want to preserve juice in my battery.

Can someone give a step-by-step instruction?
[Galaxy Y GT-S5360 Android Development] irfanbagus:
flash from recovery mode. some custom rom already include it, so better check in your rom thread first.
[Galaxy Y GT-S5360 Android Development] android1561:
*pressed thanks* Thanks!
[Galaxy Y GT-S5360 Android Development] kimbaduds:
hey irfanbagus,

i just want to ask, how to check UV values that are set? if im on -20mv or what? waiting for your reply.. thanks
[Galaxy Y GT-S5360 Android Development] savie:
/sys/class/regulator/regulator.5/microvolt

Original is 1300000
[Galaxy Y GT-S5360 Android Development] kimbaduds:
thanks for this info, oh can i edit this text file to change the values or i have to do this in the terminal emu?

for example,

if i put this command in the terminal emu, echo -20mV > /proc/sys/bacem/volt/cpu

so 1300000 will be? sorry for the noob question. im new in UV/OV :D
[Galaxy Y GT-S5360 Android Development] irfanbagus:
update first post. or use like savie said if you want to know actual value of cpu regulator. -20mV means your voltage will be decrease by 20mV. on 832mhz default voltage is 1.3Volt, so new value will be 1.3V-20mV = 1.280V
[Galaxy Y GT-S5360 Android Development] kurotsugi:
irfan's kernel doesn't have any additional governor. only have stock ones.
[Galaxy Y GT-S5360 Android Development] savie:
Mmm there no folder like that. Its mean not work?

Use modified dxlc1 with a2sd darktremor kernel.
[Galaxy Y GT-S5360 Android Development] kurotsugi:
@savie: chek this to make it work.

http://xdaforums.com/showpost.php?p=25861308&postcount=13
[Galaxy Y GT-S5360 Android Development] savie:
I've try n work.

So time to try change parameter.

Thanks bro.
[Galaxy Y GT-S5360 Android Development] irfanbagus:
@premolikeshtc

to add kernel module, you have 2 ways. first by integrated into kernel binary, second by loadable module. this is second way. with this way, you can easily add or remove module that you need or not need. no need recompile kernel.

@savie

no need to run bechmark. it does not improve performance.

@kurotsugi

ok, i will update init.d script. i make it call "busybox sh" for efficiency. all init.d depend to busybox so if we call busybox for sh, it's little bit faster because busybox is already in ram (no need load from storage). but if this make problem, i will use your way.

@all

i have "ondemand" and "conservative" module. but it so lag so i'm not include in package. i am trying to compile "interactive", but i feel sleepy, so i am going to bed right now. if nothing serius happen, i will upload tomorrow with fix on init.d script from kurotsugi.
[Galaxy Y GT-S5360 Android Development] kurotsugi:
the modules are already in binary file. you'll need to edit the modules from the source then rebuild them.
[Galaxy Y GT-S5360 Android Development] PREMOLIKES:
Im more concern of tweaks in the init.d script...modules and source is far from my reach now.
[Galaxy Y GT-S5360 Android Development] kurotsugi:
yup...you can edit the init.d script. in fact, we have to edit irfan's init.d script to make his tweak work. not every busybox has sh command, thus make the init.d script used to load the modules didn't work without proper modification.

btw, please make sure that you're using a kernel with init.d support for best result.
[Galaxy Y GT-S5360 Android Development] savie:
Same with me, i know that change into binary but still dont know how. Maybe some guide or tutorial bro kurotsugi? Hope can work in winXP not linux. Hehe
[Galaxy Y GT-S5360 Android Development] mdfzhi:
probably wont happen with windows. serious dev-ing job needs linux.

windows can do it but its limited and buggy, via cygwin. but i doubt anyone had any success compiling anything via cygwin.
[Galaxy Y GT-S5360 Android Development] savie:
Yes i have cygwin and notepad++ is there another tools?

I know must linux user i have 1 ultimate boot on cd but my dvd rom broken now and i'newbie in android not programer but have passion to learn. Hope any dev can guide me. Thanks b4

For result test after follow kurotsugi now cpuspy can run.
[Galaxy Y GT-S5360 Android Development] kurotsugi:
@savie: don't get fooled by my 'recognized contributor'. I'm just a noob here. irfan is the real dev here. (lol)

anonymous is right. android is based on linux, so all tools needed to compile the file are available in linux. I'm not sure if they are available for windows. in fact, I never heard someone using windows to make a module for linux .
[Galaxy Y GT-S5360 Android Development] mdfzhi:
u better off installing linux than trying to figure out and make cygwin works properly. that thing is a huge failed attempt to make linux binary run in windows.
[Galaxy Y GT-S5360 Android Development] savie:
Yes irfan is real dev and a programer too.

When compare with linux command make doesn't exist in cygwin.

I think that one of problem.
[Galaxy Y GT-S5360 Android Development] kurotsugi:
how about linux live cd? do you think it will work?
[Galaxy Y GT-S5360 Android Development] irfanbagus:
virtual machine works, but little bit slow. in fact i compile this module in vm (qemu in linux and virtualbox in windows).

btw i upload new version. fix init.d script (i hope no error again) and add interactive governor. interactive governor is ok, but maybe you need to disable (set to bcm21553) if play games. try with setcpu to see 'live' frequency, and try change "min sample rate" in advance tab.

i did something bad with github. if you already clone and have proble, please clone again
[Galaxy Y GT-S5360 Android Development] savie:
Specifict link or source for the tool maybe?

Time to googling for tool and will try the newest work from you.

Thanks bro.
[Galaxy Y GT-S5360 Android Development] irfanbagus:
try with 'user friendly' distro like ubuntu. i feel comfort with slackware, but i do not recommended for new user. you also need kernel source from samsung and arm cross compiler (see here)
[Galaxy Y GT-S5360 Android Development] savie:
I've have all except linux and still wanna play in window but if your advice is can work with window i will find linux cd.

Btw can i use ulimate live cd ubuntu8 (if i not wrong) and how bout virtual machine?

Pardon me for newbie question
[Galaxy Y GT-S5360 Android Development] kimbaduds:
last question for a noob like me! :)

how to set -120mv? what command will i type?

echo -120mV > /proc/sys/bacem/volt/cpu??
[Galaxy Y GT-S5360 Android Development] irfanbagus:
yes. but you will lost that value when booting. to make permanent edit init.d script in /system/etc/init.d/ folder
[Galaxy Y GT-S5360 Android Development] kimbaduds:
how to?

VOLTAGE=-60mV

i just change this to

VOLTAGE=-120mV??
[Galaxy Y GT-S5360 Android Development] irfanbagus:
yes
[Galaxy Y GT-S5360 Android Development] android1561:
Using Better Terminal Emulator I get "Permission Denied".

Is this right: echo(space)-20mV(space)>(space)/proc/sys/bacem/volt/cpu ?

I am using BaCeM-Tweaks 0.2.1

What is the best and safest value to replace "-20mV" above to help my battery last?
[Galaxy Y GT-S5360 Android Development] whitexp:
su

before ;)
[Galaxy Y GT-S5360 Android Development] irfanbagus:
you need to get root permission first. run :

su

before run that command. and make sure "/proc/sys/bacem/volt/cpu" exist
[Galaxy Y GT-S5360 Android Development] leodasal2:
working fine here ;)
[Galaxy Y GT-S5360 Android Development] Shizuwi:
Hi, reporting a wi-fi bug w/ bacem tweak if installed using merruk kernel, wi-fi won't turn on and will just register "wi-fi error", hope this can be fix :)

Troubleshooting I have undertaken so far:

1. reload wi-fi driver *#*#526... but same result

2. change wpa supplicant - same result

3. reinstall ROM from scratch, same result - guess merruk kernel is really not compatible with bacem tweak?
[Galaxy Y GT-S5360 Android Development] davidroid03:
Wifi works with merruk.

Im using it right now.

See screen shot.

sent using "Creed 3.5+merruk kernel"
[Galaxy Y GT-S5360 Android Development] leodasal2:
check if your modem is configured correctly

and make sure you have set the correct perms for the wpa_suplicant

= rwx-rwx-rwx

place it on system/bin
[Galaxy Y GT-S5360 Android Development] eyjay1991:
Uhm after installing Bacem Tweak via CWM. What's next?
[Galaxy Y GT-S5360 Android Development] Chamiakas:
Download No-Frills CPU control or similar from Google Play, install it and select interactive governor and min frequency as 312, max at 832Mhz. Also, you can flash savies I/O and governor tweak here: http://xdaforums.com/showthread.php?t=1761166

And not to mention, you can under-volt you CPU, just go to init.d folfer in system/etc and select bacem-tweak. Open with text editor and change the line with the word "VOLTAGE". Don't go below -180mV as it can cause instability. Don't know what else is there to it ;)
[Galaxy Y GT-S5360 Android Development] eyjay1991:
Thanks bro! I'm currently using Chobits + Merruk. Already installed Bacem Tweak. Tried setCPU can't set advance settings still. I'm hearing about these DEEP SLEEP. What is this? If u could add more about it.

P.S.

When you install Bacem-Tweak, isn't it automatically undervolted?
[Galaxy Y GT-S5360 Android Development] nothinkinc:
what is the rule of undervolt?

aturan undervolt gmn sih om?? sorry for my bad english -.-
[Galaxy Y GT-S5360 Android Development] savie:
The rules is dont undervolt to low read this tread clearly and u will get the answer.

-160v = dead end

-80v to -120v common user usually use.

Sorry for my bad english too :p
[Galaxy Y GT-S5360 Android Development] Kousthubha Kumar:
Download cpu spy from play store, deep sleep is a state which comes when phone screen is off and it uses the lowest possible frequencies and takes less battery.

Yes, Bacem Tweak undervolts automatically by -60 mv. You can increase its value to maximize battery savings.

There isn't any rule. I am not sure what you mean.
[Galaxy Y GT-S5360 Android Development] Chamiakas:
The questions have been answered. I myself set CPU voltage to -120mV today, still need to test for a few days to tell if theres any significant difference in battery life. Though I get ~4days usage with normal/light use of my SGY.
[Galaxy Y GT-S5360 Android Development] nothinkinc:
hehe.. I just want to know minimum voltage allowed for uv:-D

i've read this thread and he told don't uv below -160mv, so we are not allowed to set value -190mV???
[Galaxy Y GT-S5360 Android Development] Kousthubha Kumar:
Do that and get your device bricked. Dont go beyond -140 mV.
[Galaxy Y GT-S5360 Android Development] kykemejia:
Deep Sleep

Evidently there is a problem with the Deep Sleep.

The image of the right to take it today after flashing Bacem-Tweak 2.1, the image on the left take it on Friday and already had a2sd working without Bacem-Tweak 2.1. I use -120uV but the Deep Sleep is not working.

No solution to fix this or should I remove Bacem-Tweak 2.1???:confused:
[Galaxy Y GT-S5360 Android Development] irfanbagus:
please do this step :

- remove usb or charger

- restart phone

- put phone on flight mode

- lock phone (short press power button).

- wait for about 5-10 minute

- open cpuspy

repeat that step with bacem-tweak removed

and please provide screenshot for both condition.

your right image only turn-on for 22 minutes. in that short period is your screen already turn off ? like i said before, deep sleep (aka suspend) only active if your screen turn off and no background app use wake-lock (like music player). your right image also show usb symbol. that means your phone in charging. in sgy charging prevent deep sleep.
[Galaxy Y GT-S5360 Android Development] kykemejia:
How to remove the Bacem-Tweak 2.1??
[Galaxy Y GT-S5360 Android Development] Kousthubha Kumar:
Flash the remove zip provided in the first post
[Galaxy Y GT-S5360 Android Development] kykemejia:
But even still appears the file 01bacem-tweak in the /etc/init.d, delete is file???
[Galaxy Y GT-S5360 Android Development] savie:
Mmm sound it old removal bacem (old thread is bcm-tweak).

Just remove manually with rootex

/system/lib/modules/bacem_tweak.ko

/system/lib/modules/interactive.ko

/system/etc/init.d/01bacem-tweak

Reboot..
[Galaxy Y GT-S5360 Android Development] kykemejia:
Deep Sleep

After following instructions to delete Bacem, this was the result of the test requested by Irfanbagus:

Looking at pictures does not work the Deep Sleep.
[Galaxy Y GT-S5360 Android Development] Kousthubha Kumar:
It will work dude. Here's some proof :

I'm - 140mV undervolted and using link2sd having 300+ apps. I'm using phone non stop so less deep sleep time but it works perfectly. The tweak is fine. Check everything on your side
[Galaxy Y GT-S5360 Android Development] irfanbagus:
you see, it does not related to bacem-tweak, you don't get deep sleep with or without it. something else make you phone always wakeup. in fact in repencis kernel, only half part of module works (uv) because the others half already build-in (cpufreq). ss from hitme987 also show no problem with deep sleep.
[Galaxy Y GT-S5360 Android Development] kykemejia:
understand your answer, but that until Friday had not mounted Bacem the Deep Sleep worked without problems??:confused:
[Galaxy Y GT-S5360 Android Development] irfanbagus:
bacem is non permanent modification. once you reboot, it's gone. that why you need to call it everytime boot in init.d script. i see you have a lot running application in status bar. it could be, one or more you application use wake lock. and after you install bacem you definitely did some other modification to your phone (at least you change your gov settings). in your first ss, you even plug usb cable. plug usb or charger prevent deep sleep.

in this case, i can't help you. i suggest to use battery stat tools to find problematic app. but you already prove that the problem is not with bacem.
[Galaxy Y GT-S5360 Android Development] MarcoToo:
I had a similar wake lock problem, turned out BaCeM caused it(no idea why and how). The best and probably only fix was flashing irfan's 'mono' kernel.

via XDApp
[Galaxy Y GT-S5360 Android Development] kykemejia:
I went back to install and I'm testing with other governors to see how it goes, I had it on demand, now I will try to see if I interactive works. We'll be reporting.

---------- Post added at 11:41 AM ---------- Previous post was at 11:13 AM ----------

Within 10 min of testing with the interactive governor, I made ​​89% of Deep Sleep:D. It is possible that On Demand does not work, because with the governor never start the Deep Sleep.

What other governors can try and help to save battery.:confused:

---------- Post added at 12:21 PM ---------- Previous post was at 11:41 AM ----------

Also worked on demand, I guess I did something wrong when it mounted above Bacem.

Change to -120 the undervolt.
[Galaxy Y GT-S5360 Android Development] kykemejia:
What is the ideal value to set the undervolt????:confused:
[Galaxy Y GT-S5360 Android Development] irfanbagus:
@kykemejia

glad to hear that. deep sleep (suspend) and governor are different thing. event you can have deep sleep while using performance as long as you have right conditions. about uv ideally it should be 0mV :D it's depend to your hardware. -100mV to -120mV usually safe.
[Galaxy Y GT-S5360 Android Development] kykemejia:
No problem, but it must be some sequence of installation to perform well, eg

- Flashing ROM Stock

- Custom ROM Flashing (In my case Repencis Advanced v3.5)

- Flashing and start A2SD

- Flashing Bacem and change undervolt

I worked in that order.:good:
[Galaxy Y GT-S5360 Android Development] rkmiks:
I don't know how to run terminal neither do i know any of its commands , in that case what should i do to change the undervolt value. Or may be anyone could give a link to a thread about how to run terminal emulator.
[Galaxy Y GT-S5360 Android Development] kykemejia:
Search the Market, Better Terminal or ConnectBot.
[Galaxy Y GT-S5360 Android Development] nothinkinc:
I have problem with deep sleep too.. I go to directory /sys/kernel/debug/*here* but i don't see anything in there.. so I execute init.d script called "wehatenormalsleep" using rootex, then i go to directory sys/kernel/debug/*here*, there is some files and folders here and I find deep sleep worked..

what's main problem sir?? sorry for my bad english
[Galaxy Y GT-S5360 Android Development] savie:
The main problem is why all deepsleep problem come from here (bacem-tweak). Lol.

Actually i got that too, but now with bacem-tweak as modules/kernel no problem with deeeepppppsleeeeeep.. lol..

imo its cause a2sd-draktemor so activity in sdcard as 2nd partition cant stop so device cant deepsleep.

Anyways maybe ur script (i don't know its ur work or from other) can solve people who can get sleeeeepdeeeepp.. lol..

Great if u share to all (with permission if its not ur work).. :)
[Galaxy Y GT-S5360 Android Development] android1561:
-140mV is good enough, saves your battery a lot. I tried to set it in -170 when I reboot it reboots and reboots, so I flashed the bacem-tweak again, :D that fixed it :D

---------- Post added at 08:17 AM ---------- Previous post was at 08:10 AM ----------

Setting values in bacem-tweak is easy, no need terminal emulator.

1.) Open Root Explorer or any file manager that have a root access >> Open the system folder.

2.) In the system folder scroll down and open etc folder >> then find the init.d folder in it.

3.) In the init.d folder find 01bacem-tweak >> Press 01bacem-tweak and select Text Editor.

There you can edit/change/set the value from -60mV to your desired value.

NOTE: I recommend -120mV or -140mV :D
[Galaxy Y GT-S5360 Android Development] savie:
-170mV lol dead-end

U must read this thread from 1st post and u will know how amazing this tweak. So thanks to op.
[Galaxy Y GT-S5360 Android Development] nothinkinc:
I don't use a2sd sir.. I hate unused internal storage..

i got that script frm cusrom, almost all cusrom have it :D
[Galaxy Y GT-S5360 Android Development] MarcoToo:
The CPU driver won't let the phone sleep when BaCeM-tweak is applied. I edited the CPU driver and my phone now sleeps deeply again.
[Galaxy Y GT-S5360 Android Development] ronnieryan:
bro if you have savie rev 60 with fixed CWM restore and backup for stock pls send me:D
[Galaxy Y GT-S5360 Android Development] savie:
Please check my pm. Thanks.
[Galaxy Y GT-S5360 Android Development] ronnieryan:
done and replied, will be testing later:good:

been using rev60 with creeds for 5 hours now
[Galaxy Y GT-S5360 Android Development] rkmiks:
Thanks for replying.
[Galaxy Y GT-S5360 Android Development] nothinkinc:
can you explain to me?? i don understand:D
[Galaxy Y GT-S5360 Android Development] savie:
I never edit CPU driver and use bacem as modules or integrated but never have problem with deepsleep... :)

Imo deepsleep problem not cause of bacem-tweak..
[Galaxy Y GT-S5360 Android Development] kurotsugi:
well...with our unmodified script, our kernel does rarely use deepsleep. especially when we're using a2sd or similar method. I don't have a proof to said that bacem tweak obstruct the deepsleep stuff. nevertheless, modifying the wake_lock stuff in our kernel source will make our cpu sleep more frequent than before. someone have reported that this method could save 20-40% battery with daily normal usage.