yashsingh1/xdaforums huggingface dataset:
[Streak 5 Android Development] Dude_Virus:
That would be really helpful as with hpa driver battery drain is a lot. In 16 hrs battery went from 100 to 48 so 52% drain on wifi.

So do i need to flash 1.7 or can I do the same on the current 1.6 . Also with keeping the wifi driver as normal do I need to keep connection fixer on or off..?
[Streak 5 Android Development] _n0p_:
Kartikaye, yes.

Flash 1.7 diff2 - I really need to know if i'm going in right direction.

It has 10 sec watchdog delay, so it should reduce freezes.

I'm actually prepared 1.7 diff3, but i need to test those new options more.

Use normal driver and normal fixer mode, so I could read disconnections from log if needed.

But check your log for mmc1 messages, so we won't have intermixed signals.
[Streak 5 Android Development] _n0p_:
As i've just reminded from Dell Streak Club member lato, today is official DSC ROM birthday!

Hooray!
[Streak 5 Android Development] Dude_Virus:
Ok i will download it now but can test wifi only after 9 hrs when i reach home. I took a current log when wifi had frozen on charger but was not able to see the mmc1 msges in them.

Btw is there a fix for those mmc1 messages...??
[Streak 5 Android Development] jtannehill07:
logcat from dscv1.7 diff2

I don't Know if I did this right or if it will even help you but I am willing to try to help you troubleshoot this wifi issue because it is very annoying. Here is the log cat I got when my wifi froze or what ever it did. The wifi icon at top was green and still looked like it was connected but it did not load pages in browser and the network tester app I have said unknown host and didnt pass the test. Let me know if I can do anything to help you. I appreciate the work you have done nop. thanks
[Streak 5 Android Development] Dude_Virus:
When this happens that inspite of it showing as green connected you are not able to browse, just go to your wifi settings and there you would find your access point showing as either disconnected or showing as connected with poor signal strength.
[Streak 5 Android Development] jtannehill07:
wifi acted up again

this time when it stoped working I went to wifi settings and it still showed connected and signal strength good.and it definatlly was messed up cause andsmb would not even connect to the shared folders on my server.
[Streak 5 Android Development] Dude_Virus:
That is one of the symptoms with regards to the wifi freeze. What you can do is the same steps that n0p has asked me to do. Download and flash 1.7 and then keep wifi driver as normal and connection fixer as normal in dsconfig and then check with regards to the freeze. if the freeze happens then get the log from the terminal. I have flashed 1.7 but as I am not at home I am unable to test the wifi currently.
[Streak 5 Android Development] jtannehill07:
that was with 1.7 diff2 and driver normal and wifi fixer normal

Last time I left it alone and the wifi fixer must have worked its magic becuase the connection came back up on its own.
[Streak 5 Android Development] Dude_Virus:
I have always kept the connection fixer as off as I had issues with connection fixer enabled. I had issues with regards to switching from wifi to mobile data as wifi wud never want to turn off and it would show as connected to my access point even when i was miles away from it. This caused a huge battery drain for me. I will try the connection fixer as need to provide logs to Sergei to verify the recent changes made in the rom.
[Streak 5 Android Development] mdotph:
Dpi

Hi whats the best dpi settings for dsc? I find the default 160 and when i change it to 220 i always get problem with some apps. Thanks
[Streak 5 Android Development] Dude_Virus:
Yeah too high or low dpi settings will cause issues with apps, personally i do not like HDPI as the workspace is too less. I keep it on 120 and i have not had any issues with any apps and neither with google market. Even 110 works good but it makes the dolphin browser crash hence i keep it at 120. You can use dsconfig to try the DPI values one by one and check as to which one suits your apps. only downside you would need to reboot after each change.
[Streak 5 Android Development] mdotph:
thanks! :)
[Streak 5 Android Development] vankooten:
wifi

installed 1.7pre yesterday. Driver "normal", wifi fixer "normal" and no wifi reassociate.

Everything seems to be OK.

Let you know after a few more days.
[Streak 5 Android Development] Bugscze:
Happy birthday DSC! Thank you _n0p_, hundertains and many others for participating on this GREAT ROM! You rock! :good:
[Streak 5 Android Development] dinhhungbl:
Hpbd :D
[Streak 5 Android Development] uluvali:
The new governors are not showing up under CPU Master after i flash the boot.img

sh-4.1$ export PATH=/data/local/bin:$PATH

sh-4.1$ su

sh-4.1# flash_erase /dev/mtd/mtd0 0 0

Erasing 128 Kibyte @ 480000 -- 90 % complete flash_erase: Skipping bad block at 004a0000

Erasing 128 Kibyte @ 4e0000 -- 100 % complete

sh-4.1# nandwrite /dev/mtd/mtd0 /sdcard/boot.img

Writing data to block 0 at offset 0x0

Writing data to block 1 at offset 0x20000

Writing data to block 2 at offset 0x40000

Writing data to block 3 at offset 0x60000

Writing data to block 4 at offset 0x80000

Writing data to block 5 at offset 0xa0000

Writing data to block 6 at offset 0xc0000

Writing data to block 7 at offset 0xe0000

Writing data to block 8 at offset 0x100000

Writing data to block 9 at offset 0x120000

Writing data to block 10 at offset 0x140000

Writing data to block 11 at offset 0x160000

Writing data to block 12 at offset 0x180000

Writing data to block 13 at offset 0x1a0000

Writing data to block 14 at offset 0x1c0000

Writing data to block 15 at offset 0x1e0000

Writing data to block 16 at offset 0x200000

Writing data to block 17 at offset 0x220000

Writing data to block 18 at offset 0x240000

Writing data to block 19 at offset 0x260000

Writing data to block 20 at offset 0x280000

Writing data to block 21 at offset 0x2a0000

Writing data to block 22 at offset 0x2c0000

Writing data to block 23 at offset 0x2e0000

sh-4.1# reboot
[Streak 5 Android Development] _n0p_:
You did right, but Connection fixer tells that your driver was fine. Next time try to issue

ping 8.8.8.8

in terminal emu.

They are not there :) So far i've only tuned conservative to respond faster on load.
[Streak 5 Android Development] lordofazeroth:
Can you help me interpreting this log?

D/Vold ( 1257): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
I/PackageManager( 1311): Updating external media status from unmounted to unmounted
D/Vold ( 1257): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)
I/StorageNotification( 1372): Media {/mnt/sdcard} state changed from {removed} -> {unmounted}
D/VoldCmdListener( 1257): volume shared /mnt/sdcard ums
D/VoldCmdListener( 1257): volume mount /mnt/sdcard
I/Vold ( 1257): /dev/block/vold/179:33 being considered for volume sdcard
D/Vold ( 1257): Volume sdcard state changing 1 (Idle-Unmounted) -> 3 (Checking)
W/logwrapper( 2021): Unable to background process (No such file or directory)
I/StorageNotification( 1372): Media {/mnt/sdcard} state changed from {unmounted} -> {checking}
W/PrintK ( 67): [BAT]## bat_capacity: 84 (84), vol: 3904, ma: -209, fcc: 1358, temp: 261
D/StatusBarPolicy( 1372): updateBattery level=84 plugged=false mBatteryPlugged=false health=2 mBatteryHealth=2 mBatteryLevel=85 mBatteryFirst=false
I/Vold ( 1257): Filesystem check completed OK
I/PackageManager( 1311): Updating external media status from unmounted to mounted
I/Vold ( 1257): Device /dev/block/vold/179:33, target /mnt/sdcard mounted @ /mnt/secure/staging
D/Vold ( 1257): Volume sdcard state changing 3 (Checking) -> 4 (Mounted)
I/BootReceiver( 1957): Got intent with action android.intent.action.MEDIA_MOUNTED
I/ActivityManager( 1311): Start proc android.process.media for broadcast com.android.providers.media/.MediaScannerReceiver: pid=2023 uid=10001 gids={1015, 2001, 3003}
I/StorageNotification( 1372): Media {/mnt/sdcard} state changed from {checking} -> {mounted}
D/VoldCmdListener( 1257): asec list
D/VoldCmdListener( 1257): asec path com.team4win.tugroom-1
D/VoldCmdListener( 1257): asec path imoblife.brainwavetuner.market-1
D/VoldCmdListener( 1257): asec path cn.blackbirds.sleepingpro-1
[Streak 5 Android Development] _n0p_:
DSC v1.7 diff 3

