Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
hillbeast
Old
#2841  
hillbeast's Avatar
Recognized Developer
Thanks Meter 6612
Posts: 2,602
Join Date: Feb 2011
Location: Dunedin

 
DONATE TO ME
Quote:
Originally Posted by Shree_Jamdar View Post
I am just curious. When the kernel or whatever, wants to access those files, isn't it faster if they were on phone's memory rather than SD? So will this new modification affect the speed, even a tiny micro bit?
It'll be such a small amount that you would never notice it. The average init.d script is like 5KB, and the average read speed of a Class 2 SD card is 2MB/s. It could load 400 scripts in a second.
Samsung Galaxy 3: No ROM + Kernel 3.4.x Project
Google|Asus Nexus 7: CyanogenMod 10.1 + CM10.1 Kernel
Sony Xperia Arc S: FXP CyanogenMod 10 + CM10 Kernel
ODROID U2: Ubuntu 12.10 + ODROID Ubuntu Kernel

Previous phones: Samsung Galaxy S2

My creations/contributions: Kyorarom (G3-F) (G3-ICS) - Kyorakernel - G3MOD Kernel - Kernel 3.4 Project for Galaxy 3 - Hybrid Data2SD - HD2SD v2 - Kernel 3.3.8 for Linksys WAG160N
The Following 2 Users Say Thank You to hillbeast For This Useful Post: [ Click to Expand ]
 
hadi_xman
Old
#2842  
Senior Member
Thanks Meter 52
Posts: 563
Join Date: Jul 2011
Location: Karachi
where is v2.5 its not in downloads list..?
 
rkoby13
Old
#2843  
rkoby13's Avatar
Recognized Contributor
Thanks Meter 2204
Posts: 4,573
Join Date: Mar 2011
Location: Howering above your head!!!Beware!!

 
DONATE TO ME
Quote:
Originally Posted by hadi_xman View Post
where is v2.5 its not in downloads list..?
search few posts back

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sent from Galaxy
Hercolubus Rom v 2.2.1(CWM)
powered by
Hillbeasts test 002 kernel.zip
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
vleutmans
Old
#2844  
vleutmans's Avatar
Senior Member
Thanks Meter 321
Posts: 643
Join Date: Feb 2011
I wonder if there's a kind of power saving setting in this kernel embedded.

Even if I don't define pm.sleepmode=1 in the build.prop, it looks like the phone goes into really deep-sleep, and doesn't reconnect WIFI in standby modus.

example:
My phone has no simm, only WIFI. I connect WIFI at home..and drive to work..Then when I arrive back at home, it never reconnects when phone screen is not unlocked, so in standby. Not even after some hours. Only when you press the middle button to turn screen on, it reconnects WIFI.

With stock kernel , the phone will reconnect WIFI , even when you don't use the phone for anything..and mails will come in..on standby.


Anyone ?

Br.

Michel
Primary phone :
SonyEricsson xperia RAY
current ROM :[ROM&KERNEL]Arcatarc's SuperleggeraV5 (Modulare)

Secondary Phone (for testing purposes) WIFI only:
Samsung Galaxy-3 Apollo I5800
Current ROM : Kyrillos 9.7.2

Tablet :
Archos 101 Titanium: stock JB
 
phoenix_wnd
Old
#2845  
phoenix_wnd's Avatar
Member
Thanks Meter 15
Posts: 37
Join Date: Nov 2011
Have you tried setting your wifi standby policy to 'never'? It might work...
What ROM are you on? I know this policy setting exists at least in cm7...
Best regards
Phoenix_wnd

Sent from my GT-I5800 using XDA
my Galaxy S GT-I9000:
currently on: CM 10 (based on Android 4.1.2)
kernel: CM 10 kernel
cpu profiles:
main profile: 100 - 1000 Mhz/ interactive
---> you might hit thanks if i helped you <---
get your extra storage here: Dropbox
 
bsuhas
Old
#2846  
bsuhas's Avatar
Senior Member
Thanks Meter 911
Posts: 533
Join Date: Dec 2011
Location: India

 
DONATE TO ME
Quote:
Originally Posted by phoenix_wnd View Post
Have you tried setting your wifi standby policy to 'never'? It might work...
What ROM are you on? I know this policy setting exists at least in cm7...
Best regards
Phoenix_wnd

Sent from my GT-I5800 using XDA
Check wifi sleep policy in wifi settings. If its set to 'never' then wifi will not turn off when screen goes off. you probably have option 'when screen turns off' option selected.
...

Click 'Thanks' button if my above post helped you.

My devices
- Micromax A110 Superfone Canvas 2
- Samsung Galaxy 3 i5801

My work -
One of the best ROMs for the Micromax A110 - Suvi ROM
Android Application Manager (PC,Java) - AAM
 
vleutmans
Old
#2847  
vleutmans's Avatar
Senior Member
Thanks Meter 321
Posts: 643
Join Date: Feb 2011
Quote:
Originally Posted by phoenix_wnd View Post
Have you tried setting your wifi standby policy to 'never'? It might work...
What ROM are you on? I know this policy setting exists at least in cm7...
Best regards
Phoenix_wnd

