Skip to content

Instantly share code, notes, and snippets.

def __build_command__(self, cmd):
"""
Build command parameters
"""
if self.__devices is not None and len(self.__devices) > 1 and self.__target is None:
self.__error = "[!] Must set target device first"
return None
if type(cmd) is tuple:
>>> adb.get_version()
args> ['adb', ['-s', 'emulator-5554'], 'version']
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pyand.py", line 106, in get_version
Returns ADB tool version
File "pyand.py", line 92, in run_cmd
for arg in args:
File "/usr/lib/python2.7/subprocess.py", line 709, in __init__
errread, errwrite)
ls: cannot access device/*/honami/cm.mk: No such file or directory
build/core/product_config.mk:233: *** Can not locate config makefile for product "cm_honami". Stop.
Device honami not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Traceback (most recent call last):
File "build/tools/roomservice.py", line 76, in <module>
result = json.loads(urllib.request.urlopen(githubreq).read().decode())
File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
@ardevd
ardevd / honami_cm_camera-log.log
Created July 2, 2014 15:11
Honami Camera Stream issue - logcat (with new lib)
I/ActivityManager( 953): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.google.android.GoogleCamera/com.android.camera.CameraLauncher bnds=[849,1532][1050,1784] (has extras)} from pid 2353
W/BroadcastQueue( 953): Permission Denial: receiving Intent { act=com.android.launcher3.action.LAUNCH flg=0x10 (has extras) } to com.google.android.googlequicksearchbox/com.google.android.search.core.summons.icing.InternalIcingCorporaProvider$ApplicationLaunchReceiver requires com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS due to sender com.google.android.googlequicksearchbox (uid 10029)
W/art ( 328): Could not get current activity
I/MicrophoneInputStream( 3303): mic_close eze@64f1b7e0
I/ActivityManager( 953): Start proc com.google.android.GoogleCamera for activity com.google.android.GoogleCamera/com.android.camera.CameraLauncher: pid=4231 uid=10080 gids={50080, 1006, 3003, 1028, 1015}
D/audio_hw_primary( 330): in_standby: enter: stream (0xb7985a80
@ardevd
ardevd / honami_cm_camera-log_no_lib.log
Created July 2, 2014 15:11
Honami cm camera log (without lib)
I/ActivityManager( 826): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.google.android.GoogleCamera/com.android.camera.CameraLauncher bnds=[849,1532][1050,1784] (has extras)} from pid 1372
W/BroadcastQueue( 826): Permission Denial: receiving Intent { act=com.android.launcher3.action.LAUNCH flg=0x10 (has extras) } to com.google.android.googlequicksearchbox/com.google.android.search.core.summons.icing.InternalIcingCorporaProvider$ApplicationLaunchReceiver requires com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS due to sender com.google.android.googlequicksearchbox (uid 10029)
W/art ( 325): Could not get current activity
I/MicrophoneInputStream( 1597): mic_close eze@64e61800
I/ActivityManager( 826): Start proc com.google.android.GoogleCamera for activity com.google.android.GoogleCamera/com.android.camera.CameraLauncher: pid=3699 uid=10080 gids={50080, 1006, 3003, 1028, 1015}
D/audio_hw_primary( 327): in_standby: enter: stream (0xb7365778
@ardevd
ardevd / gist:b5942a9f3fa05d180ebc
Created July 11, 2014 08:37
Honami CM camera logcat ouput (with LOG_NDEBUG on)
I/ActivityManager( 951): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.google.android.GoogleCamera/com.android.camera.CameraLauncher bnds=[849,1532][1050,1784] (has extras)} from pid 2436
W/BroadcastQueue( 951): Permission Denial: receiving Intent { act=com.android.launcher3.action.LAUNCH flg=0x10 (has extras) } to com.google.android.googlequicksearchbox/com.google.android.search.core.summons.icing.InternalIcingCorporaProvider$ApplicationLaunchReceiver requires com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS due to sender com.google.android.googlequicksearchbox (uid 10029)
W/art ( 326): Could not get current activity
I/ActivityManager( 951): Start proc com.google.android.GoogleCamera for activity com.google.android.GoogleCamera/com.android.camera.CameraLauncher: pid=5890 uid=10080 gids={50080, 1006, 3003, 1028, 1015}
I/MicrophoneInputStream( 3906): mic_close eze@64fb82b0
D/audio_hw_primary( 328): in_standby: enter: stream (0xb7aba8e8
@ardevd
ardevd / gist:d8fafbf1edbbb7814766
Created July 11, 2014 08:45
Honami cm camera (second run, which works)
I/ActivityManager( 951): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.google.android.GoogleCamera/com.android.camera.CameraLauncher bnds=[849,1532][1050,1784] (has extras)} from pid 2436
D/audio_hw_primary( 328): select_devices: done
W/BroadcastQueue( 951): Permission Denial: receiving Intent { act=com.android.launcher3.action.LAUNCH flg=0x10 (has extras) } to com.google.android.googlequicksearchbox/com.google.android.search.core.summons.icing.InternalIcingCorporaProvider$ApplicationLaunchReceiver requires com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS due to sender com.google.android.googlequicksearchbox (uid 10029)
W/art ( 326): Could not get current activity
I/MicrophoneInputStream( 3906): mic_close eze@64e5b1b8
I/ActivityManager( 951): Start proc com.google.android.GoogleCamera for activity com.google.android.GoogleCamera/com.android.camera.CameraLauncher: pid=6351 uid=10080 gids={50080, 1006, 3003, 1028, 1015}
D/audio_hw_prima
@ardevd
ardevd / gist:eacdd4ce7a1f95bf70a3
Created September 13, 2014 14:06
DSP Manager crash
E/MediaPlayer( 4731): Should have subtitle controller already set
V/offload_effect_bundle( 329): effect_command: ctxt 0xb84eaf40, cmd 8
V/offload_effect_bundle( 329): effect_command: ctxt 0xb84eaf40, cmd 8
W/AudioFlinger( 329): createEffect() effect not found
E/AudioEffect( 9922): set(): AudioFlinger could not create effect, status: -22
E/AudioEffects-JNI( 9922): AudioEffect initCheck failed -4
E/AudioEffect-JAVA( 9922): Error code -4 when initializing AudioEffect.
D/AndroidRuntime( 9922): Shutting down VM
W/dalvikvm( 9922): threadid=1: thread exiting with uncaught exception (group=0x41585ce0)
D/BufferProgressListener( 4713): updateCurrentSong: [233, DEFAULT]
@ardevd
ardevd / missing_prop_leo
Created September 30, 2014 10:49
Missing prop files
[-] File does not exist /home/eholst/Downloads/D6603/system/lib/libcald_hal.so
[-] File does not exist /home/eholst/Downloads/D6603/system/vendor/camera/LGI02BN1_CACAO.dat
[-] File does not exist /home/eholst/Downloads/D6603/system/vendor/camera/LGI02BN1.dat
[-] File does not exist /home/eholst/Downloads/D6603/system/vendor/camera/SEM02BN1_CACAO.dat
[-] File does not exist /home/eholst/Downloads/D6603/system/vendor/camera/SEM02BN1.dat
[-] File does not exist /home/eholst/Downloads/D6603/system/vendor/camera/SOI20BS0_CACAO.dat
[-] File does not exist /home/eholst/Downloads/D6603/system/vendor/camera/SOI20BS0.dat
[-] File does not exist /home/eholst/Downloads/D6603/system/etc/sensors_calib.conf
[-] File does not exist /home/eholst/Downloads/D6603/system/usr/idc/max1187x_touchscreen_0.idc
[*] Present: 122 / Not Present: 9
=========================================================================
Veil-Evasion | [Version]: 2.4.3
=========================================================================
[Web]: https://www.veil-framework.com/ | [Twitter]: @VeilFramework
=========================================================================
Traceback (most recent call last):
File "./Veil-Evasion.py", line 43, in <module>
controller = controller.Controller(oneRun=False)
File "/usr/share/veil-evasion/modules/common/controller.py", line 129, in __init__