yashsingh1/xdaforums huggingface dataset:
[Galaxy S II General] santd:
GPSLocationProvider / GPS-Lock not permitting deep sleep

Hi

Over the last weeks I have been experiencing a problem with the GPS-Lock process trigger kernel wakelock and a partial wakelock on GPSLocationProvider. These are not letting the phone (Samsung GT-I9100) go into deep sleep. Of course the original problem was due to fast battery drain but after reading around and downloading BBS I realized what was the source.

I cleared dalvik cache, formatted cache, system and data partition multiple time and installed various nightlies (from Apr/Jun/Jul) in order to find the source of the problem but to no avail.

The last attempt was to install the latest CM10.1 nightly (cm-10.1-20130721-NIGHTLY-i9100) with no gapps. The only app installed is BBS. The following have been switched off from the settings: location location access, mobile data and all cell broadcasts but still having the same problem.

The screenshot and dumpsys attached have been taken on the latest setup. Any help would be appreciated since I do not know what to try next.

thanks and regards

David
[Galaxy S II General] defybest:
latest I9100 nightly confirm stuck at boot, same goes for N7105 nightly. Please fix it.
[Galaxy S II General] CRXed:
[MENTION=5360604]santd[/MENTION] Installed the new Maps? Did you disable Location tracking?
[Galaxy S II General] santd:
Hi, thanks for your reply ... no I have not installed google maps. infact i have not installed any google app ... just the clean nightly with the BBS installed ...
[Galaxy S II General] shroomhead:
Same for me. Recovery seems broken too, I can't go restore my backup either. :rolleyes:
[Galaxy S II General] Debadatta:
Stuck on boot : Confirmed.

Recovery not broken : Confirmed.

I just installed yesterday's ZIP through recovery and all fine.
[Galaxy S II General] sergisaf:
Same as everyone above. 22072013 doesn't boot.

Also, when trying to turn off the phone, it just restarts. I'm unable to enter recovery screen.

Further also, when I remove the battery and instert it again, it automatically restarts without pressing the power button. Creepy.

EDIT: After pressing the Volume UP + Menu button + Power Button, I finally entered Recovery, just needed to have a little more patience :)

Double edit: Is there a way to go back to the previous nightly WITHOUT losing the programs/configuration that I have if I only have access to the Recovery screen?
[Galaxy S II General] axsdenied1:
For 22072013, recovery works but I had to try again and again to get into it.

Possibly Volume UP + Menu button + Power Button have to be released at the right moment after Samsung logo???
[Galaxy S II General] ogk-slay:
check out kernel wake locks in bbs. could be fast dormancy. that's what happens to me
[Galaxy S II General] TeraJL:
i usually turn on the phone by holding Volume UP + Home button + Power Button , and when it lights up, i only release power button until the recovery shows up... i think you can even release all of the buttons and it will boot into recovery, but i like to keep Volume UP + Home Button just to be sure...

ps: it's Home Button not Menu Mutton
[Galaxy S II General] indyk:
Same here, bootloop after 2207, reverted via recovery to 2107 ( but without cache and dalvik cleaning, can it make anything bad or broken?)
[Galaxy S II General] CRXed:
Those are already cleaned/rebuild when you flash a rom
[Galaxy S II General] sronweb:
Just flash previous nightly from 21072013 and it works.
[Galaxy S II General] TeraJL:
if you haven't deleted older versions, go to

- Install zip

- choose zip from internal sdcard

- cmupdater/

- cm-10.1-201307XX-NIGHTLY-i9100.zip (not 20130722)

if you don't have anything on cmupdater, check your download or sdcard folder to see if you still have an older version from when you download from the browser, or even the first time you installed 10.1, then update using the updater...

if you don't have any version on the phone, try to send the zip to the sdcard using a card reader or get ADB.exe (install android SDK or search on google), and using ADB you can install the zip from your computer to the phone(sideload), or send the zip to your phone (internal or external sdcard), using "adb push" and then install it
[Galaxy S II General] bland.life:
Looks like its not just me.

Was totally stuck at the SGS2 yellow ! triangle bootscreen when i updated to 2207.

Same thing happened on my Nexus 7 so I did a Nandroid on the SGS2 first.

Went back to recovery and restored the Nandroid, press vol up + power + home.

(For the N7 it was harder as I found out that it needs to be plugged to the right PC to boot to TWRP)

Thought that it was because I used Cyandelta but perhaps not as theres other cases.
[Galaxy S II General] deepongi:
those who are having trouble with today's-nightly not booting up, you can flash this version with the boot issue fixed.

http://www.mediafire.com/?950yahgnf9vhvbr

regards.
[Galaxy S II General] Treveo85:
I don't have any older CM version (Even not CMUpdater). How can I get this version on my phone? Mount USB Storage in Recovery is not working for me.
[Galaxy S II General] bloodyshyt:
You can transfer the zip file to a microsd card and flash from there i guess.
[Galaxy S II General] TeraJL:
if you have a micro sdcard and a reader, just use it... if you don't, download adb.exe (comes with android SDK), and do ADB push, to send files to the phone..

search google for more information as this is off-topic.

example:

http://xdaforums.com/showthread.php?t=2266638 (read the "REQUIREMENTS" and "PUSHING A FILE INTO YOUR PHONE")
[Galaxy S II General] legacysl:
afaik you can't switch fast dormancy off, right?
[Galaxy S II General] stone_ship:
You can with this app; it says i9300 but works for i9100 too:

https://play.google.com/store/apps/details?id=com.gokhanmoral.fastdormancytoggle.i9300
[Galaxy S II General] ducasan:
Anyone having trouble installing AdFree? Build 2107.
[Galaxy S II General] deepongi:
grab an micro Sd card, use a pc memory card reader, place the rom + gapps there, place the micro SD on the phone, flash, good to go..

EDIT: goo.im has all the latest i9100 CM 10.1 nightly builds
[Galaxy S II General] legacysl:
I read that this doesnt toggle fast dormancy off for the i9100 even though is shows that it does
[Galaxy S II General] stone_ship:
You can install BetterBatteryStats and see if it works for you. The one to watch is "secril_fd-interface" under Kernel Wakelocks.
[Galaxy S II General] ogk-slay:
It doesn't work with JB modems and I've had a lot of issues with flashing ICS modems (ie LQ6) since openRIL was implemented. I was wondering if openRIL is removed if we use GetRIL to replace it or if it involves other areas in the system? I have no idea but any insight would be really helpful - getting intense secril-fd-interface wakelocks and battery drain.
[Galaxy S II General] stone_ship:
I see; didn't know that. So, can you see which apps are using data? In other words, treating fast dormancy as a symptom rather than the problem. Personally, I use Greenify and I think it helps.
[Galaxy S II General] ogk-slay:
good call on that. for me it's enhanced email that toggles fd over and over it seems. force stopping it effectively stops the fd wakelocks. now I'm not sure how next to deal with this since I need that app... disabling fd would be the easiest way to solve it but that's not possible art the moment... hmm
[Galaxy S II General] snalfio:
[HELP] i don't know why, but the Android keyboard started crashing repeatedly. Now i'm writing with SwiftKey.. What can i do? I ve already cleared the android keyboard cache, wiped cache and dalvik cache in recovery mode and reflashed the rom (0720 build). Any suggeggestion?
[Galaxy S II General] peddy2k:
Clear data of the Keyboard and of the Dictionary Provider..

Gesendet von meinem GT-I9100 mit Tapatalk 2
[Galaxy S II General] Makishima:
I did a clean installation again and now it seems to have gone away for me as well. But I am living in constant fear that it might happen again.
[Galaxy S II General] SimboXXX:
Yes, getRil will replace ril and modem but then you will have no connection - phone or data
[Galaxy S II General] ivan_htp:
Bricked!

