I'm looking to native hook strcpy and log every call to logcat. So far I can get this to work. But the problem is that on every app within 3 seconds the app will crash. But The hook does work because I see the logcat outputting the strings. I was thinking that this might be a buffer issue or a limitation on logcat so I remove the logging but just left the hook in but no output(just a pass though). The app still crashes. Any ideas as to what the cause might be?
Here is a pastebin of the error;
Removed
Ok so SEGV_ACCERR is linked to accessing memory that I have no permission to.
Problem fixed.
So, is this a hook of all calls to strcpy or only the cals from java jni?
If it's a full native hook, would you mind sharing the code/method of hooking strcpy?
I responded to you here:
http://forum.xda-developers.com/xposed/hooking-native-code-xposed-module-t3318763
Related
Some time ago I saw a video (I think it was posted on lifehacker.com) where a guy had set up a home server (linux) with a webcam to check if his cats jumped on the tables while he was out at work.
If the webcam detected movement it sounded an alarm, scaring the cats away and capturing like 10 seconds of video which was then sent as a .flv or something video via email.
Im searching for something like this.
The monitoring server should run on either mac or windows and then send the video via email so I can watch it on my HD2.
Doesnt need to do anything else, I dont have to scare my cats away
If anyone knows any software that does this, please tell me.
check this out
You can try WebcamXp
The free editon is for only one camera
but you need to do port forwarding in your modem
if you know what i mean
........
I've got a very odd problem and need some help with it. I've got a Sprint Samsung GSIII running the latest nightly of CM10 and am trying to use an MHL adapter with it. I've got the official samsung branded, 11-pin, MHL adapter specific to the gsIII. The odd thing about it, is that it only works sometimes... If I plug it in, the phone recognizes the adapter(led light comes on and it goes to landscape mode automatically)but nothing shows up on the tv. If I reboot the phone and plug it in, the television shows static and if I touch the screen it works fine. I can use the mhl normally with no problem, but if I disconnect and re-connect, nothing again. I've tested the phone on a TW rom and it works fine the whole time. Anybody have any ideas on what is going on or how to fix it? I'd appreciate any help you guys could give.
No ideas at all? How a place to find someone with an idea? Anybody
Reboot your phone so that it works, and after you get your TV connected, open Terminal Emulator, and type:
Code:
su
logcat -d > /storage/sdcard0/nameoffile.txt
logcat -c
This will dump a logcat to a text file on your internal storage (the last command just clears the log so the next part will be more effective). Name it something recognizable.
Then, disconnect and reconnect the adapter to replicate the problem. Then, reenter the above commands (the first two, anyway; the last isn't necessary here) to create a second log file, also clearly labelled.
Now, just go to the CM github and file a bug report. You may have to make an account or something. Just be sure to explain every detail of the problem clearly and include the logs.
Since I haven't seen much MHL talk in the CM10 thread, I'm assuming it's not widely used and that the CM devs haven't used the feature enough to sufficiently test it, and they will require user testing like this to fix the problem.
Not the solution I wanted, but I guess it's the only one available. Thanks.
As of right now CM10/10.1 does not support MHL. I am trying to figure out the best way to request that feature from the CM team, or from a local Sprint Dev.
Just wondered if any Australian users had managed to get the CH9/Fairfax Stan service running on AFTV?
I got the app on, cloaked root and can navigate it, but whenever I try to play a video it comes up with a error saying there is no internet connection.
It uses silverlight, so I'm wondering whether that might be part of the rproblem.
Have been in contact with Stan help desk, and they were enthusiastic to see if I could get it working, but not really much help, which is fair enough given it is an unsupported device.
Any ideas?
Edit
I got Stan running on my Firestick by:
-sideloading the Stan mobile app to device (fire installer)
- entering credentials with Mouse Toggle for Firestick app
Aspect ratio for menu is off, but the actual video plays fine
EDIT- The first video I tried worked (Borgias)
Second (Billions) and third (Sleeper Cell) didnt
I got a U1 error for these
Will have a play with it but probably just going to fork out for a Chromecast
Has anyone else gotten a "Sharing is not supported on Amazon Fire TV" error?
While using Popcorn Time, I'll try watching a show/movie, it'll start streaming, then back out of the show/movie and this error pops up:
"Sharing is not supported on Amazon Fire TV" The program was working perfectly before this.
Has anyone seen this error before?
shutterslaps said:
While using Popcorn Time, I'll try watching a show/movie, it'll start streaming, then back out of the show/movie and this error pops up:
"Sharing is not supported on Amazon Fire TV" The program was working perfectly before this.
Has anyone seen this error before?
Click to expand...
Click to collapse
I don't use popcorn time but that's pretty interesting. I've never seen that message anywhere else.
***Is there anyone that can explain this? If you can connect through a VPN I'd be interested in seeing if the error pops up.
I already explained this today on another thread. The Fire TV does no allow sharing. Example, I use Maxthon browser and if I hit the share button to share a page or share anything, that error will popup. Some browsers and apps I use will let you share things though. I think that some apps share differently than others, I think some use something in the system to share while some just do it all through the app. Another example is opening browser links, with certain apps if I try to open brwser links it will cause an error saying that the Fire TV does not support opening browser links, but other apps open browser links just fine.
So basically the Fire TV does not support sharing at all, but I guess some apps share differently than others and are obviously bypassing whatever Amazon has in place to stop us from sharing things. Popcorn Time is clearly one of the apps that the Fire TV is able to stop from sharing. Now you just have to figure out what it is trying to share. My best answer is look at the setting from inside Popcorn Time and see if there is any settings that have anything to do with sharing or a setting that has anything to do with what should happen after playback has stopped. I seems like you have it set to share something after playback has stopped.
KLit75 said:
I don't use popcorn time but that's pretty interesting. I've never seen that message anywhere else.
***Is there anyone that can explain this? If you can connect through a VPN I'd be interested in seeing if the error pops up.
Click to expand...
Click to collapse
I'm giving it a try with a VPN now. I'll report back.
porkenhimer said:
I already explained this today on another thread. The Fire TV does no allow sharing. Example, I use Maxthon browser and if I hit the share button to share a page or share anything, that error will popup. Some browsers and apps I use will let you share things though. I think that some apps share differently than others, I think some use something in the system to share while some just do it all through the app. Another example is opening browser links, with certain apps if I try to open brwser links it will cause an error saying that the Fire TV does not support opening browser links, but other apps open browser links just fine.
So basically the Fire TV does not support sharing at all, but I guess some apps share differently than others and are obviously bypassing whatever Amazon has in place to stop us from sharing things. Popcorn Time is clearly one of the apps that the Fire TV is able to stop from sharing. Now you just have to figure out what it is trying to share. My best answer is look at the setting from inside Popcorn Time and see if there is any settings that have anything to do with sharing or a setting that has anything to do with what should happen after playback has stopped. I seems like you have it set to share something after playback has stopped.
Click to expand...
Click to collapse
The thing is, Popcorn Time has zero sharing options, in the program. No buttons are even being pressed that could possibly invoke the sharing error to pop up. It just started to happen out of nowhere.
shutterslaps said:
I'm giving it a try with a VPN now. I'll report back.
The thing is, Popcorn Time has zero sharing options, in the program. No buttons are even being pressed that could possibly invoke the sharing error to pop up. It just started to happen out of nowhere.
Click to expand...
Click to collapse
I never used it but am familiar with popcorn time. I'm pretty sure its basically an app that allows you to stream torrents but I'm not certain if like utorrent your IP is out there for copyright trolls to see. I could be wrong but if not you might want to use a VPN to be safe. Just a heads up.
shutterslaps said:
I'm giving it a try with a VPN now. I'll report back.
The thing is, Popcorn Time has zero sharing options, in the program. No buttons are even being pressed that could possibly invoke the sharing error to pop up. It just started to happen out of nowhere.
Click to expand...
Click to collapse
Its trying to share something or the error would not be popping up. Like I said, I can recrete the error with seveeral apps, caus the Fir TV has disabld sharing, but I believe not all apps share the same way, cause you canactually share with some apps without getting the error. Install Maxthon Browser and go to any website and try to share the page, the error will popup saying sharing is not supported. I am guessing that Popcorn time is trying to auto share something or the error would not be coming up. It should not be a big deal though. Its normal for apps to share things with other apps or services.
Strange issue but i am having issues with Bluetooth connectivity. I don't use bluetooth a lot but occasionally i will use it to transfer a picture from my computer to my phone.
It has worked once or twice but for the most part i keep getting...... "Failed to establish connection" ??
It often asks me to allow bluetooth tethering (no idea why as i have never had to do that before) but even if i do allow it, it makes no difference. Its like it connects as soon as i am about to send the file and then disconnects the second i hit send.
Interestingly i had had this issue before on previous Samsung device but never figured it out either. Whenever i get a new device i always disable a few apps that i don't need/use and i am wondering if maybe i am the cause of the problem! In saying that though. I don't seem to have anything disabled that would interfere with bluetooth and there has been the odd time when it has worked so i cant figure it out!
Any thoughts?
Blaalad12 said:
Strange issue but i am having issues with Bluetooth connectivity. I don't use bluetooth a lot but occasionally i will use it to transfer a picture from my computer to my phone.
It has worked once or twice but for the most part i keep getting...... "Failed to establish connection" ??
It often asks me to allow bluetooth tethering (no idea why as i have never had to do that before) but even if i do allow it, it makes no difference. Its like it connects as soon as i am about to send the file and then disconnects the second i hit send.
Interestingly i had had this issue before on previous Samsung device but never figured it out either. Whenever i get a new device i always disable a few apps that i don't need/use and i am wondering if maybe i am the cause of the problem! In saying that though. I don't seem to have anything disabled that would interfere with bluetooth and there has been the odd time when it has worked so i cant figure it out!
Any thoughts?
Click to expand...
Click to collapse
You need to update the firmware
Blaalad12 said:
Strange issue but i am having issues with Bluetooth connectivity. I don't use bluetooth a lot but occasionally i will use it to transfer a picture from my computer to my phone.
It has worked once or twice but for the most part i keep getting...... "Failed to establish connection" ??
It often asks me to allow bluetooth tethering (no idea why as i have never had to do that before) but even if i do allow it, it makes no difference. Its like it connects as soon as i am about to send the file and then disconnects the second i hit send.
Interestingly i had had this issue before on previous Samsung device but never figured it out either. Whenever i get a new device i always disable a few apps that i don't need/use and i am wondering if maybe i am the cause of the problem! In saying that though. I don't seem to have anything disabled that would interfere with bluetooth and there has been the odd time when it has worked so i cant figure it out!
Any thoughts?
Click to expand...
Click to collapse
Always figured this was a Windows issue. Had the same problem with my Note 9. Bluetooth setup has both devices connect, but then it automatically disconnects on the phone right after. Trying to send a file to the computer results in an error even though if I try the opposite and send a file to the phone, it works. I tried again when I got my Note 10+ and same result. I used to use bluetooth to stream music to my PC speakers but since maybe around Windows 8.1, I've heard they removed that feature and i figure this is the result of that.
restricted file type? send from sd card?
Sent from my SM-N975F using Tapatalk