How to fix the (twrp) error 7 while installing custom rom - Android General

This post is interesting for you if :
- you can't flash any rom or upgrade your operating system
- you're running twrp and you get : "updater process ended with error 7"
- you can't update twrp
You need to know the basics (like flashing a rom or installing twrp (or you'll find it on other threads))
You're going to full reset you're phone, dont forger to make backups!
You're the only one responsible of what happens to your phone! You proceed at your own risk! Be sure you always know what you're doing!
All the links will be given for the oneplus X
The first thing you need to do is mega unbrick your phone mega unbrick for OneplusX
Then, just turn on the phone, skip the bigest part of the "welcome process" and go into the settings. Follow this guide to install twrp (the most recent version you're phone is able to run). Once twrp is installed properly, you're gonna update your Boot Loader and install twrp one more Time (this time the last update, given by twrp) follow this guide : update BL and install twrp
Once it's done, you should be able to install any rom you want and run the very last update of you're favorite OS
I hope you guys found this post helpfull

Related

TWRP for 5.0 D800 G2s

This post is to get TWRP running properly on a G2 that has updated to 5.0
There is an apk called autorec.apk that is supposed to install TWRP, and it does, but when you reboot, it gives you a security error and shuts the phone down. Basically soft bricks it. This method is what i used to install twrp and allow flashing of custom ROMs.
First, downgrading to 4.4.2 is not only fairly easy, it is also necessary to get TWRP working properly.
Download and install the LG flashing tool here
then do the same with the LG driver found here
Then youre going to need 2 files for the flashing tool
1: LG Flashing dll
2: the 4.4.2 image that the flashing tool installs here
instructions for using the flashing tool are found here
Make sure to follow all of the instructions including changing the port # for the device to 41
After flashing back to 4.4.2, using towleroot to root takes mere seconds to complete
after that, download TWRP and place the file somewhere easily located on your phone.
Install Flashify, and use it to flash the TWRP 2.8.6.0 D800 image file for your custom recovery.
VERY IMPORTANT!! Reboot your phone to recovery and once in recovery, be sure to reboot recovery from within TWRP before rebooting system.
After that is done, you are ready to flash custom ROMs.
This is the procedure I used and it worked like a charm. There might be other methods that work, but this one positively worked for me on the D800 i dealt with.
I know this set of instructions isnt as pretty as other tutorials, but it works. Let me know if you have any issues with the links or process.
The way I have done it on my 5.0 d800 G2, first root with One Click root from Windows, then install SuperSU from play store, autorec, then install TWRP. No problems whatsoever.
Im glad that your method worked for you! The G2 i was working on belonged to a friend of mine and it kept bootlooping using your method. So, i guess for those who encounter the same issue that I did, they can use the method listed above

GEM-702L, want to get rooted marshmallo installed. Screwed something up

I will try to keep it short and concise;
Had android 5.0.1 (if I recall correctly), unlocked it, installed twrp and rooted it.
Then used the local update option to get to marshmallo. Then tried to root again using supersu and it wouldn't boot. Tried restoring nandroid backup of 5.0.1 backup but it wont boot either.
I have searched for many hours and tried many different roms etc. I can only get to the boot animation and it just stays there.
I can get into TWRP and bootloader with no issue but have no idea if I can use the dload option if I can not boot into the OS.
Can someone please help me get this back either to the stock rom or a custom marshmallo rom installed?
I will be honest that I don't fully understand what it means when there is a prerequisite of "You must already be on B201 or higher to flash this" such as with the Simply International I have tried to flash. And am not sure what the EMUI version is or how it affects what can be installed.
Thanks for any info.
Hello
1) First of all, go into TWRP recovery, and do a full wipe. Then reboot and wait.
2) If unsucessfull, try out the downgrade file for 702L : http://download-c.huawei.com/download/downloadCenter?downloadId=81363&version=323452&siteCode=tw . It does install with official dload method
3) If it's not enough, you'll have to use ADB to fix your device I guess:
https://androidmtk.com/download-minimal-adb-and-fastboot-tool
http://lifehacker.com/the-easiest-way-to-install-androids-adb-and-fastboot-to-1586992378?
its use on X2:
http://forum.xda-developers.com/showthread.php?p=62829551#post62829551
(and following post)
pick up the file from your last installed (or nandroid restored) ROM to use with huawei update extractor.
==
but try out 1 &2, and come back here before using ADB, to have more precise instructions

S7 G930F stuck in a bootloop after attempt to install TWRP

Hi everyone!
I wanted to finally flash a custom ROM on my G930F (vanilla, with the latest official update) and started by installing TWRP (twrp-3.3.1-0-herolte.img.tar) via Odin (3.13.1) following this guide: https://forum.xda-developers.com/galaxy-s7/development/recovery-official-twrp-herolte-t3333770.
Everything was going smoothly until step 9, because after swiping right I tried rebooting before flashing anything (found a thread on Reddit advising to just follow the guide without proceeding with rooting as indicated in the last steps). So now I'm stuck in a bootloop and I have no idea what to do, I can only access Download mode but that's it.
How do I solve this problem?
Step 10 included scenarios for both if you want root, or if you just want to boot successfully
Did you download and flash the dm-verity and force encryption disabler zip as per the step 10?
Repeat steps 6-10 and flash that zip
Beanvee7 said:
Step 10 included scenarios for both if you want root, or if you just want to boot successfully
Did you download and flash the dm-verity and force encryption disabler zip as per the step 10?
Repeat steps 6-10 and flash that zip
Click to expand...
Click to collapse
Thanks for answering!
Yes I figured out, installed TWRP via Odin again and then tried flashing that thing without wiping as shown in the video, but then I got some error messages and the device wouldn't boot up again, telling me I had to do a wipe. So I just went into recovery and did a factory reset.
Now I'd like to flash LineageOS but I'm not so sure anymore since I've had so many problems, and I have a few questions:
Do I need to reinstall TWRP?
Do I need root?
What version of LineageOS should I download?
Is there a guide for flashing LineageOS on the S7?
trim1_ss said:
Thanks for answering!
Yes I figured out, installed TWRP via Odin again and then tried flashing that thing without wiping as shown in the video, but then I got some error messages and the device wouldn't boot up again, telling me I had to do a wipe. So I just went into recovery and did a factory reset.
Now I'd like to flash LineageOS but I'm not so sure anymore since I've had so many problems, and I have a few questions:
Do I need to reinstall TWRP?
Do I need root?
What version of LineageOS should I download?
Is there a guide for flashing LineageOS on the S7?
Click to expand...
Click to collapse
Do I need to reinstall TWRP?
No TWRP will remain until you remove it or flash stock firmware.
Do I need root?
Not required to flash custom Rom's but useful
What version of LineageOS should I download?
Look at the ROM section and read up on which one you want, there are several different ones and builds so the choice is yours.
Is there a guide for flashing LineageOS on the S7?
There is always a guide contained in the post for the ROM usually at the beginning. The process of flashing Rom's is generally the same no matter what Rom you use.

Probably encrypted device TWRP files with weird file names - Android 12

Since oneplus 6 nas no security updates i decide to install custom ROM LineageOS 19.1 the newest build from official website.
Before installing this ROM i do all steps gently from Funky Wizard guide.
I have ADB drivers, unlock bootloader, installed magisk (rootet phone) backup my OOS and EFS, and installed twrp.
All basic stuff. Now i was ready to go to installed lineageOS.
I install lineage and i do all steps by their official website but with twrp. ( only what i dont flash copy partition zip file i wasnt sure if that will be work with twrp ).
After restart to recovery i must install gapps. Unfortunely the recovery was replaced i was assumed istead of twrp.
I installed gapps with their recovery and all work fine until i want to replace to twrp.
Now when i boot temporarly from img to install it perm. I have weird folder names wihtout any possibility to add ZIP file.
With some research i guess that folders are somehow encrypted.
Could you help me to install twrp with lineageOS when i have still access to this files? I need it for ex. recovery to stock if something in future goes wrong.
And i am currently on android 12 for sure.
Thank you from feedback!
first of all, you'd be better of if you posted this in the right area ==> https://forum.xda-developers.com/t/rom-official-enchilada-12-lineageos-19.4437321/ ==> more chance to get help related to LOS 19 questions (it's pure chance I saw your post here)
second: make sure to follow the instructions given at the LOS instructions pages ==> https://wiki.lineageos.org/devices/enchilada/
Mostly it is important that you have latest OOS 11 firmware installed in both slots before you start with LOS.
For the first steps never mind which recovery you have, just follow the instructions using LOS recovery. Reason is that TWRP is having problems wiping data / performing factory reset, at least it never worked for me. Then later on you can switch to TWRP
Back in May this year I wrote an instruction set here: https://forum.xda-developers.com/t/rom-official-enchilada-12-lineageos-19.4437321/post-86879331
Interesting for you right now is everything below 1.x
2.x is a separate instructiopn set for OTA updates coming later on
Good luck!
Thank you for response. You have right its better to install it directly from dedicated recovery (lineage) and than replace with twrp. Also i fill missing steps (install recovery again and flash parition integration file) and also wipe all data as instruction says. Now after reinstall lineageos and then install twrp i have all normal structure files as before. Thanks again

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