[Bootloader Bypass] Kexec for Motorola RAZR by kholk & [mbm]

Search This thread

kholk

Retired Recognized Developer
May 20, 2007
2,293
3,829
Torino
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

Disclaimer:
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.

Tested on:
651.167.19.XT910.Retail.en.FR
651.167.26.XT910.Retail.en.EU
65.1.40.XT910.MERetail.en.06
651.73.250.XT910.Brasil.en.BR
65.1.40.XT910.AsiaRetail.en.03
65.3.106.XT910S.SKT.en.KR

Installing:
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:
Code:
su
sh /system/bypassme/bypassme.sh
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:
http://www.youtube.com/watch?v=0o2j543IOMc

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'.

Screenshots:


Download:
EternityProject Website

Source:
HERE

Note:
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,
--kholk
 
Last edited by a moderator:

ofmb

Senior Member
Mar 3, 2011
561
170
That's amazing job you BOTH did !

Questions:
1. Which kernel did you use as base?
2. Could you post it's source to see the diffs?

Thanks a lot!
 
  • Like
Reactions: hacker812c

Ramdanih

Senior Member
Jun 16, 2010
245
33
Depok
Workkk!!!

65.1.40.XT910.AsiaReatil.en.03

---------- Post added at 01:52 AM ---------- Previous post was at 01:52 AM ----------

Workksss!!!

65.1.40.XT910.AsiaRetail.en.03 :D
 
  • Like
Reactions: hacker812c

pedrotorresfilho

Senior Member
Jan 4, 2012
1,595
1,098
decantodepoetas.blogspot.com
People who sucessfully flash this put a screen print of system as in first post of the thread to the working rom list be updated. Also, tell us your kexec impressions. How it's working; performmance; whatever...

How cool is that h@?

Great work guys!

Sent from my XT910 using Tapatalk 2
 

HSD-Pilot

Senior Member
Jan 22, 2012
3,492
2,420
NRW
Google Pixel 6
uploadfromtaptalk1334432752614.jpg

Here we go.

Great Performance for me;)

Sent from my XT910 using xda premium
 
  • Like
Reactions: hacker812c

Aashrey99

Senior Member
May 26, 2011
451
167
Hyderabad
Congrats! Thanks Kholk and mbm, you guys are the best! :D

I just have one question.
After this how can I boot into the normal kernel and use both cores if I want to? Is that even possible or are we stuck with only one core till a fix is found?
 
  • Like
Reactions: hacker812c

HSD-Pilot

Senior Member
Jan 22, 2012
3,492
2,420
NRW
Google Pixel 6
Hey Aashrey,

I can reboot my Phone and got the Stock Kernel. After running the script it reboots again and there's the Magic;)
So all under control!

Sent from my XT910 using xda premium
 

zeidof

Senior Member
Apr 5, 2011
486
509
Sydney
Xiaomi 12
People who sucessfully flash this put a screen print of system as in first post of the thread to the working rom list be updated. Also, tell us your kexec impressions. How it's working; performmance; whatever...

How cool is that h@?

Great work guys!

Sent from my XT910 using Tapatalk 2

Didn't u install it?

Sliced by my Razr on Tapatalk
 

romdroid.

Senior Member
Jul 27, 2010
2,254
208
This may be offtopic but still intresting: How did they manage to unlock the bootlooader of Motorola Atrix? If Motorola locks all their bootloaders then how did someone manage to unlock the atrix?
 

J.Y.Daddy

Senior Member
Jul 13, 2011
552
924
Seoul
jydaddy.co.cc
Ooh~ it‘s amazing!
I‘d like try on my razr(XT910S).

One question:
is it possible cwm recovery image flash on recovery partition?

Thanks for great work!

Sent from my XT910 using xda premium
 
Last edited:
  • Like
Reactions: hacker812c

zeidof

Senior Member
Apr 5, 2011
486
509
Sydney
Xiaomi 12
Ooh~ it‘s amazing!
I‘d like try on my razr(XT910S).

One question:
is it possible cwm recovery image flash on recovery partition?

Thanks for great work!

Sent from my XT910 using xda premium

I installed it 3 times when i had cwm on boot & it failed, i dont know why but seems cwm on boot causes some errors, then i removed that & it worked,

Apply it on your xt910s, you dont miss anything

Sliced by my Razr on Tapatalk
 

dewhashish

Senior Member
Jan 29, 2012
197
18
i hope this gets ported to the CDMA RAZR and then the Droid 4, since their hardware is very similar
 

maarawoe

Senior Member
Feb 8, 2012
894
119
Prague
For some reason my phone doesn't go to the deep sleep while running the new kernel

Sent from a phone with a locked bootloader....
 

J.Y.Daddy

Senior Member
Jul 13, 2011
552
924
Seoul
jydaddy.co.cc
I installed it 3 times when i had cwm on boot & it failed, i dont know why but seems cwm on boot causes some errors, then i removed that & it worked,

Apply it on your xt910s, you dont miss anything

Sliced by my Razr on Tapatalk

Because perhaps it seems that reboot and reboot again.:p

Question:
We(XT910S) have not sbf. So, i'm very careful.
Custom kernel is being applied when BP-Tool boot only?
is it possible back to original kernel? (Normal-boot)

thanks.
 

Fekajo

Senior Member
May 2, 2011
124
31
Yes exacly
BT Tool = custom kernel
when you reboot in normal mod you have your original kernel
 

Top Liked Posts

  • There are no posts matching your filters.
  • 55
    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

    Disclaimer:
    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.

    Tested on:
    651.167.19.XT910.Retail.en.FR
    651.167.26.XT910.Retail.en.EU
    65.1.40.XT910.MERetail.en.06
    651.73.250.XT910.Brasil.en.BR
    65.1.40.XT910.AsiaRetail.en.03
    65.3.106.XT910S.SKT.en.KR

    Installing:
    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:
    Code:
    su
    sh /system/bypassme/bypassme.sh
    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:
    http://www.youtube.com/watch?v=0o2j543IOMc

    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'.

    Screenshots:


    Download:
    EternityProject Website

    Source:
    HERE

    Note:
    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,
    --kholk
    7
    * whistling *

    :angel:
    5
    Hashcode got both cores running on the Droid 3 and the CDMA Razr. There's some issues but at least he got both cores running! :D
    4
    stop asking for update dudes, i know you can t wait for kexec and so do i.
    But don t worry when kholk will have something new he will tell.

    Remember he is doing This during freetime for free , it s summer now and he work on many devices!

    So we all have to wait don t update this thread for ETA, because every time i see it i m like , omagad finally! And no....