Need help with twrp in xperia l1 - General Topics

Hi. I have a doubt I want to install twrp on my xperia l1 but as some know the original boot.img must be installed to boot normally (because if it is not installed, the cell phone will start twrp again) My Doubt is: if I want to install a custom rom after installing twrp should I install the boot.img that I use to be root? Should I install the boot.img from the custom rom? or should I not install anything?

REDGxHD said:
Hi. I have a doubt I want to install twrp on my xperia l1 but as some know the original boot.img must be installed to boot normally (because if it is not installed, the cell phone will start twrp again) My Doubt is: if I want to install a custom rom after installing twrp should I install the boot.img that I use to be root? Should I install the boot.img from the custom rom? or should I not install anything?
Click to expand...
Click to collapse
Just install the custom rom then reboot. You should be fine

Related

Magisk

Hello guys i successfully unlocked Bootloader now i want to root my Nokia 3 via magisk i don't want twrp i just want boot img for magisk but for that i need root i try many apps for rooting but unsuccessfull i want to root then get boot img then unroot then root from magisk please help me.
mudit johari said:
Hello guys i successfully unlocked Bootloader now i want to root my Nokia 3 via magisk i don't want twrp i just want boot img for magisk but for that i need root i try many apps for rooting but unsuccessfull i want to root then get boot img then unroot then root from magisk please help me.
Click to expand...
Click to collapse
You can boot twrp without flashing and then flash root
https://forum.xda-developers.com/no...w-to-unlock-bootloader-nokia-3-t3699344/page2
Check post #15 by @SkaboXD
But when i flash twrp recovery then i go to recovery and ask for password i cancel it then ask for system modifications I'm confused so i dont give permission to twrp for system modifications then i flash magisk zip then wipe cache of dalvik cache and reboot then its stuck in bootloop
mudit johari said:
But when i flash twrp recovery then i go to recovery and ask for password i cancel it then ask for system modifications I'm confused so i dont give permission to twrp for system modifications then i flash magisk zip then wipe cache of dalvik cache and reboot then its stuck in bootloop
Click to expand...
Click to collapse
You said you wanted root, you were supposed to use the process to get root not flash magisk. I thought you had a method of installing magisk after getting root. I thought you were going to boot twrp recovery, not flash it, since you said you didn't want twrp.
Unfortunately you're going to have to flash stock with OST.
Check this link for more information:
https://forum.xda-developers.com/nokia-3/development/nokia-3-official-firmware-india-uae-t3674320
yeah now i got twrp but only come when boot from fastboot commands and i want magisk how can i get it?
did i have to first flash supersu zip from twrp then install magsik? but i want only magisk not supersu
mudit johari said:
did i have to first flash supersu zip from twrp then install magsik? but i want only magisk not supersu
Click to expand...
Click to collapse
I have never actually used magisk. I thought you had a way of installing/flashing magisk once you had root
I try installing magisk by flashing magisk zip from twrp but got bootloop
mudit johari said:
I try installing magisk by flashing magisk zip from twrp but got bootloop
Click to expand...
Click to collapse
Might I ask: what do you need magisk for?
Also in that recovery I got errors like can't Mount and some kind of encryption error and it say's I have to format data
Need magisk for root and modules as also I want all updates properly installed means i want to in stock recovery
mudit johari said:
Also in that recovery I got errors like can't Mount and some kind of encryption error and it say's I have to format data
Click to expand...
Click to collapse
In my opinion, only use the recovery for flashing stuff, don't mount anything other than sdcard, don't unlock. Maybe when there is a more compatible version of twrp ...
---------- Post added at 02:00 PM ---------- Previous post was at 01:17 PM ----------
mudit johari said:
Need magisk for root and modules as also I want all updates properly installed means i want to in stock recovery
Click to expand...
Click to collapse
Well i don't know about the modules, but when I flashed stock firmware with OST (first time I flashed recovery my phone was stuck in twrp) then flashed root and xposed, I was still able to install updates. The stock firmware I installed was 7.0, but now i'm on the most recent update. So unless there are some specific modules that you need from magisk, I think you can stick with the regular root.
On the other hand you can continue to experiment with magisk, maybe you will find something that we don't know yet and get it working. But remember, if you want to flash anything, don't format with twrp at all, just leave everything readonly and flash
I'm not able to go to recovery by buttons. Only by fastboot command why is that?
What the hell is this i just try to go to recovery by buttons it works but I'm on stock recovery but i flashed twrp then i format data did formatting data did something to recovery? Or is it that i have to use fastboot command to go to twrp recovery? Where the hell is that recovery?
mudit johari said:
What the hell is this i just try to go to recovery by buttons it works but I'm on stock recovery but i flashed twrp then i format data did formatting data did something to recovery? Or is it that i have to use fastboot command to go to twrp recovery? Where the hell is that recovery?
Click to expand...
Click to collapse
I don't know; the process of flashing recovery on HMD's nokias isn't yet fully developed, people have complained about flashing recovery but still not booting into it. Personally I would recommend that you use stock recovery and use fastboot to boot into twrp instead of actually flashing twrp whenever you want to flash anything. That way you are still able to install system update
But for installing magisk every where written that flash magisk zip from twrp but i got bootloop
mudit johari said:
But for installing magisk every where written that flash magisk zip from twrp but i got bootloop
Click to expand...
Click to collapse
Have you flashed stock firmware with OST? Can you boot normally now? If not, do that, then update ti the current android version using OTA. After that boot into twrp (whether you chose to flash twrp or just boot twrp is up to you). Do a backup then try flashing magisk again, maybe it will work this time
Yeah i already flashed stock rom with ost and already update to latest version i think magisk is not supported in Nokia 3
mudit johari said:
Hello guys i successfully unlocked Bootloader now i want to root my Nokia 3 via magisk i don't want twrp i just want boot img for magisk but for that i need root i try many apps for rooting but unsuccessfull i want to root then get boot img then unroot then root from magisk please help me.
Click to expand...
Click to collapse
Hello mate, you can't root nokia 3 with Magisk. Why? Because noone never send boot img to dev! So only option to root it is Chainfire SuperUser 2.79v.
Ok brother but i have a question if i root and then remove some system apps then can I safely install updates?

