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

[WIP] Kexec (bootloader bypass!) CUSTOM KERNEL (**WORKING**)

OP phrir1

14th April 2012, 03:52 PM   |  #1  
OP Member
Thanks Meter: 16
 
86 posts
Join Date:Joined: Dec 2011
More
** ATTN DEVS **

Not sure if alot of people know about this but i wanted to share and help get the word out there, because i will affect our D4 as well. And the more people that know about it, the better.

kholk has got a custom kernal booting on his RAZR. As we all know the RAZR has a locked bootloader. check out the links to the original threads.

AS OF NOW THIS IS ON THE ETERNITY 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.

ToDo:
- Fix CPU1

Disclaimer:
The EternityProject isn'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.


LINK TO TOPIC IN
XDA

THREAD AT
ETERNITY PROJECT


BIG THANKS TO KHOLK, [MBM], ZEIDOF, AND ALL THE MEMBERS OF THE ETERNITY PROJECT TEAM WHO HELPED WITH THIS.
Last edited by phrir1; 12th June 2012 at 06:39 AM.
The Following 3 Users Say Thank You to phrir1 For This Useful Post: [ View ]
14th April 2012, 04:12 PM   |  #2  
kwyrt's Avatar
Senior Member
Flag Columbus
Thanks Meter: 205
 
692 posts
Join Date:Joined: Apr 2011
More
Sounds promising!

Sent from my DROID4 using XDA
15th April 2012, 12:42 AM   |  #3  
Senior Member
Thanks Meter: 12
 
151 posts
Join Date:Joined: Jan 2012
More
this looks great, i hope this can be ported over to the Droid 4 no problem, in your face Motorola! you make great phones, but your bootloader policy sucks
15th April 2012, 02:35 AM   |  #4  
CreepyE's Avatar
Senior Member
Flag Phoenix, AZ
Thanks Meter: 322
 
583 posts
Join Date:Joined: Oct 2010
More
About damn time! I had lost hope in any further development for our phones

Sent from my ICS flavored DROID4
15th April 2012, 04:50 AM   |  #5  
Member
Thanks Meter: 11
 
47 posts
Join Date:Joined: Jan 2011
I had decided I would try it on my phone as-is. When I run the script I get what appears to be syntax errors or something.
Code:
bypassme.sh[12]: /system/bypassme/physicalmem: No such file or directory
bypassme.sh[16]: ./kexec: No such file or directory
Hopefully we will get a version compatible with our phones and CM9 soon. I'd like to see something like the 2nd-init exploit that can do it early in the boot process.
15th April 2012, 06:23 AM   |  #6  
OP Member
Thanks Meter: 16
 
86 posts
Join Date:Joined: Dec 2011
More
From what's been said I think it only works with stock rom. Any custom rom would have to be ported to it. And for the d4 as well

Edit: did you run as su

*** Sent from OCd ICS D4 ***
16th April 2012, 02:26 AM   |  #7  
Member
Thanks Meter: 11
 
47 posts
Join Date:Joined: Jan 2011
I modified the bypassme.sh script to
Code:
insmod /system/bypassme/atags.ko
cat /system/bypassme/atags3 > /proc/atags
cat /system/bypassme/physicalmem 0x4A314048 w 0x4444AAAA
cat /system/bypassme/physicalmem 0x4A314048 w 0x44445555
insmod /system/bypassme/functions.ko
insmod /system/bypassme/userspace.ko
cd /system/bypassme/
sh kexec -l zImage --devtree=devtree3 --ramdisk=ramdisk.gz
sleep 10
sh kexec -e
and it runs and displays some funky text but doesn't seem to actually do anything. But is it the same error the CDMA Razr gets or something else?
16th April 2012, 05:53 PM   |  #8  
fatihx's Avatar
Member
Thanks Meter: 3
 
43 posts
Join Date:Joined: Dec 2009
so does it mean also droid 4 can be used with gsm ?
16th April 2012, 07:08 PM   |  #9  
Member
Thanks Meter: 11
 
47 posts
Join Date:Joined: Jan 2011
Quote:
Originally Posted by fatihx

so does it mean also droid 4 can be used with gsm ?

Yes, but that's old news and the tool that's supposed to allow it is just another thing Motorola has promised to release at some point in the future.
20th April 2012, 05:00 PM   |  #10  
Member
Thanks Meter: 16
 
85 posts
Join Date:Joined: Jul 2011
I'm going to show my total stupidity here and ask a very basic question.

If we already have root, custom ROMs and recovery, what does the custom kernel allow you to do?

Sorry for bringing it down to the lowest level and thanks for your patience.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes