yashsingh1/xdaforums huggingface dataset:
[Samsung Captivate Glide] qqisa:
Hi i've been looking for ways to make battery of the glide last at least a complete day and I found this step by step tutorial in a post of another forum to automate your phone using tasker but I think it is an outdated version of the app so I thought I should post an updated one here and I hope you find it useful.

this method made may glide last around 3 days without a charge. Light use but still 3 days is great.

The idea is simple.

turn on wifi and sync only for 5 minutes every hour so you don't miss any notifications and saves battery

open tasker

first you have to create a task. tasks are the actions you want your phone to do.

in the TASK tab press + to create a new task

name the task AUTOSYNC ON

once inside the AUTOSYNC ON task you have to create 5 subtasks

1. WIFI ON: press + / net / wifi / (set) ON / then go back

2. SYNC ON: press + / net / autosync / (set) ON / then go back

3. WAIT: press + / task / wait / (minutes) 5 / then go back

4. WIFI OFF: press + / net / wifi / (set) OFF / then go back

5. SYNC OFF: press + / net / sync / (set) OFF / then go back​

Once you has finished setting the task, you have to create a profile. The profiles are the conditions that have to be met in order to activate the selected tasks

go to the PROFILE TAB

press + / time / uncheck FROM / check REPEAT / every 1 hours / uncheck TO / then go back

Thats it.

Now when the profile is on, your phone will turn on wifi and autosync every hour to check for email, facebook, etc., notifications and after 5 minutes it will turn off wifi and autosync saving battery

That is only a general use of this profile

you can customize it according to your needs for example some variations are:

if you are not around a wifi area, you can modify the task

MOBILE DATA ON

AUTOSYNC ON

wait 5min

MOBILE DATA OFF

AUTOSYNC OFF​

you can also set a time frame, for example, you can modify the profile FROM 8am / REPEAT every 1 hour /TO 4pm (the period of time you are not at home) and when you get home just turn of wifi and connect your charger when needed

This is just some basic use of the tasker app.

Here are some more advanced uses of the app from xdadevelopers http://www.youtube.com/watch?v=wbK3OHK1VVo&list=PLgLZvFga2ml7niRl0HiP4e6CU2q-JQzkj

hope you find it usefull

PD. IF FOR ANY REASON YOU NEED A PROLONGED STABLE USE OF WIFI OR DATA (FOR EXAMPLE ONLINE GAMES OR SKYPE) YOU SHOULD TURN THE PROFILE OFF SINCE IT WILL CUT YOUR CONNECTION.

If anybody knows a better way to automate the phone using tasker in order to save battery or to improve the usage of the glide in any way, I invite you to comment down below
[Samsung Captivate Glide] seekdatruth101:
I got tired of the stock battery life and bought an extended life battery... So I could only imagine how much life I would end up with on that sucker!
[Samsung Captivate Glide] qqisa:
betterX batterY

JUST FOUND THIS APP THAT TURNS OFF WIFI DATA BLUETOOTH EVERYTIME THE PHONE IS LOCKED AND TURS THEM ON WHEN YOU UNLOCK.. AND ALSO SYNCS EVERY ESPECIFIED TIME.. DUH.. ALL MY TUTORIAL FOR NOTHIN.. ANYWAY HERE IT IS

BETTERX BATTERY

TRIAL VERSION: https://play.google.com/store/apps/details?id=com.alienbrainapps.betterxbatterytrial&hl=en

PAID VERSION: https://play.google.com/store/apps/details?id=com.alienbrainapps.betterxbatterypro

IN ANY CASE, TASKER CAN DO MANY OTHER THINGS
[Atrix 4G Q&A, Help & Troubleshooting] LimaBEERRE:
Any rom with 3.1.10 kernel and HDMI support?
[Atrix 4G Q&A, Help & Troubleshooting] Toledo_JAB:
I would like to ask you to look for yourself ;)

Thread closed
[One (M7) Q&A, Help & Troubleshooting] buju001:
Hi guys!

I have an HTC One with power buttons bricked and i want to change kernel with one having the sweep2wake function implemented.But in rest i wanna be like stock.So,i really please to suggest me a kernel much closer to stock but with s2w function for stock 4.3 rom with sense 5.5.Thanks you very much!
[One (M7) Q&A, Help & Troubleshooting] poondog:
Bulletproof kernel may be your answer :)
[One (M7) Q&A, Help & Troubleshooting] buju001:
Now i read about it,and yes,seems to be much stock than other.So i will give it a try with last version.

Thanks you very much!Cheers.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] mfreeman3769:
Hello,

I have tried to downgarde S4 i337m Bell Canada from 4.3 to 4.2.2. Sam Mobile version - and the flash crashes at 2% (fails) using ODIN. Using Odin I can flash back to 4.3 and it works.

Is this an issue with the firmware file itself, or do I need to root and prep the phone in any other way?

I think the file is the cause, I don't see how the Phone's 4.3 would 'block' the flash.

Thanks,
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] RockRatt:
I believe it is ALL S4's that took the updates to 4.3 and IF you try flashing back from 4.3 to 4.2.2 you can brick your phone. Check out the international S4 forums and see these results. The bootloaders do NOT ALLOW going backwards any longer. The same thing is happening on the S3's that updated to 4.3 as well. At least with the S3's they can still get a custom recovery and flash any Roms, including 4.2.2 based Roms that do not flash bootloaders.

Sent From My Spiderman,Ironman,Red,Dark Blue,Green, GreyedOut BadAss Themed I337
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] HiTideBlastoise:
I thought you could on the 1337m.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] SaHiLzZ:
Use mobile odin and flash the old firmware. MobileOdin does not flash bootloaders. Also I have seen 4.3 bootloader mixed with 4.2.2 firmware disables wifi for some reason.

Let us know how it goes.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] mfreeman3769:
Mobile Odin not working in 4.3 .... :(
[JASJAR, XDA Exec, MDA Pro General] stevelamb121:
hi guys.

I want to customise my sms alerts, and know it has to be a .wav file and dropped into the sindows folder.

it shows up in sounds and notifications, but always plays silent...

I have tried 11khz with 8/16/24 bit sound....mono/stereo..and always silent!!

yet the files play in WMP. any ideas...or does anyone have a working one and can tell me the exact format of the .wav file?

Thx
[JASJAR, XDA Exec, MDA Pro General] stevelamb121:
52 views and none of you guys have an answer.... dont tell me i've stumped ya :D
[JASJAR, XDA Exec, MDA Pro General] deadmetal:
Hi,

As far as I know all .wav files need to be 44100 hz before they can be used as smstones. I had to convert some tones from 8000 hz, 8 bit to 44100 hz, 16 bit before they could be used.
[JASJAR, XDA Exec, MDA Pro General] ping79:
does anybody know how to assign a special sms sound to a contact?
[JASJAR, XDA Exec, MDA Pro General] Robson:
to assign sms sounds per contact you would have to use mortring. it also allows you to customize the ringtone per contact. there's another third party app which allows you to do this...forgot the name though...

mortring is here in this forum somewhere...do a search and it should be there.
[JASJAR, XDA Exec, MDA Pro General] dima_the_chief:
Is there any opportunity to have an SMS alert sound been heared through a BT handsfree?

In an intensive urban walking traffic I can not feel the vibration of my device, and miss SMSes and alerts.
[JASJAR, XDA Exec, MDA Pro General] stevelamb121:
well, as per a couple of posts above, I have tried to format the .wav files to 44100 khz, but still silent, could this be a fault?
[JASJAR, XDA Exec, MDA Pro General] shaun_inuk:
sms tones

they must be pcm wav files, they work a treat
[JASJAR, XDA Exec, MDA Pro General] arvind09:
Hi

Try using a third party software like 'Ringo" by Electric Pocket works like a charm,and you can customize your sms alerts for any number of contacts,hope this helps.
[JASJAR, XDA Exec, MDA Pro General] hanmin:
Download the WAV file you had into your PC.

Right click on it, select "properties". Select the "Summary" tab.

Click on the "Advance" at the bottom right if you have that button.

You should have the following properties

Bit Rate: 1411kbps

Audio sample size: 16 bit

Channels: 2(stereo)

Audio sample rate: 44Khz

Audio format: PCM

If yours is as above, I have no idea. If not, try to make it the same. I use the "Sound Recorder" software in Windows to do my converting. Simple and easy.
[Samsung Galaxy Mega] vizza:
My phone is new. I did nt have any prob until now. I face lag while playing temple run. any solution?
[Samsung Galaxy Mega] johnw91498:
Return it and get another one. My first Mega had this problem and the AT&T boys said it was bad memory. Not sure if that was the case but didn't care as I got a new phone.
[Samsung Galaxy Mega] vizza:
It always feels bad when u got a new phone and find this kind of problem :crying:
[Samsung Galaxy Mega] Vignarath:
Re:

You must replace it..
[Motorola Atrix HD] tember1214:
OK so I've got everything set up running Ubuntu 13.10 and stared trying to build cm11. I'm at the point if building the ROM now. I get this error. I've been trying to figure it out the past few nights.

trying to build for atrix hd and getting this error!!!

Any ideas???

No such item in brunch menu. Try 'breakfast'

matthew@matthew-HP-Pavilion-dv5-Notebook-PC:~/cm11$ breakfast mb886

including vendor/cm/vendorsetup.sh

build/core/product_config.mk:238: *** _nic.PRODUCTS.[[device/motorola/mb886/cm.mk]]: "vendor/motorola/mb886/mb886-vendor.mk" does not exist. Stop.

Device mb886 not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).

Traceback (most recent call last):

File "build/tools/roomservice.py", line 76, in

result = json.loads(urllib.request.urlopen(githubreq).read().decode())

File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen

return _opener.open(url, data, timeout)

File "/usr/lib/python2.7/urllib2.py", line 410, in open

response = meth(req, response)

File "/usr/lib/python2.7/urllib2.py", line 523, in http_response

'http', request, response, code, msg, hdrs)

File "/usr/lib/python2.7/urllib2.py", line 448, in error

return self._call_chain(*args)

File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain

result = func(*args)

File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default

raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

urllib2.HTTPError: HTTP Error 403: Forbidden

build/core/product_config.mk:238: *** _nic.PRODUCTS.[[device/motorola/mb886/cm.mk]]: "vendor/motorola/mb886/mb886-vendor.mk" does not exist. Stop.

** Don't have a product spec for: 'cm_mb886'

** Do you have the right repo manifest?
[Motorola Atrix HD] tember1214:
Figured it out. Running a build now.
[Motorola Atrix HD] penser:
Please tell us HOW you figured it out. And what are you using for your android manifest or whatever file it was that has the razrqcom repos in it? I asked skeevy once but I couldn't figure it out. Thinking about compiling (or trying to compile) a couple ROMs.
[Motorola Atrix HD] tember1214:
Ok jumped way ahead of myself haha. Not sure why I thought it would be that easy. Got past that error not now getting other errors that stop the build. To tell you the truth I'm not even sure how I got past the first error. Lots of trying different things. I'm surprised I even got this far since I have no experience what so ever with Linux and commands. I'm just gonna Keep trying to fix them myself and post them here if not in hopes someone possibly [MENTION=4487948]skeevydude[/MENTION] can help. We'll see how it goes. It's taken about a week to get this far since I only get about 5-6 hours a week to try and figure these things out since I have a wife and 4 kids. I'll eventually figure it out and build from source hopefully!!!
[Motorola Atrix HD] tember1214:
Holy crap i finally did it!!! Sorry kinda excited haha. Only took 8 frigin hours to build for some reason but whatever. I know it's nothing special and everyone is already running this. Thanks to CM, [MENTION=4487948]skeevydude[/MENTION], [MENTION=546729]epi[/MENTION]nter, [MENTION=1155291]echofive[/MENTION] [MENTION=420530]arrrghhh[/MENTION], [MENTION=4112553]dhacker29[/MENTION] [MENTION=868648]sylvan[/MENTION] and anyone else I forgot. You guys are the inspiration for me even beginning this project. Gonna learn how to cherry pick now and see about incorporating halo and a few other things I like.
[Motorola Atrix HD] TecknoFreak:
Good job bro congrats

Now you should make a tuto how you did it to inspire others and get some credit. :)

---------- Post added at 09:38 AM ---------- Previous post was at 09:31 AM ----------

Have you tried building aosp from source? I tried it but I get errors.
[Motorola Atrix HD] penser:
What are you using for your local_manifests.xml? Just want to make sure I have it right.
[Motorola Atrix HD] tember1214:
All I did was follow the exact steps on cm's website for building from source only those steps haven't been updated for cm11 so where they have cm 10.2 you just substitute that with cm11. Pretty straight forward guide.
[Motorola Atrix HD] tember1214:
Running Ubuntu 13.10
[Motorola Atrix HD] souljaboy:
How do you run programs(eg. firefox) after you installed it with apt get? I can't find it where it gets installed.
[Motorola Atrix HD] penser:
penser

Ah, alright. Looks like I'll have to guess and check to with it.

Currently it looks like

<project path="kernel/motorola/mb886" name="arrrghhh/android_kernel_motorola_msm8960-common" remote="gh" revision="cm-11.0_mod" />
<project path="device/motorola/mb886" name="razrqcom-dev-team/android_device_motorola_mb886" remote="gh" revision="cm-10.2" />
<project path="device/motorola/msm8960-common" name="razrqcom-dev-team/android_device_motorola_msm8960-common" remote="gh" revision="kk" />
<project path="vendor/motorola/mb886" name="/razrqcom-dev-team/proprietary_vendor_motorola" remote="gh" revision="cm-11.0" />

But I'm sure I screwed it up somewhere if someone wants to take a look (all that above is preceded/followed by the appropriate headers and tags, that's just the important part of it).
[AT&T, Rogers HTC One X, Telstra One XL] iice_gold:
sound disappears from My htc one XL occasionally :rolleyes:

when im calling anyone or receiving a call from anyone their is no sound and this happens in games too

the sound works only when i put the phone in flight mode then turn it off after that the sound comes again or i restart the phone

i did factory reset but still sound bug . I need a solution cazz the phone now is useless i cant make phone calls or listen to music ...els im tired of restarting the device from time to time

plz help​
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
You need to provide more information.

What are your bootloader details? What ROM are you on? Are you using a custom kernel? Have you tried running an RUU?

Sent from my Evita.
[AT&T, Rogers HTC One X, Telstra One XL] iice_gold:
i have never changed anything in the phone since i bought it 5 months ago :rolleyes: & i have never used any ruu :( even the update os 4.2.2 sense 5 hasn't came to my phone yet :confused:

anyway ...here info that i understood from what you asked about

android 4.1.1 sense 4+

software number 1.01.401.03

Kernel version: 3.4.10-gb581061 root@abm036 #1 SPM PREEMPT

browser version : webKit/534.30
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
Where did you buy the phone? I have reason to believe it's second hand. I'll need to see your bootloader details. To get to the bootloader power your phone off, once it's off hold the volume down button, and hold the power button (so you're holding both buttons together), after a couple of seconds let go of power but keep holding volume down until you reach the white screen with text, this is your bootloader, please post the first five lines.

Sent from my Evita.
[AT&T, Rogers HTC One X, Telstra One XL] iice_gold:
locked

evita_utl put ship s-on rl

hboot-2.10.0000

radio-3.12.38.00.24

openDSP-v33.1.0.45.1128

eMMC-boot

Dec 21 2012.22:44:17150​
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
Ahh, the middle eastern variant. Where did you buy the phone? How old is it? A problem like this should qualify under warranty.

Sent from my Evita.
[AT&T, Rogers HTC One X, Telstra One XL] iice_gold:
I bought it from KSA ( Saudia Arabia ) im from Egypt so i cant qualify under warranty.

i bought it last June this year 2013​
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
I'm not sure how you can fix this. Normally I'd suggest running an RUU but there is no RUU available for your variant.

Sent from my Evita.
[AT&T, Rogers HTC One X, Telstra One XL] iice_gold:
so no solution

thanks
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
Not that I can see at the moment.

Sent from my Evita.
[AT&T, Rogers HTC One X, Telstra One XL] iice_gold:
i've found a solution insteed of restarting the device but its noisy ....... when sound disappears i open the dailing number then call anyone and i put the speaker on then click end call after that the sound works normally till it disappears
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
It's a really odd fault that you're experiencing. Are you able to contact HTC directly? Maybe they can repair it for you.

Sent from my Evita.
[AT&T, Rogers HTC One X, Telstra One XL] iice_gold:
no i can't:crying:
[Galaxy Note 3 General] dr.ketan:
Here is my experience with proximity sensor, and finally got it working back with manual recalibration. So sharing here with you if any one having same issue.

Symptoms : Weired behavior of proximity sensor, I had issue like screen was not turning On after call ends. Air call accept not working

Test : Dial *#0*#

Now this will open up menu, select sensor from there and putting hand near proximity sensor screen should turn green and vibrate. I have had that, but when moving hand away from proximity sensor it was not turning back to normal stat. So once proximity sensor gets activated, it was remaining On always.

Suggestion from net : There wa plenty of cases I have seen having same issue on note3. there was different suggestion like turning auto brightness off / removing Ext SD card was worked for other but not worked on my case. Also someone asked to blow compressed air in earpiece to clean sensor, that helped but just for few minutes only.

Solution that was worked for me.

First thing this setting files remains in EFS folder, so if you have EFS backup, you can try restoring it. In my case I had old EFS backup (MJ1) and have ROM MK2, and later I realized, there is some file difference in both version. (samsung have again screwed EFS, Thanks :( )

So finally I need to manually recalibrate proximity sensor and that worked fine and since couple of hrs using it without issue.

Requirements :

-Adb access and rooted device.

You should have rooted device, also make sure USB debugging is ON

Connect device to PC and run adb shell

Type following command

cd /sys/devices/virtual/sensors/proximity_sensor/

then

cat state #blank value

You will get some value(blank value), note that value. In my case it was 85.

Now enter this command to get actual configuration value

cat prox_cal

you will get some value, note that value too. In my case it was 46,166,126

Now make total of blank value and actual value(first part) , e.g. in my case it was 85+46 (red above) = 131

Now you need to find HEX value for 131. Get from here OR Here

So in my case it was (HEX value for 131) 83

Now you need to write this value in prox_cal file in EFS folder. For this you need,

Type this with adb

su

Grant supersu permission from device if ask.

then

echo -en $'\x83' > /efs/prox_cal

here 83 is my value, you have to replace with your.

then

sync

Now last step you needs to change permission. here is three steps for that.

chown system:system /efs/prox_cal
chmod 644 /efs/prox_cal
sync

Reboot device and check proximity sensor is working fine.

GoodLuck !

Referred too many threads on XDa and google, main credit goes to [MENTION=4632492]greaty[/MENTION] for clear instruction.
[Galaxy Note 3 General] dr.ketan:
Sorry intended to post on Note3 general forum.

Mod please move this thread.
[Galaxy Note 3 General] dcpathak:
Hi dr.Ketan,

Good morning!

Sometime back I wrote to you about the proximity sensor not working and also about the weird results I was getting with adb. You told me to wait for some time as you were busy with the kitkat rom for note 2. If you are relatively free now, would you please guide me in this regard. I'm pasting the results I get on adb:

"Microsoft Windows [Version 6.3.9600]

(c) 2013 Microsoft Corporation. All rights reserved.

C:\Users\Admin>adb devices

List of devices attached

4df723a360****** device

C:\Users\Admin>adb shell

shell@t03g:/ $ cd /sys/devices/virtual/sensors/proximity_sensor/

cd /sys/devices/virtual/sensors/proximity_sensor/

shell@t03g:/sys/devices/virtual/sensors/proximity_sensor $ cat state #blank valu

e

#blank value <

1

shell@t03g:/sys/devices/virtual/sensors/proximity_sensor $ cat prox_cal

cat prox_cal

11,9

shell@t03g:/sys/devices/virtual/sensors/proximity_sensor $"

You would have noticed that:

1. Once I punch in a command in adb, it puts the cursor at the end of the line rather that at a new line;

2. 'cat prox_cal' is giving me only two values;

3. If I add the blank value, i.e., 1 and the first digit of the cat prox_cal, i.e., 11, I would get 12 and a hex value for the same as 'C'.

Is it normal? If you are busy , would appreciate if you can indicate some resources regarding adb and android :cool:

regards,

dcpathak
[Galaxy Note 3 General] dr.ketan:
yeah ut can be any so better first use that value and see if that works or not. If doesn't work then let me know.

you have to use this

as per instruction and don't forget to do it with Supreuser (root access)
[Galaxy Note 3 General] dcpathak:
Did that and it seems to have solved the problem.

Interesting observation: this time the blank value increased to 14 so corresponding hex was E. used that and problem solved.

Any idea why commands were starting from the same line as the previous command?

Thanks and regards,

dcpathak
[Galaxy Note 3 General] psycho1200:
Thanks man, finally a solution for the promity sensor i really appresiate that you are sharing this with us i finally will get my prox sensor working
[Galaxy Note 3 General] psycho1200:
i wonder if this value is a normal value

shell@klte:/sys/devices/virtual/sensors/proximity_sensor $ cat prox_cal

cat prox_cal

2013274108,2013274228,2013274188
[Galaxy Note 3 General] a5ian300zx:
Hi,

you my friend are a legend, this works finally for me again after over month putting up with it.

Thanks
[Galaxy Note 3 General] hirdimas:
what should i do it's said not found?

Microsoft Windows [Version 6.1.7600]

Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Windows\system32>adb devices

List of devices attached

4df79c57088840c5 device

C:\Windows\system32>adb shell

shell@t03g:/ $ cd/sys/devices/virtual/sensors/proximity_sensor/

cd/sys/devices/virtual/sensors/proximity_sensor/

/system/bin/sh: cd/sys/devices/virtual/sensors/proximity_sensor/: not found

127|shell@t03g:/ $

SOLVED
[Galaxy Note 3 General] a5ian300zx:
my one has returned back to the same issue again just randomly.

Thanks
[Galaxy Note 3 General] 4l3gU:
Thanks [MENTION=3931450]dr.ketan[/MENTION] for share this method...and now my proximity sensor is back... i'm on leaked lollipop ????????????????????????????????? i'm very happy?
[Galaxy Note 3 General] nitrous²:
I had this issue too. After Samsung refused to repair my n9005 because of the triggered Knox counter, I just opened my phone and cleaned the dust that gathers between the prox. sensor and the front glass with isopropanol and a microfiber cloth. Now it's working again. The method described by OP and other methods didn't work for me.
[Galaxy Note 3 General] Jager23:
i had the same problem and solved it typing in a terminal emulator

$ su
$ echo 0 > /sys/devices/virtual/sensors/proximity_sensor/prox_cal
$ echo 1 > /sys/devices/virtual/sensors/proximity_sensor/prox_cal
$ chown system:system /efs/prox_cal
$ chmod 644 /efs/prox_cal
$ sync
[Galaxy Note 3 General] eksilen:
Yes it's definitely works for me...

SM-N900 cihazımdan Tapatalk kullanılarak gönderildi