yashsingh1/xdaforums huggingface dataset:
[Streak 5 Android Development] uluvali:
Im on 1.7 diff4

Wifi 100% stable. timeout 1sec. PM off/off. Fixer normal. Heap 128m. UV off. No wifi hangs or freezes in 48hrs. Toggles from 3g to wifi and back effortlessly. I have had wifi freezes with 1.5 - 1.6. I would have to go to airplane mode, then off, to resolve. Seems completely resolved now. I will keep watching it. :D

Smartass with CPU Kick is very responsive. I do get a few random lockups when I launch a program. The screen will be black or white. Its usually resolved by hitting the home button and relaunching or closing it in apps and relaunching. :good:

I use BFQ for the SD IO scheduler. I can play 720p stutter-free with audio in sync now. Not sure if its the smartass combined with the BFQ or what, but it works. :confused:

Pdroid is also pretty cool as well, once you get all of the apps configured. Thanks for supporting it. Along with LBE, I feel a little less violated

:silly:

I am downloading the new smartass kernal now. I will post the results

Spoke too soon:

Wifi freeze. Increased timeout to 10mins
[Streak 5 Android Development] vankooten:
i'm on 1.7 deff4 also and it seems to work good.

I have the timeout set on 10sec (don't know why) and PM on off/off (don't know why)

Can you tell us/me where the other settings are for??
[Streak 5 Android Development] Dude_Virus:
Smartass with CPU Kick is very responsive. I do get a few random lockups when I launch a program. The screen will be black or white. Its usually resolved by hitting the home button and relaunching or closing it in apps and relaunching. :good:

This is not because of smartass or cpu kick or uv as the same problem i am having since 1.4. Usually the screen for me is black and then i have to either press the back button or home button and relaunch the app or the menu. This for me doesnt happen with just app but randomly any place be it a menu wihin an app or the application list.

I am not on diff 4 but on diff 3 and there have been no wifi issues. My timeout is on 1 min and wifi pm as off/off. The only concern that I have is the device sleep mode, although it is goin to sleep mode but not like it used to go earlier. Is it due to the wifi pm or the timeout ?

Sergei one question do we need to reapply the timeout and wifi pm settings once we reenable wifi. For eg if i come home from work do i need to open dsconfig and set the settings once again..?? Asking this because in the morningwhen i came home and turned on the wifi it was working fine however after 7 hrs i randomly checked cpu spy and the device had not gone to deep sleep. So i opened dsconfig clicked on the set now button for timeout as well as for wifi pm and then clicked on save and then clicked on save and reboot and after that i left the phone for 7 hours and found that the device went to sleep mode.

Talking about DSConfig made me remember another issue with DSConfig. The config app crashes if incase while being in the config app the screen turns off...when i wake the device the unlock screen lags a bit and then then next thing i get to see is Dsconfig crashed and a button to close it.

More on wifi

Toggling from wifi to mobile data and vice versa works properly it actually happens instantly. ( this is when i turn off wifi manually)

With the wifi switched on if i go out of range from my access point, the mobile data comes up when wifi is not in range and it switched back to wifi when i come back in range to my access point. Now this is happenning even when the screen is off. Earlier if i tried this i had to switch on the screen for the wifi to connect.

Now i havent tried diff 4 .... besides adding the smartass governor have you made any changes to the wifi part whih is in diff 3...? If yes then i will download diff 4 else the wifi on test 3 works great. Touchwood it stays the same.

---------- Post added at 05:19 AM ---------- Previous post was at 05:18 AM ----------

Which other settings...??
[Streak 5 Android Development] uluvali:
Update.

When I installed the 576 ideal smartass, I started getting wifi and 3g freezes regardless of the timeout. Cleaned the dalvik several times. No improvement. I didn't have this problem on the 768 ideal smartass. I reinstalled the 1.7 diff 4 and clean the dalvik and so far, so good. Performance seems about the same. The 576 is as responsive as the 768MHZ with the CPU kick and hopefully with a little more battery savings

I also started experiencing a white screen on my camera and video display. I removed LBE and its resolved. Im use pdroid only now.

Now everything is "buttery" smooth.... ;)

Update #2: Spoke too soon

Another Wifi freeze. Went to Wifi timeout. Changed it to 10mins and click set now. Resolved immediately without restart, re-association or toggle of airplane mode. Though its strangely random, its looks like you have correctly narrowed it down to the timeout settings. I will set it for 1day and post the results. Disregard my earlier comment as it related the smartass mod to the wifi performance. They appear to be unrelated.
[Streak 5 Android Development] vankooten:
the settings in the attached screenshot.
[Streak 5 Android Development] _n0p_:
uluvali, Kartikaye, vankooten:

OK, let me try to redescribe:

WiFi driver (dhd.ko) has internal watchdog routine, fired at defined time intervals.

What happens:

1. Routine called. If no WiFi activity - sets inactivity flag to true.

2. Routine called. If still no WiFi activity (inactivity flag set) - turns clock on WiFi device off, allowing it to go into deep sleep.

If you change this value to very high - device won't sleep at all. Similar to hPa's hack.

But lower values (i use 5 sec personally) seem to work good.

Note that you have to keep Connection fixer at Normal, as the script applies settings to WiFi after DSConfig sets them.

If you set timeout to 1d for example, and now set to 1m for example, you have to reset driver (off/on) manually, as next timeout happens after first (1d timeout) expires.

WiFi PM modes - Off - no power management, Fast - kind of factory value, Max - maximum PM. In DSConfig i've put combinations that could be of practical use.
[Streak 5 Android Development] _n0p_:
DSC v1.7 diff 5

Last test before 1.7 release:

--

Without PDroid:

http://n0p.8bit.fm/streak/updDSCv1.7-diff5.zip

--

With PDroid:

http://n0p.8bit.fm/streak/updDSCv1.7-diff5pdroid.zip

--

Services/Framework/Fixer changes to increase hidkbd stability.

SmartassV2 @576:245 ideal.

--

And kernel:

http://n0p.8bit.fm/streak/boot.img

Conservative modded to jump to 384MHz faster.

Lowered 128MHz voltage to 925mV (in UV mode).
[Streak 5 Android Development] Dude_Virus:
So this one doesnt have by default smartass governor...??
[Streak 5 Android Development] _n0p_:
No and i won't put a third-party governor as default.

You can set it with either CPU Master or changing the line in init.streak.post_boot.sh

echo "conservative" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

to

echo "smartassV2" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
[Streak 5 Android Development] lordofazeroth:
dumb question:

pdroid is some kind of firewall.

Why do I have to flash this? What is changed between pdroid and non pdroid 1.7 diff 5?

I have set the wifi connection fixer to off in DSConfig.

That means the wifi reassociate is not needed?
[Streak 5 Android Development] Dude_Virus:
No i wanna keep conservative for now... will test wifi more.... can you please test onetthing in dsconfig change the wifi pm setting to off/off and check for deep sleep. I have kept the wifi timeout as now 10sec but still the device aint sleeping as it normally sleeps. For eg earlier for 9 hours device total on time the deep sleep would be 6 or 7 hrrs...but now its hardly reaching 2:30 hours
[Streak 5 Android Development] _n0p_:
Look in the PDroid thread for information.

WiFi Reassociate "might be" needed if internal Fixer is disabled.

This means your device has constant wifi activity. It will sleep if no wifi activity detected within 20 secs (in your case).
[Streak 5 Android Development] Dude_Virus:
Yeah i have my office emails and skype chats and calls coming in...that is y cant afford the wifi to be disconnected...

Ok i flashed the 1.7 diff5 ...so now let me try 5 sec timeout and check...hopefully it should not start wifi issues.

Before i do that let me just reconfirm. Whats the ideal way for the changes to be done.

1) i select the value from the drop down in ds config

2) i click the set now button

3) i click on the save button at the bottom

4) i turn off and turn back on the wifi

5) i go back to dsconfig for the other changes like uv and dpi

6) i click save and reboot.

Are those steps correct. Or something else needs to be done.
[Streak 5 Android Development] _n0p_:
DSConfig - select WiFi timeout. Set now.

Ensure you have Normal Connection fixer mode.

Save.

It's enough for low timeout values :)
[Streak 5 Android Development] Dude_Virus:
So far so good running on 5 sec timeout and pm as off/off

Deep sleep working good....so now just need to test the wifi whether it has some issues
[Streak 5 Android Development] lordofazeroth:
Is there a config file for smartass so I can play with the values inside as I cant set anything in cpu master pro?

By te way: someone on the german board tested the energy useage of the S5.

Apparently the cpu runs most energy efficient on about 600 MHz.
[Streak 5 Android Development] _n0p_:
You can consult the article you published link to earlier. Governor configuration covered there.

As for best frequency - i've published frequency/voltage table earlier, I think 576000 is best for speed/power ratio. In UV mode it even run at same voltage as lowest stock (245) frequency.
[Streak 5 Android Development] lordofazeroth:
Sure, but isnt there a config file, which sets the initial values?

Something like your init streak config for the conservative, but for smartass...
[Streak 5 Android Development] bluhound:
Recently I have been getting this problem. On random occasions I get 'No Service' but everything still works fine. I can make calls, send/receive SMS. Could it be a compatibility error with the 3xx basebands? I am using 351 BB. 360 and 369 did not work for me, phone became very warm, high battery drain and random sluggishness especially right after I made a call or even receive one.
[Streak 5 Android Development] _n0p_:
You have answered your own question :)

But I think it won't work that easy. For some reason io on parameter hangs and you have to switch governor back and forth.

I'd suggest:

Check your SIM.

Set provider to manual.

Set network mode to gsm (if gsm).

I'm 99% sure BB is not the case.
[Streak 5 Android Development] Dude_Virus:
Ok i started having wifi issues with the 5 second timeout. The wifi is connected but the icons are white. All google services stop working. The gtalk doesnt wotk and even emails do not come. The browser works but it takes time for the icons to be green again
[Streak 5 Android Development] _n0p_:
Kartikaye, I think we need some fine tuning.

I wonder if values over 1h are really needed.
[Streak 5 Android Development] Dude_Virus:
Yeah even i think 1 hr is not needed.... it was working fine with 1 min
[Streak 5 Android Development] rydroid:
I have just today started getting dsconfig force closes I assume a reflash will over come this? 5 min time was fine since yesterday then had one wifi freeze today.
[Streak 5 Android Development] Dude_Virus:
I think that white icons was just a random issue because after i switched off / on the wifi everything has been working good. Entire night there was no issue with the wifi.

---------- Post added at 06:58 AM ---------- Previous post was at 06:54 AM ----------

Yeah reflash solved my problems too regarding dsconfig force close. Btw there is no 5 min time, it would be 5 seconds... yeah even i had one wifi issue however it was just with google services as i was able to browse and open xda and skype etc. Just with gtalk and gmail emails that went for a toss.
[Streak 5 Android Development] _n0p_:
DSConfig can FC:

If orientation changed when operation in progress.

If build.prop is missing entries.

No root rights given. Note that I increase version in every public release, so your SU app should rerequest rights for it.

--

Sergei
[Streak 5 Android Development] lordofazeroth:
crashes, when no external SD card present/mounted
[Streak 5 Android Development] _n0p_:
You right, it backs up build.prop to SD, almost forgot about that.

--

Anyone willing to rewrite DSConfig? It requires rewrite almost from scratch, as it getting too big and unstructured.
[Streak 5 Android Development] Dude_Virus:
The force close problem for me happens only when if while in dsconfig the screen turns off and then when i switch on it tells me to force close it as it has crashed. But the superuser doesnt re request for root but instead it automatically tells tht it has been granted root rights
[Streak 5 Android Development] lordofazeroth:
Superuser saves App UID.

Mine is 10025 for dsc.settings.

Is this different to the version ID?
[Streak 5 Android Development] _n0p_:
Another kernel test:

After testing SmartassV2 (and being not satisfied with stability) and lordofazeroth question about energy efficiency i've added some additional code to conservative governor:

+ new parameter - ramp_freq. Default: 576000. Conservative will jump to this frequency if load requires more power and current frequency is lower than ramp_freq.

Best so far config parameters for conservative with this patch:

up_threshold: 80

down_threshold: 60

freq_step: 10

--

Kernel:

http://n0p.8bit.fm/streak/boot.img
[Streak 5 Android Development] lordofazeroth:
me gusta :good:

Here is the energy efficiency from the german board:

Left:

abscissa: MHz

ordinate: energy consumtion in mW

Right:

Abscissa: MHz

ordinate: specific Energy Consumption mW/MHz

Thanks go to "payce"

http://www.android-hilfe.de/dell-streak-5-forum/91013-info-akkuverbraucher-des-dell-streak.html

Am I right, the new settings cannot be set in CPU Master Pro?

