[URGENT!] tdroid not detecting anything emulator

145 views
Skip to first unread message

Ravi Bhoot

unread,
Apr 17, 2015, 1:15:11 PM4/17/15
to taint...@googlegroups.com
Hello

There seems to be some issue while running tdroid on emulator.
Emulator is working fine but tdroid seems to not work at all.

I have described the entire process that i followed below with logs.
There seems to be too many warnings in the compilation log which i believe is the cause the behavior.

Initialization:
I am using Kubuntu 14.04

Following steps from:
https://source.android.com/source/building-devices.html
sudo apt-get install bison g++-multilib git gperf libxml2-utils make zlib1g-dev:i386 zip
sudo apt
-get install gcc-multilib g++-multilib
sudo apt
-get install flex
sudo apt
-get install libswitch-perl
export USE_CCACHE=1
prebuilts
/misc/linux-x86/ccache/ccache -M 50G
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo

Downloading the source code:
mkdir taintdroid
cd taintdroid
repo init
-u https://android.googlesource.com/platform/manifest -b android-4.3_r1 2>&1 | tee init.log

link to the init log file - http://paste.ubuntu.com/10839520/

repo sync 2>&1 | tee sync.log

link to the sync log - http://paste.ubuntu.com/10839524/

cd .repo/
mkdir local_manifests
cd local_manifests
/
nano local_manifest
.xml
same as the one on tdroid site
link to local_manifest.xml - http://paste.ubuntu.com/10839528/

repo sync 2>&1 | tee taint-sync.log
repo sync 2>&1 | tee taint-sync-2.log
repo sync 2>&1 | tee taint-sync-3.log

I had some net issues, which is why i had to run this thrice
links to the log files:
http://paste.ubuntu.com/10839534/
http://paste.ubuntu.com/10839536/
http://paste.ubuntu.com/10839539/



repo forall dalvik libcore frameworks/base frameworks/native frameworks/opt/telephony system/vold system/core device/samsung/manta device/samsung/tuna        packages/apps/TaintDroidNotify -c 'git checkout -b taintdroid-4.3_r1 --track github/taintdroid-4.3_r1 && git pull'

This command also had to be run twice due to errors:
link to log files -
http://paste.ubuntu.com/10839547/
http://paste.ubuntu.com/10839549/

nano buildspec.mk
nano build
/target/product/core.mk

The contents of the above files were modified as given in the download instructions.

Finally the build:
. build/envsetup.sh
lunch 1
make -j8 2>&1 | tee make.log
emulator -kernel kernel-goldfish-direct -partition-size 1024

link to the make log file - http://paste.ubuntu.com/10839559/
list of all lines with warnings - http://paste.ubuntu.com/10839600/

emulator command
emulator -kernel kernel-goldfish-direct -partition-size 1024 -logcat *:V 2>&1 | tee logcat.log

the emulator logcat - http://paste.ubuntu.com/10839656/
the emulator logcat filtered for logs with warning or above priority - http://paste.ubuntu.com/10839663/

I have tried three different fresh installs to the same end.

Also emulator -gpu on seems not to work
which i was able to fix by referring to:
https://code.google.com/p/android/issues/detail?id=58794

I need to fix this issue as soon as possible.

Any help would be appreciated,

Thanks

Ravi

Katharina Mollus

unread,
Apr 17, 2015, 1:18:43 PM4/17/15
to taint...@googlegroups.com

Did you start the TaintdroidNotify App?

;Katharina

--
You received this message because you are subscribed to the Google Groups "TaintDroid" group.
To unsubscribe from this group and stop receiving emails from it, send an email to taintdroid+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ravi Bhoot

unread,
Apr 17, 2015, 2:10:53 PM4/17/15
to taint...@googlegroups.com
yes, i did

Ravi Bhoot

unread,
Apr 18, 2015, 8:21:44 AM4/18/15
to taint...@googlegroups.com
I have filtered out some lines from the logcat which might help debug the issue

http://paste.ubuntu.com/10844120/

Any help would be greatly appreciated.

Thanks

Ravi

Ravi Bhoot

unread,
Apr 19, 2015, 5:51:22 AM4/19/15
to taint...@googlegroups.com
Anybody who can help me debug this?

Ravi Bhoot

unread,
Apr 19, 2015, 5:51:32 AM4/19/15
to taint...@googlegroups.com

Ayman Youssef

unread,
May 2, 2016, 12:49:04 PM5/2/16
to TaintDroid
Hi,

I have almost the same issue, and opened the TaintDroid notify app and clicked START button, however nothing happens, I keep testing different apps with nothing showing in the tool bar.

Appreciate if anyone can help in debugging this.

Ayman Youssef

unread,
May 2, 2016, 12:55:53 PM5/2/16
to TaintDroid
Hi,

I found the following thread that apparently solves the problem.


It seems that the problem is in the TaintDroid notify app, and the options to fix this is either to pull the TaintDroid Notify app from older release of TaintDroid or to use the logcat command in the thread.

I used the logcat command with the SMS application and it worked.

Cheers :)
Reply all
Reply to author
Forward
0 new messages