Position: Home page » Ethereum » Ethereum apk

Ethereum apk

Publish: 2021-04-18 22:05:01
1. If the mobile phone needs to download and install software applications, it is recommended to try:
1. Use the browser in the mobile phone menu to access the Internet, and directly search for the required software to download and install (download the Android version in the format of APK)
2. Use the computer to download the installation package in APK format, connect the data cable to the mobile phone, operate the mobile phone to find the installation package in the application - my file, and then click the Install button after running
3. After downloading, click the downloaded application and click Install according to the software installation prompt in the mobile phone interface.
2. device eth0 entered promiscuous mode
Apr 11 16:30:21 localhost kernel: device eth0 left promiscuous mode
Apr 11 16:30:39 localhost kernel: device eth0 entered promiscuous mode
Apr 11 16:30:39 localhost kernel: device eth0 left promiscuous mode
Apr 12 15:11:46 localhost kernel: device eth0 entered promiscuous mode
Apr 12 15:11:46 localhost kernel: device eth0 left promiscuous mode
Apr 13 11:30:58 localhost kernel: device eth0 entered promiscuous mode
Apr 13 11:30:58 localhost kernel: device eth0 left promiscuous mode
log文件实打印状态信息两种

实打印主要:logcat mainlogcat radiologcat eventstcpmp QXDM Log

状态信息:adb shell dmesgadb shell mpstateadb shell mpsysadb bugreport

实log:

adb logcat -b events -v time 打印系统事件志比触屏事件

tcpmp 用于TCP/IP协议相关都使用抓

adb shell tcpmp -s 10000 -w /sdcard/capture.pcap

比抓mms载候UA profilebrowser网候使用proxyAPN载streaming相关内容包括UA profile等

状态log:

其实够bugreport命令adb bugreport>bugreport.log)

面包含dmesgmpstatempsys

dmesg命令adb shell dmesg > ldmesg_kernel.logkernellog凡跟kernel相关比driver问题相机蓝牙usb启等等

mpstate系统状态信息面比较全包括手机前内存信息、cpu信息、logcat缓存kernel缓存等等

mpsys关于系统所进程Process内容都面adb shell mpsys 命令更详尽用

比adb shell mpsys meminfo system查看systemprocess内存信息

mpsys [options]

meminfo 显示内存信息

cpuinfo 显示CPU信息

account 显示accounts信息

activity 显示所activities信息

window 显示键盘窗口关系

wifi 显示wifi信息

通adb logcat/bugreport实查看系统log及系统状态信息

何Log存储保存系统运行情况呢

通些脚本或者执行执行程序保存log信息便析问题

2 抓取实log

? int main(int argc, char *argv[]) { …… //抓取main log char path[] = "/xxx/xxx/app_main.log"; sprintf(cmd,"logcat -v time > %s",path); fd = open(path, O_WRONLY|O_TRUNC|O_CREAT, 0777); <STRONG>system</STRONG>(cmd); //radio log …… sprintf(cmd,"logcat -b radio -v time > %s",path); <STRONG>system</STRONG>(cmd); //kernel …… sprintf(cmd,"cat /proc/kmsg > %s",path); <STRONG>system</STRONG>(cmd); //bluetoolth log sprintf(cmd,"hcimp -w %s","/data/bt.log"); <STRONG>system</STRONG>(cmd); …… }3 抓取状态log

? int main(int argc, char *argv[]) { //panic log 需要判断/proc/apanic_console否存 sprintf(cmd,"cp -R %s %s",from_dir,to_dir); <STRONG>system</STRONG>(cmd); //anr log /data/anr/ sprintf(cmd,"cp -R %s %s",from_dir,to_dir); <STRONG>system</STRONG>(cmd); //tombstones log /data/tombstones/ <STRONG>modem重启复位等</STRONG> sprintf(cmd,"cp -R %s %s",from_dir,to_dir); <STRONG>system</STRONG>(cmd); //mdm log /data/tombstones/mdm/<STRONG>modem重启复位</STRONG> sprintf(cmd,"cp -R %s %s",from_dir,to_dir); <STRONG>system</STRONG>(cmd); …… }


panic log:

表示Linux kernel走知道该走步状况tombstone log:

系统发tombstone候kernel首先报严重警告信号signal,层接收

进程调试工具进程调用栈现场保存起并系统创建data/tombstones目录异进程信息写目录面

发者需要通调用栈析整调用流程找问题点4 Runtime 执行程序
编译执行程序实际使用需要些控制参数

代码何执行些执行程序:

底层通system();

Java层Runtime.getRuntime().exec();

例:

String BIN_PATH = "/system/bin/catch_log";

Runtime.getRuntime().exec(BIN_PATH + " -x 1");

Runtime.getRuntime().exec("/system/bin/cat "+path);

Runtime.getRuntime().exec("su -c chmod 777 /data/glad.txt");

Runtime.getRuntime().exec("/system/bin/sh /data/test.sh");

Android Runtime使直接调用底层Linux执行程序或脚本能

比Linux写测试工具直接编译apk通Runtime调用

或者写脚本apk直接调用省间层或者JNI

参考文档:

5 diag_mdlog
高通提供抓取qxdm log东东

既包括AP端包括BP端或者跟选择端口关系,8064apmodem端口独立

代码位置:\vendor\qcom\proprietary\diag\mdlog\

使用diag_mdlog执行程序抓取log

需要Diag.cfg文件配置滤项选择需要Log信息使用前必须放置Diag.cfg文件

Diag.cfg文件用QXDM通F12Filtered View /Config Diag.cfg

程序能执行用kill -9 PID 其强制结束

6 抓取Ap 端 memory mp
高通qpst工具Memory Dump App

要downloader模式

需要修改nv项:

905 0

4399 1

或者使用emmc进入downloader模式

打连接手机 Get Regions选择需要保存ReginSaveTo选择文件夹确定即

注意:路径能文必须英文路径
3. This is an external rg45. To find an Ethernet card (USB)... Newman's tablet computer has not been used, the best choice is to have one, this connection Ethernet directly plug in an Ethernet adapter. Non dialing
Hot content
Inn digger Publish: 2021-05-29 20:04:36 Views: 341
Purchase of virtual currency in trust contract dispute Publish: 2021-05-29 20:04:33 Views: 942
Blockchain trust machine Publish: 2021-05-29 20:04:26 Views: 720
Brief introduction of ant mine Publish: 2021-05-29 20:04:25 Views: 848
Will digital currency open in November Publish: 2021-05-29 19:56:16 Views: 861
Global digital currency asset exchange Publish: 2021-05-29 19:54:29 Views: 603
Mining chip machine S11 Publish: 2021-05-29 19:54:26 Views: 945
Ethereum algorithm Sha3 Publish: 2021-05-29 19:52:40 Views: 643
Talking about blockchain is not reliable Publish: 2021-05-29 19:52:26 Views: 754
Mining machine node query Publish: 2021-05-29 19:36:37 Views: 750