• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Kexec

This method may work since we boot on a boot.img when the system is running I don't know if it will but im guessing not. This method was used on the Droid razr and worked but there where problems such as one core not functioning I believe data broke and some other kinks

it was also used on teh verizon note 2 and sgs3 with no issues to bypass the bootloader
 
  • Like
Reactions: MotoTriumphant
Upvote 0
From Wikipedia, the free encyclopedia

In computing, kexec (kernel execution) is a mechanism of the Linux kernel that allows "live" booting of a new kernel "over" the currently running kernel. kexec skips the bootloader stage (hardware initialization phase by the firmware or BIOS) and directly loads the new kernel into memory, where it starts executing immediately. This avoids the long times associated with a full reboot,[1] and can help systems to meet high-availability requirements by minimizing downtime.

While feasible, implementing a mechanism such as kexec raises two major challenges:

1: the new kernel will overwrite the memory of the currently running one, while it is still executing.

2: the new kernel will usually expect all physical devices to be in a well-defined state (as they are after system reboot, when the BIOS (or firmware) resets them to a "sane" state). Bypassing a real reboot may leave devices in an unknown state, and the new kernel will have to recover from that.
 
Upvote 0
Working on building the module for this.

WARNING: This code is so far untested on our device. I simply pulled it from another phone's project and uploaded it, haven't had a chance to test it yet. I would imagine the worst case scenario is you will have to unbrick, can't imagine it doing more than that.

https://github.com/zeest/lg_ms770_kexec
 
Upvote 0
Working on building the module for this.

WARNING: This code is so far untested on our device. I simply pulled it from another phone's project and uploaded it, haven't had a chance to test it yet. I would imagine the worst case scenario is you will have to unbrick, can't imagine it doing more than that.

https://github.com/zeest/lg_ms770_kexec

So, just add this randomly into the stock kernel source?
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones