How do you install TWRP forever even after flashing OTA and magiks? On Andorid 10? - Google Pixel 4a Questions & Answers

I already know how to install the unofficail TWRP firmware for my Pixel 4a but it goes back to the custom roms recovery or stock recovery almost every time even after installing ramdisk. What's going on?

Since you are on Android 10, I don't think there will be anymore OTA updates because I think they are only for android 11 at the moment.
To get TWRP to "stick", you probably need to install a custom kernel that has ramdisk built into it as shown in this guide:
[GUIDE] UNLOCKING, DOWNGRADING TO A10, TWRP, ROOT
Hello, I'm posting this guide for those (like me) who can't do without TWRP on their device. I'm providing only a step-by-step explanation. Credits to @nikamura for his kernel and TWRP...
forum.xda-developers.com

Related

Need Rooted Rom

Hello guys im looking for a rooted rom my build is MHA-L29C567B190 my bootloader already unlocked and also flashed twrp or can you please help me root my stock rom thanks for your help
grodri19721 said:
Hello guys im looking for a rooted rom my build is MHA-L29C567B190 my bootloader already unlocked and also flashed twrp or can you please help me root my stock rom thanks for your help
Click to expand...
Click to collapse
Download and flash: https://forum.xda-developers.com/attachment.php?attachmentid=4302781&d=1508010356
You should now be rooted with Magisk.
Make sure you have TWRP 3.1.x from the twrp thread
ante0 said:
Download and flash: https://forum.xda-developers.com/attachment.php?attachmentid=4302781&d=1508010356
You should now be rooted with Magisk.
Make sure you have TWRP 3.1.x from the twrp thread
Click to expand...
Click to collapse
Is it really that easy? i have mine rooted with TWRP 3.1, i can flash that file and I'll have magisk? I'm on the same HW/SW version as the OP.
since the Oreo is coming out, will I need to flash stock to get the Stock Oreo update when its released? I assume so. I am new to the Mates and they seem to have a much different flash method/path than the Nexus 6p and HTC devices i have done in the past. I'm kind of leery to pursue Installing ROM's and Magisk (never used it yet) but would like to. Any tips or links to detailed instructions for the Mate flashing? I cant find, what I feel, to be detailed instructions on XDA.
thanks
sgtduckyboy said:
Is it really that easy? i have mine rooted with TWRP 3.1, i can flash that file and I'll have magisk? I'm on the same HW/SW version as the OP.
since the Oreo is coming out, will I need to flash stock to get the Stock Oreo update when its released? I assume so. I am new to the Mates and they seem to have a much different flash method/path than the Nexus 6p and HTC devices i have done in the past. I'm kind of leery to pursue Installing ROM's and Magisk (never used it yet) but would like to. Any tips or links to detailed instructions for the Mate flashing? I cant find, what I feel, to be detailed instructions on XDA.
thanks
Click to expand...
Click to collapse
If you're rooted with SuperSU or Phh you will need to restore your stock boot image before flashing Magisk,
this can be done by downloading your firmware from http://pro-teammt.ru/firmware-database/ then extacting update.app and opening it in Huawei Update Extractor where you extract BOOT.IMG.
Flash it using fastboot flash boot boot.img.
As long as you're using firmware B182+ (Loop device support) and TWRP 3.1.x you can install official Magisk/SuperSU.
Oreo will be a full firmware so it shouldn't need to verify any partition, meaning you will only need to restore stock recovery.

Is there an already rooted oreo rom I can flash onto my rooted mate 9?

