yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] pwoita:
Yep the text is back. :good:

I tried smsing

toggle@(pwd) data on

to myself

When the message came, I get a popup message from the system: "Unfortunately SMS Tasks has stopped"

Tried it again, and then for "gps on" ... all same problem.

Any ideas?
[Android Apps and Games] jkok:
are any other commands acting up? some users have told me the GPS toggle is messed up, but all phones i use it on always worked, it may just be the toggle command but ill do some tests and may split it into two commands like

enable@ || disable@(pass) (toggle option)

as it may be how the phone the app is on is parsing the text i guess so ill look into the toggle command but if you can can you look into other commands you wish to use in the future for reference of what else may be glitched? it also may be the abort broadcasts too as i had to add them in "if", "else if" statements and abort broadcasts tend to be just inside the initial reciever, but i have no other way to think of how to only abourt for 4.3.1 and below
[Android Apps and Games] pwoita:
Yea i have 4.0.3

Just tried for data since the problems might be more likely for gps, so tried these:

enable@(pass) data on

toggle@(pass) data 1

And same problem with both.

Have a feeling it is not about parsing, but I don't know.

I would be happy to install a debugging version that logs info that I send to you if like.
[Android Apps and Games] jkok:
ill message you a test version in a bit or tommorrow as its 10:00pm here but i havent added the enable@ command it was an example of a possible change incase it is the enable sub command to toggle not being read but try other commands like

echo

alarm@

just to see if its the reciever messed up :P
[Android Apps and Games] pwoita:
Just tried it with

echo cheeseburger

But same message Unfortunately SMS Tasks has stopped
[Android Apps and Games] jkok:
ok ill look into it =)
[Android Apps and Games] jkok:
ok i applied all the fixes i could find+make for these issues, and removed some debugging i had in the app like the replying for if you are 4.4+ and just made it abort if under 4.4 and ignore if its 4.4+ using a new method i thought of;

i fixed echo command(s) as somehow the .show(); for the Toast class loader to pop it up was removed (mostly by mistake unnoticed i guess)

i fixed a typo in the toggle command that made toggles messup (wifi toggle was missing some permissions that also got removed somehow)

then i also made a generic method to try and see if device admin is active for my app for apps requiring Device administrator to be active (Data and Lock commands so far) as they would force close the app if it was unchecked for instance and it tried to load it

heres a sample code if anyone needs it as i couldnt find it ANYWHERE to check so i had to use a manuver loading Strings, reading Strings, and finding what was most in common in them for specific apps and this is what i came up with and i can confirm it DOES work =)

DevicePolicyManager devicePolicyManager = (DevicePolicyManager) context.getSystemService(Context.DEVICE_POLICY_SERVICE);
if(devicePolicyManager.getActiveAdmins().toString().contains("com.kittleapps.app.smstasks/com.kittleapps.app.smstasks.MyAdminReciever")){
devicePolicyManager.wipeData(0);
}
[Android Apps and Games] pwoita:
Everything is working except the GPS that I wanted the app for =/

- Incoming SMS is not seen :good: (assume after it all works, you will turn off the toast messages for message received)

- Data/Echo work :good:

GPS message says message received, but no GPS is turned on with my phone, even with root access granted (I have 4.0.3) =/

The app 'AutomateIt' is able to turn on GPS via SMS commands on my phone (but the SMS is not hidden). So it's possible on my phone to have GPS auto turned on - but I don't know if you can be bothered or not - I know developing apps takes so much time.

Thanks anyway. Appreciate the extra work you did to get everything else working well. :good:
[Android Apps and Games] jkok:
lol np now that my hands healled from a injury i got i can program more, i spent last night getting this done while a friend wanted to talk last night (and literally ALL night) so i at least worked on this =)

i also am looking at the GPS toggle codes and found out in using a deprecated method that involved SECURE settings, and i havent removed the debug.key for the eclipse compiler so it never added the permission, but even so it may or may not work unless the app is a system app but ill try to find alternitives as i dont know exactly how i did it on the original SMS Tasks as i lost its source code a long time ago (thus this newer version of course) lol so ill look into some GPS toggles but atm i can only test now on 4.4.2 as the other testing phone was taken to a family members work =S so if i can get it to toggle on a rooted Galaxy S4 on 4.4.2 i would most likely get it working on 4.0.4 =) sometimes Rooted-Command exploits and reverse methods can be helpful in these cases but ill try simple routes before i go all "Force it on" lol
[Android Apps and Games] pwoita:
Ahh .. I do actually have Secure Settings app because Llama uses that to toggle GPS on my phone (which works nicely), so if that's an option, that would work for me.

