Song Blog

Move, move.

crash: 'input is not valid Modified UTF-8' 问题分析

crash 问题总结

https://zhuanlan.zhihu.com/shujujiegou

crash: 'input is not valid Modified UTF-8' 问题分析

crash 问题总结

https://github.com/Snailclimb/JavaGuide/blob/master/docs/dataStructures-algorithms/%E5%87%A0%E9%81%93%E5%B8%B8%E8%A7%81%E7%9A%84%E5%AD%90%E7%AC%A6%E4%B8%B2%E7%AE%97%E6%B3%95%E9%A2%98.md#1-kmp-%E7%A...

小米 root 流程

Binder 总结

https://elloop.github.io/tools/2016-04-10/learning-cmake-2-commands https://www.jianshu.com/p/febbf1e975b6 https://juejin.cn/post/6844904016053272584

Android Hook 检测

Android 安全检测

https://www.jianshu.com/p/a72b55569dd5 https://www.xjiangwei.cn/2019/05/25/Reboot/

小米 root 流程

Binder 总结

下载对应镜像文件 https://mifirm.net/model/olivelite.ttt#fb-mif 提取镜像文件 root 权限 https://patcher.yaalex.xyz/ https://github.com/KostyaJRZ/android_device_xiaomi_onclite-twrp

crash: 'input is not valid Modified UTF-8' 问题分析

crash 问题总结

日志详细信息 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** A/DEBUG: Build finge...

Android Binder 简介

Binder 总结

https://zhuanlan.zhihu.com/p/35519585 https://juejin.cn/post/6844903469971685390#heading-7 http://kernel.meizu.com/android-binder.html http://gityuan.com/2016/10/29/binder-thread-pool/

Base64 介绍

Base64 是一种基于 64 个可打印字符来表示二进制数据的表示方法

概念 Base64 是一种基于 64 个可打印字符来表示二进制数据的表示方法 说明 由于 log64=6,所以每 6 个比特为一个单元,对应某个可打印字符。3 个字节相当于 24 个比特,对应于 4 个 Base64 单元,即 3 个字节可由 4 个可打印字符来表示。它可用来作为电子邮件的传输编码。在 Base64 中的可打印字符包括字母 A-Z、a-z、数字 0-9,这样共有 62 ...

常见垃圾收集器

JVM 相关知识

垃圾收集器类型 垃圾收集器是垃圾收集算法的具体实现 现在主流的垃圾收集器有 7 种 我们会根据需求场景的不同,选择不同特点的垃圾收集器 1. Serial收集器 1.1 定义 最基本、发展历史最长的垃圾收集器 1.2 优点 并发收集 在进行垃圾收集时,必须暂停其他所有工作线程(Stop The World),直到收集结束。 暂停工作线程 是在...

内存分配与回收策略

JVM 相关知识

背景 对象分配大部分就是在堆上分配 对象主要分配在新生代的 Eden 区上,少数大对象可能直接分配在老年代 对象分配方案并不是固定的,其取决于哪一种垃圾收集器组合,还有虚拟机参数配置 1. 对象优先在 Eden 分配 新生代内存区域分为 Eden、From Survivor、To Survivor,其大小比例为 8:1:1,直接可用的为 Eden 和 From S...