Havoc OS 3.8 for Xiaomi Redmi 8A (Olivelite) - Xiaomi Redmi 8A Guides, News, & Discussion

Hi all,
please find attached the Havoc OS 3.8 custom ROM, Olivelite version, and Magisk 20.4 which you will need for installation also.
I am neither the creator of this ROM or anyhow involved with the team, nor do I take any responsibility for everything which might go wrong during installation.
How I got it to work:
1. Unlock your boot loader (you will find appropriate instructions here in the forum and elsewhere on the web, also on YouTube).
2. Ensure that you have the XiaoMi Flash tool and the latest stock rom available, to be able to recover you phone when you encounter issues.
Both can be found on the Xiaomi website.
3. Get the "minimal ADB and Fastboot" tools. You will find in the web.
4. Get TWRP (you will find out what this is and why you need it here in the forum). Take care that it is a version for your phone model, else worst case it will not work.
5. Put the attached files to an external SD card in your phone.
6. install TWRP. Boot into "Fastboot" mode and install TWRP with command "fastboot flash recovery twrp.img".
7. Boot into recovery mode - if yoiu did everything right, should be TWRP now
7a. Wipe - Format data - confirm with "Yes", then go back to main menu
7b. Wipe - advanced wipe - select all except the last 2 (expecially NOT "external SD" if you put your files on there),
go back to main menu
7c. Install - select location where you've put the "havoc 3.8 update.zip" and select the file, afterwards wipe Cache / Dalvik (TWRP will give you this option after install), DO NOT REBOOT
7d. Install - select location where you've put the "magisk v20.4.zip" and select the file, afterwards wipe Cache / Dalvik and then reboot to system.
Now, hopefully, congratulations and enjoy
If something happens and it will not work at all, search the web first for solutions and, if still does not work and you do not get along with it, do not worry. You can always go back to the Xiaomi original ROM with the XiaoMi Flash Tool. Phone must be in "Fastboot" mode for this. In the flash tool, select your ROM location (ideally in the root of your drive as this tool cannot interpret spaces in paths), then confirm and ensure that you have ticked "Clean all" in the bottom, NOT "clean all and lock" - else you will have to do the unlock procedure again.
Sometimes, you need the "permissiver v5.zip" which you will find on the web. In case the above does not work, you can try to install the Permissiver. I never needed it, and I'm using 2 Redmi Olivelite.

I just tried this and had a success message from TWRP about the Havoc 3.8 flash but the Majisk file had an error from within TWRP first time & then it installed after reboot. But I still go straight into TWRP after rebooting.
Right now I have TWRP on the device & a micro SD card to get files onto the device but no OS on it & no backup as one way or another I want a ROOTed OS & it was the Chinese version when I got the phone so useless to me anyway.
What's the best approach from here to get this thing running again?

Thanks!!! Thanks!!! Thanks!!! after trying to get a GSI rom run on my daugthers olivelite i finally got a new rom working. I don't know why last guides didn'twork for me actually a recently requested a boot.img patch but i managed to patch it myself after dealing with python. Now will try to update it to 3.12 i suppouse it iwll have many improvements. But this worked right out of the box for me. Just followed each step and good to go.
For anyone interested. its de 2Gb/32Gb Global Version. with 12.0.3 latest MIUI updated applied trough fastboot. I used OFOX to test it and it worked fine by now.
If you have guide to update HAVOC please point me in the right direction.
Thanks again

I got off .Havoc precisely because it did not have voLTE support & BT HS 's didn't work. Has anyone had any luck on these 2

I absolutely thank you for this rom, I can now miraculously play Asphalt 9 on high settings at 30ish fps while on miui it struggled on lowest settings, the UI is flawless but I only have one problem I can't send nor receive SMS and the phone sometimes reboots randomly but that cannot make me go back to miui since it's too heavy for my phone.
IS THERE any fix for not being able to receive or send SMS

I have a black screen [FIxed by installing OrangeFox recovery]

Related

[Q] Unable to flash Chinese base ROM over ROW - SOLVED, HOWTO added

Hi,
After a frustrating few hours, I've decided to give in and ask for help.... I've read just about every thread on this and other forums and just cannot get what I want.
The basics:
I have a new 4GB model, which appears to be chinese (chinese battery markings) and post the change to preloader - date on battery is 140418
Rather strangely, the ROM it came with was listed as 'P780_ROW_8G_S223_140901', even though the free storage, etc. showed that it was a 4GB model....
Following one of the excellent guides on here I managed to install TWRP and root it, even after the OTA update to S224 came through.
All fine, except that I found the UI a bit laggy coming from a Samsung S4 Active, so I thought I'd go to AOSP or similar.
This is where I have run into a brick wall. I've got SLXrom on there and it runs nicely, but I really wanted some KitKat goodness, and all the AOSP KK roms I can find (on Needrom, etc) require flashing over a Chinese base ROM.
I've spent several hours trying every combination of ROM and flashing method, and have completely failed to get a CN rom booting on my phone....
What I've tried already:
1. SP Flash Tools v3.1304.0.119 (Other version won't even try)
2. The linked 'stock' roms from another thread on here - P780_S135_130917_rooted_twrp_gapps and VIBEUI_V1.5_1419_5_DEV_P780_rooted_twrp_gapps
3. Changing the preloader.bin file for the later one for the newer phones
4. Flashing SLXROM_v26-Lenovo_P780-KIT(CN) from TWRP (says successful but never boots - blank screen only)
I know the drivers, etc. are installed correctly because I was able to flash TWRP via SPFT - but any of the above give me a 'BROM ERROR: S_FT_READBACK_FAIL(4009)' error.
I did have to use an altered scatter file to flash the recovery, but I tried the same modification with the ROMS and no success.
From what I understand, the main difference between CN and ROW roms is the partitioning, so I'm assuming that this is somehow at the bottom of the issue. What I can't find is the solution.
Couple of things I noted while trying:
1. Any flashing of a CN ROM would cause TWRP to not see the data partition - reflashing the Aroma partitioning app someone from here provided (thanks!) corrected that...
2. After flashing failed, Windows would give me a 'usb device failed' message on next plug in - pressing the reset button on the phone solved that.
3. None of the flashes destroyed TWRP, so I am guessing that they did not successfully flash even the recovery image. (not sure what order they are done in)
Can anyone give me any pointers to try now? Should I be able to flash a CN ROM from TWRP (English)?
Would getting a Chinese version of the recovery on there be a way forward? I did try that but again flashing failed.....
None of this would be an issue if there was a AOSP KK ROW build, but perhaps there will be one soon and I should just wait for that?
Any thoughts welcome - I've given up for the night because I was in danger of throwing the damn phone across the room!
Gavin
Solved
Okay, I finally managed it, with a lot of research, cursing and luck!
In case anyone else runs into the same issue, here are the steps I took - I'll try to upload the files I used to this post later.
FIRSTLY: MAKE SURE YOU HAVE A BACKUP, PARTICULARLY OF YOUR IMEI AND NVRAM - MTKDroidTools is the best way to go, there are other threads on it.
It may not be necessary, but if it is, don't complain when you cat explodes and you spiral into a world of gloom and doom - BACKUP FIRST!
The key was finding a CN ROM that could be flashed using SP_Flash_tools on to a phone that has a ROW ROM on it. For my device at least (post April 2014 bootloader Chinese 'speed' version), none of the ones linked on here would work....
However, I found one on 4pda.ru that does work - The page is in Russian, but Google Translate does a reasonable job.
The page is here, but the direct link to the file is here The ROM in question is 'VIBEUI_V2.0_14​37_7.14.1_ST_b​y_sadist_v1.zi​p'
I also downloaded SP_Flash_Tool_v5.1352.01 from the same post, which worked for me, though other versions may work....
Pre Requisite Steps:
1. Make sure drivers are installed properly for the preload bootloader
2. Did I mention making a backup?
3. Extract the ROM zip to a suitable location
3. If your phone is one of the Chinese models after April 2014 (The date is on the battery on mine in the form: 140414), then replace the preloader.bin file in the ROM download with the 2014 version from here
4. Choose a suitable ROM for your device that can be flashed through recovery - There are several on NeedROM, personally I went with the AOSP-4.4.2-fix-PYRO_LS from here. Place this ROM on your SDcard so it will be accessible from the recovery.
5. Turn your phone off (do not plug it in yet)
6. Run SP_Flash_Tool_v5.1352.01 from the extracted file.
7. Click 'Scatter-loading' and browse to the ROM folder then load the MT6589_Android_scatter_emmc.txt file
8. Choose 'firmware upgrade' from the drop down list and make sure that all the files are ticked and the location field is filled in
9. Click 'Download'
10. Without turning your phone on, plug it into to your USB port.
11. The files should start downloading (First a red completion bar, then through various colours)
12. Wait until you get a green circle to show the download has worked. If you don't, then check the above steps again very carefully.
13. IMPORTANT - unplug the phone, then start it, while holding both up and down volume keys together. This will force it into TWRP. If you don't do this and let it boot into the ROM, then the original recovery will be reinstalled and you will have to start again.
14. You should get the 'Teamwin' logo, and then be in TWRP. It is the chinese version, but should be in English so no changes or translation needed.
15. Do a wipe (Not sure if this is essential but I did it) - The standard wipe is enough
16. Go to install and choose the zip you put on the SDcard earlier
17. The install should complete successfully. You may find it best to do another wipe (only minimum) here though I didn't.
18. Reboot and you should boot into Stock Android 4.4.2, with a few additions (Superuser is already installed - Lenovo Power Manager is added, etc.)
19. Choose your language and set up as you wish
20. Bask in the glory of a job well done.....
Troubleshooting:
If your phone does not flash correctly in step 11, don't worry. Make sure you have the correct files selected in Flash tools, and replace the 2014 preloader.bin if you forgot.
Press Download in SP Flash Tools again
Leave your phone plugged in, then take off the back and press the red reset button once. your phone will turn off, and then when it starts up it should immediately be detected and start flashing again.
If you never get the RED bar, then the drivers are not properly installed, so make sure that is done first. If you are on Windows 8, you will likely need to reboot into Advanced startup mode and disable Signature verification. There is a post on installing drivers that explains...
Hope that helps someone else avoid the hassle I went through. So far everything seems to be working fine and I have KitKat goodness without the Lenovo bloat. It definitely seems snappier and I can add the tweaks I want with Xposed.
If you like some of the Lenovo Apps, they do seem to mostly install and work fine on Stock Android, including the widgets. Props to lenovo for not needing their own launcher to work them!

Redmi Note 3 SD (Kate). Flash Custom ROMs without having to unlock boot-loader???

Hello all,
First off, please note that I'm fairly new to XDA, but an android enthusiast never the less. Managed to brick and then un-brick a few devices via tutorials and a bit of (brainy ) improv, that's all.
!!!DO NOT BLAME ME FOR ANYTHING THAT HAPPENS TO YOUR DEVICE, I'M ESSENTIALLY A NOOB, YOU MUST KNOW WHAT YOU ARE DOING BEFORE DOING IT. YOU HAVE BEEN WARNED !!!
Moving on, I own a kate variant, (NOT the Kenzo variant) of Redmi note 3 Snapdragon device >> http: //en.miui.com/thread-299743-1-1.html (remove the spaces between ":" and"//")
I didn't know it was kate at the time of purchase, I have no regrets tho.
I searched all over the net for methods of flashing a custom rom (CyanogenMod ) on this variant.
Regardless of what variant it was, UNLOCKING THE BOOT-LOADER was persistent in all the tutos i came across. This was really the biggest hurdle for me. Unlocking the boot-loader unofficially could cause complications whereby only SafeTWERP is adviced to be flashed and used. So I applied for official unlocking method; and you guessed it right.......stuck at 50% . It was the same after 10 days on the global dev ROM MIUI 8.
I finally resorted to unofficial method for unlocking the boot loader. It worked! But flashing twerp afterwards resulted in a boot loop. "adb reboot edl" command via ADB while in fastboot mode and then flashing the global stable via MiFlash tool helped me pass that horrid screen. But the boot loader got re-locked and no custom recovery, essentially back to square ...... 0
A couple o'days later, I came across this tutorial by Michael Warner at his blog "Mike's Tech Life"
http: //mikestechlife.blogspot.com/2016/10/installing-cm13-on-xiaomi-redmi-note-3.html
(remove the spaces between ":" and"//")
and it worked!!! YESSS !!!! :victory:
Long story short.....
****PLEASE DON'T READ THE FOLLOWING STEPS BEFORE COMPLETELY READING AND UNDERSTANDING THE GUIDE POSTED AT MICHAEL'S BLOG AT "MIKE'S TECH LIFE" !! YOU MUST KNOW WHAT YOU ARE DOING, BEFORE DOING IT!!
ONLY YOU, AND NO ONE ELSE WILL BE RESPONSIBLE FOR ANYTHING GOOD, OR BAD THAT HAPPENS TO YOUR DEVICE.****
Just download Alka TWRP, rename it to "recovery.img" from "recoveryalka.img" >then>
>> copy renamed file and replace it with "recovery.img" found in the "images" folder of EXTRACTED fast-boot rom >then>
>> Flash modded ROM via MiFlash while in EDL mode >then>
>>reboot straight to (recovery) TWRP(alka) > change language to english >swipe to allow modifications> reboot> system> swipe to allow disable>allow the phone to boot up> set up the phone minimally >then>
>> place downloaded/desired .zip files (nightly CM build, open Gapps and Kate radio files) to sd or internal storage > then>
>> reboot to twrp recovery again>backup> select all partitions> swipe to initiate backup> wait for completion> store the backup in a safe place > home button of twrp >then>
>> wipe>advanced wipe> check everything except "internal storage" and "MicroSDcard"> swipe to wipe> go back to home screen of twrp >then>
>> install> navigate to previously placed .zip files in sd or internal storage > swipe to flash/install .img/.zip files in the following order> ROM .zip file first, open gapps second and kate radios lastly >then>
>> reboot>system>swipe to allow disable>phone reboots.
cm should start within 10 - 15 minutes, may take longer. You are now done with flashing cm successfully.
****TROUBLESHOOTING****
Near the last stages of his tutorials ( when booting into recovery for very the first time, on moded miui rom )Michael clearly explains :
"It is important not to flash CM13 at this stage - the phone needs to boot up initially to correctly size the internal storage.
"
I didnt follow it(flashed CM straight away :silly: ) and the result was 7 gigs of internal storage and 25GB locked away for the os .
Cyanogen Mod booted fine ( I didnt notice it untill later ). But in my attempt to fix this issue, I flashed a completely stock, stable miui 7.5.2.0 version. Ended with Boot loops
I got past that by flashing the modded fastboot stock rom (which you can come up with easily whilst following his guide,it's basically the same ROM except, for the fact that it has the alka twrp custom recovery instead of stock recovery) and flashed it via MiFlash on EDL mode.
Then I booted straight into (recovery) TWRP(alka) (before anything else could've happened)> selected language to English > swiped to allow modification > reboot > system> swipe to allow disable stock recovery replacement>>> if phone successfully boots, storage partition sizes are fixed, if boot-loops, try again,
If you made it eventually, check the [settings > storage] right after you set up your device.
in my case, kate rebooted and twrp fixed the partition sizes back to normal state in the process
. I then flashed CM via twrp followed by open gapps (ARM 64 6.0.1 Nano) followed by Kate radios available from Michael's blog. Phew! ..
In essence, i suppose locking the boot-loader wasn't a smart move Xiaomi made by ANY means; and to make matters worse, they have an idiotic unlocking procedure to support their idea of "security" With Michael's help, I managed to flash a custom ROM (many custom ROMs in fact), without having to unlock the boot-loader, AT ALL.
It goes without saying that all credits belong to Michael.
All the attention from XDA moderators and devs for making this post better, more relevant and useful, or entirely moving it under the correct category/topic is welcome and highly appreciated.
Since this is my first large post at XDA, take it easy folks? :highfive:
---------------------------------------------------------------------------------------------------------------------------------------------------------------
My Requests/Questions for devs: I understand CM 14 /14.1 is WIP, I also heard rumors that devs are going to add official support for kate variant. can anyone, please give me a solid verification that CM 14.1 will be available to kate/kenzo devices like cm 13 is; and not just be a project that'd be dropped in the middle of development. Also, please don't stop coming up with new roms for this device anytime soon! I love all your work!!
Thanks!!
I also have the kate version. Rushed to install kenzo roms, succesfully unlocked it, rooted it and sandly lost my sim radio în the process. Only way to restore is an EFS backup of the device.

Understanding rooting and rom'ing

So I got my shiny new device today, and it feels really nice. I worked with the launcher it came with, tried another one, and realized that yep, I gotta root and install a new rom. The notification bar just annoys me too much as I'm used to having quick actions and other things in there.
So, I followed a few guides, and finally worked my way through to having my command line find my device and can successfully reboot it into fastboot mode.
At that point, I realized that I can boot into recoveries without flashing them first (essentially trying them out to see how it works). However, I tried the 4 official version on the twrp site, and one made by a user here (cuoco92). They all successfully boot into the recover using the command "fastboot boot nameOfFileHere.img". At this point, every single recovery failed to respond to touch and volume presses. I can press the power button to turn off the screen, and pressing power to turn the screen back on shows a locked recovery screen, but I can't slide the screen to unlock it.
This is quite concerning to me. I don't want to flash a recovery for good if it's not working properly. I hope this makes sense. Or, is it normal to just flash a recovery and hope for the best? Do recoveries work with just booting to them without being flashed?
I haven't rooted and/or flashed any devices in about 5+ years, the last being a phone from virgin mobile that supported sd cards. When installing new roms, do we store the zips in the root of the phone, or does this get cleared out/deleted when doing the wipe cache/dalvik/etc?
Personally, I just want to make sure I don't rush into this, as there seems to be fragmented results when searching around for twrp not working with touch. I know these things have been asked before plenty of times, and I hope I don't come across as another "ugh, this again" post. I really appreciate any responses!
you never did, then just leave it as it is...its a nice phone eui is not bad... take it easy
Try booting the official TWRP recovery. As far as I remember, some of the versions tweaked by Cuoco92 had issues with the touch panel.
Anyway, EUI is not that bad, as your were told. While I used it, I also used an app called "Notification Toggles", which lets you get Quick Settings like toggles on notification area. It's nice and easy to set up, and the results, although not the same as having the AOSP toggles, is quite nice and convenient.
BTW, which stock ROM did your phone come with?
I have tried 4 different official twrp files (all from the twrp site). My phone is an x820 6gb/64gb and came with EUI version: 5.8.019S (Stable). EUI is nice, very fast and sleek. Maybe I do just need to get used to it, or maybe it's just me itching to try out the different options available since I finally have a phone is not carrier/manufacturer locked down.
Heyyo, hmm that's very odd indeed! I wonder if maybe by temporary booting Cuoco92's TWRP it could have messed up your recovery hmm...
I'd recommend first to flash the stock recovery over your current one and then reboot to fastboot and then flash TWRP. Hopefully this will erase any problem that Cuoco92's recovery could have caused.
This was the guide I followed and it worked flawlessly for me
https://forum.xda-developers.com/le-max-2/how-to/protocol-backup-stock-rom-flash-stock-t3517151
I never actually flashed any of them. I have only ever just tried booting into them using "fastboot boot recovery name.img". I have not used the fastboot flash command for any of the files.
The only thing I can do after booting the recoveries is hold the power button and eventually the phone will boot up normally.
Remember that I just wanted to boot them to make sure they worked before flashing them. I'll be checking out the guide you linked shortly.
Haven't flashed any of them eh? Hmm should work just fine then... Have you tried TWRP 3.0.2-0 ? I know that one was built with Marshmallow sources
As for which ROM to try? I'd recommend OmniROM if you want to try a custom Nougat ROM.
If you want to see why I think so? I made a massive post or two about it here heh
https://forum.xda-developers.com/le-max-2/help/party-rom-best-help-t3691165/
Thank you so much for the guide you linked. I'm making a little bit of progress here.
I found a twrp recover by cuocos92 that is labeled V3 (apparently from what I read in other threads, V3 seems to be good with the 6gb/64gb models). This recovery allows the use of the touchscreen . Remember that I am only using the "fastboot boot" command so no flashing yet.
Now that I am in a working recovery, I kept hitting "keep read only" so that the stock recovery would not be replaced. I set out to make a backup. Well that kept failing with attempts of trying to mount /system and such. Off to more reading, found out that using the Wipe->Swipe to Factory Reset inside twrp fixes this. I did that. I successfully created a backup.
Now to try to flash the SuperSU zip I have, which was previously copied to the root of the phone from my pc. Can't see any zip files on the internal storage. Reboot the phone (forgetting that it takes a long time after the wipe). Copy the backup to my pc. Copy the SuperSU back to root of phone. Restart the process of adb and fastboot -> back into the cuocos92 V3 recovery. Still no zip to be found. Couldn't mount system again...
Did some more reading. I just attempted the Wipe->Format data. I am currently rebooting back into the phone to set it up again. Apparently, a lot of people say this needs to be done if we did not reboot after unlocking the bootloader. Since twrp has been asking for a password each time I entered it, the format data is supposed to solve this.
I'll edit/post again with more steps or results.
I apologize for the second post here, but this seems more than should go into an appended edit:
After doing the Wipe->Format data, it's advised to reboot back into the recovery. Without flashing the twrp cuocos92 recovery, my thoughts are it would just be back into the stock recovery. At least the twrp version works, so I have no problems with flashing it. And then I'll have to Wipe->Format data again, reboot back into recovery, and then I can flash my SuperSU zip. But how can I get my SuperSU zip on the phone?
Doesn't Wipe->Format data remove it? Everytime I reboot my phone after that the SuperSU on the root of the phone is gone. I can't seem to mount to my pc from the recovery either, clicking the usb storage just unchecks itself right away, and clicking the enable MTP doesn't seem to do anything. So, even if I flash the recovery, Wipe-Format data again, reboot back into the recovery, I still don't see a way of getting the SuperSU zip onto the phone anyways.
I know it probably sounds like I'm whining by now about how things aren't as easy as it seems. I'm trying to be descriptive in what I am doing and what's happening.
Hmm by chance are you using Windows 10? At least I've noticed for me it fails to properly mount the correct drivers for ADB and MTP for TWRP. I'd recommend checking device manager.
If I remember correctly here's what mine looked like at first
https://photos.app.goo.gl/wXaqbi3OeH3bKEf62
Select MTP > update driver > browse my computer > let me pick > (standard MTP Device) > MTP USB Device
Sorry I'm not in front of my PC but I'm sure it's something like that to solve it
If that doesn't work? You can always use...
Code:
adb push ROM.zip /sdcard
Which will copy the zip file to the root of your data storage (on the Le Max 2 much like the One Plus 3 they use /Sdcard as a shortcut since we don't have external Sdcard hardware).
As for system read only? Swipe to allow modifications. Can't flash a ROM properly if the system is read only eh? Hence the failed to mount system.
It's really just there as a disclaimer to cover their ass in case people use TWRP improperly and brick their device. Following green man gaming's guide is safe as I've used it plus many other people as you'll see in his replies
I'd also recommend following the guide and flashing TWRP to your recovery. I only did boot recovery image for backup and then booted to EUI and copied that backup to my PC.
Format data is handy to get rid of encryption and also give you full access to your storage capacity because when I didn't before I didn't get 54.43GB of data storage only something like 40GB.
Tbh I haven't used any custom EUI ROMs but if you're fighting with TWRP? I know Cuoco92's eui has a fastboot installable version
Hope this helps
Well thank you so much for the information. I am running windows 10, but never saw mtp under portable devices, only the phone name Le Max 2. That's ok, as I booted (still not flashed) into recovery and this time I swiped to allow modifications. I still couldn't mount /system but I was able to use the adb push command and the SuperSU file appeared inside the /sdcard directory when looking under Install inside twrp. I swiped to flash the zip, then hit reboot system. Looking in the SuperSU app, I noticed that the setting "Install SuperSU into /system" is greyed out. Well, at least I think it worked.
At this point in time, since things appear to be working, I'll be flashing the recovery and installing OmniRom (it was either this or Resurrection Remix). I think if the play store just works on OmniRom like people mention, it'll be worth it.
So, my steps will be to:
adb -> fastboot -> fastboot flash recovery fileName.img
recovery -> wipe -> factory wipe (using factory to get rid of system encryption) -> reboot back into recovery
recovery -> wipe -> dalvik/cache (do i still need to do this after factory wipe?)
adb -> adb push romFileName.zip /sdcard
adb -> adb push gapps.zip /sdcard
recovery -> install -> /sdcard -> romFileName.zip
recover -> install -> /sdcard -> gapps.zip
At any point do I need to flash SuperSU again? I guess I should after flashing the rom/gapps because, afterall, SuperSU is an app.
Once again, thank you so much for all the information that you have already provided!
Heyyo, it's always recommended to do a full wipe when installing a different ROM so you should format data, wipe system, data, dalvik and cache and then install the ROM of choice with Gapps of choice
Wiping system is OK when flashing a ROM as it'll write into system.. plus there's always the risk of instability if system is not wiped if a Gremlin setting is left over from previous ROM
I'd recommend using Magisk v14.3 over SuperSU as SuperSU doesn't have the same functionality as Magisk for passing SafetyNet...
Plus Magisk is full open source software (FOSS) where as SuperSU is closed source so gotta love that open source (this part is more personal preference since Android is built upon open source and people working together).
Plus there's really cool Magisk modules you can do like ART Optimizer and so fourth if you check the XDA forum section for it
Also, you're welcome! We all had our start on XDA at different points and passing on the knowledge I find is just as important as the ROMs we love
Don't use SuperSU. Magisk is the way to go for rooting nowadays. Easy, systemless, updated frequently to pass safetynet. It's a no brainer.

Bricked Mate 10 Pro - Help!

This afternoon I installed LineageOS and all was well with the world. I then installed TWRP as I wanted to install Magisk and the EMUI camera. However, it then started bootlooping and nothing I've tried seems to be working.
I can get into Fastboot and it lets me flash stuff, but nothing boots. I tried the unbricking guide as well, but none of the three files work - I get a "No space left on device" error for each of the files.
If anyone can provide me with an idiot's guide to sorting this I'll be massively grateful.
nea102 said:
This afternoon I installed LineageOS and all was well with the world. I then installed TWRP as I wanted to install Magisk and the EMUI camera. However, it then started bootlooping and nothing I've tried seems to be working.
I can get into Fastboot and it lets me flash stuff, but nothing boots. I tried the unbricking guide as well, but none of the three files work - I get a "No space left on device" error for each of the files.
If anyone can provide me with an idiot's guide to sorting this I'll be massively grateful.
Click to expand...
Click to collapse
Hi, look at this perhaps it can help you
https://forum.xda-developers.com/ma...e-10-flash-oreo-update-package-t3716814/page3
I had used that guide, was following that when I was getting the out of space errors.
However, I got it all sorted in the end - I just downloaded a different (older) version of the firmware and that worked.
Help for you
samlis said:
Hi, look at this perhaps it can help you
https://forum.xda-developers.com/ma...e-10-flash-oreo-update-package-t3716814/page3
Click to expand...
Click to collapse
Hi good day.
I have been following your work from another page, and now in XDA.
I had not read your message, and, I changed the recovery for the stock, and, I was an idiot to close the bootloader.
What happened? Brick simple on my cell phone, did not come out (because I fixed it) of the image of erecovery (EMUI) without tabs or options, a rather rare image.
How do I solve it:
1. I did not enter fastboot, I did not correctly enter the stock recovery (I had deleted the twrp), I had closed the bootloader (my stupidity)
2. Be patient and wait for the battery to run out (wait a day for it).
3. Open cmd and place the command to open the bootloader (fastboot oem unlock) and execute.
4. Put the device in fastboot mode when connecting to the laptop (I did not work several times, the fastboot came out with error FUNC No 10 and NO 2), after numerous attempts and not to let it charge the battery too much (because it was restarted and towards brick in the EMUI logo), correctly enter the fastboot and unlock, when you enter step 3 automatically, it will be executed. I had an advance in removing the cell phone from the brick.
5. It reboots and wonderfully happened to the Rom (that had previously installed), that is to say, the erase was not executed when the bootloader had previously closed.
6. As I had little energy, it was turned off, but I connected it and entered charging mode without restarting (before I did it).
7. Wait for a load of at least 5%, and install the Catuva21 TWRP from the tutorial.
8. I put it by command to restart in fastboot, but I generate error (Error Func No 10 and No 2).
9. I turn off the cell phone and with volume up and power key
10. Enter the TWRP correctly, verify that it is installed.
11. Restart system and log in to the system. I had not deleted anything, but to avoid problems, I hope to load 55% and execute the steps to install the rom.
12. Enjoy and dry spilled tears.
Experience lived and I hope you do not do something that developers do not advise.
Grcias and happy day.
Hi all,
Although my device isn't Mate 9 (mine is Nova 2s a.k.a HWI-AL00), but i'll share my experiece here.
Since EMUI8.0 Oreo, it's becoming more and more tough to get back to oreo stock after you mess/brick your device, maybe that's why HW plan to shutdown their bootloader unlock page.
Couple days ago, i got bored with my Nova 2s stock, and try to mess around to get root.
After flashing twrp (of course my bootloader is unlocked) and using modded rom which already contains magisk, i decided i want to go back to stock again, since the modded rom is not good to use.
This is where all the hassle began...
Maybe my most stupid move was, i formatted all partitions listed in twrp (so many partitions i can't remember).
After few days crying and try to find solutions, today i get to the point where it can download the rom package from HW ERecovery interface.
What i'm doing :
- download full package rom, extract the zip, and extract the *.app file using HuaweiUpdateExtractor, now you can see many *.img's there
- enter fastboot and flash twrp and boot into twrp
- flash these images : system.img into system partition, vendor.img into vendor partition
- exit twrp and get into fastboot again
- fastboot flash these images : kernel.img into kernel partition, ramdisk.img into ramdisk partition, recovery_ramdis.img into recovery_ramdisk partition
- shutdown device and let it boot normally
- it boot into HW eRecovery, and there's a menu to download rom full update package from server, i choose those menu (to download it, you must connect the device to wifi connection)
now i'm still waiting for the result, hopefully when the download finished, it can flash those packages nicely, i'll update the information to you guys later.
heindrix said:
Hi all,
Although my device isn't Mate 9 (mine is Nova 2s a.k.a HWI-AL00), but i'll share my experiece here.
Since EMUI8.0 Oreo, it's becoming more and more tough to get back to oreo stock after you mess/brick your device, maybe that's why HW plan to shutdown their bootloader unlock page.
Couple days ago, i got bored with my Nova 2s stock, and try to mess around to get root.
After flashing twrp (of course my bootloader is unlocked) and using modded rom which already contains magisk, i decided i want to go back to stock again, since the modded rom is not good to use.
This is where all the hassle began...
Maybe my most stupid move was, i formatted all partitions listed in twrp (so many partitions i can't remember).
After few days crying and try to find solutions, today i get to the point where it can download the rom package from HW ERecovery interface.
What i'm doing :
- download full package rom, extract the zip, and extract the *.app file using HuaweiUpdateExtractor, now you can see many *.img's there
- enter fastboot and flash twrp and boot into twrp
- flash these images : system.img into system partition, vendor.img into vendor partition
- exit twrp and get into fastboot again
- fastboot flash these images : kernel.img into kernel partition, ramdisk.img into ramdisk partition, recovery_ramdis.img into recovery_ramdisk partition
- shutdown device and let it boot normally
- it boot into HW eRecovery, and there's a menu to download rom full update package from server, i choose those menu (to download it, you must connect the device to wifi connection)
now i'm still waiting for the result, hopefully when the download finished, it can flash those packages nicely, i'll update the information to you guys later.
Click to expand...
Click to collapse
Can you link here the twrp file that work for you? i have mate 10 pro (bla-l29) and i tried couple versions and none of them work well. thenks
yoni sofer said:
Can you link here the twrp file that work for you? i have mate 10 pro (bla-l29) and i tried couple versions and none of them work well. thenks
Click to expand...
Click to collapse
take a look here, mate.
https://forum.xda-developers.com/mate-10/development/huawei-mate-10-pro-twrp-3-2-1-0-t3769904

Noob advice please.

Hi all from Noob member.
I am wanting to update my Redmi Note 4 Snapdragon from stock MIUI Global 11.0.2 as no OTA updates for a long time.
Having searched the forums I see a lot of guides are from 2017 so need up to date help.
I understand first step is to install unlock bootloader and install TWRP.
Q1 I need a recommended guide for 2021. I have found this but the advice is slightly different from that on the TWRP Redmi page e.g. regarding how to deal with DM Verity. These terms are all new to me and somewhat confusing.
Q2 Will I be able to backup the factory ROM in case it all goes wrong and I need to get it back to the current state?
Any other advice gratefully received.
Hi. I have recently installed LineageOS 18.1 on my Redmi Note 4 Global (Snapdragon) and have written a detailed guide for myself, in case I would need to do it again. At first, I had problems with fingerprint not working even though I have installed everything correctly. I have fixed that issue with the help of LOS 18.1 main tester, and I have also written myself a guide for that fix.
If you would like to install LineageOS on your mido, I could share the guide with you.
Regarding your question 2, you can always make a backup of your current ROM before installing customs ROMs, and usually backups work fine, although I do not have any experience with that yet, so your mileage may vary.
Also, if your device is not bricked after tinkering with custom ROMS, you can always use latest fastboot MIUI ROM for your device, and flash it with official Mi Flash tool to get back to MIUI.
First step, as always, is to unlock your bootloader with Mi Unlock tool, which you can find here:
Apply for permissions to unlock Mi devices
en.miui.com
Read this FAQ as well:
https://c.mi.com/thread-2262302-1-0.html
By the way, bootloader on my mido was unlocked instantly with that tool, I did not have to wait at all.
Hi Rigadelt
Many thanks for the reply. I would indeed be interested in seeing your guide if it is not too much trouble.
Everything working correctly including the fingerprint reader would be a must for me. Glad to hear you fixed it.
Good to know you can make backups - I'm assuming this is via TWRP?
Appreciate the tip about fastboot MIUI ROMs - I think I have found them before on the official site when I searched a year or so ago about flashing a new ROM. It seems things are a bit more developed now.
Thanks for getting me pointed in the right direction!
Grump
No worries, just a disclaimer - I am not responsible if you somehow break your phone while following this guide.
I am also a noob on custom ROMs, but I have done the exact same steps, and my phone appears to be working fine, so you should be all right too. After all, these steps are almost identical to all custom ROMs installation instructions, the difference is that this time you will need to use OrangeFox recovery instead, because LOS 18.1 works better with it.
I have written this guide while following OrangeFox recovery guides, and getting help from Redmi Note 4 users on Telegram groups.
First install ADB + Fastboot in your PC (I assume you use Windows 10).
Download these files:
SDK platform tools: https://dl.google.com/android/repository/platform-tools-latest-windows.zip
Google USB Driver: https://dl.google.com/android/repository/usb_driver_r13-windows.zip
I am not sure if Google USB Driver is necessary, but install it anyway because I had it installed too.
For installation instructions, use the attached "ADB Fastboot installation.txt" file.
You can check this video for visual guide as well:
After that, unlock your bootloader with Mi Unlock tool.
Confirm that bootloader is unlocked on your Redmi Note 4 via ADB + Fastboot, following this article (go to PC section, ignore Android phone):
How to check if bootloader is unlocked or locked on Android
How to check if bootloader is unlocked or locked on Android
www.addictivetips.com
At this point, if everything is working fine and your phone is indeed unlocked, I recommend backing up important data (photos, videos, documents, SD Card, etc.) from your phone to PC, Cloud or other safe storage.
Next, download these files and put them in your SD Card or internal phone storage (for example, Download folder). I recommend formatting SD Card and putting the files on it, but you can use internal storage as well.
OrangeFox recovery (R11.0) for mido:
https://dl.orangefox.download/5f14b74f26d98d90b476a532
Latest mido firmware (you will probably not need it, but have it just in case): https://xiaomifirmwareupdater.com/d...4XGlobal_V11.0.2.0.NCFMIXM_83170d3e3a_7.0.zip
LineageOS 17.1 with 4.9 kernel (you will need to install it first):
https://github.com/zeelog/OTA/releases/download/28.0/lineage-17.1-20201215-UNOFFICIAL-4.9-mido.zip
LineageOS 18.1:
https://github.com/zeelog/OTA/releases/download/31.0/lineage-18.1-20210107-UNOFFICIAL-mido.zip
GApps (FlameGApps "basic" is recommended for LOS 18.1):
https://sourceforge.net/projects/flamegapps/files/arm64/android-11/BETA/2020-12-29
I will continue the guide in the next message.
Now, make sure that your phone is charged and has more than 80% battery (just to be safe).
Also note that after the following step, you won't be able to boot to MIUI anymore, so make sure you have made a backup of your files.
Install OrangeFox recovery using this guide:
Installing OrangeFox Recovery
wiki.orangefox.tech
Then, follow the instructions written in the attached "Readme - LOS 17.1 and 18.1 installation" text file.
If you installed LOS 18.1 successfully but your fingerprint does not work anymore (although it worked fine on MIUI and LOS 17.1), then you will need to go back to latest mido MIUI ROM with Mi Flash tool and then follow the instructions in "Fingerprint fix and MIUI errors" text file.
Good luck. If you have any questions, I recommend creating a Telegram account and joining discussions on Redmi Note 4/4x groups.
Thanks for this !!!
I was going to ask about the orangefox option, as some guides I have found suggest this.
I had looked on the LineageOS page and see their listed version for Redmi note 4 is 16.0, so looks like you are leading the way with your method.
I'm going to take my time and digest all this excellent info you have provided.
Great tip on the telegram group !
the_real_grumpazoid said:
Thanks for this !!!
I was going to ask about the orangefox option, as some guides I have found suggest this.
I had looked on the LineageOS page and see their listed version for Redmi note 4 is 16.0, so looks like you are leading the way with your method.
I'm going to take my time and digest all this excellent info you have provided.
Great tip on the telegram group !
Click to expand...
Click to collapse
You're welcome.
Just wanted to let you know that the main tester of LineageOS 18.1 as of recently recommends using FlameGApps "basic" instead of NikGapps. Apparently some users experienced failed OTA updates (bootloops) due to problems associated with NikGapps.
Download it here:
FlameGApps - Browse /arm64/android-11/BETA/2020-12-29 at SourceForge.net
A Google Apps installer package for devices running on arm64 platform
sourceforge.net
Also, I have updated the installation instructions a bit, so I recommend re-downloading both attached text files above.
Some new info regarding LOS 18.1 updating:
Dirty flash method
1) Download the latest ROM udpate zip file and save it in phone's internal storage or SD Card.
2) Turn off your phone and reboot to recovery.
3) Go to Wipe and wipe:
Dalvik / ART Cache, Cache, System, Vendor
-- DO NOT WIPE "DATA" or "INTERNAL STORAGE" --
4) Ignore "Reboot System" option.
5) Go back to OrangeFox recovery, select latest ROM Update zip and flash it.
6) Ignore "Wipe Caches" and "Reboot System" options.
7) Go back to OrangeFox recovery, select GApps zip and flash it.
8) After flashing, tap "Wipe Caches". Wait for it to wipe and then ignore "Reboot System" option.
9) Go back to OrangeFox recovery, go to Menu, tap on Reboot, then Reboot to Recovery.
10) When the phone successfully reboots to OrangeFox recovery, go to recovery Menu, then Reboot, and Reboot to System.
OTA Update
1) Do not change anything in OrangeFox recovery OTA update options, leave all settings default (OTA disabled). To check if OTA is disabled in the recovery, do this:
1a) Turn off your phone and boot to OrangeFox recovery.
1b) Go to OrangeFox recovery Menu, tap on the Gear symbol in the upper right corner and select OTA & ROM.
1c) Make sure that OTA is disabled (enable OTA is greyed out)
1d) Go back to OrangeFox recovery Menu, then Reboot, and select Reboot to System.
2) Go to Settings, System, Advanced, Updater.
3) Tap on three dots in the upper right corner and select Preferences.
Preferences must be set like this:
* Auto updates check: Once a week
* Delete updates when installed: OFF
* Mobile data warning: ON
* Update recovery: OFF
If you can't disable "Update recovery" option in Updater preferences, then do not worry and leave it enabled. The stock recovery won't be updated (replaced) with LineageOS recovery even if this setting is enabled.
***--- OTA PROBLEMS ---***
In some (rare) cases OTA update might fail (usually due to GApps issues) causing your phone to bootloop, i.e. the phone gets stuck at LineageOS logo loading screen for a couple of minutes, and then reboots to recovery.
To solve this problem you need to install the update manually using Dirty flash method.
The downloaded OTA update file is in this location (in recovery):
root/data/LineageOS Update folder
You will have updated ROM without loosing any data.
Also, you can change GApps from NikGApps to FlameGApps or other GApps every time when you are using Dirty flash method to update your ROM.

Categories

Resources