AutomteIt isn't a system apps and the GPS still can toggle with SU permissions, but I have no problem installing SMSTasks as a system app if that is what is needed.

In any case, thanks again for the continuing work.
[Android Apps and Games] jkok:
again no problem ill just sneak a quick build ass i added a new toggle(toggling adb if rooted) and the /system needed permissons for if people convert to system app they can use gps untill i get a working method thought of for 4.4 at least

heres how i planned to use the adb toggle for all whos currious i just send these commands in terminal s root when the command is sent =)

//on

runRootCommandArray(new String[]{"setprop persist.service.adb.enable 1" , "start adbd" } );

//off

runRootCommandArray(new String[]{"setprop persist.service.adb.enable 0" , "stop adbd" } );

and the void used to send the Rooted commands so you all know im not sneaking nothing bad :P (i got a message in my email asking what im sending commands with; thats why im doing this next hidden code tag lol)

public static void runRootCommand(final String command) {

if (RootTools.isAccessGiven()) {
try {
Process p = Runtime.getRuntime().exec("su");
DataOutputStream outs = new DataOutputStream(p.getOutputStream());
outs.writeBytes(command + "\n");
}
catch (IOException e) {
e.printStackTrace();
}
}
else {
/*
*	SendText("SuperUser Request: DENIED! Command Not Sent; Fix Root Access Please to send these commands.");
* ignore this it is what i use to send a text easier with my tag at the begining;
*/
}
}

public static void runRootCommandArray(final String [ ] commands) {

if (RootTools.isAccessGiven()) {
if (commands.length >= 1) {
for (String command : commands) {
runRootCommand(command);
}
}
}
else {
/*
*	SendText("SuperUser Request: DENIED! Command Not Sent; Fix Root Access Please to send these commands.");
* ignore this it is what i use to send a text easier with my tag at the begining;
*/
}
}
[Android Apps and Games] pwoita:
Just tried the update and now not only the GPS command, but the data command also isn't working for me =/

Also, last night before the update, I converted it to a system app, but it didn't help with the GPS command to work.
[Android Apps and Games] jkok:
the data@command does work but it is to only activate now when the app is a device administrator;

the GPS command im still looking into as there seems to be something about the WRITE_SECURE_SETTINGS flags for system apps that still matters on a per-device basis as it may be my codes but it also relys on the device as ive had two devices (both on 4.2.2) and one as a system worked and one didnt as a system app also not on 4.4.2 one also; so it also matters on the device i guess because it is working on a phone running on 4.2.2 at my house for testing, but i guess its hard to get ALL devices running some toggles thats why i said it will rely not only on adnroid version but also the device itsself as some samsgung stock roms also remove such exploiuts by only letting some apps they make use some system app permissions (weird as it sounds it does hapen as one samsung stock touchwiz rom i tested on would not let any app they didnt make use the REBOOT permission without their signature key) so i had to remove non-root rebooting (even if it did require a system app privlage) and stick trying ADB command methods using root shell
[Android Apps and Games] jkok:
i noticed alot of users have had issues with receiving calls causing a force-closure and freezing devices, i haven't gotten that issue at all myself, but based from logcats submitted and one local individual's help who did have the issue, i found the cause and fixed it apparently

the issue by all logcats i was submitted from him, and few others (about 3 others) all had Xposed installed, and one other one did not, me as an Xposed User (due to Locked boot-loader and i needed to make modules/Download some, to get features i like on my phone)

but i managed to see that some modules caused interfeerance in the codes i used for the BoroadCast Receiver that caused a glitch in non-TouchWiz devices somehow, i dont understand how, but i fixed it by all ive seen, and had to makeshift a way to use the receiver more universally without the intents i used, and nobody else who i sent test-builds has had issues, and all seems to work fine now, so i published the build that works onto google play now:

https://play.google.com/store/apps/details?id=com.kittleapps.app.smstasks

and now i will go and say the added features;

-I Fixed the Locate@ Menu popup to not close on the back+home Key untill the stop@command has been issued, then it will close+Stop Tracking;

