yashsingh1/xdaforums huggingface dataset:
[Tasker Tips & Tricks] MishaalRahman:
I understand what you're getting at, but it's really not necessary to do such a thing. CPU cores clock down and all cores except for core0 usually shut down when the phone goes into sleep mode, so the amount of battery you're saving is negligible doing this. If your phone is running hot while the screen is off, then you likely have wakelock issues and that's something separate you need to tackle.
[Tasker Tips & Tricks] AJHylton:
Ohh I see, thank you for explaining. I would have thought that this would be implemented somewhere as otherwise it would have been a clear battery drain but I thought I'd double check lol
[Tasker Tips & Tricks] Ozonethegreat:
Doze Mode

What version of Android are you running? If you're on Marshmallow, adjusting the CPU may not be necessary as it has Doze mode and using either Naptime or Doze Settings Editor and adjusting the settings can defintely increase battery life when the device is sleeping.

If not, I suggest using PowerNap with Xposed and Greenify.

In fact, Greenify has Tasker integration so you can set it to hibernate apps upon screen off situations.

Of course, all the apps I listed need root access...

Another helpful resource to help with power saving can be found at http://xdaforums.com/nexus-5x/general/guide-advanced-interactive-governor-t3269557

You will have to adjust it based on your device and kernel of course, but I've experinced great power savings using a combination all I've mentioned
[Tasker Tips & Tricks] AJHylton:
Alright thank you for that, I'll take a look at those. I'm currently using a Oneplus Two on OxygenOS 2.2 which is based on KitKat. I have been looking at Xposed modules as that's what really made me root this phone but apparently I need to go through steps to make SeLinux permissive because at the moment nothing from Xposed works. And considering yesterday I spent hours unbricking this phone, I'm going to stop fiddling with it for a little while :laugh:
[Tasker Tips & Tricks] Ozonethegreat:
You can set SeLinux to permissive using the code below in your terminal app or adb shell (found here):

su
mount -o remount,rw /system
mkdir /system/su.d
echo "#!/system/bin/sh" > /system/su.d/permissive.sh
echo "setenforce 0" > /system/su.d/permissive.sh
echo "0" > /sys/fs/selinux/enforce
chmod 755 /system/su.d/permissive.sh

Or if that's too much for ya, SeLinuxModeChanger works as well. Keep in mind that Google marks this as harmful but that's only because they don't want to changing SeLinux.
[Tasker Tips & Tricks] AJHylton:
I have actually tried the SELinuxModeChanger to change it and when I run 'getenforce' in Terminal it says permissive but Xposed still doesn't work even then. The steps I was told to try are http://xdaforums.com/oneplus-2/general/guide-disable-selinux-to-allow-xposed-t3331105 which seems a little more intense lol.

I'm going to try the code now and see if that works, if it doesn't is it likely that that's not what's stopping Xposed from working?

Update: I tried the code and running getenforce on the terminal says permissive but the Xposed modules still dont have any effect when activated
[Tasker Tips & Tricks] Ozonethegreat:
Strange. Both worked for me and I've had no problems. Might be the rom you're running. I'm not sure.
[Tasker Tips & Tricks] dwaipayanray95:
this entire thing could be achieved with a init.d script which I used to use back in 2012.

Screen off- powersave governor...

screenon- normal governor
[LG V10 General] Akhayev:
Hello guys .. We have made a lot of groups for mobiles like samsung htc sony and lg g4 g3 and now we will make a new group for lg v10 ..so who wants to join send me a whatsapp msg on this number +962779004321
[Xperia SP Q&A, Help & Troubleshooting] Riazod:
Hi All,

My Sony Xperia SP was slow, so decided to root it using KingoROOT, which worked fine. Then I followed various tutorials from different sources to try and get CyanogenMod installed.

I followed every step, wiped the phone's original Operating System, and put the CM11 Huashan zip file in the SD card, but now it won't turn on at all. I have tried unsuccessfully various times this week, and have almost given up.

When I power on, I get a brief green light, then nothing. Not even the Sony logo- just blank screen.

I’m a newbie so don't know what happened exactly- maybe I didn't unlock Bootloader?

I'm not sure what went wrong, so links to the tutorials I used are below, (give you an idea of what might have happened):

I followed a YouTube video called Tutorial How to install CyanogenMod 11 M/Nightly build on Xperia SP, and various other tutorials, but except my phone didn't start :(

Anyone that can fix this is a genius, because I've tried so many times...

Any help is much appreciated.

