yashsingh1/xdaforums huggingface dataset:
[Streak 5 Android Development] _n0p_:
It's a wide known problem - do the screen calibration.
[Streak 5 Android Development] besony:
Looking at better battery life

All the battery stats wiped, and battery calibration done with the calibration app.

The battery still gets used up like peanuts!

Screens:

and no apps hogging the battery as such:

I had force closed the Maps before starting this exercise.

I have even switched off animations/vibration n all.

Is there any battery test - to check if the battery is the problem?

This battery has served me for approx 10 months only.

in the past month (DSC 1.2 , 1.3 ) - I have seen average 10 hours of battery life ( per charge - with moderate usage of calls and full use of 2G data network ). - which would be ok too.

But- I have seen people pulling it through whole day of use!

Thanks,

Sony.
[Streak 5 Android Development] _n0p_:
Force close won't help, but freezing will.

Also, show Cpu Spy stats and look at information from Better Battery Stats
[Streak 5 Android Development] abauer:
10 hours as you say is very very low, with light usage , i have seen more than 2 days with a single recharge on my streak, check your background apps , or do a perfect battery recalibration, meaning a full recgarge to 100 %, wipe of batterystats.bin file, then another 100 % without interruption. The battery usage of this ROM is really unseen to me compared with other ROMs i tried and also my previous smartphones, you should search yourself the apps eating your battery. Maybe the network coverage is not good at your place, can be another reason too.
[Streak 5 Android Development] Lucifer4obg:
I found the coulprit. It was the imo beta. No comms - about normal 10 hours of 3G usage.
[Streak 5 Android Development] p_razzi:
Seeing massive battery drain today - not sure what's different, but battery usage stats show that the accelerated drain began when a constant 'awake' state was started. At work, so can't pull logs or get a screen grab. Will reboot and see if 'awake' state closes out.
[Streak 5 Android Development] besony:
Exact SAME thing observed ( overnight also )

I think my Dialer could be the cuprit! ( exDialer ) - since dialer consumption is shown as 40%

And - awake pattern is like continuous!

\0ne weird thing - the Google contacts "sync" keeps coming up way too much! ( just observed it ) - and stays on for quite a while.

Battery went to nil- in like 3h 40mins.

I have kicked out the Dialer, and I am charging it to 100% now.

Let's see for another cycle, and then I will share the log.

Ciao,

Sony.

P.S. the network is fine at my home+work place - so that can be ruled out.

EDIT: Adding another screen of battery use.

( one improvement I am seeing - is the "Deep sleep" is very well weighted thing now, even though the Battery drop is bit steeper than before / expected. )

( Battery is at 1 % since last 4 hours now! )
[Streak 5 Android Development] _n0p_:
Good!

--

besony, just to make sure - clean battery stats on full charge.

Or you may try to turn on Mugen support and tune it to get exact stats independent results.
[Streak 5 Android Development] deysmacro:
does it works for stock battery too? :confused:
[Streak 5 Android Development] _n0p_:
Yes, because basically it simply calculates percents from battery voltage. But you'll need to increase interpolation to 128 at least to smooth out spikes and tune values manually. I.e. increase min and decrease max.

http://xdaforums.com/showpost.php?p=26074840&postcount=3956
[Streak 5 Android Development] abauer:
@n0p , when are we going to see the new kernel buid with the new acceleration from ICS ?

would love to see if is really any kind of improvement over the existing method.

Thank you for all you are doing for this community.
[Streak 5 Android Development] mdotph:
can someone help me how to get skype audio work on this rom?thanks
[Streak 5 Android Development] _n0p_:
In about a week. Will have no access to PC during vacation.

But testing myself - no visual/benchmark improvement.

I guess that's our GPU limit.

It simply works.
[Streak 5 Android Development] abauer:
Skype works just fine in this Rom, audio and with both cams too, do a Echo/sound test service first.

@nop, Try benchmark with nenamark 2 , maybe there some other results , dunno.
[Streak 5 Android Development] Twist79:
Great Rom

I just updated from a 0.7x Build to 1.4 on my girlfriends Streak.

Works like a charm on the first look...I hope the not reacting touchscreen bug is finally gone.

keep up the good work!

Are there any new bugs I should look out for?
[Streak 5 Android Development] _n0p_:
Except incompatibility with old themes there should be none.

Wifi fixer script may behave not exactly right (methods work on low system level), but you can disable it in DSConfig.
[Streak 5 Android Development] rydroid:
nop any idea why I can't disable camera shutter sound? Use phone camera for work quite often and the shutter sound is very disturbing. I have turned it off in camera app but still sounds when I take the shot.
[Streak 5 Android Development] bluhound:
Delete camera_shutter.ogg from /system/media/audio/ui/

EDIT: It's camera_click.ogg, not camera_shutter.ogg
[Streak 5 Android Development] hunderteins:
it's camera_click.ogg, no reboot required. Thanks anyway.
[Streak 5 Android Development] bluhound:
Oh yeah. My mistake.
[Streak 5 Android Development] deysmacro:
another way is to set the media volume to all the way to the left or make the phone into silence / vibrate mode... :)
[Streak 5 Android Development] rydroid:
tried this doesn't work cheers for the suggestion though.

---------- Post added at 08:48 AM ---------- Previous post was at 08:47 AM ----------

Cheers all sorted now
[Streak 5 Android Development] rydroid:
Battery issue

I am having an issue with battery I have reset battery stats and used battery calibration and the battery gets to 30% then drops off a cliff to 1% will try and grab screen shot. All the app usage oasis even nothing draining more than any other. Anyone got any ideas. Got 6 hours out of battery.
[Streak 5 Android Development] peterson65:
i thought it was just me. same issue it jumps then all of a sudden i am at 1 percent, if i reboot it jumps back up to around 48 percent?
[Streak 5 Android Development] abauer:
That is typical behavior of a noncalibrated battery.

You need to do the recalibration properly, ie

Charge the battery to 100 %, then reboot , the keep on charging , monitoring the voltage all the time , then when you are sure your battery cant take anymore (should be around 4207 mA) , only then you can remove the batterystats.bin file and reboot. Then you should use the mobile normally untill it goes shuts itself down, remmeber that you should not be using media or heavy battery usage apps when you see the number at around 1 % left, just let it die in peace, during the night for example, then charge the streak not using USB port of PC or something like that but directly from a socket charger untill it reaches 100 % again without interrupting the charging process, try to monitor the temperature of the battery this time.

This is how it should be done.
[Streak 5 Android Development] besony:
Well- I can confirm this after 4 days of use now. The method suggested above is exactly what I followed to callibrate the battery- and it works!

For me - I had to do this cycle 3 times!

First 2 times the graph of battery drain was pretty steep!

Slowly it flattens :D

And- my current battery drain is like 5-7% every hour! Which is pretty GOOD! ( I mean - acceptable )

With EDGE- Data constantly ON, Whatsapp/gmail running-pretty much, Calls like at least 1 hour ( spread throughout the day ).

2 additional things I would like to suggest:

1. Better Battery stats & cpu spy ( same things were suggested by n0p, and few other friends to me before ) or equivalent apps - to understand if the device is getting enough "sleep" :D , and what clocks device is operating at - wrt % of total up time.

2. Freeze apps like Maps, exDialer & Dolphin browser (particularly- fast browse plugin) - as these were major hogs in my case

My first bet is - your device DOES NOT sleep!

i.e. screen goes off - and still device is running full power.

I have switched from GOlauncher to Holo Launcher as well. ( I think - it puts lott less load on the system as well! )

Cheers to n0p and abauer for the help here !

Sony.

P.S. I will add screens of my battery usage after I return home from work.
[Streak 5 Android Development] vankooten:
maps 2 times

Why is maps running two times? and they are both different in size.

I saw this in the longhorn version to.

Is it ok to freeze google maps?

Does anyone knows if the app "GSam" can cause spontanious reboots?

Joop.
[Streak 5 Android Development] _n0p_:
Not very relevant, but just to keep it here:

List apps:

su

pm list packages

Freeze app:

issue in terminal emulator:

su

pm disable com.google.android.apps.maps

Enable:

su

pm enable com.google.android.apps.maps
[Streak 5 Android Development] besony:
What exactly should we do in the SU menu?

I am sorry - I don't quite follow this, Please explain a bit more.

Thanks,

Sony.
[Streak 5 Android Development] _n0p_:
Concept is simple - doing freeze for free.

This feature is included in 4.0 but can be done with pm command in GB.

just issue pm in su (root context) env and see what you can do.
[Streak 5 Android Development] parukool:
Notification LED's Not working

Team DSC amazing work with the ROM. Can any one recommend a patch for the LED notification it does seem to work. I am on latest DSC V1.4.
[Streak 5 Android Development] _n0p_:
Simply enable it in DSConfig. Menu button will be lit on most notifications, get it like

Red - back, Green - menu, Blue - Home.
[Streak 5 Android Development] deysmacro:
is it that simply analogy or the led on streak is actually multi color? :confused:
[Streak 5 Android Development] parukool:
Thanks _n0p_, I have already tried that but it does not seem to work. I even tried switching it to OFF restarting the phone and then switching it to ON again and restarting the phone. But no go...Any advise...
[Streak 5 Android Development] _n0p_:
Just analogy, but you can mod it with colored film :)

What is size of /system/lib/hw/lights.qsd8k.so ?
[Streak 5 Android Development] deysmacro:
i am afraid you would say that.. well.. just bear with it then :D
[Streak 5 Android Development] besony:
About lockscreen

Hey-

I just checked :

If I disable lockscreen - it does get disabled ( disabling from Notification toggle )

then,

If I try to enable it again - It does not get enabled! :confused:

I have to restart to get it enabled again.

I am getting issues with this Holo Launcher also now!

It crashes and lags on launching - after call / or randomly.

Sheesh!

It's like I start settling in a Launcher - and the launcher starts to get unstable!

Is it the same with everyone?

Please check,

Sony.

P.S. - Battery now drains with consistent behaviour - as in 5-7% per hour ( given my normal usage )

But - once in a while - I see - some lag when ending a call ( as in the screen doesn't come up)
[Streak 5 Android Development] ivantastic:
@sergei

is there any chance to run DSC 1.4 ROM using min3 kernel with 366 BB included (without blinking led)?

if no chance, so can you please make this kernel feels like min3? ;)

because in my exp. while using both of those kernel, i got min3 is the most "less battery consumption" (i have ran with the same sysctl and cpu clock)

thanks for awesome DSC ROM and for your magical touch :)
[Streak 5 Android Development] abauer:
best launcher for me was and still is, LauncherPro, for the ginger bread
[Streak 5 Android Development] spdivr:
Yikes!

Help! I tried to do the update, following the directions, but everything is haywire.

My Streak 5 was originally rooted but I accidentally installed an OTA update which putme back under the Dell ROM. I re-rooted the phone and installed the CWM recovery, did a full backup. Then I went through the directions for installing DSC (dalvik and cache wipe, flash2 and then DSC v1) and did a factory reset after the install. It rebooted into DSC, but when it gets to the home screen, it goes crazy with force close of pretty much everything. I can drop a shortcut on the screen to programs, but there is no file manager and I can't setup a user or do anything else.

So I tried rebooting into recovery, just to find that it is a different recovery and doesn't recognize my backup file. So I went back into fastboot and reflashed CWM recovery, thinking to restore my backup that way. No luck, it said there was an MD5 mismatch.

So now I went back to recovery and reflashed the DSC v1 zip. Now it won't even finish booting. The DSC boot animation freezes after a minute or so.

Any help is GREATLY appreciated!

[NEW INFO]

Ok, I kept rebooting and it finally booted to the OS and let me set up an account. There was no initial setup dialogue, is that normal with this ROM?

I'm rather concerned that I have a bad install. How should I proceed? Move on with the 1.4 update? Is there anything I should check, do, etc?

Thanks!
[Streak 5 Android Development] sandulea:
Yes, it's normal, because initial setup is disabled in build.prop. The instructions said to flash the update after flashing 1.0 (no reboot between them), so if you have the will to go again through flashing stock 406/407, then a custom recovery then dsc 1.0 plus 1.4, you'll have a greater chance of it installing properly. I've had the cascade of FC's issue, I've had it boot but with no icons in the launcher (the dock would just be empty) as well as other problems. I kept going back to stock, then installing DSC until it worked.

it's quite temperamental. My current problem is that the camera FC's every other time I open it. I open it after boot, it works, I close it and open it again, it FC's, I reopen it works and so on. I'm really tired of flashing over and over but I may do it again it it solves the camera problem. Other than that it's a really nice rom, easily the best avaiable now for our device in my opinion.
[Streak 5 Android Development] rydroid:
I have the exact same camera issue and I have now got wifi sleep issue after 10 days if it working perfectly and now it doesn't
[Streak 5 Android Development] abauer:
after a proper clean install, nothing should FC , Rom works just fine. do the necessary cleaning and maintenance please.
[Streak 5 Android Development] deysmacro:
sometimes the cause of FCs are because the external sd card itself.... you know... lots of junk files left by android...
[Streak 5 Android Development] spdivr:
Is there a way to clean up the SD card? Hopefully without reformatting?

And I did the 1.4 update and it seems to be working correctly. A little spotty on the wifi, but I'm going to look at the posts on that and see if I can clean it up.

Thanks!
[Streak 5 Android Development] deysmacro:
you can try android maid or something similar... :good:
[Streak 5 Android Development] sandulea:
I just re-read the first post and it says to wipe camera settings after first boot. I missed that one, the installation instructions are scattered over a few pages. Maybe it solves the camera FC issue.
[Streak 5 Android Development] deysmacro:
it is scattered because its happen on the way...
[Streak 5 Android Development] sandulea:
Just reinstalled again, and the camera issue is caused by orientation. It always works when the phone is in landscape mode, but when launched in portrait mode it FC's every other time. It doesn't matter if autorotation is on or if the default orientation is set to landscape in DSC settings.
[Streak 5 Android Development] ivantastic:
@member

i dont think you need to un-reinstall the apk if clearing data can fix that bug. ;)
[Streak 5 Android Development] spdivr:
Fuzzy fonts?

Hello, I'm enjoying the smooth operation of this ROM so far. One question I have is about the fonts. When I went to a web page, much of the text looked fuzzy, but not all of it. It seemed to depend on the font. It sort of looked like there was a resolution problem. Any ideas on how to fix it?

Thanks!
[Streak 5 Android Development] sandulea:
I reinstalled the ROM to make sure I cleared the camera data immediately after install, as suggested, and to eliminate the possibility of other problems, but it doesn't work. Only the landscape trick keeps the camera from crashing for me right now, like I said above.
[Streak 5 Android Development] p_razzi:
Stock Camera FCs on me whatever orientation. Tried Camera Zoom FX which gives me back a stills camera, but the video is limited to QCIF quality - all other modes are disabled.
[Streak 5 Android Development] abauer:
Has anyone ever compiled the kernel on Cygwin ?

Getting errors all over the place.

http://xdaforums.com/showthread.php?t=1686310
[Streak 5 Android Development] abauer:
Attached is a kernel compiled using gcc 4.6 instead of the default 4.4.3 try to see if any difference. 1st is from the master branch.2nd from the experimental. As i was unable to make it compile using Cygwin thou.
[Streak 5 Android Development] _n0p_:
I think I removed experimental branch (as it no longer experimental), Phoenix is to be merged to master and ICS/Adreno patch by kibuuka will be available soon as additional branch on our (DSC Team) GitHub account.
[Streak 5 Android Development] abauer:
A somehow more optimised kernel version , build with 4.6
[Streak 5 Android Development] spdivr:
I'm not sure, it seems you are talking in code, but it looks like you guys are doing more work on the ROM, so thanks!

What does this mean for those of us benefiting from your hard work? Are we supposed to install these?

Thanks!
[Streak 5 Android Development] abauer:
These are not official DSC kernels !!!! (just my personal attempt, toward a JB test)

Yes , sure can be installed without problem, just need some feedback if you see any kind of improvement or regress compared to stock DSC kernel. Do not forget to nandroid backup before flashing, so you can revert back to safety anytime you see something not ok.

Btw, I used the ndk_r8b config file same as n0p-config but complied with -j3 and -O3 instead of the default -O2, thats all.
[Streak 5 Android Development] phillsimpson:
When I first installed even following the clear cache/nand instructions I got FC's continuously. But deysmacro was right, after copying the important files from my SD to my PC and 'Erasing USB Storage' from the Streak itself, then reinstalling 1.0 and the 1.4 update, works like a charm!
[Streak 5 Android Development] Dude_Virus:
Ok finally back on DSC however the same issue exists. When power button is pressed the menu to turn off comes up but when either reboot or power off is selected the screen just goes dim and the dialog box to press ok or cancel doesnt apprear. Have to press the back button and follow the process again. This happens 3 out of 5 times. ( This is happenning on a freshly installed rom and there are no apps or settings done ) Same didnt use to happen on longhorn so i think its something related to the software.

How do the below build.prop entries help.

ro.telephony.call_ring.delay=0

video.accelerate.hw=1

windowsmgr.max_events_per_sec=240

debug.performance.tuning=1

com.qc.hardware=true

ro.lge.proximity.delay=25

mot.proximity.delay=25

also dalvik.vm.heapsize=32m ( is higher the better )
[Streak 5 Android Development] _n0p_:
@abauer:

DSC Phoenix with kgsl path:

http://n0p.8bit.fm/streak/DSC_PhoenixU12.zip

--

And i've updated DSC Team GitHub.
[Streak 5 Android Development] khoacoi:
Awesome, new kernel help my streak run really smoth. Great job, n0p!

Thank you,
[Streak 5 Android Development] _n0p_:
Attached NenaMark2 results on this kernel.

--

For some odd reason, NenaMark2 fails to complete without plugged charger, so results are with charger connected.
[Streak 5 Android Development] abauer:
@nop, I did spend the whole 2 days compiling kernels and doing benchs on them, and my suggestions would be , the gcc4.6 in comparison to 4.4.3 and 4.6.3 produces somehow faster code marginally in the order of 2-5 % with consistent results. Using SLUB instead of default SLAB gave a smoother experience and feeling worse benchs thou, BFS kernel was by a wide margin the one using less power but lag sometimes was not non-existent(I will patch to the newest release of bfs and report back the results). Also the -O3 -Otime flags give really faster code than default -O2, proven fact. Rest of the observations i will report later.

Thank you for all you are doing for the streak community.
[Streak 5 Android Development] _n0p_:
Thank you for your suggestions!

--

BFS, while good on battery, causes screen corruption (something wrong with dma memory transfers)
[Streak 5 Android Development] abauer:
Regarding BFS, yea , but the 5 % battery improvement has to be let ignored :( since bfs isnt fit for android, this is my opinion.

Regarding kgsl and nenamarks , slight improvement with the new nena2 slight regress on nena1.

Do you have any idea why we have that libra module compiled ?
[Streak 5 Android Development] _n0p_:
I don't remember well actually, but i think WiFi doesn't work without it.

It would be good to measure battery life on kernel with kgsl patch, and if no difference, merge it to master as it works just fine.

--

While merging code today, i found out that i'd forgot to make key dejitter patch filter value configurable.

Done, testing now.
[Streak 5 Android Development] rydroid:
wifi tether

I realise I am probably being a plank and missed it somewhere. But I cannot get tethering to work. It won't broadcast. "wireless tether" app doesn't work android tethering doesn't work. And barnacle tether says no root even though I know i do.

Any ideas?
[Streak 5 Android Development] _n0p_:
Sure.

Check how it works on clean ROM.

--

GCC 4.6 (ndk8b)

-O3 + allow neon fpu to to the fp math.

Compressed kernel size increased vs -Os by 10%.

Synth: (1344/performance/55fps cap)

Quadrant - 1961 (third run)

Antutu - 2750 (second run)

Just a bit nostalgic - GCC 3.3.3 produced much faster (but sometimes unstable) code vs 4.0.

1762 in Quadrant (128/998 conservative).
[Streak 5 Android Development] Dude_Virus:
Update on connection issues. Switching from wifi to mobile data till now is working fine although it takes a long time to switch to it. As soon as the wifi is tuned off the mobile data doesnt kick in but it comes up in sometime and the internet works. Issue is there when switching it back to wifi. I left home in the morning and when the wifi was out of range it switched to mobile data however on reaching back home even though the device was switched on the wifi did connect but gave me white icons and no internet. I tried airplane mode but strangely airplane mode just switched off the phone signals and did nothing to the wifi and I was unable to switch off the wifi. Now matter from where i tried the wifi was not switching off. I had to go ahead and reboot the device and on reboot the wifi connected with green icons and internet was working. I have the normal wifi driver enabled in the DSConfig and even the connection fixer is on.
[Streak 5 Android Development] _n0p_:
Dude_Virus, can't tell without logs.

--

http://n0p.8bit.fm/streak/DSC_PhoenixU13.zip

Compiled with GCC 4.6 (ndk-8b).

O2 + hand-selected opts.

Keep in mind that ARM is low on cache, so not all O3 options are best for it.

Now >2000 in Quadrant and 2921 in Antutu (1344/Performance/55fps).

Breakdown for Antutu:

350/810/338, 274/636, 440, 37/36

--

Enjoy,

Sergei
[Streak 5 Android Development] Dude_Virus:
Ok once i reach home i will again check for the issur.and report the logs. Is this kernel something that i can try..?? Does it have the wifi max power the one u said pm-max which will make the wifi work at full tx power even when the device is in deep sleep
[Streak 5 Android Development] Lexmazter:
OTA Ideea :)

Hi, just wanted to post here that i found this interesting thing around the forum, and i think it will be a good thing to be implemented in the future releases of this ROM, i'm thinking to implement this in the next release of my ROM but the development is stopped due to my hardware damage of my streak, hope this helps :)

Ota Update Center.