(Note: This still doesnt stop notificaton Bar, Status Bar, and key-Bind Shortcuts based on the user, i blocked all i could by codes, and to get KEYGUARD_HOME blocked i had to make this into a ActionDialog Activity bypass (As this was initially a Security-Based App its best to stop attempts to block tracking right?) it will still be able to be closed with the command, and as long as you didnt give away your command Pass-Phrase you will be fine

-I Spoofed the Saved Pass Phrase for Root Users with Root-Enabled Browsers when viewing the SavedPrefs File (Does not apply to Non-Root Users as they cannot acces this partition) (Thanks for the Heads-Up Craig if u see this)

-i Re-Worded the Main-Activities wordings as many users did not understand where some things went, so i tried getting it as close to self-explainitory as i could;

-and Finally i added a DEV_MODE Checkbox for more-detailed Replies when using in-app Stuff for Testings; I plan to add more to this in due time+future updates, but its just a plain checkbox with no wordings for people to catch-eyes on and wonder what it is (like an easter egg for end-users to find) ;)

i hope all who seen the errors will please forgive me as i never noticed them a i havent received reports untill recently (the last two weeks basicly) that it froze phones on receiving (and one sending) Calls, so i hope it is fixed now, if not please use the Email-Developer link in the google play app/Website and i will assit u all i can =)
[Android Apps and Games] darwusch:
Great app, thanks.

I see that it handles api 19 (kitkat) a bit different.

Are the sms visible in kitkat on the phone?

I mean both the received sms and the confirmation sms, do they appear in the inbox and sent folders on the phone on kitkat?
[Android Apps and Games] jkok:
i tested on a couple texting apps to be sure:

-go sms: saves texts sent;

-Textra: saves texts sent

-Stock (Tochwiz+AOSP): Saves texts;

the phones will sadly ALWAYS save the received ones, and it cannot be added to delete them on api 19 (kitkat) as if i did add the broadcast.abort(); area, it will force close by my tests, and do nothing on kitkat the times it did not force close; so i had to put a check on weither or not the phone runs kitkat, and abort if it seems lower then api 19 (kitkat) to avoid force closures on some devices (thus why it had that issue for some)

the way you can make sure the other phone you need to send commands to (tracking lost phone for example), you can do these alternitives:

lock@YourPassphraseHere OptionalPersonalPassWordHere

if you dont include the optional personal passphrase it will set a preconfigured one to the phone who sent the command to enter in the phone; it also helps as there was no popup on the password you set also =)

**note that method requires you to set SMS Tasks as a Device Administrator under Settings>Security>Device Administrators**

another alternitive can be to find the default SMS Storage directory (different on some phones, or apps) and delete it (if phone with the app is rooted) and use the command:

cmd@YourPassPhraseHere rm (Directory here inside quotations)

and if your phone is rooted it will run it inside the Linux Terminal on your phone with SuperUser access and will delete that .xml file =)

**Note: You are responsible for any files deleted using that command, so if you arent sure on what you deleted, keep backups beforehand**

i hope this was any help on that =)
[Android Apps and Games] darwusch:
Ok, it seems there are some solutions, maybe you can try these?

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

http://android-developers.blogspot.nl/2013/10/getting-your-sms-apps-ready-for-kitkat.html

Because it is better if the inbox is not filled with these administrative messages.

Thanks
[Android Apps and Games] jkok:
that first one i cannot do, as it will not work on 4.4.2 and most phones are 4.4.2 when on kitkat anyways;

that second one, ive been working on trying to make it a full-sms app, or make a implemented AOSP mms.apk like i helped berifly with on DirtyUnicorns before i had to pause ROM building because my college, but ill be more then happy to try the full-sms app route, but it may require a seperate application due to some people liking the current app is packaged to where they can use their own custom-choosen app;

but ill look into that second one, and maybe work with a stock AOSP messaging app code with it in it =)

give me some time due to my studies, projects, and personal family issues i have to get through, but ill keep at this one =)
[Android Apps and Games] darwusch:
Ok, thanks.
[Android Apps and Games] drogon53:
i have problem

hi

i have samsung galaxy grand prime and i inestall it on my phone

but it didnt work !

What To Do ?

please help me

exuseme for my bad english

Details:

OS	Android OS, v4.4.4 (KitKat)

Chipset	Qualcomm MSM8916 Snapdragon 410

CPU	Quad-core 1.2 GHz Cortex-A53

GPU	Adreno 306
[Android Apps and Games] RandyB201:
Can It Change My LED Color Based On A Text From 9016

Here is the discussion that prompts my question.

When I receive an SMS from 9016,

If it contains "MWI Notif turnOn", I would like it to turn the phones LED on and set it to a specific color.

If if contains "MWI Notif turnOff", I would like to to turn the phones LED off.

I am guessing that any other feature like the power settings for the LED should be disabled for this to work.
[Android Apps and Games] Penney.Mwp:
nice....

:D
[Android Apps and Games] Adam256khalid:
Nice app bro, so can it work on a phone which is in a bootloop or has no recovery and stacks on the startup logo?
[Android Apps and Games] lulli1:
How do you want to receive sms if you stick in bootloop or don't completely boot up. So you can answer your question yourself....huh ? ;)
[Galaxy S III Q&A, Help & Troubleshooting] Vertsz:
Hi,

Internation Pardus v15 image on rooted i9300, works very well except for this really odd USB connection error when connecting it to my Sony BT3900u car stereo, it was previously connecting without issue on the v15 Pardus build but for unknown reasons to myself now always presents an error.

Does anyone have any ideas as to what might be causing this issue? Any help would be greatly appreciated.

After getting this issue the first time, I ran through a full rebuild, wiped phone/cache/dalvick and error still persisted post rebuild.

Model:

GT-i9300

Android Version:

4.2.2

Baseband

I9300XXEMA5

Kernel version:

3.0.31-702147

Build Number:

Pardus HD Rom XV XXUDME7

Logcat:

E/MTPRx ( 8982): Read Error Came false

E/ ( 8982): read error [0] [Success]

E/MTPRx ( 8982): state from USB_STATE eventDISCONNECTED

E/MTPRx ( 8982): /data/data/com.samsung.android.MtpApplication/gadgetDisconnectAndConnect.txt: open failed: ENOENT (No such file or directory)

E/MTPRx ( 8982): stop observing and calling usbRemoved

E/MTPRx ( 8982): In usbRemoved Status bar enabled

E/MTPRx ( 8982): Sending Broadcast

E/MtpService( 8982): onDestroy.

E/MtpService( 8982): Unregister Mtp disable Receiver

E/MtpService( 8982): Receiver not registered: com.samsung.android.MtpApplication.MtpService$1@41c7d3e0

E/MtpService( 8982): unregistering mtpMediaReceiver in UnregisterAllIntent

E/MtpService( 8982): Receiver not registered: com.samsung.android.MtpApplication.MtpService$2@41c7d6a8

E/MTPJNIInterface( 8982): noti = 3

E/ ( 8982): ****** [mtp_usb_mtp_finalize] mtp_close_fd Calling

E/ ( 8982): [mtp_close_fd] fd = 50...

E/ ( 8982): [mtp_close_fd] USB endpoint [50] closed...

E/ ( 8982): ****** [mtp_usb_mtp_finalize] Updating the gInitializeFlag Flag to FALSE

E/ ( 8982): ****** [mtp_usb_mtp_finalize] Calling mtp_stop_io

E/SEC PowerHAL( 2447): sysfs_write : Error opening /sys/class/input/input1/enabled: No such file or directory

E/SEC PowerHAL( 2447): sysfs_write : Error opening /sys/class/input/input8/enabled: No such file or directory

E/videowall-TranscodeReceiver(10572): broadcastMSG : android.intent.action.ACTION_POWER_DISCONNECTED

E/MTPRx (10600): In MtpReceiverandroid.hardware.usb.action.USB_STATE

E/MTPRx (10600): check value of boot_completed is1

E/MTPRx (10600): check booting is completed_sys.boot_completed

E/MTPRx (10600): Sd-Card path/storage/extSdCard

E/MTPRx (10600): Status for mount/Unmount :mounted

E/MTPRx (10600): SDcard is available

E/MTPRx (10600): The value of first_boot is 1

E/MTPRx (10600): [ 662] The value of first_boot is 1NORMAL SEQUENCE

E/MTPRx (10600): Received USB_STATE with sdCardLaunch = 0

E/MTPRx (10600): configured is false

I'm guessing this is the correct part of the log that pretains to the MTP/USB part. If not I have attached a full log.
[Galaxy S III Q&A, Help & Troubleshooting] xpmode:
Try typing this in a terminal window or adb shell on your phone:

touch /data/data/com.samsung.android.MtpApplication/gadgetDisconnectAndConnect.txt

Or, make a txt file called gadgetDisconnectAndConnect and place it in /data/data/com.samsung.android.MtpApplication folder.
[Galaxy S III Q&A, Help & Troubleshooting] Vertsz:
Hi, thanks for the reply.

I did that as quoted, nothing seems to have changed, What should I be looking for?

Thanks!
[RAZR HD General] legend221:
Wanted to start a new thread, right now I'm very into the game, "World Of Goo".

5 Stars

https://play.google.com/store/apps/details?id=com.twodboy.worldofgoofull
[RAZR HD General] ANtiHazarD:
xda-developers app -

https://play.google.com/store/apps/details?id=com.quoord.tapatalkxda.activity

:)

WhatsApp -

https://play.google.com/store/apps/details?id=com.whatsapp

