[Q] Auto power cycle - possible? - Android Software Development

Hiya
So im not into programming - im more of a lover, not at programmer kinda guy. However i could find really good use of a simple program that lets me set time and date for my phone to power cycle. I often forgets to powercycle my phone, but i find when i does it - it kinda runs a little better (Nothing new about that).
So with this imaginary app i would just set the phone to power cycle during night time, and every morning ill wake up to a "freshly booted phone"
Ive tried searching the web - but i havnt found any conclusion to my request yet.
//M

Bump
Sent from my HTC Legend using XDA App

yes its possible
you can set up a tasker script

aaronpoweruser said:
yes its possible
you can set up a tasker script
Click to expand...
Click to collapse
Great - would you be able to provide me with the scrip needed?
//M

m.klinge said:
Great - would you be able to provide me with the scrip needed?
//M
Click to expand...
Click to collapse
Bump - im not rooted by the way
//M

I was going to suggest PowerBoot but that requires root...

Related

Locate your lost phone with SMS / Sick MUST have app: Tasker

I know there are threads on tasker, but i have to say, this is one sick app.
all you have to do is send sms with secret word from any phone and Tasker will enable wifi, gps, and send back a link to google maps with phone location.
That is amazing, but...
Pity the GPS, Compass and Google Maps implementation is completely ****ing broken!
I would definitely love to use this when (or if) the locational services ever do function. Thanks for the heads up -- I had no idea this existed.
There are multiple apps like "Where's my droid" that do this as well.
KerryG said:
There are multiple apps like "Where's my droid" that do this as well.
Click to expand...
Click to collapse
Maybe, but tasker does thousand other things. For me gps works fine, but there is a problem with compass
KerryG said:
There are multiple apps like "Where's my droid" that do this as well.
Click to expand...
Click to collapse
And doesn't 'where is my droid' only rings the phone if u send sms ?
If its not too long, would you mind posting your contexts and tasks to achieve just that exact same you just described? I'm trying to get better with the program although at a very slow pace
Thanks a lot mate!
Sent from my SGH-T959 using XDA App
Yeah i was interested in how you did it as well. I am just learning this tasker app and it doesnt seem that you can import and export tasks easily.
Texag2010 said:
If its not too long, would you mind posting your contexts and tasks to achieve just that exact same you just described? I'm trying to get better with the program although at a very slow pace
Thanks a lot mate!
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
you can find it here: http://tasker.wikidot.com/profile-index
the guy is using GPS only, but its pretty straight forward to include WIFI in this as well (WIFI is for better location without GPS). The time to wait for GPS to get a lock is up to you, I have 1 min.
and as you can see there is a profile there if you wish to lock you phone with SMS and/or play sound. (havent tried that)
For now I have these tasks: 1. If power ON, screen timeout is set to 45 sec (from 15), and lockguard is disabled 2. from 7:30pm to 8am screen brightness set to min and to AUTO other times. 3 Created a widget for "Vibrate" and "Bluetooth" since Vibrant is missing easy access to those functions (in a nice menu widget to save space). 4. I have several tasks killed at boot since they are useless anyway. (for this need to insert WAIT command with whatever time needed since some tasks start after the phone boots)
Thanks a lot for that link! Was able to create my own widget too now!
Sent from my SGH-T959 using XDA App
Worked for me too. Thanks a ton. Too bad you can't hide the sms message.
Sent from my SGH-T959 using XDA App
Lookout does this - good program I've been using since WinMo days.
-bZj
down8 said:
Lookout does this - good program I've been using since WinMo days.
-bZj
Click to expand...
Click to collapse
Read that Lookout drains battery, one of the features of Tasker is to actually save battery.
you already have a good standard version on the sgs
http://www.samsungmobile.co.uk/entertainment/featured-applications/mobile-tracker.do
sareen said:
you already have a good standard version on the sgs
http://www.samsungmobile.co.uk/entertainment/featured-applications/mobile-tracker.do
Click to expand...
Click to collapse
Any idea how to get this installed? I don't have it showing on my phone. Also, it shows it is only available in Germany and the UK. Do you have a work around to allow it to work anywhere?
Shane_pcs said:
Worked for me too. Thanks a ton. Too bad you can't hide the sms message.
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
Actually, since the latest update, you can hide the SMS.

[Q] How to prevent wifi from disconnecting when the screen is off?

It seems that the network is disconnected when the screen is off. It's a problem if you have something running (like a torrent download).
Anyone knows how to fix this?
I'm rooted and I have no problem editing system files...
lowpis said:
It seems that the network is disconnected when the screen is off. It's a problem if you have something running (like a torrent download).
Anyone knows how to fix this?
I'm rooted and I have no problem editing system files...
Click to expand...
Click to collapse
i think i may have found a way to fix it. testing now
lowpis said:
It seems that the network is disconnected when the screen is off. It's a problem if you have something running (like a torrent download).
Anyone knows how to fix this?
I'm rooted and I have no problem editing system files...
Click to expand...
Click to collapse
have you set wifi sleep policy to never..? Else.. Do this: under wifi settings, go to advanced tab, select wifi sleep policy and select never....
Sent from my GT-I9100 using XDA Premium App
Athavan said:
have you set wifi sleep policy to never..? Else.. Do this: under wifi settings, go to advanced tab, select wifi sleep policy and select never....
Sent from my GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
actually amazon removed access to the wifi sleep policy setting.
Set the screen to not sleep. Widgetsoid is awesome for their widget to control this.
//Tapatalk.KindleFire//
Hack into the database of the settings like what was done to enable some other settings?
Sent from my E10i using XDA App
Fixed it!
[FIX] Wifi Sleep Policy
blauciel said:
Set the screen to not sleep. Widgetsoid is awesome for their widget to control this.
Click to expand...
Click to collapse
I'm doing that now (aDownloader has this option too). But it isn't the best solution, since the screen remains on consuming power.
Since this option is present in standard Android (my SGSII has too), maybe we can just edit some hidden settings file. Any idea?
This worked for me: http://forum.xda-developers.com/showthread.php?p=19592319
Sent from my Kindle Fire using Tapatalk
death2all110 said:
Fixed it!
[FIX] Wifi Sleep Policy
Click to expand...
Click to collapse
WOW! Nice work!
And maybe a simpler way is to edit the settings.db directly in Fire with SQLite Editor?
lowpis said:
WOW! Nice work!
And maybe a simpler way is to edit the settings.db directly in Fire with SQLite Editor?
Click to expand...
Click to collapse
I'm sure you could. I just like to do things manually Lol.
Wake lock powermanager from the Android market. It allows you to take out a variety of locks on the system one of which is the wake lock. Since the device isn't sleeping wifi shouldn't go off. It can also take out a lock for the screen to keep it on if that's what it takes on the Fire. I use it on my old Archos tablet running 1.5 (cupcake) which needs the wake lock to keep any music player working. But I think one of the lock types it supports should be something that works on the Fire. The only apps I use that need wifi also keep the screen on like the video player so I've not installed it myself on my Fire.

Easy guide to improve jelly bean experience

Hello guys. I've been playing around with Jelly bean official, deleting some apps, adding other apps, and together with members on this page we were able to find some bugs and some workarounds. Well, i have some suggestions so that you guys can improve on speed (at least seemed to have worked for me ).
1) Download from Play Store app: Android Tuner (link for freeversion, has less options), Titanium backup, Gemini app
2) At Android Tuner, Go to Main Menu then again on the option One-Click (with the blue android) and it'll appear 2 options. One wich says One-click reset (it'll put all the buttons blue with on), and the other ont wich says "on boot" . Click on both, Leave the last one unchecked (it is not necessary to constantly do this, you can do it manualy later.
3) On same page, at the top wich says "build" click on it. Below you'll find a option wich says Presets, click and then Apply all presets. (later search for debug.sf.nobootanimation (click on the red cross, to remove it in orther to keep )
4)SysCtl, click at Recommended, the app will calculate for your phone automaticaly then click on boot so that it'll boot always with same configuration. (we can test this later, other configurations suggested by the users)
5) on the tab, scroll to your left untill you find the option SD, select cache size :2048 then click "on boot)
6) Slide again to the option OOM, and basicacly is setting same configuration as we use on Maximum Overdrive to max usage of RAM :
Select light preset
Then click on boot.
7) Using this app or titanium backup freeze or remove:
Samsung Push notification app
Email.apk
ExchangeServer.apk
8) Using Germini app ,click Menu then expert mode search for the following apps: Maps.apk, talk.apk, select each of them, select configure autorun, then press menu, and Disable app. (The app will still work, but use less the CPU usage, leaving free for other apps).
9) Go back to Android Tuner and On the main menu running click on One-Click (with a toolbox) -> Manage and it'll appear 5 options , click 1 by 1 on each.
10) reeboot
Optional: 11) Remove all live wall papers or convert to user apps, and free till 130 MB memory, using titanium backup, press menu then integrate dalvikcache.
12)Convert database to WAL(faster database).
13)On Android Tuner run again Defrag registry​
Now you should have a much smoother experience.
I've tested this with Wanamlite wich is free of bloatware.
I hope this helps to get a better experience.
Note: In touchwiz launcher, when you create a folder at the menu, and you insert there your apps, if after a reeboot for some reason the apps are not there it is because you have your apps instaled on your SD card, go to app manager, select the app and move to Internel SD Card, and it is solved.​
Is the app Including a boot controller ?
Sent from my GT-I9100 using Tapatalk 2
Btw share your experience. If you get better configuration also thanks
Sent from my GT-I9100 using Tapatalk 2
Gillion said:
Is the app Including a boot controller ?
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
Suppose you are speaking of android Tuner. Yes. You have a button for that as I describe on this small guide .
Sent from my GT-I9100 using Tapatalk 2
Have you noticed any downsides of running all these steps (certain apps loading slower, lag in certain areas, etc), or any change in battery life?
Porkchops said:
Have you noticed any downsides of running all these steps (certain apps loading slower, lag in certain areas, etc), or any change in battery life?
Click to expand...
Click to collapse
For now no. I've made this guide more and less three days after testing. Never has issues. Seems to be working great and fast battery life, With wifi off and power save on. Had an estimated of 7 hours screen watching a movie. When I can test ill share the results. But if someone could test this would be great. Once I had 2 hours and 30 min of display use and still was 78%.
Sent from my GT-I9100 using Tapatalk 2
jgcaap said:
For now no. I've made this guide more and less three days after testing. Never has issues. Seems to be working great and fast battery life, With wifi off and power save on. Had an estimated of 7 hours screen watching a movie. When I can test ill share the results. But if someone could test this would be great. Once I had 2 hours and 30 min of display use and still was 78%.
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
Sounds like the stuff dreams are made of... Once I get around to picking a new JB ROM to use (still trying to find one I like enough to keep for more than a few days) I'll be sure to try this out and report back with my results! Thanks for this!
Porkchops said:
Sounds like the stuff dreams are made of... Once I get around to picking a new JB ROM to use (still trying to find one I like enough to keep for more than a few days) I'll be sure to try this out and report back with my results! Thanks for this!
Click to expand...
Click to collapse
Thanks. It'll be important.
Today I have 3 hours of screen on with 2h and 40 min with 3g on with screen on same time.
3g on with screen off 3 hours and 20 min.
Total 6 hours with 3g on.
1 hour of phone
130 sms sent
Played 10 min a 3d game.
15min played YouTube vidro
5 min video from avi file.
6 pictures taken
One film made with 3 min
Recorded a classe for 60 min
And still 34% of battery.
Power save was on all the time.
Sent from my GT-I9100 using Tapatalk 2
What I like most about this configuration is that I can scroll really nice.
Sent from my GT-I9100 using Tapatalk 2
It won't work on unroot device right?
Sent from my GT-I9100 using xda app-developers app
marifb said:
It won't work on unroot device right?
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
Only root
Sent from my GT-I9100 using Tapatalk 2
does these settings with android tuner fix the sluggish scrolling in messages list?
thats the only thing that needs to be fixed.
i dont know what you mean with that you can scroll really nice now?
its nothing new hehe
you CAN scroll smooth 95% of the time except for messages in stock JB.
whats the problem?
fix scrolling problems in messages and this JB leak is complete for smoooooth scrolling.
pg_ice said:
does these settings with android tuner fix the sluggish scrolling in messages list?
thats the only thing that needs to be fixed.
i dont know what you mean with that you can scroll really nice now?
its nothing new hehe
you CAN scroll smooth 95% of the time except for messages in stock JB.
whats the problem?
fix scrolling problems in messages and this JB leak is complete for smoooooth scrolling.
Click to expand...
Click to collapse
you are problably right. i dunno if is placebo, but i ment that the device is better with nice scroll (=
to anyone wich needs the build prop with some of configurations only available on Paid version of android tunner ( you can skip line 3 by using this one) :
https://www.dropbox.com/s/y9xmnb5gejz8lgz/build.prop
tried on Omega v16.2
made lag appear
guess it's more for fully stock than a chef special
I used System Tuner Pro and it had all the options that were posted here..but i did experience lag with the oom settings so i tweaked them but this app has an option to disable startup items also so you would not need to download Germini app that you were talkng abut
terence23a said:
I used System Tuner Pro and it had all the options that were posted here..but i did experience lag with the oom settings so i tweaked them but this app has an option to disable startup items also so you would not need to download Germini app that you were talkng abut
Click to expand...
Click to collapse
I'll check that one thanks for your suggestion.
Sent from my GT-I9100 using Tapatalk 2
hey, where can i find the option to convert databased to WAL format?
from a quick search i did i understand its a titanium feature, but couldn't find it anywhere on the app..
amititzhaki said:
hey, where can i find the option to convert databased to WAL format?
from a quick search i did i understand its a titanium feature, but couldn't find it anywhere on the app..
Click to expand...
Click to collapse
In titanium backup
Sent from my GT-I9100 using Tapatalk 2
jgcaap said:
In titanium backup
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
i understand it's a titanium feature, i just couldn't find it in any of the menus/settings..

[TUT] Major Speed Up for your "OLD" Nexus S

Hello!
Something I've noticed while using my old Nexus S while im waiting for Nexus 5
Go in Developer settings > Background process limit (all the way down)
set it to "At most 2 processes".
It will speed up your phone more than you can think without affecting performance.
Report your findings.
Btw I am using THIS Android 4.4 ROM with stock kernel on Dalvik.
Have fun!
EDIT: You must re-set this everytime phone reboots
miHah said:
Hello!
Something I've noticed while using my old Nexus S while im waiting for Nexus 5
Go in Developer settings > Background process limit (all the way down)
set it to "At most 2 processes".
It will speed up your phone more than you can think without affecting performance.
Report your findings.
Btw I am using THIS Android 4.4 ROM with stock kernel on Dalvik.
Have fun!
EDIT: You must re-set this everytime phone reboots
Click to expand...
Click to collapse
It re-loads cache whenever i open up an app i previously opened. Like in messaging app, all contact icons won't get preloaded.
doesn't seems to have any impact at all on my Nexus S.
Yeah I am waiting for my Nexus 5 also!
This setting can only help you if you use memory-intensive apps, with the cost that most apps will start slower than before and also the background processes started by the apps can be killed more easily which is not always a desirable thing. Reducing the number of concurrent processes from the default can lead to unwanted consequences. These preferences aren't in the developer options by mistake, I would not fiddle with them if I don't have a valid reason. And "try this stuff, maybe it sppeds up your phone, maybe not" is definitely not one.
Eh, as i use my nexus s as an mp3 player it definitely helps run a lot smoother
sum_guy188 said:
Eh, as i use my nexus s as an mp3 player it definitely helps run a lot smoother
Click to expand...
Click to collapse
Try to put the phone in airplane mode, if you don't use cellular network or WiFi at all.
debaj said:
Try to put the phone in airplane mode, if you don't use cellular network or WiFi at all.
Click to expand...
Click to collapse
WiFi can be used even on airplane mode.
ej8989 said:
WiFi can be used even on airplane mode.
Click to expand...
Click to collapse
Yes you can, but it will cost you some CPU processing. I find my device more responsive in airplane mode where it does not need to handle the connections. If somebody does not use these functions it's worth a try before fiddling with some random setting from the bottom of the Development menu.
Sent from my Nexus S using xda app-developers app
unfortunate rrivure
debaj said:
Yes you can, but it will cost you some CPU processing. I find my device more responsive in airplane mode where it does not need to handle the connections. If somebody does not use these functions it's worth a try before fiddling with some random setting from the bottom of the Development menu.
Sent from my Nexus S using xda app-developers app
Click to expand...
Click to collapse
I've just tried this on my "old" Nexus S (my sister is using it now) and it doesn't seem to do anything different or faster...thanks anyway!

Easiest way to screenmirror

Hi everyone,
I wanted to ask you something, it is a thing which I did not tried earlier so I have no knowlage about it.
What I need is some app with which I can mirror the screen of my phone (S7 Edge non-rooted, Android 7) to my Windows 8.1 PC. I need also to be able to do stuff on the phone directly via the PC, like opening apps, and answering on instant messages.
Is there a way to do it without root, and if yes, what would you recomend? Thank you in advance.
Just search it in Youtube.... cuz I forgot the app
XHUNTERCOOL said:
Just search it in Youtube.... cuz I forgot the app
Click to expand...
Click to collapse
I have no access to youtube here, also I do not know what to search exactly from.
To get it in short, I need some sort of remote control of my phone via PC, but not like Teamviewer which keeps the display and phone awake all times. I need something to be able to use without the screen on the phone itself turning on, or if not possible like that, to turn it on just when I do something via remote and to get it again to turn of when idle.
sidesync, samsung app
emprize said:
sidesync, samsung app
Click to expand...
Click to collapse
Same here.... Vysor too...
emprize said:
sidesync, samsung app
Click to expand...
Click to collapse
Thank you, will try it

Categories

Resources