Thanks :)
[Xperia SP Q&A, Help & Troubleshooting] xlance06:
http://xdaforums.com/showthread.php?t=2658952
[Xperia SP Q&A, Help & Troubleshooting] Riazod:
Trouble flashing stock ROM

I tried flashing this stock ROM: C5303_12.1.A.1.205_Generic GR taken from XDA,

and followed the instructions in the tutorial. However, I got the following error messages in flashtool:

13/042/2016 23:42:46 - INFO - Flashtool Version 0.9.19.8 built on 24-09-2015 22:00:00

13/042/2016 23:42:46 - INFO - Executing search strategies to find proxy selector

13/042/2016 23:42:47 - INFO - No proxy found for IE. Trying next one

13/042/2016 23:42:47 - INFO - Strategy firefox failed trying next one : No Firefox installation found

13/042/2016 23:42:47 - INFO - No proxy found for java. Trying next one

13/044/2016 23:44:20 - INFO - Syncing devices from github

13/044/2016 23:44:20 - INFO - Cloning devices repository

13/045/2016 23:45:05 - INFO - Devices sync finished.

13/045/2016 23:45:10 - INFO - Device disconnected

13/047/2016 23:47:20 - INFO - Device connected in flash mode

13/048/2016 23:48:01 - INFO - Device disconnected

13/048/2016 23:48:03 - INFO - Device connected in flash mode

13/048/2016 23:48:37 - INFO - Flash canceled

13/048/2016 23:48:44 - INFO - Device disconnected

13/048/2016 23:48:46 - INFO - Device connected in flash mode

13/049/2016 23:49:27 - INFO - Device disconnected

13/049/2016 23:49:30 - INFO - Device connected in flash mode

13/050/2016 23:50:10 - INFO - Device disconnected

13/050/2016 23:50:12 - INFO - Device connected in flash mode

13/050/2016 23:50:13 - INFO - Selected Bundle for Sony Xperia SP (C5303). FW release : 12.1.A.1.205. Customization : Generic GR

13/050/2016 23:50:13 - INFO - Preparing files for flashing

13/050/2016 23:50:48 - INFO - Please connect your device into flashmode.

13/050/2016 23:50:49 - INFO - Opening device for R/W

13/050/2016 23:50:51 - INFO - Reading device information

13/050/2016 23:50:53 - INFO - Unable to read from phone after having opened it.

13/050/2016 23:50:53 - INFO - trying to continue anyway

13/050/2016 23:50:53 - INFO - Start Flashing

13/050/2016 23:50:53 - INFO - Ending flash session

13/050/2016 23:50:53 - ERROR - Can't read a byte value

13/050/2016 23:50:53 - ERROR - Error flashing. Aborted

Been at ti for the last few hours, can't see what's wrong with it?
[Xperia SP Q&A, Help & Troubleshooting] lucasgta95:
really strange,

already flashed the drivers from flashtool?
[Xperia Z Q&A, Help & Troubleshooting] progox:
Hello,

today I rooted my Sony Xperia Z.

After unlocking the bootloader I did the next steps with Z_DooMLoRD_CF-Auto-Root-ported_FW-350.img and Z_DooMLoRD_insecure_FW-350.img.

After that I worte "fastboot reboot" to reboot the phone.

My issue now, is that the phone boots until the "Sony" writing , simultanously the red led in the upper right corner appears, then the display is black again and the LED off.

The phone repeats this now endless....

I hope you can help me!
[Xperia Z Q&A, Help & Troubleshooting] codfx:
What's your FW version?
[Xperia Z Q&A, Help & Troubleshooting] progox:
Sorry, but I dont know, I just rooted it.

Or is there a way to find it now?
[Xperia Z Q&A, Help & Troubleshooting] St.Jimmy90:
Connect it to your pc and open flashtool, it might tell's you what fw your on (not sure though as I haven't used it in some while) If not you have to flash either a stock rom, or another kernel with inbuild recovery and then a custom rom, depending on what you want.
[Huawei Ascend P7] globalint92:
I had a broken screen, ordered a new one on ebay, i replaced it, it works but i have a very annoying problem. Sometimes I touch the screen or flick to some direction, the phone behave like i have touched the screen 5 times on different points or it flicks somewhere 3 times. But i only touched it once. I cant type on the keyboard with this issue... And it only happens "sometimes".

Anyone any idea?

I would highly appreciate. :eek:
[Huawei Ascend P7] miljenko:
I had this problem before and it can be few issues.

1. Not glued properly to the frame

2. Not grounded onto mainboard (somehow)

3. Take off or install screen protector (helps sometimes)

4. Broken screen :(
[General Topics] jhonshan:
We are a quality Refurbished phone Supplier. Where you can buy a Refurbished iPad with warranty. We have a huge collection of used mobiles. You can get a mobile in cheap price or we can say wholesale rate.
[General Topics] GuestK0087:
11. Don’t post with the intention of selling something.

Don’t use XDA to advertise your product or service. Proprietors of for-pay products or services, may use XDA to get feedback, provide beta access, or a free version of their product for XDA users and to offer support, but not to post with the intention of selling. This includes promoting sites similar / substantially similar to XDA-Developers.com.

Do not post press releases, announcements, links to trial software or commercial services, unless you’re posting an exclusive release for XDA-Developers.com.

Encouraging members to participate in forum activities on other phone related sites is prohibited.

Thread closed.
[Samsung Galaxy S7 Questions and Answers] skiddingus:
"SD card encryption" notification and "SD card" notification repetitively appearing

I keep getting two notifications over and over about my SD card being encrypted. I can clear them by tapping on them but they come back on a reboot or sometimes without a reboot if I don't use my phone for a while. Does anyone know how to get rid of these and keep using SD card encryption?

[IMG="screenshot"]http://imgur.com/XlunP3f[/IMG]
[Samsung Galaxy S7 Questions and Answers] kasoban:
Same here :( (SM-G930F @ G930FXXU1APAW)

It's the same two notifications you get when your initially set up the SD card encryption. I hope this will not become an issue later on that leads to data loss.

What's also confusing is that the one notification is a persistent one that can't be dismissed by swiping, but disappears when tapped on (without starting any visible Activity).
[Samsung Galaxy S7 Questions and Answers] skiddingus:
Exact same for me. I tried a different sd card with the same result so it is not the card's fault. For whatever reason I have gone about 12 hours without the notifications. I think this is a record but they are due again any time now.
[Samsung Galaxy S7 Questions and Answers] skiddingus:
OK I noticed something weird. I think I figured out why I have gone 12 hours without an SD card notification. Yesterday when I was getting the nagging notifications I did speed tests on it and it tested fine. I just tried to do a speed test today and the sd card was not visible to the testing apps. The files on the sd card could be seen in the gallery but 2 different speed testing apps could not see the card. I unmounted it and remounted it and immediately the 2 nagging notifications were back. Now the speed test apps can see the card again. There is definitely something weird going on with this sd card slot. I saw someone that had their phone replaced for this issue but I don't think it is a hardware problem. Anyone have any ideas?
[Samsung Galaxy S7 Questions and Answers] filougarou1979:
Hi Guys ! Just format your micro SD as Exfat standard and the problem will be gone (It works for me) !
[Samsung Galaxy S7 Questions and Answers] skiddingus:
You mean in a computer? I formatted it in the phone several times. It's hard to imaging that the phone would not use the proper formatting. I'll give it a try though.
[Samsung Galaxy S7 Questions and Answers] skiddingus:
I tried what you are suggesting and I am still getting the notifications. Is this a problem with my phone or are others getting this?
[Samsung Galaxy S7 Questions and Answers] skiddingus:
Well I think my issue has been resolved. I went to see the Samsung reps at Best Buy to see if this notification was a known bug. They tried flashing the stock firmware back onto the phone. About 30 minutes later the notifications came back again. At this point they just exchanged my phone and I have only gotten the notifications on boot up as expected on the new phone. It looks like I had a hardware issue after all.

Update: I just got the notifications again. It's been over 24 hours which is a record but maybe it is a software bug. Who knows.
[Samsung Galaxy S7 Questions and Answers] paulsavage:
Thanks for updating about getting it again - I was just about to ask. :)

I too have the issue and am seeing the same sporadic behavior as everyone else (gone for a day, then persistent for a day, etc). I really hope it's a software issue that can be fixed OTA. If it happens to be some kind of weird hardware design flaw it will surely be months before everyone gets a repair/replacement.
[Samsung Galaxy S7 Questions and Answers] Pierre118:
What kind of SD card do you have?
[Samsung Galaxy S7 Questions and Answers] paulsavage:
Mine is a SanDisk Ultra 128GB (brand new). I've also tried a Samsung card with same results.
[Samsung Galaxy S7 Questions and Answers] skiddingus:
I have now tried 4 different SD cards with the same results. I am using the Sandisk Extreme Pro card now. I went almost a day with no notifications and tonight I am getting the SD card notifications every hour or so. I have also noticed that sometimes when I wake my phone there will be a notification that says "still ejecting sd card". It will appear for a few seconds and then go away. Then the other 2 persistent notifications will appear. They say "SD card" and "SD card encryption". It appears that my SD card is getting ejected randomly and then reconnects causing these 2 notifications.
[Samsung Galaxy S7 Questions and Answers] paulsavage:
Yep, sounds about right. I just caught my phone at the moment it happens and it's the exact same symptoms of removing/reinserting the SD card. I get two brief notifications of "SD Card unexpectedly removed" and "Preparing SD card", followed by the 2 static "SD card encryption" and "SD card" notifications.
[Samsung Galaxy S7 Questions and Answers] skiddingus:
Sounds like it is definitely a bug. Hardware or software? I'm hoping software since I have had 2 phones with identical symptoms.
[Samsung Galaxy S7 Questions and Answers] Galactic2:
take out your microsd card and format it using your computer... i haven't had an SD card notification for at least a week now.
[Samsung Galaxy S7 Questions and Answers] paulsavage:
What file system did you use?
[Samsung Galaxy S7 Questions and Answers] skiddingus:
I tried formatting in a PC as well with no help.

I'm getting the notifications about 2-3 times a day now.
[Samsung Galaxy S7 Questions and Answers] paulsavage:
(knock on wood) Going on 48 hours with no notifications. I've made no changes.
[Samsung Galaxy S7 Questions and Answers] paulsavage:
Got an OTA this morning and was pretty excited. Uuuuuuuuuuuntil the notifications came back full force after reboot. :(
[Samsung Galaxy S7 Questions and Answers] neilwashere:
Weirdly enough as soon as I read this thread this started happening to my phone. Got 2 random notifications within an hour. Random thought but how is everyone's network when these notifications are happening. I've only got them at work and I switch from 4g to 3g to 1x constantly at my workplace. Could that be the issue maybe?
[Samsung Galaxy S7 Questions and Answers] paulsavage:
I doubt it's network-related. I've gotten them everywhere - at work in a data center with 2 ft thick walls and no service, at home on wifi, other places with 5 bars LTE, etc.
[Samsung Galaxy S7 Questions and Answers] neilwashere:
Yeah just took the ota update and now they seem to be appearing more :( I hope Samsung already knows about this
[Samsung Galaxy S7 Questions and Answers] chad187:
Anybody figure this out... I can't access any of the data on my memory card now very frustrating :( it worked fine for a week after I got this phone and I've been stuck with this notification for the last 2 days unable to use the card.
[Samsung Galaxy S7 Questions and Answers] neilwashere:
Same here, starting to think this is a defect with our phones since not everyone has it. Was using an app on my SD card last night and it booted me off cause it thought it was ejecting my SD card. This is getting really annoying
[Samsung Galaxy S7 Questions and Answers] speedme:
I also get this 1 notification, but only after boot.

I'l swipe it away and it doesn't come back since, untill of course a new reboot.
[Samsung Galaxy S7 Questions and Answers] chad187:
Yes none of my files appear even when I plug into computer... Oddly enough it still has the option encrypt/decrypt sd card and when I start the phone it ask for sd card and password... When I go to the storeage settings the SD card just says "ready"
[Samsung Galaxy S7 Questions and Answers] skiddingus:
Mine seems to happen most just as I wake the phone. Sometime the notifications are already there and sometimes I see "ejecting card" for a couple seconds and then the notifications appear. For some reason the phone seems to keep unmounting and remounting the card randomly when the screen is off. I've had it happen anywhere from once every 15 minutes to once per day randomly.
[Samsung Galaxy S7 Questions and Answers] AndroiderM:
I only get the notification after a reboot guess I got one of the good ones.

AT&T variant with lexar 128gb 633x left over from my note edge
[Samsung Galaxy S7 Questions and Answers] chong67:
I got confirmation # for another S7. It will replace my S7 I got 2 weeks ago. Nobody have been able to figure out why I get update error. It never work every since I got it.
[Samsung Galaxy S7 Questions and Answers] skiddingus:
Let me know if the new phone fixes the problem. I had mine swapped out at Best Buy and the new phone does the same thing. I doubt I got 2 bad phones but I guess it is possible.
[Samsung Galaxy S7 Questions and Answers] Christian99:
I get the same issue

I have read on many forum about the issue of the external SD being somehow "ejected". People tried every possible solutions, including buying new SD cards, reformatting, etc. I had this issue myself. I did not find any solution neither anyone has found one on other forums. But 2 days ago I did found it.

Everytime you restart your phone, the issue will come back. In order to get rid of the constant notification, here is what I found. It is not a hardware problem (bad connection, etc) neither a software issue as everybody believes.

It is simply that the phone need to scan the SD everytime you restart it. And the notification will continue to come back until you do this.

1) open the notification. This will bring you directly in your SD content.

2) open each folder you have on it. This will make the phone scan it's content. And you have to do it in order to get rid of the notification.

This needs to be done everytime you restart the phone. Once you have done the 2 steps above, your SD content will stay "locked" untill you start the phone again.

I have been a long time member of xda and I did not post for over 2 years. So if my post is not in the right section please do not hesitate to move it to the right section / tread.

Thank you and I really hope this will help a lot of of us.

---------- Post added at 09:08 AM ---------- Previous post was at 08:48 AM ----------

I have read on many forum about the issue of the external SD being somehow "ejected". People tried every possible solutions, including buying new SD cards, reformatting, etc. I had this issue myself. I did not find any solution neither anyone has found one on other forums. But 2 days ago I did found it.

Everytime you restart your phone, the issue will come back. In order to get rid of the constant notification, here is what I found. It is not a hardware problem (bad connection, etc) neither a software issue as everybody believes.

It is simply that the phone need to scan the SD everytime you restart it. And the notification will continue to come back until you do this.

1) open the notification. This will bring you directly in your SD content.

2) open each folder you have on it. This will make the phone scan it's content. And you have to do it in order to get rid of the notification.

This needs to be done everytime you restart the phone. Once you have done the 2 steps above, your SD content will stay "locked" untill you start the phone again.

I have been a long time member of xda and I did not post for over 2 years. So if my post is not in the right section please do not hesitate to move it to the right section / tread.

Thank you and I really hope this will help a lot of of us.
[Samsung Galaxy S7 Questions and Answers] skiddingus:
Great suggestion and I wanted to try it but I must have over a hundred folders buried on my sd card. I opened each of the top level folders because there are only about 4. This will not be feasible if you need to open ALL folders. There are just too many of them.
[Samsung Galaxy S7 Questions and Answers] Christian99:
Agreed with you. I mainly use photo and music folders. I have done it just for a few of them. Notification has not come back since 2 + days.
[Samsung Galaxy S7 Questions and Answers] chad187:
I restarted my phone a bunch of times and like that it started reading my memory card again.... It worked fine for 2 days... Eventually I had to restart my phone and what do you know I'm all the way back at sqare one no memory card accsess :(
[Samsung Galaxy S7 Questions and Answers] paulsavage:
I have followed the instructions and so far (only a few minutes), no notifications. I will report back again tomorrow with a status. I do not agree, however, that this is not a bug. Call me high maintenance but I don't think the average person should be expected to go through these steps to remove notifications that are quite obviously useless.

Also, if you read my comments earlier in the thread, the behavior is more than just the encryption notifications. It is behaving exactly as it would if you removed and re-inserted the SD card so I find it very hard to believe that this repeated simulation of removing/re-inserting the SD card is by design.

Edit: The only thing I did was browse into all of my top-level folders as mentioned by skiddingus. No notifications yet after about 20 mins - which is already an improvement. I would have definitely gotten them by now.

Edit 2 (30 mins later): They're back. :(
[Samsung Galaxy S7 Questions and Answers] skiddingus:
I'm going to call my problem fixed finally. After trying 4 different sd card and formatting every way imaginable I had my first phone replaced. To my surprise, the second phone had the same issue. After fighting it for a week, I had the second phone replaced and the problem is gone. The guys at Best Buy looked at me like I was crazy when I said the second phone was bad. I had trouble believing it myself but the 3rd phone has over 2 days on it without a single issue. It looks like there may be a lot of phones out there with sketchy sd card slots to me.
[Samsung Galaxy S7 Questions and Answers] paulsavage:
I hate to say it but don't get too excited just yet. I have gone up to three days without one and here I sit, getting them all over again.
[Samsung Galaxy S7 Questions and Answers] chad187:
Ughhhh so frustrating ruining my experience with this phone... Wish I had just never encrypted in the first place. I can't find any other information on the Web about this problem either.

Any tricks to getting the phone to read my SD card?