Problem with flashing root (or anything else) after installing LineageOS - Xiaomi Redmi Note 4 Questions & Answers

Dear XDA Experts!
As I was flashing on my Redmi Note 4 Snapdragon Global (mido) LineageOS 15.1 step by step using instructions from LineageOS site I came up with a problem. Suddenly the the fastboot command didn’t “see” my phone. Before that when I was typing in the command prompt (as administrator) “adb devices” it said it found my phone. When I typed “fastboot devices” it turned out it didn’t “see” my phone so I couldn’t do the “fastboot flash recovery twrp-x.x.x-x-mido.img” command. However before fastboot stopped detecting my device I was able to do this command “adb reboot bootloader”. It turned out later that adb still was detecting my device but fastboot still was NOT detecting it.
So to flash TWRP on my phone I used a XiaomiFlashTool in which I could among other options choose to flash TWRP.
I selected this option, the XiaomiFlashTool that in order to even start and work needs access to the Internet it download the latest file twrp-x.x.x-x-mido.img with TWRP for my device and flashed it.
Now, having the TWRP installed I flashed in TWRP the file containing the LinageOS and afterwards I flashed Gapps instantly with no reboot as it was written in the guide. Then I rebooted the device to normal system mode.
The LineageOS started for the first time, I configured it and Gapps were present.
Later I’ve chosen to root the phone so I booted to TWRP and selected Install to install Magisk17.2.zip but it didn’t work cause an error occurred “couldn’t mount /data”. It was all red.
When I try to do the same thing with superSu the same problem occurred.
Could You tell me what I did wrong?
And which drivers/install programs to use to repair or uninstall and install fastboot again so It can work cause there are so many of them and the LineageOS guide doesn’t cover that thing in 100% ?

androidbadboy said:
Dear XDA Experts!
As I was flashing on my Redmi Note 4 Snapdragon Global (mido) LineageOS 15.1 step by step using instructions from LineageOS site I came up with a problem. Suddenly the the fastboot command didn’t “see” my phone. Before that when I was typing in the command prompt (as administrator) “adb devices” it said it found my phone. When I typed “fastboot devices” it turned out it didn’t “see” my phone so I couldn’t do the “fastboot flash recovery twrp-x.x.x-x-mido.img” command. However before fastboot stopped detecting my device I was able to do this command “adb reboot bootloader”. It turned out later that adb still was detecting my device but fastboot still was NOT detecting it.
So to flash TWRP on my phone I used a XiaomiFlashTool in which I could among other options choose to flash TWRP.
I selected this option, the XiaomiFlashTool that in order to even start and work needs access to the Internet it download the latest file twrp-x.x.x-x-mido.img with TWRP for my device and flashed it.
Now, having the TWRP installed I flashed in TWRP the file containing the LinageOS and afterwards I flashed Gapps instantly with no reboot as it was written in the guide. Then I rebooted the device to normal system mode.
The LineageOS started for the first time, I configured it and Gapps were present.
Later I’ve chosen to root the phone so I booted to TWRP and selected Install to install Magisk17.2.zip but it didn’t work cause an error occurred “couldn’t mount /data”. It was all red.
When I try to do the same thing with superSu the same problem occurred.
Could You tell me what I did wrong?
And which drivers/install programs to use to repair or uninstall and install fastboot again so It can work cause there are so many of them and the LineageOS guide doesn’t cover that thing in 100% ?
Click to expand...
Click to collapse
Use a Treble compatible TWRP like OrangeFox R8 and then flash Magisk

Noter2017 said:
Use a Treble compatible TWRP like OrangeFox R8 and then flash Magisk
Click to expand...
Click to collapse
I used the latest TWRP for mid (I saw when the XiaomiFlashTool was downloading the latest TWRP for mido).
May I ask why shall I use a Treble compatible since my Redmi Note 4 was manufactured in 2017 and came with not Oreo but with Nougat so it is not compatible with Project Treble from the start.
BTW Can You please direct me to that Treble compatible TWRP please?
BTW#2 The Xiaomi tool only flashes the latest TWRP .img for mido by downloading it from the internet (I can't change which TWRP will it flash).
BTW#3 The only thing I can think off to flash other TWRP is by fastboot but can You help me which or where to find it so I can uninstall current fastboot and install again or repair by installing again?

androidbadboy said:
I used the latest TWRP for mid (I saw when the XiaomiFlashTool was downloading the latest TWRP for mido).
May I ask why shall I use a Treble compatible since my Redmi Note 4 was manufactured in 2017 and came with not Oreo but with Nougat so it is not compatible with Project Treble from the start.
BTW Can You please direct me to that Treble compatible TWRP please?
BTW#2 The Xiaomi tool only flashes the latest TWRP .img for mido by downloading it from the internet (I can't change which TWRP will it flash).
BTW#3 The only thing I can think off to flash other TWRP is by fastboot but can You help me which or where to find it so I can uninstall current fastboot and install again or repair by installing again?
Click to expand...
Click to collapse
You will find OrangeFox TWRP here:
https://forum.xda-developers.com/re.../recovery-orangefox-recovery-project-t3775933
Simply boot into your existing recovery and flash OrangeFox from there.
LineageOS 15.1 on our phone uses Treble, so you need a compatible recovery. After flashing OrangeFox, you can flash Magisk

Noter2017 said:
You will find OrangeFox TWRP here:
https://forum.xda-developers.com/re.../recovery-orangefox-recovery-project-t3775933
Simply boot into your existing recovery and flash OrangeFox from there.
LineageOS 15.1 on our phone uses Treble, so you need a compatible recovery. After flashing OrangeFox, you can flash Magisk
Click to expand...
Click to collapse
But how to flash that rom since fastboot doesnt detect my phone?

androidbadboy said:
But how to flash that rom since fastboot doesnt detect my phone?
Click to expand...
Click to collapse
Can you boot into recovery?

Noter2017 said:
Can you boot into recovery?
Click to expand...
Click to collapse
I can boot into latest TWRP for mido from LineageOS site (turns out the same file is downloaded from XiaomiFlashTool)
I wanted to say Yes, I can boot to TWRP

androidbadboy said:
I can boot into latest TWRP for mido from LineageOS site (turns out the same file is downloaded from XiaomiFlashTool)
I wanted to say Yes, I can boot to TWRP
Click to expand...
Click to collapse
Great. Then all you have to do is to download OrangeFox, save it to your SD card and flash it.
After that reboot to recovery and it will start OrangeFox.
Flash Magisk and all will work

Noter2017 said:
Great. Then all you have to do is to download OrangeFox, save it to your SD card and flash it.
After that reboot to recovery and it will start OrangeFox.
Flash Magisk and all will work
Click to expand...
Click to collapse
But how am I suppose to flash it when fastboot doesnt work, adb works
Which driver/installler shall I use to repair or instal or install or uninstall and install fastboot again to use it to flash that OrangeFox

androidbadboy said:
But how am I suppose to flash it when fastboot doesnt work, adb works
Which driver/installler shall I use to repair or instal or install or uninstall and install fastboot again to use it to flash that OrangeFox
Click to expand...
Click to collapse
Its simple
save the orange fox twrp to your phone
Boot into your twrp recovery
Flash orange fox recovery
Your recovery will automatically reboot into orange fox.

kavin36 said:
Its simple
save the orange fox twrp to your phone
Boot into your twrp recovery
Flash orange fox recovery
Your recovery will automatically reboot into orange fox.
Click to expand...
Click to collapse
so is it possible to flash a TWRP by a different TWRP and it will replace it?

androidbadboy said:
so is it possible to flash a TWRP by a different TWRP and it will replace it?
Click to expand...
Click to collapse
You're right.

kavin36 said:
You're right.
Click to expand...
Click to collapse
That's a great idea but sadly I can't flash TWRP anymore. I don't know what happened. The Xiaomi program I was using to do this suddenly stopped flashing it telling me that there's something wrong with drivers
When I do "fastboot flash recovery TWRPforMido.img" it "flashes" the file in less then a second and when I enter recovery I see the old Xiaomi 3.0 stock recovery.
I have the device unlocked, developer options with USB debugging are ON.
I'm compleatly idealess.
Can You tell me what other ways to flash TWRPmido.img?

