5,600,234 Members 36,561 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
kholk
Old
(Last edited by stylez; 3rd July 2012 at 12:23 AM.)
#1  
Recognized Developer - OP
Thanks Meter 3798
Posts: 2,247
Join Date: May 2007
Location: Torino

 
DONATE TO ME
Prompt [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

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
The Following 54 Users Say Thank You to kholk For This Useful Post: [ Click to Expand ]
 
Ramdanih
Old
#2  
Ramdanih's Avatar
Senior Member
Thanks Meter 30
Posts: 255
Join Date: Jun 2010
Location: Jakarta
I will test to fastboot Asia..
The Following User Says Thank You to Ramdanih For This Useful Post: [ Click to Expand ]
 
ofmb
Old
#3  
Senior Member
Thanks Meter 122
Posts: 497
Join Date: 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: [ Click to Expand ]
 
Ramdanih
Old
#4  
Ramdanih's Avatar
Senior Member
Thanks Meter 30
Posts: 255
Join Date: Jun 2010
Location: Jakarta
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: [ Click to Expand ]
 
pedrotorresfilho
Old
#5  
pedrotorresfilho's Avatar
Senior Member
Thanks Meter 1091
Posts: 1,591
Join Date: Jan 2012

 
DONATE TO ME
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
Old
#6  
HSD-Pilot's Avatar
Recognized Contributor
Thanks Meter 1892
Posts: 3,198
Join Date: Jan 2012
Location: NRW
Click image for larger version

Name:	uploadfromtaptalk1334432752614.jpg
Views:	6823
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: [ Click to Expand ]
 
spryte
Old
#7  
spryte's Avatar
Senior Member
Thanks Meter 380
Posts: 302
Join Date: Apr 2011
Location: Frankfurt

 
DONATE TO ME
I wonder whether it is possible to run a CDMA kernel on a GSM device?

_____________________________________________
Devices:
  • Samsung Galaxy Note 3 SM-N9005: Stock Android 4.4.2
  • ASUS Nexus 7 2013: Carbon Android 4.3
  • Motorola RAZR XT910, OS: CM11 Android 4.4.2
  • ASUS Nexus 7 2012: Stock Android 4.4.2
  • HP TouchPad, OS: Dualboot WebOS, CM9
_____________________________________________
Store your files online, for free with Dropbox and automatically expand my storage, thanks!
 
Aashrey99
Old
#8  
Senior Member
Thanks Meter 145
Posts: 387
Join Date: May 2011
Location: Gopalpur
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?
Nexus 4 || PSX || PSK for life!

Projects: Aashrey99RAZR || Examify || Techstuff99
The Following User Says Thank You to Aashrey99 For This Useful Post: [ Click to Expand ]
 
HSD-Pilot
Old
#9  
HSD-Pilot's Avatar
Recognized Contributor
Thanks Meter 1892
Posts: 3,198
Join Date: Jan 2012
Location: NRW
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
Old
#10  
zeidof's Avatar
Senior Member
Thanks Meter 483
Posts: 448
Join Date: Apr 2011
Location: Sydney
Quote:
Originally Posted by pedrotorresfilho View Post
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: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes