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

Search This thread

boss134

Member
Dec 26, 2011
8
0
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://xdaforums.com/showthread.php?t=1361943
And for Moto
http://xdaforums.com/showthread.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....
 
Last edited:

boss134

Member
Dec 26, 2011
8
0
I hope this will push our Locked Bootloader arcs to next level :D
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.
 
Last edited:

jimbo77

Inactive Recognized Contributor
Nov 2, 2010
2,191
2,948
Guatemala
Samsung Galaxy S23 Ultra
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...
 

boss134

Member
Dec 26, 2011
8
0
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 :D
 

mman1982

Senior Member
May 29, 2010
203
41
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
 
  • Like
Reactions: Cristiano Lira

boss134

Member
Dec 26, 2011
8
0
Thats Ok

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

mman1982

Senior Member
May 29, 2010
203
41
kernel

Hi!

I searched a lot, but i cannot found good information about kexec thing..it's not sure that if you have kexec compatible kernel you MUST got atags or no.( i suspect you must got atags only when you are trying to use a non kexec kernel) Someone needed who can make a kexec compatible kernel first, because i cannot compile android kernel :( I will found a tutorial to this, but i never compiled we need a surely working kernel..I hope some devs interested in this..
 
  • Like
Reactions: Cristiano Lira

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Odd, how I have missed this topic. I will look into it as soon as I can and do some testing.
    1
    Any hope to make working kexec to Arc S? I have locked bootloader,cannot unlocked...:(
    1
    kexec

    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.
    1
    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
    1
    kernel

    Hi!

    I searched a lot, but i cannot found good information about kexec thing..it's not sure that if you have kexec compatible kernel you MUST got atags or no.( i suspect you must got atags only when you are trying to use a non kexec kernel) Someone needed who can make a kexec compatible kernel first, because i cannot compile android kernel :( I will found a tutorial to this, but i never compiled we need a surely working kernel..I hope some devs interested in this..