1. Are you ready for the Galaxy S20? Here is everything we know so far!

Kexec

Discussion in 'Android Devices' started by chicle, Jan 14, 2013.

  1. chicle

    chicle Well-Known Member
    Thread Starter

    I'm not sure if this works for us or not, but I saw a thread about it in the touchpad section in xda. I googled it, but I really don't understand it. I'm posting this because I'm sure someone here will know if it's useful for our Motion.
     


    gra2316 likes this.

    1. Download the Forums for Android™ app!


      Download

       
  2. ZeroShot

    ZeroShot Well-Known Member

    i just googled it and it just seems to be something that helps restart faster. I could be wrong tho
     
  3. brooklyn227

    brooklyn227 Well-Known Member

    From what i see it looks promising in the right hands.
     
  4. zimlokks

    zimlokks Android Expert

    This method may work since we boot on a boot.img when the system is running I don't know if it will but im guessing not. This method was used on the Droid razr and worked but there where problems such as one core not functioning I believe data broke and some other kinks
     
  5. Shabbypenguin

    Shabbypenguin Extreme Android User

    it was also used on teh verizon note 2 and sgs3 with no issues to bypass the bootloader
     
    MotoTriumphant likes this.
  6. zimlokks

    zimlokks Android Expert

    We'll have to dig deeply into this... I got he files now to get a Zimage and other stuff
     
    MotoTriumphant likes this.
  7. Angablade

    Angablade Android Enthusiast

    From Wikipedia, the free encyclopedia

    In computing, kexec (kernel execution) is a mechanism of the Linux kernel that allows "live" booting of a new kernel "over" the currently running kernel. kexec skips the bootloader stage (hardware initialization phase by the firmware or BIOS) and directly loads the new kernel into memory, where it starts executing immediately. This avoids the long times associated with a full reboot,[1] and can help systems to meet high-availability requirements by minimizing downtime.

    While feasible, implementing a mechanism such as kexec raises two major challenges:

    1: the new kernel will overwrite the memory of the currently running one, while it is still executing.

    2: the new kernel will usually expect all physical devices to be in a well-defined state (as they are after system reboot, when the BIOS (or firmware) resets them to a "sane" state). Bypassing a real reboot may leave devices in an unknown state, and the new kernel will have to recover from that.
     
  8. sammyz

    sammyz LG Whiz Kid

    This sounds promising, hopefully it works on the motion :)
     
  9. plasticarmyman

    plasticarmyman Android Expert

    well figuring the motion is only $49 right now after rebates...i'll test out any attempts at this on my phone...

    just do me a favor, please remind me to back up my stuff...i always forget and then spend days getting everything back in order...
     
  10. ninjasinabag

    ninjasinabag Android Enthusiast

    Remember armyman, no smart soldier goes into battle without back-up. ;]
     
  11. plasticarmyman

    plasticarmyman Android Expert

    hence why i am merely a plastic army man...not a real one :p
     
  12. Angablade

    Angablade Android Enthusiast

    I have found a arm7 compiled version of kexec.
    http://forum.xda-developers.com/showthread.php?t=1361943
    If we can compile it for our device, it should help out.

    Once I am finished moving, I should be able to take a better crack at the source and get it working for our device.
     
  13. MotoTriumphant

    MotoTriumphant Android Enthusiast

    Hey plastic don't forget to backup ok?
     
  14. blaze420916

    blaze420916 Android Expert

    Lol he did say to remind him
     
  15. zeest

    zeest Android Enthusiast

    Working on building the module for this.

    WARNING: This code is so far untested on our device. I simply pulled it from another phone's project and uploaded it, haven't had a chance to test it yet. I would imagine the worst case scenario is you will have to unbrick, can't imagine it doing more than that.

    https://github.com/zeest/lg_ms770_kexec
     
    twogbsd, sammyz and adanmex like this.
  16. twogbsd

    twogbsd Android Expert

    So, just add this randomly into the stock kernel source?
     
  17. sammyz

    sammyz LG Whiz Kid

    Needs tweaking for it to work on our device.
     
    twogbsd likes this.
  18. plasticarmyman

    plasticarmyman Android Expert

    Yeah...can a Mod move this thread?...i keep clicking on it thinking it's new information :p
     
  19. sammyz

    sammyz LG Whiz Kid

    Merge it?
     
  20. plasticarmyman

    plasticarmyman Android Expert

    yeah...merge it :p not move it..
     

LG Motion 4G Forum

The LG Motion 4G release date was August 2012. Features and Specs include a 3.5" inch screen, 5MP camera, 1GB RAM, Snapdragon S4 Plus processor, and 1700mAh battery.

August 2012
Release Date
0
Reviews

Share This Page

Loading...