I have a rooted phone with a rom that isn't being supported anymore but it actually works great. I just want to update to oreo so is there a rom I can flash from twrp that is already rooted and ready to go? I saw a video of a how to install oreo 8.1 but it's just music playing with someone showing the menu option and no installation instructions.
The OpenKirin ROMs don't work with TWRP. Moreover, TWRP is risky -- it is much easier to recover a phone using the stock EMUI recovery than with TWRP. It is probably better to eliminate TWRP (which will not eliminate your rooting) by flashing the stock ramdisk), then use Magisk if you want to take advantage of root for installation of unapproved apps. I'm not an expert -- this is what I get from reading threads. Now that I'm running OpenKirin (Carbon), I haven't bothered to install Magisk again as I don't need it, but I appreciate that there are things you can do with it.
prestonmcafee said:
The OpenKirin ROMs don't work with TWRP. Moreover, TWRP is risky -- it is much easier to recover a phone using the stock EMUI recovery than with TWRP. It is probably better to eliminate TWRP (which will not eliminate your rooting) by flashing the stock ramdisk), then use Magisk if you want to take advantage of root for installation of unapproved apps. I'm not an expert -- this is what I get from reading threads. Now that I'm running OpenKirin (Carbon), I haven't bothered to install Magisk again as I don't need it, but I appreciate that there are things you can do with it.
Click to expand...
Click to collapse
Last night I installed Oreo from a custom nougat rom. My wifi tether was working before now it isn't so I'll have to figure that out and maybe re root etc.. Is OpenKirin Oreo?
Yes, OpenKirin is Oreo 8.1.0, with security patches in Carbon 3.1 of July 2018. (The OpenKirin site currently has Carbon 2, which has the June patch, but you can get 3.1 from the telegram support group, which is what I'm running. It will show up on the OpenKirin site sooner or later.)
Can I go from stock 8.0 to OpenKirin? Since it doesn't use twrp I'll have to read how to do it.
Edit: Where do I find OpenKirin Carbon? I didn't see it in the rom section here.
jeffrimerman said:
Can I go from stock 8.0 to OpenKirin? Since it doesn't use twrp I'll have to read how to do it.
Edit: Where do I find OpenKirin Carbon? I didn't see it in the rom section here.
Click to expand...
Click to collapse
https://openkirin.net/download/
There are instructions at the site as well as downloads. The current version of Carbon, 3.1, can currently only be reached by going to the telegram group, but I found no bugs in v2.

How to root my maxwest branded phone

I have a nitro 5p, I'm looking for a way to root so I can get some type of custom rom. The stock one is lost unuseable
shatheone said:
I have a nitro 5p, I'm looking for a way to root so I can get some type of custom rom. The stock one is lost unuseable
Click to expand...
Click to collapse
I can help! Please Pm me, I just rooted and installed twrp. However I still haven't learned how to build custom rom yet.
timba123 said:
Did you figure it out
Click to expand...
Click to collapse
yea
wait that wasn't a question for me...lol
TWRP is not required in order to root the MaxWest Nitro 5P. In fact, you could not root it using TWRP even if you wanted to. This device ships with Android 9 Pie Go Edition and is fully Project Treble supported. Also, like many devices of its kind with a System-as-Root (SAR) configuration, this phone has no boot-ramdisk. The only workaround to attain root is to patch the ramdisk in the recovery image and flash the patched image to /recovery versus the typical /boot partition. This effectively enables Magisk to hijack the recovery partition. Thus, the tricky part. In order for root to be properly installed, the phone must manually be booted to recovery mode during each and every reboot. However, it won't actually boot into recovery mode due to Magisk hijacking the /recovery partition. It will boot into the Android OS with Magisk systemless root installed. If you choose to boot the phone normal, it will still boot into Android, but without Magisk installed. This is rather unorthodox and inconvenient but it remains the only solution for these devices with no boot-ramdisk. For more info on Magisk running in recovery, see the official GitHub documentation here: https://topjohnwu.github.io/Magisk/install.html
TWRP is not compatible with this type of install and will cause a bricked device. Simply unlock the bootloader, patch the stock recovery image with Magisk, and flash the patched image to the recovery partition via fastboot. Boot to recovery mode during the next and every subsequent reboot. I am presently drafting a rooting guide on this device and I will post my link here when finished, for anybody needing instructions.
The OP of this thread originally requested info on root for purposes of possibly installing a custom ROM. Indeed, there are a few Treble GSI ROMs compatible with the Nitro 5P (ARM, A-Only). However, you do not need to have a rooted OS in order to install GSI custom ROMs, but only an unlocked bootloader. I will compile some resources for compatible GSI Treble ROMs and list this info in my rooting guide coming soon. TWRP isn't needed for GSI installation. Everything can be done in AP Fastboot Mode. I am not certain if MaxWest Telecom has released the kernel source code for the Nitro 5P. I will research this. This code will be required for the compiling of custom ROMs such as LineageOS & Pixel Experience. It is likewise needed for TWRP to be built from source.
No problem. I'm certainly not saying that TWRP cannot be booted or even installed on the Nitro 5P. I'm only stating that under no circumstances can the Nitro 5P (in its stock configuration, at least) be rooted using TWRP. The only root solution -- due to the boot image being devoid of a ramdisk -- is the method I outlined above. Now, if someone compiled a custom boot image with integrated ramdisk, this would certainly change matters. Out of curiosity, have you tried flashing TWRP to the /recovery partition using fastboot flash recovery twrp.img? Or, in the alternative, you can replace the stock recovery image with TWRP by decompiling the .pac firmware package, repack the .pac archive, and flash TWRP using the Spreadtrum Flash Tool. I'm just curious as to whether anybody has tried that.
timba123 said:
I finally got a decent laptop. Windows 10. I'd love to root this nitro 5p. IDC if it's superuser or magisk root. I could take or leave twrp.
Click to expand...
Click to collapse
Magisk is the only supported root solution for this devices
Installation
The Magic Mask for Android
topjohnwu.github.io
Scroll down until you reach the installation heading titled "Magisk in Recovery." Follow those steps and you will attain root on your Nitro 5p. In a nutshell, you will be patching a stock recovery image versus a stock boot image. Magisk will be able to hijack the /recovery partition and enable systemless root on the Android OS.
hellofriendlymanveriosns said:
I can help! Please Pm me, I just rooted and installed twrp. However I still haven't learned how to build custom rom yet.
Click to expand...
Click to collapse
Why would you want somebody to PM you in order to get help? This is a custom Android development community. Provide your input openly on the thread so it can benefit all others who need help as well.
hellofriendlymanveriosns said:
I can help! Please Pm me, I just rooted and installed twrp. However I still haven't learned how to build custom rom yet.
Click to expand...
Click to collapse
Keep in mind that you rarely ever need to be rooted in order to install a custom ROM. However, you will need a custom recovery and the custom ROM itself. To the best of my knowledge, no custom ROMs have been ported to, or compiled for, the Maxwest Nitro 5p. However, the Nitro 5p is Project Treble supported, meaning you can boot and install a Generic System Image (GSI). There are a nunber of custom GSI ROMs available here on XDA, which have been build by various developers. This is a link to several GSI ROMs built from some of the more popular custom ROMs, i.e. HavocOS, LineageOS, ArrowOS, PixelExperience and others. These are available both with and without GApps, in both 32-bit and 64-bit architectures.
[SUMMARY][PIE GSI] BEST PIE-GSI ROMS to TRY (to this moment)
As we(in the TG group) have tested a bunch of Pie9.0 (s)GSI Roms on the XDA forum (https://forum.xda-developers.com/project-treble/trebleenabled-device-development) I was asked to make a guide/summary of what there was already been tested and in...
forum.xda-developers.com
Also, this is the official Project Treble forum here on XDA. This includes numerous GSI ROMs in various versions, instructional guides, device-specific resources and a ton of general info on Project Treble.
Project Treble
The Android 8.0 release includes Project Treble, a major re-architect of the Android OS framework designed to make it easier, faster, and less costly for manufacturers to update devices to a new version of Android. Treble is for all new devices launching with Android 8.0 and beyond.
forum.xda-developers.com
shatheone said:
I have a nitro 5p, I'm looking for a way to root so I can get some type of custom rom. The stock one is lost unuseable
Click to expand...
Click to collapse
I've tried unlocking the bootloader with no success.
For members having difficulties unlocking the Nitro 5P bootloader, you need to use the Token Identifier method typical to Unisoc (Spreadtrum) devices. There is a comprehensive YouTube guide on the process.
You will need a modified fastboot tools build, A Linux PC (or Windows PC running Ubuntu Live), and ADB Debugging/OEM Unlocking enabled in Developer Options. Links for the files you will need can be found here https://forum.hovatek.com/thread-32287.html
To the best of my knowledge, this is the only viable method for unlocking the bootloader on the Nitro 5p.
timba123 said:
I had trouble originally but a fellow xda member ma
I had trouble but someone here made a token for me. I'm bl unlocked for sure. I'm going to try to magisk root this weekend. The specs are poor on this device (nitro 5p) but is gsi/treble compatible . So I plan on trying that but in the end I'll prob just debloat stock to be as vanilla as I can and also add custom audio.
Click to expand...
Click to collapse
Viper4Android FX with the NEON audio drivers works quite nice on the 5p. A good debloating and some build.prop tweaks to optimize RAM efficiency and responsiveness made a big difference for me. You can also add a line to build.prop to disable the boot animation during boot up, which speeds up boot time considerably. Use Kernel Adiutor-Mod (APK available here on XDA) to enable Touch Boost under CPU settings and change the CPU Governor to Performance. Set I/O scheduler parameters to a 512 KB read-ahead on internal storage, using the noop scheduler preset. Set SELinux to permissive mode as well and use the Low Memory Killer (LMK) preset of Very Aggressive. In the ZRAM options, ensure Swappiness is set to 100.
Keep in mind that when rooting, you will need to install Magisk to run in recovery versus the typical boot.img patching.

Install twrp on android 11 rooted

I just rooted my samsung s10 G973F / DS via Magisk (not without some bootloop issue and a couple of times I had to flash the stock firmware and then the patched one).
I would try to include havoc custom rom which has great reviews for wanting twrp first.
So that the March 2021 update for Android 11 support is out, but I need a guide, in fact I wonder if I flash the twrp 3.5.2. from odin, do i need to reinstall magisk from recovery twrp or is my root safe?
Thanks to who will answer me!
Giulia
Have the exact same question in mind. Hopefully someone will respond soon

How could I dump my stock rom boot.img without root or TWRP?

For context I'm running a OnePlus 8 IN2017 on Android 13, it's bootloader is unlocked
I want to root my phone with magisk using this guide:
Installation
The Magic Mask for Android
topjohnwu.github.io
But I need a boot.img, even If I didn't I want to have a backup of my stock firmware just in case something goes wrong.
Now if I was on Android 12 I could just use TWRP but TWRP seems to have no versions for Android 13 yet and obviously I'm not rooted yet either.
Is there anyway I could dump my firmware without root or TWRP?

Categories

Resources