Access running tasks from pc - Android Software Development

Is it possible to do this? We could debug apps for reverse engineering purposes, implement hooks, etc.

What do you mean by "access tasks"? And actually we could debug apps right now. See apktool from my signature.

Related

Emulator Debugging - 'Unable to start program'

Hi
I'm trying to debug the memwatcher SDK tools sample today item using VS2005. This used to work - i don't know what I did to break it...
First I get a message "Program to Debug A non-executable project cannot be started directly. Please set a command to use to start debugging this
project. Do you wish to continue?'
If I click yes I get a message "unable to start program
'%CSIDL_PROGRAM_FILES%\memwatcher\memwatcher.dll'.
I've tried re-installing VS2005 and the SDK with no luck.Other SDK samples that compile to exes debug fine. If I load the dll and registry items by and the sample works as expected (not debugging) - it also runs on a real device.
Can anyone suggest what to do?
Thanks
Mark

How can I control my G1 from a desktop computer? (screenshots, etc)

I am in the process of redoing my phone and I remember reading somewhere else where you can control your G1 via USB with some software. I forget what software it is. I need to uninstall a bunch of program and it would be easier to point/click rather than do everything on the phone. I also need to take various screenshots.
Screenshots can be done very easily using ddms. (tested on windows).
1: Install the Android SDK
2: Go to the Tools folder (D:\android-sdk-windows-1.5_r1\tools on mine)
3: Run DDMS.bat
4: On the Device menu, select Screen Capture.
so that bits easy.
I don't know if you can fully control Android from your PC, but you can access the CLI from the PC (so you don't have to type on the small keyboard).
Start -> Run -> "cmd"
cd "\android-sdk-windows-1.5_r1\tools"
adb shell.
If you can completely control Android from the PC, then please let me know. It sounds like fun.

[Q] Ways for sniffing packets from Android device.

Hello,
2 questions:
1) Is there a way for sniffing packets and debugging Android device without been "rooted" on the device?
2) Is there a way to sniff packets going out from an android device for example using vmware etc.
I want the filter to be specific for packets going out/trying to go out from an Android device/emulator.
right now i use tcpdump-arm and it works A-ok but i need to transfer the file to the device and also we rooted on the device.
I'm looking for something "less" intrusive.
if this is cannot be done pls write why.
thanks for any info related.
Br0k3n.

[Q][Xposed] How to hook onto methods from classes not on the SDK?

I am trying to develop an Xposed module that requires hooking onto methods from classes that are not present on the SDK. From the debugging logs I can confirm that the method hooks are not called.
I have tried the following:
Registering the method hooks in handleLoadPackage, without providing the parameter list
Copying the whole class from AOSP and putting it in my module project with matching package name. Then register the method hooks with XposedHelpers.findAndHookMethod and provide the parameter list.
Any ideas? Is what I'm trying to do possible?

ADB device communication protocol

I am developing (currently in plan phase ) a framework to allow developers to connect to a remote android machine while working on eclipse.
The idea is, there will be a java program running on the developer's comp, which will behave as an emulator and pass all the adb commands to a remote machine (mac, windows, or linux: over net). There will be another java client app on that remote machine which will receive those commands and give them to the local adb demon (which in turn will give it to the connected android device).
This will allow remote debugging where direct port forwarding is not possible, like solving specific customer's issue.
Does such a framework already exist?
Where can I find the documentation on how to emulate an android device and how does adb demon communicates with the device?

Categories

Resources