yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] quincho54:
Difficult to explain. Thats way I send you the privat message. But it always shows up in the thread. I don't even know if this is the real rwason. But since I ticked backround service on play store and play service I can open playstore normally. Otherwise it always failed to open, only way to start it was clearing data and cache. As I sad, it was just an option I checked this morning and since then playstore opens nicely. I tryed it around 20 times since early morning. I guess that, when parts of the google playstore service is asleep, playstore won't open. If you use the clean OS Android it never happend. Then there is a huge update and afterward it's not working anymore. It might be another reason but now it's working and that's what counts.

---------- Post added at 12:57 ---------- Previous post was at 12:44 ----------

Forget it..... It happend again. I just thought I got it done....but no.
[Android Apps and Games] Flyview:
Yea LD can't really affect PlayStore not working. The app exceptions keep LD from disabling connections when those are detected to be running, but it won't stop them from running in any way.
[Android Apps and Games] quincho54:
Yes, I got it. Thank you. There is a whole thread about thid problem.
[Android Apps and Games] spanish33:
[MENTION=2584205]Flyview[/MENTION] is it difficult to implement the following

Leandroid is set to control wifi and data. If wifi is connected turn off data to avoid lollipop mobile radio active bug. However I still want leandroid to control both wifi and data.

Maybe an extra option for users who want leandroid to turn off data when wifi is connected.
[Android Apps and Games] Flyview:
Tell me more about this bug, I'm not aware of it.
[Android Apps and Games] spanish33:
This is an issue in lollipop where apps keep the mobile radio active even when you are connected to wifi. I get this issue on multiple lollipop roms on my oneplus one.

https://code.google.com/p/android-developer-preview/issues/detail?id=2556

https://www.change.org/p/google-inc-fix-the-mobile-radio-active-bug-on-lollipop

http://xdaforums.com/nexus-6/help/figured-mobile-radio-active-bug-t3024803

https://forums.oneplus.net/threads/mobile-radio-active-bug-battery-drain.298342/
[Android Apps and Games] Flyview:
Interesting, didn't know about this. How can I confirm whether this is a problem on my Nexus 5? I was aware that Lollipop allows mobile data to continue to be used when WiFi has no internet connectivity but for me it shows as disconnected otherwise. I'm using the app Network Signal Info to check.
[Android Apps and Games] Vrizaldi:
Does this thing actually work? cos I've used a similar app before, and it didn't work for me, despite all the reviews :(
[Android Apps and Games] Flyview:
Give it a try. If you have root or you are not on Lollipop yet you should see really good effects if you set both WiFi and Data to disable. Cutting off internet from apps remains the biggest battery saver.
[Android Apps and Games] Mrabdu:
awesome

thanks for the informations dude !
[Android Apps and Games] spanish33:
Check your battery stats in settings / battery for android os, android system or any apps that is high on your battery list to see if it has mobile radio active like the links I posted before.
[Android Apps and Games] Flyview:
Yea I just looked through those. Nothing too conclusive. I'll have to check on my own device if I'm affected once I have a some data again in a a day. I had always wondered about the "mobile radio active" metric but never compared apps to see how much they were using.

By the way, I released a new app today/last night, MiniMap. Check it out here: http://xdaforums.com/showthread.php?t=3183889
[Android Apps and Games] debernardis:
Hello, though leandroid is an excellent, effective app, it leaves me with the fear that, should I lose my phone, it would prevent me to localize it.

In fact, once leandroid kicks in, I would have only brief intervals for the network to send position, and I don't know if the GPS system, deactivated by leandroid, could have the time to get a fix.

So, I suggest that leandroid monitors incoming sms messages, and deactivates itself when a predefined message is received.

This way, should the phone be anywhere, I could send the magic sms message and the phone would become fully reactive again, sending me gps position, photos, screaming loud, and whatnot (I use Lost Android for that, others use Cerberus or the stock Google device manager).

Thanks, Ernesto
[Android Apps and Games] Flyview:
This has long been on my todo list. Perhaps I will focus on this feature next.
[Android Apps and Games] Darke5tShad0w:
That would be awesome. I currently use cerberus and avast anti theft for this!
[Android Apps and Games] inzaghi89:
Totally agree with you guys.

---------- Post added at 11:41 AM ---------- Previous post was at 11:13 AM ----------

I'm not sure about one thing. Cerberus allows you to use SMS commands. There are some commands to enable/disable wifi, mobile data. And I think that with those commands you're able to enable mobile data, even if LD disables them. Am I right?
[Android Apps and Games] Flyview:
Hmmm if these antitheft apps already receive SMS commands to enable data, then yes you can still enable data once LD has disabled it BUT the next time LD re-enabled temporarily it will then again shut them off at the end of that interval.
[Android Apps and Games] alexfiorani:
Cellular data toggle (2g, 3g, 4g) doesn't seem to be working on CM12.1 on my Moto X 2014. The app worked perfectly on the stock rom.

Here are the event log: I enabled LeanDroid and configured it to change data to 2g 1 minute after screen off. I started CatLog and locked the device. Waited 3 minutes and checked the phone, data was still 4g. Hope someone can understand the log.

http://pastebin.com/CGfVyL7P
[Android Apps and Games] Flyview:
Unless I sent you a debugging version the log will be fairly useless. Have you flashed SuperSU in recovery? LD needs SuperSU it will not work with the stock CM root.

EDIT: Having said that I see LD service is crashing from your log. I'll look into it.
[Android Apps and Games] alexfiorani:
Sorry, I didn't know that LeanDroid had problems with the CM root (or CM root has problems with LeanDroid). I'll use Super SU instead.
[Android Apps and Games] Flyview:
By the way, what version of LD was the log from?
[Android Apps and Games] alexfiorani:
Latest version according to my play store, 3.0.2.
[Android Apps and Games] Flyview:
Thanks. I'm trying to figure out why your LD service crashed, it looks like it shouldn't from the code. Can you paste another log like you did after trying to disable connections again? Make sure you still have the "except if apps running" exception checked cause it seems like that's what caused the crash. You do have that selected right? Also please let me know if it's working after flashing SuperSU.
[Android Apps and Games] alexfiorani:
No problem, will do that tomorrow morning. About that exception, it is not checked, I just verified. Do you want me to enable it or leave it disabled?
[Android Apps and Games] Flyview:
Interesting. No don't change anything that might be part of the problem.
[Android Apps and Games] inzaghi89:
Thats OK for me. Thanks for your reply :)
[Android Apps and Games] alexfiorani:
Here it goes, did exactly the same thing: http://pastebin.com/vwm6YKeD
[Android Apps and Games] Flyview:
Hmm no crashes this time. Strange. Is the toggling working now with SuperSU?
[Android Apps and Games] Flyview:
So do most of these apps include an SMS command to turn on data? If so, what's the point of putting it in LD?
[Android Apps and Games] alexfiorani:
Actually I didn't flash SU because I wanted to see if the service would crash again with the CM root (i though this feedback was more important than making the app work with SU). This time the app didn't crash, but still, the network mode toggle didn't work, it was like LD was not enabled. I'll flash SU next time I charge my phone and report back if I encounter future issues. Thanks.
[Android Apps and Games] inzaghi89:
I'm using lean droid and supersu and what is weird... Im unable to see such an issue. For me lean droid is able to disable and enable network (both WiFi and mobile data). Didn't check changing network mode from LTE to 3g because it's not needed to me.

According to sms command to disable/enable some lean droid functions. I thing you're right [MENTION=2584205]Flyview[/MENTION] - if people use that kind of apps like cerberus it's not needed to add this to lean droid.

Wytapane na Oposie.
[Android Apps and Games] Flyview:
Yea thanks for doing that. It really was strange that it crashed in the first log, I can't see why it would. You will probably notice any root functions are not working without SuperSU, not just network mode.
[Android Apps and Games] Flyview:
I'm trying out this translations site I came across on another app here on xda. If you would like to provide/improve on translations, please try to do so here:

https://www.getlocalization.com/LeanDroid/
[Android Apps and Games] Darke5tShad0w:
Sometimes weird anomalies happen. It would ensure compatibility rather than 2 apps trying to control the wifi/data. Maybe not every sms command needs to be implemented. Maybe there only needs to be one like a disable/enable leandroid sms commands then the other apps like cerberus will have control?
[Android Apps and Games] Flyview:
That's a good point. Ok I guess I can build this under the "Restore" section. i.e. "Restore connections when SMS received" and then you'd be able to choose what SMS keyword would do it. The advantage is it flows in nicely with the design of the app, but the disadvantage is if data was already manually disabled, this wouldn't enable it.
[Android Apps and Games] Darke5tShad0w:
I don't think this part should be a problem. In my experience if leandroid didn't disable it then the weird stuff does not tend to happen when you are using something like cerberus.

On another note I have noticed recently (I think since your update to work with the stagefright patches) that it does not start on phone start up.

There is no notification in the draw and wifi etc is not disabled. I need to open leandroid manually to the notification etc to start working.

Samsung S3 5.1 Resurrection Rom. It is not disabled at start up by any app.
[Android Apps and Games] Flyview:
I just checked and it isn't a problem for me. Are you sure it isn't just an exception keeping connections on? Can you try rebooting and then checking if the LD service is running (give it a minute to start)?
[Android Apps and Games] Darke5tShad0w:
No leandroid was not starting at all until i manually opened it. I noticed Tuesday night when my phone self rebooted and wifi was on all night.

But problem was on my end somewhere. I could always reproduce it so this morning i toggled the start up entry for leandroid and problem is now gone. Odd since i haven't touched anything like that in weeks and never for this app so sorry for wasting your time.
[Android Apps and Games] Flyview:
No worries. I'd rather investigate than not know about an issue. Where is this start up entry?
[Android Apps and Games] Darke5tShad0w:
Its in an app called system tuner. I use it to stop things like facebook, instagram etc from starting on boot. I did it not really expecting it to work. It was option 1 before reinstalling the app, next was the rom.
[Android Apps and Games] inzaghi89:
Enable lean droid at security > monitoring apps. I observe at my phone after updating to 5.1 that without this ld is unable to disable services. After enabling it seems to be working well. But I'm still checking this.

Wytapane na Oposie.
[Android Apps and Games] Darke5tShad0w:
Yes i have already done that when the update was released, it was talked about a few pages back. It turned out to be a rom issue.
[Android Apps and Games] fatspirit:
I think mobile hotspot shouldn't trigger "WiFi was turned on" trigger since it serves different task.
[Android Apps and Games] liver20:
Is good a option for disable location from time to time. Location use to drain battery

Enviado desde mi A0001 mediante Tapatalk
[Android Apps and Games] Flyview:
Not sure what you mean, please rephrase.
[Android Apps and Games] fatspirit:
The idea behind LD is not to turn on what was manually turned off. I've turned off WiFi on my phone (it was bad at that time) and turned on mobile hotspot so I could use WiFi only tablet. LD currently sees no difference about a reason WiFi module was turned on for. I mean that WiFi was turned back on after I've disabled mobile hotspot later.

Sorry for my english :cool:
[Android Apps and Games] gaetanolip:
don't have this option too

mahdi rom 4.4.4
[Android Apps and Games] tech_girl:
Only for Lollipop ROMs.
[Android Apps and Games] Flyview:
Ok I think I know what you're getting at. When you turn the hotspot off does WiFi not also turn off? If WiFi turns off when the hotspot is turned off LD shouldn't be re-enabling WiFi. Can you break it down into the steps you're seeing?
[Android Apps and Games] spanish33:
I think he don't want leandroid to control wifi if it was turned on to be a wifi Hotspot.
[Android Apps and Games] Flyview:
Well the "except if tethering" should take care of that.
[Android Apps and Games] fatspirit:
It should be unchecked? Since it's checked now. And I was talking not about turning WiFi off. I think that if I've turned WiFi off by hand LD counts turning hotspot on as turning WiFi back on too.
[Android Apps and Games] Flyview:
Well yea, because WiFi does turn back on when you turn hotspot on, so I'm still confused. When you turn off the hotspot manually does WiFi remain on or does it go back off?
[Android Apps and Games] fatspirit:
It goes back off, but after that (a bit later) I've found that phone was connected to WiFi again, so I guess LD is involved (:
[Android Apps and Games] AmolAmrit:
Guys Kinda Need Help , How can I keep my WiFi On everytime. It automatically switches off internally ( Means , connection is lost but it is shown that it is connected ) I tried everything but of no use. Due to this , I don't get push notification everytime after 15-30 mins. Help!
[Android Apps and Games] fatspirit:
Add your WIFi to except if connected to...
[Android Apps and Games] rolandvrielink:
What does Cellular Radio mean???

If I turned it on what will happen???
[Android Apps and Games] fatspirit:
Count it as a plane mode. You won't be able to receive calls and SMS.
[Android Apps and Games] rolandvrielink:
Okay. Thank you for your answer
[Android Apps and Games] liver20:
In oneplus sultanxda cm12, turn OFF screen not turn OFF gps, not switch to 2g

Uninstalling. Please fix it, your apk is wonderful

Enviado desde mi A0001 mediante Tapatalk
[Android Apps and Games] Flyview:
I just tested this myself.

Turned WiFi off manually.

Turned hot spot on.

Turned screen off, waited 10s (LD set to disable after 0min)

Turned screen on, nothing disabled due to "except if tethering".

Unlocked screen, turned hot spot off.

Turned off screen, waited 10s.

Turned on screen, data disabled.

Unlocked screen, data enabled, WiFi remains off.

This looks normal to me.

Can you please try repeating the same test?
[Android Apps and Games] Flyview:
What do you mean the connection is lost but it shows connected? If you have it keep WiFi on with an exception, most of the battery savings will be lost.
[Android Apps and Games] Flyview:
Your cellular radio is what makes your phone a phone, I.E. calls and texts (SMS). If you get LD to turn it off the battery savings are high, but you won't receive calls and texts.
[Android Apps and Games] Flyview:
I need more info, how are you testing exactly? What are your settings? Post screenshots. Are you rooted with SuperSU?
[Android Apps and Games] AmolAmrit:
My main probelm is I get delayed notifications and some times I don't even get them.
[Android Apps and Games] Flyview:
From what apps? Do they use push notifications?
[Android Apps and Games] AmolAmrit:
Yes they use Push Notifications. WhatsApp , Hike , Nimbuzz .
[Android Apps and Games] Flyview:
Please post a couple of screenshots of your settings in LD and please try and test with reproducible steps.
[Android Apps and Games] liver20:
Of course , im root.

I marked all except radio, and enabled when is unlocked. Choose change to 2g in 6 minutes but not happen

Enviado desde mi A0001 mediante Tapatalk
[Android Apps and Games] Flyview:
Yes but rooted with SuperSU or the stock CM root?
[Android Apps and Games] fatspirit:
It looks that it was a one time glitch, since it works now just like it should.
[Android Apps and Games] aldiandrew:
hello great apps for saving battery. can you add option to switch 2g when on wifi sir? thx for application
[Android Apps and Games] svvorf:
Thanks! Added avg more 2 hours a day with this app.
[Android Apps and Games] inzaghi89:
Observed few timest that after I've manually disabled LD for a while (few hours) and enable it again using notification bar it doesn't work until app restart, or phone restart. It shows on notification bar that it works, but didn't switch anything.

I'm on OPO with COS12.1s (5.1) and rooted with supersu.
[Android Apps and Games] Flyview:
When this happens, can you check running services and see if LD process and service is running? Obviously do this before you open the app again.
[Android Apps and Games] liver20:
Super Su 2.46

---------- Post added at 12:52 PM ---------- Previous post was at 12:51 PM ----------

me too
[Android Apps and Games] inzaghi89:
Checked and LD service starts again after taping on 'run' in notification bar. It's also interesting that when reenabling LD networks services starts running again. I'm disabling manually LD to use pushbullet with texting. After some time it stops working until I reenable LD. When enable and disable it works again. Not sure in 100% that this is an issue related to LD, but I can allways reproduce this with mentioned steps.

1. Disable LD

a. after few hours pushbullet stops working

b. enable and disable again ld

c. pb starts working again

2. Enable LD again

3. It doesn't work at all and don't disable newtork etc.

4. Killing LD (long tap on back button - dev settings), and running again bring it back and/or phone restart will solve this.
[Android Apps and Games] Flyview:
Can you clarify a few things for me? What do you mean pushbullet stops working? Is the phone locked or unlocked when this happens? Are connections enabled when this happens? When you enable LD again and it seems to not be working, are you sure it isn't encountering some exceptions you've set?
[Android Apps and Games] Flyview:
New update coming to Play Store in about an hour. You can also get the update straight from this post (attached).

3.0.3

-Fixed a rare issue with the recognition of purchases and the purchase system

-Updated to newest libraries and built with Marshmallow SDK
[Android Apps and Games] inzaghi89:
1. I mean that I'm not able to send sms via pushbullet. It's more about network stops working than only pushbullet. But what I can see on phone network connection is still established.

2. Yes it's look like that connection is enabled. Ld doesn't disable it. I mean... I see that network connection is still working and phone is connected. But I don't receive any notifications and pushbullet doesn't work. I mention pushbullet as an example because only for this app I disable lean droid.

3. Yes I'm sure. Because I've still the same exceptions set and all works how I want. There is only random issue with disabled ld. Sometimes auto disable doesn't work as mentioned few posts before. Sometimes, like today ld disables services even if it's disabled but as I wrote at 1 and 2 point it looks like that network connection is still established and phone is connected to network.

Hope that you can now understand me. But if you've questions, do not hesitate to ask :)

Wytapane na Oposie.
[Android Apps and Games] Flyview:
Sorry I'm still unclear. If you still see WiFi, cell radio on, etc, LD has not disabled them. LD cannot interfere with your network working or not, it only enables/disables connections. Therefore I don't think it's LD that causes Pushbullet to "stop working" if connections look to be normal when you check the phone. As for the issue you are having with LD not disabling connections after itself being toggled back on, that could easily be an exception that just happens to be encountered right after being re-enabled. Could you post screenshots of your exceptions please?
[Android Apps and Games] inzaghi89:
https://drive.google.com/file/d/0B9ohX0VpKunRaXlxNmNJQ2lRZjQ/view?usp=docslist_api

https://drive.google.com/file/d/0B9ohX0VpKunReGJFRFBPS1Z1TVU/view?usp=docslist_api

Here it is. I don't have any exceptions on background services. Only few foreground apps. Pushbullet isn't on the list :)

Wytapane na Oposie.
[Android Apps and Games] kirtandoshi:
Hi Flyview!

Any way you can integrate the gyrosensor into this app so that leandroid enables connections and stops following app rules when we pick up the phone from a flat surface and follows app rules when we put the phone back again on a flat surface?
[Android Apps and Games] fatspirit:
You''ll still need to unlock your phone, so why you don't want to use existing options for that?
[Android Apps and Games] myhrdak:
hello

i bought the premium version and told leandroid to put my mobile from 4g/lte to 2g/gsm during standby. when i unlock my phone leandroid didnt activate 4g. it uses "global" as a network type. please help to activate lte instead of "global" (which only uses 3g on my z3c) thank you
[Android Apps and Games] geowolf1000:
Hi can you share the tasker profile?
[Android Apps and Games] Flyview:
In other words, do what Doze does? The app would be fairly useless unless it's sitting flat and motionless. Also, most devices will need to be kept awake to detect when they are flat, not moving, etc. Only some devices have a separate CPU dedicated to detecting these movements.

Any chance you can post a screenshot of the options shown to you in the dialog where you pick what network mode to switch to? LD does its best to detect the network mode you are currently in, and tries to come back to that. I'm not sure why it's picking something else to return to.
[Android Apps and Games] Flyview:
Can anyone still on the latest Android Lollipop 5.1.1 (a Nexus device would be great) please confirm that switching network type is working? Please test as follows:

1) Set LD to re-enable after screen unlock.

2) Set LD to ONLY switch network type to 2G after 0s.

3) Turn the screen off after manually having selected LTE in the Android settings, leaving data enabled and WiFi off.

4) Turn the screen back on after 10s and look at the status bar. You should see the data indicator for 2G (likely E or G).

5) Unlock the screen and watch for the data indicator to go back to 4G or LTE.

6) Set your settings back to how you like.

Thanks!
[Android Apps and Games] fatspirit:
Nexus 5, LMY48M - working.
[Android Apps and Games] Flyview:
Sweeeeet, thanks! I just finished fixing this for Android M and started having some doubts that it was working properly on 5.1.1. Now on to fixing location toggling on M and another update will be on it's way!
[Android Apps and Games] borntokill:
YouTube

Galaxy S5 - Alliance 8.1 lollipop
[Android Apps and Games] Flyview:
What?
[Android Apps and Games] horizonP:
Thanks, useful app