9GAG also)
[RAZR HD General] gf1723:
Definitely Cerberus for anti-theft and BaconReader for Reddit. I would totally post links but can't since I'm a new user.
[RAZR HD General] killrhythm09:
Agreed on Cerberus, but I prefer RedReader for Reddit.

https://play.google.com/store/apps/details?id=org.quantumbadger.redreader
[RAZR HD General] gf1723:
Thanks, I'll have to check it out. BaconReader was the first one I installed and never really looked back since it got a fair amount of updates.
[RAZR HD General] SCFirefighter:
Google apps policy client. It's a device locator and anti theft app and more. You'll need to be a Google apps user though.

WhatsApp

Titanium Backup pro

Friendcaster and Tweetcaster (both pro)

Radar Now! (paid weather maps)

Tapatalk

SwiftKey (keyboard replacement)

-- Android: It's a UNIX thing. You wouldn't understand.
[RAZR HD General] gf1723:
Man I could never get into the swift keyboard. I guess I should play with it longer.

sent via Tapatalk
[RAZR HD General] joew134:
I love SwiftKey, it saved me from putting my S3 through a wall.
[RAZR HD General] deeje00:
Definitely. I hate the stock keyboard. Swift key makes it usable.

Sent from my PACMAN MATRIX HD MAXX
[RAZR HD General] SCFirefighter:
The new version has swiping built in now. You don't even have to switch. You can use both in the same message if you want.

-- Android: It's a UNIX thing. You wouldn't understand.
[RAZR HD General] joew134:
I don't use the swiping option.
[RAZR HD General] legend221:
SwiftKey is definitely a must have.

Everything just works.
[RAZR HD General] jfriend33:
Got SwiftKey when the whole marketplace transitioned to play store. They had a ten cents sale. Best typing ever although it performed better when rapid could be chosen.

Who else is irritated Google retired Reader AND latitude?! Loved both of them dearly.

Picture for the rest of my must have apps

Adfree is not in the play store. And the version of adownloader that has search built in is 1.1.0.1 also not in the play store.

Love love love screebl pro. Never was satisfied with the Samsung smart stay apps.

Oh and don't forget adobe flash although I don't really consider that an app so much as a plug in.

Sent from my DROID RAZR MAXX HD
[RAZR HD General] Borderpatrol1987:
Light manager is very handy. I've used it to reprogram the notification LED, now it lights up when I charge and different colours for different apps.

---------- Post added at 09:22 AM ---------- Previous post was at 09:21 AM ----------

Mx player is a necessity and swift key
[RAZR HD General] bananapeapod:
I saw that you're using feedly, I've been using it for several years and they really stepped up with feedly cloud and api when reader went away. But I started using the gReader app (compatible with feedly) as a mobile interface and I actually like it a lot better than the feedly app. I would recommend it.
[RAZR HD General] jfriend33:
Right! Love greader. But for some reason after an update, it fails to add my feedly account so I just gave up. I saw on play store other people were experiencing the same issue.

Sent from my DROID RAZR MAXX HD
[RAZR HD General] bananapeapod:
Weird! I hope they fix it... and until I read otherwise, I'm not taking any updates. I think I have a backup from a couple weeks ago, do you want me to dig up the apk (free version)?
[RAZR HD General] jfriend33:
that would save me the trouble of googling which version works. so heck ya! thank you!
[RAZR HD General] bananapeapod:
Here's the apk I have that's working fine for me...

https://www.dropbox.com/s/w57in5n6zj1ob6x/com.noinnion.android.greader.reader-1.apk

Let me know if it works for you.
[RAZR HD General] jfriend33:
It's working! You are awesome! Now I can spend hours commenting on the Zimmerman trial!.... NOT

But no, thank you!!

Sent from my DROID RAZR MAXX HD
[RAZR HD General] bananapeapod:
Good deal, happy to help!
[RAZR HD General] mattpena23:
Gotta get oovoo for video chat.
[RAZR HD General] joew134:
I use goo manager to download ROMs and I'm totally hooked on the game knights of camelot
[RAZR HD General] LifeAsADroid:
A list of most of my favorites in no particular order:

SwiftKey Pro

Titanium Backup or TWRP

Floating Notifications

Lightflow LED

Wireless Hotspot (post hack)

theCHIVE

XDA

Radar Now!

Pandora or Slacker (or both like me)

MX Player

Weatherbug

ActivateIt (along with SmartActions)
[RAZR HD General] jfriend33:
I saw SwiftKey Pro Titanium and got excited. Thought I was missing out on something lol.

Sent from my DROID RAZR MAXX HD