androidbadboy said:
That's a great idea but sadly I can't flash TWRP anymore. I don't know what happened. The Xiaomi program I was using to do this suddenly stopped flashing it telling me that there's something wrong with drivers
When I do "fastboot flash recovery TWRPforMido.img" it "flashes" the file in less then a second and when I enter recovery I see the old Xiaomi 3.0 stock recovery.
I have the device unlocked, developer options with USB debugging are ON.
I'm compleatly idealess.
Can You tell me what other ways to flash TWRPmido.img?
Click to expand...
Click to collapse
not sure bout this situation
But try doing the same but download orange fox recovery from xda forums and use the same method to flash.
That's
Fastboot mode in phone
Command from cmd
Flash recovery
Reboot recovery

kavin36 said:
not sure bout this situation
But try doing the same but download orange fox recovery from xda forums and use the same method to flash.
That's
Fastboot mode in phone
Command from cmd
Flash recovery
Reboot recovery
Click to expand...
Click to collapse
I already done this a thousand times. Nothing.

androidbadboy said:
I already done this a thousand times. Nothing.
Click to expand...
Click to collapse
do us have root access
If us have try flashify app from play store
Select recovery
Browse the orange fox recovery on it phone
Flash
Only if ur rooted

kavin36 said:
do us have root access
If us have try flashify app from play store
Select recovery
Browse the orange fox recovery on it phone
Flash
Only if ur rooted
Click to expand...
Click to collapse
Nope I don't.
But I finally flashed stock, TWRP for mido (not Orange) and Magisk for root and I'm so tierd now
Just tell me what shall I do next to install 1. Lin Os (their guide is not accurate in 100%) 2. Some custom romwith project treble and Android Pie, some popular good stuff

server error - a double post

androidbadboy said:
Nope I don't.
But I finally flashed stock, TWRP for mido (not Orange) and Magisk for root and I'm so tierd now
Just tell me what shall I do next to install 1. Lin Os (their guide is not accurate in 100%) 2. Some custom romwith project treble and Android Pie, some popular good stuff
Click to expand...
Click to collapse
I've heard that Crdroid official
And Siberia os unofficial are the most stable pie ROMs
Make sure it twrp is treble supported becuz someone told that official twrp has no treble support that's the reason I use orange fox
If it ain't treble supported just flash orange fox from the same twrp
Do advanced wipe
Install from and gapps
---------- Post added at 07:27 PM ---------- Previous post was at 07:27 PM ----------
kavin36 said:
I've heard that Crdroid official
And Siberia os unofficial are the most stable pie ROMs
Make sure it twrp is treble supported becuz someone told that official twrp has no treble support that's the reason I use orange fox
If it ain't treble supported just flash orange fox from the same twrp
Do advanced wipe
Install from and gapps
Click to expand...
Click to collapse
Also Ive seen that Serbia unofficial is a bit more stable than crdroid official. Its your preferences

kavin36 said:
I've heard that Crdroid official
And Siberia os unofficial are the most stable pie ROMs
Make sure it twrp is treble supported becuz someone told that official twrp has no treble support that's the reason I use orange fox
If it ain't treble supported just flash orange fox from the same twrp
Do advanced wipe
Install from and gapps
---------- Post added at 07:27 PM ---------- Previous post was at 07:27 PM ----------
Also Ive seen that Serbia unofficial is a bit more stable than crdroid official. Its your preferences
Click to expand...
Click to collapse
Could You do step by step 1., 2. what I shall do (at the example of Linage OS). And what about that advanced wipe thing. People that told me steps just like You didn't mention Advanced wipe

Related

Reverting to MIUI after CM13.0

Hey there, so I just recently purchased my first Redmi Note 3 Pro! And I am very happy.
Before this phone I had a OnePlus One which I flashed Sultan's CM13.0 on.
So therefore, I flashed Santhosh's CM13.0 on my RN3P, but some things aren't working as they should. ( My Telenor Myanmar simcard isn't working in slot 1, using two sim cards at the same time renders both unusable, etc.)
So now I would like to go to MIUI Global Dev. But the thing is, while I was flashing CM 13.0, I forgot to create a backup in Alka TWRP. So now I can't go back to China Stable which is what my phone came with. I did not officially unlock my phone, instead I used the EDL method to flash the fastboot MIUI Global Dev ROM (from the /r/Xiaomi wiki on Reddit, can't post link).
Therefore my question is, is it possible to go from Santhosh's CM13.0 to MIUI Global Dev by doing these steps:
1. Boot into Alka TWRP, do a data format and a full advanced wipe.
2. Boot into EDL mode.
3. Unzip the Global Dev fastboot ROM with WinRAR.
4. In the unzipped ROM, replace recovery.img with the TWRP image file.
5. Launch MiFlash and with the 'select' button browse for the root directory of the unzipped fastboot ROM (where flash_all.bat and other batch files are). Refresh in MiFlash.
6. Select 'clean all' at the bottom of the window and click flash.
7. Disconnect the phone and hold Power+VolUp until the phone enters TWRP.
8. Go to the 'Reboot' menu and select System. You will be asked whether you want to disable the stock recovery mode or not. Slide to disable.
9. Wait for MIUI to boot in.
Thank-you in advance!
DurRice said:
Hey there, so I just recently purchased my first Redmi Note 3 Pro! And I am very happy.
Before this phone I had a OnePlus One which I flashed Sultan's CM13.0 on.
So therefore, I flashed Santhosh's CM13.0 on my RN3P, but some things aren't working as they should. ( My Telenor Myanmar simcard isn't working in slot 1, using two sim cards at the same time renders both unusable, etc.)
So now I would like to go to MIUI Global Dev. But the thing is, while I was flashing CM 13.0, I forgot to create a backup in Alka TWRP. So now I can't go back to China Stable which is what my phone came with. I did not officially unlock my phone, instead I used the EDL method to flash the fastboot MIUI Global Dev ROM (from the /r/Xiaomi wiki on Reddit, can't post link).
Therefore my question is, is it possible to go from Santhosh's CM13.0 to MIUI Global Dev by doing these steps:
1. Boot into Alka TWRP, do a data format and a full advanced wipe.
2. Boot into EDL mode.
3. Unzip the Global Dev fastboot ROM with WinRAR.
4. In the unzipped ROM, replace recovery.img with the TWRP image file.
5. Launch MiFlash and with the 'select' button browse for the root directory of the unzipped fastboot ROM (where flash_all.bat and other batch files are). Refresh in MiFlash.
6. Select 'clean all' at the bottom of the window and click flash.
7. Disconnect the phone and hold Power+VolUp until the phone enters TWRP.
8. Go to the 'Reboot' menu and select System. You will be asked whether you want to disable the stock recovery mode or not. Slide to disable.
9. Wait for MIUI to boot in.
Thank-you in advance!
Click to expand...
Click to collapse
Yes, but you should flash Zcx twrp instead of alka twrp. Zcx can disable dm-verity on the locked bootloader and avoid a bootloop. The important thing is to boot into recovery immediately after flashing and before booting into miui. After that you can flash SuperSU and root you phone.
Good luck.
induna said:
Yes, but you should flash Zcx twrp instead of alka twrp. Zcx can disable dm-verity on the locked bootloader and avoid a bootloop. The important thing is to boot into recovery immediately after flashing and before booting into miui. After that you can flash SuperSU and root you phone.
Good luck.
Click to expand...
Click to collapse
Hello! Thank-you for the quick and informative reply. So I should flash ZCX TWRP and then proceed?
DurRice said:
Hello! Thank-you for the quick and informative reply. So I should flash ZCX TWRP and then proceed?
Click to expand...
Click to collapse
Just replace the stock recovery.img with the recovery.img from Zcx twrp and flash the global dev ROM in edl mode. That worked for me.
induna said:
Just replace the stock recovery.img with the recovery.img from Zcx twrp and flash the global dev ROM in edl mode. That worked for me.
Click to expand...
Click to collapse
Okay straight forward. Do you have a link to ZCX TWRP? Or should I just download it from the Chinese forums
DurRice said:
Okay straight forward. Do you have a link to ZCX TWRP? Or should I just download it from the Chinese forums
Click to expand...
Click to collapse
There's a thread on it in the Redmi Note 3 guides forum here on XDA with links. One thing to be aware of, the recovery will come up in Chinese the first time. There are plenty of videos showing how to change the language if you can't read Mandarin.
induna said:
There's a thread on it in the Redmi Note 3 guides forum here on XDA with links. One thing to be aware of, the recovery will come up in Chinese the first time. There are plenty of videos showing how to change the language if you can't read Mandarin.
Click to expand...
Click to collapse
Awesome, thank-you for all the help!