Sent from my GT-I5800 using XDA
Is tested on froyo JPS (my phone, no simm, wifi only) and JPU (my wife's phone, wifi only, has simm in phone)

For froyo, WIFI is already set to "never sleep" by default.
For CM is had to put this setting to fix the auto-rotation feature in kyrillos and hercolubus ROM.. but I'm not sure if CM reconnects WIFI in standby (deep sleep) modus... I doubt it to happen.

I believe this issue only happens when you have no mobile data (APN) on your phone, only wifi...so you could easily verify too :)

Either way 3G gets your phone out of deep-sleep regularly (to fetch data) and also triggers WIFI to reconnect by that, so then you will not see the issue.
---
So if you want to test, disable you APN (rename it) leave your house/wifi, come back in some minutes. Wait 5 extra minutes, then turn screen on and see if WIFI was connected already....or WIFI just starts connecting when you turn on screen.

If WIFI starts connecting at the moment you turn on the screen then CM kernels also has this issue.
---

Again, stock kernels don't have this issue..I tested it (but miss other goodies ofcourse :) )

P.S. in build.prop the pm.sleep_mode=X is involved, but even without this line, WIFI doesn't reconnect in standby on custom kernels.
This makes me think about setting a higer value for pm.sleep_mode on custom kernel...like 2,3 or 4.. New testing for me too.

Br.

Michel
Primary phone :
SonyEricsson xperia RAY
current ROM :[ROM&KERNEL]Arcatarc's SuperleggeraV5 (Modulare)

Secondary Phone (for testing purposes) WIFI only:
Samsung Galaxy-3 Apollo I5800
Current ROM : Kyrillos 9.7.2

Tablet :
Archos 101 Titanium: stock JB
 
aarrun
Old
#2848  
aarrun's Avatar
Recognized Themer
Thanks Meter 280
Posts: 625
Join Date: Jan 2011
Location: Mumbai
is the kernels compatibility increased to cm7 8.2?


PHONE: SAMF**KED....GALAXY 3
ROM: GingerDX(Modded as for my needs)
KERNEL:CM7 apollo#889 OC
THEME: My Modded Achep's Theme


MY THEME WORK FOR G3:

Antonda Design Blue for Froyo
Antonda Design Green for Froyo
AOSP Gingerbread for Froyo
ICS Theme for Froyo
Sensation Crysis for Froyo
Theme Elegance for Froyo
Hi-Tech Sense for Froyo
 
rkoby13
Old
#2849  
rkoby13's Avatar
Recognized Contributor
Thanks Meter 2204
Posts: 4,573
Join Date: Mar 2011
Location: Howering above your head!!!Beware!!

 
DONATE TO ME
Quote:
Originally Posted by aarrun View Post
is the kernels compatibility increased to cm7 8.2?
most likely it is as there aren't any huge changes with rc3....will try out asap though....
 
phoenix_wnd
Old
#2850  
phoenix_wnd's Avatar
Member
Thanks Meter 15
Posts: 37
Join Date: Nov 2011
Quote:
Originally Posted by vleutmans View Post
Is tested on froyo JPS (my phone, no simm, wifi only) and JPU (my wife's phone, wifi only, has simm in phone)

For froyo, WIFI is already set to "never sleep" by default.
For CM is had to put this setting to fix the auto-rotation feature in kyrillos and hercolubus ROM.. but I'm not sure if CM reconnects WIFI in standby (deep sleep) modus... I doubt it to happen.

I believe this issue only happens when you have no mobile data (APN) on your phone, only wifi...so you could easily verify too :)

Either way 3G gets your phone out of deep-sleep regularly (to fetch data) and also triggers WIFI to reconnect by that, so then you will not see the issue.
---
So if you want to test, disable you APN (rename it) leave your house/wifi, come back in some minutes. Wait 5 extra minutes, then turn screen on and see if WIFI was connected already....or WIFI just starts connecting when you turn on screen.

If WIFI starts connecting at the moment you turn on the screen then CM kernels also has this issue.
---

Again, stock kernels don't have this issue..I tested it (but miss other goodies ofcourse :) )

P.S. in build.prop the pm.sleep_mode=X is involved, but even without this line, WIFI doesn't reconnect in standby on custom kernels.
This makes me think about setting a higer value for pm.sleep_mode on custom kernel...like 2,3 or 4.. New testing for me too.

Br.

Michel
i can confirm the following:

-i enabled wifi and didn't connect to any wifi-network
-i entered my home and wifi there was enabled
-my phone didn't automatically connect to my hotspot
-after i disabled/ re-enabled wifi it connected

--> the 'never sleep' feature seems to work only when you're already conncted and your phone disabled screen
--> tested with cm7-kernel 1.5 (didn't test with g3mod 2.5 because of updating to cm7.2 rc3 =)
--> i don't have the line you suggested in my build.prop
--> don't know if it really is kernel related or something in my rom (cm7)
my Galaxy S GT-I9000:
currently on: CM 10 (based on Android 4.1.2)
kernel: CM 10 kernel
cpu profiles:
main profile: 100 - 1000 Mhz/ interactive
---> you might hit thanks if i helped you <---
get your extra storage here: Dropbox

 
Post Reply+
Tags
froyo, g3mod, kernel
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...