yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] pratyush997:
Folks, is magneto sensor working. Any way to calibrate the sensor. I can't get it working

---------- Post added at 05:17 PM ---------- Previous post was at 05:16 PM ----------

Btw I got 8.6k in an tutu on stock . Got 7k in current build.
[Miscellaneous Android Development] lllGurulll:
Don't know if this is a flaw with the HW or SW but it seems like the brightness even at the lowest setting is still awfully bright. Being able to lower it further would certainly help with battery life.
[Miscellaneous Android Development] alan-31:
Yea I see now some sites say there's a light sensor but I'm sure its the prox sensor (one sends out a signal and the other receives it). I tried light sensor apps and there's no detection.

Nope? My sensor with the CM 10 is stuck at "200µT". I'm ok with that but yea would be nice if that was fixed too. The first post mentions the sensor needs to be tested. The sensor is detected though: Yamaha Corp, maximum range 800 (etc). Its just that the reading stays at 200.

If anyone has stock ICS or gingerbread or anything other than CM10, can you install Android sensor box and click on the "Magnetic Sensor" icon (picture of a magnet). Do the field values change, from 200uT as you move the phone around?

Thats the same way for the stock ICS too. Yes actually it would be nice if this was built into CM, but the brightness control that it has is the same that the system has. This doesnt give a wide range. Try this app (screen filter). I have a widget for this app on the screen with values for 13%, 63%. The system brightness is set to the lowest level. The 13% comes very handy at night in bed when all the lights are off. You can also tell it to turn off the softkey backlights.

I wish there were more controls for softkey lights (brightness).
[Miscellaneous Android Development] lllGurulll:
Color me stupid but what the heck would the proximity sensor and magneto sensor be used for?
[Miscellaneous Android Development] alan-31:
Prox sensor is, when you're talking on the phone, the screen will turn off when it detects there's an ongoing call and you're holding the phone close to the face. This saves battery. When you pull the phone away, it turns it back on (so you can use the phone's keypad).

Magnet sensor is for the compass (helping in directions). Just an extra sensor in addition to the GPS.
[Miscellaneous Android Development] viscmad:
Proximity sensor is used for switching off the display during a call when the phone is placed on the ear. Now days also used in bigger phones (eg. Samsung galaxy Note) to lock the device when you close the phone cover.

Magneto sensor used with maps to show you North, south, east and west. ;) :silly:
[Miscellaneous Android Development] lllGurulll:
Ahhh. In that case, I have had issues with the proximity sensor in the past then. On a couple of calls it just stopped working in the middle of the call and I had to push the power button to get my phone screen to come back on.

Haven't messed with maps so I don't know if magneto works on mine or not. I never use maps anyway so it isn't really an issue for me.
[Miscellaneous Android Development] alan-31:
So what is the best way to help the developers debug? What are the best tools for debugging? I tried a Logcat app (aLogCat), but it only stores a certain amount of information.

Any recommendations on how to do good error-reporting? And what level of logcat should be given, verbose, errors, fatal, etc?

Maybe there's a guide for error reporting.
[Miscellaneous Android Development] NikhilD:
I use the screen adjuster app from the market.It has a nice brightness control.
[Miscellaneous Android Development] ninjah:
hello, first of all start issue here -> http://code.google.com/p/devsnest-developments/issues/list

and describe everything.

about logcat: start Terminal Emulator app and type - logcat > /sdcard0/logcat.txt, then reproduce problem and finally stop logging by pressing vol-dwn + c on keyboard while your terminal emulator is active, or just close it. Then attach file to your issue. If we will need more info, we will say about this.

Thank you!
[Miscellaneous Android Development] marcusmarcus:
You can also us the alogcat app from the play store to get a logcat
[Miscellaneous Android Development] alan-31:
Ok thanks guys, will do.

NikhilD, thanks. That was an app I had been looking for (brightness level decrease at boot so I dont have to set it every time I restart)
[Miscellaneous Android Development] pratyush997:
Isn't device taking really long to charge?
[Miscellaneous Android Development] lllGurulll:
Yep. Mine took 4 hours to fully charge from 40% Didn't have that problem prior to this build.
[Miscellaneous Android Development] omdhar:
Battery fully charging 3-4 hrs is normal.
[Miscellaneous Android Development] lllGurulll:
frmo 0% sure. Not from 40%
[Miscellaneous Android Development] alan-31:
I will do some testing for battery charging. In the old ROM, charging from computer used to be slow before but AC charger was noticeably faster.

If in the new ROM, the charging rates for computer and AC adapter are the same, it means the AC charging is slow.

One app you can use to track the charging rates is this - Battery drain analyser. Its calculater rates may not be accurate though, so just use your own calculations (watch how much time it takes to gain 10 or 20%, for example). This app will record every battery change and the time it happened, so you can do those calculations. Or you can just charge and use a watch.

EDIT

: It looks that the charging is OK. Its charging much quickly in AC. According to my calculations, for a full charge (0-100%), it takes 4 hours 40 mins from the computer port (2.8 minutes per percent), and 2 hours 22 minutes (exactly twice as fast; 1.4 minute per percent). Last part of charging (80-100, or 90-100) may still be slow in any case due to the nature of li-on batteries.

It doesn't mean there are no bugs (for example maybe it forgets to switch the mode under certain conditions) but for now it looks OK. Keep testing and look at the charging rates using a clock and calculate. I'm doing more testing. For example now I'm going to reboot and then do another test.

You should check charging rates from around 50-60%. When it gets to near the top (90% for example), the charging is always slow. This is due to the nature of Li-ion batteries.

Keep testing guys and finding any bugs or issues, nice work! This is so we can all investigate the issues together and verify them.

Related info:

[KERNEL PATCH] Force AC (fast) charge mode - patch complete (Droid 2 incredible)

Looking at this post, also seems to be an app for this? https://play.google.com/store/apps/details?id=com.incredicontrol.fastchargewidget - but it says "For the widget (or any fast charge toggle) to work, you MUST be running a kernel that has this patch implemented."

Another app: Fast Charge ("For custom kernels with fast charge ability")

Also see: Google search on XDA for "fast charging mode"

I'm new to Paranoid Android - where is the toggle for fast charge (Discussion on Reddit)

EDIT 2: My second test also confirmed the correct expected charge rate of 1.4 minutes per percent for an AC adapter of 1amp (Pantech's own adapter). But keep testing.
[Miscellaneous Android Development] alan-31:
Anyone notice that Wifi is slower to connect sometimes (ranges from a few seconds to even 25 seconds)? It used to be pretty quick on stock before. I really liked that. It would connect in a few seconds, every time. I see some information on this in this post. I saw this post as well but it didnt help.

This is not* super important right now though. *: edited: oops, I had meant to say 'not'

On a nice note, I thought the reason why Accuweather was hanging up at USB connection was due to the new OS but Accuweather has fixed that in today's update when I sent them the logcat.

I have to say again this ROM is so amazing - crisp, smooth and fast, with the clean new OS on it. Pantech really needs to take this up and pay the developers and distribute this rom. But they would want to put in the junk apps for extra money so they would never release a clean rom. Anyway, nice job.
[Miscellaneous Android Development] nightfire37:
Wifi for me works great. I have no issues with it.

Sent from my Pantech Burst running CM10
[Miscellaneous Android Development] BlasFamous:
I don't seem to have any issue with wi-fi either. Anyone got a work around the battery drain though?

For now, I'm on these settings:

Batter brightness - minimum

Screen timeout - 30 seconds

CPU frequency: 192 - 912

CPU Governor : ondemand
[Miscellaneous Android Development] ninjah:
1. Please install BetterBatteryStats. Give it root. And collect statistics. After that you need to see Partial Wakelock and Alarms, and you will see what app drain your battery

2. 1 core will work on 912 Mhz but second will always be at 1500 Mhz. (And second core work very often, when you turn on screen, when you unlock...etc)
[Miscellaneous Android Development] alan-31:
Sorry I meant to say the wifi slow-connect issue is 'not' important. Yea, I guess its fine. I'll keep checking.

Can you do some additional testing? See post #4 here: http://code.google.com/p/devsnest-d...ority Milestone Owner Reporter Summary Opened

4 hours - were you charging using the computer's usb port? That takes longer. Battery charging is still working fine for me (quick on AC adapter and slower on computer - normal behavior). It should charge on AC for 1.4 minutes per percent with an adapter of 1amp output. I have the Pantech adapter.

For comparison, at night I'm sleeping and the wifi is off (data is always off unless I need it), the drain is around 0.2-0.6%/hour (last night's readings) which is great. This is the drain rate you should get when you're not using the phone and the wifi+bluetooth+gps+data is off. Even if I dont use the phone and wifi is on, this only increases the drain rate slightly. If it was 0.5, you'll get 0.7/hour with wifi on - as long as its connected to your router and not constantly searching for a connection. You can test without the wifi.

