yashsingh1/xdaforums huggingface dataset:
[NFC Hacking] LoveNFC:
Sounds fair enough - thanks!
[NFC Hacking] sysadmn:
Reviving a slumbering thread ...

Is there a way to get a list of activities supported by an app?

For example, instead of just starting Google Play Store, is there a custom activity that would start Play Store and go to "My Apps"?
[NFC Hacking] krohnjw:
This is in the next release. All exported activities will now be listed when you select an app.
[NFC Hacking] sysadmn:
Thanks, and thanks for the fast response. This is really cool. We should be able to create a cookbook as we find out which activities are launchable.
[NFC Hacking] krohnjw:
I subscribe to threads where a response may be needed so I don't leave things like that hanging :)
[NFC Hacking] animatechnica:
Just discovered the coolness of nfc and nfc task launcher. Loving how this app expands my smartphone's usefulness and now subscribing to this thread

Wondering if there is a way to send a gps location i.e.

Write gps location to a tag and be able to scan that tag and get the location
[NFC Hacking] typhoonikan:
Um, can't wait. Awesome!
[NFC Hacking] sysadmn:
Quick thought - since a tag can encode a URL, put the gps location in google maps & take the resulting quicklink?

Where are you trying to 'send' the GPS coords to? Smartphones and tablets with NFC probably already have a gps device - are you trying to have the tag read the current location (which could change), or are you trying to replicate the Checkin functions for Foursquare, etc (tag is in a fixed, known location)?
[NFC Hacking] animatechnica:
Yeah its the second case ..fixed location

Your suggestion about putting the url might work thanks
[NFC Hacking] eortizr:
Is there any way of adding the activity name manually? The reason why is for the HTC one x. The desktop mode is not available in the app drawer and this app only look for activities on applications that are in the app drawer. We should be able to type the activity name or have the option to search for all available activities. Btw. Dock mode withing the app does not work on the HOX
[NFC Hacking] krohnjw:
Dock mode should work in the last release if you are rooted and the device identifies as HTC One X. If it doesn't enable debugging, scan a dock mode tag and send me the log.
[NFC Hacking] krohnjw:
What app version?
[NFC Hacking] eortizr:
3.8.6
[NFC Hacking] krohnjw:
rooted, yes?
[NFC Hacking] eortizr:
Yes
[NFC Hacking] krohnjw:
Ok, I'll root my one x here tomorrow and see if I can get it sorted.
[NFC Hacking] eortizr:
Cool. Thanks for the quick response
[NFC Hacking] krohnjw:
I rooted my One X and dock mode is working really well. It requests root access and fires up the desk dock app (via a simulated hardware insertion into the pogo pin dock). This is on the international One X. Which version do you have? Stock firmware or custom rom?
[NFC Hacking] eortizr:
I have AT&T, I tried with different roms and it does exactly the same, it just wont go to Dock Mode using NFC Task Launcher, I can go into Dock Mode using a shortcut without any problems. But using NFC Launcher it will not go. If I simulate hardware insertion via pogo pin I too get into Dock without issues.

the activity name that triggers DockMode is:

com.htc.htcdockscreen/com.htc.htcdockscreen.DeskDock
[NFC Hacking] krohnjw:
Hm, can you try the following in a terminal emulator app? (not adb shell)

su

LD_LIBRARY_PATH='/vendor/lib:/system/lib' /system/bin/am broadcast -a android.intent.action.DOCK_EVENT --ei android.intent.extra.DOCK_STATE 1
[NFC Hacking] eortizr:
yeap, that works.

one thing I notice, is that NFC launcher never ask for root. (I'm using SuperSU)
[NFC Hacking] krohnjw:
Hm, that is literally what it's doing exactly (Shell -> su -> command). Do you get the su prompt for NFCTL? Do you see any confirmation from SuperSU that it's running the command?
[NFC Hacking] eortizr:
Nop. NFCTL is not requesting SU permissions. There is no activity from NFCTL in the SuperSU logs.
[NFC Hacking] krohnjw:
Hm, Where is your SuperSU apk located?
[NFC Hacking] krohnjw:
Email me (let me know it's you) - > joshua at tagstand. I have a new APK I can send that should pick up SU regardless - you can give that a shot.
[NFC Hacking] eortizr:
\system\app

email sent.
[NFC Hacking] frekesho:
Me too!

OK, kicking this one.

I have the same problem; NFC TL doesn't prompt SuperSu for root access (or, at least, SuperSU doesn't prompt me). I have SuperSU in /system/app too, and (after some googling), I also copied the NFC TL apk from /data/app to /system/app.

NFC TL works fine, but it will not get root, and as a consequence, it will not start/stop GPS.

Were you guys ever able to resolve this?
[NFC Hacking] krohnjw:
If it's in /system/app and you've rebooted then the system should grant WRITE_SECURE_ACCESS as a permission, no root request will ever be made as it's unnecessary. Root access will never be requested in the current build for modifying GPS. Root was just leveraged to copy the app to /system to get the appropriate permission (when you clicked make system app).

I've updated this for the next release to use root to request the permission at run time as moving the app to system is confusing for people.
[NFC Hacking] frekesho:
Cool, thanks for clearing that bit up. :)

I've removed everything again just now, and reinstalled NFC TL. Will test in my car later today to see if the tag works now. I may be back. :cool:

Edit:

Just tested using the hold-action, then Play. I still got the notification that I'm trying to change a secure setting which will only work with root access, and GPS was not coming on... So I checked permissions for the copy of NFC TL in the /system/app folder, turns out it wasn't set correctly. I changed it so that Group and Other had Read permissions, and hey presto. :D

Thanks!
[NFC Hacking] HaiImCrumb:
Im doing a school project, we're making our own app and we're trying to find out if it is possible to open a specific activity within the app. (Using custom code to write onto NFC tags)

Googling this has not been successful and this thread has some knowledgeable characters so I was wondering if I could get help! :)
[NFC Hacking] krohnjw:
What do you need to know?
[NFC Hacking] HaiImCrumb:
How to program the tags to open a specific activity within the app. :P
[NFC Hacking] HaiImCrumb:
Is this possible?
[NFC Hacking] krohnjw:
Select the open activity action and pick the activity. It's going to show all activities marked as exported for that package.
[Sony Xperia P, U, Sola, Go] MafiaManV:
Hello. I'm kinda new to all this android scene sooo have few questions. Updated mine XS via Flashtool, but stuck on rooting it .

When i access fastboot toolbox, and under "Select kernel to flash" select "recovery-nozomi.img" i get an error. Here's the log..

22/023/2012 03:23:44 - INFO - <- This level is successfully initialized
22/023/2012 03:23:44 - INFO - Flashtool Version 0.8.6.0 built on 2012-06-13 08:08:54
22/023/2012 03:23:44 - INFO - You can drag and drop ftf files here to start flashing them
22/023/2012 03:23:49 - INFO - Device disconnected
22/024/2012 03:24:10 - INFO - Device connected in fastboot mode
22/024/2012 03:24:17 - INFO - Launching Fastboot Toolbox 1.0 by DooMLoRD
22/024/2012 03:24:17 - INFO - Device Status: FASTBOOT mode
22/024/2012 03:24:19 - INFO - Device Status: FASTBOOT mode
22/024/2012 03:24:24 - INFO - Device Status: FASTBOOT mode
22/024/2012 03:24:25 - INFO - Fetching connected device info
22/024/2012 03:24:25 - INFO - Connected device info: [ PSDN:CB511WRU0U&ZLP ]
22/024/2012 03:24:28 - INFO - Fetching fastboot version info from connected device
22/024/2012 03:24:28 - INFO - FASTBOOT version info: [ version: 0.5 ]
22/024/2012 03:24:35 - INFO - Selected kernel (boot.img or kernel.sin): C:\Flashtool\recovery-nozomi.img
22/024/2012 03:24:35 - INFO - Flashing selected kernel
22/024/2012 03:24:35 - INFO - sending 'boot' (5414 KB)...
22/024/2012 03:24:35 - INFO - FAILED (remote: The Device must be rooted first)
22/024/2012 03:24:35 - INFO - finished. total time: 0.009s
22/024/2012 03:24:35 - INFO - FASTBOOT Output:
sending 'boot' (5414 KB)...
FAILED (remote: The Device must be rooted first)
finished. total time: 0.009s

