Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP kholk

14th April 2012, 07:58 PM   |  #1  
OP Recognized Developer
Flag Torino
Thanks Meter: 3,804
 
2,247 posts
Join Date:Joined: May 2007
Donate to Me
More
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 stylez; 3rd July 2012 at 01:23 AM.
The Following 55 Users Say Thank You to kholk For This Useful Post: [ View ]
14th April 2012, 08:00 PM   |  #2  
Ramdanih's Avatar
Senior Member
Flag Jakarta
Thanks Meter: 34
 
260 posts
Join Date:Joined: Jun 2010
More
I will test to fastboot Asia..
The Following User Says Thank You to Ramdanih For This Useful Post: [ View ]
14th April 2012, 08:29 PM   |  #3  
Senior Member
Thanks Meter: 157
 
551 posts
Join Date:Joined: Mar 2011
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!
The Following User Says Thank You to ofmb For This Useful Post: [ View ]
14th April 2012, 08:52 PM   |  #4  
Ramdanih's Avatar
Senior Member
Flag Jakarta
Thanks Meter: 34
 
260 posts
Join Date:Joined: Jun 2010
More
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
The Following User Says Thank You to Ramdanih For This Useful Post: [ View ]
14th April 2012, 09:20 PM   |  #5  
pedrotorresfilho's Avatar
Senior Member
Thanks Meter: 1,098
 
1,590 posts
Join Date:Joined: Jan 2012
Donate to Me
More
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
14th April 2012, 09:47 PM   |  #6  
HSD-Pilot's Avatar
Recognized Contributor
Flag NRW
Thanks Meter: 2,155
 
3,395 posts
Join Date:Joined: Jan 2012
More
Click image for larger version

Name:	uploadfromtaptalk1334432752614.jpg
Views:	6970
Size:	65.2 KB
ID:	1003691

Here we go.

Great Performance for me

Sent from my XT910 using xda premium
The Following User Says Thank You to HSD-Pilot For This Useful Post: [ View ]
14th April 2012, 09:49 PM   |  #7  
spryte's Avatar
Senior Member
Flag Frankfurt
Thanks Meter: 380
 
302 posts
Join Date:Joined: Apr 2011
Donate to Me
More
I wonder whether it is possible to run a CDMA kernel on a GSM device?
14th April 2012, 10:03 PM   |  #8  
Senior Member
Flag Hyderabad
Thanks Meter: 168
 
453 posts
Join Date:Joined: May 2011
More
Congrats! Thanks Kholk and mbm, you guys are the best!

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?
The Following User Says Thank You to Aashrey99 For This Useful Post: [ View ]
14th April 2012, 10:10 PM   |  #9  
HSD-Pilot's Avatar
Recognized Contributor
Flag NRW
Thanks Meter: 2,155
 
3,395 posts
Join Date:Joined: Jan 2012
More
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
14th April 2012, 10:47 PM   |  #10  
zeidof's Avatar
Senior Member
Flag Sydney
Thanks Meter: 498
 
468 posts
Join Date:Joined: Apr 2011
More
Quote:
Originally Posted by pedrotorresfilho

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

The Following 2 Users Say Thank You to zeidof For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes