yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] blnk2007:
I'll go over the steps. Not to say you didn't already do a lot of these things, but to give a guide for others as well.

1. Download and install PythonForAndroid_r5.apk

goo.gl/YnOApT

NOTE: Python 3+ does not currently work with Tasker so version 3 cannot be installed.

In this app press install to download and install python 2.6.2

2. Download this version of sl4a

goo.gl/tBTW9e
Click the top use the sl4a_r6x.apk

NOTE: It has some bug fixes

3. In /sdcard/sl4a/scripts make a Fitbit folder

4. In the Fitbit folder add the fitbit python library from temboo

directory should look like this: sdcard/sl4a/scripts/Fitbit/temboo

5. In the Fitbit folder (not the temboo one) add your python script that you got from temboo. In order for it to work with tasker it has to have the code:

from android import Android
from temboo.Library.Fitbit.Devices import UpdateAlarm
from temboo.core.session import TembooSession
droid = Android()

6. To send a variable from tasker to your python script you will need the code:

# Get %YOURTASKERVAR variable from tasker
try:
yourtaskervar = droid.getIntent().result[u'extras'][u'%YOURTASKERVAR']
except:
droid.makeToast('YOURTASKERVAR missing')

Replace YOURTASKERVAR with the tasker variable you are sending to the script.

7. Set a task in tasker to run the sl4a script

8. Tasker isn't set up to get a response directly from and sl4a script, but there are workarounds, I have not tried these myself, but I will soon.

Use this code to have your script send and intent. After you will have to have tasker set to receive and intent.

class Task():
SET_VARIABLE = 547
def new_task(self):
self.action_cnt = 0
self.extras = {'version_number': '1.0', 'task_name': 'task' + str(time.time()), 'task_priority': 9 }
def set_var(self, varname, value):
self.action_cnt += 1
self.extras['action' + str(self.action_cnt)] = {'action': self.SET_VARIABLE, 'arg:1': varname, 'arg:2': value, 'arg:3': False, 'arg:4': False, 'arg:5': False}
def run_task(self):
taskIntent = droid.makeIntent('net.
dinglisch.android.tasker.ACTION_TASK', None, None, self.extras).result
droid.sendBroadcastIntent(taskIntent)
def set_var_now(self, varname, value):
self.new_task()
self.set_var(varname, value)
self.run_task()

Then anywhere you want to set a variable use something like these lines:
t = Task()
t.set_var_now("%SL4A_Response", 'SL4A GMail: Message Marked as Read')

I found that code on the internets.

Or make your script send the response info to the clipboard which you will get with Tasker using the %CLIP variable.

Or make your script write to a file and use Tasker to read the file.

Let me know if you are still having trouble.
[Android Q&A, Help & Troubleshooting] m.klinge:
Thanks a lot - I'll dig into it right away :)

The link to the SL4A is wrong I guess, is it this version: http://code.google.com/p/android-scripting/

//M
[Android Q&A, Help & Troubleshooting] blnk2007:
goo.gl/tBTW9e
Click the top use the sl4a_r6x.apk

I'll fix in TUTORIAL
[Android Q&A, Help & Troubleshooting] m.klinge:
Thanks a lot - now I've got a starting point :)

As a test I made a script to set the alarm (Hardcoded time for now) - and it worked very well!

Awesome with some help to get me in the right direction :)

//M
[Android Q&A, Help & Troubleshooting] blnk2007:
Great news! Let me know what workaround you use to get data back into Tasker from the script! I'm interested to see what works best.
[Android Q&A, Help & Troubleshooting] m.klinge:
Yea - I will have to test it out a bit. For now I'm most into the write file setup - but I guess that would mean I need to put a wait in the Tasker task (not that its a huge problem though) ;)

//M
[Android Q&A, Help & Troubleshooting] blnk2007:
I think no matter what you will have to put a wait.
[Android Q&A, Help & Troubleshooting] m.klinge:
Yeah good point ;)

Well I guess I have to learn some basic python in order to achieve what I want ;)

//M
[Android Q&A, Help & Troubleshooting] blnk2007:
Yeah, it took me a while just to figure out how to get a variable from Tasker to python...
[Android Q&A, Help & Troubleshooting] m.klinge:
And thanks a lot for sharing that - it makes it a hell of a lot easier for me now :)

//M
[Android Q&A, Help & Troubleshooting] m.klinge:
So I had some time to play around with writing the output to a file and make Tasker read it - and it's actually working :highfive:

Here's the example with the GetDevice (To get the batteri level, last sync time and id).

Right now I'm using a wait of 10 seconds, but I'm wondering if I can improve that in some way. Never the less it's actually working, now I an get around to do all the fun stuff (Just need a hell of a lot more Temboo call's - anybody wan't to help by signing up using my referral: http://bit.ly/1CYr4Fz :D)

from android import Android
from temboo.Library.Fitbit.Devices import AddAlarm
from temboo.core.session import TembooSession

droid = Android()

from temboo.Library.Fitbit.Devices import GetDevices
from temboo.core.session import TembooSession

# Create a session with your Temboo account details
session = TembooSession(xxxxxxxxxx,xxxxxxxxxx,xxxxxxxxxxxxxxxxxxxx)

# Instantiate the Choreo
getDevicesChoreo = GetDevices(session)

# Get an InputSet object for the Choreo
getDevicesInputs = getDevicesChoreo.new_input_set()

# Set credential to use for execution
getDevicesInputs.set_credential(xxxxxxxxxxxxxxxxxx)

# Execute the Choreo
getDevicesResults = getDevicesChoreo.execute_with_results(getDevicesInputs)

# Print the Choreo outputs
print("Response: " + getDevicesResults.get_Response())

# Write file
target = open('device.txt','w')
target.truncate()
target.write(getDevicesResults.get_Response())
target.close()

droid.makeToast('File updated')

The file is written in the SL4A folder as default.

Once more thanks a lot for your help - I wouldn't have been able to get this far this quick without it :)

//M
[Android Q&A, Help & Troubleshooting] blnk2007:
I should have had you use my referral......

---------- Post added at 12:21 PM ---------- Previous post was at 12:14 PM ----------

This will be useful for me as well!
[Android Q&A, Help & Troubleshooting] blnk2007:
Smart and thanks!!

Bad news.... my Fitbit randomly died. I have to send it back.
[Android Q&A, Help & Troubleshooting] m.klinge:
Oh bummer - hope you'll get it back soon :)

//M
[Android Q&A, Help & Troubleshooting] blnk2007:
They are sending me a new one for free!
[Android Q&A, Help & Troubleshooting] m.klinge:
That's cool of them :)

Btw I've learned the hard way, that SL4A does not Work when the screen is off. My initial idea was to schedule an update of my stats every ½ hour during the day, but that's down the drain.

I'm rewriting the tasker setup to update the stats every time I unlock my phone - but only if an update hasn't been done within the last xx minutes.

I'll post an update when it's ready :)

//M
[Android Q&A, Help & Troubleshooting] m.klinge:
I have made this How-To: http://xdaforums.com/android/apps-g...ker-fitbit-t3053863/post59420480#post59420480

//M
[Android Q&A, Help & Troubleshooting] Henri Claytor:
OHAI,

If that's the case, I believe I experienced the same problem last night, can't we just use Tasker to wake the phone to perform the task?

Regards,

Henri Claytor
[Android Q&A, Help & Troubleshooting] m.klinge:
The phone needs the screen to be awake, but yes you can just make Tasker wake the phone (and keep it awake) :)

//M
[Huawei Ascend P6, Mate] 1e0ne1:
Hi,

I have a Huawei Ascend P6 that had battery issues, battery was not holding charge and was even inflating at the point that lifted back cover so I decided to replace it. I bought the replacement and follow a guide on Ifixit for battery replacement.

After I replace it I powered the phone and started up (sounds and vibration) but screen was dead. I can also hear notifications and receive phone calls (obviously I can´t answer). Has anyone had an issue like this before?
[Huawei Ascend P6, Mate] SlGGl:
Did you check the clipped cables?

You can hear them "click in"..

Changed a battery myself after a water damage..

Took me some time so pry it out gently cause off the adhesive its glued with..

Damage could be done at this point, when forcing it too much..

But check the clipped cables first..When i remember correctly, the LCD cable is the big one at bottom left..
[Android Q&A, Help & Troubleshooting] Holmes.Sherlock:
Pardon my ignorance. Just for fun and learning, I am willing to build a custom ROM from scratch for Sony Xperia-L from Android AOSP. But, even after going through a number of tutorials, following are the issues which are yet unclear to me:

How to obtain Xperia-L specific drivers to intergrate it into my build. Please note that unlike a few tutorials has suggested, I don't want to start from CM ROMS. I want to do it from 'scratch'

I have downloaded Open source archive for build 15.3.A.1.12, 15.3.A.1.14 and 15.3.A.1.16. It contains two top level directories: kernel and platform. What are these two for? Given the size of AOSP so large, I presume this archive does NOT contain full source for Xperia-L stock ROM. Am I correct to reason that?

Without using kiddie-approach, e.g. different ROM kitchen, what is the recommended approach to for a beginner to master the art?
[G3 Q&A, Help & Troubleshooting] weibro1:
Can't even access TWRP, only download mode, man I am screwed
[G3 Q&A, Help & Troubleshooting] roirraW "edor" ehT:
Download mode is what you need. Use LG Flash Tool in Windows to flash whatever rootable stock ROM in KDZ format.
[G3 Q&A, Help & Troubleshooting] weibro1:
I did that and now I'm stuck in the screen factory reset status 2, any help from there?
[G3 Q&A, Help & Troubleshooting] churchrickshaw:
use a different usb port and redo the process. should flash from 2 to 3 and the reboot automatically
[G3 Q&A, Help & Troubleshooting] roirraW "edor" ehT:
Or use a KDZ and LG Mobile 2014, whatever's easiest. Didn't know you were TOTing, I've had more luck with KDZs, personally.
[Galaxy Note II Q&A, Help & Troubleshooting] PerthSGS2:
If I clean flash (format everything) to install a custom ROM, generally my sim card won't be detected, so I have to flash my stock ROM again, and carefully choose what not to format. Basically I have to semi-dirty flash in order to get most custom ROMs to work with the sim card.

Anyone have a workaround so I can do a clean flash because I seem to have stability/bug issues with 'Lollipop' ROMs if I dirty flash, but if i clean flash it seems to work as it should except my sim is not detected...

EDIT: http://xdaforums.com/showthread.php?t=2317776 This is supposed to work for the Galaxy S Advance I9070, I'll see if mine has the same folder... - Nope didnt work as I did not have the folder..
[8525, TyTN, MDA Vario II, JasJam General] bendyone:
can i use my v1605 as a webcam server?
[8525, TyTN, MDA Vario II, JasJam General] the_matho:
this may be what you're looking for:

http://www.ateksoft.com/webcamplus.html
[General Questions and Answers] ohiojosh78:
I have tried several keyboards and so far only google and SwiftKey seem to let the address bar in chrome auto complete. Now, I'm not talking about the suggestions down below. I mean, when I want to visit XDA all I have to do is type "x" and it will automatically fill the address bar itself with XDA-developers.com. Every other keyboard will suggest the site below the address bar but not directly into it.

This is a minor annoyance but it is nice to be able to type the first letter of a site and just hit enter and I am immediately taken there. Is this something that developers need to enable in their keyboard apps, or some setting I can enable (I've tried looking). I'm confused as to why it works with some keyboards and not others.

Verizon HTC M8 same issue on stock KK and loli.
[General Questions and Answers] Fantassy123:
The Developers need to build it in their app., like you said the 2 keyboards do have support build in for chrome and the other ones doesn't have it.

For some Keyboards you can turn it on/off in the settings since not everyone likes auto-correct.
[General Questions and Answers] ohiojosh78:
It isn't just auto correct feature. Auto correct will usually correct a word or give a prediction just above the keyboard. The feature I'm talking about is more of an auto fill. If I type x my keyboard will guess XDA but the address bar will still only show the letter x and if I hit enter it will show Google search results for x. But my stock keyboard and Google keyboard will, once I hit the x key, auto fill the address bar with xda-developers.com. And then when I hit enter take me here. I know it isn't a major feature but it is personally an annoyance

The strange part is that the stock M8 keyboard is done by either Touch Pal or Swype I forget which but I have tried both of them and neither will auto complete the address bar.
[One (M7) Q&A, Help & Troubleshooting] kasemben:
Hi,i have a htc one m7 lollipop 5.0.2 i suffer fron the power boutton so that i want to wake my phon through doubletap like htc one m8 some body helpe me pls ....thnx ;)
[One (M7) Q&A, Help & Troubleshooting] nkk71:
custom kernel

eg ElementalX
[One (M7) Q&A, Help & Troubleshooting] kasemben:
thnx but i can't unlock my htc bootloader htcdev :

Microsoft Windows [version 6.3.9600]

(c) 2013 Microsoft Corporation. Tous droits réservés.

C:\Users\belgacem>fastboot oem get_identifier_token

'fastboot' n'est pas reconnu en tant que commande interne

ou externe, un programme exécutable ou un fichier de commandes.

C:\Users\belgacem>
[One (M7) Q&A, Help & Troubleshooting] nkk71:
hello, and welcome to xda

you need to have adb & fastboot downloaded on your pc, i recommend you look at the FAQ (Frequently Asked Questions) STICKY
[One (M7) Q&A, Help & Troubleshooting] alray:
'fastboot' n'est pas reconnu en tant que commande interne

Either you don't have fastboot installed on your computer or you are not starting the command prompt from the fastboot folder.

If you already have fastboot installed then navigate to the folder where it is, hold left SHIFT and right click a blank space in that folder. Then select "Open a command windows here"

Or if you don't have fastboot and adb installed then go ahead and install the android sdk: http://developer.android.com/sdk/index.html#top

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

'fastboot' n'est pas reconnu en tant que commande interne

Soit que tu na pas installé fastboot sur ton ordinateur ou bien que tu ne démarre pas l'invite de commande du dossier dans lequel fastboot est situé. Si tu as déjà installé fastboot sur ton ordinateur alors va dans son dossier, tiens le bouton "shift" de gauche enfoncé, et clique avec le bouton de droit de la souris dans un espace vide. Dans le menu contextuel, selectionne "Ouvrir un fenêtre de commande ici"

Si tu n'a pas installé fastboot et adb alors tu télécharger le SDK d'android ici: http://developer.android.com/sdk/index.html#top
[Samsung Galaxy Star] corphish:
Well, many cool ROMs doesn't have stock gallery, which removed the functionality of changing lock screen wallpaper.

But not anymore

Procedure

Step 1 - Getting your picture ready.

Select any image you like.

Crop it, preferably to resolution 240x320, if not, no problem, the center part will be shown.

Save it, and name it 'lockscreen_wallpaper.jpg'.

Step 2 - abracadabra

Make sure you have root access, data partition mounted as rw.

Go to data/data/com.sec.android.gallery3d/

If you don't find the folder, create one.

Paste the pic (lockscreen_wallpaper.jpg)

I don't think permission will bother you much.

Voila, no need of reboot. Instant Reaction.

P.S- I have tried this on stock, it works, but not tries on modded stock, so need testers.

If you gonna test, make sure you don't have Samsung's Gallery app.
[Moto G Q&A, Help & Troubleshooting] aetbxANDJack:
Spanish-> Yo tengo la Retail Alemana 5.0.2 y quiero la Retail EU (tienen CID7) tengo el bootloader bloqueado, y quiero ir a Retail EU 4.4.4 y despues actualizar a Retail EU 5.0.2, ¿puede haber algún problema? pd: Yo tengo bootloader 41.18

English-> I have the Retail German 5.0.2 and want the EU Retail (have CID7) I have the locked bootloader, and I go to Retail EU 4.4.4 and then upgrade to Retail EU 5.0.2, can there be a problem? pd: i Have bootloader 41.18
[Moto G Q&A, Help & Troubleshooting] jaggu1989:
No problem all will be fine

I have also updated many times go ahead
[Motorola Droid RAZR] ftpaddict:
Hello, all. I'll try to be quick and please bear with me because I'm quite new at this:

- Have XT910; bought it with T-Mobile-branded 4.1.2. Root/Safestrap worked flawlessly. Ran with CM11 for many months.

- Tried to update CM11 to CM12 OTA and it bricked my phone; bootlooped, recovery went back to stock. (was my fault, didn't check CM forums for install instructions)

- Had to recover by using sbf and RSD Lite. Found this thread containing firmwares.

- Found T-Mobile ROM in the list, but unable to download because droid-developers returns a File Not Found error.

- Same with most other european downloads, except for Retail British.

- Flash Retail British

- Have a hard time rooting phone with all the easily available methods. Didn't keep logs, but I kept getting "access denied" type of errors.

- Finally find a dodgy Chinese app that seemed to root the phone. Superuser installed; Root checker says everything is OK.

- Install Safestrap, make ROM slot

- Try to flash LiquidSmooth. Fail. Try to install CM 10/11/12. Fail.

- Figured in my limited brain that the problem is because Retail British comes with encryption, whereas my T-Mobile version before getting it borked did not.

I can try to get logs from TWRP if you think it helps, but I'd mostly love it if someone had a copy of the T-Mobile or any other unencrypted firmware compatible with my EU XT910 that I can try flashing.

Any and all questions/advice will be highly appreciated!

Thank you.
[Motorola Droid RAZR] sd_shadow:
See

Moto Drivers, RSD Lite, and other Unbricking Tools

http://xdaforums.com/general/rooting-roms/motorola-usb-drivers-rsd-lite-firmware-t3042687

---------- Post added at 10:00 AM ---------- Previous post was at 10:00 AM ----------

Several firmware links in list
[Motorola Droid RAZR] ftpaddict:
You are a life saver! Thank you a lot :)
[Motorola Droid RAZR] ftpaddict:
[MENTION=4267571]sd_shadow[/MENTION]

I found a 4.1.2 T-Mobile SBF and successfully flashed it, but any of the usual root methods fail. Have you ever come across this issue? :(
[Motorola Droid RAZR] sd_shadow:
Saferoot? [ROOT] Saferoot
[Motorola Droid RAZR] ftpaddict:
Worked! I didn't find this method because it doesn't say anywhere that it works with the XT910.

Safestrap works and so do other ROMs. Thank you again. :)
[Kindle Fire Q&A, Help & Troubleshooting] sinisterrook:
I'm stuck at a fastboot loading screen. None of the tool's I've used seem to work. I have tried KFU, KindleUnbrick, n2a's Root2Stock, nothing seems to work. I've tried accessing it via fastboot and adb both say that device not found or <waiting for device>. Now I have a jig that I've used with success with my samsung g3. However, how likely am I to make this problem worse... Any thoughts or tricks that I haven't found would be wonderful.

i attached a screen shot of what the device looks like:
[Kindle Fire Q&A, Help & Troubleshooting] sd_shadow:
Installed driver's from Kindle Fire Utility v0.9.9?
[Kindle Fire Q&A, Help & Troubleshooting] sinisterrook:
Yes
[Kindle Fire Q&A, Help & Troubleshooting] sinisterrook:
Returns error code (10)
[Kindle Fire Q&A, Help & Troubleshooting] sd_shadow:
What does?
[Kindle Fire Q&A, Help & Troubleshooting] sinisterrook:
upon assigning the driver it says that its non functioning with error code (10)
[Kindle Fire Q&A, Help & Troubleshooting] sd_shadow:
Try different pc
[Galaxy Note 3 General] toyanucci:
Download SQLite editor

Open SQLite editor and choose apps

Choose Settings Storage

Choose Settings.db

Choose Global

Type in Search "Head"

Change value from 1 to 0 Save

Then Reboot

Big thanks to user AL_IRAQI for this important fix as it was a MAJOR annoyance and privacy issue for me on lollipop! It has helped me better enjoy my phone so I'm sharing so it can help those annoyed by this as well.
[Galaxy Note 3 General] cyberboob:
Not used this yet (as haven't encountered that)... but it's nice of you to share :).
[Galaxy Note 3 General] ill.eel:
I believe Aryamod has this toggle under settings :good:
[Galaxy Note 3 General] nazeerkhan157:
Thanks Friend

Thanks my friend thumbs up:)
[Galaxy Note 3 General] fdrph:
thanks
[T-Mobile Samsung Galaxy S II SGH-T989] modrate:
Hi , so I've been seeing alot of graphical errors in lots of new 3d HD games like NOVA 3 and Prometheus godfire , like on friend galaxy s3 the graphics are very clear and stable while at my sgh-t989 the graphics are shaky and not clear and things keep disappearing also the short view distance like in NOVA 3 pic in attachments.

i am using [MENTION=4800121]Sultanxda[/MENTION] cm 12 latest build , my question is why is this happening and is it normal ? can i fix it ? thank you for your time !
[X 2014 Q&A, Help & Troubleshooting] _MetalHead_:
Well it finally happened, I dropped my X. Or more like someone whacked it out of my hands. It's fine, but there's a gouge in the metal frame that's already driving me nuts. So I wanna use my Moto Care to get a new one, but I want to make sure that the one I get will have KK, because it's a pain to downgrade. So, those of you who have recently gotten your Pure Editions- did they come with KK or are they already updated to Lollipop? TIA.
[X 2014 Q&A, Help & Troubleshooting] marvin02:
I received my MotoX 2014 pure edition on 2/13. It came with Lollipop. I did use the factory mage from here to downgrade to KitKat.
[X 2014 Q&A, Help & Troubleshooting] _MetalHead_:
That's all you had to do was flash the factory image?
[X 2014 Q&A, Help & Troubleshooting] ewalk4866:
Man that sucks that's why you should keep it in case. But yes that's all you have to do I can help you do it :)
[X 2014 Q&A, Help & Troubleshooting] _MetalHead_:
I don't need your help, tard. I just thought there were more steps involved... per you, actually. I'll show you the damage next time I see you, it's heartbreaking.
[X 2014 Q&A, Help & Troubleshooting] Dark9781:
Ordered mine on 2/2 and received it on 2/13. It came with KitKat.
[Verizon Samsung Galaxy S 4] MissLaniS:
I attached a screen shot of my phone info. How do I root my phone & am I also able to update my android to something newer & if so... how?? What do I need to do?? Please any help is appreciated. Thank you
[Verizon Samsung Galaxy S 4] jwhistler:
Doesn't get any easier than this for root...

http://gs4.wonderhowto.com/how-to/root-any-samsung-galaxy-s4-one-click-0155622/

You've got the latest, best Verizon update for your phone.
[Verizon Samsung Galaxy S 4] MissLaniS:
reply

I tried that and it says "this phone is not currently supported"
[Verizon Samsung Galaxy S 4] meazz1:
Here you go!

http://xdaforums.com/galaxy-s4-verizon/general/how-to-root-i545vrufnk1-4-4-2-12-1-2014-t2959613
[Verizon Samsung Galaxy S 4] MissLaniS:
when it says to wipe cache/dalvik in stock recovery, mean?

when i go to my stock recovery, i dont have an option to wipe cache/dalvik

i have the options to:

apply update from ADB

apply update from external storage

wipe data/factory reset

wipe cache partition

apply update from cache

is one of those the same thing as cache/dalvik??
[Verizon Samsung Galaxy S 4] Hightower24:
You would wipe from safestrap