I am asking because Root Explorer killed my init Streak file once.

After "saving" the file, it was empty. 0 kb.

And all settings were gone, then I installed CPU Master Pro again.
[Streak 5 Android Development] Dude_Virus:
Ok will download and test. Will need to report one problem as this has occurred on the 1.7 diff3 and diff 4 both. After unlocking the phone and then trying to open any app it takes ages to open that app and then throws a message about that app not responding and to force close it or wait. Either way doesnt help and soon the phone totally freezes with the capacitive buttons not working and neither do the power or volume buttons. The display then goes black and if i do not remove the battery i can faintly see on the screen the boot animation but it never gets the backlight on. So in the end I have to remove the battety and boot it again. Both the times this has happenned on the charger, once on diff3 and once on diff4 and it has happenned after the phone being in a long deep sleep. For eg now when it happenned i had not used the phone since 4 hours

How to flash this kernel....this aint in the usual .zip format.

Update on wifi issues :

Wifi timeout set as 5 seconds and wifi pm as off/off. No wifi issues at all. If i choose wifi pm as fast/ max and timeout as 5 sec then the issues come back. For now i am keeping i on off/off. Will soon try fast/fast and check and will update.
[Streak 5 Android Development] lordofazeroth:
Installation of boot.img:

http://xdaforums.com/showpost.php?p=33048134&postcount=5263

I think the smartass gov is now unnecessary as the conservative has the same functionality now :fingers-crossed:

(And apparently works better)
[Streak 5 Android Development] _n0p_:
You can't. Cpu master can set only parametersit knows about.

RootExplorer never did anything bad, but you can pull postboot, edit it on PC and push it back.

Looks like free memory issue for me. LMK module should've solve it, but for some reason it didn't.

--

I've posted a method to flash image with nandwrite earlier.
[Streak 5 Android Development] Dude_Virus:
Yeah i got the link , lordofazeroth pasted the link so i have flashed it... will just check the post boot for the cpu max frequency.

The dalvik heap size which is configurable from dsconfig. Whats the best value for it...?? I have searched online and i havent found a proper explanation regarding it. People have just compared their values but no explanation as to what good or bad will higher value do. Currently i have set it as 128, is tht fine or too much for the streak

---------- Post added at 02:16 PM ---------- Previous post was at 02:13 PM ----------

Sergei when i flash this kernel do the above mentioned values get saved somewhere..because still in the post boot script i am seeing up threshold as 70 and down as 30 instead of the 80 and 60 . Also the freq step shows as 10.
[Streak 5 Android Development] lordofazeroth:
nah. I'd like to edit it on the phone :(

n0p: Did you edit/tune LMK values?
[Streak 5 Android Development] _n0p_:
I think 128M too much. I keep it at 32M. Besides it could be the memory problem itself.

Edit postboot or temporary set with Cpu Master to set values.

LMK and process manager target values edited for a slightly more free ram (actually since 0.5b, if i recall correctly).
[Streak 5 Android Development] Agent5150:
Yep, ring melodies work. they play fine when I select them.

Reverting to gingerstreak 2.4.4 with that one my only problem is one SOD soon after unpluging the charger and poor battery life.
[Streak 5 Android Development] ltrifonov:
@_n0p_ :

this is my first module compilation:

https://docs.google.com/viewer?a=v&...YzA2Zi00MmRkLTg4YmUtNjNiYTUxOTM2ZDhh&hl=en_US

it loads fine on my streak with 0.6b rom.

size is a bit different from original.

i built it from 4.05 kernel sources on dell's site

tomorow will try some tweaks if any problems with stability
[Streak 5 Android Development] _n0p_:
Thank you!

lordmorphous, would you test this module?

--

ltrifonov, i've added you to team list, if you don't mind.

Welcome!
[Streak 5 Android Development] borijess:
I don't know what happened, but wifi reassociate worked like a dream when I first installed. Now it works once in a while.

Sent from my SuperStreak! ;-)
[Streak 5 Android Development] _n0p_:
Are you still using ClockSync together with rtc_wakeup option in WiFi reassociate?

--

Have you tried new dhd drivers from ltrifonov?
[Streak 5 Android Development] borijess:
Not using clocksync. Where are the drivers?

Sent from my SuperStreak! ;-)
[Streak 5 Android Development] lordmorphous:
I've tried the module, just briefly as I don't have much time. The phone still does not respond to ping or receive notifications if the wifi is on, set to never sleep, and the screen is dark.

Thanks to ltrifonov for building the modules. I'm sure we'll figure out something together. ltrifinov, let me fill you in on the exact problem I'm having and maybe you can tell me if I'm barking up the wrong tree. When connected to wifi at home and having my wifi set to never sleep I will usually get my wifi to 'freeze'. By this I mean, it looks as if I'm connected but there is no data throughput. I have to turn wifi off/on to get it back. The quick answer is to set wifi to turn off when screen turns off and just use 3G, but I didn't have good 3G signal here until today (AT&T 3GMicrocell up and running....yay). I've been playing with it alot the last two days and have noticed that the phone will usually not respond to pings when the screen is off, however the moment the power button is touched, I get ping responses. Occasionally I will get a response, but only occasionally. Do you know if the phone should always respond to wifi pings when asleep? My testing method may be flawed. Thanks
[Streak 5 Android Development] ltrifonov:
it is interesting... i have tablet and streak. now for test started on both devices ping to each other, both with wifi policy 'never'. then when turn off streak's screen, ping responces from it are delayed to 800-900ms and 10 minutes still have responces. when stopped streak's ping( ping initiated from streak) then streak did not respond anymore with screen off. this looks to me like normal power saving behaviour... also guess (but don't have charging cable now) that when on power, it will not stop responding. but more testing tomorow. and sorry for bad english ;)
[Streak 5 Android Development] eiben_robert:
Status report after 3 days of usage 0.6b: clean install, titanium backup used to restore some 80 apps and games, no other mods applied. I do not use clocksync but set it in time options to use the network time

Stability: excellent for me, no SOD/ until now

Battery life: approx 20 hours with 1 hour talk, 2-3 hours music, 1 hour browsing, 1 hour gaming/other, 3g on and email sync every 15 minutes (min 100 mails per day as it is the work email)

Performance: very good (Gameloft Brothers in arms fluid), Flash video plays in browser up to 720p (youtube)

Wifi: worked ok from the first with my home router, no issues until now.

Honestly it is working so good that I am afraid that something bad is going to happen :)
[Streak 5 Android Development] ltrifonov:
Hi again,

I can confirm, with my module dhd.ko when power is connected, and turn off screen, wifi policy "never sleep" - ping is alive and responds.

earlier today i tried to patch as described here:

http://xdaforums.com/showthread.php?t=752856

changes:

in kernel

drivers/net/wireless/bcm4325/dhd_cdc.c

in function: dhd_set_suspend

int power_mode = PM_FAST; (original is PM_MAX)

and

drivers/net/wireless/bcm4325/wl_iw.c

but result is bad... ping responce stoped after turn off,

also when turn on - wifi shows connected but not responce...

so i reverted to first build - it is super stable for me!

EDIT:

i am using folowing CPU settings:

max clock 1,075 GHz

min clock 384 MHz

covernor: performance

with these settings i did not charge my phone 2 nights :) now battery is still 28 %
[Streak 5 Android Development] lordmorphous:
Did you make any changes relating to PM_FAST such as discussed here?

http://xdaforums.com/showthread.php?t=752856

I'm curious if that would help and I believe it to be the same that watch_mania did for the Froyo kernel. You will have to excuse my ignorance with a lot of this stuff. I'm pretty good at figuring it out, but it sometimes takes me a while.

Never mind....you made your post as I was writing and researching this one....lol
[Streak 5 Android Development] _n0p_:
ltrifonov, just a shy question - should we wait a bit for cifs/tun/slow_work modules before 0.61b release? :)
[Streak 5 Android Development] lordmorphous:
I'm confused...are you saying your dhd.ko file fixes the problem or only fixes it while plugged in? When you said you went back to first build, are you talking about the rom or the dhd.ko file?
[Streak 5 Android Development] ltrifonov:
sorry ... this is my bad english again...

Few posts above i linked my build of dhd.ko, with it i am stable when powered.

when not powered it is enough to use some king of wifi keepalive (pinger) and wifi is also stable.

@_n0p_:

now preparing slow-works.ko and cifs.ko

just need some time to transfer my work from tablet's kernel... one hour maybe
[Streak 5 Android Development] _n0p_:
No need to hurry, thank you!

Your english is actually good (as for me, lordmorphous could give his opionion as native speaker :) )