Me

Recovery.c中能对eMMC进行直接读写,mmc_read/mmc_write.


git blame <file_name>


BC使用:

1. 选中2个文件夹

2. 选择过滤器,过滤掉一些不需要参加比较的文件夹或文件

3. 从左右2个文件中排除掉不需要比较的文件夹

4. 展开所有文件,然后选中所有文件进行比较。





android dumpstate:
http://blog.csdn.net/zhongnanjun_3/article/details/20461143


#adb shell bugreport > bugreport-yyyy-mm-dd-hh-mm-ss.txt
或者
#adb shell dumpstate > dumpstate-yyyy-mm-dd-hh-mm-ss.txt


android panic:
http://wenku.baidu.com/link?url=JGa82kw6MIZBnTpVmqEku6axYuY2HJxhdPQlpiqCvjI5EWELwgTJ7czk68clwAudOesye2c0nd7jdxiJClZqi_JGN1P2QsrWe_OjysstjQ3
How about /data/dontpanic folder? After kernel panic happens, you can connect USB cable with your Android device and check the files in that folder through ADB.


https://github.com/cq2000/XT701/blob/2.6.29/drivers/misc/apanic.c


I found this folder contains some apanic files after a kernel panic happens. For example, if a kernel panic just happens and you go check the folder, you might find these two files:


apanic_console apanic_threads


You can find out in apanic_threads which thread/process is running when the kernel panic happens. In apanic_console you might find out more information such as the stack trace and values of some critical registers: PC, LR, etc. They will help you get your debugging started.


During kernel panic, as the name suggests kernel is going to die. So its not a good idea to save logs at that time.


However, you can Register your function in panic_notifier_list. Your function will be called during panic. In that function, you can modify how the device should reboot or any other suitable action.
After arch_reset, ram dumps can be saved to mmc card either through bootloader or by using mini kernel concept (allow a separate kernel to boot which will save ram dumps into mmc).
Old Ram data exists till kernel boots again after reset. Not sure how in your case ram content is cleared. Ram data is cleared only when battery is removed.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
RememberMe是一种服务器端的功能,用于在用户会话过期后仍然保持认证状态,避免用户再次输入用户名和密码进行登录。它并不是简单地将用户名和密码保存在浏览器的Cookie中。在Spring Security框架中,RememberMe功能由RememberMeServices接口实现,其中AbstractRememberMeServices是该接口的抽象类,它有两个子类:TokenBasedRememberMeServices和PersistentTokenBasedRememberMeServices。默认情况下,使用的是TokenBasedRememberMeServices,而PersistentTokenBasedRememberMeServices是为了进一步提高安全性而设计的。通过使用RememberMe功能,可以在用户会话过期后自动恢复用户的认证状态,提供更便捷的登录体验。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *3* [Spring Security 的 RememberMe 详解 !!!!!](https://blog.csdn.net/weixin_52834606/article/details/126679381)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] - *2* [Spring Security(四) —— RememberMe](https://blog.csdn.net/tongkongyu/article/details/125962862)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值