[Q] TWRP on CM12 - Xperia Z3 Q&A, Help & Troubleshooting

Hi. I'm on CM12 now. And it has Cm recovery. Cm recovery is a crap so i wanna running twrp on this. How can i find a twrp?
Edit:I learned a lot of things since than i have posted this.

Hey, just flash fotakernel for z3, you can find it on androplus kernel thread

Correct me if i am wrong. But doesnt he need to flash the kernel again every Nightly? And does a kernel from another developer make sense in a Nightly Test for CM12?
Does anyone know a really Solution or this without a third party kernel?

TWRP FOTAkernel has nothing to do with the kernel itself. The FOTAkernel partition is solely for recovery (at least the way its used by us). The kernel by CM won't get overwritten when flashing this, plus the FOTAkernel recovery will survive flashing CM nightlys (or any other ROM) as far as I know.

Can somebody confirm it is working with CM12 and Z3? In the Description there is a warning to install it on custom ROMs.

http://forum.xda-developers.com/showthread.php?t=3028846
If you're talking about this one, then you misread it. It's for custom ROMs only. Don't confuse it with AndroPlus kernel. Just flash the one I linked with the terminal way described in the thread. I can confirm it working on CM12.
EDIT: This thread has a good description of FOTAkernel as well, so read it if you want to know more about it

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.....

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

flashing stock rom for blissmallow?

i'm pretty new to flashing roms so sorry if this is a stupid question but i couldn't find the answers somewhere else
I'm trying to install blissmallow (unless someone sais another would be better, i don't know much about 3/4 different roms i found for it) on my P5110 tablet, it worked but i had no sound. In that thread i found that you need to first have the stock rom flashed on it and tehn blissmallow for it to work.
I found this thread (https://forum.xda-developers.com/showthread.php?t=1704668) with stock roms but there are alot of listings and versions for the P5110, is there a specific one i need or can i use any version for this to work? Some also have a kernel download link, what is that for? does that also need flashing (and if so before/after)?
When flashing with stock can i flash this from TWRP one after the other (stock rom, blissmallow and gapps in one go)?
any help would be much apreceated
Why flash outdated roms when you can find newer roms in he unified section? You can find LOS 13, Slim 6, Resurrection Remix, and more roms which have updated security patches. Roms in the unified section are both compatible with the 7 inch and 10 inch models
To flash stock, you need odin, and your rom. Youcan find them on updato or sammobile. Select your region and flash that to your tab
P.S. most roms dont need you to flash stock first. You just need to wipe system, data, cache, and dalvik then flash the zip along wih your gapps.
thanks for the info, i tried blissrom because it seemed good, i'm pretty new to it and didn't realize it is outdated. Thanks for pointing that out, i'll take a look at the others you mentioned
AEnterprise said:
i'm pretty new to flashing roms so sorry if this is a stupid question but i couldn't find the answers somewhere else
I'm trying to install blissmallow (unless someone sais another would be better, i don't know much about 3/4 different roms i found for it) on my P5110 tablet, it worked but i had no sound. In that thread i found that you need to first have the stock rom flashed on it and tehn blissmallow for it to work.
I found this thread (https://forum.xda-developers.com/showthread.php?t=1704668) with stock roms but there are alot of listings and versions for the P5110, is there a specific one i need or can i use any version for this to work? Some also have a kernel download link, what is that for? does that also need flashing (and if so before/after)?
When flashing with stock can i flash this from TWRP one after the other (stock rom, blissmallow and gapps in one go)?
any help would be much apreceated
Click to expand...
Click to collapse
no need to flash a stock rom, because you are on stock. stock rom means the original samsung firmware.

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