yashsingh1/xdaforums huggingface dataset:
[Streak 5 Android Development] Dude_Virus:
Sergei I can try this but I am sure it wont work for me as when my device goes low on memory it becomes so unresponsive that the only solution is to reseat the battery else it would automatically reboot. I was only once able to open system panel to check the memory left and it showed me 10 mb and soon it refreshed and it was down to 8 mb but i was not able to do nething. So response to touch or buttons so how can i use terminal emulator to reload
[Streak 5 Android Development] _n0p_:
This info is fine too. I need it to write a crond job.
[Streak 5 Android Development] Dude_Virus:
Here is the output of uptime and free

sh-4.1$ su

SimpleSU v0.5 (n0p, DSC Team) built Nov 14 2012 16:32:05

sh-4.1# uptime

up time: 17:27:55, idle time: 08:14:02, sleep time: 05:05:22

sh-4.1# free

total used free shared buffers

Mem: 395788 390148 5640 0 1348

-/+ buffers: 388800 6988

Swap: 0 0 0

sh-4.1#

System panel shows 46 mb free
[Streak 5 Android Development] blodnje:
It works in a combination with Orientation Control, Option "Forced Rotate"

Phone boots in landscape but after unlock it rotates to Portrait automatic an stays that way.

I am using Streak in leader case with cover and it would be nice to have option to disable default screen lock in a config? Not to disable it manually every time after boot. I checked some solutions but none work as expected.

B.

...

DSC 1.7
[Streak 5 Android Development] _n0p_:
Dude_Virus, this is for you:

http://n0p.8bit.fm/streak/DSC_ko-dv.zip

(LMK checked twice per hour, if free mem (kernel) drops below 4000, module should be reloaded).

Give this a test.

--

blodnje, that was requested before, but i consider it as low priority.
[Streak 5 Android Development] Dude_Virus:
Sergei i dont think this is working as sometime back i found a lag while unlocking the phone so i went to system panel and checked free memory and it showed 33 mb free and i saw a lot of inactive cached applications.
[Streak 5 Android Development] _n0p_:
Please provide your log, as on job execution free kernel mem is reported there.
[Streak 5 Android Development] _n0p_:
Continue on LMK:

Got module hang today.

On unload attemt system hangs.

So correct way seems to be reloading it.

Here's an LMK test again (module reloads twice per hour):

http://n0p.8bit.fm/streak/DSC_ko-2.zip

--

Edit of NMEA GPS driver - seems it's not needed at all.
[Streak 5 Android Development] Dude_Virus:
Is this the same file that you gave me to test in the previous post...??
[Streak 5 Android Development] _n0p_:
No, this patch simply reloads lmk twice per hour without any checks.

Tok early to tell if it helps - my uptime now is just a day, need to give it more time.
[Streak 5 Android Development] thouae:
Hi nop.im using dsc2.1 on my phone.every things is ok.just one issue i face that my voice call is not good.its too loud.i set it to minimum but its still loud,noise.any idea?

thank you

sent from my ugly device
[Streak 5 Android Development] _n0p_:
Which BB are you using now?
[Streak 5 Android Development] thouae:
Im using bb407 since i upraded my phone to Gb untill now

sent from my ugly device
[Streak 5 Android Development] Dude_Virus:
I have had no issues with the 407 BB however u can try 366 BB ...the sound is reduced in that. You can also try DSC gain to tune up the earpiece levels
[Streak 5 Android Development] thouae:
I tried dsc gain but nothing is different n i removed.ill tru to flash 366 bb.thanks

sent from my ugly device
[Streak 5 Android Development] vampirexhunter:
Hi n0p,

Just installed your FW on my Streak, and noticed that EAP networks don't work.

Can't connect.

Is it suppose to work?

Works with CM7 FW, but not with DSC..

Thanks!
[Streak 5 Android Development] Dude_Virus:
Sergei

I definetly think that the module aint working as with just 26 hours of uptime i faced another issue where memory went extremly low.. i could it when i tried unlocking the screen and it took ages for the lock screen to appear...then with a lot of patience and time i was able to open system panel to check that free memory was 15mb.and all inactive cached apps still there. While that was loading memory dropped to 12 mb being free. I tried somehow goin to terminal emulator but beforw i could type the command to generate the logfile the screen went full black and the next thing i see is directly the dsc boot logo not even the dell logo. After the phone rebooted i noticed another strange thing that the post boot script changes tht i had done regarding the proc max frequency had reverted to default 998 instead of the 1344 that i had set.
[Streak 5 Android Development] _n0p_:
vampirexhunter, which sort of EAP?

--

Kartikaye, check output of:

logcat -v time | grep kill
[Streak 5 Android Development] CrazyKoala:
I am experiencing a huge amount of force close on any application that connects to the net.

Any idea on what could be the cause ? Thx

EDIT : Is it normal for DSC rom to take more than 6 mins to boot ?
[Streak 5 Android Development] _n0p_:
Boot time depends on number of installed apps.

Regarding FC - your log can tell more.
[Streak 5 Android Development] Dude_Virus:
Sergei

Here is the output , although when i check the system panel there are multiple inactive cache apps using memory which havent been killed.

sh-4.1$ su

SimpleSU v0.5 (n0p, DSC Team) built Nov 14 2012 16:32:05

sh-4.1# logcat -v time | grep kill

12-18 18:23:09.161 W/PrintK ( 24): select 3033 (d.process.media), adj 12, size 4621, to kill

12-18 18:23:09.161 W/PrintK ( 24): send sigkill to 3033 (d.process.media), adj 12, size 4621

12-18 18:25:25.564 W/PrintK ( 24): select 28832 (ndroid.settings), adj 12, size 8766, to kill

12-18 18:25:25.564 W/PrintK ( 24): send sigkill to 28832 (ndroid.settings), adj 12, size 8766

12-18 18:27:37.112 W/PrintK (28816): select 28816 (app.systempanel), adj 12, size 5260, to kill

12-18 18:27:37.112 W/PrintK (28816): send sigkill to 28816 (app.systempanel), adj 12, size 5260

12-18 18:44:24.588 W/PrintK ( 24): select 26757 (com.whatsapp), adj 12, size 6937, to kill

12-18 18:44:24.588 W/PrintK ( 24): select 29235 (m.android.music), adj 13, size 4149, to kill

12-18 18:44:24.588 W/PrintK ( 24): send sigkill to 29235 (m.android.music), adj 13, size 4149

12-18 18:44:24.618 W/PrintK ( 2895): select 26757 (com.whatsapp), adj 12, size 6937, to kill

12-18 18:44:24.618 W/PrintK ( 2895): send sigkill to 26757 (com.whatsapp), adj 12, size 6937

12-18 18:47:46.154 W/PrintK ( 2633): select 28439 (android.browser), adj 12, size 30779, to kill

12-18 18:47:46.154 W/PrintK ( 2633): send sigkill to 28439 (android.browser), adj 12, size 30779
[Streak 5 Android Development] _n0p_:
From SystemPanel help:

Inactive (Cached) applications have been preloaded into memory, but are not actually using up any

system resources. Such applications will not consume any battery power whatsoever. The memory used by these

applications can be immediately reclaimed should other applications require it. As such, there is no need to

manually remove these applications, as you will see no tangible benefit from doing so. As you terminate applications,

the Android OS will attempt to cache other (or perhaps the same) applications into memory again.

--

BTW, have you flashed DSC_ko-2 ?

Module should've been reloaded at 18:25
[Streak 5 Android Development] Dude_Virus:
Please check the screenshot from system panel, the time i took the grep kill output the free memory was 80 and now ita reached 24 mb. Yes i flashed the file.
[Streak 5 Android Development] _n0p_:
If you did not reboot - issue

su

/etc/dsc.reload_lmk.sh

and tell the result.
[Streak 5 Android Development] Dude_Virus:
This is what i get in terminal emulator / checked system panel and free memory shows 42 mb

sh-4.1$ su

SimpleSU v0.5 (n0p, DSC Team) built Nov 14 2012 16:32:05

sh-4.1# /etc/dsc.reload_lmk.sh

sh-4.1#

Edit : i didnt reboot but i had to press end all in system panel as the phone started to become sluggish as free mem went down to 20 so before it could become all unresponsive and end up crashrebooting i pressed end all.
[Streak 5 Android Development] _n0p_:
This (reload) actually should (and it does on my device) happen automatically twice per hour (:25 and :55), thus avoiding module hang.
[Streak 5 Android Development] Dude_Virus:
Should i reflash the ko-2 again.... its 19:47 so i might be able to check at 19:55 else at 20:25. What command to run to find out whether module reloaded. The same grep kill ..??
[Streak 5 Android Development] _n0p_:
Yes, it should report something like:

lowmemorykiller: module is from staging ....

Exact reload time may vary, because it's executed only when device is not sleeping (but runs even with missed schedule after device is awake).

Post boot should contain the following:

#Run crond

crond -c /system/etc/cron/

And /system/etc/cron/root should contain the line:

25,55 * * * * /system/etc/dsc.reload_lmk.sh
[Streak 5 Android Development] Dude_Virus:
Ok going to reflash and will monitor and update you with the findings...
[Streak 5 Android Development] _n0p_:
Thank you.

Other thing that comes to mind - second copy of LMK module. Would be interesting to test.
[Streak 5 Android Development] Dude_Virus:
I just reflashed the ko 2 ... the device took time to boot after the cache clearing so cudnt check at 19:55 ... sure give the other module to me...i will flash and test
[Streak 5 Android Development] _n0p_:
Two LMK's :)

Two lmk modules are active.

Purely experimental.
[Streak 5 Android Development] vampirexhunter:
Security: 802.1x EAP

EAP Method: PEAP

Also I installed the CM7 WiFi Module, and got EAP to work, but WiFi sleep is broken.

Thanks!

*EDIT* Can use Battery Defender to force sleep WiFi, when screen is off.
[Streak 5 Android Development] _n0p_:
And Phase 2 is?
[Streak 5 Android Development] vampirexhunter:
Phase 2 Authentication:

None

CA certificate:

Unspecified
[Streak 5 Android Development] _n0p_:
Hmm, I have no idea how it should work with Phase 2 set to none.

However PEAP/MSCHAPV2 works fine within my org, having MS IAS / AD as RADIUS server.
[Streak 5 Android Development] vampirexhunter:
Hmm... im no networking expert, but using the CM7 WiFi module, i am able to connect, but WiFi sleep is broken.

Will logcat help in this situations?
[Streak 5 Android Development] _n0p_:
My recent changes to wifi driver shouldn't cause this, but without testing environment I doubt I can find the real problem.

Logcat would be nice anyway.
[Streak 5 Android Development] vampirexhunter:
K, i'm gonna re-install your WiFi module, and send you the logcat.

*EDIT* Re-Installed your WiFi module, and it works now... weird, now i can't replicate the problem i was having.

WiFi sleep not working for me, have to use Battery Defender.

I'll keep testing, and let you know if i come accross any other problems.

Thanks!
[Streak 5 Android Development] ayturkozmen:
Re-Install WiFi module

re-install how did you do?
[Streak 5 Android Development] vampirexhunter:
I edited the .zip file from xperf kernel.

Replaced the boot.img and dhd.ko from the DSC 2.0 file. (not sure if boot.img is required in the file, but included just in case)

Flash in recovery.

Clear Dalvik Cache
[Streak 5 Android Development] Loco007:
Random Reboots when wifi left on

I have been experiencing random reboots when i leave the WiFi on, is anyone else experiencing this?

I usually turn off data and WiFi to save battery and turn them on just when i need to use them, data is always fine but if i forget to turn WiFi off the phone is guaranteed to reboot in the next few hours.

I've got the WiFi timeout set to 1min, and the WiFi PM to off/off.

Any help would be much appreciated.

Big ups to _n0p_ for this awesome Rom, everything else works great!:good:
[Streak 5 Android Development] Dude_Virus:
1 min is too long as it will not let ur device sleep properly. I have set the timeout as 3 sec and pm as off / off... i dont have an issue with the reboot as at home for nearly 14 hrs the wifi is on and working and sometimes i forget to turn off wifi when i leave for work. But no reboots. Check if u have cpu kick enabled...try disabling that and check...what are ur governor settings for cpu cause i had the issue of reboot and freze when cpu kick was enabled along with performance governor...cause it was already at max so there was nothing more for it to kick hence it used to freeze..lol
[Streak 5 Android Development] Loco007:
Thanks Dude_Virus for the reply, I'll try setting mine to 3sec and test, I've got CPU kick on and using the conservative governor as its been tweaked a heap by _n0p_, ill let you know how it goes.
[Streak 5 Android Development] _n0p_:
I recommend keeping CPU kick to off as it's reported to work unstable on some devices.
[Streak 5 Android Development] Dude_Virus:
Sergei you remember i spoke about delay in loading the webpage...i noticed that the delay is only on wifi. If i am on mobile data then if i type the url it actually starts loading immediately.
[Streak 5 Android Development] vampirexhunter:
Should use Profile Scheduler, and set a timer for the WiFi to turn Off.

And you'll never have to remember to turn off the WiFi.

Or use Battery Defender, if you want the WiFi to sleep when screens goes black.

https://play.google.com/store/apps/details?id=com.wetpalm.ProfileScheduler&hl=en