(URGENT) Bootloader Got locked after flashing official Lineage OS 14.1

Hi,
After running out of patience i unlocked boot loader on my RN 3 (SD VERSION), and flashed lineage OS, but i did not get VOLTE on it.
To fix that i flashed some files again (and probably forgot to enable developer options), then i rebooted to the phone, and now the bootloader has locked again. I tried booting into EDL mode/TWRP recovery, but the device booted back to lineage OS.
I did not even flash GAPPS just to check if VOLTE is working(basically i booted into the system), now i cannot go to the EDL mode and also not into TWRP recovery. Please guide me on how to get out of this situtaion. I had unlocked bootloader by flashing MIUI 7 through EDL (replaced emmc, and then unlocked it in CMD through unlock-go command)
I am only left with lineage OS with no apps (Tried installing Play store and Play services, that also force closes).
Please help me out with this. I know i messed it up by probably not turning on the developer options before flashing the files.
Please let me know where exactly i messed up so that i do not repeat the mistake. And please guide me on how to unlock bootloader and flash stuff again. Thanks.
Hey just try to find advance restart option in developer options and from their you know what to do
N.G. said:
Hey just try to find advance restart option in developer options and from their you know what to do
Click to expand...
Click to collapse
Yes i found it, I can now boot into the TWRP recovery, but now that the bootloader is locked, i dont think i will be able to wipe or flash any rom. If i wipe i will be in bootloop.
I cant go to EDL. Is it possible to restore MIUI backup with bootloader locked??
Maheshnotani said:
Hi,
After running out of patience i unlocked boot loader on my RN 3 (SD VERSION), and flashed lineage OS, but i did not get VOLTE on it.
To fix that i flashed some files again (and probably forgot to enable developer options), then i rebooted to the phone, and now the bootloader has locked again. I tried booting into EDL mode/TWRP recovery, but the device booted back to lineage OS.
I did not even flash GAPPS just to check if VOLTE is working(basically i booted into the system), now i cannot go to the EDL mode and also not into TWRP recovery. Please guide me on how to get out of this situtaion. I had unlocked bootloader by flashing MIUI 7 through EDL (replaced emmc, and then unlocked it in CMD through unlock-go command)
I am only left with lineage OS with no apps (Tried installing Play store and Play services, that also force closes).
which twrp?
Please help me out with this. I know i messed it up by probably not turning on the developer options before flashing the files.
Please let me know where exactly i messed up so that i do not repeat the mistake. And please guide me on how to unlock bootloader and flash stuff again. Thanks.
Click to expand...
Click to collapse
phone booting or not?...u said gapps force closing...??
which twrp
Maheshnotani said:
Yes i found it, I can now boot into the TWRP recovery, but now that the bootloader is locked, i dont think i will be able to wipe or flash any rom. If i wipe i will be in bootloop.
I cant go to EDL. Is it possible to restore MIUI backup with bootloader locked??
Click to expand...
Click to collapse
What twrp you have have if it is zcx then just flash any rom and if you are wondering check this https://forum.xda-developers.com/re...ide-install-lineage-os-locked-t3546154/page39
And yes don't even try to flash your backup zip from miui backup but if it's twrp backup then you are good to go
ajeshmanu said:
phone booting or not?...u said gapps force closing...??
which twrp
Click to expand...
Click to collapse
Phone is booting. Running lineage 14.1, gapps also flashed now using TWRP.
So basically i can go to TWRP, not to EDL.
N.G. said:
What twrp you have have if it is zcx then just flash any rom and if you are wondering check this https://forum.xda-developers.com/re...ide-install-lineage-os-locked-t3546154/page39
And yes don't even try to flash your backup zip from miui backup but if it's twrp backup then you are good to go
Click to expand...
Click to collapse
I have TWRP 3.1.0.0 and not ZCX. BOOTLOADER IS LOCKED INDEED.
The backup is twrp backup, not MIUI.
So what you are saying is that i should UPDATE THE Current recovery to ZCX through flash image option(IN TWRP) right? And then flash SUPERSU?
And after that CAN I Wipe the currently installed Lineage OS, and then install it again along with CM firmware and VOLTE Patch??? (As mentioned here, https://forum.xda-developers.com/re...t/volte-patches-nougat-based-cm-roms-t3509257)
Please confirm, and if yes, please confirm the order of flashing of above three files.
The main issue is VOLTE.
Also, the backup that i took with 3.1.0.0 can be restored using ZCX Right???
I am not sure but to be on safer side just flash the miui backup first boot in the ROM , set it up ,then try to other stuff and after that try to install zcx twrp if you dont want the unlock your bootloader again
---------- Post added at 02:06 PM ---------- Previous post was at 02:02 PM ----------
Just have a problem that my network goes on and off automatically I am on RR if you face something like this in your ROM
Plz reply
How did u find ur bootloader is locked?

[recovery] [modded] twrp 3.2.1-0 [oreo support]

With this modded version of TWRP you can now install A1 roms into the 5X.
How to install A1 roms using this TWRP:
https://forum.xda-developers.com/mi-5x/how-to/guide-how-to-install-a1-rom-5x-t3777139
Oreo Modded TWRP 3.2.1-0 Download:
Google Drive
Nougat Modded TWRP 3.2.1-0 Download:
Google Drive
How to install:
- Unlock bootloader
- Enter in Fastboot Mode (Power Button + Vol Down)
- Flash using "fastboot flash recovery twrp.img"
- Enter in Recovery Mode (Power Button + Vol Up)
Which one should I download?
You should install the correspondent version according to your currently installed Android version. If your current system is Nougat, you should flash Nougat TWRP. Same for Oreo. It doesn't matter which version of Android are you going to install, but the one that you already have installed. If you are in Nougat and want to flash Oreo rom, after flashing it, be sure to flash Oreo TWRP. If you dont do it, recovery may not work.
How can I use the port feature?
First, download an A1 fastboot ROM. You can do so here. Then, flash system and boot partitions using fastboot.
After you flashed it, go to "Advanced" then tap on "Terminal". Write "a1to5x" and press Enter. Wait until it finishes. Make proper wipes and reboot.
Are there any other features?
I have enabled system.img and modem.img flashing, so people without a pc can flash A1 fastboot roms. But be careful, system.img can't be a sparse image (this are the images included on the a1 official fastboot rom), it should be a raw ext4 image. You can use simg2img to convert them. Modem.img can't neither be flashed directly from the downloaded fastboot rom. It should be a modem.img extracted with dd, you will need to ask some who flashed it with fastboot to extract it for you. I know it is not a very easy process, but at least people without pc now have a chance to update their phones.
In what roms does it works?
I have only tested it with official Android One Oreo rom, however, it should work with Nougat Android One and with custom roms. Try it and let me know in what roms does it work.
How do you port A1 roms to the 5X?
I have been asked this question a lot of times. I can't give a step by step guide since I don't have enough spare time to make a decent guide. If you are interested on the porting process, take a look at /sbin/a1to5x (inside twrp ramdisk), it is the script which takes cares of the automatic porting process. Inside it you will find how the ports are made.
Where is the changelog?
You can check it here
Donations:
If you like my work and want to contribute, you can donate via paypal.me/aex12
Device Tree: https://github.com/Aex12/android_device_xiaomi_tiffany
Manifest used: https://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni
XDA:DevDB Information
Modded TWRP 3.2.1, Tool/Utility for the Xiaomi Mi 5X
Contributors
Aex12
Source Code: https://github.com/omnirom/android_bootable_recovery/
Version Information
Status: Stable
Current Stable Version: 3.2.1
Created 2018-03-07
Last Updated 2018-03-08
Reserved
Love Man... You Are Love Brother
is it normal that the external memory is not shown?
@Aex12
Thanks for your great work. I have some question.
Should we install an whole A1 fastboot rom or only install system.img and boot.img like the old one?
vangame said:
@Aex12
Thanks for your great work. I have some question.
Should we install an whole A1 fastboot rom or only install system.img and boot.img like the old one?
Click to expand...
Click to collapse
Forgot to mention it on the thread. Thanks for reminding, I am updating it right now. You should only flash system and boot. Modem and other firmware partitions can be flashed too, but they are not mandatory.
And have someone test LineageOS 15.1 for Mi A1 with this recovery?
Awesome work @Aex12. Thanks a lot
Hello can I use it at tissot bootloader?
eurekaseven said:
is it normal that the external memory is not shown?
Click to expand...
Click to collapse
That was somthing I also have noticed.. without sd memory being shown I can't do a backup to SD Card.
Instead I'll have to do a local backup and connect to PC and copy files over, Early stages I guess we are lucky we can even see the Internal Memory right?
Alright so I was curious and thought I'd see what happens if I flash recovery Nougat Modded TWRP 3.2.1-0 ( While currently running Oreo )
I booted into recovery and instantly discovered that you no longer even have access to internal memory 0b shown.. Don't waste your time !
I flashed recovery Oreo Modded TWRP 3.2.1-0 using fast boot as you won't be able to flash a recovery rom using TWRP in this state..
https://www.xda-developers.com/how-to-install-twrp/
Shows an easy guide if you aren't sure howto do this
Can not get back to MIUI Nougat or even get old recovery to work
When i try to install back xiaomi.eu's miui rom after installing zip and do all the proper wipes, it reboot to system but says that encryption was interrupted and can't complete. So I tried to install back the nougat 3.2.1 recovery and try again, with the same result. again i tried to install the rom again with 3.1.1 recovery and same happens. With nougat recovery it can't mount any partition, so it can not opperate properly, only the oreo recovery works. the only rom that works and gets installed good is the oreo one that you submitted so what can i do to get back to my normal twrp recovery (no oreo) and to a miui rom? thanks
P.D: I also tried to flash with fastboot a a1 nougat rom and with the 3.1.1 twrp port it but no succes as it can no longer mount anything, only oreo twrp is working but still not get to work properly any other rom, via fastboot or via recovery. Bootloader is unlocked.
What phone and model is this 4? It states nothing
hi,
i tried to flash system.img from official MiA1 fastboot ROMs today but i got these message " target reported max download size of 536870912 bytes, is this a normal message? will the flash resume?
vangame said:
And have someone test LineageOS 15.1 for Mi A1 with this recovery?
Click to expand...
Click to collapse
I want to know this too!
Aex12 said:
Aex12, Brother Please Fix SD issue... Cant flash files from my SD Card.
Click to expand...
Click to collapse
Comparing fstab with stock recovery / sd supported recovery might fix this issue...
This recovery doesn't read my SD card. Only the internal storage.
>Modem.img can't neither be flashed directly from the downloaded fastboot rom. It should be a modem.img extracted with dd, you will need to ask some who flashed it with fastboot to extract it for you
Yeah, anyone willing to do it for me?
udaan said:
>Modem.img can't neither be flashed directly from the downloaded fastboot rom. It should be a modem.img extracted with dd, you will need to ask some who flashed it with fastboot to extract it for you
Yeah, anyone willing to do it for me?
Click to expand...
Click to collapse
Make sure to make a backup of your current modem, just in case.
It's from v9.5.9.0: https://mega.nz/#!UAhwAQLY!-8np_yuZnJscEUFh9bJuCkkqDkPuZrr8Aa6o0kkBq5Q
My 5x does not go to recovery mode. My ROM is AOSPE. I am using OREO twrp. The device is not ROOTED
I can boot twrp using
Code:
fastboot boot twrp.img
but after using
Code:
fastboot flash recovery twrp.img
the phone does not go to recovery using Volume up + Power
tuhi009 said:
My 5x does not go to recovery mode. My ROM is AOSPE. I am using OREO twrp. The device is not ROOTED
I can boot twrp using
Code:
fastboot boot twrp.img
but after using
Code:
fastboot flash recovery twrp.img
the phone does not go to recovery using Volume up + Power
Click to expand...
Click to collapse
I think you need to fastboot flash boot image first, then go to twrp and flash it again from it.
---------- Post added at 08:14 AM ---------- Previous post was at 08:06 AM ----------
@Aex12 please update TWRP. I can't format /data /system etc from twrp made for MiA1(MohanCM's) but I cannot do it with yours. I have mi5x and it is ****ing stuck on boot. If I flash MiA1's fastboot rom I can get to fastboot and flash TWRP (since the bootloader is locked) but I can't do anything with your TWRP. But I can also flash MohanCM's twrp and I can do all that stuffs except for installing ROms and booting to it. im ****ing confused myself.

