Hi!
I've made the unofficial CWM recovery. It bases on recovery included in CM 12.1. Unfortunately, I can't compile kernel from source. So, I used a built kernel binary from original ROM ( Android 4.1.2). It doesn't boot. I reckon device tree is correct. The version of original kernel is 3.4. What shall I do?
Sorry for my bad english.
Related
Hi, I just want to ask: How to install/flash the kernel so that after flash new update of ROM this kernel will be still installed. Because when I install new update of ROM my old version of kernel is back.
ROM: TEMASEK's CM 10.2 V31
KERNEL: 010913-0811-cm10.2-i9300-linux3094-BOEFFLA
My kernel after flash new update is still: 3.0.6x
EDIT: Since all ROMs include a kernel, if you're using a custom Kernel then flash a ROM, you will need to reflash the kernel again.
I am sorry, I had to read that thread before posting this.
cumic said:
Hi, I just want to ask: How to install/flash the kernel so that after flash new update of ROM this kernel will be still installed. Because when I install new update of ROM my old version of kernel is back.
ROM: TEMASEK's CM 10.2 V31
KERNEL: 010913-0811-cm10.2-i9300-linux3094-BOEFFLA
My kernel after flash new update is still: 3.0.6x
Click to expand...
Click to collapse
All ROMs update the kernel because a ROM needs a kernel to function. If you want to use a custom kernel, you must flash it immediately after the ROM.
All basic information about root is available in general > sticky roll-up thread > Understanding the basics before rooting.
How to install TWRP recovery? I found this thread, but it for stock rom and stock kernel. But I want to install TWRP for CyanogenMod kernel. What should I do?
I am following this guide XDA university porting cwm to a new device and I just wonder if I need the same android version of sources as it is on the android phone.
I mean, the phone is running android 4.2 so it is neccecary to download cm 10.1 sources or can I build it using cm 11 sources?
tulen_kobi said:
I am following this guide XDA university porting cwm to a new device and I just wonder if I need the same android version of sources as it is on the android phone.
I mean, the phone is running android 4.2 so it is neccecary to download cm 10.1 sources or can I build it using cm 11 sources?
Click to expand...
Click to collapse
It is not necessary to have the same android source as your device's android version to make cwm. CWM is part of the kernel and not the android system. Your device's kernel will be extracted and the ramdisk will be replaced with cwm ramdisk and after that the kernel will be built with cwm ramdisk then you can use it as recovery.
If you want I can help you out with twrp recovery. I have done it for LG L65 and L70. If you want my help with twrp then please download omni rom sources (manifest: https://github.com/omnirom/android ) or just replace bootable/recovery folder with the omni's one in your cm source tree, get kernel source code for your device or have a boot.img, make sure your device has a recovery partition so recovery is not part of the kernel image as a secondary ramdisk like on samsung devices otherwise I could not help.
My phone is Samsung J1 (2016). There is no custom recovery for this model so far.
I never built Android or recovery from source, but I can compile kernel and repack ROM.
What should be modified to achieve pre-rooted ROM?
I have the kernel source for JellyBean 4.2.2 that boots cyanogenmod 10 and other jellybean ROMS. But when I use that kernel for Kitkat like Cyanogenmod 11 that doesn't work.
To make sure the problem is in the kernel I packed the cm11 boot.img with the jellybean kernel and it didn't boot.
So my question is what modifications does the source need for a newer android version ?
I posted it many times found no answer .