当前位置:网站首页>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 了 
边栏推荐
- JSP webshell free -- the basis of JSP
- 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)
- [AGC] how to solve the problem that the local display of event analysis data is inconsistent with that in AGC panel?
- flink二開,實現了個 batch lookup join(附源碼)
- 洛谷 P4281 [AHOI2008]紧急集合 / 聚会(树上倍增 LCA)
- 最详细MySql安装教程
- JVM garbage collector
- Flink two Open, implement Batch Lookup join (attached source)
- 2022-06-17
猜你喜欢
![Binary tree topic -- Luogu p3884 [jloi2009] binary tree problem (DFS for binary tree depth BFS for binary tree width Dijkstra for shortest path)](/img/c2/bb85b681af0f78b380b1d179c7ea49.png)
Binary tree topic -- Luogu p3884 [jloi2009] binary tree problem (DFS for binary tree depth BFS for binary tree width Dijkstra for shortest path)

Tick Data and Resampling

Common methods of JS array

TIPC messaging3

【深入浅出玩转FPGA学习5-----复位设计】

tqdm的多行显示与单行显示

TIPC messaging3

flink二开,实现了个 batch lookup join(附源码)

【云原生】2.5 Kubernetes 核心实战(下)

How does the whole network display IP ownership?
随机推荐
Logu p3398 hamster looks for sugar (double LCA on the tree to judge whether the two paths in the tree intersect)
Importerror: impossible d'importer le nom « graph» de « graphviz»
Hdu1228 a + B (map mapping)
STM32单片机编程学习
Special topic of binary tree -- acwing 1497 Traversal of the tree (use post and mid order traversal to build a binary tree)
How to transfer event objects and user-defined parameters simultaneously in Huawei express applications
QT学习日记7——QMainWindow
OpenMLDB Meetup No.4 会议纪要
[paid promotion] collection of frequently asked questions, recommended list FAQ
[play with FPGA learning 2 in simple terms ----- design skills (basic grammar)]
Special topic of binary tree -- acwing 18 Rebuild the binary tree (construct the binary tree by traversing the front and middle order)
Supermarket (heap overload
二叉树专题--AcWing 19. 二叉树的下一个节点(找树中节点的后继)
III Chip startup and clock system
Use Huawei performance management service to configure the sampling rate on demand
2022 love analysis · panoramic report of digital manufacturers of state-owned enterprises
JVM之垃圾回收器
TIPC 寻址2
JVM garbage collector
Regular and common formulas