Why is my custom kernel being lost after flashing a new rom? - Galaxy S6 Q&A, Help & Troubleshooting

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

Related

[Q] Custom ROMs won't boot

Hey guys, I've seen this issue before yet I've tried everything in a few threads now but have no idea what is happening,I have tried using search function yet no solution has fixed my problem.
Problem:
When installing custom ROMs the installation goes fine. I put the ROM on the sdcard, follow instructions for flashing e.g wipe data/cache etc and then flash GAPPS. However I get stuck on the boot logo of every ROM. I've tried both TWRP and CWM recoveries, both with no luck. Also tried not flashing GAPPS and just trying to flash the ROM to no avail.
Current state of phone:
The phone is currently running stock firmware via downloading factory image and flashing in boot-loader : stock boot, recovery, system image etc
The phone works fine when rooted on stock firmware. E.g no custom rom yet rooted.
Could really do with some help guys, any ideas?
muqy said:
Hey guys, I've seen this issue before yet I've tried everything in a few threads now but have no idea what is happening,I have tried using search function yet no solution has fixed my problem.
Problem:
When installing custom ROMs the installation goes fine. I put the ROM on the sdcard, follow instructions for flashing e.g wipe data/cache etc and then flash GAPPS. However I get stuck on the boot logo of every ROM. I've tried both TWRP and CWM recoveries, both with no luck. Also tried not flashing GAPPS and just trying to flash the ROM to no avail.
Current state of phone:
The phone is currently running stock firmware via downloading factory image and flashing in boot-loader : stock boot, recovery, system image etc
The phone works fine when rooted on stock firmware. E.g no custom rom yet rooted.
Could really do with some help guys, any ideas?
Click to expand...
Click to collapse
same problem simple solution another user informed me of.
simply donwgrade to 4.3 JB stock rom through fastboot. Then you are able to flash a custm rom from the 4.3 stock rom.
Its crazy i have to do this but it worked for me, now im running the xperience rom which is a rom based on 4.4.2 kk.
the 4.3 android stock firmwares are linked somewhere in the FAQ's as well as the guide to ffastboot lash it.
peace.
chairsz said:
same problem simple solution another user informed me of.
simply donwgrade to 4.3 JB stock rom through fastboot. Then you are able to flash a custm rom from the 4.3 stock rom.
Its crazy i have to do this but it worked for me, now im running the xperience rom which is a rom based on 4.4.2 kk.
the 4.3 android stock firmwares are linked somewhere in the FAQ's as well as the guide to ffastboot lash it.
peace.
Click to expand...
Click to collapse
Hey man, worked a charm thanks!
For users who may have the same problem:
After flashing 4.3 onto the device it did NOT boot.
- However I then went into the bootloader flashed custom recovery, I used cwm.
- Then I went into recovery, used adb to push the rom and gapps onto sdcard
- Full wipe and then installed rom. Then installed gapps
Working fine.
Cheers chairsz :good::good:

nandroids, firmware & multiROM - Reqst clarification please!

Multi part question here which, in my mind, are somewhat related.. I've read up on many posts but these questions I still am not totally clear on and would rather not risk bricking trying to experiment....
#1) When a nandroid is taken on a particular firmware (say 4.4.4) and then after upgrading firmware to a different firmware (say 5.0.2) and I encounter a problem where there is no OS left after wiping and failing to install a custom ROM (TWRP will report: no OS installed! are you sure you want to reboot?), can I flash restore the 4.4.4 nandroid and be ok or will I brick because of bootloader incompatibility [I come from motorola phones recently - this is my first HTC]?
#2) When adding additional ROMs to multiROM do the ROMs have to be of the same firmware version? Moreover, can multiROM have a sense ROM as it's primary ROM and a GPE ROM as a secondary ROM and vice versa?
( FYI - as of this posting I still have yet to successfully boot my secondary ROM using multiROM - I can successfully install mod'd TWRP, the manager, and the patched kernel but something is eluding me - anyone with a link to a very simplified and step by step procedure on installing mulitRoom would be appreciated. I thought I had enough understanding [of the procedures I could find anyways] but apparently not, as I obviously can not get secondary Rom to boot.) I'm able to add the ROM in TWRP but when I reboot, the ROM is not listed after pressing cancel and going to the multiROM boot screen, there is simply nothing there.
#3) Re: multirom - When I reboot into the mod'd TWRP recovery and flash gapps (or any zip file for that matter) how do I know which ROM the zip is being applied to (ie: primary or secondary)?
Feel free to answer as many or as few of the questions as I know it is a lot. Thanks in advance!
HTC one m8 verizon, rooted, s-off, BL unlocked,
Successfull flashes of Viper, Skydragon, FluentROM, Adrenaline2.4* (*current DD)
kerryh said:
Multi part question here which, in my mind, are somewhat related.. I've read up on many posts but these questions I still am not totally clear on and would rather not risk bricking trying to experiment....
#1) When a nandroid is taken on a particular firmware (say 4.4.4) and then after upgrading firmware to a different firmware (say 5.0.2) and I encounter a problem where there is no OS left after wiping and failing to install a custom ROM (TWRP will report: no OS installed! are you sure you want to reboot?), can I flash restore the 4.4.4 nandroid and be ok or will I brick because of bootloader incompatibility [I come from motorola phones recently - this is my first HTC]?
#2) When adding additional ROMs to multiROM do the ROMs have to be of the same firmware version? Moreover, can multiROM have a sense ROM as it's primary ROM and a GPE ROM as a secondary ROM and vice versa?
( FYI - as of this posting I still have yet to successfully boot my secondary ROM using multiROM - I can successfully install mod'd TWRP, the manager, and the patched kernel but something is eluding me - anyone with a link to a very simplified and step by step procedure on installing mulitRoom would be appreciated. I thought I had enough understanding [of the procedures I could find anyways] but apparently not, as I obviously can not get secondary Rom to boot.) I'm able to add the ROM in TWRP but when I reboot, the ROM is not listed after pressing cancel and going to the multiROM boot screen, there is simply nothing there.
#3) Re: multirom - When I reboot into the mod'd TWRP recovery and flash gapps (or any zip file for that matter) how do I know which ROM the zip is being applied to (ie: primary or secondary)?
Feel free to answer as many or as few of the questions as I know it is a lot. Thanks in advance!
HTC one m8 verizon, rooted, s-off, BL unlocked,
Successfull flashes of Viper, Skydragon, FluentROM, Adrenaline2.4* (*current DD)
Click to expand...
Click to collapse
You won't brick it.. softbrick/bootloop maybe.. but it's easy enough just to keep a copy of the different firmware zips to flash before restoring that version nandroid.
dottat said:
You won't brick it.. softbrick/bootloop maybe.. but it's easy enough just to keep a copy of the different firmware zips to flash before restoring that version nandroid.
Click to expand...
Click to collapse
Much oblige! I assume then what to do would be to NOT reboot to system but to BOOTLOADER and fastboot flash the zip? or would I flash the firmware from TWRP (I thought firmware had to be fastbootRUU flashed)?
thx again

Unable to install any custom rom on my SM-N915FY

Hi all,
I have an Galaxy Note Edge type SM-N915FY with custom rom installed: http://forum.xda-developers.com/note-edge/development/rom-micky387-rom-v1-0-t2998972
My phone is running on android 5.0.1 with kernel: 3.10.30-andrei-N915F-BOC6-v1.0
Baseband-version: N915FYXXU1BOB5
Yesterday I was trying to install the newer custom rom: http://forum.xda-developers.com/note-edge/development/rom-micky387lollifamous5-1-1v1-t3200849
To make sure this will work, I needed to flash the TWRP , after I tried to flashed this using Odin, the phone got in a Bootloop. So I flashed the older TWRP again and my phone is booting again.
So I tried to clear the cache, but then I get the error: Unable to mount \cache, I didn't know how to solve this so I reflashed the TWRP again through Odin, but still the same issue.
Do you guys know how I could install another custom rom? My phone is rooter, just to make sure.
Thanks in advance.
nobody?
notneeded said:
nobody?
Click to expand...
Click to collapse
To move on to newer custom ROMs (based on 5.1.1), you need to download and flash Stock 5.1.1, which you can download from here, then you can root it, to get the necessary files for doing so, check this thread out.
Credits for TWRP, new ROMs and the possibility of root on 5.1.1 go to micky387.
You Saved me. After I flashed the original android 5.1.1 I was able to flash TWRP and install custom rom.
Many thanks!

Updating firmware with rooted phone and custom kernel

I rooted my OnePlus when it first came out and had a custom kernel on it, and since then I haven't updated it. I want to update to CM13 but am not familiar with the process that needs to be done without losing any data or risk bricking my phone. I believe it has TWRP recovery and Franco kernel (I don't have the phone with me so can't verify).
Do I simply unlock the bootloader, backup data and then flash the new custom ROM? Would I be able to flash a custom ROM without losing root? I want to keep the root but go back to stock kernel.
Thanks
When you unlock your bootloader you'll lose all your data. However if your bootloader is already unlocked, proceed to flash this TWRP version (unofficial TWRP 2.8.6.0.6 by kumajaya): www.androidfilehost.com/?fid=23991606952609056
Other versions of TWRP have bugs not updating the firmware properly.
You'll lose your root but CM13 nightlies have their own root in the developer settings. Or you can flash SuperSU 2.67 on top after you flash the ROM if you prefer SuperSU.
Oh and make a TWRP nandroid backup first before you do anything. Backup the firmware partition too if it's not checked by default.

Is an up to date bootloader necessery and can it causes bug in CM?

Hi I am currently on the canadian note 4. I am having some difficulty with cyanogenmod 12.1 lately so I wanted to move to CMRemix for better stability. The Installation guide ask the bootloader and the modem to be updated, I am doing that by reverting to an up to date stock rom and then installing CMRemix (Odin did not want flash for some reason.)
What I understand from the bootloader is that it is like the BIOS on a PC. Can my not up to date bootloader be causing the bug on CM 12.1? I am having the bluetooth crash bug and an overall slow system. CM also does not seem to work to well with spotify.
I am not an expert but I have been running custom rom for 3 years on my note 4 and note 2.
Thanks
PhilRattlehead said:
Hi I am currently on the canadian note 4. I am having some difficulty with cyanogenmod 12.1 lately so I wanted to move to CMRemix for better stability. The Installation guide ask the bootloader and the modem to be updated, I am doing that by reverting to an up to date stock rom and then installing CMRemix (Odin did not want flash for some reason.)
What I understand from the bootloader is that it is like the BIOS on a PC. Can my not up to date bootloader be causing the bug on CM 12.1? I am having the bluetooth crash bug and an overall slow system. CM also does not seem to work to well with spotify.
I am not an expert but I have been running custom rom for 3 years on my note 4 and note 2.
Thanks
Click to expand...
Click to collapse
Odin didn't want to flash the stock ROM???
Flash a stock ROM with Odin. Then flash a custom recovery like TWRP. Then do an advanced wipe and wipe cache delvik, system, data. The bluetooth could be unstable on CM12. You can look for a stable ROM and flash that if you're looking for everything to work flawlessly
i7vSa7vi7y said:
Odin didn't want to flash the stock ROM???
Flash a stock ROM with Odin. Then flash a custom recovery like TWRP. Then do an advanced wipe and wipe cache delvik, system, data. The bluetooth could be unstable on CM12. You can look for a stable ROM and flash that if you're looking for everything to work flawlessly
Click to expand...
Click to collapse
I tried flashing the modem and bootloader, not the entire firmware. I ended up installing the stock firmware in the end. I am doing the updates now and will install CMRemix shortly after
I always go stock before I flash a new ROM. Best way unless directed otherwise

Categories

Resources