Possible Solution to MM3 TWRP Encryption Issue on Miui 11 - Xiaomi Mi Max 3 Questions & Answers

Well. This was idiot-simple, too good to be true but it worked for me -- I did not create any of this, thanks to those who did, but this post may help other non-experts trying to cobble different suggestions from different threads into a solution for their device.
Again, I am on Miui 11.0.6 -- which I hate so much I was willing to risk a brick to get root.
I'd tried all XDA solutions at time of post for getting past the TWRP encryption password screen except for the one suggesting the use of a file called dummy.img which was beyond my understanding.
I used the file versions recommended by the experts here.
twrp_v323-4_nitrogen_nijel8-MOD.img (or whatever the latest version of that customized TWRP is) -- put it on your pc, install using fastboot / adb
latest orange fox zip from https://files.orangefox.tech/OrangeFox-Stable/nitrogen/ -- put it on your Micro SD Card, NOT your main phone storage.
latest magisk (version 20.1 at time of this post) -- put it on your Micro SD Card, NOT your main phone storage.
So. Install TWRP with ADB/Fastboot. In terms of TWRP getting overwritten by the stock recovery, there are several ways to ensure you boot back into TWRP but none of them worked every time for me apart from using the fastboot command: fastboot boot twrp.img (or whatever you called your TWRP file).
Once TWRP is installed and you're rebooted to it using the above command, all you have to do is hit cancel when the request for the password comes up, choose install, and then choose OrangeFox from the SD Card. (The SD card does not require a password).
OrangeFox -- God bless its creators -- automatically reboots and automatically decrypts your main storage -- eliminating all need for further tricks to retain custom recovery.
At that point, all you have to do is OrangeFox to install Magisk from the SD card, and then permit OrangeFox to wipe the dalvik cache and reboot to system.
All done!
Thanks to everyone here who actually created all these solutions. I realize anyone could have extrapolated what to do from existing threads and I may be oversimplifying, but being simple in tech terms myself, I thought it might be a time-saver for others like me.

it should be https://files.orangefox.tech/OrangeFox-Stable/nitrogen/

Thanks!
kruzyk said:
it should be https://files.orangefox.tech/OrangeFox-Stable/nitrogen/
Click to expand...
Click to collapse
Hi, sorry I missed your correction my thanks are six months late, updated the link! Best wishes

Related

TWRP for Moto G7 (river)

Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.
Unlocked bootloader is required.
​
This device has 2 "slots" for ROMs / firmware. TWRP will detect whichever slot is currently active and use that slot for backup AND restore.
There are buttons on the reboot page and under backup -> options to change slots. Changing the active slot will cause TWRP to switch which slot that TWRP is backing up or restoring.
You can make a backup of slot A, switch to B, then restore the backup which will restore the backup of A to slot B.
Changing the slot in TWRP also tells the bootloader to boot that slot.
Warning:
Do NOT switch slots unless you have installed copy-partitions-AB.zip or manually flashed the bootloader on both the slots:
This device comes out of the box with the bootloader installed only on the active slot (eg: bootloader_a).
Once you manually switch slots, your device will use the other bootloader partition (eg: bootloader_b) which is empty because of this factory setup therefore the device won't be able to boot in any way.
For this reason you should install the bootloader on your own on both the slots with fastboot or copy the currently installed one to the inactive slot by flashing copy-partitions-AB.zip at least once.
Note:
Decryption only works when TWRP is permanently installed.
Installation
To temporarily boot this recovery:
Code:
fastboot boot twrp-[B]version[/B]-[B]build[/B]-river.img
To permanently install it:
Temporarily boot TWRP
Put the TWRP image in your external SD Card or, in case you don't have one, push it to /data with adb this way:
Code:
adb push twrp-[B]version[/B]-[B]build[/B]-river.img /data/
Tap Advanced -> Install Recovery Ramdisk -> Navigate to /data or /external_sd and select TWRP -> Swipe to Install
If you previously installed Magisk: Select Fix Recovery Bootloop from Advanced to fix/avoid recovery bootloops
Done! Optionally you can delete TWRP from /data or from your external SD Card now.
Download
AndroidFileHost
XDA:DevDB Information
TWRP for Moto G7, Tool/Utility for the Moto G7
Contributors
Alberto97
Source Code: https://github.com/TeamWin
Version Information
Status: Beta
Created 2019-04-14
Last Updated 2019-07-02
I went insane to figure out decryption was not possible by just fastboot booting the image. I hope the hard work paid off
this is a blessing, i was working on twrp as well but hdd fail and it was music to my ears when it was mentioned this post went up in the tele group. so thanks bro
Awesome. Getting mine today now!! )
Sent from my LG-VS980 using Tapatalk
So here's my experience so far.
Backup, works just fine, afaik.
Restore, System,etc results in bootloop. Data restore, gets "extractTarFork() process ended with ERROR: 255"
Not sure if this is already known but figured id share what ive experienced. also feel free to tell me if im doing stuff wrong, it's been a while since i messed with android more than just using it.
Edit: This is with it perm installed.
Is this for all moto g7 versions
Hello
Very happy to see we now have TWRP. In the interest of avoiding bootloops though, I'll wait to install until it's more stable
BTW, I don't know if you guys get this, but on a us retail Moto g7 (unlocked bl obv) every time I try to boot an unofficial image I get
Code:
Command failed: remote error ' '
Any idea on what is happening?
Awesome!
This is exciting stuff. Can't wait to get busy working on it
sd86 said:
So here's my experience so far.
Backup, works just fine, afaik.
Restore, System,etc results in bootloop. Data restore, gets "extractTarFork() process ended with ERROR: 255"
Not sure if this is already known but figured id share what ive experienced. also feel free to tell me if im doing stuff wrong, it's been a while since i messed with android more than just using it.
Edit: This is with it perm installed.
Click to expand...
Click to collapse
Does flashing work?
Sent from my moto g(7) using XDA Labs
Alberto97 said:
Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.
Unlocked bootloader is required.
​
This device has 2 "slots" for ROMs / firmware. TWRP will detect whichever slot is currently active and use that slot for backup AND restore. There are buttons on the reboot page and under backup -> options to change slots. Changing the active slot will cause TWRP to switch which slot that TWRP is backing up or restoring. You can make a backup of slot A, switch to B, then restore the backup which will restore the backup of A to slot B. Changing the slot in TWRP also tells the bootloader to boot that slot.
Decryption only works when TWRP is permanently installed.
Installation
To temporarily boot this recovery:
Code:
fastboot boot twrp-[B]version[/B]-[B]build[/B]-river.img
To permanently install it:
Temporarily boot TWRP
Put the TWRP image in your external SD Card or, in case you don't have one, push it to /data with adb this way:
Code:
adb push twrp-[B]version[/B]-[B]build[/B]-river.img /data/
Tap Advanced -> Install Recovery Ramdisk -> Navigate to /data or /external_sd and select TWRP -> Swipe to Install
If you previously installed Magisk: Select Fix Recovery Bootloop from Advanced to fix/avoid recovery bootloops
Done! Optionally you can delete TWRP from /data or from your external SD Card now.
Download
AndroidFileHost
XDA:DevDB Information
TWRP for Moto G7, Tool/Utility for the Moto G7
Contributors
Alberto97
Source Code: [url]https://github.com/TeamWin[/URL]
Version Information
Status: Beta
Created 2019-04-14
Last Updated 2019-04-14
Click to expand...
Click to collapse
I followed steps to unlock bootloader, then flashed stock AMZ river. Did a Google restore. Followed steps to install TWRP no issues. Follow steps exactly. Booted into system, no issues. Have not done a backup yet to test. Overall it went perfectly.
Thanks so Much!
Was able to install Magisk through manager. Again all went well and rooted. Successful backup ALSO made through TWRP.
clcombs262 said:
Does flashing work?
Sent from my moto g(7) using XDA Labs
Click to expand...
Click to collapse
I didn't test yet, I'm sure someone will and let us know
Edit: Flashing works, tested flashing Magisk 19 via zip and it installed correctly.
Sent from my moto g(7) using Tapatalk
sd86 said:
I didn't test yet, I'm sure someone will and let us know
Edit: Flashing works, tested flashing Magisk 19 via zip and it installed correctly.
Click to expand...
Click to collapse
Flashing works for me too....
Magisk v19 or v18.1 tho sends me into bootloops. Mind you, I'm running the RR GSI I flashed via TWRP
sd86 said:
So here's my experience so far.
Backup, works just fine, afaik.
Restore, System,etc results in bootloop. Data restore, gets "extractTarFork() process ended with ERROR: 255"
Not sure if this is already known but figured id share what ive experienced. also feel free to tell me if im doing stuff wrong, it's been a while since i messed with android more than just using it.
Edit: This is with it perm installed.
Click to expand...
Click to collapse
Did you restore "system" or "system image"? In the first case It's normal you get a bootloop, you changed the content of the system partition and that triggers verity. You can use "system image" that makes a bit per bit copy of the partition to avoid problems. Obviously that does not work if you manually changed even just a file.
TLDR: Just disable verity, you should be able to do that easily with Magisk.
About the extractTarFork() error instead it's something that I've seen on every device I used TWRP. I never figured out what means, I guess data was not backed up properly but I would not worry about that, it rarely happens. Just to know, did you backup on an external sd or internal storage?
B__B said:
Is this for all moto g7 versions
Click to expand...
Click to collapse
It is for all G7 variants. G7 Play/Power/Plus are different devices and require different builds.
I hope that answered your questione somehow (I'm not sure what you meant with 'versions').
I ment the for the basic g7 and thanks it helps that's what I have
Alberto97 said:
Did you restore "system" or "system image"? In the first case It's normal you get a bootloop, you changed the content of the system partition and that triggers verity. You can use "system image" that makes a bit per bit copy of the partition to avoid problems. Obviously that does not work if you manually changed even just a file.
TLDR: Just disable verity, you should be able to do that easily with Magisk.
Click to expand...
Click to collapse
This can be done with ADB interface as well....
Code:
adb disable-verity
Work moto g7 power??
Alberto97 said:
Did you restore "system" or "system image"? In the first case It's normal you get a bootloop, you changed the content of the system partition and that triggers verity. You can use "system image" that makes a bit per bit copy of the partition to avoid problems. Obviously that does not work if you manually changed even just a file.
TLDR: Just disable verity, you should be able to do that easily with Magisk.
About the extractTarFork() error instead it's something that I've seen on every device I used TWRP. I never figured out what means, I guess data was not backed up properly but I would not worry about that, it rarely happens. Just to know, did you backup on an external sd or internal storage?
It is for all G7 variants. G7 Play/Power/Plus are different devices and require different builds.
I hope that answered your questione somehow (I'm not sure what you meant with 'versions').
Click to expand...
Click to collapse
Internal and thank you very much for the information.
Sent from my moto g(7) using Tapatalk
Do I just flash the standard Magisk zip after installing TWRP? The install process seems to have broken Magisk within Android and it is no longer detected.
Omegapsy said:
Do I just flash the standard Magisk zip after installing TWRP? The install process seems to have broken Magisk within Android and it is no longer detected.
Click to expand...
Click to collapse
Yes, install Magisk after TWRP and yes, Magisk might no longer work after installing TWRP. This happens because of some patching Magisk does to the kernel that gets reverted when you tap on "Fix recovery bootloop".
I haven't had any time to play with my G7 but is there recovery Treble enabled? I'm assuming yes. Has anyone try any of the GSI's for PIe out there? or even the Q beta GSI?

Mi Max 3 6/128 SoftBrick - What to Do?

Hello,
I have a Mi Max 3 6GB/128GB which I got from the UK which arrived unlocked and with Global Stable ROM installed which actually updated to V10.3.3.0.PEDMIXM by OTA - I tested.
fastboot getvar anti shows failed, so I assume no Anti Rollback Protection, which I thought a little strange, it being MIUI 10 with (after OTA) June 2019 security patch.
I spent the last couple weeks setting up the phone to my liking (I have 300 apps installed) and finally finished yesterday.
Then I wanted to uninstall some Google/Facebook/Xiaomi bloatware using the excellent "Xiaomi ADB/Fastboot Tools".
I was pretty careful in my opinion to only remove the safe ones (the tool claims to only show you the safe ones) like Music, Video, MiPay, MiCloud, MiForum, MiSIM and all Facebook in the ADB section of the tool.
The I switched in fastboot and thought it would be a good idea to wipe Cache (nothing else).
Upon restart the Mi Max 3 first shows the black boot screen with unlock written at the bottom, then changes to the normal boot boot screen with MIU and the points at the bottom showing that it is busy booting. It stayed there for a while and I thought maybe it was rebuilding the cache and it took that long, but after 30 min still no luck.
Then I fired up the "Xiaomi ADB/Fastboot Tools" on my PC again and it told me the phone was in ADB mode, I could reboot into system mode, where the same thing happened - no progress in booting.
I cannot turn off my phone either, but I can switch from sastem boot (which gets stuck) into fastboot mode via ADB.
Would someone know what's wrong and what I can do to get my phone out of that bootloop while hopefully maintaining all my data and setups, on which I worked for weeks?
Thank you so much for your help!
P.S .: In case it could help: I could read out the phone properties of the Mi Max using the "Xiaomi ADB / Fastboot Tools" while it was softbricked, meaning the ro. init. persist. sys. and dalvik. values of the smartphone. I am happy to post them here, if requested.
Hi,
Do you have an SD card? If so, remove it, because as you cleared the cache, I think it might be a problem with encryption (lost reference).
In your case, I believe a reset will work again, but you will lose application configuration data. Via ADB you can backup files only.
If you do not have unlock bootloader, be very careful as you will not be able to flash TWRP or others.
Good luck!
Thanks, the phone came from the vendor with Global Stable ROM and unlocked. It may be an unofficial unlock, though I was able to install OTAs.
I don't have SDCard.
How can I do ADB backup?
I was able to flash official TWRP just a few minutes but it couldn't access data, maybe because it is encrypted. Now I think I will try and install latest Orange Fox r10 stable, which I think should be able to handle decryption, so that maybe I will be able to get at my date.
Any other advice?
Hi,
Now that you have TWRP, clear cache / dalvik from TWRP and try starting again, maybe start system.
About copy via adb follows a link below:
https://www.lifewire.com/use-minimal-adb-and-fastboot-4582201
in step 2
"
The command to move files from your computer to your phone is adb push.
To move files from your phone to your computer the command is adb pull.
"
Through TWRP you may also be able to back up. Go to (mount partitions) and select all partitions.
Make sure the TWRP MTP option is on, it will allow the device to be mounted via usb on your computer.
I use TWRP I use nijel8, it works very well.
https://forum.xda-developers.com/mi-max-3/development/recovery-twrp-3-2-3-1-nitrogen-t3866084
If you can't launch system, you will have to reinstall the Rom.
Good luck!
PS.
More help for adb.
https://forum.xda-developers.com/android/help/adb-fastboot-commands-bootloader-kernel-t3597181
Thanks for your advice!
I first used the official TWRP and I was able to flash it and start it.
But then the wipe of cache and dalvik failed.
And I could not mount data etc..
When I tried to repair the file system with TWRP I got error 255 - unable to repair data from fsck.f2fs.
Then I saw in your signature that you use nijel8's TWRP and I read that thread, and I started to understand, that my TWRP errors most likely originate from TWRP not being able to decrypt my partitions.
However, towards the end of the thread it seemed that nijel8 stopped working on that project and then Xiaomi once again changed the encryption in MIUI 10/Pie and so it was recommended first to use an obscure Chinese TWRP and then to move on to Orange Fox Recovery Project, which supposedly can handle the decryption better. So that's what I got and I am just about to install it and see if I can rescue or even repair anything.
If you have any other tips for me, I would be very grateful.
You have explored the possibilities well, at the moment I dont have more options regarding current system recovery / backup.
The encryption error resolves you by formatting the user partition by TWRP, in the option to format f2fs plus the installation of a custom Rom or Xiaomi.eu.
Look for tutorials and other reviews before testing these procedures.
Remember that there is a big achance of your ARB model as well.
Good luck.
PS. You can try dirty flash. Find an recovery Rom same version, and flash via TWRP.

[HELP] XT1794 stuck at fastboot/twrp after infinite boot anim on the latest los16

Hi everyone, I was usually providing help on this forum, now i'm the one desperate for help after some unforeseen consequences.
Bear in mind I'm kind of a noob anyway.
I have seen the message on the telegram groups for our device regarding solving the los 17 problems with the ril and camera. So i have followed the steps. I flashed the last twrp 3.4 by jarl using the official twrp app and then rebooted to recovery, wiped everything beside the internal storage and tried flashing the last los 16 zip.
And then the disaster happened. firstly the log returned error 7 so i've rebooted to recovery again and attempted to flash the same zip again without wiping anything. well the flashing worked apparently but i couldnt boot into it as it showed me an infinite boot animation.
Then i rebooted to recovery and it prompted me with a decryption key request which i didn't set before. I cancelled the prompt and I moved forward and proceeded wiping everything including the internal storage thinking that was the problem. Maybe it was maybe it wasnt, now I'm no longer prompted by any decryption key, but I was hoping i could connect to my pc through mtp, transfer some zips and flash some functional rom. Even though I enable mtp and my pc detects the phone I can't access any storage nor the internal, nor the sd card.
I tried going through multiple versions of twrp as i can still access my bootloader and i can still flash recoveries through fastboot but i feel that i'm stuck and I dont know what i should try anymore.
Before trying all this I was on an older build of los16 with the oreo firmware.
First of all, use this TWRP: https://build.twrp.me/twrp-3.4.0-0-montana.img
Second of all, do not flash TWRPSARer (if you did). Make sure the LOS16 zip isn't corrupted (which normally causes error 7), then format system, data, cache, vendor and dalvik. Reflash LOS16 and boot
JarlPenguin said:
First of all, use this TWRP: https://build.twrp.me/twrp-3.4.0-0-montana.img
Second of all, do not flash TWRPSARer (if you did). Make sure the LOS16 zip isn't corrupted (which normally causes error 7), then format system, data, cache, vendor and dalvik. Reflash LOS16 and boot
Click to expand...
Click to collapse
I wasnt using the twrp sar, i was using the exact version you linked. And I can't flash any rom because i cant get the zip inside my internal memory.
You can try using adb sideload. adb sideload path/to/zip
worked like a charm. thanks a lot, Jarl.
And this, is the story of someone who didn't want to wait long enough for the ROM to boot
Nah JK, but long boot-times normally = Force Encrypt Enabled
Some random said:
And this, is the story of someone who didn't want to wait long enough for the ROM to boot
Nah JK, but long boot-times normally = Force Encrypt Enabled
Click to expand...
Click to collapse
it might have been the problem, but if it is it should be a disclaimer for that on the los16 page. the boot time is way longer than the usual.
Aythriel said:
it might have been the problem, but if it is it should be a disclaimer for that on the los16 page. the boot time is way longer than the usual.
Click to expand...
Click to collapse
Yes, I'll make sure to note that

TWRP 3.5.2_11.0 for Oneplus Nord N100 (Android 11)

Test version of custom Team Win Recovery Project version 3.5.2_11.0 for OnePlus Nord N100 (Android 11 Only).
Everything works, except for:
MTP, .img firmware (for this you need to flash the full super.img image) and decryption of the Data section.
If anyone can modify this version of the recovery, we are very grateful to the future.
In the meantime, whoever wants to test or try it out, an image will be attached to the post. You can both boot (fastboot boot twrp.img) and flash (fastboot flash recovery_a twrp.img and fastboot flash recovery_b twrp.img).
I ask you to answer about all the problems found and write either to me personally or in this topic.
Is there any newer version of this? i find this one freezes the phone a lot. thanks
I ran this TWRP for the OnePlus N100 in fastboot and it worked but I can't see any files. I've installed Android 11.
I'm trying to install Magisk zip but in TWRP I only see the folder tree and no files.
Do I need to install TWRP and not just run it from fastboot?
If I need to install it do I pick slot a or b or both?
Thanks for any help.
onlycash said:
I ran this TWRP for the OnePlus N100 in fastboot and it worked but I can't see any files. I've installed Android 11.
I'm trying to install Magisk zip but in TWRP I only see the folder tree and no files.
Do I need to install TWRP and not just run it from fastboot?
If I need to install it do I pick slot a or b or both?
Thanks for any help.
Click to expand...
Click to collapse
do not install it. I installed it and it bricked my device. I needed to flash the stock recovery.
Halphix said:
do not install it. I installed it and it bricked my device. I needed to flash the stock recovery.
Click to expand...
Click to collapse
It installed fine on my BE2013. Not extremely useful without the missing features though.
thomaskmaagaard said:
It installed fine on my BE2013. Not extremely useful without the missing features though.
Click to expand...
Click to collapse
Can you install Magisk zip with this TWRP on your BE2013?
.
onlycash said:
Can you install Magisk zip with this TWRP on your BE2013?
Click to expand...
Click to collapse
Honestly I haven't even tried flashing anything because I already have magisk and i had some issues with safety net that I didn't want to risk having to fix again.
thomaskmaagaard said:
Honestly I haven't even tried flashing anything because I already have magisk and i had some issues with safety net that I didn't want to risk having to fix again.
Click to expand...
Click to collapse
How did you install the Magisk zip file?
.
onlycash said:
How did you install the Magisk zip file?
Click to expand...
Click to collapse
I didn't. I patched firmware boot image and flashed through bootloader. However I just tried flashing from TWRP.
I put the zip on external SD because this version doesn't support decryption of data partition. I then entered the "mount" menu in TWRP and mounted external SD and then tapped "select storage" and selected external SD.
You should be able to flash it now. It didn't give any errors, but i didn't uninstall magisk first so don't know how well it actually worked.
I also don't know if you can do anything without external SD or without root access already.
thomaskmaagaard said:
I didn't. I patched firmware boot image and flashed through bootloader. However I just tried flashing from TWRP.
I put the zip on external SD because this version doesn't support decryption of data partition. I then entered the "mount" menu in TWRP and mounted external SD and then tapped "select storage" and selected external SD.
You should be able to flash it now. It didn't give any errors, but i didn't uninstall magisk first so don't know how well it actually worked.
I also don't know if you can do anything without external SD or without root access already.
Click to expand...
Click to collapse
Thanks.
That's very interesting...
You've given me a few good ideas.
I'll report back and let you know if it worked.
.
onlycash said:
Thanks.
That's very interesting...
You've given me a few good ideas.
I'll report back and let you know if it worked.
.
Click to expand...
Click to collapse
If you go with the boot image method I wouldn't mind helping you out.
thomaskmaagaard said:
I didn't. I patched firmware boot image and flashed through bootloader. However I just tried flashing from TWRP.
I put the zip on external SD because this version doesn't support decryption of data partition. I then entered the "mount" menu in TWRP and mounted external SD and then tapped "select storage" and selected external SD.
You should be able to flash it now. It didn't give any errors, but i didn't uninstall magisk first so don't know how well it actually worked.
I also don't know if you can do anything without external SD or without root access already.
Click to expand...
Click to collapse
I had high hopes...
I fastbooted the TWRP, I didn't install it but I don't think that would make a difference.
I put the Magisk zip on the external SD card and from within TWRP I had no problem mounting the SD card but I still couldn't see any files, just a folder tree, and every folder empty.
When you run TWRP and mount the SD card can you see the files within the folders on the card?
.
onlycash said:
When you run TWRP and mount the SD card can you see the files within the folders on the card?
Click to expand...
Click to collapse
Yes. It is important that you tap "select storage" and select "micro sd". After i did that i entered "flash" and immediately saw folders and zips on my external sd. In file manager i could see all files and even deleted some from there.
From root directory it's in /external_sd not in /storage.
Edit: Even though i also don't think installing TWRP makes a difference, i don't know if that's the case.
I should mention i used "fastboot flash recovery xxx.img" not "... recovery_a" or "... recovery_b".
I don't know if this changes something with access
Honestly patching boot image is probably less of a headache. I can even send the images pre-patched if you want. Just one fastboot command
I'd need to know your phone variant and update version.
thomaskmaagaard said:
Honestly patching boot image is probably less of a headache. I can even send the images pre-patched if you want. Just one fastboot command
I'd need to know your phone variant and update version.
Click to expand...
Click to collapse
Well, I don't think you have the file I need.
My N100 is a model BE2015, build number 11.0.1BE82CF
I just fastbooted TWRP again and I'm mounting and selecting external_sd but still zero files.
If I flash the TWRP with "fastboot flash recovery xxx.img" is there a way to reverse it if I ever need to?
Again thanks for the help.
.
onlycash said:
My N100 is a model BE2015, build number 11.0.1BE82CF
Click to expand...
Click to collapse
Well that might be the problem. That's a carrier locked phone, right? I'm not really familiar with those. I just know they are complicated to mod.
Not sure if you'll even be able to flash recovery and I'm surprised you can fastboot boot. But in theory, (at least on unlocked phones) if you can flash TWRP, you can flash stock recovery from firmware package.
I saw a quite extensive and fairly complicated guide to fully unlock a carrier phone here on XDA, but don't know how well it works or if you have followed any of these steps.
Edit: Also found this, looks like it works with your device: https://forum.xda-developers.com/t/...l-to-restore-your-device-to-oxygenos.4245499/
thomaskmaagaard said:
Well that might be the problem. That's a carrier locked phone, right? I'm not really familiar with those. I just know they are complicated to mod.
Not sure if you'll even be able to flash recovery and I'm surprised you can fastboot boot. But in theory, (at least on unlocked phones) if you can flash TWRP, you can flash stock recovery from firmware package.
I saw a quite extensive and fairly complicated guide to fully unlock a carrier phone here on XDA, but don't know how well it works or if you have followed any of these steps.
Edit: Also found this, looks like it works with your device: https://forum.xda-developers.com/t/...l-to-restore-your-device-to-oxygenos.4245499/
Click to expand...
Click to collapse
Let me start by saying my phone is both SIM unlocked and bootloader unlocked.
The post you linked is talking about the same phone as me but the last post in that thread has an ominous post from someone on Android 11 bricking after trying that. I'm not sure if that works if you're already on 11.
I still can't understand why the TWRP can't see files on my SD card. I think the two missing elements are the fact that you have TWRP flashed to your phone and you're rooted already.
I really can't understand why being rooted would have anything to do with TWRP seeing the files on the SD card so I'm leaning toward it being flashed that's the difference.
I would like to try flashing TWRP but I'm still unsure how, plus I'm guessing I have no recovery if that goes awry.
If I could just get the zip fashed it should patch my boot.img and give me root fairly easily.
Does anyone have any suggestions as to ways back if the TWRP flash goes bad plus just what command do I use to flash it and what happens to the other slot?
.
Okay, so...
I have now tried flashing stock boot and stock recovery on both a and b, verified no root access, then trying "boot twrp.img"
Still able to see files on micro sd.
I then attempted to flash magisk zip to verify this method working.
Didn't seem to work at first, but i think this was due to me messing something up with active slot. Fastbooted into twrp again and flashed magisk again and it works.
So, in short; This absolutely works on a BE2013, but this recovery might not play well with your BE2015.
OP asks about potential problems so maybe you'll have luck messaging him and you could investigate together? Just a suggestion.
I'm sorry, but I really don't know how to help with that model. It's problematic that there's no firmware payload available. If you find one or if you can somehow dump the boot image from the phone then I'd be optimistic and happy to help any way I can.
onlycash said:
How did you install the Magisk zip file?
.
Click to expand...
Click to collapse
I have the BE2011 model. Useful on this variant?

Flashing custom ROM assistance

Hi I've been away from the aftermarket ROM game for a while and I'm having a bit of trouble installing. Can anyone link to some instructions. All i could find was the ones posted by the Lineage Team but i am unsure if they are universal instructions or if they are only for Lineage. Some assistance would be great!
So details of what I've tried thus far:
Flashing from recovery (i assume this method is pretty much legacy at this point) -
reboot to recovery
factory reset
flash rom
While attempting this method I was unable to find a way to get the ROM zip on my device in an accessible fashion do to encryption, adb push never completeing, unable to mount external storage, and MTP not allowing me access to internal storage. (this is all with TWRP version 3.6 and 3.5 (the two newest as of this post))
ADB sideload -
Booted into TWRP and started the sideload channel
ran adb sideload <zip file>
this just sits and never progresses
I am using the adb and fastboot versions listed below:
ADB - 31.0.3
Fastboot - 31.0.3
I am also running Linux, I have tried using USB 2.0 as well as 3.0 (both had the same results). I have tried different cables (also same results).
Please let me know if any more information is needed to figure this out.
Thanks.
Some roms are designed to flash from fastboot, others from recovery.
Also, TWRP's failure to decrypt should only apply to Android 12 roms - but for those you'll need to format data (after a backup of course).
So tell us which rom you want to flash. Also see the rom's thread - generally, other users will have faced the same problems.
runekock said:
Some roms are designed to flash from fastboot, others from recovery.
Also, TWRP's failure to decrypt should only apply to Android 12 roms - but for those you'll need to format data (after a backup of course).
So tell us which rom you want to flash. Also see the rom's thread - generally, other users will have faced the same problems.
Click to expand...
Click to collapse
Sorry for the late reply, at the time I had just went back to the OS is was already running simply because they have a script to handle install. Though Right now I really want to at least go back to LineageOS, CalyxOS (the ROM on running now) is just too restrictive.
I know I've had issues installing LineageOS before and at that time I found away around it to get it installed but I don't remember what I did...
So this is what happens I When following the instructions here I always run into issues gaining access to the zip file in recovery/sideloading via ADB. I think last time I installed it I was able to boot to Lineag Recovery and sideload from there but sideloading in TWRP doesn't seem to work for me. and If I try to access the zip from TWRP (to flash in recovery) it's never there or errors out.
I think im going to try again today and will post any errors.
So i just remembered I can adb push and access an external drive while in slot_b but not slot_a.
Edit: NVM cant adb push on either slot in TWRP
So I just installed Lineage Recovery but sideloading doesnt progress at all just sits at verifying signature. I'll post in the lineage thread and post back here if I figure it out.
ok figured it out. Had to place the zip on an external drive, make sure my phone was in Slot A, boot TWRP, mount the external drive and flash from there, I got a few errors saying it couldn't mount /Vendor but it seems to work
deathblade said:
ran adb sideload <zip file>
this just sits and never progresses
Click to expand...
Click to collapse
Try connecting the phone through a USB hub. I had the same issue and this was how I resolved it.

Categories

Resources