Is Kernel and recovery on the same partition? - OnePlus 6 Questions & Answers

I was just wondering because every time I flash a kernel I go through the process of flashing the stock kernel/boot image and every time I do that the stock recovery pops up again. Is it because the stock recovery is on the stock boot image? After flashing it I need to go through the process of flashing TWRP and the TWRP installer to get it back.
Sent from my ONEPLUS A6003 using Tapatalk

tdamocles said:
I was just wondering because every time I flash a kernel I go through the process of flashing the stock kernel/boot image and every time I do that the stock recovery pops up again. Is it because the stock recovery is on the stock boot image? After flashing it I need to go through the process of flashing TWRP and the TWRP installer to get it back.
Sent from my ONEPLUS A6003 using Tapatalk
Click to expand...
Click to collapse
Yes!

Related

[Q] Can I re-root without losing all my data?

My nexus was bootloader unlocked and rooted while on 4.4.2.
I OTA updated to 4.4.3 and lost my root.
Is there a way to re-root the phone without losing all my data or having to wipe?
Thanks in advance for the info.
Yes, flash a custom recovery or just boot into it and flash the supersu.zip.
vin4yak said:
Yes, flash a custom recovery or just boot into it and flash the supersu.zip.
Click to expand...
Click to collapse
Unless you flash Philz recovery where you can just root from within the recovery menu
rootSU said:
Unless you flash Philz recovery where you can just root from within the recovery menu
Click to expand...
Click to collapse
Yeah Philz for life! lol.
Well it seems like for some reason it reverted back to stock android recovery.
Could I still flash a custom recovery and go from there?
bloodletting284 said:
Well it seems like for some reason it reverted back to stock android recovery.
Could I still flash a custom recovery and go from there?
Click to expand...
Click to collapse
The reason is the OTA contained a recovery. You have to flash a recovery as already mentioned earlier in the thread
Sent from my Nexus 5 using Tapatalk

Boot recovery.img from phone

Is it possible to boot a recovery image from the phone without flashing? If not is it ok to reflash backups of stock recovery? Tnx
and313 said:
Is it possible to boot a recovery image from the phone without flashing? If not is it ok to reflash backups of stock recovery? Tnx
Click to expand...
Click to collapse
It is possible via android sdk. You can use command: fastboot boot twrp.img
where twrp.img is the name of the recovery that you downloaded and not twrp.img
Alexandar92zr said:
It is possible via android sdk. You can use command: fastboot boot twrp.img
where twrp.img is the name of the recovery that you downloaded and not twrp.img
Click to expand...
Click to collapse
Yes i know but i would like to do it from the phone... There are tons of flash recovery apps but no boot recovery apps
ROM manager used to do it years ago until people got into trouble with it and it was removed.
If you intend on flashing things AMD backing up, flash a recovery. If you're not willing to flash a recovery, don't modify your phone
Sent from my Nexus 5 using Tapatalk
and313 said:
Yes i know but i would like to do it from the phone... There are tons of flash recovery apps but no boot recovery apps
Click to expand...
Click to collapse
Try flashify
AndreIrawan97 said:
Try flashify
Click to expand...
Click to collapse
That flashes recovery. Clue is in the name.
Sent from my Nexus 5 using Tapatalk
rootSU said:
ROM manager used to do it years ago until people got into trouble with it and it was removed.
If you intend on flashing things AMD backing up, flash a recovery. If you're not willing to flash a recovery, don't modify your phone
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
The problem with flashing is that you loose the ota update ability. That's why i would like to keep the stock recovery and just boot into cwm when i need it... But i guess i can restore the stock recovery via flashify before the ota is being installed so thats a solution... I just dont like flashing this stuff via apps
and313 said:
The problem with flashing is that you loose the ota update ability. That's why i would like to keep the stock recovery and just boot into cwm when i need it... But i guess i can restore the stock recovery via flashify before the ota is being installed so thats a solution... I just dont like flashing this stuff via apps
Click to expand...
Click to collapse
1) you do not lose OTA update ability with custom recovery. Read "OTA help-desk" available via my signature
2] what's the big deal about OTA? Its the worst way of updating available to everyone. Why bother? If you rely on OTA, remain unrooted, unmodified. Rooting is not for you.
Sent from my Nexus 5 using Tapatalk
Ugh lol OK, so worried about the ota? No worries, flash whatever recovery you want twrp,cwm,philz whatever floats your boat. Then when your ota comes out use Rashr to reflash stock recovery so you can update(you have to be on stock obviously).
I've done this numerous times, works every time.
Sent from my Nexus 5 using XDA Free mobile app
todorcim said:
Ugh lol OK, so worried about the ota? No worries, flash whatever recovery you want twrp,cwm,philz whatever floats your boat. Then when your ota comes out use Rashr to reflash stock recovery so you can update(you have to be on stock obviously).
I've done this numerous times, works every time.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
One of the problems with OTA is the slow delivery and partial nature.
If I wasn't rooted, i'd always update using factory images. But since I am, the best way is for flash a pre-rooted stock ROM via recovery. They're usually available within an hour of the factory image becoming available
Sent from my Nexus 5 using Tapatalk
rootSU said:
One of the problems with OTA is the slow delivery and partial nature.
If I wasn't rooted, i'd always update using factory images. But since I am, the best way is for flash a pre-rooted stock ROM via recovery. They're usually available within an hour of the factory image becoming available
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Agreed 100%, I normally stay rooted,this most recent preview though I'm staying stock. After running L for the last couple months its hard to go back to KitKat(I've tried several times). I have no intention of flashing another rom atm, I'll worry about root after the 3rd.
As for buddy worrying about the ota, really you have two choices.
#1 root and flash a recovery then wait for someone to post a root stock ROM
#2 wait for the ota
The only real benefit I see in waiting for the ota is you will probably get to keep all your apps on your phone. Me personally? I'd just fastboot the preview and wait till the 3rd.
Materialized From The DarkSide

Wont boot to recovery after downgrading recovery

I downgraded TWRP to an older version and now it wont boot to twrp. If i flash the latest version it boots. I want to do this because i have read that it iwll fix my rotation issue on cm12.1
Anyone know whats up and why it wont boot to recovery now?
theellucidone said:
I downgraded TWRP to an older version and now it wont boot to twrp. If i flash the latest version it boots. I want to do this because i have read that it iwll fix my rotation issue on cm12.1
Anyone know whats up and why it wont boot to recovery now?
Click to expand...
Click to collapse
I suggest you to first flash CMOS12.1 recovery.img and then flash the desired version of TWRP
Mr hOaX said:
I suggest you to first flash CMOS12.1 recovery.img and then flash the desired version of TWRP
Click to expand...
Click to collapse
I've done the same thing. It flashed the stock recovery cos12.1 and still won't flash a downgraded twrp recovery. Do I need to flash cos11 recovery?(when I got the phone I just installed twrp and flashed rom)
903tex said:
I've done the same thing. It flashed the stock recovery cos12.1 and still won't flash a downgraded twrp recovery. Do I need to flash cos11 recovery?(when I got the phone I just installed twrp and flashed rom)
Click to expand...
Click to collapse
Go flash philz recovery.. Worked for me.
Sent from my A0001 using Tapatalk
Still don't work guess I'm stuck on 2.8.7.0 til a fix comes up or a new update
903tex said:
Still don't work guess I'm stuck on 2.8.7.0 til a fix comes up or a new update
Click to expand...
Click to collapse
Are you flashing via bootloader? Or are you flashing it in twrp?
Download philz
Plug phone into computer
Boot to bootloader
Flash recovery
Reboot phone
Boot to recovery
Should be on philz now
Sent from my A0001 using Tapatalk
Flashing via fastboot and Phone just reboots back to home screen

Rooting M with chainfires kernel?? Recovery not available??

Does anyone else find that rebooting to recovery using twrp doesn't happen? I've tried re flashing recovery with fastboot and even selecting in bootloader boot to recovery after and still just boots into android.. Any ideas? Is it chainfires boot.img causing the problem?
Sent from my Nexus 5 using Tapatalk
Try unplugging phone from power source then attempt to enter TWRP.
I have done. I've just downloaded selinux changer app. Set permissive and then re flashed twrp again and now I can access it.
Sent from my Nexus 5 using Tapatalk
Would u mine to share the link to the selinux changer app please
I'm now using stephanmmc's kernel instead
Link for app is here tho - https://app.box.com/s/8y9a305l7mrl7wk2mqpyk02pa0bwt1qs
Sent from my Nexus 5 using Tapatalk
Ben36 said:
I'm now using stephanmmc's kernel instead
Link for app is here tho - https://app.box.com/s/8y9a305l7mrl7wk2mqpyk02pa0bwt1qs
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
How you install custom kernel without TWRP?
My device is stock and i want to install elementalx + supersu to root. But i need TWRP first.
Fastboot the img file of twrp then boot into recovery from the bootloader
Sent from my Nexus 5 using Tapatalk
Got the same problem - I flash the TWRP image with fastboot successfully but when I try to enter recovery, it either reboots or shows me the stock recovery. I'm on stog Android 6, trying to flash a different rom and kernel...
we are on the same boat @granets . when i boot to custom recovery it just boots directly to homescreen.
Have you tried the other kernel i linked above?
Sent from my Xperia z5 by Tapatalk
cheeze.keyk said:
we are on the same boat @granets . when i boot to custom recovery it just boots directly to homescreen.
Click to expand...
Click to collapse
Left the boat earlier by downloading TWRP again (for a third time!!!) and it worked fine. Guess when downloading from their site, there is a high percent chance you will get a corrupted file. So far around 50% of all images I download don't work, and every time the problem is different. Maybe try that
granets said:
Left the boat earlier by downloading TWRP again (for a third time!!!) and it worked fine. Guess when downloading from their site, there is a high percent chance you will get a corrupted file. So far around 50% of all images I download don't work, and every time the problem is different. Maybe try that
Click to expand...
Click to collapse
good to know that! what i did is i used Wug's tool and booted the phone to twrp and then i locate the permanent twrp flashable zip on the "Ready to Flash" folder and "Root files" and then boom! got a working TWRP now :good:

J700F Brick Help Please

Hello there. I ran the device 1 week ago and custom rom and root I threw. There is no trouble here. But when I installed the boot logo that I built yesterday, the device did not open again. There's nothing like a logo. It does not open in recovery mode. I can only go dowload fashion. I tried stock ROM throwing, although the phone did not open again. What can I do?
https://forum.xda-developers.com/galaxy-j7/how-to/tutorial-guide-how-to-change-t3459129
I have installed this subject.
There may be an error using Google translation.
Did your custom Rom have its boot logo? If yes, reflash your custom Rom (no wipe).
Otherwise flash back to stock with Odin.
Sent from my SM-J700F using Tapatalk
dodo2244 said:
Did your custom Rom have its boot logo? If yes, reflash your custom Rom (no wipe).
Otherwise flash back to stock with Odin.
Sent from my SM-J700F using Tapatalk
Click to expand...
Click to collapse
No rom had its boot logo. I had a stock rom with Odin, but the phone did not open yet.
Try SmartSwitch. You'll need a good internet connection.
Sent from my SM-J700F using Tapatalk
I solved the problem. I found 4 files stock rom and flash to device.

Categories

Resources