Disclaimer
I haven't made or contributed to any of the tools/ROMs/Kernels here. All the respective authors have been linked in the credits section at the bottom of the post. Also, the version of Cyanogenmod used in this thread is a nightly build and can be unstable. User bgcngm has done some really excellent work to make this ROM near perfect. I won't make unnecessary guides. If I find a guide anywhere that's good enough, I'll simply post a link to it rather than make another one. I've tried to make this guide as noob friendly as I can. If you have any questions, just post them and I'll be happy to answer them.
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
Each step of the guide REQUIRES you to have completed the step prior to that one for it to work. For example, you can't go installing TWRP on your device without unlocking the bootloader first.
Prerequisites:
Xiaomi Mi5
TWRP for Mi5 by Cofface
Latest Cyanogenmod 13 Nightly Build
You can follow this guide to see how to install ADB on your system.
OpenGApps. I suggest you download the micro package.
Let's get started:
Unlocking the Bootloader:
The first thing any Mi5 owner NEEDS to do is to unlock their bootloader.Here is a great guide for unlocking the bootloader of the Mi5 (or any Xiaomi device for that matter) by TheUltrametricSpace. It's much better than anything I can make. So before you do anything go here and unlock the bootloader.
Installing TWRP:
When I use the Official TWRP from here, my touchscreen doesn't work. I haven't a found a solution yet. If any of you know how to fix this then please post it down below. If it works out I'll put it up in this guide. For now, we'll use TWRP by Cofface for Mi5. So far this is the only TWRP that seems to work for me.
You're most likely coming from MIUI 8 and thus, running Marshmallow. I'm not sure but there is some sort of encryption that Google has put in so you cannot use TWRP to flash your .zips from Internal Storage. So before you go any further, backup your files/apps or anything you might need.
Go to the platform-tools folder and extract the .rar file that you downloaded earlier containing TWRP there.
Rename the .img file extarcted from the TWRP .rar to twrp.img
Run the CMD shortcut you pasted in the ADB folder from the guide above as an administrator.
Connect you Mi5 to your computer. Hold both the Power and Volume Down button to boot into the bootloader. You should see this image.
[At this point, you MUST have fastboot.exe and twrp.img inside the platform-tools folder.
Now go back to the CMD window you opened. Type in the follwoing:
Code:
adb devices
Press enter. You should see your device in the window after typing this.
Code:
fastboot flash recovery twrp.img
Press enter. On the command window you should see a few lines popup and at the end it will show time taken to complete operation. So far so good.
Code:
adb reboot recovery
Press enter. You should now see the TWRP flash screen.
If TWRP is in Chinese, worry not.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Tap on the second box to select language. Scroll down and select English.
Swipe to allow modifications.
You should be in TWRP now.
DO NOT BOOT OUT OF TWRP RIGHT NOW.
Installing Cyanogenmod 13:
Of all the ROMs that I have used, I find that CM13 is far better. It's mostly personal preference. If you want to install any other ROM, the process is more or less exactly the same. Follow the instructions below:
Tap on Wipe.
Tap on Advanced Wipe.
Select everything except USB-OTG.
Swipe to Wipe.
Go back to the main TWRP screen.
Tap on Mount.
Tap on Enable MTP.
Connect your phone to your computer via USB.
Copy cm-13.0-20161022-NIGHTLY-gemini.zip and open_gapps-arm64-6.0-micro-20161025.zip from your computer to the Internal Storage folder inside Mi5 in My Computer.
Come back to TWRP.
Tap on Install.
Scroll down and find the cm-13.0-20161022-NIGHTLY-gemini.zip file and tap on it. Installation will start and will take about a minute and a half.
Now come back and flash the open_gapps-arm64-6.0-micro-20161025.zip file. This should be much faster.
Now go back to the Wipe section and select only the Dalvik & cache.
Now press Reboot System.
And that's it. The first boot will take quite some time. You're running Cyanogenmod 13 now!
Optional:
You can also install Falcon Kernel by Harrynowl to get a few more extra features. Install it like you would Cyanogenmod by flashing the .zip.
Credits:
Cyanogenmod 13
bgcngm
Mi5 Developers
Cyanogenmod Developers
TWRP by Cofface
User TheUltrametricSpace for his excellent Bootloader Unlocking Guide.
User iamareebjamal for the awesome ADB Guide.
User Harrynowl for the Falcon Kernel.
you forgot --> Wipe the Dalvik & cache
after installing OpenGApps,...
chiragkrishna said:
you forgot --> Wipe the Dalvik & cache
after installing OpenGApps,...
Click to expand...
Click to collapse
Whoops. My bad. Fixed it. Thanks!
Cant copy zip files from PC in TWRP
So I've wiped the data except USB-OTG but now the zip files for rom and gapps wont copy from my pc. The progress bar is not showing any movement.
]
vgdoc said:
So I've wiped the data except USB-OTG but now the zip files for rom and gapps wont copy from my pc. The progress bar is not showing any movement.
Click to expand...
Click to collapse
Reboot again to recovery!!
chiragkrishna said:
]
Reboot again to recovery!!
Click to expand...
Click to collapse
Yeah managed to push the zip files through adb commands. Thanks anyway.
How to turn back to miui8?
giardux91 said:
How to turn back to miui8?
Click to expand...
Click to collapse
Get the fastboot files from Xiaomi then flash them using MiFlash. However, EVERYTHING will be reverted to as if it was new. Even any custom recoveries or Kernels.
Will flashing the MIUI8 fastboot ROM (Global Dev) relock the bootloader?
voldy001 said:
Will flashing the MIUI8 fastboot ROM (Global Dev) relock the bootloader?
Click to expand...
Click to collapse
No it won't :')
Can you please continue to make a guide on how to install NEW NIGHTLY rom?
What should be flashed for each nightly update? And the proper order? The Rom > GApps > customization > Custom Kernel ???
I am confusing.
nguyendatan said:
Can you please continue to make a guide on how to install NEW NIGHTLY rom?
What should be flashed for each nightly update? And the proper order? The Rom > GApps > customization > Custom Kernel ???
I am confusing.
Click to expand...
Click to collapse
This is the Official Cyogenmod ROM. So to upate, all you have to do is to go to Settings > About > Cyanogenmod Updates and download the update. After it has finished, you'll see a small button which you can press to install it. The Phone will then handle the flashing!
Aslo, The Rom > GApps > customization > Custom Kernel should be good!
Related
Alright, I don't really want to do this, since the rom is not finished yet but I need help and I thought that releasing it would attract developers, so here it is, the first rom for our P8 Lite (ALE-L21)
Current Status: Developer Preview
The rom is at an early development stage, since I don't have enough time to figure out how to make RIL work.
Just flash the rom if you know what you are doing, it isn't stable or functional, it's just a preview, and a waste of time if you don't know how to do things properly.
What works:
Audio
Camera
Wifi
Most apps
Some other things
What DOESN'T work:
NFC
Bluetooth (It used to work, however it's not my priority)
RIL (3G , 2G, GPRS...)
GPS (I haven't tested it but I guess it isn't working)
Playing some kind of media files
How to install it:
Wipe data/cache (factory reset) after installation
Flash boot and system.img via fastboot.
Download
Remember to backup everything before flashing, I am not responsible of Data loss, phone bricking, or whatever.
Device Source: https://github.com/XePeleato/android_device_huawei_p8lite_alel21
Kernel source: https://github.com/XePeleato/android_ALE-L21_kernel
We need some help over there, so if you want to help and are skilled in Java, drop a message.
I also want to thank everyone who helped me on Github.
I guess that's it, if anyone could move this to the development section it would be really nice.
Have a nice day!
info
any screenshots maybe? im happy that someone is working on rom for this phone
Hello...
This ROM is also compatible with model ALE-L02 and L23?
Thank y!
Hello @XePeleato that compilation must be to install?
Enviado desde mi hi6210sft mediante Tapatalk
Awesome, I've been following your development on GitHub. Very happy with your progress!
Keep it going, as soon as you get RIL working, I'll get it on my phone. Can't stand this EMUI thing.
Either way, thank you for your great work and best of luck!
I do not know exactly how I installed . Can you explain in detail ?
Did you see this HiKey board? (Google for it I still can't post links to external pages :\ ) There is full documentation about Kirin 620 and even a Android port with USB OTG support (of course source is open). May be you try to enable USB OTG?
Install ROM
Xpredator 20 said:
I do not know exactly how I installed . Can you explain in detail ?
Click to expand...
Click to collapse
For install:
1. You must be unlocked bootloader
2. Enable ADB debugging in advanced options (tapping serveral times on about phone > compilation and you'll get that option in settings) and connect the phone to the PC
3. Download android studio SDK and then go to C:\Users\Yourusersname\AppData\Local\Android\sdk\platform-tools
4. Open a cmd terminal (shift + right click)
5. Download the TWRP recovery 3.0 that XePeleato made from his github (sorry I can't post links yet)
6. Now in cmd write: adb reboot bootloader and the adb drivers will be installed in your PC (if not, download ADB Driver Install)
7. Place the recovery.img from the recovery zip to the folder where you opened the terminal (platform-tools)
8. Now write in cmd: fastboot flash recovery recovery.img
9. Write in cmd: fastboot reboot recovery
10. DO A COMPLETE BACKUP (that's important)
11. Now download the ROM and place the system.img and the boot.img of the .zip in the same folder as before.
12. Write in cmd: fastboot flash boot boot.img
13. Write in cmd: fastboot flash system system.img
14. Write in cmd: fastboot reboot recovery
15. Now in recovery select wipe > advanced wipe and select data and cache
16. Install Gapps for 5.1.1 if you want.
That's it, hope it works.
If you share screenshots to see the pre-appearance, I'm totally interested in this project.
Enviado desde mi ALE-L21 mediante Tapatalk
Screenshots
C'mon guys, haven't you already seen AOSP? Well... Here you got the screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Last screenshot is from the 5.0.1 release, but anyway.
I love AOSP, I just needed to see that it was not disguised EMUI
Enviado desde mi ALE-L21 mediante Tapatalk
wilburyh said:
For install:
1. You must be unlocked bootloader
2. Enable ADB debugging in advanced options (tapping serveral times on about phone > compilation and you'll get that option in settings) and connect the phone to the PC
3. Download android studio SDK and then go to C:\Users\Yourusersname\AppData\Local\Android\sdk\platform-tools
4. Open a cmd terminal (shift + right click)
5. Download the TWRP recovery 3.0 that XePeleato made from his github (sorry I can't post links yet)
6. Now in cmd write: adb reboot bootloader and the adb drivers will be installed in your PC (if not, download ADB Driver Install)
7. Place the recovery.img from the recovery zip to the folder where you opened the terminal (platform-tools)
8. Now write in cmd: fastboot flash recovery recovery.img
9. Write in cmd: fastboot reboot recovery
10. DO A COMPLETE BACKUP (that's important)
11. Now download the ROM and place the system.img and the boot.img of the .zip in the same folder as before.
12. Write in cmd: fastboot flash boot boot.img
13. Write in cmd: fastboot flash system system.img
14. Write in cmd: fastboot reboot recovery
15. Now in recovery select wipe > advanced wipe and select data and cache
16. Install Gapps for 5.1.1 if you want.
That's it, hope it works.
Click to expand...
Click to collapse
I installed mine. I wonder if the problem is corrected when the sim card?
This ROM is also compatible with model ALE-L02 and L23?
SkopiX said:
perfect work man but this rom belongs to DEVELOPMENT section, not general
and this is not 1st custom rom, there is already 1 custom rom and 1 flashable via TWRP
still perfect work
Click to expand...
Click to collapse
Since I needed 10 posts to post it there.
Is there any other rom ? I'd love to know what rom is that, maybe RIL is fixed there.
but these 2 roms are modified emui. They aren't based on pure AOSP
Your work it's on facebook, without your name...
Enviado desde mi ALE-L21 mediante Tapatalk
dominj97 said:
but these 2 roms are modified emui. They aren't based on pure AOSP
Click to expand...
Click to collapse
thats true didnt realize diferences, I just saw "rom" not aosp
@XePeleato I guess RIL can be fixed by some dirty hacks on binaries.
I worked before on Xperia devices (CMs, AOSPs, ports) but maybe I can help a bit.
Hi all,
I have this device since saturday and i noticed that there is a sririous lack of aosp roms.
Since i'm not very far with my Java skills i wanted to know if there are peoople willing to join up and develope a custom ROM flashable tru twrp.
Those are my ideas, anybody in ?
Greetings,
Justin.
Its kernel can oc ?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Montana-xt1793 nougat && oreo stok rom TWRP flashable
1. Your warranty is now void.
2. I am not responsible for bricked devices, dead SD cards, thermonuclear war,
or you getting fired because the alarm app failed.
3. Please do some research if you have any concerns about features included in this ROM.
4. Before flashing it..!! YOU are choosing to make these modifications
& if you point the finger at me for messing up your device, I will laugh at you.
Click to expand...
Click to collapse
To use it, you need:
Bootloader unlocked
use this thread
TWRPrecovery instaled
use this thread
Root optional
Download oreo 8.1.0 (65-37-2) debloated, prerooted
Download nougat 7.1.0 (102-49-8) debloated. deodexed
Oreo rom work only if youre phone is updated to oreo 8.1.0
Nougat rom work on nougat base files or on phones updated to oreo and then downgraded to nougat like in this thread
Instalation
Download the rom Montana-nougat/-oreo.zip
Copy it on the sdcard in phone
Charge the phone at least 70-80%
Boot/Reboot the phone in TWRPrecovery:
-Turn the phone off
-Press the vol-down+power simultan few sec. to boot in bootloader interface
-Navigate with vol-up or vol-down on menu to get "Reboot recovery" option
-Press power to boot in TWRPrecovery(be carefull, dont use stok recovery you can brick the phone)
TWRPrecovery
Backup first your working rom by presing "Backup"
-sellect the storage partition where you want to save your backup(prefferable the bigest one, sdcard or internal)
-after the backup is done, go back to main menu
Wipe data factory
-swipe the down button to wipe the data partition and go to main menu
Install
-press the "install button
-select the storage where you copied the rom Montana.zip(internal or sdcard)
-search and press on "Montana.zip"
-Swipe the down button to install it
-when it finish Wipe dalvik-cache
-Reboot
First boot will be longer, 5 to 10 min so dont worry
Enjoy!
PS. how i know on a deodexed rom you can use "Xposed modules"
hope this will help you!
Credits
@lohanbarth for unlock bootloader guide
@squid2 for TWRP
@SuperR. for kitchen
@osm0sis for Android image kitchen
reserved
Thanks for the clean room ,some force closes on the first boot ,but for now everything it's ok. I hope we I'll see some custom ROMs for this device.
catalin habdul said:
Thanks for the clean room ,some force closes on the first boot ,but for now everything it's ok. I hope we I'll see some custom ROMs for this device.
Click to expand...
Click to collapse
yes Email and Chrome give FC but after update of aplications this stopt.
only Email apk not work.
Customs roms will come for shure, this is only the begining!
Also "Mery Christmas!" to all
vaserbanix said:
yes Email and Chrome give FC but after update of aplications this stopt.
only Email apk not work.
Customs roms will come for shure, this is only the begining!
Also "Mery Christmas!" to all
Click to expand...
Click to collapse
Please make device trees and vendor blobs
govind1233 said:
Please make device trees and vendor blobs
Click to expand...
Click to collapse
To make that, must be a developer!
I'm not, I'm only a porter with minimal knowledge.
Also I see a G5 device tree and with some improvement's can work for G5s.
I,l see after the new year will come if I can helping with something on that
Sent from my Moto G (5S) using Tapatalk
I see someone already made those available...on the g5s source code threat here on XDA....
vaserbanix said:
Montana-xt1793 deodexed & debloated stok rom
based on orange-eu stok rom
How the title say, this rom is deodexed busy-box instaled and debloated
To use it, you need:
Bootloader unlocked
use this thread
TWRPrecovery instaled
use this thread
Root optional
Download
Instalation
Download the rom Montana.zip
Copy it on the sdcard in phone
Charge the phone at least 70-80%
Boot/Reboot the phone in TWRPrecovery:
-Turn the phone off
-Press the vol-down+power simultan few sec. to boot in bootloader interface
-Navigate with vol-up or vol-down on menu to get "Reboot recovery" option
-Press power to boot in TWRPrecovery(be carefull, dont use stok recovery you can brick the phone)
TWRPrecovery
Backup first your working rom by presing "Backup"
-sellect the storage partition where you want to save your backup(prefferable the bigest one, sdcard or internal)
-after the backup is done, go back to main menu
Wipe data factory
-swipe the down button to wipe the data partition and go to main menu
Install
-press the "install button
-select the storage where you copied the rom Montana.zip(internal or sdcard)
-search and press on "Montana.zip"
-Swipe the down button to install it
-when it finish Wipe dalvic-cache
-Reboot
First boot will be longer, 5 to 10 min so dont worry
Enjoy!
PS. how i know on a deodexed rom you can use "Xposed modules"
hope this will help you!
Credits
@lohanbarth for unlock bootloader guide
@squid2 for TWRP
@SuperR. for kitchen
@osm0sis for Android image kitchen
Click to expand...
Click to collapse
Hello, Can you upload this rom in another HOSTING WEBSITE, please?
For example: in your GOOGLE DRIVER HOSTING WEBSITE.
As Mega.nz has a download limit and all the time when i try to download it i need to wait a loooong time do be able to download it.
Thank you very much.
Felipe
FELIPE NDC said:
Hello, Can you upload this rom in another HOSTING WEBSITE, please?
For example: in your GOOGLE DRIVER HOSTING WEBSITE.
As Mega.nz has a download limit and all the time when i try to download it i need to wait a loooong time do be able to download it.
Thank you very much.
Felipe
Click to expand...
Click to collapse
https://drive.google.com/open?id=1fzXW0TXhk1Xuz_M4aagNdzkQqDTRmik0
Gdrive link!
Congratulations for the work. Is it possible a update with fixes e tweaks for any device montana?
Guth13 said:
Congratulations for the work. Is it possible a update with fixes e tweaks for any device montana?
Click to expand...
Click to collapse
teoretical this should work on any montana version being a stok rom.
i tested and used only on xt1793 becouse this is my montana version.
thankyou!
Trimis de pe al meu Moto G (5S) folosind Tapatalk
oreo stock rom TWRP flashable
Thread updated with oreo stock rom TWRP flashable!
Enjoy!
Thankyou!
vaserbanix said:
Thread updated with oreo stock rom TWRP flashable!
Enjoy!
Thankyou!
Click to expand...
Click to collapse
Nice bro.
Nougat flashable
[email protected],
Using Nougat flashable i am not able to update Chrome, Google and Outlock. Getting error 110 from Play Store Apk.
Any idea how to fix this?
I tried wipe cache and deleted data and cache for each apk.
Thanks in advance!
So, I unlocked my bootloader a couple of days ago, but when I got into the point of flashing TWRP, I realized that there is no custom recovery that supports device encryption.
For that reason I didn't root my phone but there is a way around that.
Code:
#include <std_disclaimer.h>
/*
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
1. Download the latest Magisk Manager from here and install it.
2. Download latest ROM from here and depending on your device.
3. Extract boot.img file from the ROM .zip file and copy it to phones internal storage.
4. Open Magisk Manager and go to settings. Select the Beta channel (stable did not work for me).
5. Go to home and select install magisk. Select patch boot image, and select the boot.img that we extracted earlier. Now a new file patched_boot.img will be created. Copy it to your PC.
6. Boot device into fastboot.
7. Execute fastboot flash boot /path/to/patched_boot.img .
8. Reboot device and you are rooted
All credits go to Magisk. I shared this, only because there are no such relevant information in this sub forum
But now we have 10.2.17 and no download link. Tomorrow I can unlock my bootloader. Would it also work, if I download and modify the boot.img from 10.2.15?
Sent from my [device_name] using XDA-Developers Legacy app
Many thanks, but I'm on 10.2.17. Could you kindly provide the patched boot img file?
You can download the whole ROM here:
http://bigota.d.miui.com/V10.2.17.0...AGlobal_V10.2.17.0.PFAEUXM_53263ccd41_9.0.zip
Sent from my MI 9 using Tapatalk
*delete*
radii said:
Many thanks, but I'm on 10.2.17. Could you kindly provide the patched boot img file?
Click to expand...
Click to collapse
Got it working.
I have the 10.2.17 prepatchedboot.img. XDA does not allow me to attach to this post. If anyone can suggest easy (ie without setting up account) method of upload can do so
Ok got it, will give it a try.
radii said:
Got it working.
I have the 10.2.17 prepatchedboot.img. XDA does not allow me to attach to this post. If anyone can suggest easy (ie without setting up account) method of upload can do so
Click to expand...
Click to collapse
i need it , can you upload to dropbox? thanks.
The boot.img is in the Link from Captus.
Sure send username and password
radii said:
Got it working.
I have the 10.2.17 prepatchedboot.img. XDA does not allow me to attach to this post. If anyone can suggest easy (ie without setting up account) method of upload can do so
Click to expand...
Click to collapse
I tried with the latest boot.img but no luck. It stuck in fastboot screen so I had to flash the original one! I will give it another try though!
Edit:
Success. I patched the image again and it worked, I do not know what was the problem the first time.
WOUAHOUU ! it work very fine ! I routed my Mi9 (global original stock rom) in 15 seconds without changing recovery and without putting TWRP .. the top !
I wonder why this tutorial is not in the first position of the root procedure.
With this procedure, are the updates always done by OTA or does it need a new way?
up ? because global rom just changed for 10.2.22 with a ota update. How can we do ?
Strange. My global rom is 10.2.9.0
So, this method gives full root acces? Like any other, more complicated, method? Any limitations?
Btw, what cpu governors does the default kernel support? Can they be changed with a Kernel Manager (Adiutor etc) after this root method?
So, full root : I think that yes.. all my apks that require root work perfectly. It 'seems that there is non limitation.
but, I answer my own question: As with a modified recovery, the OTA no longer work either when it's a fix. But OTA work perfectly when it'a a full update.
SO ! This is the link for Global ROM 10.2.22 : https://bigota.d.miui.com/V10.2.22....AGlobal_V10.2.22.0.PFAEUXM_745a374eee_9.0.zip
Tuto to do full update and root :
We launch the update ota normally.
the phone reboots and announces that the update can not be done in this version.
Phone reboots normaly. You restart the OTA update : Phone then launches automatically a FULL update version 10.2.22
On the PC, We download the global rom and extract the boot.img
Then we use magisk to modify boot.img as in post nbr 1 page 1 and use adb for flashing the modified boot.img
Rooted !
No luck with global rom is 10.2.9.0
tried patching multiple times using beta and stable.
roll back to boot.img original.
Hi guys,
just got my brand-new Mi 9 a few days ago and rooting it drives me nuts.
I have rooted many devices but here my problem:
After using TWRP and Magisk, the system fails to boot, always goes into TWRP.
Then I used the method described here, the system fails to boot and goes into MI-Recovery.
When I flash back the original boot.img, the device boots fine.
Can anyone please help?
Thanks
Robert
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
ChingghisKhan said:
Hi guys,
just got my brand-new Mi 9 a few days ago and rooting it drives me nuts.
I have rooted many devices but here my problem:
After using TWRP and Magisk, the system fails to boot, always goes into TWRP.
Then I used the method described here, the system fails to boot and goes into MI-Recovery.
When I flash back the original boot.img, the device boots fine.
Can anyone please help?
Thanks
Robert
Click to expand...
Click to collapse
Always flash ROM and fully boot into ROM first.
Then reboot after setup back in to TWRP and only then flash Magisk.
Flashing ROM + Magisk is fine with AOSP/Lineage etc. but MIUI ROMs always fail to boot if you install Magisk at the same time as an MIUI ROM
ChingghisKhan said:
Hi guys,
just got my brand-new Mi 9 a few days ago and rooting it drives me nuts.
I have rooted many devices but here my problem:
After using TWRP and Magisk, the system fails to boot, always goes into TWRP.
Then I used the method described here, the system fails to boot and goes into MI-Recovery.
When I flash back the original boot.img, the device boots fine.
Can anyone please help?
Thanks
Robert
Click to expand...
Click to collapse
Try to use the beta channel of magisk. It will probably do the trick!
Closed Per OP Request
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
/* Disclaimer
* I am not responsible for bricked devices, dead SD cards, thermonuclear war,
* or you getting fired because the alarm app failed. Please do some research
* if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you blame me in any way for what happens to your device, I will laugh at you.
* BOOM! goes the dynamite
*/
Team Win Recovery Project (TWRP) is an open-source software custom recovery image for Android-based devices. It provides a touchscreen-enabled interface that allows users to install third-party firmware and back up the current system, functions often unsupported by stock recovery images. It is, therefore, often installed when rooting Android devices, although it isn't dependent on a device being rooted to be installed.
Downloads:
TWRP 3.3.x
Please Install Via Odin!
Disabling Force Encryption(Highly recommended)
This process involves wiping your data
- flash twrp on your current rom
- Click Wipe and then click format data(Wipes your /sdcard as well)
- Go to download mode and flash stock
- Make sure to to not let it boot and reboot to download mode again(Power + Vol Up + Vol Down + USB cable)
- Flash TWRP again and boot to recovery(Power + Vol Up + USB Cable)
- Flash RootFix (Optional, for magisk) - https://drive.google.com/file/d/19C9byrqlw_TGo-Nfm4Z-WcT6yB6sM2oP
- Flash DM-Verity and Force Encryption Disabler - https://zackptg5.com/android.php#disverfe
- Boot to stock
Flash Magisk if you want
PS: Only tested on T595XXU3ASC1
Bugs:
Encryption
MTP
Must Click "Disable MTP" to make ADB work
Brightness cannot be changed
you tell me
Device Sources:
Device Tree
Kernel Tree
XDA:DevDB Information
TWRP SM-T595, Tool/Utility for the Samsung Galaxy Tab A series
Contributors
rupanshji
Source Code: https://github.com/minimal-manifest-twrp
Version Information
Status: Alpha
Created 2019-08-06
Last Updated 2019-08-08
Reserved
Changelog
07-Aug-19
Code:
Fix Mouse Cursor Bug
Fix Flashing of files
Remove useless stuff
06-Aug-19
Code:
Initial Build
I will be working on building lineage very soon as well. However I don't have enough data to download 4-5 builds everyday.
All those willing to test or just discussing the development in general can join my telegram group - https://t.me/smt595
INTERESTING!!
At the moment Odin freezes while I try to load the recovery image. (Odin 3.13, ROM T595XXU3BSF3)
Supercoach1970 said:
INTERESTING!!
At the moment Odin freezes while I try to load the recovery image. (Odin 3.13, ROM T595XXU3BSF3)
Click to expand...
Click to collapse
oof my bad i uploaded the whole folder instead of a file
EDIT: Link fixed!
Great work Rupanshji!! It works on my SM-T595. THANKS!!!
Not so quick, it does not work on mine. When I flash twrp in odin it tells me that it is unverified package on tablet and odin says failed. Anyway, could anyone share a patched bootloader? I have the latest rom ...... June.
vq8acsxht said:
Not so quick, it does not work on mine. When I flash twrp in odin it tells me that it is unverified package on tablet and odin says failed. Anyway, could anyone share a patched bootloader? I have the latest rom ...... June.
Click to expand...
Click to collapse
Unlock your bootloader m8
rupanshji said:
Unlock your bootloader m8
Click to expand...
Click to collapse
No the bootloader was unlocked. I finally was able to flash twrp. You missed a step though:
0) Reflash all the OEM First before flashing TWRP
Just a heads up to anyone else....
If you get this message in red text:
"Only official released binaries are allowed to be flashed"
or this message in a blue screen of death:
"Security Error: This device has been flashed with unauthorized software & is locked. Call your mobile operator for additional support. Please note that repair/return for this issue may have additional cost."
Congradulations! You just tripped SAMSUNG'S SECURITY APE! You just won..... more flashing.... :silly:
Just reflash "ALL OF THE STOCK FIRMWARE." The BL + AP + CP + CSC to fix it and put the ape back into the cage.
Here is the command to push a file to the SD card with ADB:
adb push Disable_DM-Verity.zip /sdcard/Disable_DM-Verity.zip
Thanks rupanshji !!!! Hope you get encryption working soon and LOS.
If you could also make it compatible with the SM-T597, that would be nice
Hi rupanshji. Any news on lineage? I'm really impressed with the specs of the tablet and confused why there is almost zero efforts to get any custom roms ready for that device.
Just to let everyone know. LOS is still being worked on. His laptop is in repair so he has to get it back. If you have the 595 tablet PLEASE JOIN THE TELEGRAM GROUP so you know what is going on.
rupanshji
All those willing to test or just discussing the development in general can join my telegram group - https://t.me/smt595
Click to expand...
Click to collapse
dezzo77 said:
If you could also make it compatible with the SM-T597, that would be nice
Click to expand...
Click to collapse
I can confirm that it is working on SM-T597P with firmware T597PVPS2ASG3. I also went ahead and pulled the stock recovery and boot, as well as modified the RootFix for any device. You can find those files here Link. Thanks Dev for bringing this to light . I also didn't follow the install directions exactly so ill list the steps i took.
1. Flash TWRP with modded odin and reboot to download.
2. Flash Stock recovery and as soon as it reboots enter stock recovery.
3. Wipe Data/Factory Reset.
4. Reboot to Bootloader from Stock Recovery.
5. Flash TWRP again and after reboot enter TWRP.
6. Flash RootFix.
7. Flash DM-Verity and Force Encryption Disabler.
8. Reboot to system.
If anyone would like me to pull the stock recovery of their firmware for them i'm more than happy to.
Compatability with the sm-t590 would be greatly appreciated
Build number
T590XXU3BSG3
Added T590XXU3BSG3 stock boot and stock recovery Here
koobie777 said:
I can confirm that it is working on SM-T597P with firmware T597PVPS2ASG3. I also went ahead and pulled the stock recovery and boot, as well as modified the RootFix for any device. You can find those files here . Thanks Dev for bringing this to light . I also didn't follow the install directions exactly so ill list the steps i took.
If anyone would like me to pull the stock recovery of their firmware for them i'm more than happy to.
Click to expand...
Click to collapse
SM-T597P firmware t597pvpu2bsh7 Android 9 will work your loader?
alexpuz said:
SM-T597P firmware t597pvpu2bsh7 Android 9 will work your loader?
Click to expand...
Click to collapse
yeah for sure
Sent from my SM-G955U using Tapatalk
Sm-t595nzkadbt
Model: SM-T595NZKADBT
Basisbandversion: T595XXU4BSG3
Still no luck :/
With modded Odin from kobi and TWRP from the 1. Site.
Error: Only official...
dm.homelinux.com said:
Model: SM-T595NZKADBT
Basisbandversion: T595XXU4BSG3
Still no luck :/
With modded Odin from kobi and TWRP from the 1. Site.
Error: Only official...
Click to expand...
Click to collapse
try this workaround what i found for our tablet in KG State Prenormal
https://forum.xda-developers.com/showpost.php?p=80856871&postcount=772
koobie777 said:
I can confirm that it is working on SM-T597P with firmware T597PVPS2ASG3. I also went ahead and pulled the stock recovery and boot, as well as modified the RootFix for any device. You can find those files here Link. Thanks Dev for bringing this to light . I also didn't follow the install directions exactly so ill list the steps i took.
1. Flash TWRP with modded odin and reboot to download.
2. Flash Stock recovery and as soon as it reboots enter stock recovery.
3. Wipe Data/Factory Reset.
4. Reboot to Bootloader from Stock Recovery.
5. Flash TWRP again and after reboot enter TWRP.
6. Flash RootFix.
7. Flash DM-Verity and Force Encryption Disabler.
8. Reboot to system.
If anyone would like me to pull the stock recovery of their firmware for them i'm more than happy to.
Click to expand...
Click to collapse
can you make please the fix root for T595XXU4BSG3 please .. cause this one gives bootloop.
thanks in advance
First I'm not the developper of this rom and just share it here
credits go to Maciej Mirosław
Link to download:
https://sourceforge.net/projects/rombuild/files/RiceDroid/
Clean Flash
1. Download the proper flashable ZIP for your device, as well as all additional images
2. Flash provided boot, vendor_boot via Fastboot
3. Reboot to Recovery
4. Sideload the ROM
5. Sideload firmware (if necessary)
6. Format data
7. Reboot to System
Dirty Flash
1. Download the proper flashable ZIP for your device
2. Reboot to Recovery
3. Sideload the ROM
4. Reboot to System
There is a guide how to flash custom rom thanks to @rayman95 if someone gets stuck during the process.
I personally tested it, and its working perfectly fine, no bugs or anything.
razor_1911 said:
First I'm not the developper of this rom and just share it here
credits go to Maciej Mirosław
Link to download:
https://sourceforge.net/projects/rombuild/files/RiceDroid/
Clean Flash
1. Download the proper flashable ZIP for your device, as well as all additional images
2. Flash provided boot, vendor_boot via Fastboot
3. Reboot to Recovery
4. Sideload the ROM
5. Sideload firmware (if necessary)
6. Format data
7. Reboot to System
Dirty Flash
1. Download the proper flashable ZIP for your device
2. Reboot to Recovery
3. Sideload the ROM
4. Reboot to System
There is a guide how to flash custom rom thanks to @rayman95 if someone gets stuck during the process.
I personally tested it, and its working perfectly fine, no bugs or anything.
Click to expand...
Click to collapse
This is a good ROM. Thanks!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Great! It is the same as CherishOS 4.2 a13gsi.
razor_1911 said:
First I'm not the developper of this rom and just share it here
credits go to Maciej Mirosław
Link to download:
https://sourceforge.net/projects/rombuild/files/RiceDroid/
Clean Flash
1. Download the proper flashable ZIP for your device, as well as all additional images
2. Flash provided boot, vendor_boot via Fastboot
3. Reboot to Recovery
4. Sideload the ROM
5. Sideload firmware (if necessary)
6. Format data
7. Reboot to System
Dirty Flash
1. Download the proper flashable ZIP for your device
2. Reboot to Recovery
3. Sideload the ROM
4. Reboot to System
There is a guide how to flash custom rom thanks to @rayman95 if someone gets stuck during the process.
I personally tested it, and its working perfectly fine, no bugs or anything.
Click to expand...
Click to collapse
It's a pity that the rounded corner effect on the widget is lost. Hope it will be fixed in the next version.
audio out by cable is working ?
I have updated to the latest rom v8.5 but still haven't added to the rom the rounded corner widget interface - google's precious thing.
Can one root via Magisk with this rom pls? I have to have Adaway, SD Maid, picky banking apps all working
How does one out TWRP on this A/B partition device pls?
TheDon13 said:
How does one out TWRP on this A/B partition device pls?
Click to expand...
Click to collapse
Hold down the power + volume down keys then enter fastboot.
TheDon13 said:
Can one root via Magisk with this rom pls? I have to have Adaway, SD Maid, picky banking apps all working
Click to expand...
Click to collapse
Just sideload the zip through twrp.
TheDon13 said:
Can one root via Magisk with this rom pls? I have to have Adaway, SD Maid, picky banking apps all working
Click to expand...
Click to collapse
Rename apk to zip then put in sd card and install via boot (boot is recovery mod).
razor_1911 said:
First I'm not the developper of this rom and just share it here
credits go to Maciej Mirosław
Link to download:
https://sourceforge.net/projects/rombuild/files/RiceDroid/
Clean Flash
1. Download the proper flashable ZIP for your device, as well as all additional images
2. Flash provided boot, vendor_boot via Fastboot
3. Reboot to Recovery
4. Sideload the ROM
5. Sideload firmware (if necessary)
6. Format data
7. Reboot to System
Dirty Flash
1. Download the proper flashable ZIP for your device
2. Reboot to Recovery
3. Sideload the ROM
4. Reboot to System
There is a guide how to flash custom rom thanks to @rayman95 if someone gets stuck during the process.
I personally tested it, and its working perfectly fine, no bugs or anything.
Click to expand...
Click to collapse
When you talk of recovery, do we mean TWRP custom recovery? As it is TWRP that I cannot get to fastbooot flash on this phone, due I think to it being an A/B device. My phone is bootloader unlocked but even doing fasttboot flash recovery to both partitions results in a fail. Grateful for any advice pls folks. Thanks
Aitra said:
Hold down the power + volume down keys then enter fastboot.
Click to expand...
Click to collapse
My problem is not being able to flash/install TWRP on this A/B device. It is rooted via Magisk fine, with adaway, sd maid, magisk all working fine. Banking apps all good thanks to freezing Magisk (Hide) within SD Maid
Maybe this info hasthe answer to my twrp issue!
[HowTo] Install Recovery image
How to install a xiaomi.eu recovery image Because of more and more working TWRP or OrangeFox on MIUI13 Android12 a little How To and here we go .... Unlock your device (only once) - you need to unlock bootloader -> a small [howto] to unlock bootloader Install Tools and Drivers - install USB...
xiaomi.eu
Is this the kind of thing others followed?
TheDon13 said:
Maybe this info hasthe answer to my twrp issue!
[HowTo] Install Recovery image
How to install a xiaomi.eu recovery image Because of more and more working TWRP or OrangeFox on MIUI13 Android12 a little How To and here we go .... Unlock your device (only once) - you need to unlock bootloader -> a small [howto] to unlock bootloader Install Tools and Drivers - install USB...
xiaomi.eu
Is this the kind of thing others followed?
Click to expand...
Click to collapse
you can follow the guide here https://forum.xda-developers.com/t/recovery-11-official-teamwin-recovery-project.4306807/
razor_1911 said:
you can follow the guide here https://forum.xda-developers.com/t/recovery-11-official-teamwin-recovery-project.4306807/
Click to expand...
Click to collapse
Many thanks Razor_1911....I'll give that a try
There is a new update guys, check it out. Released 25.11.2022
Error not rounding the widget corner outside the main screen.