yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Q&A, Help & Troubleshooting] kenardy:
G'day all,

I'm new to the forums so please be gentle with me :crying:

I accidentally deleted a folder from internal storage and I need it back as it is very important. I keep reading that I need a rooted phone to search the internal hard drive.

I have never rooted a phone or done anything like that. I am fairly tech savvy but some words are getting my head to spin.

Details are - Build 23.4.A.0.546

5.1.1

Model D6653

Is there a simple root without needing to unlock the bootloader? I see some but they require a reflash at a different build number.

Once again, I have never done this before so I am unsure if re-flashing will lose my current data from my phone.

Once I get the files back (if I can) I want to get customs ROMs and just go all out with it. I've been missing out by the looks of things :D

Any help or work-arounds or step by step help would be greatly appreciated!

Cheers!
[Xperia Z3 Q&A, Help & Troubleshooting] MasterTB:
Look here: http://xdaforums.com/z3/general/sony-xperia-z3-sticky-roll-t3164273

In this thread there's all you need to know to root.

But if you are on 5.1.1 I'll tell you right now there's NO ROOT for 5.1.1 directly. You will have to downgrade to a rootable version and then upgrade using a prerroted firmware (that you can create by yourself with the many tutorials here using PRFcreator)
[Xperia Z3 Q&A, Help & Troubleshooting] MasterTB:
You can do a repair with PCC. Start the Support Zone app from PCC without connecting your phone, click on Update your Phone, since it's not connected it will tell you that it can't detect the phone and offer you to repair it.

That will solve your problems and restore your phone to a working status.

From then on, you can investigate the flashing process with a working phone and more time.
[OnePlus 2 Q&A, Help & Troubleshooting] rctempire:
Hi everyone.

Really struggling with my OPT.

It's really slow.

I have rooted and unlocked the boot loader. So I was on 2.0.2 then 2.0.2 then 2.1.0.

Each time the phone is very large between windows, between key presses, swipes.

Got a great antutu score of 58k.

But I cannot figure out why it's slow.

Press middle button takes about 2 seconds to load. Menu selects and swipes lag with 2 seconds.

Even typing this is taken around 10 minutes.

Any one got any advise?
[OnePlus 2 Q&A, Help & Troubleshooting] Pikachu34:
Every one plus device has the home button, back button, recent button problem, I've posted a forum thread about this under this very section, check it out, for a temporary fix until this issue Is resolved (by OP or my forum post) go to settings then buttons and enable on screen navigation

Cons

Takes 1 row off the screen

Pros

Slow issue fixed, can still use fingerprint scanner.
[OnePlus 2 Q&A, Help & Troubleshooting] rctempire:
Tested with the one plus two with hardware buttons disabled. Still very slow and really un usable.

OS update changed nothing.

Any one got any ideas?
[OnePlus 2 Q&A, Help & Troubleshooting] hangy90:
I had the similar issues, then I tried Ak's kernel [URL="http://xdaforums.com/oneplus-2/orig-development/kernel-ak-t3208617"]http://http://xdaforums.com/oneplus-2/orig-development/kernel-ak-t3208617[/URL]

everything feels much snappier,and cooler, give a try, I hope it helps:o
[OnePlus 2 Q&A, Help & Troubleshooting] RISHI RAJ:
Maybe try a factory reset & reduce animations in developer settings.Mine is working without any issue
[Android Apps and Games] Craig Capel:
So i got installing all the battery saver apps, greenify etc... they all close apps and not much else, my version comes from the mind of an electronics engineer view point...

hardware drains power NOT some little app running in the background! (Purely software programmer logic... )

So my app grabs what states wifi/gps/bt/modem at the time the screen goes off...

When the screen comes on, it re enables them! Eg go bed with 95% wake up with 94% put in your pocket it just does it...

The 2nd feature is the lost/stolen phone feature while the app itself can not get your gps data (no permissions for it) it can switch gps on/off...

So you send "on" without the surrounding quotes, the app will then switch on gps/wifi/modem/bt... it then disables itself

Now you can use wheres my droid or any other location finding app to easily pinpoint your lost or stolen phone (try getting a location with gps/agps/data disabled which people often do to save power!)

(Includes option to keep wifi/gps untouched from the app)

as for ads!... the ui has 1 ad, no popups or notifications ... and when activated the activity with the ad on is destroyed and can't touch battery life ... at all :cool:

Craig's Root Battery Saver!

https://play.google.com/store/apps/details?id=saver.battery.craigs.craigsbatterysaver
[Android Apps and Games] Holla_Boy:
Well done
[Android Apps and Games] Craig Capel:
Holy crap! Someone replied :o (first for me here lol)

Thanks! :)
[Android Apps and Games] Portgas D. Ace:
To be honest, your app is great when it comes to save battery, but in my opinion your approach is plain wrong in terms of the main purpose of a smartphone - receiving notifications in a timely manner, not when you turn on the screen manually. The same purpose can be achieved by using DS Battery Saver, which will in addition turn on mobile data once per specific time interval to receive push notifications.

And you should reconsider your opinion about "software does not drain battery but hardware does". Check this great thread for example. I am using a combination of different apps (Greenify, Amplify, Power Nap) to tame aggressive services/alarms/wakelocks and I am able to achieve a battery drain close to 0.0% per hour while screen is turned off with WiFi, mobile data and location turned on the whole time without losing instant notifications.
[Android Apps and Games] Craig Capel:
The app supports wake up notifications (well, will... the app's not quite finished yet, been too busy to get everything finished)

If you had gone to the playstore you'd have seen
[Android Apps and Games] Craig Capel:
Also you might want to reconsider what i said..... hardware drains it not software!

You refer to wake locks ... well believe it or not, wake locks turn on hardware which drains the battery, i program microcontrollers with the esp8266 / bluetooth / compass / etc ...

Software can only drain the battery if it's purposely trying to max out the cpu, and if it did you'd know it's malware... there are wakelock detectors too
[Android Apps and Games] Portgas D. Ace:
I came across this, therefore my reference to DS Battery Saver, that already is capable of exact those things. Nevertheless, your app is doing what it was designed for - saving battery (and this is pretty good, indeed).

Well, I am familiar with what wakelocks are. But without software, that produces a wakelock, there would be no noticable drain, right? Thus we can go round and round here, I guess. From my point of view the most battery drain on an Android device is the result of poorly programmed software (which results in an unneccessary wakelock) and alarms waking up your device, not from ****ty hardware. You can hunt down those wakelocks/alarms by using apps like Better Battery Stats or Wakelock Detector and reduce them to a minimum without losing functionality. Therefore I consider this as a better approach.
[Android Apps and Games] Craig Capel:
Unless the software drains it by intensive cpu work, anything else has to be hardware, if i power a gps module, talk to it via uart to enable/disable it... then it's hardware doing it not software..

Take Qualcomm, the newer cpus support an embedded DSP

https://gigaom.com/2014/12/12/5-things-to-expect-from-qualcomms-flagship-mobile-chip-in-2015/

As hardware gets smaller and uses less power, then things like the embedded dsp chip will allow you to use wakelocks without little drainage, but were no where near that yet...

think of it like this... software simply carries instructions which can turn on hardware via a field effect transistor, that binary 1 value shows up as 3v logic and the fet begins to conduct between the drain and source, this sets a flip flop and the hardware starts wasting power...

Or to put it another way after the software enables the hardware via a gpio the software stops, or better still, show me software draining the battery with all hardware services disabled... it can't :)
[Android Apps and Games] Mazebarath:
Good

Does it really work .. :o:o
[Android Apps and Games] Craig Capel:
Don't you believe the title? (Really works!)
[Android Apps and Games] Portgas D. Ace:
True words. I can also see your other points and do agree with them. But as you said, we are not even close to a system where wakelocks do not drain as much as they currently do. Would we have such a system, your app wouldn't be required, I guess. Therefore taming the unneccessary wakelocks is a good way to achieve a great battery life without losing functionality for the moment.
[Android Apps and Games] adj.jo:
Awesome

Awesome!!!
[Android Apps and Games] secXces_debaki:
Can't open the settings and this sound makes me rly angry lol. Why it makes this sound? (even my phone is silence)

Gesendet von meinem ONE A2001 mit Tapatalk
[Android Apps and Games] Craig Capel:
There are no settings... work in progress (says so in the play store readme)

I've had the flu for the past week so i've not been developing much... expect updates shortly to remove the "settings" option which annoyingly is placed there by default... i never put it there

The sound is cool no? ... it plays a low volume sound to indicate the app is working!
[Android Apps and Games] Craig Capel:
Alright, update includes support for android 4.1 for gps now... i'm slowly working my way through android oddities and different techniques to switch hardware / on and off and with 5 phones to use 4 of them use kitkat!

Had to stop for a break i've had the flu all week, throwing up constantly, later on i'll add the finishing touches to wake up notifications as right now it's extreme power saving mode...

Stay tuned.... oh and i found a bug supporting lollipop, fixed that too, so if you have lollipop and it never worked, it should now ...
[Android Apps and Games] Craig Capel:
Antibiotics did the trick! It was sadly not the flu but some rare bug...

I've almost finished the autowakeup every x minutes 5, 10, 20 min intervals..

Unless someone here can think up a value or maybe add it as an option.

.
[Android Apps and Games] Craig Capel:
I removed the blocking side of things prior i used a thread/sleep now i use a timer event this stops the lag when unlocking the device on older models...
[Android Apps and Games] pwnds:
nive work :good:
[Android Apps and Games] Craig Capel:
I dumped the smart check (as far as i can tell anroid never fails, so i removed it)

It should now be seamless between lock screen and the main screen without any more lock up due to the threading...

Enjoy!
[Android Apps and Games] -zalo:
great!! will try it. thanks!
[Android Apps and Games] Craig Capel:
Spent the day tracking down a small bug in saving it's gps state (ie is it on or off?) Anyway i think i tracked it killed it and smoked it...

This version now returns the phone state back to thier original settings you loose your phone or it's stolen... they switch gps and modem off, you send locate/sms to get your phone's location... where's my droid fails to get location!

You then remember you can send this app on via sms then where's my droid will give you their exact location... thiefs beware! Of course don't forget off or it will drain your battery!

Anyway update released, back to work on wake up notifications! :eek:
[Android Apps and Games] davidnovarro:
Sounds good, Im gonna try it.
[Android Apps and Games] Craig Capel:
Update due soon..

Since android supports wifi off when in sleep and the option to keep wifi on when charging, i've dropped "wifi when charging"

Now it's "ignore wifi" and "ignore gps" for people who need it..

Send sms allon/alloff to do that

And sound option - as requested
[Android Apps and Games] WilliamB3802:
Many Thanks!!

Great App. Very helpful!!

I really like this :D
[Android Apps and Games] Craig Capel:
Still not added the periodic checks ... after adding sound option i found a problem with the boot receiver not getting the activity settings! So now on boot up it should know the settings you last used! (Sound, wifi / gps)

All fixed, there is an update waiting...

William, thanks and any suggestions (other than periodic checks as im working on it :silly:) you have i'll do my best to add it...

Thanks all....
[Android Apps and Games] xnknown:
Great work but how is this different from all the other hundreds of battery savers on the play store, almost all of them can turn off hardware during sleep and then re-enable every x minutes to keep up notifications
[Android Apps and Games] Craig Capel:
Most disable the apps though, not put the phone to sleep.... but this offers remote (sms) wakeup i don't believe others have that...

You drop your phone, how do you track it? Apps like where's my droid will fail because gps/wifi etc is off... send on via sms then where's my droid will return your precise location...

others have too many ads, or popup/push notifications i don't believe in agressive advertising or malware for that matter, infact i have a pet hate for malware writers....
[Android Apps and Games] Bhargav4591:
So far so good ! Great app, :D

Will test further and report :good:
[Android Apps and Games] Craig Capel:
Report away! Would love to hear your findings :)

New build supports supression of all services, wifi/bt/modem/gps
[Android Apps and Games] Craig Capel:
People have been saying android kills the process and no notification to say so, other than no longer hearing the sound!

New version has a restart service directive..
[Android Apps and Games] saiz136:
Looks promising! Lemme try
[Android Apps and Games] Craig Capel:
And your findings? :)
[Android Apps and Games] Craig Capel:
New version includes an icon to apparently give you more priority for the app to prevent it being shut down everytime android gets low on memory!

I don't like silly icons but people keep saying it shuts down and takes too long to restart! Last chance to give it more priority...

Thanks looking forward to the reviews :)
[Android Apps and Games] Craig Capel:
Finally sorted out the timer issue, it will now wake up every 20 or 60 minutes or never in extreme mode...

For email notifications / alerts over wifi, it switches it on for 15 seconds, longer still might be required!
[Android Apps and Games] Craig Capel:
I Finally upgraded from KitKat to lollipop!

Lollipop Support 5.0+ full control over WiFi / Modem / GPS / BT for max battery life!

Turned out modem was untouched! Sorted that out.... back to ultimate power savings :)
[Android Apps and Games] Martinhdk:
Looking forward to test this man :)

---------- Post added at 10:22 PM ---------- Previous post was at 10:18 PM ----------

One question for now; will it be possible to leave Wi-Fi or mobile data connected if using data and/or connected to power.

I like to hear music and books with screen off....
[Android Apps and Games] Craig Capel:
Update - found an issue with timer so until i rewrite it this weekend it's in ultimate power saving mode ..

To answer your questions... you can disable / enable what you wish from in the app..

However, it used to have the option to keep on when usb is plugged in, now it's a ignore wifi option, because in android settings, you can tell it to keep wifi on when plugged in, having said that now i tracked down the 5.0 lollipop issues, i'll add it back because it's handy to have...

This weekend...
[Android Apps and Games] Martinhdk:
Sounds good, but you didn't answer my question about leaving connections on, when in use

:)
[Android Apps and Games] Craig Capel:
You can enable/disable what you like from the app...

Was the answer. ..
[Android Apps and Games] Craig Capel:
Ignore WiFi does just that... does no touch/ignores WiFi

Ignore BT does that

Ignore gps etc etc.. .

I'm not sure what you mean otherwise!
[Android Apps and Games] Craig Capel:
Craig's Root Battery Saver!

*Double battery life

*Rewritten core faster still (my Sunday gone lol)

*Priority service!

*Double battery life

*Faster Charging!

https://play.google.com/store/apps/details?id=saver.battery.craigs.craigsbatterysaver
[Android Apps and Games] Martinhdk:
You don't seem to get my point.

I don't want manually to enable or disable data or Wi-Fi if I am using it. The app shall monitor and if data is being used, connections should be kept on until finished.
[Android Apps and Games] Craig Capel:
Android is multitasking, there will be apps that still run with the screen off, so just how do you determine if an app is idle or not with the screen off?

Sure I could probably run through the processes monitor it's processor time then take an educated guess that something is running (while the screen is off?)
[Android Apps and Games] Craig Capel:
Miss read, data usage... OK I see where you're heading now, maybe if non system apps can access that kind of info
[Android Apps and Games] ratbags:
They can I think. Check out Leandroid.
[Android Apps and Games] Martinhdk:
Exactly. Am I right when I believe that this app is the only battery saving app that is focused on hardware lockdown?

So what if an app continuously try to enable hardware.... Won't that cause the device to be awake?
[Android Apps and Games] ratbags:
Leandroid is similar in principal to Craig's app. I use it and haven't noticed extra wake locks.
[Android Apps and Games] Craig Capel:
Ok, dumped the Timer native classes and wrote my own threaded timer classes, so for the next couple of builds i realse i am sorry but i'm simply fixing bugs with the new version...

Anyway 10x faster switching on and off, thread wait and screen on checks added a delay off function(my problems started here... thanks :/)

Anyway, any problems shout i'll sort it out! Thanks :)
[Android Apps and Games] BigiD16:
This and amplify, you'll get less than 1% drain over night. This app is growing better with each update.
[Android Apps and Games] Craig Capel:
Ok ... sorry about the lastest spree of updates, with each bug fix i found another bug hiding!

This last one which will appear online is the most stable of the last few builds, it will show in 40 minutes or so... again sorry, all these issues happen due to delaying shutdown :/
[Android Apps and Games] Craig Capel:
Version 7....

When shutting down the services, it will playback a different noise to when powering on the device (made it easier to understand)

There's now only a 10ms delay between each service before it was 100ms hence faster switching on and off..

Delay off option... this is what started all the problems, because it's threaded, you start it and 8 seconds later it finishes, however that then fires off even with the screen on (or did) causing it to both switch on and off at the same time! Not good, solved that and many more issue's...

If you have USB debugging on, i left in all the debug logcat info, so you can see what it does on shutdown/startup...

One last bonus...

Once you have the settings configured, reboot! the main activity is not run only the service - using just 2 - 4 meg of memory (but running the app will bloat it back up again... so to get the most out of the app, reboot... just saying :) )

Enjoy...

Technical info....

(Android Settings - application manager - running tab)

This will show you were all the memory is being wasted, even after freeing up the activity / destroy/ release the memory is not reclaimed (maybe when Android kills it and it restarts? I'll check it out...)
[Android Apps and Games] German_Malik:
Thx. :D
[Android Apps and Games] jonoathome:
Any chance on making this compatible with the Asus A1 840fhd.. Wouldn't mind checking this out
[Android Apps and Games] Craig Capel:
Which version of Android does it run?
[Android Apps and Games] Craig Capel:
I'm toying with the idea of reading data usage to see if the app requires wifi/bt/3g by reading how much data it's sucking...

But

What if it's a trojan/virus requiring bandwith... that would mean the battery saver never shuts down because of malware!

Thoughts?
[Android Apps and Games] toster88:
Hi,

in my case app doesn't turn data back on. Moto G XT1039 AOKP 6.01
[Android Apps and Games] TheAstriX:
6.0

Work in 6.0?
[Android Apps and Games] Craig Capel:
I don't know about data on version 6 (i'm still on 5 lol)

Have google totally disabled the ability to toggle data/modem on version 6? - all the calls the app sends are via SU/Root Shell so either you're not rooted or google have removed it? - but everything else toggles ok?

Other possibility (after you switch the screen off, give it a few seconds after you hear the shutdown noise, maybe it reads the modem as off not on (because it had not yet had time to switch it on!) enable all the services, screen off, count to 5 after the noise, switch on then pull down the menu (quickly) to see them toggling back on...
[Android Apps and Games] kumbangdesa:
Thanks.. Testing right now.. So far it working well.. :D
[Android Apps and Games] Craig Capel:
I've been working on Sparta Chat/ SCN's (time consuming..)

What about "turn off in X minutes" for example you're streaming internet radio on the way to work?
[Android Apps and Games] Craig Capel:
New version 7.1 has been uploaded to the playstore!

Basically it's got faster switching time, also less laggy when the screen is switched on!

Existing users - you'll see an update within the hour unless google decides to be an ass and delays it up to it's "max" publishing time of 24 hours :o
[Android Apps and Games] Craig Capel:
New build, switched to a thread pool to eliminate deadlock/cross over...

Added a root status check - so many people rating low stars because it don't work, yes it does you're just not rooted!
[Android Apps and Games] Craig Capel:
Added a task killer! - simply tick "FreeMem" and it will shutdown all open apps apart from the top one (one you're currently using)
[Android Apps and Games] Craig Capel:
Last couple of days i've been working with boot - receivers and optimization techniques, so next release will have the ability to speed up your phone from bootup, also removing double/triple entries that just slow the phone down... anyway i hope people are enjoying the latest build!
[Android Apps and Games] Craig Capel:
All done!

Simply hit the clean button to make your phone bootup like the day you bought it!

This now covers all the abilities of other battery savers and more!
[Android Apps and Games] TeamAndroid14:
I get force close when using this app. I'll try to send you some logs later on. I'm not sure if greenify is causing your app to force close, but I have to look at the logs. Thanks for your great work btw.
[Android Apps and Games] Craig Capel:
When you open it, it forces close? Or doing something causes it to happen?

You can hit the clean! Button followed by clean from the dialog box, reboot and if it still closes it's not greenify (are you talking about the latest in the last 10 hours version or older?)

Logs would be great!

Thanks....
[Android Apps and Games] :
Nice! hope your theory works ;)

1) Just a question, does this work with Greenify and Amplify?

2) Anyone have some feedback after using this app? good? bad?

Thanks anyway :)
[Android Apps and Games] Craig Capel:
It now has enough functionality to replace greenify/amplify completely.. as for reviews, there are a few on the playstore as reviews

This is more powerful than greenify/amplify and it's aggressiveness to save power is a bit much for some people lol
[Android Apps and Games] Craig Capel:
Anyone willing to review it? I'll maybe put you in the credits :P
[Android Apps and Games] jackeagle:
Mod Edit

Thread Closed per [OP] request.

jackeagle

Forum Moderator