[Q] Camera access while bypassing phone security - Android Software/Hacking General [Developers Only]

What I want: I want to access my camera without unlocking my phones security. Occasionally you want to take a quick camera shot but this is easy to do quick when there's a telephone security in place. I think iPhones have this feature, but I also think I've seen it on the Xperia S.
What I have: My telephone is an HTC Sensation, rooted s-off and the like. I'm currently on a Sense based ROM (though Sense is stripped and the experience is basic Android ICS like): HyperNonSense. I own WidgetLocker, and I can place a shortcut to the camera but then I'm still bugged with the security in place.
What I don't want: I don't want to disable my phones security.
What I have done: I've searched a lot, seriously a lot, but have not find a satisfying solution. I did find two solutions I did not like or could not test:
Solution 1: This solution says it is possible to achieve this using a (1*1) widget acting as the camera. I, however, have not found such a widget.
Solution 2: Soution 2 requires Tasker, however I don't feel like buying this solution 1) for only this purpose and 2) when I'm not even sure this solution still works.
So the question: Does anyone know if and how I can achieve what I want: access to my camera to take a quick pic without unlocking my android device's security?
Edit: argh... not sure if this is the right subforum

Not sure if it will work have u tried using desktop Visualizer to make a widget/icon to link to camera ?
Sent from my SGH-I777 using xda premium

Although I kinda hate myself for not finding that application myself to test this, it also did not work as I had hoped it would. I doubt whether the "widget approach" even would work. Thanks for the input though.

Arie- said:
Although I kinda hate myself for not finding that application myself to test this, it also did not work as I had hoped it would. I doubt whether the "widget approach" even would work. Thanks for the input though.
Click to expand...
Click to collapse
I know this is an old post, but has anyone been able to achieve this?
I came across Solution 2 mentioned in the original post (using Tasker and Widget Locker), but have not been able to import the profile at all.. and the scripting is a lil too complicated for me to understand.
http://tasker.wikidot.com/bypass-pattern-from-lockscreen-with-camera

fLEkz said:
I know this is an old post, but has anyone been able to achieve this?
I came across Solution 2 mentioned in the original post (using Tasker and Widget Locker), but have not been able to import the profile at all.. and the scripting is a lil too complicated for me to understand.
http://tasker.wikidot.com/bypass-pattern-from-lockscreen-with-camera
Click to expand...
Click to collapse
I was able to import the profile, but it seems it still needs a task which is not defined on the profile.

Related

[Q] Tasker App Detection w/ Custom ROM's?

I can confirm on Insert Coin, and on Virtuous (so I know it's not a 2.3.4 issue) that Tasker's app detection doesn't work....
can anyone confirm this... and if so, is it a big deal for you? Don't know why more people aren't saying anything.... mainly, I would love to be able to control display timeout if Im coming into a particular app, but now I just control it via orientation....
Any thoughts?
(Why everytime I make a thread, I get no replies...)
bump
I love you guys.
I've had this problem. Seems to disappear after a wipe and reflash. The problem does reappear randomly after flashing a different rom.
Don't take it so personally that people dont respond within hours of you posting. You ate assuming a large proportion of sensation users use Tasker and that they also use the app detection feature. I for one do not use that feature so have no idea if it works. Regardless, the best place to get app specific help is to contact the developer of the app rather than posting in a general forum.
I thought it was more popular... I contacted the developer and he told me that custom ROMs change the way Android works...

[Exploit] Location Stealing on Samsung smartphones

Edit: Uploaded new APK which is compatible with devices from Android 2.0 and up.
First of all, let me say this: I love Samsung smartphones, I myself own one, the Samsung Galaxy S, and these are great devices. Me sharing this information is only in the will to do good, so that people know how to protect themselves from this exploit and to pressure Samsung in fixing it on future updates.
What my exploit does it to obtain the user location, without the app needing any android permission AT ALL. Usually you could obtain the user location by using permissions such as ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION or even via Internet. The thing is, by using one of those, the user is alerted that that particular app will have access to those permissions on the device, but with my exploit the app is able to get the same info without issuing any of those. Also, this does not rely on having Root permissions on the device, this exploit works on out-of-the box devices.
The reason why this happens is because a certain widget (accurweather widget that comes with the phone) on some modern Samsung phones places the info about the location readable by every app in System Properties, its hidden from the 'naked eye' if you're just looking at the API, but you just have to know its name to get it. So these next 2 lines of code will get you the information used for the exploit (go ahead and compile your own version if you're afraid of my APK):
String value1 = Settings.System.getString(getContentResolver(), "aw_daemon_service_key_city_name");
String value2 = Settings.System.getString(getContentResolver(), "aw_daemon_service_key_detail_info");
The problem is even more serious than I first though, because you only need to have the widget on the launcher once, and that info will remain in the system informations when you remote it from the launcher, even across reboots or even if you clear the widget's data and cache (pretty scary :S). Sometimes (I don't know why exactly yet) the info goes away for good, but only if you don't have this widget on your launcher!
So, what devices does this affect. From my tests, it affect the Galaxy Note and the Samsung Galaxy S II, but it should affect much more new Samsung devices probably, I just didn't test. I have a SGS but since I run cyanogenMod there was no point running it there either (cyanogenmod ftw! ).
Of course you might be wondering right now, that if you MANUALLY set the place to some strange place on the widget (let's say a remote village in China) what is reported by the exploit will be that place, but it seems to me that most people will be using this on "current location" setting.
So my truly advise is, root the phone and remove the widget for good (needs root because it is a system app). If you don't want to root the phone, then just manually change the place of the widget to something else.
In this thread I leave the simple app that shows you if your device its exploitable, and if so it shows you SOME of the information that could be exploited. As you'll notice during install, no permissions are required, nor the app will at any time ask for root permissions.
Market link to same app: https://market.android.com/details?id=com.pedronveloso.samsunglocationstealing
Indeed, very good sharing...
Keep the good work...
Cheers
Fortunately i donĀ“t use TW....
"Issue parsing the package" error and does not let me download in the market as I'm on an LG Thrill. I would however like to see if the Thrill/O3D's Accuweather widget is also prone to this issue. Thank you.
So would it be enough for Accuweather to be updated (once its patched), or is the problem deeper then that?
Simple solution for me, just removed it.
Will search for an other weather app.
We have a class action lawsuit against HTC/Accuweather going on over on the HTC EVO side, although our accuweather issue is it's transmitting location unencrypted in plain text to advertisers.
Wonder if this could be modified to work with the Sprint/HTC accuweather
Snuble said:
So would it be enough for Accuweather to be updated (once its patched), or is the problem deeper then that?
Click to expand...
Click to collapse
From what I understand, the data is pulled with no permission or anything only because it's a system app. Remove it and be safe.
I knew I froze the app for a reason! Thanks for sharing your discovery.
Snuble said:
So would it be enough for Accuweather to be updated (once its patched), or is the problem deeper then that?
Click to expand...
Click to collapse
I don't know for sure yet, but I'm guessing it probably could. The thing is, I think accurweather its a modified version for the Samsung phones, so only a ROM itself would carry such update, and we know how long those take :\.
bedwa said:
"Issue parsing the package" error and does not let me download in the market as I'm on an LG Thrill. I would however like to see if the Thrill/O3D's Accuweather widget is also prone to this issue. Thank you.
Click to expand...
Click to collapse
Was probably because I made the minimum SDK equals to Android 2.3.3 . I've fixed that now, on the attachment and on the Market, so go ahead and try again please
Could anybody do me a huge favour, all i need is a screenshot of the results this application gets (a real location)
Im doing a dissertation on android gps forensics and it would be useful and as i dont have a samsung myself i cant do it.
Phil750123 said:
Could anybody do me a huge favour, all i need is a screenshot of the results this application gets (a real location)
Im doing a dissertation on android gps forensics and it would be useful and as i dont have a samsung myself i cant do it.
Click to expand...
Click to collapse
This an earlier screenshot I have, almost the same but field names are in portuguese, however the info extracted is the same and reads in English so you can get the idea.
Thanks a lot just what i needed!
Hi, very good work.
it's possible to know which version of accuweather you refer?
Reports null on my samsung
Sent from my SGH-T679 using XDA App

GB to ICS - What I lost in the Fire

I've had ICS installed on Desire S for the past week. I'm a bit disappointed at some features being missing. I was using standard GB with Sense 3.0 - nothing special.
Well here's my list of troubles - maybe someone can help me with them, or at least they'll be out there for the benefit of anyone taking the dive.
Browser no longer opens default app: Whenever I've installed a special purpose application (Wikipedia, IMDb, Google Play) and I search on the browser, I no longer get the option to open the page in its dedicated app - instead the page loads and I end up using the browser. Most of you might remember the browser on GB used to ask the standard which-app-would-you-like-to-use question, and whether you'd like it defaulted or just once, but it no longer does that.
The mail widget doesn't show the same as the app - I've got Mail configured to sync with Exchange on 6 folders. The widget has stopped showing the different folders - the app still shows them when I select "All Messages" and this was the default view on GB. I've looked for settings near and far, but can't find any to control this.
HTC Sense no longer has widgets to download: I miss the hourglass timer (countdown) and the battery widget.
Youtube widget now occupies 3x2 instead of the sleaker 4x1. Is it YouTube or Sense, I don't know - but I'm not completely satisfied by this change.
To be fair to ICS tho, I believe it's quicker and lighter on the battery - I haven't felt the common complaints of slower. Also, a browser issue that some people had complained about is non-existent in my case - Good for me!
dont know about the mail question ,, but for browser , clear data and clear defualts in setting>apps>browser,,,
htc-sense : yes it is a little wierd but unfortunately , u cant download more htc widgets on sense 3.6 ,
youtube : since i moved to ICS youtube widget is shown like this , on any ics rom,,, so its youtube, not sense
As far as I remember you can set default apps for actions somwhere in the settings. But the truth is that ICS from HTC is really annoying and battery life was worse for me than on GB.
islamomt said:
Browser no longer opens default app: Whenever I've installed a special purpose application (Wikipedia, IMDb, Google Play) and I search on the browser, I no longer get the option to open the page in its dedicated app - instead the page loads and I end up using the browser. Most of you might remember the browser on GB used to ask the standard which-app-would-you-like-to-use question, and whether you'd like it defaulted or just once, but it no longer does that.
Click to expand...
Click to collapse
Are you rooted ? Try this.
http://forum.xda-developers.com/showthread.php?t=1865756&highlight=build+prop
Before i had problems with crashing links and apps weren't opening correctly.
Now for example i click youtube video in facebook app, it opens browser loads that address and asks what app to use. Checked youtube and don't ask in future.
Now works correct ;]
glacier1122 said:
but for browser , clear data and clear defualts in setting>apps>browser,,,
Click to expand...
Click to collapse
Unfortunately this doesn't work.. but thanks for the idea
VnnAmed said:
As far as I remember you can set default apps for actions somwhere in the settings. But the truth is that ICS from HTC is really annoying and battery life was worse for me than on GB.
Click to expand...
Click to collapse
The one you're talking about is in Settings > Apps association.. but that doesn't include the apps I'm installing.
Apparently the response below from remusator is the right way to go... At least it sounds right to me. I'll try it and report back.
To Root? Or not to Root? That is the question.
remusator said:
Are you rooted ? Try this.
http://forum.xda-developers.com/showthread.php?t=1865756&highlight=build+prop
Before i had problems with crashing links and apps weren't opening correctly.
Now for example i click youtube video in facebook app, it opens browser loads that address and asks what app to use. Checked youtube and don't ask in future.
Now works correct ;]
Click to expand...
Click to collapse
Its sounds very likely that this is the right solution to follow... However, I'm not rooted. Would you recommend for or against (well, I think since you're rooted you probably will recommend it) but what are potential losses from rooting. I was against early in my warranty and OTA was still an option, but I'm not sure I have a case any more. Shall I just go ahead and root?
islamomt said:
Its sounds very likely that this is the right solution to follow... However, I'm not rooted. Would you recommend for or against (well, I think since you're rooted you probably will recommend it) but what are potential losses from rooting. I was against early in my warranty and OTA was still an option, but I'm not sure I have a case any more. Shall I just go ahead and root?
Click to expand...
Click to collapse
root it now !! no risk , it is very, very easy ,, u can get rid of the stock buggy ics , and can have latest android 4.1 jellybean ! ,Sense 4 ! ur phone will be very fast and lighting , can play any HD game bceause u can overclock your cpu ! ,,, but you may lost ur warranty :silly:
You will loose your warranty, however there are methods how to put the phone in original (afaik).
Anyway, most of Desire S phones are probably out of warranty already.
Rooting doesn't exactly mean installing custom roms, btw...
But it comes hand in hand, and it means freedom. You can make whatever you like with your phone.
Rooting on gingerbread was pretty easy and straightforward.
You root only once and install custom recovery. Then you can flash every rom you like (Desire S Development section), even prerooted, so no need to root again ;]
I've started my investigation on rooting, but I'm wondering about S-on/off are those needed also. Would those be enough to modify the build.prop file? What about upgrading bootloader.
Apparently I have too many questions so if you can redirect me to a guide about all those... The 101 of everything root/bootloader etc. Is appreciate it.
Sent from my HTC Desire S using xda app-developers app
http://forum.xda-developers.com/showthread.php?t=1146601
Everything u need
islamomt said:
I've started my investigation on rooting, but I'm wondering about S-on/off are those needed also. Would those be enough to modify the build.prop file? What about upgrading bootloader.
Apparently I have too many questions so if you can redirect me to a guide about all those... The 101 of everything root/bootloader etc. Is appreciate it.
Sent from my HTC Desire S using xda app-developers app
Click to expand...
Click to collapse
You can also find a complete guide thread here. Read as much as you can before you're confident about rooting. If you follow instructions carefully and read the tips to avoid bricking your device then there is very little risk to rooting.