After 2 years with the CM, i made a update today to 20130722 nightly and my i9100 is bricked.

did nothing different. It stills on samsung galaxy sii logo black screen and does nothing. No recovery mode. No download mode. Just dead..

Thanks cm team. Worth mention that the latest releases made my phone worse and worse. Could really be the device age, but I got many battery drains, low fps and stuff.

:(
[Galaxy S II General] amarspike:
Do anybody have issues with Facebook app on I9100? It get crashed few times and the last update od CM cant bootup, its tays on Samsung logo :/
[Galaxy S II General] Strokesws:
Toggle2G stopped working on build 0721.
[Galaxy S II General] Jaco2k:
"Bricked" = DEAD. As in "no sign of life". If you get a logo screen, you are still VERY far from bricked...

If I were you, I would remove the battery, plug the USB cable, start ODIN with a known good working stock ROM, press the Down Volume button, shove the battery in and... see if something happens.

But my guess would still be your phone is not bricked.
[Galaxy S II General] hectorviov:
Top lel
[Galaxy S II General] ivan_htp:
Thought bricked could be used if the phone dont work as a phone neither a agenda or anything.. just as a paper weight.

But anyway. I'll try everything. I use mac so i'll need a windows to try the odin, but it dont enters in download mode :(
[Galaxy S II General] hectorviov:
Power on phone, when stuck on samsung galaxy logo press and hold power button until screen shuts down.

Now press and hold volume up + home + power until samsung galaxy logo appears and then release power button.

You are now in recovery mode.

Flash yesterday's nightly and wipe your caches and fix permissions.

Worked for me...
[Galaxy S II General] SimboXXX:
If you had bothered to read even 1 page of the thread today you would know what's going on and avoid making foolish comments.
[Galaxy S II General] hectorviov:
Delete this (sorry)
[Galaxy S II General] ivan_htp:
Its Aliveeee!

Whoa, I'm really sorry guys. I just read the actual page and thought it was only me, because my phone was not doing very well.

Got into recovery after all and flashed the last build I had here (0714).

Gave " thanks" to everyone who helped and sorry for the lazy and foolish atitude :)
[Galaxy S II General] SimboXXX:
No worries. Just glad your phone wasn't really bricked. :)
[Galaxy S II General] R2D2uC3PO:
worked for me too :thumbup:
[Galaxy S II General] MJDdeLacerda:
I already did that but still doesn't work. I don't have any idea why... Yours work well?
[Galaxy S II General] thachphongphong:
stuck 20130722

i stuck on samsung logo and have to return 20130717

so what problem with 0722 ?
[Galaxy S II General] pefina:
Try the link infected gave us is perfect no problems at all
[Galaxy S II General] RochasMan:
Still no sign of life..

[/COLOR]This morning I flashed the latest CM10.1 Nightly and like many others I got stuck in boot...

The problem is that I don't have any of the older Nightlys on the phone to "re-flash".

How do I transfer a file to the phone via USB when I cannot access it?

(CM10.1 21-Nightly has been downloaded onto computer and phone is connected with USB)

Thanks!
[Galaxy S II General] f3d3b:
0) No, it doesn't. Yet it shouldn't be necessary for you to install it.

1&2) ok, then use the 90userinit file and put you lines of code inside there. Check the permissions as usual.

3) forget about it.

Cheers
[Galaxy S II General] 70074512:
This issue has occurred to me twice now, first on build 13122012 and a few minutes ago on first nightly (it doesn't happen every time).

The battery discharges till about 40-50% and suddenly drops to 15% (without reaching 20-40%) noting that it lasts on 11% & 12% much more that it should... If I recharge it also reaches a certain percentage and rapidly increases above 40-50%... Is it some sort of bug, or is it an issue with the physical battery?

Thanks dev for the great nightly! :)
[Galaxy S II General] meviox:
Haven't found a way, yet. The other two screens can be deleted (with a long-press click). For the camera view, however, I have found nothing yet.
[Galaxy S II General] GalaxyGusta:
wow we got nightlies now?