If you're watching a youtube video with full brightness on wifi you should get drain of around 15-20% per hour. I use this app to check drain rates (you have to click on battery icon at the top).

Get the app, search a documentary video on Youtube and run it for around 15 minutes on full brightness on wifi and check the average drain rates.

I havent checked rates for any other activities (calling or sporadic/light use). But it should be low like 7%. When you're actively using the phone, browsing internet, checking reddit, etc, you should get the same rate, around 15-20% per hour.
[Miscellaneous Android Development] xxthe:
http://xdaforums.com/showthread.php?t=

Well we can have CM10.1 lol.
[Miscellaneous Android Development] Parcae:
Your link doesn't work.
[Miscellaneous Android Development] nightfire37:
My galaxy player recently got CM10.1 and i really do not like the lock screen widgets and the new notification bar layout. They are to cluttered for me. It would be sweet if we can get that. Then we can be updated to the android builds.

Sent from my Pantech Burst running CM10
[Miscellaneous Android Development] xxthe:
http://xdaforums.com/showthread.php?p=35449812

Sorry. specifications got cut off. didn't realize.
[Miscellaneous Android Development] viscmad:
Any one who applied the tweaks under setting -> performance ? :)

Sent from my PantechP9070
[Miscellaneous Android Development] rahulgaba16:
use this app https://play.google.com/store/apps/details?id=pt.bbarao.nightmode&hl=en
[Miscellaneous Android Development] omdhar:
My AccuWeather app fails to access GPS for current location including previous build in cm10. Has anyone faced similar issue.

Edit : Also don't anyone faced issue related to video playing using HW decoder with player like MX video player in cm10. Certain videos lags or are without displays for me.

Sent from my PantechP9070 using cm10 04/06
[Miscellaneous Android Development] xxthe:
Holo themed Apollo. ;D
[Miscellaneous Android Development] alan-31:
I havent checked AccuW/GPS but I have seen that AccuW sometimes gives an illegal operation (force close, has stopped working) when USB is connected to the computer. I had sent AW a report about this. I think its a problem on their side since only this app has this problem.

I bet the AW/GPS issue is also AW's fault. Do other apps work ok with GPS? That could be tested. I dont know of any such apps though.
[Miscellaneous Android Development] adizz4:
GPS doesn't with any app for me. Can't seem to get a lock.

Sent from Pantech Burst using Tapatalk 2
[Miscellaneous Android Development] alan-31:
How about this one? I had tested it with the plus version of the app and it worked, located satellites and gave a reading for the speed/coordinates.

Best app to test it with would be Google maps.
[Miscellaneous Android Development] affiatic:
Does 4g not available mean no hspa or just no lte.
[Miscellaneous Android Development] Parcae:
I can confirm that HSPA+ on T-Mobile works (via the 1900Mhz band).
[Miscellaneous Android Development] viscmad:
80% of my battery just disappeared night before, and I wokeup (after 6Hrs) with a switched off phone + dead battery. :confused: :crying:

I was having trouble of low battery backup, so was using Wake lock detector to find the culprit. Yesterday after running wakelock detector for 6 to 7 hrs, before sleeping I saw process "1013" under which "AudioOut_2" was running for an 1hr or so out off 7hrs of total usage in list of Partial Wake locks :(

Running Build: cm-10-20130406-UNOFFICIAL-presto
[Miscellaneous Android Development] ninjah:
use BetterBatteryStats instead
[Miscellaneous Android Development] omdhar:
I have used betterbatterystats, same AudioOut_2 consumes lots of battery.

Sent from my PantechP9070
[Miscellaneous Android Development] xxthe:
Your battery might be bloated.
[Miscellaneous Android Development] mrakattack:
Anyone have Netflix working?

Sent from my PantechP9070 on cm10 032513-riltest
[Miscellaneous Android Development] viscmad:
Using it...

I don't think, I have checked the batter for any such signs (no physical deformity) and battery its working today.

Its been 9hrs 50min since full charge and I am running with more than 50% battery left.

This happened today only. I suspect that the reason for high wake lock of 'audioOut_2' is dsp manager effects under Speakers tab. I did disable them yesterday before sleeping but I did not reboot, may be dsp setting remains till reboot. AudioOut_2 reading has come to 58sec (bbs reading) to prev 1hr.

One more thing under settings-> battery "android os" shows 20% to 50%

Sent from my PantechP9070
[Miscellaneous Android Development] xxthe:
Well... I never used the netflix app. xD I just stream from my PC.

---------- Post added at 08:21 PM ---------- Previous post was at 08:17 PM ----------

Hmmm... I don't have any issues with battery life. I drop to the same percent as you, but I listen to music constantly and use my phone 24/7.

Did you try under clocking/volting? And if you got AutoStarts that could help as well.
[Miscellaneous Android Development] viscmad:
Tried to underclock but that did not help much.

Attaching a pic of my usage (add 4hrs 15min to that shown in pic)

Sent from my PantechP9070
[Miscellaneous Android Development] xxthe:
Well try autostarts... It gives you access to certain processes that start and run in the background in your phone... Like for a true example. when power is connected Facebook starts up. xD It makes no sense what so sever but get this app and go through. DO NOT disable anything google. Just things that shouldn't run all the time or when an app is started.
[Miscellaneous Android Development] ccdreadcc:
Can any expert tell me whether the steps for compiling cm10 compiles the latest repo with all fixes included?

Sent from a potato oO
[Miscellaneous Android Development] ujjwalchhabra:
i'm not expert but yeah once you'll hit repo sync, it will grab all latest approved fixes . But as soon as those pulls will get accepted and you'll receive them by repo sync command .
[Miscellaneous Android Development] ccdreadcc:
after complete sync.. i did ". build/envsetup.sh && brunch presto" and it compiles for some time and i dont get the output.zip due to errors..

wbu? :confused:
[Miscellaneous Android Development] alan-31:
I was wondering, why is ROM building so hard? I have no clue about any of this so help me understand :D.

Shouldn't it ideally be like: Give CM10 the hardware addresses of the input and outputs (microphone, bluetooth, touchscreen, buttons, light and proximity sensors, audio speaker, SD card, camera, flash light etc), memory addresses of the RAM, addreses of the CPU registers, or something, and thats all CM needs to know and will make it work perfectly.

Instead it looks like every time a rom has to be made for a new device, its very difficult and every build has to sort through the same kind of bugs, and list of things that aren't working and so on.

For example I'm wondering why the stock browser crashes, or why the audio app crashes for me. The CPU is working, the directories and databases have been specified. Once the hardware/software is laid out (e.g. where the system files are), all apps would run correctly in an identical manner.

I had another question: For future CM releases, will I be able to add patches, or will I have to start all over and wipe with the phone like the first time I installed CM? If I have to wipe, I'm ok with that. I'll just do it less often then I would with patches.

I have to say again, my phone is so fast and responsive. I'm really happy.
[Miscellaneous Android Development] omdhar:
Your screenshot shows no network signal which itself mean higher batt cons searching network all time.

Sent from my PantechP9070
[Miscellaneous Android Development] viscmad:
Yeah that I have noticed and I am planning to change my service provider pretty soon.

Mean while after looking here and there and optimizing apps, now my backup is pretty much stable without any sudden reduction in % overnight :) Phew!!! hopefully will get more with good reception. :p

