Dooo App is Crashing - Android Q&A, Help & Troubleshooting

I created Dooo app using android source code but after build when i install it my phone its opening and closing crashing.
Android Studio Build Report
Code:
Executing tasks: [:app:assembleRelease] in project C:\Users\Manoj\Project\Dooo
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
> Task :app:preBuild UP-TO-DATE
> Task :app:preReleaseBuild UP-TO-DATE
> Task :app:compileReleaseAidl NO-SOURCE
> Task :app:compileReleaseRenderscript NO-SOURCE
> Task :app:generateReleaseBuildConfig UP-TO-DATE
> Task :app:javaPreCompileRelease UP-TO-DATE
> Task :app:writeReleaseApplicationId UP-TO-DATE
> Task :app:analyticsRecordingRelease
> Task :app:checkReleaseAarMetadata UP-TO-DATE
> Task :app:generateReleaseResValues UP-TO-DATE
> Task :app:generateReleaseResources UP-TO-DATE
> Task :app:processReleaseGoogleServices UP-TO-DATE
> Task :app:mergeReleaseResources UP-TO-DATE
> Task :app:createReleaseCompatibleScreenManifests UP-TO-DATE
> Task :app:extractDeepLinksRelease UP-TO-DATE
> Task :app:processReleaseMainManifest UP-TO-DATE
> Task :app:processReleaseManifest UP-TO-DATE
> Task :app:processReleaseManifestForPackage UP-TO-DATE
> Task :app:processReleaseResources UP-TO-DATE
> Task :app:compileReleaseJavaWithJavac UP-TO-DATE
> Task :app:compileReleaseSources UP-TO-DATE
> Task :app:lintVitalRelease
> Task :app:mergeReleaseJniLibFolders UP-TO-DATE
> Task :app:mergeReleaseNativeLibs UP-TO-DATE
> Task :app:stripReleaseDebugSymbols UP-TO-DATE
> Task :app:extractReleaseNativeSymbolTables UP-TO-DATE
> Task :app:mergeReleaseNativeDebugMetadata NO-SOURCE
> Task :app:mergeReleaseShaders UP-TO-DATE
> Task :app:compileReleaseShaders NO-SOURCE
> Task :app:generateReleaseAssets UP-TO-DATE
> Task :app:mergeReleaseAssets UP-TO-DATE
> Task :app:compressReleaseAssets UP-TO-DATE
> Task :app:checkReleaseDuplicateClasses UP-TO-DATE
> Task :app:dexBuilderRelease UP-TO-DATE
> Task :app:desugarReleaseFileDependencies UP-TO-DATE
> Task :app:mergeExtDexRelease UP-TO-DATE
> Task :app:mergeDexRelease UP-TO-DATE
> Task :app:processReleaseJavaRes NO-SOURCE
> Task :app:mergeReleaseJavaResource UP-TO-DATE
> Task :app:optimizeReleaseResources UP-TO-DATE
> Task :app:collectReleaseDependencies UP-TO-DATE
> Task :app:sdkReleaseDependencyData UP-TO-DATE
> Task :app:validateSigningRelease UP-TO-DATE
> Task :app:writeReleaseAppMetadata UP-TO-DATE
> Task :app:writeReleaseSigningConfigVersions UP-TO-DATE
> Task :app:packageRelease
PackagingOptions.jniLibs.useLegacyPackaging should be set to true because android:extractNativeLibs is set to "true" in AndroidManifest.xml.
> Task :app:assembleRelease
BUILD SUCCESSFUL in 7s
36 actionable tasks: 3 executed, 33 up-to-date
Build Analyzer results available
Is it script problm or Android Studio Bug?

On phone in question do a LOGCAT to get the very reason why app crashes.

Code:
2021-08-27 17:20:15.727 6936-6936/com.dooo.android W/om.dooo.androi: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (greylist, reflection, allowed)
2021-08-27 17:20:15.728 6936-6936/com.dooo.android W/om.dooo.androi: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (greylist, reflection, allowed)
2021-08-27 17:20:15.867 6936-6936/com.dooo.android I/om.dooo.androi: Waiting for a blocking GC ClassLinker
2021-08-27 17:20:15.873 6936-6936/com.dooo.android I/om.dooo.androi: WaitForGcToComplete blocked ClassLinker on ClassLinker for 6.066ms
2021-08-27 17:20:15.909 6936-6936/com.dooo.android D/test: Permission is granted
2021-08-27 17:20:15.920 6936-12400/com.dooo.android I/FA: Tag Manager is not found and thus will not be used
2021-08-27 17:20:16.022 6936-12388/com.dooo.android D/HostConnection: HostConnection::get() New Host Connection established 0xf2b635c0, tid 12388
2021-08-27 17:20:16.027 6936-12388/com.dooo.android D/HostConnection: HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_sync_buffer_data GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_async_frame_commands ANDROID_EMU_gles_max_version_2
2021-08-27 17:20:16.028 6936-12388/com.dooo.android W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
2021-08-27 17:20:16.034 6936-12388/com.dooo.android D/EGL_emulation: eglCreateContext: 0xf2b62520: maj 2 min 0 rcv 2
2021-08-27 17:20:16.059 6936-12388/com.dooo.android D/EGL_emulation: eglMakeCurrent: 0xf2b62520: ver 2 0 (tinfo 0xc0061d30) (first time)
2021-08-27 17:20:16.085 6936-12388/com.dooo.android I/Gralloc4: mapper 4.x is not supported
2021-08-27 17:20:16.089 6936-12388/com.dooo.android D/HostConnection: createUnique: call
2021-08-27 17:20:16.089 6936-12388/com.dooo.android D/HostConnection: HostConnection::get() New Host Connection established 0xbb323470, tid 12388
2021-08-27 17:20:16.089 6936-12388/com.dooo.android D/goldfish-address-space: allocate: Ask for block of size 0x100
2021-08-27 17:20:16.090 6936-12388/com.dooo.android D/goldfish-address-space: allocate: ioctl allocate returned offset 0x3e7ffe000 size 0x2000
2021-08-27 17:20:16.096 6936-12388/com.dooo.android D/HostConnection: HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_sync_buffer_data GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_async_frame_commands ANDROID_EMU_gles_max_version_2
2021-08-27 17:20:16.221 6936-12402/com.dooo.android E/OneSignal: Error Getting FCM Token
java.io.IOException: AUTHENTICATION_FAILED
at com.google.firebase.iid.GmsRpc.handleResponse(com.google.firebase:[email protected]@21.0.1:7)
at com.google.firebase.iid.GmsRpc.lambda$extractResponseWhenComplete$0$GmsRpc(Unknown Source:8)
at com.google.firebase.iid.GmsRpc$$Lambda$0.then(Unknown Source:2)
at com.google.android.gms.tasks.zzd.run(Unknown Source:5)
at com.google.firebase.iid.FirebaseIidExecutors$$Lambda$0.execute(Unknown Source:0)
at com.google.android.gms.tasks.zzc.onComplete(Unknown Source:6)
at com.google.android.gms.tasks.zzr.zza(Unknown Source:19)
at com.google.android.gms.tasks.zzu.setResult(Unknown Source:86)
at com.google.android.gms.tasks.zzd.run(Unknown Source:15)
at com.google.android.gms.cloudmessaging.zzz.execute(Unknown Source:0)
at com.google.android.gms.tasks.zzc.onComplete(Unknown Source:6)
at com.google.android.gms.tasks.zzr.zza(Unknown Source:19)
at com.google.android.gms.tasks.zzu.setResult(Unknown Source:86)
at com.google.android.gms.tasks.TaskCompletionSource.setResult(Unknown Source:8)
at com.google.android.gms.cloudmessaging.zzq.zza(com.google.android.gms:[email protected]@16.0.0:9)
at com.google.android.gms.cloudmessaging.zzs.zza(com.google.android.gms:[email protected]@16.0.0:7)
at com.google.android.gms.cloudmessaging.zzf.zza(com.google.android.gms:[email protected]@16.0.0:45)
at com.google.android.gms.cloudmessaging.zzi.handleMessage(Unknown Source:2)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7656)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
2021-08-27 17:20:16.243 6936-12406/com.dooo.android I/WM-WorkerWrapper: Worker result SUCCESS for Work [ id=3a6aa934-2bb0-476f-b807-d5571c9d5716, tags={ com.onesignal.OSNotificationRestoreWorkManager$NotificationRestoreWorker } ]
2021-08-27 17:20:16.333 6936-12400/com.dooo.android D/FA: Connected to remote service
2021-08-27 17:20:17.567 6936-6936/com.dooo.android D/AndroidRuntime: Shutting down VM
--------- beginning of crash
2021-08-27 17:20:17.571 6936-6936/com.dooo.android E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.dooo.android, PID: 6936
com.google.gson.JsonSyntaxException: Expected a com.google.gson.JsonObject but was com.google.gson.JsonPrimitive
at com.google.gson.internal.bind.TypeAdapters$35$1.read(TypeAdapters.java:897)
at com.google.gson.Gson.fromJson(Gson.java:932)
at com.google.gson.Gson.fromJson(Gson.java:897)
at com.google.gson.Gson.fromJson(Gson.java:846)
at com.google.gson.Gson.fromJson(Gson.java:817)
at com.dooo.android.Splash.lambda$loadConfig$6$Splash(Splash.java:181)
at com.dooo.android.Splash$$ExternalSyntheticLambda8.onResponse(Unknown Source:4)
at com.android.volley.toolbox.StringRequest.deliverResponse(StringRequest.java:82)
at com.android.volley.toolbox.StringRequest.deliverResponse(StringRequest.java:29)
at com.android.volley.ExecutorDelivery$ResponseDeliveryRunnable.run(ExecutorDelivery.java:102)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7656)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
2021-08-27 17:20:19.259 6936-6950/com.dooo.android I/om.dooo.androi: Thread[3,tid=6950,WaitingInMainSignalCatcherLoop,Thread*=0xe4e45410,peer=0x13240268,"Signal Catcher"]: reacting to signal 3
2021-08-27 17:20:19.415 6936-6950/com.dooo.android I/om.dooo.androi: Wrote stack traces to tombstoned
Please check the issue

Related

[Q][Solved] Void #e and L2TP/IPSec support

Hello, there.
I installed void #e a while ago on my O1, everything went smoothly until I had to setup a VPN with L2TP/IPsec.
After poking around with adb logcat, I found that the bundled kernel (mik_os's one) missed support for NETKEY sockets, IPSec over IPv4 and PPP altogether, so I rebuilt the kernel from source adding all missing options to .config.
I flashed the new kernel, boot it and tried to start the VPN, but it failed again.
This time - however - racoon was able to set up an IPsec security association with the remote host, but pppd complained about missing PPP support in kernel:
Code:
I/racoon ( 4330): ISAKMP-SA established <scrubbed>[500]-<scrubbed>[500] spi:<scrubbed>
I/racoon ( 4330): initiate new phase 2 negotiation: <scrubbed>[500]<=><scrubbed>[500]
I/racoon ( 4330): IPsec-SA established: ESP/Transport <scrubbed>[0]-><scrubbed>[0] spi=<scrubbed>(0x<scrubbed>)
I/racoon ( 4330): IPsec-SA established: ESP/Transport <scrubbed>[500]-><scrubbed>[500] spi=<scrubbed>(0x<scrubbed>)
I/mtpd ( 4532): Tunnel established
D/mtpd ( 4532): Received ICRP (remote_session = 65060) -> Sending ICCN
D/mtpd ( 4532): Received ACK
I/mtpd ( 4532): Session established
I/mtpd ( 4532): Creating PPPoX socket
I/mtpd ( 4532): Starting pppd (pppox = 13)
I/mtpd ( 4532): Pppd started (pid = 4533)
I/pppd ( 4533): Using PPPoX (socket = 13)
E/pppd ( 4533): This system lacks kernel support for PPP. This could be because
E/pppd ( 4533): the PPP kernel module could not be loaded, or because PPP was not
E/pppd ( 4533): included in the kernel configuration. If PPP was included as a
E/pppd ( 4533): module, try `/sbin/modprobe -v ppp'. If that fails, check that
E/pppd ( 4533): ppp.o exists in /lib/modules/`uname -r`/net.
E/pppd ( 4533): See README.linux file in the ppp distribution for more details.
I/mtpd ( 4532): Received signal 17
I/mtpd ( 4532): Pppd is terminated (status = 4)
D/mtpd ( 4532): Sending STOPCCN
I/mtpd ( 4532): Mtpd is terminated (status = 36)
I double-checked /proc/conf.gz and sure enough it contains all ppp options:
Code:
# zcat /proc/config.gz | grep PPP
CONFIG_PPP=y
CONFIG_PPP_MULTILINK=y
CONFIG_PPP_FILTER=y
CONFIG_PPP_ASYNC=y
CONFIG_PPP_SYNC_TTY=y
CONFIG_PPP_DEFLATE=y
CONFIG_PPP_BSDCOMP=y
CONFIG_PPP_MPPE=y
CONFIG_PPPOE=y
CONFIG_PPPOL2TP=y
CONFIG_PPPOLAC=y
CONFIG_PPPOPNS=y
I noticed in mik_os's sources that LG also set CONFIG_ANDROID_PARANOID_NETWORK to y, while in mik_os's build it is set to n.
Does anyone know if they are related and/or if I'm running into another issue (permissions, maybe)?
Thanks in advance
Sure enough, it was CONFIG_ANDROID_PARANOID_NETWORK.
For future reference, if this option is undefined AID_NET_ADMIN and AID_NET_RAW have no special meaning for the kernel (iow, CAP_NET_ADMIN and CAP_NET_RAW are not granted to non-root processes belonging to those special groups).
Moreover, network access restrictions are completely ignored, so any application can create sockets and/or access the bluetooth stack even if its manifest does not specify the relevant permissions.

[Q] Actiivty won't launch from Eclipse

Hi all,
I have an elocity A7 Tablet running 2.2 Dexters ElocityA7 Modv1.2, full root access.
I managed to get usb ADB functionality working correctly after forcing the usb mode to client - i can run shell commands etc...
When I first attempted to launch applications from Eclipse I was getting messages stating /sbin/sh : am: not found. I finally managed to get that corrected by editing the am/pm files and creating the correct references with vi.
So now the applications finally install from Eclipse - HOWEVER - they do not launch when I attempt to run or debug. The Apps do get installed correctly, it just appears it Eclipse can't start the activity.
-USB debugging is enabled
Console output when I attempt to run:
==============================================
Code:
[2011-09-25 19:40:58 - test] Android Launch!
2011-09-25 19:40:58 - test] adb is running normally.
[2011-09-25 19:40:58 - test] Performing com.test.TestActivity activity launch
[2011-09-25 19:40:58 - test] Automatic Target Mode: using device '028041454220f4d7'
[2011-09-25 19:40:59 - test] Application already deployed. No need to reinstall.
[2011-09-25 19:40:59 - test] Starting activity com.test.TestActivity on device 028041454220f4d7
At this point nothing further happens - The logcat below just displays the debugger detaches but I don't know exactly why.
LogCat Output when I attempt to run:
==============================================
Code:
09-25 19:40:56.242: DEBUG/AndroidRuntime(12380): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
09-25 19:40:56.242: DEBUG/AndroidRuntime(12380): CheckJNI is OFF
09-25 19:40:56.242: DEBUG/dalvikvm(12380): creating instr width table
09-25 19:40:56.252: DEBUG/dalvikvm(12380): Unable to stat classpath element '/system/framework/com.nvidia.graphics.jar'
09-25 19:40:56.272: DEBUG/AndroidRuntime(12380): --- registering native functions ---
09-25 19:40:56.322: ERROR/BluetoothHidDeviceService.cpp(12380): register_android_server_BluetoothHidDeviceService: Registering HIDD Native Methods
09-25 19:40:56.402: DEBUG/AndroidRuntime(12380): Shutting down VM
09-25 19:40:56.402: DEBUG/dalvikvm(12380): Debugger has detached; object registry had 1 entries
09-25 19:40:56.412: INFO/AndroidRuntime(12380): NOTE: attach of thread 'Binder Thread #3' failed
09-25 19:40:56.592: DEBUG/dalvikvm(1331): GC_EXPLICIT freed 1088 objects / 60016 bytes in 35ms
Grateful if anyone has any ideas or can point me in a direction to determine what the cause may be? I know eclipse is configured correctly as I can launch and debug on my Sony Arc 2.3.3 - I think this might be related to a setting on the A7 system
I've narrowed it down to being a problem with my 'am' command - it's not actually doing anything. Anyone know the proper setup for the am command?
Currently this is what I have:
/sbin/am
--EMPTY-- I think this is the problem. If i delete this file however the am command is not found. Do i need to point this somewhere?
/system/bin/am
# Script to start "am" on the device, which has a very rudimentary
# shell.
#
#!/system/bin/sh
base=/system
export CLASSPATH=$base/framework/am.jar
exec app_process $base/bin com.android.commands.am.Am "[email protected]"
Wow as if - problem solved.
#!/system/bin/sh
Needs to be the FIRST line in the file.

SOLVED: Tasker: ScreenRecord toggle task in Lollipop

Hi,
I am trying to create a set of tasks in Tasker to start and stop the screenrecord process in Lollipop.
The individual tasks to start and stop the recording work fine, but I'm trying to create a single task that starts the recording if not currently recording and stop the recording if currently recording. This works fine in starting the recording, but the stop recording part doesn't execute.
I'm calling the individual tasks for starting and stopping the recording in this unified task.
I'm trying to get the pid of the screenrecord process and based on that start or stop the recording. Any suggestions are appreciated.
Code:
---------------------------------------------------------
TASK: ScreenieOpen
---------------------------------------------------------
Variable Set
%isRunning = 0
Run Shell
command pidof screenrecord
Use Root
Store Output In -> %%isRunning
Store Errors In -> %%isRunning
Continue Task After Error
If %isRunning ~ 1 OR %isRunning ~ 0
Then
Perform Task
ScreenieStart
Stop
Else
Perform Task
ScreenieStop
End If
---------------------------------------------------------
TASK: ScreenieStart
---------------------------------------------------------
Variable Set %ScrFile to S-%DATE-%TIMES.mp4
Secure Settings
Configuration -> Show Touches Enabled
Flash
Text - Recording Started
Run Shell
command screenrecord /storage/sdcard0/DCIM/ScreenRecord/%ScrFile
Use Root
---------------------------------------------------------
TASK: ScreenieStop
---------------------------------------------------------
Secure Settings
Configuration -> Show Touches Disabled
Run Shell
kill -2 $(pidof screenrecord)
Flash
Text - Recording Stored @ /storage/sdcard0/DCIM/ScreenRecord/%ScrFile
Got it
Got it . Instead of checking for the PID, I've just used a variable for the status.
Code:
---------------------------------------------------------
TASK: ScreenieOpen
---------------------------------------------------------
If %isRunning = 0
Then
Perform Task
ScreenieStart
Stop
Else
Perform Task
ScreenieStop
Stop
End If
---------------------------------------------------------
TASK: ScreenieStart
---------------------------------------------------------
Variable Set %ScrFile to S-%DATE-%TIMES.mp4
Secure Settings
Configuration -> Show Touches Enabled
Variable Set %isRunning to 1
Flash
Text - Recording Started
Run Shell
command screenrecord /storage/sdcard0/DCIM/ScreenRecord/%ScrFile
Use Root
---------------------------------------------------------
TASK: ScreenieStop
---------------------------------------------------------
Secure Settings
Configuration -> Show Touches Disabled
Run Shell
kill -2 $(pidof screenrecord)
Variable Set %isRunning to 0
Flash
Text - Recording Stored @ /storage/sdcard0/DCIM/ScreenRecord/%ScrFile

[APP][XPOSED] Inspeckage - Android Package Inspector

CHANGELOG
https://github.com/ac-pm/Inspeckage/blob/master/CHANGELOG
Introduction
Inspeckage is a tool developed to offer dynamic analysis of Android applications. With this tool we can better understand what an Android application is doing at runtime.
* https://twitter.com/inspeckage
* https://play.google.com/store/apps/details?id=mobi.acpm.inspeckage
How it works?
It is a simply application (apk) with an internal HTTP server providing a friendly web interface.
Features
Information gathering
Requested Permissions
App Permissions
Shared Libraries
Exported Activities and Non Exported Activities
Exported Content Provider and Non Exported Content Provider
Exported Services and Non Exported Services
Exported Broadcast Receiver and Non Exported Broadcast Receiver
If is Debuggable
Version, UID and GIDs
etc
Hooks (until now)
With the hooks, we can see what the application is doing in real time.
Shared Preferences (log and file)
Serialization
Crypto
Hash
SQLite
HTTP (a http proxy tool it is still the best alternative)
File System
Miscellaneous (Clipboard, URL.Parse())
WebView
IPC
Actions
With the Xposed is possible do some actions like start a not exported activity!
Start any activity (exported and non exported)
Calling any provider (exported and non exported)
Disable FLAG_SECURE
SSL uncheck
Start, close and restart the application
Extras
APK Download
View the app's directory tree
Download the app files
Download the output generated by hooks in text file format
Printscreen
Configuration
Even with some hooks at HTTP libraries, using an external proxy tool it is still the best alternative to analyze the traffic.
Add a proxy to the target app
Enable and disable proxy
Add entries in the arp table
Requirements
Xposed Framework
Download
http://repo.xposed.info/module/mobi.acpm.inspeckage
Source Code
https://github.com/ac-pm/Inspeckage
Screenshots
Tab Screenshot
Reporting bugs
For bug reports and feature requests, please post them in the GitHub Issues page.
Genymotion
I made a small tutorial on how to get it ready for Inspeckage.
https://vimeo.com/156745941
XDA:DevDB Information
Inspeckage, Xposed for all devices (see above for details)
Contributors
acarlosmartins
Source Code: https://github.com/ac-pm/Inspeckage
Xposed Package Name: mobi.acpm.inspeckage
Version Information
Status: Stable
Current Stable Version: 1.4.1
Stable Release Date: 2016-07-19
Created 2016-02-29
Last Updated 2017-05-26
Crash on Marshmallow 6.x Stock LG G4,
Does not work with Adguard.
http://forum.xda-developers.com/android/apps-games/adguard-ad-blocker-doesnt-require-root-t2958895
great working like charm on sgs4 aosp lollipop rom
Nice one. Was looking for something like this for a long time. Will test it 2morrow. Hope the times of catlog are over
Thanks for your work
HorstiG said:
Crash on Marshmallow 6.x Stock LG G4,
Does not work with Adguard.
http://forum.xda-developers.com/android/apps-games/adguard-ad-blocker-doesnt-require-root-t2958895
Click to expand...
Click to collapse
Sorry, but it worked for me.
http://i.imgur.com/hQ3gEGM.png
Look, if the app does not use some libs, the tabs will be blank.
I'm testing with Genimotion android 5.1.0 API 22.
Awesome tool! Thank you!
I see `App is running: false`, and when app started. `The app is running?` Module enable: true | Version: 1.1b
Nexus 6, CM-13.0-20160305-NIGHTLY-shamu
@acarlosmartins: Please remove the "#" in front of the name at xposed repo
defim said:
@acarlosmartins: Please remove the "#" in front of the name at xposed repo
Click to expand...
Click to collapse
Done! Thank you for reminding me.
http://repo.xposed.info/module/mobi.acpm.inspeckage
d34dr00t said:
I see `App is running: false`, and when app started. `The app is running?` Module enable: true | Version: 1.1b
Nexus 6, CM-13.0-20160305-NIGHTLY-shamu
Click to expand...
Click to collapse
I will investigate. Thanks for the feedback!
Seems like a very nice app. Working well on my Lollipop device. Thanks!
Can you explain a bit more about what some of the features do, for example I see the app I launch says debuggable: no, what determines that?
Also The app I launched does make http requests but none showed up in the http tab, also what does the crypto tab show? that is probably the most interesting thing for me as someone interested in reverse engineering, is it possible to see clear text information that it is encrypting?
Hi,
The app doesn't work on Sony Xperia 4.1.2.
Logcat error:
6051 AndroidRuntime E FATAL EXCEPTION: main
6051 AndroidRuntime E java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{mobi.acpm.inspeckage/mobi.acpm.inspeckage.ui.M
ainActivity}: java.lang.ClassNotFoundException: mobi.acpm.inspeckage.ui.MainActivity
6051 AndroidRuntime E at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1987)
6051 AndroidRuntime E at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2088)
6051 AndroidRuntime E at android.app.ActivityThread.access$600(ActivityThread.java:134)
6051 AndroidRuntime E at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1199)
6051 AndroidRuntime E at android.os.Handler.dispatchMessage(Handler.java:99)
6051 AndroidRuntime E at android.os.Looper.loop(Looper.java:137)
6051 AndroidRuntime E at android.app.ActivityThread.main(ActivityThread.java:4744)
6051 AndroidRuntime E at java.lang.reflect.Method.invokeNative(Native Method)
6051 AndroidRuntime E at java.lang.reflect.Method.invoke(Method.java:511)
6051 AndroidRuntime E at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
6051 AndroidRuntime E at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
6051 AndroidRuntime E at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
6051 AndroidRuntime E at dalvik.system.NativeStart.main(Native Method)
6051 AndroidRuntime E Caused by: java.lang.ClassNotFoundException: mobi.acpm.inspeckage.ui.MainActivity
6051 AndroidRuntime E at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
6051 AndroidRuntime E at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
6051 AndroidRuntime E at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
6051 AndroidRuntime E at android.app.Instrumentation.newActivity(Instrumentation.java:1053)
6051 AndroidRuntime E at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1978)
6051 AndroidRuntime E ... 12 more
cybermapt said:
Hi,
6051 AndroidRuntime E FATAL EXCEPTION: main
6051 AndroidRuntime E java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{mobi.acpm.inspeckage/mobi.acpm.inspeckage.ui.M
ainActivity}: java.lang.ClassNotFoundException: mobi.acpm.inspeckage.ui.MainActivity
Click to expand...
Click to collapse
I have this "ClassNotFoundException" also in an app by me, but not published yet. I'm not sure what's the cause, but it could be an Xposed failure. It happens for me also with the "main" activity
Same error/crash with Nexus 7, Android 4.4.4
I tried to install older version. These older versions get on but the module remains disabled and app doesn't work.
Thanks
Inspeckage - Android Package Inspector - new version v1.4
# Inspeckage - CHANGELOG
1.4
---------------
- tabs with badges (counter);
- for "+ Hooks", FLAG_SECURE and proxy options you dont need restart the app;
- enable/disable hooks (tabs);
- support to android 4.x (experimental);
- android:allowBackup in info area;
- app icon in ifo area;
- some bug fixes.
1.3
---------------
- New tab "+ Hooks". Now the user can specify new hook's dynamically.
- collapsible app info area
- some bug fixes
1.2
---------------
New logcat.html page. A experimental page with websocket to show some information from the logcat.
1.1b
---------------
Fix the backpressed crash
Fix intent launch not found
Improvements in the Start Activity option
1.0b
---------------
With Inspeckage, we can get a good amount of information about the application's behavior:
== Information gathering
* Requested Permissions;
* App Permissions;
* Shared Libraries;
* Exported and Non-exported Activities, Content Providers,Broadcast Receivers and Services;
* Check if the app is debuggable or not;
* Version, UID and GIDs;
* etc.
== Hooks (so far)
With the hooks, we can see what the application is doing in real time:
* Shared Preferences (log and file);
* Serialization;
* Crypto;
* Hashes;
* SQLite;
* HTTP (an HTTP proxy tool is still the best alternative);
* File System;
* Miscellaneous (Clipboard, URL.Parse());
* WebView;
* IPC.
== Actions
With Xposed it's possible to perform actions such as start a unexported activity and much else:
* Start any activity (exported and unexported);
* Call any provider (exported and unexported);
* Disable FLAG_SECURE;
* SSL uncheck;
* Start, stop and restart the application.
== Extras
* APK Download;
* View the app's directory tree;
* Download the app's files;
* Download the output generated by hooks in text file format;
* Take a screen capture;
== Configuration
Even though our tool has some hooks to the HTTP libraries, using an external proxy tool is still the best option to analyze the app's traffic. With Inspeckage, you can:
* Add a proxy to the target app;
* Enable and disable proxy;
* Add entries in the arp table.
Hello,
I'm trying to get Inspeckage running on my LG G4 (H815, marshmallow v20e-208-01) .
I've tried with xposed v86 for arm64, then v85 for arm64 without success. I have get Inspeckage running fine (module installed, server started, webgui running) but when I try to start an application (i've tried for exemple FM radio) it fails with the system message "application has stop running"
Where could I be wrong ? Should I install another version of xposed ?
Thank you in advance.
Inspeckage - Android Package Inspector - v1.4.1 released
https://twitter.com/inspeckage
# Inspeckage - CHANGELOG
1.4.1
---------------
- add the option "Bind to address" on "Config" app screen - now you can bind to all interfaces, any specific local IP address, or to just the loopback interface.
Note: if you choose a non-loopback interface, other computers maybe can access the Inspeckage.
- bug fix - the "App is running:" always false
1.4
---------------
- tabs with badges (counter);
- for "+ Hooks", FLAG_SECURE and proxy options you dont need restart the app;
- enable/disable hooks (tabs);
- support to android 4.x (experimental);
- android:allowBackup in info area;
- app icon in info area;
- some bug fixes.
1.3
---------------
- New tab "+ Hooks". Now the user can specify new hook's dynamically.
- collapsible app info area
- some bug fixes
1.2
---------------
New logcat.html page. A experimental page with websocket to show some information from the logcat.
1.1b
---------------
Fix the backpressed crash
Fix intent launch not found
Improvements in the Start Activity option
1.0b
---------------
With Inspeckage, we can get a good amount of information about the application's behavior:
== Information gathering
* Requested Permissions;
* App Permissions;
* Shared Libraries;
* Exported and Non-exported Activities, Content Providers,Broadcast Receivers and Services;
* Check if the app is debuggable or not;
* Version, UID and GIDs;
* etc.
== Hooks (so far)
With the hooks, we can see what the application is doing in real time:
* Shared Preferences (log and file);
* Serialization;
* Crypto;
* Hashes;
* SQLite;
* HTTP (an HTTP proxy tool is still the best alternative);
* File System;
* Miscellaneous (Clipboard, URL.Parse());
* WebView;
* IPC.
== Actions
With Xposed it's possible to perform actions such as start a unexported activity and much else:
* Start any activity (exported and unexported);
* Call any provider (exported and unexported);
* Disable FLAG_SECURE;
* SSL uncheck;
* Start, stop and restart the application.
== Extras
* APK Download;
* View the app's directory tree;
* Download the app's files;
* Download the output generated by hooks in text file format;
* Take a screen capture;
== Configuration
Even though our tool has some hooks to the HTTP libraries, using an external proxy tool is still the best option to analyze the app's traffic. With Inspeckage, you can:
* Add a proxy to the target app;
* Enable and disable proxy;
* Add entries in the arp table.
AlaskanMalamute said:
Hello,
I'm trying to get Inspeckage running on my LG G4 (H815, marshmallow v20e-208-01) .
I've tried with xposed v86 for arm64, then v85 for arm64 without success. I have get Inspeckage running fine (module installed, server started, webgui running) but when I try to start an application (i've tried for exemple FM radio) it fails with the system message "application has stop running"
Where could I be wrong ? Should I install another version of xposed ?
Thank you in advance.
Click to expand...
Click to collapse
Please, try the version 1.4.1.
Thanks
doesnt work on mate7 mashmellow. when trying to inspect apk. lauching it just crash. no webgui
acarlosmartins said:
CHANGELOG
https://github.com/ac-pm/Inspeckage/blob/master/CHANGELOG
Introduction
Inspeckage is a tool developed to offer dynamic analysis of Android applications. With this tool we can better understand what an Android application is doing at runtime.
* https://twitter.com/inspeckage
* https://play.google.com/store/apps/details?id=mobi.acpm.inspeckage
How it works?
It is a simply application (apk) with an internal HTTP server providing a friendly web interface.
Features
Information gathering
Requested Permissions
App Permissions
Shared Libraries
Exported Activities and Non Exported Activities
Exported Content Provider and Non Exported Content Provider
Exported Services and Non Exported Services
Exported Broadcast Receiver and Non Exported Broadcast Receiver
If is Debuggable
Version, UID and GIDs
etc
Hooks (until now)
With the hooks, we can see what the application is doing in real time.
Shared Preferences (log and file)
Serialization
Crypto
Hash
SQLite
HTTP (a http proxy tool it is still the best alternative)
File System
Miscellaneous (Clipboard, URL.Parse())
WebView
IPC
Actions
With the Xposed is possible do some actions like start a not exported activity!
Start any activity (exported and non exported)
Calling any provider (exported and non exported)
Disable FLAG_SECURE
SSL uncheck
Start, close and restart the application
Extras
APK Download
View the app's directory tree
Download the app files
Download the output generated by hooks in text file format
Printscreen
Configuration
Even with some hooks at HTTP libraries, using an external proxy tool it is still the best alternative to analyze the traffic.
Add a proxy to the target app
Enable and disable proxy
Add entries in the arp table
Requirements
Xposed Framework
Download
http://repo.xposed.info/module/mobi.acpm.inspeckage
Source Code
https://github.com/ac-pm/Inspeckage
Screenshots
Tab Screenshot
Reporting bugs
For bug reports and feature requests, please post them in the GitHub Issues page.
Genymotion
I made a small tutorial on how to get it ready for Inspeckage.
https://vimeo.com/156745941
XDA:DevDB Information
Inspeckage, Xposed for all devices (see above for details)
Contributors
acarlosmartins
Source Code: https://github.com/ac-pm/Inspeckage
Xposed Package Name: mobi.acpm.inspeckage
Version Information
Status: Stable
Current Stable Version: 1.4.1
Stable Release Date: 2016-07-19
Created 2016-02-29
Last Updated 2016-07-19
Click to expand...
Click to collapse
First I have heard of this, apparently around a bit.
So ... can this be used to place Google Now pane as widget on someone else's launcher? (Want a Nobel?)
Other Google hacks?

Enhanced Wake-Up Tracker Crash (Android P)

Greenify 3.9 9.1
Greenify Unlocker 2.3
Android P (PPP2.180412.013)
Greenify4Magisk Module 3.9.9.1
Running in Root + Privileged (Rom-integrated) mode.
Caused by selecting Settings > Wake-Up Tracking and Cut-Off > Enhanced Wake-Up Tracker.
Logcat:
Code:
FATAL EXCEPTION: AsyncTask #1
Process: com.oasisfeng.greenify, PID: 29851
java.lang.NullPointerException: Attempt to invoke virtual method 'cgz$i cgz$o.a()' on a null object reference
at bwt.f(SourceFile:864)
at bwt.d(SourceFile:713)
at cdg.run(Unknown Source:1827)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:764)

Categories

Resources