OK, a very experimental update.

Look at DSConfig WiFi Timeout and WiFi PM parameters.

WiFi timeout - how fast your driver will go to sleep on inactivity (1 sec is default in driver).

Note - if you set this value and then lowering it - reset the WiFi (off/on) so the setting will take effect faster as it's polled on watchdog timer.

WiFi PM - control WiFi power management. Note that values are set in DSConfig and Connection fixer script, so either set it manually in DSConfig on WiFi connection change or leave Connection fixer in Normal mode.

--

Also: disabled internal WiFi driver keepalive. It's not there in old (3xx) driver.

Note to self - try to inject old GPIO module into kernel so we could test old driver.

--

Again - it's experimental. Play with values, look at effect.

--

Without PDroid:

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

--

With PDroid:

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

--

Have fun,

Sergei
[Streak 5 Android Development] _n0p_:
D/Vold ( 1257): Volume sdcard state changing 3 (Checking) -> 4 (Mounted)
I/BootReceiver( 1957): Got intent with action android.intent.action.MEDIA_MOUNTED
I/ActivityManager( 1311): Start proc android.process.media for broadcast com.android.providers.media/.MediaScannerReceiver: pid=2023 uid=10001 gids={1015, 2001, 3003}
I/StorageNotification( 1372): Media {/mnt/sdcard} state changed from {checking} -> {mounted}

SDCard mounted.
[Streak 5 Android Development] Dude_Virus:
Okies downloading and will test. Btw what settings should i keep at the start for wifi pm..?? Also shud i turn off connection fixer or keep it in normal mode
[Streak 5 Android Development] _n0p_:
Keep it at Normal, this will ensure settings reapplied on reconnection.

Choose PM for yourself, i keep it stock (Fast/Max). Setting to (Off/Off) gives fast ping response, but anyway activity is cut on screen (but if activity initiated from inside the device - ping 8.8.8.8 for example, it'll keep running).

To ensure settings - turn screen off and on.
[Streak 5 Android Development] Dude_Virus:
Ok installed the update and have set the timeout as 1 day and the pm as off/off . Lets see what happens now. Along with that I have undervolting and cpu kick enabled so i hope those wont cause any issues with this.
[Streak 5 Android Development] lordofazeroth:
Dammit...

I wanted to take the log, but couldnt save it due to no sd card.

I did my trick (in and out - the sd card) and I could save the log.

Does anybody know what this ... little metal thing ... is on the inside of the back cover, beneath the round metal thing for holding the back cover?
[Streak 5 Android Development] _n0p_:
lordofazeroth, take full log as soon as device is booted - you'll easily catch it after reinserting SD card.
[Streak 5 Android Development] lordofazeroth:
The text that you have entered is too long (351311 characters). Please shorten it to 30000 characters long.

Full log:

https://rapidshare.com/files/2499970456/logcat.txt
[Streak 5 Android Development] _n0p_:
I don't see anything unusual.

Are you using 16GB SD and what type?
[Streak 5 Android Development] lordofazeroth:
16 GB Kingston class 4
[Streak 5 Android Development] _n0p_:
Odd, should work fine.

In the last log you've sent - have you remounted SD?

Working boot seq:

I/Vold ( 1049): Vold 2.1 (the revenge) firing up
D/Vold ( 1049): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 1049): Volume udisk state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 1049): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
D/Vold ( 1049): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)
W/Vold ( 1049): Ignoring unknown switch 'usb_mass_storage'
W/Vold ( 1049): Ignoring unknown switch 'MSM72K_UDC'
D/Vold ( 1049): USB connected
D/Vold ( 1049): Share method ums now available
D/VoldCmdListener( 1049): volume list
D/VoldCmdListener( 1049): share status ums
D/VoldCmdListener( 1049): share status ums
D/VoldCmdListener( 1049): volume mount /mnt/sdcard
I/Vold ( 1049): /dev/block/vold/179:33 being considered for volume sdcard
D/Vold ( 1049): Volume sdcard state changing 1 (Idle-Unmounted) -> 3 (Checking)
I/Vold ( 1049): Filesystem check completed OK
I/Vold ( 1049): Device /dev/block/vold/179:33, target /mnt/sdcard mounted @ /mnt/secure/staging
D/Vold ( 1049): Volume sdcard state changing 3 (Checking) -> 4 (Mounted)
D/VoldCmdListener( 1049): asec list

