当前位置:网站首页>MTK full dump grab
MTK full dump grab
2022-07-02 11:14:00 【Xinxin defect gold】
MTK full dump Grab
Environment building
notes : everything dump Based on brushing debugpolicy (boot_para.img)
Check whether to brush debugpolicy command
adb shell getprop ro.boot.dp
perhaps
adb shell
getprop | grep boot.dp
See what to print
Compare enumeration information
Code path :vendor/mediatek/proprietary/bootable/bootloader/lk/include/dev/mrdump.h
enum {
MRDUMP_SUCCESS_ENABLE = 1, //usr edition , Need to brush in
MRDUMP_ALWAYS_ENABLE = 2, //userdebug No need to brush
MRDUMP_RUNTIME_DISABLE = 3,
......
};
Generate boot_para.img Look at what I have written before
Generate boot_para.img
Check what is on dump
Code path :vendor/mediatek/proprietary/bootable/bootloader/lk/app/mt_boot/aee/mrdump_dconfig.c
// Check whether mindump still fulldump
int aee_check_enable(void)
{
#if MTK_AEE_LEVEL == 1
int val = AEE_DEFAULT_SETTING;
const char *params = dconfig_get_env("aee_enable");
if (params != NULL) {
if (strcmp(params, "mini") == 0) {
val = mrdump_check_enable() > MRDUMP_ALWAYS_ENABLE ? AEE_ENABLE_MINI
: AEE_ENABLE_FULL;
} else if (strcmp(params, "full") == 0) {
val = AEE_ENABLE_FULL;
} else if (strcmp(params, "no") == 0) {
val = AEE_ENABLE_NO;
}
}
Why install GAT and SpOffineDebugSuite
When the phone restarts 、 We should analyze the crash problem , however dump There is a large amount of information. It is very inconvenient for us to check ,
At this time, we can use these two tools for brief analysis , Error information extraction .
Environment construction and use
I have written in my previous documents. You can refer to :
MTK be based on GAT Tools and SpOffineDebugSuite Tools dump Grab and parse
Practice is the only criterion for testing truth
Trigger dump front
First check is internal-storage( Internal storage ) still usb
Internal storage crawl ****************** The mobile phone can be turned on normally command
adb root
adb shell
mrdump_tool output-get
The following figure shows internal storage ,
After triggering the orange screen, it will automatically grab
And then take it. pull Just come out
=================================================================================
However , Some problems lead to panic After that, the machine will be restarted , This makes it impossible to use adb pull From the machine pull Out of the above dump file
At this time, we need the following
usb Grab *********************** The mobile phone cannot be turned on normally
Get into fastboot Mode access usb
Set up USB command
adb shell mrdump_tool output-set usb
Let's look at... Again command
adb shell mrdump_tool output-get
As shown in the figure below OK 了 
Download the attached compressed package , Execute the following command to crawl in the extracted path dump: command
mrdump_host_cmd.exe getcore -o coredump.zip
Tool accessories :mrdump_host
Manual trigger panic, Make it enter the orange screen to grab dump
command
adb root
adb shell
echo c > /proc/sysrq-trigger
notes :full dump Crawling is a long process , If the orange screen flashes and restarts, it indicates that the capture is min dump , Grab failed
As shown in the figure below FASTBOOT_mode, Just explain OK 了 , Wait for him to finish crawling and restart .
After grabbing
dump Storage path :/data/vendor/aee_exp
aee_exp There is KE The document OK 了 
边栏推荐
- 如何用list组件实现tabbar标题栏
- MTK full dump抓取
- 洛谷 P5536 【XR-3】核心城市(贪心 + 树形 dp 寻找树的中心)
- 二叉树专题--AcWing 3540. 二叉搜索树建树(实用板子 构建二叉搜索树 并输出前、中、后序遍历)
- 二叉树专题--P1030 [NOIP2001 普及组] 求先序排列
- Is bond fund safe? Does the bond buying foundation lose principal?
- Matlab processing of distance measurement of experimental electron microscope
- Luogu p4281 [ahoi2008] emergency gathering / gathering (tree doubling LCA)
- Win11 arm system configuration Net core environment variable
- JSP webshell free -- webshell free
猜你喜欢

How does the whole network display IP ownership?

一招快速实现自定义快应用titlebar

Uncover the secrets of Huawei application market application statistics

ImportError: cannot import name ‘Digraph‘ from ‘graphviz‘

III Chip startup and clock system

金山云——2023届暑期实习

Win11 arm system configuration Net core environment variable

TIPC Service and Topology Tracking4

Special topic of binary tree -- acwing 18 Rebuild the binary tree (construct the binary tree by traversing the front and middle order)

TIPC Cluster5
随机推荐
OpenMLDB Meetup No.4 会议纪要
Supermarket (heap overload
JVM garbage collector
Special topic of binary tree -- acwing 1497 Traversal of the tree (use post and mid order traversal to build a binary tree)
二叉树专题--P1030 [NOIP2001 普及组] 求先序排列
The most detailed MySQL installation tutorial
Use Huawei performance management service to configure the sampling rate on demand
mmrotate旋转目标检测框架使用记录
【深入浅出玩转FPGA学习2----设计技巧(基本语法)】
Luogu p1892 [boi2003] Gang (and search for variant anti set)
I STM32 development environment, keil5/mdk5.14 installation tutorial (with download link)
Multi line display and single line display of tqdm
一招快速实现自定义快应用titlebar
PKG package manager usage instance in FreeBSD
Special topic of binary tree -- [deep base 16. Example 7] ordinary binary tree (simplified version) (multiset seeks the precursor and subsequent sentry Art)
TIPC Service and Topology Tracking4
PCL projection point cloud
2022 love analysis · panoramic report of digital manufacturers of state-owned enterprises
Jenkins安装
TIPC Getting Started6