guys just a question before im trying to dive in

are the problems with the HWC are all gone in this version of Cm?
[Galaxy S II General] krishnamoorthy:
First, thanks to the devs for the tremendous effort put in to support JB in I9100!!!( without proper sources)

I see these behavior( did some search and not able to get right info):

1) Is it normal that CM10/10.1 lags sometimes - When I use Flipboard..even pulling down the status bar UI very laggy. Sometimes the audio in the background jitters

2) in CM 10.1 the internal SD is not mounted automatically after reboot(sometimes) - second reboot mounts it properly

Please let me know if these are known issues and if there are any workarounds!
[Galaxy S II General] alen1901:
You can disable camera or other widgets with app from playstore. I dont remember name though

Sent from SpeedMachine i9023
[Galaxy S II General] melgar:
i am missing the "developer options" in the menu, is it just me or just because it´s not yet implemented in the nightly?
[Galaxy S II General] 70074512:
Lockscreen policy:

play.google (dot) com/store/apps/details?id=com.wordpress.chislonchow.deviceadminkeyguard
[Galaxy S II General] meviox:
It is implemented, actually. Just click a couple of times on the build number in "Settings" > "About phone"
[Galaxy S II General] Aldideos:
You must tap 7 times on build number in the settings, and they will appear magically!! ahah
[Galaxy S II General] coversnail:
It's Lockscreen policy https://play.google.com/store/apps/details?id=com.wordpress.chislonchow.deviceadminkeyguard

Works a treat
[Galaxy S II General] Cyclone101:
Works perfectly
[Galaxy S II General] meviox:
I'd say, most of them are fixed :)

Anyway, here the latest known issues: http://teamhacksung.org/wiki/index.php/CyanogenMod10.1:GT-I9100:Nightly:Known_issues
[Galaxy S II General] melgar:
thank you, it worked like a charm.
[Galaxy S II General] iCole:
Does anyone know how to set a default alarm sound in the new Clock app? The option is not in settings in any of the settings within the app.
[Galaxy S II General] nextrow:
Yes, I did. And yes using 10.1

Verstuurd van mijn GT-I9100 met Tapatalk
[Galaxy S II General] Nairu86:
- Reset everything under Settings -> Date & Time otherwise editing alarms might cause FCs

What exactly does it mean?

How can I reset and what?

?_?
[Galaxy S II General] TrOjAnUK:
Should you be flashing beta software is the real question ;)

TrOjAn
[Galaxy S II General] legacysl:
Some one mentioned WiFi tethering was working but mine just says "turning hot spot on" and does go beyond that. Any one have any ideas?
[Galaxy S II General] Joborule:
Installed CM10.1 and Dec 12th GApps after upgrading from CM10. Tried clearing clock data and toggle off and on the date & time settings, but still stuck with crashing at welcome screen.
[Galaxy S II General] meviox:
Use "adb push" to push the file on the phone. More information on this you find searching this thread (or this forum)
[Galaxy S II General] dereau:
whats this "VoicePlus" added in 0722?
[Galaxy S II General] meviox:
See http://www.androidpolice.com/2013/0...-now-be-sent-through-the-stock-messaging-app/
[Galaxy S II General] sh0ne:
2013-07-23 ok!

Hello!

2013-07-23 is everything ok :good: thanks dev
[Galaxy S II General] RochasMan:
Yes, trying this, but my phone does not want to install MTP-drivers, so I cant access it still... -.-

Any ideas?
[Galaxy S II General] deejayburnout:
Hi Everyone.

First time poster and first time rooter/CM user.

Going to follow the OP's instructions to a T to do my flashing tonight when i get home.

I will install the newest Nightly ( dated 2013-07-23 01:31:13 ).

What is the best Kernel to use, i presume the one in the original post ( [KERNEL] ClockworkMod Recovery 6.0.2.9 )

Any advice would be awesome.