[Q] Anyone get Smart Actions working on non-stock?

So, while I'm waiting for Cyanogenmod's official A2 ROM to post, has anyone managed to get Smart actions to work on a non-stock ROM? I saw a couple threads about it, but the conclusions seemed to be that it would install but crash when used. Anyone find anything different? SA is the one thing I think I'd really missed that can't be replaced.
And yes, I know about tasker. I didn't care for it; it didn't seem as versatile. I couldn't enter a VIP ring list (VERY useful for night time), nor did it have options for docking tasks.
WraithTDK said:
So, while I'm waiting for Cyanogenmod's official A2 ROM to post, has anyone managed to get Smart actions to work on a non-stock ROM? I saw a couple threads about it, but the conclusions seemed to be that it would install but crash when used. Anyone find anything different? SA is the one thing I think I'd really missed that can't be replaced.
And yes, I know about tasker. I didn't care for it; it didn't seem as versatile. I couldn't enter a VIP ring list (VERY useful for night time), nor did it have options for docking tasks.
Click to expand...
Click to collapse
I second that, SA is indispensable & a must have.

[request]Papyrus side button usage?

So, in Papyrus there is an option to use the side button for some really handy things.
However, Samsung doesn't allow it.... DAMN SAMSUNG!
Papyrus help says
Unfortunately, Samsung does not currently allow third party applications to access the S Pen side button. We really hope Samsung will change this in the future.
Click to expand...
Click to collapse
But then again.. it's android, there should always be a way, right??
Did anyone find a way to get this fixed? Would installing a custom ROM work? I would rather not as I give courses at workplaces and I don't want people to start installing cutom ROMs... any other ways?
Would a custom ROM fix it? As samsung is the one blocking the gestures, would a custom ROM make a difference?
Could anyone try? I can't install a custom ROM's as I have to use this tablet as an example for work.
hi there, have you found a solution to the problem?
http://papyrus.uservoice.com/forums/177239-general/suggestions/3688573-enable-s-pen-button
apparently a lot of others have the same issue. I wonder if we can just delete the function using Titanium backup.

Categories

Resources