Btw seeing the nature of 'ondemand governor' I must say underclocking gets must :(

Its a request to devs to add other governors eg. Smartass v2 accompanied by SIO scheduler

Which will eliminated the need of underclocking :D

Sent from my PantechP9070
[Miscellaneous Android Development] ujjwalchhabra:
Post log of errors . And where you check for output ? It should be in cyanogenmod/jellybean/out/target/product/presto/cm-10-XXXXX-UNOFFICIAL-presto.zip .
[Miscellaneous Android Development] lllGurulll:
I must be missing something. I can't get notifications to vibrate as well as play a sound on CM10. Is this a defect that needs reported? It plays my notification sound but never vibrates. It does vibrate for the actual ringers though. Looking through settings I see that I can turn vibrate on and off on the ringer but I can't find any option at all to turn it on or off for notifications.
[Miscellaneous Android Development] ninjah:
guys, who on ics, plz make:

ls -la /data/time/

cd /data/time/

cat *

and provide me output

thank you
[Miscellaneous Android Development] stevotdo:
Here's the output, although I don't think it is what you expected.

root@android:/ # ls -la /data/time/
-rw-rw-rw- root root 8 2013-04-16 04:37 ats_1
-rw-rw-rw- root root 8 2013-04-16 04:37 ats_2

I can't cat either files separately or together. Here's an upload of the files
[Miscellaneous Android Development] ninjah:
thank you, could you also provide ls -la /data/
[Miscellaneous Android Development] stevotdo:
root@android:/ # ls -la /data/
-rw-rw---- root root 4 2013-04-16 10:00 .extstorage_emmc_detectioncount
drwxrwx--x system system 2013-04-16 10:04 app
drwxrwx--x system system 1970-03-09 09:25 app-private
drwx------ system system 1970-03-09 09:27 backup
drwxrwx--x system system 2013-04-16 10:04 dalvik-cache
drwxrwx--x system system 2013-04-16 10:03 data
drwxr-x--- root log 1970-03-09 09:25 dontpanic
drwxrwx--- drm drm 2013-04-16 10:00 drm
drwxrwx--x system system 1970-03-09 09:25 fota
drwxrwx--x shell shell 1970-03-09 09:25 local
drwxrwx--- root root 1970-03-09 09:25 lost+found
drwxrwx--t system misc 1970-03-09 09:25 misc
drwx------ root root 2013-04-16 10:02 property
drwxrwx--- system system 1970-03-09 09:25 qcks
drwxrws--- radio radio 1970-03-09 09:25 radio
drwxrwx--x system system 1970-03-09 09:25 resource-cache
drwxr-xr-x system system 1970-03-09 09:25 shared
-rw-rw-rw- root root 4 1970-03-09 09:25 skytestpwroncnt
drwxrwxr-x system system 2013-04-16 10:04 system
drwx------ system system 1970-03-09 09:27 time
drwxr-xr-x system system 1970-03-09 09:25 user
drwxr-xr-x gps qcom_oncrpc 1970-03-09 09:25 wiper
drwxr-xr-x shell root 1970-03-09 09:25 wpstiles
[Miscellaneous Android Development] dragonmasterx:
got a strange problem i ve gotten no baseband in cm10 and my phone receives the same sms multiple times
[Miscellaneous Android Development] GauharJK:
I have just flashed CM10 on my Pantech Burst... It is very smooth... :)

1. GPS does not lock.

2. Stock browser is a bit wonky...

Also, is there any way to enable haptic feedback on hardware buttons?
[Miscellaneous Android Development] viscmad:
1. Try it outside under open sky.

2. Use chrome.

Sent from my PantechP9070
[Miscellaneous Android Development] Level99:
New version just up'd on devsnest about an hour ago. DLing now for testing.
[Miscellaneous Android Development] omdhar:
Latest build does not boot for me
[Miscellaneous Android Development] omdhar:
What happened ??? No one reporting on new build. I tried every way to install available in book but it fails to boot.

Sent from my PantechP9070
[Miscellaneous Android Development] viscmad:
Try to download the zip again.

Sent from my PantechP9070
[Miscellaneous Android Development] xxthe:
It booted for me just fine.
[Miscellaneous Android Development] omdhar:
Surprise, tried six times without success.

Sent from my PantechP9070
[Miscellaneous Android Development] alan-31:
Worked fine for me too. How about, wipe cache and dalvik and reinstall the ROM using the recovery screen. I also checked the SHA1 after download to make sure the file was ok. Maybe you already tried that. Last resorts: factory reset. Format: /system, data, cache, sdcard etc. (mounts and storage menu)
[Miscellaneous Android Development] omdhar:
Done more than that except checking checksum. SHA1 is 4e877e1a01b3a3bc2b19a2908d43e92c13222f93. Is it OK

Edit : Just checked, checksum differs. Its 141fdb99ccc5305402c3abb685290a5ded0298fd

Sent from my PantechP9070
[Miscellaneous Android Development] stevotdo:
Download it again. You have a corrupted download.

You can use this to verify correct SHA1

sha1sum cm-10-20130416-UNOFFICIAL-presto.zip | grep "141fdb99ccc5305402c3abb685290a5ded0298fd"

If it matches then It will display the SHA1 in red. If it fails it will show nothing.
[Miscellaneous Android Development] marcusmarcus:
If you download it again and it is still corrupt, try downloading with a different browser.
[Miscellaneous Android Development] omdhar:
Using it for last 02 hours, its fine. WiFi tethering is not yet fixed.

Sent from my PantechP9070
[Miscellaneous Android Development] pratyush997:
Seems like the next build will be last build and will be completely stable..

Bursted via Tapatalk
[Miscellaneous Android Development] omdhar:
I suppose it will take some more time. See list https://code.google.com/p/devsnest-developments/issues/list. Also thereafter comes porting to cm 10.1.

Sent from my PantechP9070