I am trying to do some low level performance testing related to device processor cores through adb which I feel it is affected by Android background services and system stuff.
As I know that the Android boot sequence stages are as follow:
So my question is how can I interrupt this sequence to force it stop on stage 3 to load Linux kernel. This can help me implement my intermediary performance testings before loading again Android system. Does Fastboot or Clockworkmod recovery can help here and load my device to a kind of Linux kernel?
Any hint will be appreciated. Thanks.
Change init
parameter in kernel bootargs to something like init=/bin/sh
. Usually it can be done somewhere on step 2.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.