Thanks
[Galaxy S II General] meviox:
No need to flash a kernel. It is already included in the ROM.
[Galaxy S II General] danmullen:
Hi,

You don't need to worry about a kernel, CM comes with its own that works fine. It also comes with ClockworkMod Recovery.

Just follow the instructions in the OP and all will be well :)
[Galaxy S II General] meviox:
You may want to copy the zip archive to an external SD card and flash the ROM from there.
[Galaxy S II General] RochasMan:
Yes, I've thought of that too, sadly I do not have a Micro-SD to "normal"-SD converter, and since my computer only has the Normal SD-card slot, I'm somewhat out of luck there... :P

****...
[Galaxy S II General] deejayburnout:
Appreciate you help.

Came from Blackberry and used to install hybrids all the time. Hopefully this should be as easy.

Thanks
[Galaxy S II General] TheSaw:
No, it didn't work at all for me, it's a pretty buggy feature. I tried it now, and it worked for the 3rd time. I never used it.

---

Any idea if the new build(s) have battery issues? I have the 19th nightly currently and it drains the battery like a thirsty vampire.

The CM Updater is also borked.
[Galaxy S II General] jmjviana:
Just a suggestion... Can you add an option to CM Updater to select the path where to download the files?

I think many people would like to save the files in the external sdcard.

An option to download the update automatically when on Wi-Fi would be very welcome too! :)

Enviado do meu GT-I9100 usando o Tapatalk 2
[Galaxy S II General] doctor_droid:
use recovery.. mount usb storage ;)
[Galaxy S II General] highdiver_2000:
Hi can some one try checking "Use 2G networks" I tried temporarily to save battery ands it would not uncheck.

In the end, I have to re-scan mobile networks to get 3G back. Thank you
[Galaxy S II General] hectorviov:
It works on my phone

And when I disabled it, it got 3g with no hassle too...
[Galaxy S II General] highdiver_2000:
Thank you!, I would like to enquire which version of the nightlies are you running? I am on 16 Jul13
[Galaxy S II General] Ameeso:
Anyone having problems with cyandelta? It downloads the latest on, but gets midway through the applying delta stage and fails. It's done the same for the past 5 nightlies. Not the biggest problem, but yeah. Cheers.
[Galaxy S II General] hectorviov:
I am on today's nightly
[Galaxy S II General] highdiver_2000:
Sorry I download all my nightlies the old fashion way. Using a PC.
[Galaxy S II General] stefan_city:
Today's update (23/7) is safe, or there is bootloop problem yet?

Στάλθηκε από το GT-I9100 μου χρησιμοποιώντας Tapatalk 2
[Galaxy S II General] farisyi1:
Yeah worked fine.. Latest nightly 23072013 ;)
[Galaxy S II General] hectorviov:
Actually I think it is pretty good...
[Galaxy S II General] brgroover:
wth is that? CM 10.2??? FAKE??

http://www.youtube.com/watch?v=OH-QbQBj_hk
[Galaxy S II General] 99x:
There must be a problem with your current zip file, no problems here. Try downloading it manually then importing the zip in to cyandelta
[Galaxy S II General] Fulfen:
Fake
[Galaxy S II General] niko0o:
Pretty many of us knows how to edit build.prop file, and add apk's from 4.3 leak ;)
[Galaxy S II General] Rated RR:
The most stable is CM stock. No problem at all. However, if you wanna fool around with tweaking, you might try Dorimanx. Unfortunately, unstable even with defaults, but loaded with features. :)
[Galaxy S II General] brgroover:
me too ;) , but was hopeful that the announcement of cyanogenmod was it (simultaneous release with Google maybe? :P)
[Galaxy S II General] Rated RR:
Definitely. Plus, guaranteed proper download. From time to time the download gets broken. Interestingly enough - not single problem with CyanDelta so far.

---------- Post added at 11:10 PM ---------- Previous post was at 11:07 PM ----------

No problem at all for last 10 days or so.
[Galaxy S II General] -Luigi.:
Today I had a problem. Battery was very good until 70%, then it started to drain incredible fast ... anyone more facing this? I am using 22 build.
[Galaxy S II General] deejayburnout:
I did end up installing a ROM but couldn't get this one to load. Managed to get the Illusion mod working.

I then realised what I did wrong......

Didn't do a factory wipe.
[Galaxy S II General] CRXed:
No way to see from a screenshot what the problem is. Use BBS or Wakelock detector and post in those threads please.
[Galaxy S II General] defybest:
Try Dorimanx kernel. Pretty cool, allows you to mess with your voltage settings
[Galaxy S II General] ph3n0mII:
Which according to dorimanX himself and other experts in the industry, you generally shouldn't do. Great kernel tho.:good:

---

Now I have a few little things today.

Firstly i'd just like to report that the earpiece volume is still always 2 notches down from maximum after a reboot if left set at maximum before the reboot. Can someone else test this please? just dial any number, make sure earpiece volume is set to max, then reboot and make another call and see if it didn't save your maximum earpiece volume setting.

I'm still getting the calendar icon randomly displayed on the lock screen with no upcoming events. This has survived several complete formats and I even tried having no calendar synced and it still happens, even with no calendar data present on the phone at all.

Also, can anybody else confirm 2 problems with Apollo music player:

1). It always instantly crashes on launch the very first time you run it after performing full wipe and installing cm10.1 or performing a factory reset. (After its initial 'crash-run' it launches perfectly every time thereafter.)

2). I have noticed that if you play a song that apollo isn't able to download album art for, that if you either press the back or minimise it with the home button and then reopen it, then touch the grey square on the bottom left corner where a micro thumbnail of the album art usually is, apollo instantly crashes but keeps playing the music in the background.

This ROM is polishing up very nicely devs, many thanks again, love all your work!:good::good::good::cowboy::D
[Galaxy S II General] feydakin:
I can confirm the calendar Problem. Also spotify lockscreen widget isnt Show any time (maybe a spotify Problem)

Gesendet von meinem GT-I9100 mit Tapatalk 4 Beta
[Galaxy S II General] deepongi:
I confirm point #1 with Apollo.

Sent from who the hell knows, using GT-I9100
[Galaxy S II General] ph3n0mII:
Thanks for that! :good::good:
[Galaxy S II General] misha0209:
Hi,

Flashed 23.07 nightly last night, and gave gps a try on my way to work this morning. Must say it is NOT at all precise. It was always one street off.. I also had the release of 20.07. That was very precise, but most of the time, even if gps saw satellites, it would not give me a location (i had 6 satellites in view on gpstest, and all bars were gray... it stayed like that for 17 minutes, till I gave up.. then after a restart, it worked)
[Galaxy S II General] highdiver_2000:
I had a similar problem, GPSTest reported 12 satellites (?) in view and all are grey (too weak). After several minutes it still could not lock on. Closed down the app, turn off GPS. Turn on GPS and G Maps. Got a lock within a minute and thereafter with Endomondo (exercise).

16 Jul nightly, no reboots as I am trying to meet this poster's up time.
[Galaxy S II General] defybest:
24th july build is up.:D
[Galaxy S II General] d_Schizzo:
Wow, thank you for this useless post.

Yes, its a nightly... So, every day a new build will be up.:eek:
[Galaxy S II General] ig000r:
I have the same problem -sensors stop working after some time. Restart helps - but after some time rotation simply stops working. Im on 20130719 nightly and the problem still exists.
[Galaxy S II General] deepongi:
Slow GPS lock with todays-nightly.. gps.conf edited for europe, and agps data cleared and updated...

Sent from: who the hell knows! using an I9100
[Galaxy S II General] timostr:
Same for me.
[Galaxy S II General] szymko1995:
So which nighty is bug free?

Wysłane z mojego GT-I9100
[Galaxy S II General] dox81:
Does the term "nightly" rings any bell?