Yours:

I/Vold ( 1257): Vold 2.1 (the revenge) firing up
D/Vold ( 1257): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 1257): Volume udisk state changing -1 (Initializing) -> 0 (No-Media)
D/VoldCmdListener( 1257): volume list
D/VoldCmdListener( 1257): share status ums
D/VoldCmdListener( 1257): share status ums
D/Vold ( 1257): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
D/Vold ( 1257): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)
D/VoldCmdListener( 1257): volume shared /mnt/sdcard ums
D/VoldCmdListener( 1257): volume mount /mnt/sdcard
I/Vold ( 1257): /dev/block/vold/179:33 being considered for volume sdcard
D/Vold ( 1257): Volume sdcard state changing 1 (Idle-Unmounted) -> 3 (Checking)
I/Vold ( 1257): Filesystem check completed OK
I/Vold ( 1257): Device /dev/block/vold/179:33, target /mnt/sdcard mounted @ /mnt/secure/staging
D/Vold ( 1257): Volume sdcard state changing 3 (Checking) -> 4 (Mounted)
D/VoldCmdListener( 1257): asec list

BTW, what's in yours /mnt/usbdisk ?
[Streak 5 Android Development] lordofazeroth:
remount SD?

I opened the S5, pulled the SD out and inserted it again.

mnt/usbdisk is completely empty. checked with root explirer
[Streak 5 Android Development] uluvali:
Ok, I'm sorry. I misread the post. I will try conservative and post my results. Thx
[Streak 5 Android Development] _n0p_:
No probs. I was actually asking if community wants additional scalers. I seriously doubt that it will give better battery life than tuned conservative, but anyway.
[Streak 5 Android Development] Dude_Virus:
not sure but seems there is an issue happenning with regards to gtalk when the network is switched from wifi to mobile data. It was working properly on wifi and then when i turned wifi off the internet was available everywhere else besides gtalk. Gtalk constantly stated that there is no network connection whereas that was not the case. I checked on google apps dashboard and there was no issue with the service. So i decided to reboot and after reboot its working properly. Any ideas as to what this could be..?
[Streak 5 Android Development] lordofazeroth:
SD card was not mounted again.

I restarted the device - not mounted.

I shutdown the S5 and startet id - sd card was mounted.
[Streak 5 Android Development] Crinos512:
getting tired of IceCream...

Is there any sort of unusual steps that need to be taken to downgrade from one of the ICS based roms to DSC v1.6?

I understand that I will need to likely do a factory reset, any thing else?

I'm kinda sad to make the move because I really like some of the ICS feel and features, but I'm missing the little things like a functional Camera and the battery life has gotten ridiculously poor. Ah well, I should have known than going ICS, better being Lactose Intolerant and all. ;)
[Streak 5 Android Development] Dude_Virus:
Sergei

I have kept the wifi delay as 10 min and the wifi pm setting as off/off. Device is goin to deep sleep however the wifi.is still working fine without any issues... well so far...lol. i am monitoring it and will update with the status soon.
[Streak 5 Android Development] _n0p_:
GTack uses framework for it's connections. I think there's something with not reinited (or stuck on old) connection, but have no idea.

Can't help. There might be something with SD or SDMMC controller (but no controller errors are logged).

None. Sorry for stopping work on camera, but i really have no backup device.

Good, let's check it more. I've set it to 5 secs, and even when i have wifi disconnected in the deep sleep, it doesn't stuck in frozen state and reconnects fine. Sleep state is almost unaffected for me.
[Streak 5 Android Development] _n0p_:
DSC v1.7 diff 4

Hope i don't keep you too busy :)

--

Without PDroid:

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

--

With PDroid:

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

--

I've added SmartassV2 to kernel. More responsive than conservative. Ideal freq is set to 768MHz, Ideal on screen off - 245MHz.

CPU Idle PM support enabled (testing).

For reference: Phoenix voltage table, so you can select Ideal frequency:

Frequency, voltage, voltage when undervolted:

128000, 1000mV, 950mV

245760, 1000mV, 975mV

384000, 1000mV, 1000mV

576000, 1050mV, 1000mV

768000, 1150mV, 1125mV

998400, 1300mV, 1200mV

1075200, 1300mV, 1225mV

1152000, 1400mV, 1250mV

1190400, 1425mV, 1325mV

1228800, 1475mV, 1375mV

1267200, 1525mV, 1475mV

1344000, 1550mV, 1525mV

Note, that undervolted vaules are tuned for my personal device so might be unstable for you. I'll provide a method for end user to configure them when i'll eventually find it, more: values for over 998400 are taken from tests on my device.

Search forums for SmartassV2 configuration, i don't really want to provide it here.

Good luck.
[Streak 5 Android Development] lordofazeroth:
Just provide one of the best threads here on XDA:

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

Second post: Governor Tuning

(Smartass v2 and conservative tuning included)
[Streak 5 Android Development] _n0p_:
Good one.

So far my tests show that SmartassV2 cannot be directly configured altering values in

/sys/devices/system/cpu/cpufreq/smartass

(io operation stops, maybe because i've backported version for a newer kernel version - 2.6.38)

But change followed by switching to different governor and back to SmartassV2 works and governor keeps it's settings.

And i want to remove ondemand in future versions as it is jittering on high frequency range.
[Streak 5 Android Development] vankooten:
Where can i set these valuess??

---------- Post added at 02:35 PM ---------- Previous post was at 02:29 PM ----------

I have still some isues with the wifi and running 1.7pre (the first one)

Sometimes the wifi won't come up, even tho the icon is there. The solution is simple, switch wifi off and then on again.

This morning i saw that the wifi icon came up but it didn't overtake the 3g icon, as shown in the screenshot.

I guess i have to do some tuning, but where do i change the settings ??
[Streak 5 Android Development] vankooten:
top is showing the wifi and the 3g icon.
[Streak 5 Android Development] lordofazeroth:
You could ... borrow ... the governor from another 2.6.35 kernel:

cpufreq: add smartassV2 governor (erasmux: https://github.com/erasmux/hero-kernel-2.6.35/commit/2ade635b0607acc1ab0ec7f4d274855a9487af57).

https://github.com/nubecoder/nubernel-2.6.35/blob/master/changelog
[Streak 5 Android Development] _n0p_:
This means 3g route wasn't removed.

Seems like i did it fine :)

n0p@u23:/usr/src/dell/Phoenix$ diff ./drivers/cpufreq/cpufreq_smartass2.c ./drivers/cpufreq/cpufreq_smartass2x.c

46,47c46

< //#define DEFAULT_AWAKE_IDEAL_FREQ 768000

< #define DEFAULT_AWAKE_IDEAL_FREQ 576000

---

> #define DEFAULT_AWAKE_IDEAL_FREQ 518400

56c55

< #define DEFAULT_SLEEP_IDEAL_FREQ 245760

---

> #define DEFAULT_SLEEP_IDEAL_FREQ 352000

64c63

< #define DEFAULT_RAMP_UP_STEP 256000

---

> #define DEFAULT_RAMP_UP_STEP 128000

840,843c839,840

< //up_wq = alloc_workqueue("ksmartass_up", WQ_HIGHPRI, 1);

< //down_wq = alloc_workqueue("ksmartass_down", 0, 1);

< up_wq = create_rt_workqueue("ksmartass_up");

< down_wq = create_workqueue("ksmartass_down");

---

> up_wq = create_rt_workqueue("ksmartass_up");

> down_wq = create_workqueue("ksmartass_down");

871a869

>
[Streak 5 Android Development] vankooten:
n0p, where can i set this delay in the wifi, because i can't see them in dscconfig.
[Streak 5 Android Development] _n0p_:
Have you flashed 1.7 diff 4?
[Streak 5 Android Development] vankooten:
n0,p :) i'm running on 1.7 diff2
[Streak 5 Android Development] _n0p_:
WiFi timeout introduced in diff 4 :)
[Streak 5 Android Development] vankooten:
OK,I'm on diff4 now and see the settings.

is it necessary to do all the wipes after a flash?
[Streak 5 Android Development] Dude_Virus:
Yes please go ahead and flash the dalvik cache. I although wipe the cache partition as well as the dalvik cache and even the battery stats.

Do let me know what are your findings on the wifi . Till today mine was on 10 min delay with wifi pm as off/off and there was no issue at all with wifi. Once i reach home I will reduce the timeout keeping the wifi pm as off/off and check. Will update with status.

---------- Post added at 01:30 AM ---------- Previous post was at 01:23 AM ----------

Regarding Gtalk i dont know what it was as it happenned only once that even after switching it never detected a network connection. Today it was all fine.

Yeah I will test more and every day i will reduce the timeout but keep the wifi pm as off /off and check whether its the timeout which is causing the wifi issue or it is the wifi pm settings which is the culprit. i cant have my wifi disconnected when the device sleep as at home the network coverage is not that good so the EDGE works pathetically hence i solely rely on wifi. Plus due to this being my work phone I actually have clients contact me on skype via pm or via calls so I cant afford to be offline. Thats the only reason I am bugging you on this. I am sorry if I am keeping you busy with this.

I actually am pretty happy with the diff 3 update. No issues for the entire 13 and a half hours i was on wifi and that too on conservative governor , undervolting and cpu kick enabled.

I think i found out the reason why that cpu kick caused an issue the other day with the device freezing. It works good with conservative governor where it can actually boost the cpu on waking up the device but on my phone normally i keep it on performance and at full 1344 mhz so i guess it got confused that wht to kick the cpu as it is already kicked all the way. lol
[Streak 5 Android Development] debsahu:
I have a silly question. Is there any way to delete all my Google data without a factory reset in DSC? I want to keep all my apps, but want the data out.
[Streak 5 Android Development] lordofazeroth:
For removing primary google account:

http://androidforums.com/ally-all-t...ount-android-without-doing-factory-reset.html

€dit:

Is there still a way to get the Engineering Menu?

I tried the tutorials but entering the combination did nothing.
[Streak 5 Android Development] _n0p_:
I removed engineering apps from ROM.
[Streak 5 Android Development] lordofazeroth:
Can you tell me what is inside "Audio" in the Eng Menu?
[Streak 5 Android Development] _n0p_:
Haven't got it.

--

Guys, I really need more feedback on how does WiFi driver behave in 1.7 diff 4.

If no feedback is given, i'll consider it stable.

--

Kernel with SmartassV2 set to:

245Mhz screen off ideal,

576Mhz screen on ideal.

So far hanged two times, now testing it with disabled UV and CPU kick.

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