[HELP][s2vep] How to update kernel? - Samsung Galaxy S II Plus

I have kernel 3.0.101 and AOSP 6.0.1 ROM from GHsR in my GT-I9105P, TWRP 2.8.40 and locked bootloader. So, how I can unlock bootloader and flash custom kernel without data loss (factory reset)? I can without factory-reset flash custom kernel? What newest kernel flash? I new at that, so please put your tutorials step-by-step.

There aren't custom kernels on 6.0.x ROMs, it's so difficult making a good kernel and need a lot of time and knowledge for making one good. Then, if anyone would create a group that have some knowledge for editing the kernel then we can have custom kernels, otherwise, we must keep the stock with some things putted in it. The bootloader is everytime unlocked because you can go to the recovery everytime and you can do what the recovery can do...

matteo0026 said:
There aren't custom kernels on 6.0.x ROMs, it's so difficult making a good kernel and need a lot of time and knowledge for making one good. Then, if anyone would create a group that have some knowledge for editing the kernel then we can have custom kernels, otherwise, we must keep the stock with some things putted in it. The bootloader is everytime unlocked because you can go to the recovery everytime and you can do what the recovery can do...
Click to expand...
Click to collapse
OK, thanks. Theard end

Related

[Completed] How to install a custom kernel

Well im a newb how do i install a custom kernel without losing files cuz i wanna install a rom that was a cm 11 port
Hi,
You flash roms and kernels from a custom recovery, like twrp or CWM. Also, there's usually instructions for flashing in most rom and kernel threads.
I can't direct you anywhere without knowing your device make and model number.
Though I've answered your questions. ?
Good luck!

[Q] about kernels of moto g [CM12]

i am not overly familiar with many things regarding different kernels and how to work with them, so i was wishing a few questions that i had could be clarified by someone who knows:
1. when a kernel is flashed? i mean except for the times when we flash kernel.zips via recovery, is it flashed whenever we install a custom rom? or is it flashed with bootloaders when we flash firmware?
2. I am using CM12 official nightly and facing camera frizz issues. I came across a post in the official CM12 thread where they said flashing a modified kernel supposedly fixed this problem. Now my question is, after flashing a custom kernel, is there any way to go back to the stock one? by stock i mean either the one i was on right before flashing the custom kernel or stock moto g kernel provided by motorola?
that also begets the question, can kernels be backed up like roms using recovery?
gearguy365 said:
i am not overly familiar with many things regarding different kernels and how to work with them, so i was wishing a few questions that i had could be clarified by someone who knows:
1. when a kernel is flashed? i mean except for the times when we flash kernel.zips via recovery, is it flashed whenever we install a custom rom? or is it flashed with bootloaders when we flash firmware?
2. I am using CM12 official nightly and facing camera frizz issues. I came across a post in the official CM12 thread where they said flashing a modified kernel supposedly fixed this problem. Now my question is, after flashing a custom kernel, is there any way to go back to the stock one? by stock i mean either the one i was on right before flashing the custom kernel or stock moto g kernel provided by motorola?
that also begets the question, can kernels be backed up like roms using recovery?
Click to expand...
Click to collapse
1. The kernel is first flashed when you install a ROM. You are supposed to flash a custom kernel after flashing a ROM otherwise the rom zip will overwrite it. It doesn't matter if you install it in the recovery or the boot loader.
2. To go back to the stock kernel just take it from the zip of the ROM and flash in the bootloader
where can i find the kernel inside the rom zip?
and if i want the stock motorola kernel that comes with factory firmwares
how can i collect that?
A ROM.zip contains the system folder and a boot.img
The kernel is in the boot.img
So if u flash a different kernel and still facing problems then flash the ROM again.
mistercheese said:
A ROM.zip contains the system folder and a boot.img
The kernel is in the boot.img
So if u flash a different kernel and still facing problems then flash the ROM again.
Click to expand...
Click to collapse
flashing only the boot.img of a rom wont bring back the default kernel?
and is there any way to make a flashable zip of a kernel from that particualr boot.img?cause all the kernels i see (like donkey kang/customized cm12 kernel) there are all distributed in .zip format.....

Doubts regarding installing custom roms ?

i finally got my phone rooted and bootloader unlocked. Now i wanted to get started with installing custom roms.
Some questions i have are:
What kernel to use for roms like Glade 2.0 or any other android 5.0+ roms . why can i not use the stock kernel
Which is the fastest ,cleanest available rom for this device.
Is recovery already present in all kernels.
IMPORTANT:If i install an ota from sony after unlocking my phone's bootloader, will it brick my phone permanently..?
purudpd said:
i finally got my phone rooted and bootloader unlocked. Now i wanted to get started with installing custom roms.
Some questions i have are:
What kernel to use for roms like Glade 2.0 or any other android 5.0+ roms . why can i not use the stock kernel
Which is the fastest ,cleanest available rom for this device.
Is recovery already present in all kernels.
IMPORTANT:If i install an ota from sony after unlocking my phone's bootloader, will it brick my phone permanently..?
Click to expand...
Click to collapse
1. Stock kernel is for Jellybean 4.2. Therefore you cannot use it for 5.0.
The roms already have the kernels , you just need something to flash these roms. Go to the development section and download the one click recovery installer app. Use philz touch recovery from that.
2. All these roms have their own advantages and limitations. It would be better if you read the reviews/bug reports in their threads. You'll get a better idea.
3. If you're talking about the above roms, then yes. They already have recoveries.

Why is my custom kernel being lost after flashing a new rom?

Hi all. I'm a bit of a noob who just really started digging into custom roms and rooting this month. A friend helped me root Lollipop when I first got this phone and I've been putting off updating to marshmallow for 6 months, but learned how over the past weekend and I'm loving it! Small problem, though, and I don't know if it's even a real one, but here it is. After all is said and done flashing the XstreStoLite 3.3.1 rom and Aroma add on pack, everything works fine, but the arter97 kernel is no longer listed as the active kernel, even though in XstreStoLite's settings when presented with the overwrite kernel option I always selected No. Is there a reason this is happening? Can I just reflash the kernel now, and is it safe to do so without brick in the phone? Does this rom or any other necessary apps/root features require the custom kernel? Thanks! This was my process in getting my phone up and running:
Factory reset
Flash stock 6.0.1 with Odin
Flash arter97 recovery with Odin
Recovery mode to flash arter97 kernel and superSU
Flash XstreStoLite in recovery, factory reset
Flash aroma addon
Additional random question I had: at what point, if any, should I be flashing the custom bootloader and modem, and does a factory reset/cache wipe delete those or is it one and done? Thank you!
The bootloader and modem flashing is needed if you want to move from 5.x lollipop to 6.x marshmallow.
If you are allready on 6.x there is no need.
If you lost your custom kernel you can reflash it in twrp and after wipe cache/dalvik cache.
If you flash the corect version of kernel the is no problem of softbrick.
Flash a 6.x kernel on a 6.x rom

Samsung S4 SGH-I337 Safestrap not working rom

Hello everybody! I have a problem: I wanted to install custom ROM via Safestrap 3.71. I made all the wipe. But at the end of the installation, I get an error: set_metadata_recursive some changes failed. And so in each ROM. After that, ROM does not load: black screen after the logo Samung Custom. How to deal with this?
[R]ainbow[D]ash said:
Hello everybody! I have a problem: I wanted to install custom ROM via Safestrap 3.71. I made all the wipe. But at the end of the installation, I get an error: set_metadata_recursive some changes failed. And so in each ROM. After that, ROM does not load: black screen after the logo Samung Custom. How to deal with this?
Click to expand...
Click to collapse
Was it a true custom ROM? Or was it a modified stock ROM?
If it was a custom ROM such as Cyanogenmod or LineageOS, that's the problem.
Safestrap is intended to be used with modified stock ROMs that are based on stock kernel, not CM, AOSP or Lineage based ROMs.
Typically, Safestrap is used on devices with locked bootloader, these devices can't use CM, AOSP or Lineage based ROMs, these ROMs are built to be flashed via custom recovery such as TWRP.
If you have an unlocked bootloader and you want to use custom ROMs then you'll have to flash TWRP then use TWRP to flash the ROM.
If your device does not have an unlocked bootloader but you want to use Safestrap then you need to install TouchWiz(TW)/stock based ROMs.
There is a difference.
Also, when using Safestrap, you have to leave the stock rom in one slot and place the new ROM in a different slot. You can't overwrite the existing stock ROM with the new ROM, that causes issues and the device won't boot.
You will probably have to flash your stock firmware via Odin and start over with root and flashing.
I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
Droidriven said:
Was it a true custom ROM? Or was it a modified stock ROM?
If it was a custom ROM such as Cyanogenmod or LineageOS, that's the problem.
Safestrap is intended to be used with modified stock ROMs that are based on stock kernel, not CM, AOSP or Lineage based ROMs.
Typically, Safestrap is used on devices with locked bootloader, these devices can't use CM, AOSP or Lineage based ROMs, these ROMs are built to be flashed via custom recovery such as TWRP.
If you have an unlocked bootloader and you want to use custom ROMs then you'll have to flash TWRP then use TWRP to flash the ROM.
If your device does not have an unlocked bootloader but you want to use Safestrap then you need to install TouchWiz(TW)/stock based ROMs.
There is a difference.
Also, when using Safestrap, you have to leave the stock rom in one slot and place the new ROM in a different slot. You can't overwrite the existing stock ROM with the new ROM, that causes issues and the device won't boot.
You will probably have to flash your stock firmware via Odin and start over with root and flashing.
I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
Click to expand...
Click to collapse
I was flashing the modified ROM on the stock kernel. I put in the recovery on slot-rom1. I tried to flash: CarHD, KushanROM, GOLDENEYE and Omega. And still it does not work out
[R]ainbow[D]ash said:
I was flashing the modified ROM on the stock kernel. I put in the recovery on slot-rom1. I tried to flash: CarHD, KushanROM, GOLDENEYE and Omega. And still it does not work out
Click to expand...
Click to collapse
Do you still have your original stock ROM in one of the slots? Or did you overwrite it? If you overwrite it, you messed up. As stated earlier, you'll probably have to flash the original stock firmware via Odin.
I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
Droidriven said:
Do you still have your original stock ROM in one of the slots? Or did you overwrite it? If you overwrite it, you messed up. As stated earlier, you'll probably have to flash the original stock firmware via Odin.
I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
Click to expand...
Click to collapse
The stock slot remained intact. But if I take the kernel from OC3, then the device will also not boot up and the recovery will become non-working.
Send me the stock ROM for flashed the custom ROM through the Safestrap. And send me the version of the Safestrap for custom ROM
I understood what the problem is. I installed another ROM NB1 and it all worked for me.

Categories

Resources