Maintaining Root via Custom Android Kernel Across Over-The-Air Upgrade
People can obtain the highest privileges and control devices by Android root. However, an Android phone has been rooted, it is difficult for the user to update the Android system. Aiming at these problems, this paper proposes a maintaining root via custom Android kernel across Over-The-Air (OTA) upgrade. By customizing the kernel in boot and recovery, the boot will be replaced with rooted boot after updating automatically, so that system not only can be updated successfully but also maintain root. Experiments show that there is no abnormal between rooted mobile with a customized kernel and normal mobile during a minor system update.
KeywordsCustom kernel Root privilege System update
This work was supported by The Fundamental Research Funds for Beijing Universities of Civil Engineering and Architecture (Response by ZhangYu), and also Excellent Teachers Development Foundation of BUCEA (Response by ZhangYu), and also National Key R&D Program of China (No. 2016YFC060090).
- 1.Gasparis, I., Qian, Z., Song, C., Krishnamurthy, S.V.: Detecting android root exploits by learning from root providers. In: 26th USENIX Security Symposium (USENIX Security 17), pp. 1129–1144. USENIX Association (2017)Google Scholar
- 4.SuperSU. https://play.google.com/store/apps/details?id=eu.chainfire.supersu&hl=en_US. Accessed 30 May 2018
- 5.FlashFire. https://forum.xda-developers.com/general/paid-software/flashfire-t3075433. Accessed 30 May 2018
- 6.Salehi, M., Daryabar, F., Tadayon, M.H.: Welcome to binder: a kernel level attack model for the binder in android operating system. In: 2016 8th International Symposium on Telecommunications (IST), pp. 156–161. IEEE (2016)Google Scholar
- 7.Guri, M., Poliak, Y., Shapira, B., Elovici, Y.: JoKER: trusted detection of kernel rootkits in android devices via JTAG interface. In: 2015 IEEE Trustcom/BigDataSE/ISPA, vol. 1, pp. 65–73. IEEE (2015)Google Scholar
- 9.Ju, M., Kim, H., Kang, M., Kim, S.: Efficient memory reclaiming for mitigating sluggish response in mobile devices. In: 2015 IEEE 5th International Conference on Consumer Electronics-Berlin (ICCE-Berlin), pp. 232–236. IEEE (2015)Google Scholar
- 13.Samsung Odin. https://samsungodin.com/. Accessed 30 May 2018
- 15.TWRP. https://twrp.me/. Accessed 30 May 2018
- 16.Corral, L., Georgiev, A.B., Janes, A., Kofler, S.: Energy-aware performance evaluation of android custom kernels. In: 2015 IEEE/ACM 4th International Workshop on Green and Sustainable Software (GREENS), pp. 1–7. IEEE (2015)Google Scholar