Can I just Flash TWRP (already unlocked, rooted with Magisk installed)

I cannot find anything on point to this direct question (all the guides/forums seem to have you flashing/installing TWRP first then installing Magisk).
I am already unlocked and installed Magisk/rooted with Magisk SU by using the Magisk Manager method with stock recovery.
At this point can I just flash/install TWRP to have a custom recovery without issue? I ask because I want to try out J to the 4n's Active Edge plus but want to make a backup first before tinkering with it. Loved his stuff as a long HTC viper guy.
Thanks in advance.
bakemcbride21 said:
I cannot find anything on point to this direct question (all the guides/forums seem to have you flashing/installing TWRP first then installing Magisk).
I am already unlocked and installed Magisk/rooted with Magisk SU by using the Magisk Manager method with stock recovery.
At this point can I just flash/install TWRP to have a custom recovery without issue? I ask because I want to try out J to the 4n's Active Edge plus but want to make a backup first before tinkering with it. Loved his stuff as a long HTC viper guy.
Thanks in advance.
Click to expand...
Click to collapse
I cannot find the specific thread (if I do find it I will update) but from what I recall you will need to flash an unpatched boot img and then flash twrp. After that you can reinstall Magisk. I know TWRP modifies the boot so that will interfere with Magisk. I hope this was helpful.
xBlu3 said:
I cannot find the specific thread (if I do find it I will update) but from what I recall you will need to flash an unpatched boot img and then flash twrp. After that you can reinstall Magisk. I know TWRP modifies the boot so that will interfere with Magisk. I hope this was helpful.
Click to expand...
Click to collapse
Extremely helpful! Sounds like I would boot loop the phone if I just flashed TWRP in my current configuration.
I'll uninstall magisk, reboot, then flash the stock boot.img and then follow the twrp/magisk install directions.
Much appreciated!
Here's what I did:
1) Boot twrp img file from fastboot
2) Flash the latest twrp zip in twrp. DON'T REBOOT. If you are going to use a custom kernel, you must do step 3 below. Don't later reboot and flash a custom kernel or you can run into bootloader signature issue. If you ARE NOT going to use a custom kernel, jump to step 4.
3) Flash your custom kernel.
4) Flash the latest Magisk zip to root again
5) Reboot.
Enjoy

Losing TWRP and Magisk after update