Problem installing treble twrp

I currently have TWRP installed and want to install Treble Twrp. I have installed the treble image through adb and looks good until i reboot and it is still my old Twrp. I am obviously missing something and would be grateful for any info to correct the problem.
pipin18 said:
I currently have TWRP installed and want to install Treble Twrp. I have installed the treble image through adb and looks good until i reboot and it is still my old Twrp. I am obviously missing something and would be grateful for any info to correct the problem.
Click to expand...
Click to collapse
Copy treble twrp to phone memory.
In TWRP pres install img, link to treble twrp and restart recovery.

My old Samsung S5 mini

Hi!
I really would like to try some custom roms, especially without Google Apps
My phone is a SM-G800H, Android 6.0.1 (dual sim)
I would like to try Lineageos, but it seems my device is NOT listed on their wiki... should I use some unofficial version?
I got some issues with fastboot command: it doesn't recognize my device (while adb is ok).
Installing a custom rom will be easier with a rooted device?
Thank you!!
MoonRotation said:
Hi!
I really would like to try some custom roms, especially without Google Apps
My phone is a SM-G800H, Android 6.0.1 (dual sim)
I would like to try Lineageos, but it seems my device is NOT listed on their wiki... should I use some unofficial version?
I got some issues with fastboot command: it doesn't recognize my device (while adb is ok).
Installing a custom rom will be easier with a rooted device?
Thank you!!
Click to expand...
Click to collapse
Fastboot isn't for Samsung. You have Odin for it and twrp. Flash an unofficial lineage rom with gapps and you should be good to go
joluke said:
Fastboot isn't for Samsung. You have Odin for it and twrp. Flash an unofficial lineage rom with gapps and you should be good to go
Click to expand...
Click to collapse
Hi,
I think this should be fine.
I have some doubt about TWRP. If I enter in recovery mode, I already have menu like "wipe data". So why is TWRP necessary?
It is also unclear if TWRP is meant as recovery partition (instead of the stock one) or a normal apps which needs root privileges to work.
Can you just explain me that?
Thank you again!
MoonRotation said:
Hi,
I think this should be fine.
I have some doubt about TWRP. If I enter in recovery mode, I already have menu like "wipe data". So why is TWRP necessary?
It is also unclear if TWRP is meant as recovery partition (instead of the stock one) or a normal apps which needs root privileges to work.
Can you just explain me that?
Thank you again!
Click to expand...
Click to collapse
Twrp is a custom recovery. You can't install anything with the stock recovery

Categories

Resources