大侠阿木
大侠阿木
一个小apk,USB调试,直接打开开发者选项

功能如标题所示,但实际上很强大

简单修改即可实现打开任意apk的任意Activity

看代码就知道了

.method public onCreate(Landroid/os/Bundle;)V
.locals 4
.param p1, "savedInstanceState" # Landroid/os/Bundle;

.prologue
.line 12
invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

.line 14
new-instance v0, Landroid/content/ComponentName;

const-string v2, "com.android.settings"

const-string v3, "com.android.settings.DevelopmentSettings"

invoke-direct {v0, v2, v3}, Landroid/content/ComponentName;-><init>(Ljava/lang/String;Ljava/lang/String;)V

.line 15
.local v0, "componentName":Landroid/content/ComponentName;
new-instance v1, Landroid/content/Intent;

invoke-direct {v1}, Landroid/content/Intent;-><init>()V

.line 16
.local v1, "intent":Landroid/content/Intent;
invoke-virtual {v1, v0}, Landroid/content/Intent;->setComponent(Landroid/content/ComponentName;)Landroid/content/Intent;

.line 17
invoke-virtual {p0, v1}, Lcom/usbShortCut/MainActivity;->startActivity(Landroid/content/Intent;)V

.line 18
invoke-virtual {p0}, Lcom/usbShortCut/MainActivity;->finish()V

.line 20
return-void
.end method

到时候还要记得再改下包名和ICON,改下软件名称,谁都认不出来

密码:pbbb

没有标签
首页      Android 相关      一个小apk,USB调试,直接打开开发者选项

大侠阿木

一个小apk,USB调试,直接打开开发者选项
功能如标题所示,但实际上很强大 简单修改即可实现打开任意apk的任意Activity 看代码就知道了 .method public onCreate(Landroid/os/Bundle;)V .locals 4 .param p1, "savedIn…
扫描二维码继续阅读
2016-09-22