Need more information about Bootloader and TWRP - General Questions and Answers

First of all, i would like to ask several questions about bootloader and TWRP in Android. I really need these informations as i can't find it elsewhere in Internet.
Long story short,
Number 1: What is actually make it different from Lollipop Bootloader with Marshmallow Bootloader?
Number 2: When i was trying to install Nougat ROM Unofficial Cyanogenmod in my Asus Zenfone 2 Z00A or Android Ice Cold Project Marshmallow ROM, i get an error "This package supports ifwi" or something. Question is why is this happening?
Number 3: Related to number 2, does ifwi have something to do with TWRP outdated script recovery that it can't flash the ROM?
Number 4: How do we know that TWRP runs in MM bootloader or LL Bootloader? When i flash MM TWRP, i can successfully install Android Nougat now. But i didn't see any name or text that says it runs with TWRP MM or TWRP LL.
Number 5: Does TWRP version have something to do with the Bootloader MM or LL? (Ex: TWRP 3.0.0.0 and so on).
Number 6: In an official website of TWRP.me, what is their version bootloader? (I am aware that twrp is custom recovery but having encountered these issues when flashing the ROM makes me rethink that bootloader has something to do with twrp whereas i thought it didn't have anything to do with twrp before).
Any answers are always helpful to me. Since this is a thread for Questions and Answers. Please do so help me in filling the information. Thank you.

Related

How do I safely root and unlock bootloader on Marshmallow?

My device is European L04, currently running North Africa release (the earliest Marshmallow build uploaded) - L04_2016_0316_0900 (B820)
I'd like to unlock the bootloader and root my Honor 6. I've never done it (on this particular device), because I've read enough here to know it's slightly more risky than on other devices, especially when you plan to update the stock rom soon, so I preferred to wait until I have the last important update the device is likely to receive - Android 6.0.
What I want to know (some of the answers are in the topics which I listed below):
MultiTool - I've seen reports of bricks when using MultiTool with EMUI4/Marshmallow - why does it happen? My understanding is that MultiTool is a bundle of adb/fastboot and some recovery images for older Android versions, so my theory is that instead of using MultiTool, I should simply get the proper recovery for Marshmallow and flash it manually with fastboot, right?
unlocking bootloader, rooting, flashing recovery - I think I understand the process; in a nutshell: 'fastboot oem unlock X', 'fastboot flash recovery imagename.img', then flash the proper SU.zip in recovery. Where do I find the code, the Marshmallow recovery image, the SU.zip file?
will recovery backup in TWRP work without any problems?
what is the procedure to go back to stock completely after rooting? Unroot, (then wipe if it's needed?) so I am able to safely flash stock firmware again (since, from what I know, flashing stock on a rooted phone makes itself brick permanently, right? or is it just a soft-brick and it can be fixed?)
is there anything else I should know before proceeding?
What I found so far:
http://forum.xda-developers.com/showpost.php?p=66615082&postcount=502 - two recovery images, TWRP and another one (stock?) for the Marshmallow release
http://forum.xda-developers.com/honor-6/general/honor6-multi-tool-t2963060/page50 some rooting instructions for the L02 beta, see posts 494 and 498; no idea whether this is applicable to final Marshmallow or L04 at all
http://forum.xda-developers.com/honor-6/general/huawei-honor-6-plus-unlock-bootloader-id-t3357259 an app to get the unlock code, seems a bit shady to me though on the first glance
http://forum.xda-developers.com/honor-6/development/honor-6-rooting-method-t2962795 alternate methods for bootloader (through a website or by email), in case the app won't work; also, detailed instructions on unlocking and rooting
Basically, I need to know whether my procedure is more or less right before I proceed. I think the information is quite hard to find and the risks are quite high, so I'd like to make a promise - when I'm done rooting it and I know the correct process, I'm going to make a "Update to Marshmallow, unlock, root" how-to thread for all the people that will need it in the future.
Another two questions...
1. Where do I get proper SuperSU for Marshmallow? I get a boot loop (yeah, I know I have to wait and I did, but it's a pretty obvious bootloop from watching the logcat content, and nothing new happens...) after flashing http://download.chainfire.eu/supersu-stable (2.65).
2. I have unlocked my bootloader and installed TWRP, so recovery and fastboot are functional. I didn't make a backup before flashing the zip and now I'm in a bootloop. How do I restore working Marshmallow? I assume I can either beg somebody to upload a TWRP backup for my H60-L04, or somehow flash the stock over what I have now. Can I simply use manual update from SD? Can I somehow flash Marshmallow again with fastboot? I'm too scared of bricking my device right now so I guess I'll brace myself for a few days without a phone until somebody helps me :/
I just flashed the Marshmallow release I had before the bootloop (I used Huawei Update Extractor and flashed boot, cust, system and recovery with fastboot; then open up Huawei recovery and factory reset for good measure, I'm not sure it was even needed) and the device is working. I'll restore my stuff, install TWRP, make a backup then try out your ZIP. Thanks
edit: thanks again - your zip works indeed. So after the initial hurdles, now I've got working root and a reasonable way of restoring in case I screw something up along the way.
Before making a new topic with the tutorial I have a few more questions.
First of all, why exactly we weren't supposed to update the rooted devices? I'm not currently interested in OTAs (it's pretty obvious that it needs a functional Huawei recovery, and you need to unroot cause an update can make a mess in a rooted system, making it bootloop for example), but can we flash extracted images with fastboot on rooted devices? Logically, we should be able to... How about sdcard update method?
Can we flash Marshmallow on Kitkat? (fastboot, sdcard, local update methods?) Or do we need to update to Lollipop along the way?
Can I flash stock roms in general (evenbetween different Android versions) by using fastboot with {boot, cust, recovery, system} images only? There's a lot of images that you can extract with Huawei Update Extractor - why there's so many if they're not needed?

[DEV-ABOOT-ONLY/PF4/PD1/PG2/PJ2/PL1/QA1] Safestrap Recovery v4.05 B01 [2017-03-23]

VERIZON SAMSUNG GALAXY S5 (KLTEVZW)
PLEASE READ READ READENTIRE OP
"ALL MAJOR WORK DONE BY HASHCODE SO GO GIVE HIM SOM THANKS.DO NOT POST ANY BUG OR ISSUE COUSED BY THIS RECOVERY IN ORIGINAL THREAD BY HASHCODE, POST HERE AND I WILL HELP YOU."
CURRENT PROJECT STATUS:
BETA v4.05-B01 (DEV-ABOOT-ONLY/PF4/PD1/PG2/PJ2/PL1/QA1/6.0.1)
WHAT IS SAFESTRAP?
Safestrap is a Bootstrap / Recovery for locked bootloader phones. The goal is to avoid touching your primary system (I'll call this "stock" system) and only flash or make large changes to another place on your phone that Safestrap treats as a "2nd system" (in this case, it's a series of virtual ROM slots located on the internal emmc area: "/sdcard"). Once installed, you will see a "Splashscreen" giving you the option to hit "menu" to enter recovery. The recovery portion of Safestrap is now based on TWRP 2.6.1.0 (a touch based recovery) and you can perform .zip installs, backups and restores here. The additional features I've added to TWRP are mostly located under the "Boot Options" menu:
Here you can create virtual ROM-slots (3-4 on the S5 due to partition size and internal space) for flashing ROMs. NOTE: The bigger you make the /data partition the less room you will have to make other ROM-slots.
You can activate a new ROM-slot by choosing the slot you wish to make active and then selecting the "Activate" button. Once active, you will see the "rom-slot#" up in the top of the screen shown in green. If you make the "stock" ROM active, then you can see it in the top shown in red.
Once a ROM-slot is active, all actions you would normally perform using TWRP are directed to that ROM-slot. For example, "Install" to flash a .zip, backup and restore.
HOW DO I INSTALL SAFESTRAP?
Requirement: Root (systemless SuperSU)
[v4.03 Safestrap zip file]: Flash via TWRP/FlashFire.
HOW DO I ENTER RECOVERY?
During each reboot a splashscreen will be displayed showing whether the device is running a rom-slot or on the "Stock ROM".
Press the button shown on the screen to either enter "RECOVERY" or "CONTINUE" booting (or the hard button underneath each option).
KNOWN ISSUES:
- Not WORKING NON ROOTED DEVICES (DEV-ABOOT)
- NOT WORKING ON ANDROID 4.4.X
- NOT WORKING ON ANDROID 5.0
- NOT WORKING ON SYSTEM ROOT
DOWNLOADS:
CONFIRM THAT YOU ARE USING A VERIZON WIRELESS SAMSUNG GALAXY S5 (kltevzw) (DEV-ABOOT-ONLY/PF4/PD1/PG2/PJ2/PL1/QA1/6.0.1)
LATEST FILE: Safestrap-4.05-B01-KLTEVZW-6.0.1.zip
WARNING: Safestrap is heavily modified to be "Safe" for your device. Do not download TWRP from their website and expect it to work the same way. Also TWRP does not support Safestrap, tho some issues that may come up will be TWRP dependant, please try and contact myself or look on the forums for your device for answers before hunting down TWRP people. They won't be able to help w/ Safestrap specific questions.
Special Thanks To
@Hashcode
DeesTroy & TeamWin for all their hard work making TWRP such a fantastic recovery. If you are considering a donation, then please have a look at the Team WIN website: http://teamw.in/project/twrp2
@jrkruse for zip template
CHANGES:
4.05-B01 [2017-03-32]
- Update to latest TWRP 3.1.0.
- Major safestrap specific updates (https://github.com/mohammad92/recovery-safestrap/commits/safe3.1.0)
4.03-B01 [2017-02-26]
- Initial support.
This will work on android stock 6.0.1 only, maybe on cutom AOSP roms that included MM kernel headers.
APK version coming soon when it ready
stock 5.0 not tested since I'm on 6.0.1 QA1 but will try to compile it soon.
Nice job as always!
Really cool tool to use
Safestrap 4.05-B01 is up
Can I use safestrap to install lineage OS?
bereket said:
Can I use safestrap to install lineage OS?
Click to expand...
Click to collapse
No.
Why would this get used instead of twrp flashed to recovery?
mattnin said:
Why would this get used instead of twrp flashed to recovery?
Click to expand...
Click to collapse
kltevzw is locked! But some devices with CID start with 15 can be unlocked and flash twrp.
And they still need safestrap for upgarde bootloader and unlock their devices.
This version of safestrap does not need kitkat kernel to show up the boot menu, so you can use it with MM kernel.
mohammad.afaneh said:
kltevzw is locked! But some devices with CID start with 15 can be unlocked and flash twrp.
And they still need safestrap for upgarde bootloader and unlock their devices.
This version of safestrap does not need kitkat kernel to show up the boot menu, so you can use it with MM kernel.
Click to expand...
Click to collapse
Oh yeah! I forgot about that. I just have four CID 15 phones and just used to flashing TWRP into recovery. Thanks!
Hi Guys,
My phone is cid11 and when I flashed freedom ROM, I lost safestrap. It says that it's installed buy when I boot into recovery, the phone just restarts. What do I need to do to get it back?
I was referred to this thread through another.
d8n0g said:
Hi Guys,
My phone is cid11 and when I flashed freedom ROM, I lost safestrap. It says that it's installed buy when I boot into recovery, the phone just restarts. What do I need to do to get it back?
I was referred to this thread through another.
Click to expand...
Click to collapse
you are on 5.0 ROM and safestrap not support your kernel
use this https://forum.xda-developers.com/ve.../ncg-ne9-nha-ni2-nk2-4-4-x-safestrap-t3577599
flash kitkat kernel to boot safestrap and restore your 5.0 kernel after that
or simply use this https://forum.xda-developers.com/verizon-galaxy-s5/development/safestrap-5-0-lollipop-t3313800
Much appreciated!!

Please help My M8 cannot install TWRP. Asking for a password.

Hi, guys, I hope that you will help me.
My phone is running Android 6.0 marshmallow I think some of you will wonder why I'm in marshmallow before my phone is running android nougat rooted running on TWRP latest ver. and Magisk 14.0 but it happens that my phone experience a soft brick 2 days ago because I update my magisk 15.0 in magisk manager.
Warning: Don't upgrade your magisk to 15.0
I decided to stick with this ROM because I cannot see any instruction to revert back nougat via OTA.
I want to install TWRP but no luck at all
I try to install the oldest version of TWRP on my m8 which is 3.0.0.2 but once I boot up to recovery TWRP is asking for a password.
I think it is encrypted but I don't even put password or FPS.
Note: I use the TWRP recovery of SRK.
then I try the official TWRP came from twrp.me which is the official repo of TWRP
I use the same version which 3.0.0.2
But again it failed the device did not boot up instead it hang up my phone.
I would like to seek your help regarding on my problem.
what will be the right Version for my M8 running on M8 EMUI 4.0.2 & build number B196
also if you know any Instruction how to update my Android MM to Android really appreciate your help
Cheer!

Can only install official binaries message when flashing TWRP with Odin3 on A750FN U4

Hi, I'm having a lot of trouble trying to install a custom recovery. I had it working a couple months back but wanted to go with official again for dumb reasons and now i want to go back but it won't let me flash TWRP, i can't find a TWRP specifically for this version either. It's Android 10 with March security patch.
I hope someone can help me.
Thanks.
Please only create one thread per topic. I've removed the duplicate thread you started on this topic.
As far as your issue goes, I don't actually know much about Samsung specifics, but I believe that particular message means you haven't unlocked your bootloader. You'll need to do that before you can flash custom stuff.
Didgeridoohan said:
Please only create one thread per topic. I've removed the duplicate thread you started on this topic.
As far as your issue goes, I don't actually know much about Samsung specifics, but I believe that particular message means you haven't unlocked your bootloader. You'll need to do that before you can flash custom stuff.
Click to expand...
Click to collapse
actually Im also having the same problem even though i have unlocked my bootloader.. I had previously installed twrp and was trying custom os until one os (evolution x) for some bricked my phone and i had to flash the stock firmware and after that when i try to re-flash twrp through odin it is saying officail binary can be flashed.
Parthiv Shaji said:
actually Im also having the same problem even though i have unlocked my bootloader.. I had previously installed twrp and was trying custom os until one os (evolution x) for some bricked my phone and i had to flash the stock firmware and after that when i try to re-flash twrp through odin it is saying officail binary can be flashed.
Click to expand...
Click to collapse
Like I said, I'm not 100% on Samsung shenannigans, but have you checked to verify that you didn't lock the bootloader as a part of flashing the stock firmware?
OEM unlock toggle in Developer's Options
Hi ยก...
1. You have to reinstall via odin the latest version 9 (AP, BL...etc)
2. On reboot do the entire TWPR flashing process for android 9
The current problem is that there is no TWPR for android 10.
Cheers

TWRP 3.1.1 AND ABOVE

SOMEONE TO HELP ME PLEASE,
I have a honor note 10 (AVL-AL09) and I successfully unlocked its bootloader through one helper who is doing this by payment. The phone now is in android 9.0.0 EMUI 9.0.0
I installed a custom recovery but I can't read my files (IN RECOVER BOOT) in the internal storage because it seems they are encrypted. Each custom recovery I try, the outcome is the same. But I saw one advice saying I have to install TWRP 3.1.1 which will end without encryption. I have been searching for this version of twrp without success.
Please help me because I want to ROOT my lovely phone

Categories

Resources