Activate profile by just a click or by rules : Scheduler, Location(GPS or Network [Cell, Wifi, Cell-Id]), Calendar, Headset, Car Dock, Power, Battery Level, Wifi, Bluetooth, Orientation or Periodic Timer, or a countdown timer!
[Streak 5 Android Development] Loco007:
Thanks for all the advice guys but even with cpu kick disabled and wifi timeout changed to 3 sec still getting random reboots with wifi on, i'll just keep manually turning it off and on. :good:
[Streak 5 Android Development] _n0p_:
Loco007, does it happen with charger (or more important, PC) connected?
[Streak 5 Android Development] Loco007:
Hey _n0p_, it happens when it isn't plugged in to anything, i unplug in the morning after charging all night and plug it back in at night when off to sleep.

But if i manually toggle it on and off when needed the entire Rom is smooth as!:good:
[Streak 5 Android Development] _n0p_:
I'd like to ask you to do the following steps (one by one):

1. Check and disable any taskkillers/juice savers (you can freeze them with DSC SimpleSU ACL and thaw later). Check sleep.

2. Check and disable any WiFi fixer solutions (including DSC's internal one).

3. Raise minimum frequency to 254.
[Streak 5 Android Development] Loco007:
Thanks for that _n0p_

1- I don't have any taskkillers/juice savers.

2-I have already disabled WiFi fixer.

3-I've always run mine at a min freq of 254 and max of 1075 with conservative governor.

Also still have cpu kick disabled.

And had another reboot just before.
[Streak 5 Android Development] _n0p_:
OK, last question left:

How does it reboot?

To dell logo or bootamination?

I'm asking because if it reboots to bootanim, it's possible to find problem in the log.
[Streak 5 Android Development] Loco007:
It reboots to Dell logo and then on to bootanimation, would logs still help?
[Streak 5 Android Development] _n0p_:
No, it basically means it does full reboot, so log is cleared.

This should help to gather some info:

http://xdaforums.com/showpost.php?p=33509024&postcount=5418
[Streak 5 Android Development] Loco007:
Ok, thanks, i'll give it a go.
[Streak 5 Android Development] _n0p_:
Thank you uluvali!

Sensor panel replaced and my Streak is fully working now!

I was afraid it's not the panel, but it is!

Here's a photo from process:

https://lh6.googleusercontent.com/-DEz-oUl4UGs/UNRDx5X9E7I/AAAAAAAAC_0/iEHw9tKYHus/s902/2012-12-21
[Streak 5 Android Development] vankooten:
hurray, hurray, hurray.

go for it Sergei.
[Streak 5 Android Development] Ace38:
Pretty handy tools those guitar picks! LOL
[Streak 5 Android Development] _n0p_:
DSC 2.2 test

DSC 2.2 test

--

lowmemorykiller moved to standalone module and is reloaded twice per hour.

Patch from CyanogenMod (PackageManagerService) to speedup boot (As framework is changed, first boot will take long time). Tested, boots really fast but side effects, if any, unknown.

--

Without PDroid:

http://n0p.8bit.fm/streak/updDSCv2.2-pre.zip

--

With PDroid:

http://n0p.8bit.fm/streak/updDSCv2.2-pre-PDroid.zip

--

Have fun,

Sergei
[Streak 5 Android Development] pjg_pigeon:
I seem to have lost WiFi completely. Trying a reflash now

Still broken? Any suggestions. Just getting a constant error in wifi settings
[Streak 5 Android Development] Dude_Virus:
Segei ko-3 that you gave me works good....i havent seen memory go that low with it. However i did get random reboots.
[Streak 5 Android Development] thouae:
hi all.should i flash update.zip while my phone is charging.some times i did it...
[Streak 5 Android Development] cdzo72:
Only need to be charging if battery is kinda low because its gonna take a while to boot
[Streak 5 Android Development] cdzo72:
Ko

All I can say Sergei is WOW... it boots super fast, I mean quicker than if I had no apps installed at all and coming off a full wipe....

Edit: unable to use Hotspot tethering and also no wifi... get errors in the menu... can't send logs because away from computer...

I do have one question... whatcha think about that Perf kernel by Kolte?
[Streak 5 Android Development] _n0p_:
pig_pigeon,Cristian: did you replace the dhd.ko module? If so, put it back from 2.0.

--

Regarding Kolte's patches to Phoenix kernel - I need to do a side test, but I seriously doubt about practical effect. For example, out GPU is not overclockable. Other patches should not have any effect as well.
[Streak 5 Android Development] hunderteins:
indeed, nice fast re-booting. Well done. Waiting for the side effects.

seasons greetings,

hunderteins
[Streak 5 Android Development] pjg_pigeon:
Sorry i cannot remember if i changed that file. Could someone please attach it, i'm away from home and no wifi. But would like to get wifi workimg again on s5 for my 3g mifi over the holidays. Ta
[Streak 5 Android Development] _n0p_:
Here's current DSC Team Phoenix kernel (With WiFi and LMK modules).
[Streak 5 Android Development] pjg_pigeon:
Thanks. Thats fixed it. All working again now.

Many thanks

---------- Post added at 10:57 AM ---------- Previous post was at 10:50 AM ----------

Thanks. Thats fixed it. All working again now.

Many thanks
[Streak 5 Android Development] cdzo72:
OK so flash the 2.2 test zip and then flash this kernel is all I need to do, correct? I don't need to extract the dhd.ko from DSC 2.0?

YEAH that's what I figured... I checked the github and there's a bunch of scribble in there but nothing actually usable by the Streak
[Streak 5 Android Development] _n0p_:
Yes, attached kernel flashable contains all needed modules.
[Streak 5 Android Development] thouae:
nop.update is gd or not.I keep my phone up to date with ur rom's update.but some version are perfect,some are within somany issues(wifi,data)
[Streak 5 Android Development] sinan33:
I am using the DSC kernel that modified by Kolte;

I am using it with intellidemandv2 governor at 1500 MHz,

I haven't met any issue and the battery lasts much longer.

I don't know if any performance change occurs but the device responds very quick,there is no lag.
[Streak 5 Android Development] _n0p_:
Which update are you refering to?

To give a fair test:

Set 998400/performance - do three runs.

Switch kernel, do the same.

Compare results.

Compare results between 1300 and 1500 MHz. Is there any difference?
[Streak 5 Android Development] sinan33:
I have compared results between 1344 MHz and 1900 MHz with Quadrant; the difference is just 100 points more at 1900 MHz.(The governor was intellidemandv2)
[Streak 5 Android Development] cdzo72:
I did just about the same thing you recommend here Sergei and no, there is no increase and I'm sorry there is DEFINITELY NOT ANY decrease in battery usage.

This SAME discussion arose when the first CM ROM was made available to us and was supposedly overclockable to 1700 or so and finally it was stated by TheManii and I also spoke to DJSteve and it was made clear the Streak hardware will not overclock beyond 1344 and that anything above that is merely script manipulating the software...
[Streak 5 Android Development] _n0p_:
Have you run the test several time to get rid of possible result deviations?

This correlates with my personal experience.
[Streak 5 Android Development] sinan33:
I have tested it since 3 days, i can definitely say that the battery lasts much longer,

but I did not see a noticeable difference in performance.

The memory management is better than the original one.

When i was using the original kernel; i saw that the device has just 10 MB free ram and it becomes slower.

I met with this issue many times, but now i have check it several times in a day and it doesn't have free ram under 120 MB.
[Streak 5 Android Development] _n0p_:
Again, my experience shows that battery life depends on background task activity and device usage scenario. Kernel doesn't do much here.
[Streak 5 Android Development] sinan33:
The background task activity is completely same and device usage scenario is almost completely same.

And when i was using wifi tethering with the original kernel,the battery drains was very fast,but now it lasts longer too.
[Streak 5 Android Development] _n0p_:
Let's give it a simple test:

Switch back on full charge and test again.

Not that I don't believe you, but I saw so many reports on worse or better battery or performance reports when absolutely nothing was changed.

So I want a test and at least three different sources of info first.

We already got one zero effect feedback from Cristian.
[Streak 5 Android Development] sinan33:
Before this kernel, i have used all the versions of the Phoenix kernel the common issue was when i use the internet the battery suddenly drains and it gave battery drain notification after this kernel the issue has gone,also wifi tethering issue has gone.

Before this kernel the battery life was maximum 16 hours; now it is 24 hours.
[Streak 5 Android Development] _n0p_:
This kind of conversation won't get us far.

If you like it - use it, that's it.
[Streak 5 Android Development] _n0p_:
DSC v2.2

DSC 2.2

lowmemorykiller moved to standalone module and is reloaded twice per hour. Still think if i should include secondary LMK.

Patch from CyanogenMod (PackageManagerService) to speedup boot (As framework is changed, first boot will take long time). Tested, boots really fast but side effects, if any, unknown - so far seems there's none.

Difference from 2.2-pre - added WiFi module to update.

http://n0p.8bit.fm/streak/updDSCv2.2.zip

Mirror:

http://www.littlemaruko.com/Nopteam/updDSCv2.2.zip

For PDroid users:

http://n0p.8bit.fm/streak/updDSCv2.2-pre-PDroid.zip

Mirror:

http://www.littlemaruko.com/Nopteam/updDSCv2.2-PDroid.zip

--

Have fun,

Sergei
[Streak 5 Android Development] d3adbroke:
Is there another ics theme that works for this besides the touch of ics because I hate its battery icon