1. Download our Official Android App: Forums for Android!

Root Kexec

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

  1. chicle

    chicle Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    43
    Posts:
    164
    Joined:
    Jun 27, 2011

    Jun 27, 2011
    164
    25
    43
    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.
     

    Advertisement

    gra2316 likes this.
  2. ZeroShot

    ZeroShot Well-Known Member
    Rank:
    None
    Points:
    38
    Posts:
    191
    Joined:
    Mar 5, 2012

    Mar 5, 2012
    191
    10
    38
    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
    Rank:
    None
    Points:
    38
    Posts:
    120
    Joined:
    Feb 11, 2011

    Feb 11, 2011
    120
    20
    38
    Stagehand / lighting tech
    Las vegas
    From what i see it looks promising in the right hands.
     
  4. zimlokks

    zimlokks Android Expert
    Rank:
    None
    Points:
    113
    Posts:
    750
    Joined:
    Oct 12, 2011

    Oct 12, 2011
    750
    244
    113
    Male
    Fish Distribution! :D
    Los Angeles
    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
    Rank:
     #28
    Points:
    723
    Posts:
    5,385
    Joined:
    Mar 28, 2011

    Mar 28, 2011
    5,385
    5,071
    723
    Male
    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
    Rank:
    None
    Points:
    113
    Posts:
    750
    Joined:
    Oct 12, 2011

    Oct 12, 2011
    750
    244
    113
    Male
    Fish Distribution! :D
    Los Angeles
    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
    Rank:
    None
    Points:
    68
    Posts:
    427
    Joined:
    Jan 3, 2012

    Jan 3, 2012
    427
    223
    68
    Male
    Programmer
    Michigan
    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
    Rank:
     #54
    Points:
    423
    Posts:
    8,840
    Joined:
    Jun 3, 2011

    Jun 3, 2011
    8,840
    2,500
    423
    Male
    Video Production
    Sunrise, Fl
    This sounds promising, hopefully it works on the motion :)
     
  9. plasticarmyman

    plasticarmyman Android Expert
    Rank:
    None
    Points:
    113
    Posts:
    892
    Joined:
    Oct 27, 2011

    Oct 27, 2011
    892
    254
    113
    Male
    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
    Rank:
    None
    Points:
    103
    Posts:
    538
    Joined:
    Jun 21, 2012

    Jun 21, 2012
    538
    164
    103
    Male
    you name it
    philadelphia, PA
    Remember armyman, no smart soldier goes into battle without back-up. ;]
     
  11. plasticarmyman

    plasticarmyman Android Expert
    Rank:
    None
    Points:
    113
    Posts:
    892
    Joined:
    Oct 27, 2011

    Oct 27, 2011
    892
    254
    113
    Male
    hence why i am merely a plastic army man...not a real one :p
     
  12. Angablade

    Angablade Android Enthusiast
    Rank:
    None
    Points:
    68
    Posts:
    427
    Joined:
    Jan 3, 2012

    Jan 3, 2012
    427
    223
    68
    Male
    Programmer
    Michigan
    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
    Rank:
    None
    Points:
    78
    Posts:
    655
    Joined:
    May 12, 2012

    May 12, 2012
    655
    53
    78
    Hey plastic don't forget to backup ok?
     
  14. blaze420916

    blaze420916 Android Expert
    Rank:
    None
    Points:
    93
    Posts:
    886
    Joined:
    Jan 27, 2012

    Jan 27, 2012
    886
    104
    93
    electrition
    Sacramento
    Lol he did say to remind him
     
  15. zeest

    zeest Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    413
    Joined:
    Nov 22, 2012

    Nov 22, 2012
    413
    78
    53
    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
    Rank:
    None
    Points:
    193
    Posts:
    2,014
    Joined:
    Oct 17, 2012

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

    sammyz LG Whiz Kid
    Rank:
     #54
    Points:
    423
    Posts:
    8,840
    Joined:
    Jun 3, 2011

    Jun 3, 2011
    8,840
    2,500
    423
    Male
    Video Production
    Sunrise, Fl
    Needs tweaking for it to work on our device.
     
    twogbsd likes this.
  18. Angablade

    Angablade Android Enthusiast
    Rank:
    None
    Points:
    68
    Posts:
    427
    Joined:
    Jan 3, 2012

    Jan 3, 2012
    427
    223
    68
    Male
    Programmer
    Michigan
  19. plasticarmyman

    plasticarmyman Android Expert
    Rank:
    None
    Points:
    113
    Posts:
    892
    Joined:
    Oct 27, 2011

    Oct 27, 2011
    892
    254
    113
    Male
    Yeah...can a Mod move this thread?...i keep clicking on it thinking it's new information :p
     
  20. sammyz

    sammyz LG Whiz Kid
    Rank:
     #54
    Points:
    423
    Posts:
    8,840
    Joined:
    Jun 3, 2011

    Jun 3, 2011
    8,840
    2,500
    423
    Male
    Video Production
    Sunrise, Fl
    Merge it?
     
  21. plasticarmyman

    plasticarmyman Android Expert
    Rank:
    None
    Points:
    113
    Posts:
    892
    Joined:
    Oct 27, 2011

    Oct 27, 2011
    892
    254
    113
    Male
    yeah...merge it :p not move it..
     
Tags:

Share This Page

Loading...