Help| Get to stock Kernel and unroot - OnePlus 3T Questions & Answers

Hi, I have a OP3t running OOS4.1.1 with ElementalX Kernel.
I would like to go back to stock settings. Stock Kernel, Recovery, unroot, and maybe lock bootloader.
I've seen a lot of videos showing how to get back to stock but they showed it with the stock Kernel.
I am a little bit scared to follow their instructions since I have a different Kernel.

HeroPlane said:
Hi, I have a OP3t running OOS4.1.1 with ElementalX Kernel.
I would like to go back to stock settings. Stock Kernel, Recovery, unroot, and maybe lock bootloader.
I've seen a lot of videos showing how to get back to stock but they showed it with the stock Kernel.
I am a little bit scared to follow their instructions since I have a different Kernel.
Click to expand...
Click to collapse
Dirty flash the stock ROM and you're done
Download stock recovery and flash with twrp

dipeshdidwani said:
Dirty flash the stock ROM and you're done
Download stock recovery and flash with twrp
Click to expand...
Click to collapse
Oh wow so I don't even need to erase my personal data.
Just flash the OOS Zip with TWRP and then flash the stock recovery from fastboot, or it must be from TWRP?

HeroPlane said:
Oh wow so I don't even need to erase my personal data.
Just flash the OOS Zip with TWRP and then flash the stock recovery from fastboot, or it must be from TWRP?
Click to expand...
Click to collapse
You can do it both ways

Related

return from TWRP to CWM

currently stuck on AllianceROM, with TWRP installed flashed the fonts mod and stuck on N7000 logo, tried to install zip, but twrp being just totally useless and unable to let me scroll down the menu properly just swipe down and down and automatically selected a fold. and I'm totally done with this rom and twrp find my way out... do i just flash http://forum.xda-developers.com/showthread.php?t=1901191 from there? and reboot into recovery and flash the rom i want?
Flash a stock GB ROM via PC Odin and root & install CWM on it.(See Dr.Ketan's thread for details).
Then do whatever you want.
Alliance is using safe kernel. Just follow the flash instructions of the new rom OP. That would be, I guess: Do all wipes -> flash rom -> enjoy.
Abagnale said:
Alliance is using safe kernel. Just follow the flash instructions of the new rom OP. That would be, I guess: Do all wipes -> flash rom -> enjoy.
Click to expand...
Click to collapse
Yeah, but it'll be better if he gets rid of TWRP first lest he do something wrong....
whitepandaaa said:
currently stuck on AllianceROM, with TWRP installed flashed the fonts mod and stuck on N7000 logo, tried to install zip, but twrp being just totally useless and unable to let me scroll down the menu properly just swipe down and down and automatically selected a fold. and I'm totally done with this rom and twrp find my way out... do i just flash http://forum.xda-developers.com/showthread.php?t=1901191 from there? and reboot into recovery and flash the rom i want?
Click to expand...
Click to collapse
as far as i know CWM zip is not flashable in TWRP, and it is a pain to use, so only way to flash via odin back to stock? i remember it used to be able to flash CWM on its OTA but its no longer available

Trying to install 4.4 Rom, falling at every hurdle.

Hi There,
Just wondering if anyone had any ideas why my phone refuses to co-operate!
Basically, after getting bored of the stock rom when I first got my phone, I somehow managed to install a CM based rom. That worked, but I got bored of the fact that the camera never seemed to work right, and some apps didn't work/ were graphically buggy. Assuming it was just a badly ported graphics driver or whatever, I found a way, using FlashTool, to revert to the stock rom (C6603_10.3.1.A.0.244_Generic UK to be precise). I wasn't sure exactly what it did, but it was back how it used to be. sorted.
So, since kitkat made it's way to the XZ, I thought I'd try one of those roms, being the curious bugger that I am. The process I ended up going with eventually was:
>Downgrading Kernel to a lower version because the root explot wouldn't work on 10.3.1.A.0.244
>Rooting using "DooMLoRD_Easy-Rooting-Toolkit_v18"
>Upgrading kernel to one that would accept a recovery
>Installing TWRP
>Booting into recovery, CWM appeared instead. Strange, I thought. Oddly, mount USB wouldn't work at all, so I had to boot the phone back up to transfer the kitkat rom over
>Trying to flash the rom gave me an error number 7
>Boot Loop, at which point I just flashed 10.3.1.A.0.244 again.
I've tried this twice now, first with DooM Kernel, and then once with a different one. Neither CWM or TWRP have worked properly. Any help? Or am I just cursed?
Cheers
Tried this again, did literally everything I could think of and still no dice. Help? Have I somehow forced my phone to be on stock software forever?
If you dont unlock your bootloader, you can not use any kind of custom kernel.
That means aosp or aokp based firmwares can not run over locked bootloader.
Locked bootloader checks sign of kernel, if not certificated you will stuck on bootloop.
If you want to use any kind of custom rom... basicly.
1. Backup ta partition. " so you can revert any time you want."
2. Copy firmware zip file tou your internal or external sdcard.
3. Flash custom kernel. "Most of kernel have recovery option build in".
4. Boot in recovery mod. "Mostly press volume down while booting"
5. Insall custom rom.
6.a wipe dalvik-cache
6.b factory reset
Old setting might work or not with new rom. So first try to wipe dalvik- cache. If you stuck on boot loop or any kind of problem, just boot in recovery again and run factory reset.
Sent from my C6603 using Tapatalk
eryen said:
If you dont unlock your bootloader, you can not use any kind of custom kernel.
That means aosp or aokp based firmwares can not run over locked bootloader.
Locked bootloader checks sign of kernel, if not certificated you will stuck on bootloop.
If you want to use any kind of custom rom... basicly.
1. Backup ta partition. " so you can revert any time you want."
2. Copy firmware zip file tou your internal or external sdcard.
3. Flash custom kernel. "Most of kernel have recovery option build in".
4. Boot in recovery mod. "Mostly press volume down while booting"
5. Insall custom rom.
6.a wipe dalvik-cache
6.b factory reset
Old setting might work or not with new rom. So first try to wipe dalvik- cache. If you stuck on boot loop or any kind of problem, just boot in recovery again and run factory reset.
Sent from my C6603 using Tapatalk
Click to expand...
Click to collapse
Hey, thanks for your reply!
I had unlocked the bootloader when I first got the phone and just assumed it would be permanent. Would flashing it back to stock firmware re-lock the bootloader?
But yes, assuming my boot loader is still unlocked ( I have tried to check and it doesn't seem to be locked) I have been through those steps basically. I am fine to flash a kernel with a recovery but the recovery never works properly/ at all. I can root the phone no problem though.
Best to extract the boot.img from the zip file of the ROM you want to flash, and flash that first. Then flash the ROM from its recovery.
Sent from my C6603 using xda app-developers app
shoey63 said:
Best to extract the boot.img from the zip file of the ROM you want to flash, and flash that first. Then flash the ROM from its recovery.
Sent from my C6603 using xda app-developers app
Click to expand...
Click to collapse
Cheers, I'll give that a go - I was under the impression that you weren't supposed to flash kernels that weren't designed for the currently installed ROM though? It just seems that any kernel I flash isn't working properly so I didn't think doing that would play any nicer with the phone
SuburbanKnight said:
Cheers, I'll give that a go - I was under the impression that you weren't supposed to flash kernels that weren't designed for the currently installed ROM though? It just seems that any kernel I flash isn't working properly so I didn't think doing that would play any nicer with the phone
Click to expand...
Click to collapse
You're not actually going to boot into your current rom after flashing the kernel.
Flash the kernel via fastboot, then boot into recovery and flash the rom.
All this should be covered in the installation instructions of whatever rom you're trying to flash in any case....
Sent from my C6603 using Tapatalk
Well, that seems to have done it! Thanks very much for your help.
So, I guess the moral here is that if you're on stock and need a recovery to flash a new ROM, always use the boot.img from the ROM you'll be using.
Thanks again - I'd never seen that said before but quite possibly I wasn't paying attention!

Stock on Google Unlock screen after flashing recovery? How long? Details below

1.) I decided to install Franco Kernel to see what positive effects if any it had on Light Flow.
2.) Before hand I did a full Backup in TWRP checked everything Boot, Recovery, System, System Image, Data, and Cache.
3.) I installed Franco Kernel No problem, but didn't see any advantages so I Decided to revert back
4.) I ran a TWRP Restore with all the same Items Checked, it finished and Now I stand on the Google screen with the unlocked bootloader Icon and nothing else happening.
I cant even figure out how to connect it to ADB or Wug's Nexus Root Toolkit since it won't show on USB...How do I reboot into a safe mode, nothing seems to work.
Follow UP...
I managed to boot into TWRP recovery again...and it said no OS installed...So I decided perhaps I had checked too many and just re-ran System Image only. It now boots but I still have Franco Kernel..I don't mind it but would rather go stock.
I thought System Image included the Kernel.. Is there an easy way to go back to the original kernel?
flipper44 said:
I managed to boot into TWRP recovery again...and it said no OS installed...So I decided perhaps I had checked too many and just re-ran System Image only. It now boots but I still have Franco Kernel..I don't mind it but would rather go stock.
I thought System Image included the Kernel.. Is there an easy way to go back to the original kernel?
Click to expand...
Click to collapse
Go back to TWRP Restore and check the box for boot only. If you backed up boot it should flash the stock kernel.
flipper44 said:
I managed to boot into TWRP recovery again...and it said no OS installed...So I decided perhaps I had checked too many and just re-ran System Image only. It now boots but I still have Franco Kernel..I don't mind it but would rather go stock.
I thought System Image included the Kernel.. Is there an easy way to go back to the original kernel?
Click to expand...
Click to collapse
There is a thread called:
'How to flash a new boot.img via Fastboot'
But... Franco's kernel is better for your battery.
NLBeev said:
There is a thread called:
'How to flash a new boot.img via Fastboot'
But... Franco's kernel is better for your battery.
Click to expand...
Click to collapse
Probably will Go back to Franco, But since I just got this I should probably monitor what I do and don't like over the weekend before choosing my daily Driver Kernel and Rom. Thanks to you both.
prdog1 said:
Go back to TWRP Restore and check the box for boot only. If you backed up boot it should flash the stock kernel.
Click to expand...
Click to collapse
That was Brain Freeze, and minor panic LOL...for some reason I wasn't processing Boot = Kernel..Thanks to both people who answered.

Recovery

EDIT: SOLVED!!!
Hi guys! I have a question. I have twrp that I installed with the help of advanced stock kernel. But it doesn't look like a permanent recovery. If I install a custom ROM without a recovery, I will lose my recovery. Can you help me install a permanent recovery on my phone. ?
I have tried flashing using flashtool and it only boots into twrp and not android.....
Thanks !
panzerox123 said:
Hi guys! I have a question. I have twrp that I installed with the help of advanced stock kernel. But it doesn't look like a permanent recovery. If I install a custom ROM without a recovery, I will lose my recovery. Can you help me install a permanent recovery on my phone. ?
I have tried flashing using flashtool and it only boots into twrp and not android.....
Thanks !
Click to expand...
Click to collapse
The reason you lose recovery when installing a new ROM is because TWRP is built in Advanced Stock Kernel,and when you flash for example SLiMM ROM it reflashes its kernel.
That means that every time you install a new ROM you will need to reflash the kernel.
Dinkec27 said:
The reason you lose recovery when installing a new ROM is because TWRP is built in Advanced Stock Kernel,and when you flash for example SLiMM ROM it reflashes its kernel.
That means that every time you install a new ROM you will need to reflash the kernel.
Click to expand...
Click to collapse
Don't worry, Im going to close the thread now . The problem was that i cannot flash the kernel on roms like PA or CM without getting a bootloop, but i managed to find out how to flash a recovery to the recovery partition and then enter it using a key combo, and it works quite well, perfect for my needs!
Thanks anyway!:good:

Removing TWRP and reseting T510 back to stock.

I have Samsung Galaxy Tab A T510. I have installed TWPR 3.3.1-6 and also rooted it with Magisk. I would like to remove everything and return it back to stock. By stock I mean Stock Recovery and full reset of the device. Also to lock back boot loader(to remove Knox screen at start-up).
1Igrach said:
I have Samsung Galaxy Tab A T510. I have installed TWPR 3.3.1-6 and also rooted it with Magisk. I would like to remove everything and return it back to stock. By stock I mean Stock Recovery and full reset of the device. Also to lock back boot loader(to remove Knox screen at start-up).
Click to expand...
Click to collapse
Flashing a stock ROM with Odin will remove both TWRP and Magisk. There are instuctions already for relocking the bootloader and doing that will inclucde a "factory reset".
lewmur said:
Flashing a stock ROM with Odin will remove both TWRP and Magisk. There are instuctions already for relocking the bootloader and doing that will inclucde a "factory reset".
Click to expand...
Click to collapse
Can you link to this? I can't find it anywhere, and I want to do the same thing.
FrancesFarmer said:
Can you link to this? I can't find it anywhere, and I want to do the same thing.
Click to expand...
Click to collapse
I have no idea by you mean "link to it". If you use Odin to flash a stock ROM, that ROM includes a recovery partition that overwrites TWRP and the stock kernel overwrites the custom kernel that was patched with Magisk. There is no need to do anything else to remove them.
lewmur said:
I have no idea by you mean "link to it". If you use Odin to flash a stock ROM, that ROM includes a recovery partition that overwrites TWRP and the stock kernel overwrites the custom kernel that was patched with Magisk. There is no need to do anything else to remove them.
Click to expand...
Click to collapse
Thanks for the replay.
Where can I find stock ROM for T510 with instructions how to flash it correctly?

Categories

Resources