Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,733,198 Members 41,586 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Important question about KEXEC - custom rom for locked bootloader

Tip us?
 
boss134
Old
(Last edited by boss134; 14th January 2013 at 08:14 PM.) Reason: Bug in topic
#1  
Junior Member - OP
Thanks Meter 0
Posts: 8
Join Date: Dec 2011
Lightbulb [Q] Important question about KEXEC - custom rom for locked bootloader

I MADE MISTAKE AT TOPIC

KEXEC is script/app/pony that allow to run custom kernel on LOCKED BOOTLOADER
I know it works on Moto RAZR

Hello. I remember that some Motorola devices has locked BL. I searched for some info and found:
Something for NOOK


http://forum.xda-developers.com/show....php?t=1361943
And for Moto
http://forum.xda-developers.com/show....php?t=1599648


IMPORTANT: i dont know - do i found something intresting?

Edit: Hmm it looks something like this:
1.Reboots phone
2.Delete Kernel from ram or it is rewriting in RAM
3.Launches System

Soooo it could be used in ous Arcs? I think it could.
IF anyone who knows something bout android could say something about it....
 
XperienceD
Old
#2  
XperienceD's Avatar
Senior Member
Thanks Meter 2331
Posts: 7,185
Join Date: Jul 2010
Location: Here =)
Quote:
Originally Posted by boss134 View Post
IMPORTANT: i dont know - do i found something intresting?
It's interesting no doubt, let's see if anything comes from it.
 
boss134
Old
(Last edited by boss134; 15th January 2013 at 03:24 PM.)
#3  
Junior Member - OP
Thanks Meter 0
Posts: 8
Join Date: Dec 2011
I hope this will push our Locked Bootloader arcs to next level
Can someone look after that project? As you can see i am not dev and i think that someone with expirience should ask dev's of this KEXEC thing how do they done it and is this method uniwersal to evry Android device or at lest Quallcomm devices.
 
jimbo77
Old
#4  
jimbo77's Avatar
Recognized Contributor
Thanks Meter 2141
Posts: 1,471
Join Date: Nov 2010
Location: Guatemala

 
DONATE TO ME
Ohh I remember Kexec from the old Xperia X10 days... FxP (Jerpelea) and Zdizihu both were able to run CM and Stock Froyo on custom kernels using Kexec for our Locked BL X10's....


The work was then abandoned when Sony decided to start unlocking Bootloaders when possible...
If want to support my work just click HERE

Current Model: LG Optimus G - [ROM] PAC - 4.4.2 [KERNEL] Matrix Linaro Kernel!

Creator of:
 
boss134
Old
#5  
Junior Member - OP
Thanks Meter 0
Posts: 8
Join Date: Dec 2011
Wink We have chance?

So can somebody make rom with that piece of software? I want to test some roms beafore i unlock my bootloader.
Besides this could be cheap way to have custom rom
 
mman1982
Old
#6  
Senior Member
Thanks Meter 9
Posts: 125
Join Date: May 2010
Any hope to make working kexec to Arc S? I have locked bootloader,cannot unlocked...
The Following User Says Thank You to mman1982 For This Useful Post: [ Click to Expand ]
 
Someguyfromhell
Old
#7  
Someguyfromhell's Avatar
Recognized Contributor
Thanks Meter 1990
Posts: 3,912
Join Date: Feb 2012

 
DONATE TO ME
Odd, how I have missed this topic. I will look into it as soon as I can and do some testing.
The Following 2 Users Say Thank You to Someguyfromhell For This Useful Post: [ Click to Expand ]
 
mman1982
Old
(Last edited by mman1982; 24th February 2014 at 10:56 AM.) Reason: inf
#8  
Senior Member
Thanks Meter 9
Posts: 125
Join Date: May 2010
Default kexec

Quote:
Originally Posted by Someguyfromhell View Post
Odd, how I have missed this topic. I will look into it as soon as I can and do some testing.
Hi!

I appearently found a working kexec command (compiled for armv7), i cannot test it,because i haven't got my USB cable now, but i can run, it displays help from terminal emulator.
Attached Files
File Type: tar kexec.tar - [Click for QR Code] (140.0 KB, 3 views)
The Following User Says Thank You to mman1982 For This Useful Post: [ Click to Expand ]
 
mman1982
Old
#9  
Senior Member
Thanks Meter 9
Posts: 125
Join Date: May 2010
Default trying kexec

Thats my result, not so good..

255|shell@android:/system/bin # ./kexec /mnt/sdcard/lupus.img
./kexec /mnt/sdcard/lupus.img
Cannot open /proc/atags: No such file or directory
kexec_load failed: Function not implemented
entry = 0x208000 flags = 280000
nr_segments = 2
segment[0].buf = 0x2e008
segment[0].bufsz = 10
segment[0].mem = 0x201000
segment[0].memsz = 1000
segment[1].buf = 0x2ab3c008
segment[1].bufsz = 720000
segment[1].mem = 0x208000
segment[1].memsz = 720000
The Following User Says Thank You to mman1982 For This Useful Post: [ Click to Expand ]
 
boss134
Old
#10  
Junior Member - OP
Thanks Meter 0
Posts: 8
Join Date: Dec 2011
Calculator Thats Ok

I think that lupus.img kernel should have implemented some Kexec thngs to get it load to RAM, without it its useless :/

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes