Custom kernel.?

jimbridgman

Senior Member
Dec 21, 2007
2,345
3,069
0
Dallas, TX
I am guessing kexec support has finally come to wang's cm10.1 version. That or he is using 2nd init to load it. This is not a true unlocked BL kernel... just for his cm10.1 only, you will most likely not be able to use it with other roms, unless it a cm based one, that say altered could stuff into his PA versions or something.

The real issue will be battery life and RAM usage, because with kexec and 2nd init, you load the stock kernel then unload that and load the "custom one" so there is still some ram holding some of the "old/stock kernel" all the time.
 

atrix2man

Senior Member
Dec 30, 2012
875
410
93
This sounds complex...so thats why cm10.1 is dead at the moment..bootloader being locked down..i thought a custom kernel wasnt possible.
 

amynjimmy

Senior Member
Jan 6, 2012
1,299
240
93
That's is great but that does mean we have to load the kernel by kexec and use 2nd inuit like Jim mentioned correct

And will we be able to run the new kernel with Bmm and patch... Would love to try it
Bmm
1. Stock 4.0.4
2. Miui
3. PA 310 4.2.2
4. CMPA 4.1.2
 

Atrixfy

Member
Jan 14, 2013
48
4
28
That's is great but that does mean we have to load the kernel by kexec and use 2nd inuit like Jim mentioned correct

And will we be able to run the new kernel with Bmm and patch... Would love to try it
Bmm
1. Stock 4.0.4
2. Miui
3. PA 310 4.2.2
4. CMPA 4.1.2
The new ROM and kernel is a single flashable zip file. Wang reminded that the ROM does not support bmm.
From what I read from the forum, some people are facing bootloop after flashing the ROM
 

jimbridgman

Senior Member
Dec 21, 2007
2,345
3,069
0
Dallas, TX
You can not use BMM to flash this, even with the patch.

YOU MUST use either safestrap, which can boot kexec ROMS, but most likely this will barf since wang has CWM build into his roms with 2nd init, so....

You will HAVE to flash this with bootstrap and it will be your only ROM. I have read that others are having issues getting it to boot at all right now, so my guess is that this is still not ready for prime time yet, go check out the dev thread about the cm10.1 ROM, that hankbizzo5 posted, it talks about everyone bootlooping who has tried this, so far.
 
  • Like
Reactions: amynjimmy

Ravikirancg

Senior Member
May 3, 2012
778
1,112
0
Bangalore
You can not use BMM to flash this, even with the patch.

YOU MUST use either safestrap, which can boot kexec ROMS, but most likely this will barf since wang has CWM build into his roms with 2nd init, so....

You will HAVE to flash this with bootstrap and it will be your only ROM. I have read that others are having issues getting it to boot at all right now, so my guess is that this is still not ready for prime time yet, go check out the dev thread about the cm10.1 ROM, that hankbizzo5 posted, it talks about everyone bootlooping who has tried this, so far.
it should work just fine with bmm.. of course as long as kexec files are in the right place.. download is almost completed.. will check now..
And considering how things are going, looks like you will have to get back your ATRIX 2 now ;)..

EDIT: As expected, kexec files are in/system/bootmenu/2nd-boot. Moved to the right place and tried with bmm.. well, once the modules are loaded and kexec executed, bmm loses where the system files are.. but then again, whirleyes says 2nd boot is WIP.. so no option as of now.. I will try editing the ramdisk tomorrow.. hope things work.. now off to installing by bootstrap..

Sent from my MB865 using Tapatalk 2
 
Last edited:

jimbridgman

Senior Member
Dec 21, 2007
2,345
3,069
0
Dallas, TX
Sir, it should work just fine with bmm.. of course as long as kexec files are in the right place.. download is almost completed.. will check now..
And sir, considering how things are going, looks like you will have to get back your ATRIX 2 now ;)..

Sent from my MB865 using Tapatalk 2
Sorry, but this should NOT work with BMM.... BMM has its own way of handling the boot of the ROM. Wang has CWM built in with 2nd init, even using the patch with the 2nd init and kexec, this should NOT work. It is MUCH safer NOT to use BMM.

There are reasons BMM was made, and the way that CWM being embedded in the ROM with kexec, makes this much more complex, than just the standard boot with your stock kernel, no matter how kexec was implemented.

Yeah I really do not want my A2 back, sorry guys. The whole moto thing left a real bad taste in my mouth, besides working on Ubuntu phone is way more my style anyhow. I am only in here, since it looks like most have bailed. It looks like there are really only 2 devs still left, so I am kind of slowly stepping away. I am still doing some work on the back side, just do not want to do the day to day with it anymore.

Please, look into kexec and how BMM does that pass off, as well as the way that wang has it implemented into the ROM, and where he does the kernel switch off, all of those things matter. It specifically says on 591fan that bootstrap is the ONLY way to do this right now, there are several reasons behind this. BMM is mentioned but not recommended.
 
Last edited:
  • Like
Reactions: amynjimmy