I'm running stock ROM on unlocked bootloader with root through Magisk. I've been using TWRP, but changed over to Blu_spark TWRP recently.
Every time I update my OS Ota, I lose TWRP and Magisk. The Magisk app is installed, but the ROM is not rooted. If course, if I try to install patch the system so it's rooted through the Magisk app, it says that it can't unpack the file. If I reboot to recovery to install from there, I get the stock recovery, not TWRP.
I tried to re-install TWRP and Magisk once before, and borked my phone. I had to quote and start from scratch. I lost all data since I wasn't rooted and Titanium Backup would not run.
What is the proper way to get TWRP and Magisk back after an OTA update?
Flash them after you flash update zip. If you don't you will lose recovery and root every time. Gets overwritten by stock recovery. Normal behavior
Sent from my ONEPLUS A6003 using Tapatalk
So you're saying that instead of doing the OTA update, I should download the update from here, and manually update it ? Can I just install the update? I'm rooted, (well, I was) so the OTA will only download the full update. Is that required instead of the update?
I really have to do a full re-install for every update? That sucks. A lot.
Full reinstall? No. You just have to flash the full ROM. This doesn't mean, you'll loose all your data: Just TWRP, Magisk and (if you have it) your custom kernel. You only have to flash TWRP (or simply boot into it), Magisk and kernel (again: if you have it) after the update. Done.
MickyFoley said:
Full reinstall? No. You just have to flash the full ROM. This doesn't mean, you'll loose all your data: Just TWRP, Magisk and (if you have it) your custom kernel. You only have to flash TWRP (or simply boot into it), Magisk and kernel (again: if you have it) after the update. Done.
Click to expand...
Click to collapse
Ok. Cool. I tried that last time, but it failed. As a result, I'm a bit anxious about doing it again. Hopefully, I won't have any problems this time.
Thanks for the info.
I have had similar troubles as you, here's an overview of how to solve those problems.
OTA through OS:
Download and install OTA
Use Magisk Manager to download the TWRP A/B retention script and install it
Install Magisk to current and inactive slot
Reboot
Guys I am using latest blu_spark twrp. my bootloader is unlocked and I am running oxygenOS openbeta23. Following is my problem.
My flash order: (Note: already I have bue_spark twrp recovery running without issues)
1. Flash the full OTA(openbeta)
2. Flash the blu_spark twrp zip file on both active and non active slots.
3. Flash the latest magisk zip file. If step 3 is not successful means I will try to reboot in to recovery and again flash the magisk installer zip.
Until some time back all this worked fine. But for last 2-3 times although the flashing process of twrp zip on both slots ends with success message, when I reboot to recovery from twrp in order to flash magisk, the device boots in to stock recovery. I don't know how even after flashing twrp zip on both slots successfully why the devices bootbback to stock recovery. Then to have blu_spark twrp I have to connect my device to a computer in fastboot mode and then boot in to custom recovery using the blu_spark twrp image file and again flash the blu_spark twrp zip file which is inconvenient and also requires a computer.
Am I missing anything here?? If yes why this method was working perfectly before? Please somebody help.
Regards,
Sivabalan K
I flash in following order my stable updates
Flash full rom zip
Flash bluespark recovery
Restart into bluespark recovery
Flash magisk
Restart into Android
Everything works flawless. Magisk installed with all the modules running
Hi guys,
Don't you need to disable lock pattern/PIN or fingerprint/face ID? And don't need to uninstall magisk modules?
I never update my OP6 from my initial unlock/twrp/magisk and I'm a bit anxious to do it now...
Thanks
PS : I'm using original twrp (3.2.3-1), is this a problem?

Is there a latest stock ROM I can flash instead of the custom ROM I'm using now?

I'm TWRP'd and Magisk'd running a custom ROM (Havoc}, but it's a little buggy. I'm looking to flash a stock ROM with the latest OxygenOS, and then maybe use a Magisk module over that.
Can I? And if so, can you point me to the correct custom ROM thread? I see a couple, but not sure which one is flashable, and which one is for restoring the phone to completely stock (removing TWRP, etc.).
I suggest using this: https://forum.xda-developers.com/oneplus-7-pro/how-to/rom-stock-fastboot-roms-oneplus-7-pro-t3931424
-BoneZ- said:
I see a couple, but not sure which one is flashable, and which one is for restoring the phone to completely stock (removing TWRP, etc.).
Click to expand...
Click to collapse
I don't think you can flash a stock ROM, and keep TWRP without flashing TWRP again. TWRP will always be removed when flashing a stock ROM, since recovery doesn't reside on it's own partition for this device, but rather is on boot.img, which by definition needs to be flashed with the ROM (contains the kernel).
AFAIK, you will need to flash the stock ROM then flash TWRP and Magisk again. To do that, fastboot flash the above linked stock ROM, then fastboot boot TWRP.img, then in TWRP flash TWRP installer zip and flash Magisk. Wouldn't take long to do, just have the TWRP zip and Magisk zip on the phone ready to go, before you flash the stock ROM.
redpoint73 said:
I suggest using this: https://forum.xda-developers.com/oneplus-7-pro/how-to/rom-stock-fastboot-roms-oneplus-7-pro-t3931424
I don't think you can flash a stock ROM, and keep TWRP without flashing TWRP again. TWRP will always be removed when flashing a stock ROM, since recovery doesn't reside on it's own partition for this device, but rather is on boot.img, which by definition needs to be flashed with the ROM (contains the kernel).
AFAIK, you will need to flash the stock ROM then flash TWRP and Magisk again. To do that, fastboot flash the above linked stock ROM, then fastboot boot TWRP.img, then in TWRP flash TWRP installer zip and flash Magisk. Wouldn't take long to do, just have the TWRP zip and Magisk zip on the phone ready to go, before you flash the stock ROM.
Click to expand...
Click to collapse
I want to flash havoc OS and want to know if I can go back to OOS if I download the full OTA zip and flash it like you normally would (twrp and magisk)
D.Va said:
I want to flash havoc OS and want to know if I can go back to OOS if I download the full OTA zip and flash it like you normally would (twrp and magisk)
Click to expand...
Click to collapse
I have the same question. I'm on Havoc now and unencrypted and would like to back up Havoc and go back to OOS for now due to WiFi calling not working. With out having to reflash Twrp etc
The_Keeper86 said:
I have the same question. I'm on Havoc now and unencrypted and would like to back up Havoc and go back to OOS for now due to WiFi calling not working. With out having to reflash Twrp etc
Click to expand...
Click to collapse
Anyone?

Question Install official RUI updates from TWRP?

So, I rooted my phone, for which I needed to unlock the bootloader and install TWRP. Now, when I want to install an update on my phone, it downloads and when I want to install it, it jumps to TWRP recovery instead of the phone's recovery, so I can't update my phone. Does anyone know how can I install the updates from TWRP?
Else, reinstall the default recovery. (Only the recovery, not the entire OS since that would un-root my phone)
Thanks.
Edit: After it boots to TWRP, it apparently tries to install the update, since I can see it on the log, but when I reboot my phone it has not installed. It errors: "E3994: This package is for "2169B" devices; this is a "". Updater process ended with ERROR: 1. Error installing zip file '/data/ota_package/OTA/.otaPackage/my_manifest_RMX3370_11.F.04_3040_202302282047.44.36402b59_all.zip'
Edit 2: After failing to install it, it prompts me to re-download it and re-install it, but it jumped from ~500MB update to 4.76GB update.
( may loose data)
I read in telegram channels, this twrp: https://www.pling.com/p/1922292 support installation latest zip. but I haven't tried.
one more thing you can do is ( may loose data)
1. restore twrp backup for recovery partition ( if you don't have backup. search recovery.img in upgrade zip )
2. reboot to recovery to check stock recovery is installed
3. install update
4. then follow steps to install twrp and magisk ( root again )
SanOne+1 said:
( may loose data)
I read in telegram channels, this twrp: https://www.pling.com/p/1922292 support installation latest zip. but I haven't tried.
one more thing you can do is ( may loose data)
1. restore twrp backup for recovery partition ( if you don't have backup. search recovery.img in upgrade zip )
2. reboot to recovery to check stock recovery is installed
3. install update
4. then follow steps to install twrp and magisk ( root again )
Click to expand...
Click to collapse
Your guide is incorrect and will definitely put the device into bootloop.
** The twrp link that you shared doesn't allow system updates to install, it is just a A13 compatable twrp recovery.
1) What if that person has not created any twrp backup of all system partitions? According to his explanation, I'm pretty sure he has not created any backup of the partitions.
2) only flashing recovery image and installing the update will again put the device into bootloop because as confirmed by the OP that his device is rooted and due to root the boot image of the device gets modified so it will put the device into bootloop.
3) unless the OP has stock boot and recovery images at his disposal he should not attempt to install the update to avoid bootloop.
** Kindly avoid sharing incorrect information you aren't sure about the correct procedure.
procedure that I follow to flash updates :
1) in magisk - uninstall magisk - restore images
2) boot device into bootloader and flash stock boot and recovery.
3) boot device and install update.
4) put device again in bootloader and flash twrp and within twrp flash magisk and reboot.
I haven't found any easier way than this. If anyone has, kindly put it below.
There's a way
Rui 4.0 Android 13 f.02
So, any verdict on this new update for the people that did update to it?
forum.xda-developers.com
Recetly I succesfully updated my Realme GT Neo 2 5G via TWRP recovery, the latest version support OTA.
Attention! After update TWPR and Magisk gone. Just reflash twrp and flash magisk normally. No need to reflash modules etc. (Just update from settings, no need to manually flash ota package from TWRP)
Hello mate can u help me with something real quick. Y are there no recent updates for gt neo 2 and if u r using a custom rom based gt neo 2 hows ur experience so far. Thanks in advance
Xemi_KryTeT.pl said:
Recetly I succesfully updated my Realme GT Neo 2 5G via TWRP recovery, the latest version support OTA.
Attention! After update TWPR and Magisk gone. Just reflash twrp and flash magisk normally. No need to reflash modules etc. (Just update from settings, no need to manually flash ota package from TWRP)
Click to expand...
Click to collapse
Which rom r u running and is it good?
Sabirsayed09 said:
Hello mate can u help me with something real quick. Y are there no recent updates for gt neo 2 and if u r using a custom rom based gt neo 2 hows ur experience so far. Thanks in advance
Which rom r u running and is it good?
Click to expand...
Click to collapse
Latest stock (4.0), I'm not going to flash custom roms for now

Categories

Resources