• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [WIP][DEV] Custom Recovery/Bootloader unlocking Work In Progress Thread

kexec. I think once I solve one more problem (the absence of /proc/atags), it will work. Have to get past this first though.
 
Can someone more knowing than me compile kexec for our phone for me?

EDIT: Possibly a problem. kexec support appears to be disabled on our kernel :/ any ideas? If we could flash lg's kernel compiled from source, it would be easy enough to fix, but from what I hear, we can't.

EDIT2: Kexec just has to be compiled as a module to add into the kernel, but there are a lot of modifications to make, as it has to be configured for specific devices. Anyone want to give it a try?
 
Can someone more knowing than me compile kexec for our phone for me?

EDIT: Possibly a problem. kexec support appears to be disabled on our kernel :/ any ideas? If we could flash lg's kernel compiled from source, it would be easy enough to fix, but from what I hear, we can't.

EDIT2: Kexec just has to be compiled as a module to add into the kernel, but there are a lot of modifications to make, as it has to be configured for specific devices. Anyone want to give it a try?

Tell meh what to do ;)
 
OK, It appears that the kexec source should be in our kernel. If not, I need to find a kernel that does have it so I can get the source from there. After that, I will work on configuring, and also upload the source here. It would be great if you guys could help me configure it for our device, it will go much faster that way!
 
OK, It appears that the kexec source should be in our kernel. If not, I need to find a kernel that does have it so I can get the source from there. After that, I will work on configuring, and also upload the source here. It would be great if you guys could help me configure it for our device, it will go much faster that way!

I will do what I can! :)
 
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

For those of you who don't know how this works, download with git, make changes, submit pull requests. Is there a way to set this up so multiple people can push directly, without submitting requests?
 
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

For those of you who don't know how this works, download with git, make changes, submit pull requests. Is there a way to set this up so multiple people can push directly, without submitting requests?

They can all clone to their guthub, someone downloads the clone after changes and tests it. If it works then you push ;)
 
It would be out sooner, and it is only a guess. I am working on it as fast as I can. I just finished moving, and still am setting things up. Then with my regular two jobs, I can only hope I have an alpha done by then. But I will try my hardest. But!!! I know this should and hopefully will work. I have a kernel built and am working on kexec for us now.

@sue, if you got one of these, hit me up on skype tomorrow.
 
Programmers, is this correct for our phone?
Code:
export CC=arm-linux-androideabi-
export CROSS_COMPILE=arm-linux-androideabi-
 
Shabby, How I am testing this is booting up the phone completely, and then executing the command to replace the kernel mid run. It freezes for a moment, and then psuedo-restarts. I am not doing it on boot yet with the init script. I am running it by hand so that I know what is going on.
 
Shabby, How I am testing this is booting up the phone completely, and then executing the command to replace the kernel mid run. It freezes for a moment, and then psuedo-restarts. I am not doing it on boot yet with the init script. I am running it by hand so that I know what is going on.

Woah woah... So this is somewhat already working? We will have freedom soon??
 
Shabby, How I am testing this is booting up the phone completely, and then executing the command to replace the kernel mid run. It freezes for a moment, and then psuedo-restarts. I am not doing it on boot yet with the init script. I am running it by hand so that I know what is going on.

You have this working already? You can boot a new kernel?
 
Shabby, How I am testing this is booting up the phone completely, and then executing the command to replace the kernel mid run. It freezes for a moment, and then psuedo-restarts. I am not doing it on boot yet with the init script. I am running it by hand so that I know what is going on.

that is a solid plan, however are you running anything to kill off previous things to free up the memory? last thing youd want is for teh new kernel to load and try to overwrite ram space that is already taken.
 
Back
Top Bottom