[Bootloader Bypass] Kexec for Motorola RAZR by kholk & [mbm]
Welcome to the EternityProject's Motorola RAZR Bootloader Bypass Thread!
What do we have today?
Kexec. After working with a really good developer, [mbm]
, finally this has become real.
Linux boots Linux. No signature checks.
Yeah, this is the beginning of custom kernels
Oh, remember that this is still a WORK IN PROGRESS!
Known issues (to be solved):
- CPU1 doesn't come up.
- It fails on (some?) CDMA Droid RAZRs
ToDo (by priority):
1. Fix CDMA Droid RAZR problem
2. Fix CPU1
The EternityProject and [mbm] aren't responsible of anything you do on your device: if it explodes and kills you, or if it comes to life and becomes something like Terminator, it's YOUR OWN RESPONSIBILITY.
Plus, prior complaining that it doesn't work, use a STOCK MOTOROLA ROM. Thanks.
1. Copy the package on your internal memory / MicroSD
2. Boot the bootstrap recovery
3. Install it via that recovery.
Booting with kexec:
Open a terminal emulator or ADB and enter this:
Then wait for 10 seconds to jump over the new kernel. Now your device will vibrate and apparently freeze. Wait a minute and you'll be on the new kernel
You can also set the script above to be automatically executed at boot time or to be a one-tap script with apps like Script Manager.
Video how-to by therazrguy:
In case of freeze:
VOLDN+POWER (press for ~10 seconds) will hardshutdown your device. If it freezes during the kexec boot, retry. Sometimes it can happen.
In case of slow-like-hell device:
Install SetCPU or AnTuTu CPU Master and change your governor from 'mot_hotplug' to 'ondemand'.
If something is not working, please remove anything that is automatically running at boot, like auto-recovery and the "Set on boot" option of SetCPU or AnTuTu CPU Master.
The EternityProject Team Manager & Main Developer,