22/024/2012 03:24:35 - INFO - Please check the log before rebooting into system

What i'm doing wrong?

Also i found prerooted ICS for my XS, but it's .img format. When i was updating i updated with ".ftf" file . How do i install that ".img" ? (via fastboot toolbox by selecting "select system to Flash" ??)

Thank you
[Sony Xperia P, U, Sola, Go] marjohn56:
Follow the instructions in this thread:-

http://xdaforums.com/showthread.php?t=1723610

I did the ftf route then manually rooted.

Good Luck.
[Sony Xperia P, U, Sola, Go] shmoejoe:
@op, Is your bootloader unlocked?
[Sony Xperia P, U, Sola, Go] electrash:
first you need to unlock bootloader which MAY void your warranty, than you have to instal custom KERNEL, doomlord have wonderful kernel.

Than over kernel recovery flash pre rooted image.
[Sony Xperia P, U, Sola, Go] marjohn56:
I was not aware that the ICS ftf was not an official sony release; if it is signed by Sony, you do not need an unlocked bootloader.

Custom Kernel for ICS??? Since last night?
[Sony Xperia P, U, Sola, Go] shmoejoe:
What you are doing above is trying to root, which for now needs a unlocked bootloader to do. The official firmware itself is signed so it's not an issue, but flashing recovery and switching out kernels is, and won't be allowed on a locked bootloader.

@electrash:

Doom hasn't built a kernel for ICS yet, right? It's not a good idea to flash a GB kernel over ICS, its a good way to break things :/.
[Sony Xperia P, U, Sola, Go] marjohn56:
Which his exactly what I wrote in my instructions; as I said, he can blow ICS, he may or may not be able to root.

I'm not trying to do anything... I've already done it. :)
[Sony Xperia P, U, Sola, Go] shmoejoe:
Haha, thought you were the op asking that, sorry :-P

*shuffles out of thread*
[Sony Xperia P, U, Sola, Go] Summer Son:
marjohn56, excellent instructions, thank you! As far as I saw this one is the only one that describes the process of flashing SU inside recovery. Thanks a lot!

The only thing I can add is that you may turn off your phone once SuperSU was installed. The phone will just not power on the actual system until kernel.sin will be flashed, it will be just booted to recovery every time. So once phone was turned off, just hold the volume up button and plug in the USB cable, then flash kernel.sin as described. The process of flashing kernel.sin is the same as flashing nozomi-recovery, from fastboot point of view. What we're doing is just putting recovery image to root the device and then putting kernel image back to work normally with the system.

Correct me if I'm wrong...
[Android Software/Hacking General [Developers Only]] netqer:
I found this issus in many Samsung CDMA Devices.

I try to dump modem.bin using adb shell command below.

dd if=/dev/block/bml12 of=/sdcard/nand/bml12.bin bs=4096

but bml12.bin contains nothing but 0xFF bytes in it.

And i also try to dump EFS.

dd if=/dev/block/stl3 of=/sdcard/nand/stl3.bin bs=4096

also stl3.bin.bin contains nothing but 0xFF bytes in it.

I have dumped all the paritions from stl 3-12 and bml1-12.

but i haven't found a dumped file with exact 10~20mb size( a cdma modem.bin size?)

does anyone has any idea?

sorry for my bad english...
[Android Software/Hacking General [Developers Only]] Волк:
Try to make your output a .img file instead of a .bin. You will have to get ahold of an extractor/decompiler. Just do a search here on xda, there are a few ways to do it.

Edit: also remove the BS= arg as well.

Also remember that DD is going to dump that entire partition, not just one file.
[Android Software/Hacking General [Developers Only]] netqer:
Thanks for your answer.

But this method to dump modem.bin i wrote above , have been tested sucessfully in GSM devices.

why can't dump in CDMA devices using this method?
[Android Software/Hacking General [Developers Only]] netqer:
BUMP!!!!!!!
[Samsung Epic 4G Touch] kobridge:
I open this thread to help the users having bad battery life and find out the possible resolutions. Whenever you see the bad battery life, in most of the cases it would be caused by some specific apps or the way you are using the phone and it's not from the ROM itself.

As you may know, I'm working on Kobridge Tweaks and trying to improve the performance and battery life but there're lots of variances that we still don't know and have to know.

So, let's work together to find out the better solutions!

In here, please share your screenshots and your settings. But, don't post with just simple words - it's good or it's bad. We need the following information when you post;

1. Your ROM related info - Rom name, version

2. Kernel/modem version

3. Any additional apps installed

4. Any tweaks that you did by yourself

5. When you post, please add the screenshots -

(how to capture screenshots -> ICS: vol down + power button at the same time or if this function does not work then try screenshot it (trial) or pro (paid)

Full screenshots showing (from better battery stats, download it from http://xdaforums.com/showthread.php?t=1179809 )

a. Since unplugged - other, partial wakelocks, kernel wakelock, alarms, process

b. since charged - same as 'since unplugged'

(Be sure that when you take the screenshots, reset the counters between since unplugged & charged)

System tuner pro or cpu spy -

c. CPU utilization diagram.

d. CPU times (system tuner pro)

Download - System Tuner, System Tuner Pro (Paid), CPU Spy

Other Tools Download -

Battery Monitor Widget, Battery Monitor Widget Pro(paid), Badass Battery Monitor, Badass Battery Monitor Pro (Paid)

Just normal screenshots from

e. settings > battery (1)

f. click on the graph (2)

g. click on the screen (3)

h. all Kobridge tweak log files - /data/log/kobridge_tweakxx.log if you are using Kobridge tweaks.
[Samsung Epic 4G Touch] kobridge:
Kobridge - Recommended APK settings to save the battery

I'm going to add the recommended APK settings in here to save the battery.
[Samsung Epic 4G Touch] kobridge:
How to adjust Kobridge tweaks - guide to modify the Kobridge Tweak settings!
[Samsung Epic 4G Touch] kobridge:
Known Battery Monsters
[Samsung Epic 4G Touch] kobridge:
Best screenshots - worst ever or best ever!
[Samsung Epic 4G Touch] fryingpan0613:
It's a good thing that no one is posting here :)
[Samsung Epic 4G Touch] epic4gfaded:
Maybe should change name to good battery life? I've used your tweaks sense I 1st flashed a ROM even though I'm still noobish I never had a problem...
[Samsung Epic 4G Touch] Majin101:
before i saw who posted this, i thought someone was calling u out kobridge =P
[Samsung Epic 4G Touch] kobridge:
It doesn't matter that even you have a good battery life, then please show us how you are getting the 'Good one' with your screenshots and settings if you think it would help others.

Thank you guys!
[Samsung Epic 4G Touch] iniz94:
It's not that the blink uses battery, it's that the blink causes your phone to wake up from its Deep Sleep and use the 200 MHz state of your processor. This wakelock takes away battery.

Thanks for the guide though. Looking forward to getting better battery life. I'm currently on CM9 though so I can't use your tweaks :( Just waiting for an AOKP build that switches /emmc and /sdcard back around to the way it should be :)

Edit: Just got System Tuner Pro... seems very complicated but I followed your startup advice :p
[AT&T, Rogers HTC One X, Telstra One XL] chaitoo:
The plastic ring around the camera is making a creaking noise. My first one had the same issue along with creaky ear piece grill. So I exchanged it and amazon sent me a second one. After a while the second phone seems to have the same issue.

Just wondering how everybody else's phones are holding up. It's really annoying sometimes and I really don't want to exchange this for a third piece and then slowly have the same issue on that one too.
[AT&T, Rogers HTC One X, Telstra One XL] seh6183:
First of all I think the ring is aluminum. Also the way the device has been manufactured, it will have some creaks. Still a very sturdy phone. If you'd like, you can take it apart and reglue it back together with gorilla glue and it may solve the creaks :)
[AT&T, Rogers HTC One X, Telstra One XL] ECEXCURSION:
Please don't use gorilla glue on your phone... It foams up brown.
[AT&T, Rogers HTC One X, Telstra One XL] droidiac13:
Sorry, but LOL.
[AT&T, Rogers HTC One X, Telstra One XL] rohan32:
Nope its plastic :( It feels like its pretty high quality though

And mine is very sturdy
[AT&T, Rogers HTC One X, Telstra One XL] _MetalHead_:
Nominating this for the "Worst idea ever" category.
[AT&T, Rogers HTC One X, Telstra One XL] droidiac13:
I'm still trying to figure out how the creeking was discovered. I've never even touched that ring.

Edit: until now
[AT&T, Rogers HTC One X, Telstra One XL] rohan32:
TBH, my phone hasn't come out of the case and screen protector since inside the AT&T store when I bought it on launch day. So even if there was creaking, I wouldn't notice it through my case.
[AT&T, Rogers HTC One X, Telstra One XL] droidiac13:
True story!
[AT&T, Rogers HTC One X, Telstra One XL] stoopid2001:
I just pushed on my ring and can get it to make a slight clicking sound. How did you come to notice this? Mine is barely audible.
[AT&T, Rogers HTC One X, Telstra One XL] _MetalHead_:
I refuse to check and see if my ring is creaky. Not gonna do it.
[AT&T, Rogers HTC One X, Telstra One XL] gunnyman:
Son of Clicky!

This phone literally snaps into the plastic unibody. I'm not going to worry about the noises. (I hope)
[AT&T, Rogers HTC One X, Telstra One XL] jo3holl4nd:
Mine has the same issue with the creaking noise along the very top of the ring. I've considered the opposite of glue: a drop of gun lube along the edge so i don't hear it anymore. I just haven't been bothered enough to try it.
[AT&T, Rogers HTC One X, Telstra One XL] ECEXCURSION:
So we're learning! :thumbup:
[Galaxy S III General (US Carriers)] element3g:
Hi guys just got my s3 couple of hours ago white 16gb for sprint. I tried searching for the issue I am having and no results, so I am posting here. I did the initial android setup and everything was running fine for first 15 min and then phone keeps freezing and restarts, I did many battery pulls and same thing. It would work for min or 2 and freezes and reboots. Then I put the phone on charge and used it for several minutes and no crash.

So I unplugged the phone when the battery was at 52% after charging for more then 45 min, and same reboot issue is back. So I was wondering if anyone else having this issue.

Thanks for all your help in advance.
[Galaxy S III General (US Carriers)] badname:
if you didnt flash things, which i dont even know what you would flash and how at this point, i would say its broken, and you should go get an exchange. Hopefully youre the only one with the issue, ever.

i guess you could try a factory reset, which i would assume you can do from recovery, to which you would maybe get to by powering off, and holing volume up and power(once again, just an assumption).

p.s. i am impatiently waiting untill best buy gets 32gb version in stock so i can trade in this lte evo pos.
[Galaxy S III General (US Carriers)] element3g:
i did many factory resets and battery pulls and same issue. so i got tired and called in for exchange, they are sold out right now but will send one out as soon it comes back in stock.
[Galaxy S III General (US Carriers)] jfdebo779:
Did you do a hard reset from recovery?
[Galaxy S III General (US Carriers)] numba3:
any particular app installed that might be causing this? :crying:
[Galaxy S III General (US Carriers)] element3g:
Yes I Reset it from recovery and did factory reset 4 to 6 times, No apps installed. As soon as i start navigating through menus it freezes and then reboots. Sometimes it also freezes at sprint logo while restarting, i have owned 200+ phones never had a single android phone with this kind of Issue.
[Galaxy S III General (US Carriers)] blackte4:
Do you have a sd card installed? If its from a older phone or s2 it might be the problem too. Back up everything in format the card then see what happens....
[Galaxy S III General (US Carriers)] element3g:
Thanks for all your help guys !

I fixed the issue by wiping cache partition and factory reset. Before all I did was factory reset but didn't do wipe.

No crash so far
[Galaxy S III Q&A, (US Carriers)] kensshin:
Well, I just received my phone today and I decided to root it by following a guide. Little did I know that firmware I was rooting was not meant for this phone. Now the phone shows the Samsung screen for a split second and then it turns off.

Is there anything I can do to restore it back to normal? I only have access to download mode right now.
[Galaxy S III Q&A, (US Carriers)] jdbeitz:
Pm howtomen hrs helped someone earlier today in irc. not sure how. But you're still ok
[Galaxy S III Q&A, (US Carriers)] OpaqueEcho:
He helped me...long story short, there's not much we can do until a stock ROM is available.
[Galaxy S III Q&A, (US Carriers)] kensshin:
Ohh ok thank you both for the quick replies. This sucks, I don't have a phone now untill I can get this fixed :\
[Galaxy S III Q&A, (US Carriers)] maladju:
So where did the dev forum for our phone go? Is it mixed in with the other major 4 US carrier versions?
[Galaxy S III Q&A, (US Carriers)] OpaqueEcho:
It seems to randomly disappearing and reappearing.
[Galaxy S III Q&A, (US Carriers)] frankdogg:
If you can get into download mode you're ok. You need to flash a stock rom and you'll be back to normal. Don't flash chainfire's root from the international thread because the kernel is not the same.
[Galaxy S III Q&A, (US Carriers)] maladju:
Oops, guess it's just not showing in the XDA app for me.
[Galaxy S III Q&A, (US Carriers)] jdbeitz:
READ THE INSTRUCTIONS BEFORE EVER FLASHING ANYTHING :silly:
[Galaxy S III Q&A, (US Carriers)] OpaqueEcho:
Very silly. I've been kicking myself all day.
[Galaxy S III Q&A, (US Carriers)] numba3:
have you try visiting DSC near by. they might be able to help you recover your device with the tool they have.
[Galaxy S III Q&A, (US Carriers)] junglizste:
That was quick
[Galaxy S III Q&A, (US Carriers)] scrubinator:
that^
[Galaxy S III Q&A, (US Carriers)] TheSoberRussian:
Any fixes yet? I did the same thing and all I get is
[Galaxy S III Q&A, (US Carriers)] TheSoberRussian:
flashing the sprint clockwork recovery works! Also lets you go into recovery mode
[Galaxy S III Q&A, (US Carriers)] kensshin:
Thank you TheSoberRussian and HowToMen. From soft brick to root thanks to you two guys. I really appreciate your help lol.

If anyone is soft bricked, there is a solution that works already!
[Galaxy S III Q&A, (US Carriers)] mscott998:
Please elaborate. Flashing the sprint cwm allowed revovery to boot. But android wont. What is the fix for soft brick please help..
[Galaxy S III Q&A, (US Carriers)] TheSoberRussian:
Try flashing this It's fixed other bricks earlier.
[Galaxy S III Q&A, (US Carriers)] mscott998:
Ty ty ty ty... worked like a charm. Someone needs to put a how to thread in the deav section for fixing soft brick
[Galaxy S III Q&A, (US Carriers)] TheSoberRussian:
Already done :)
[Galaxy S III Q&A, (US Carriers)] tymansdaddy:
done same thing

Mine just shows the odin download screen with yellow triangle and firmware update warning. Im pissed. wont power on or nothing
[Galaxy S III Q&A, (US Carriers)] masonjoe69:
Samsung i747 Root

Same boat..tried the i9300 root on i747 and the phone is dead..nothing working tried everything available on xda and other forums.

It all depends on Mark now ..I am confident he will come out with the solution..

All we need is a stock rom from AT&T I guess!!!
[Galaxy S III Q&A, (US Carriers)] TheSoberRussian:
Did you try flashing this ? It's fixed many other bricks, including mine when it tried the i9300 root.