5,600,571 Members 33,412 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
phrir1
Old
(Last edited by phrir1; 12th June 2012 at 05:39 AM.)
#1  
Member - OP
Thanks Meter 16
Posts: 86
Join Date: Dec 2011
Default [WIP] Kexec (bootloader bypass!) CUSTOM KERNEL (**WORKING**)

** 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.
The Following 3 Users Say Thank You to phrir1 For This Useful Post: [ Click to Expand ]
 
kwyrt
Old
#2  
kwyrt's Avatar
Senior Member
Thanks Meter 197
Posts: 668
Join Date: Apr 2011
Location: Columbus
Sounds promising!

Sent from my DROID4 using XDA
 
dewhashish
Old
#3  
Senior Member
Thanks Meter 9
Posts: 116
Join Date: Jan 2012
Location: Dracut, MA
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
"Hello, IT, have you tried turning it off and on again?" <- apply this to a buggy ROM

Phones:

- AT&T Samsung Galaxy S 4: stock ROM 4.3 MK2

- Verizon Samsung Galaxy S III: CM11 4.4.2, stock CM kernel

- Verizon iPhone 4: iOS 6 (returned)

- Verizon Motorola Droid 4: Unofficial CM10, 4.1.1 (sold)

- Verizon Motorola Droid: CM7.2, 2.3.7, 1.25GHz ChevyNo Kernel (retired)

Tablets:

- HP Touchpad: Dual-boot WebOS and Unofficial CM10.1, 4.2.2 (sold)
 
CreepyE
Old
#4  
CreepyE's Avatar
Senior Member
Thanks Meter 283
Posts: 491
Join Date: Oct 2010
Location: Phoenix, AZ
About damn time! I had lost hope in any further development for our phones

Sent from my ICS flavored DROID4
 
problematic
Old
#5  
Member
Thanks Meter 11
Posts: 47
Join Date: 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.
 
phrir1
Old
#6  
Member - OP
Thanks Meter 16
Posts: 86
Join Date: Dec 2011
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 ***
 
problematic
Old
#7  
Member
Thanks Meter 11
Posts: 47
Join Date: 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?
 
fatihx
Old
#8  
fatihx's Avatar
Member
Thanks Meter 2
Posts: 37
Join Date: Dec 2009
so does it mean also droid 4 can be used with gsm ?
 
problematic
Old
#9  
Member
Thanks Meter 11
Posts: 47
Join Date: Jan 2011
Quote:
Originally Posted by fatihx View Post
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.
 
redddog
Old
#10  
Member
Thanks Meter 16
Posts: 67
Join Date: 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.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes