yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 4 Guides, News, & Discussion] mbangi:
Can you give me full setps to get back MIUI 10

I am on treble Arrow 9.0

Modified twrp

And root

Because I did my self and now I can't root

Normal twrp without any errors
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ohwarumbloss:
Just download your MIUI ROM from i.e. Xiaomi.eu or whatever you like, install latest official TWRP with TWRP Manager from Playstore, boot to Recovery, wipe all Partitions (format Data if you encrypted your Device) and then install your desired MIUI Version.

The latest TWRP supports both, Treble and non Treble.

If you want to root, just install Magisk.

Hope that helped?
[Xiaomi Redmi Note 4 Guides, News, & Discussion] sprocketoctopus:
I have LineageOS 15.1-20181115-NIGHTLY-mido on my Note 4.

Android 8.1 & LineageOS API level: llama

Very happy with the ROM and phone...

Usually my phone updates every 2 weeks like clockwork.

But over the last 4 days 12/11; 13/11; 14/11; & 15/11 I've updated every day.

Is this because that Nightly is now a 'Treble' ROM?

Thanks.
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ohwarumbloss:
Hey,

I don't know why but obviously they switched from weekly to nightly. There is no need to update every day, you can ignore most updates but check Changelogs from time to time and of course security Patch Level (from month to month)

Greetings

Thomas
[Xiaomi Redmi Note 4 Guides, News, & Discussion] sprocketoctopus:
Thanks Thomas.

I might do a bit more homework and find out why.

Cheers

:)
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ohwarumbloss:
You're welcome :)

I am using crDroid Pie for some days now and have to say it is running very good. It even seems that the Delay from Lockscreen ist gone after 15/11 Update!

It is LOS based so Audio FX is there and some other Features. I found zero Bugs so far, it's worth to have a look ;)

Greetings

Thomas
[Xiaomi Redmi Note 4 Guides, News, & Discussion] optionalmgrr.la:
Thx,,,,!!!
[Xiaomi Redmi Note 4 Guides, News, & Discussion] devilhunter47:
I downloaded the latest twrp from official site and flashed PE pie treble. Didn't know I had to do all these steps. My phone is working fine now. Should I change my recovery to modded twrp?
[Xiaomi Redmi Note 4 Guides, News, & Discussion] optionalmgrr.la:
hi there did you flash this??

https://xdaforums.com/project-treble/trebleenabled-device-development/aosp-9-0-phh-treble-t3831915

I want to try too can you layout the steps one by one? thx!!!!!!
[Xiaomi Redmi Note 4 Guides, News, & Discussion] optionalmgrr.la:
Hi there can you help me?

---------- Post added at 03:05 PM ---------- Previous post was at 03:04 PM ----------

Hi there anyone can help
[Xiaomi Redmi Note 4 Guides, News, & Discussion] optionalmgrr.la:
hi can you help me??
[Xiaomi Redmi Note 4 Guides, News, & Discussion] optionalmgrr.la:
I tried aosp 9.0 but it bootlopps
[Xiaomi Redmi Note 4 Guides, News, & Discussion] centipedes:
modified magisk link is dead. current version is 18.1, so I'm assuming it no longer needs to be modified and can just be used from https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445?
[Xiaomi Redmi Note 4 Guides, News, & Discussion] mkguru:
[MENTION=3037405]ohwarumbloss[/MENTION]

Hi, I checked with project treble app, it shows as below. I rooted my device, currently I'm on miracledroid oreo non-treble. Was that means I can't install treble roms on my device forever. Please clarify.
[Xiaomi Redmi Note 4 Guides, News, & Discussion] optionalmgrr.la:
This is most updated treble build right?
[Xiaomi Redmi Note 4 Guides, News, & Discussion] optionalmgrr.la:
Thx welcome
[Xiaomi Redmi Note 4 Guides, News, & Discussion] DeblaGaming:
Can I Install any A Treble GSI's and do i need to flash the boot+vendor zip when flashing a new treble rom
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ohwarumbloss:
Not needed for this.

No, no Idea, sorry

Assuming that you installed the LOS before and did not wipe the /Vendor after that you may have a bad download. Happened to me also a few times

You can try to install LOS again and see if it boots, if so, wipe /System, /Data and /Cache again and install system.img again. It should boot if you don't have a bad download
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ohwarumbloss:
I have read about that for some Rom but in our case there should be no extra flash needed (like lazyflasher or Firmware)

Edit, sorry for triple Post, don't know what happened there
[Xiaomi Redmi Note 4 Guides, News, & Discussion] Sectorian:
Last night i flash the twrp for treble.

Donwload the aosp system img a only 64

flash the image by clicking flash system.

Reboot and the phone dont boot.

It stuck at mi logo

Any help?

Afc i wipe the all partitions. Vendor two.
[Xiaomi Redmi Note 4 Guides, News, & Discussion] mdgedam:
I have tried phhusson's system image A. Although it was working fine. I have faced i major issue, that Gcam app by Arnov8G2 was not working. If you have solution for gcam , plz share . I will definitely try phhusson's system image.
[Xiaomi Redmi Note 4 Guides, News, & Discussion] zohaibahd:
did u try other gcam mods? were they working? try to reboot and see if they work

---------- Post added at 02:05 PM ---------- Previous post was at 02:04 PM ----------

guys can i flash 8.0 gsi?
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ohwarumbloss:
You need to flash the LOS from modified TWRP, if you like to use the AOSP don't wipe Vendor, just /Caches /System and /Data

Yes, I never got any GCam mod running with the AOSP builds, too. Even with enabled camera2.api. Open Camera from Play store is working with Camera2.api, no clue why GCam isn't.

Any help or solution would be appreciated!

The difference between A-only and A-B is that there are Devices with two available Partitions and others, like ours, only have one. (That's how I understood it)

Why would you install the 8.0 Image? It should work, yes, but [MENTION=1915408]phhusson[/MENTION] is already talking about Android 9 ;)
[Xiaomi Redmi Note 4 Guides, News, & Discussion] zohaibahd:
ok thanks...can i flash 8.0 gsi though?
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ohwarumbloss:
You were to quick there ;)

I have not flashed the 8.0 Image, when I started he already had the 8.1 Image. But now he is already talking about Android 9, why would you flash outdated Android?
[Xiaomi Redmi Note 4 Guides, News, & Discussion] zohaibahd:
its just that initial 8.0 roms were better gaming performers than the current 8.1 roms. thats why?

anyways whats the news about android p?
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ohwarumbloss:
Looks like Google released the first developer Preview of P and phhusson already wrote that he wants to make a GSI of P. No news till now but it really seems to happen :) I don't know if this will run with our Vendor, what about Kernel, we will see :)

But there is progress!
[Xiaomi Redmi Note 4 Guides, News, & Discussion] Sectorian:
[MENTION=3037405]ohwarumbloss[/MENTION] dude i have flash the system.img a version 64bit.

Reboot the phone and successful reboot.

Then i reboot to the TWRP flash open gapps 8.1 nano 64 bit. everything is ok.

Wippe data and cache and i press reboot.

But the phone reboot whitout the gapps.

Please help.
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ohwarumbloss:
Hey, are you sure that there was no Error by GApps Installer? This is strange because the way you did it was right. It's exactly how I installed it on my Device.

Maybe you want to flash GApps once again and look at the output Message?
[Xiaomi Redmi Note 4 Guides, News, & Discussion] Sectorian:
I have successful flash the sytem image and the gapps.

Flashing the gapps after system give you a error.

But go to mount and make sure that all partitions are mounted and dont have the check for read only.

Flash the gapps again this time whitout error.

Wippe Cache Dalvic Cache and Data.

Reboot the phone.

All normal whit gapps.

Thak you.

So if i want to update the rom.

I need only to flash the new system.img and wippe the cache and reboot the phone right?
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ArK96:
Next time try without wiping the data partition before reboot. Wiping caches is enough.

EDIT: My bad. Glad you could fix it.
[Xiaomi Redmi Note 4 Guides, News, & Discussion] fleischbanane:
The phone tells me it's the wrong vendor after flashing the latest los15.1. Can I download the right one and flash it via Fastboot? That's the way I do it on my Nexus 5X.

And I can't install Magisk modules. In the log it says I have to install Magisk 15+, but I flashed the modded 16. Someone else with this issue?
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ohwarumbloss:
If you use the vanilla Build you will have to flash GApps again right after the new System flash. Wipe Caches is always good.

I have no clue about Modules on Magisk I only use it for root. Any Information would be appreciated!

About the wrong Vendor, when flashing the Treble LOS the Vendor should be right.

I have doubts about fastboot vendor because our modded TWRP changes the /cust to /vendor, maybe it works if you point to Vendor, maybe not. Haven't had to use Fastboot for /Vendor yet, sorry
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ohwarumbloss:
When I tried to install GApps on vanilla Build without wiping /Data I got a lot of force closes that's why I said you need to wipe /Data again. Did it work for you (flash vanilla Image, boot it, reboot to TWRP) without clearing /Data? If so I need to change my tutorial

Thanks :)
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ArK96:
Bro I'd to glad to help, but I only flashed the package with SU binaries and Gapps included. I was just suggesting him, it was not tested by me. Sorry :(
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ohwarumbloss:
Ah, okay, all good!

The su/GApps package can just be booted, for the vanilla Build, if you booted into the System and reboot to install GApps you will need to wipe /Data once more so no Google Service gets messed up and phone starts with Google Setup :)

So we were both right while talking bout different Images ;)
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ArK96:
Maybe that's why phhusson created an image with GApps included.
[Xiaomi Redmi Note 4 Guides, News, & Discussion] Sectorian:
[MENTION=3037405]ohwarumbloss[/MENTION] any idea is the frankkernel treble version and magisc manager treble version for mido are working?
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ohwarumbloss:
Yes, Frankokernel is working very good, actually! Look at the Screenshot. With vanilla Build I'm getting an Errortext after reboot but System is running very fine! You will need the Treble Version, of course.

Magisk (the one I pointed to in OP) is working for root but there seems to be Problems with the Modules/Addons. But as Treble spreads around I hope that there will be solutions, soon :)

The Screenshot is with phhusson's vanilla AOSP V12 and Franko Kernel r5

CPU set to -25%, Bluetooth, WiFi, GPS always on (with a lot of Spotify in Car with Bluetooth & VoLTE when I'm outside)
[Xiaomi Redmi Note 4 Guides, News, & Discussion] Sectorian:
[MENTION=3037405]ohwarumbloss[/MENTION] start a new tread in roms section.

That will help the rom to involve.

So i start download the Su version whit gapps to have a root.
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ohwarumbloss:
Nah, I think this is the right Place, there is no Development going on, just trying to keep Development Thread clean and also help other Users :)

Happy flashing!
[Xiaomi Redmi Note 4 Guides, News, & Discussion] Sectorian:
Do you know some working viper4android because i got bootloop wen i flash fire sound (the new oreo version)

I download the system.img 64 whit gapps and su and i dont have a root!

why?
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ohwarumbloss:
I think viper4android needs to be modified for Treble.

For root, download phh's Superuser from Playstore :)
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ohwarumbloss:
GCam mod

I found a working GCam mod for the GSI here :)

Please don't forget to thank [MENTION=1527752]antonholmstedt[/MENTION] for this.
[Xiaomi Redmi Note 4 Guides, News, & Discussion] Stampyron:
You know since Android P DP1 is out, I'm thinking can we flash the system.img from Android P on our phone? Really likely it won't work but who knows:D
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ohwarumbloss:
I am curious!!

Let's wait for phhusson to do his Magic and hope the best ;)

Even if the Speed of new Android Versions is a bit high, lately. We just got 8.1 running well and now P
[Xiaomi Redmi Note 4 Guides, News, & Discussion] Stampyron:
Yeah lol. I think Google should slow down the updates:silly: Especially when more than half of the Android devices in the world are still using lollipop or marshmallow:eek:
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ohwarumbloss:
Yes, true, we can be very happy with our Mido! Overall I'm happy with it in every point. The updated Android, Treble support, great Hardware!

If I got it right, Google even abandoned the Nexus 5x from Android 9, this is a bad move (if it's true)

Well, we should be happy ;)
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ArK96:
That's why Treble. Google is smart:victory:
[Xiaomi Redmi Note 4 Guides, News, & Discussion] milogen:
it has asking me the password after i done everything and reboot the phone, how to solve this ?
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ArK96:
Use the format option in TWRP before you install the ROM to remove encryption on your device.
[Xiaomi Redmi Note 4 Guides, News, & Discussion] Costa001:
does volte video calling work ?
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ohwarumbloss:
There is enhanced LTE Mode but no option in Dialer for Video calls.
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ohwarumbloss:
MIUI 9.6 (8.3.8) popped up today, going to take a look at the Developer Version ;)
[Xiaomi Redmi Note 4 Guides, News, & Discussion] milogen:
Hi, any way to configure Menu button? I don't find the button or navigation bar setting..

I need the menu button to restore sms and call log from titanium backup
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ohwarumbloss:
In TB there should be a 3 dot button in the right top corner of I remember right. You will find the settings there.
[Xiaomi Redmi Note 4 Guides, News, & Discussion] milogen:
I don't see there's such option. It has search and batch actions only
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ArK96:
Long press recents button. It will act as menu button.
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ohwarumbloss:
Haven't used TB for a while, give me a Moment, I will look :)
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ohwarumbloss:
Thanks mate, works :)

Thanks Button is not working for me? Anyone else?
[Xiaomi Redmi Note 4 Guides, News, & Discussion] milogen:
I have pressed it long, however there is no response.. It did not work for me.

Any 3rd party app can configure the setting for hardware button ?
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ArK96:
HERE.

UPDATE:

If you don't have MENU option in Titanium, then the long press on recents MUST work, it's the way Android works.
[Xiaomi Redmi Note 4 Guides, News, & Discussion] Termintor:
I am curious about how many treble-enabled roms there are in XDA besides aosp and los15.1?

So far, I have just seen two custom roms that support treble—enabled devices,or maybe that's because I didn't search enough.

I hope anybody who knows more treble-enabled roms could make a list of them.:good:
[Xiaomi Redmi Note 4 Guides, News, & Discussion] milogen:
Thanks for the button remap app.

Anyone here using Parallel space here ? I added Clash Royale in the Parallel space, when run it, the Google account to choose is blank, anyway to solve this ? My Google account has been added into the User & Account setting, if open Clash Royale directly, it has the list the Google account for me to choose.
[Xiaomi Redmi Note 4 Guides, News, & Discussion] mohsinreadymoney:
Well, I greatly appreciate your effort thanks. I had some confusion regarding the treble build but now it is mostly clear on how to flash this rom.
[Xiaomi Redmi Note 4 Guides, News, & Discussion] Stampyron:
They abandoned the 6P as well, sad. This page only shows build for pixel/xl, pixel 2/xl https://developer.android.com/preview/download.html#tos-header. Of course now we have treble this really helps in android updates, maybe we can get Android Q as well:silly:

---------- Post added at 01:30 PM ---------- Previous post was at 01:28 PM ----------

The problem is treble is only required for devices launched with Android O. There are still tons of devices launched with marshmallow or nougat.
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ohwarumbloss:
I haven't found any others and am a bit confused why not more Devs here pick up the V12 AOSP to modify it. It may be not as easy as we think.

There was a Carbon Rom in the news but I didn't really follow that progress. But I've read that there was just a small thing to be edited in build.prop to get it running on Mido.

Maybe you want to search the News Page if your interested and feel free to keep us updated with your Progress :)
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ohwarumbloss:
Here are some Screenshots, first are from phhusson's vanilla Image (fresh installed) and the others are with Magisk and Pixel2experience Modul

This Modul also enables Camera2.api and lets you use GCam without editing anything :)
[Xiaomi Redmi Note 4 Guides, News, & Discussion] moccy90:
if i come from non treble rom, do i have to flash los 15.1 first or can direct flash aosp treble?
[Xiaomi Redmi Note 4 Guides, News, & Discussion] milogen:
due to Waze has intermittent gps lost issue, i would like to revert back to Nougat. By flashing the Nougat rom backup did not work, any other way to downgrade to Nougat besides flashing fastboot rom ?
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ohwarumbloss:
No, you will need to modified TWRP and flash LOS Treble first due to Kernel/Vendor Files.

You should be able to restore your Backup, use the TWRP version you used to Backup. This "should" usually work.

If this will not work, you can flash any Nougat Rom from Recovery (custom Rom)

If you want to flash MIUI again you may need a Fastboot Version, I don't know.

Good luck :)
[Xiaomi Redmi Note 4 Guides, News, & Discussion] zerodi:
Quick question , im Using A img with Gapps and Su - Getting constant bootloops.

Do we select mount and select vendor (blue tick) then flash LOS and the sys img ?

Maybe i have downloaded a courrupt file, seems the links on PHH's thread are going super slow for me :(
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ohwarumbloss:
Usually there is no need to mount anything, the Installer will do this for you. If you installed treble TWRP and treble LOS it should run.

I've had bad Downloads from his Filehost, too, that may be the Problem.
[Xiaomi Redmi Note 4 Guides, News, & Discussion] zerodi:
Downloaded the System images again, both version With and without SU - A version..... Just get bootloops, Android logo comes up and then after few secs just reboots.

LOS installs fine, patching system and vendor successful.... So Im not sure why when i go back to twrp, wip dalvik, cache, data & system again, then flash one of the .img files it just bootloops :crying:

One thing i noticed on my pc the .img files, when i try to mount them on windows or try to extract to a fold gives an error, so i suspect im still getting corrupted images... Ive now downloaded 3-4 times from PHH's mirrors tried all of them so i dont know how to get a clean image:confused:
[Xiaomi Redmi Note 4 Guides, News, & Discussion] Termintor:
I have visited honor view10's forum, just finding rro,carbon,lineage and aosp there. That's aewsome but huawei devices have A/B system structure which is different from mido, therefore, I am not sure that I can flash them on my device harmlessly.

BTW, I found an RRO tested on mido, and here is the link: https://xdaforums.com/project-trebl...official-treble-enabled-resurrection-t3761279

Maybe it worth a try
[Xiaomi Redmi Note 4 Guides, News, & Discussion] milogen:
Hi, it should be the TWRP version before i flashed the treble's version of TWRP right ?
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ohwarumbloss:
Going to upload my downloaded and working vanilla to my GDrive and will send you the link in a PM, okay?

Thanks for the Info, RR mmmmmmh ;) going to try asap!

Yes, the Version you made your Backup with "should" do the job, please try and report back, thanks
[Xiaomi Redmi Note 4 Guides, News, & Discussion] zerodi:
Thanks , will wait your Gdrive link :)
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ohwarumbloss:
RRO Treble IS working!! For some reason I can not use the Thanks Button for some days, already contacted a Mod and waiting for an Answer but feel thanked and hugged for that Info ;)

Done :)
[Xiaomi Redmi Note 4 Guides, News, & Discussion] Termintor:
If you have tested the rom sometime, please let me know if there is some bugs, and maybe I should try it my self as well.:o
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ohwarumbloss:
It is working, installed with nano GApps without any Problems.

This made my day ;)
[Xiaomi Redmi Note 4 Guides, News, & Discussion] Termintor:
Congratulations! But I met a problem when installing RRO with open Gapps that I can't install open gapps nano without a rebooting in system told by twrp that this gapps is for android 8.1 but the rom I just installed is android 7.1.2, when I installed the gapps after a rebooting in system, it succeeded, but my gapps keeps crashing when configuring setupwizard. I met this problem as well when I flashed aosp vanilla with open gapps nano. I don't know what is wrong with the steps. Can you show me your steps?
[Xiaomi Redmi Note 4 Guides, News, & Discussion] saransh arya:
How do I install it bro am really confused with these A/B partitions and all , please guide me!
[Xiaomi Redmi Note 4 Guides, News, & Discussion] zerodi:
Tried to Flash RR also - Same just bootloops after splash logo :((
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ohwarumbloss:
You will need to wipe /Data and /Cache, then it will work :)

Our Device is A-Only, please read about it in my OP, I tried to explain it there :) the RR Treble is A-Only so you're good to go ;)

You seem to have some other Problem, the only Idea could be to wipe all Partitions then flash LOS Treble and see if this boots. If so, wipe all but NOT /Vendor and flash the system.img again. Then try to boot, good luck mate!
[Xiaomi Redmi Note 4 Guides, News, & Discussion] iamnotkurtcobain:
[MENTION=3037405]ohwarumbloss[/MENTION]

Thanks for your FAQ.

I have a Galaxy S9 (Exynos) and I'd like to know if there is a way to flash the AOSP Treble Rom onto the S9.

How can this be done once TWRP is out? (I think they release it in a week or so)
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ArK96:
Bro thank you for the updated Magisk. :good:

AFAIK the v16.1 is in beta as of now hence lots of verbose logging, which might affect performance in some scenarios. I think it might be useful for the users if you mentioned that. Just my thought.;)
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ohwarumbloss:
Thank you very much for the Update Mate!

Right now my wife is very busy with her PC but as soon as I get a chance I will update OP and create FAQ with all this!

My Thanks Button is still not working, asked a Mod and he said they are working on a fix. Will press it then ;)

Hey :)

Uh, S9.. I have seen people talk about the S9 in phhusson's Thread but are there different Versions (exynos/Qualcomm or so)? Because someone posted that he installed it on S9

here

Thanks for clearing that! And a question, when we get an Update for the Magisk App, can we apply it for Treble?
[Xiaomi Redmi Note 4 Guides, News, & Discussion] ohwarumbloss:
Or, if this is faster, someone with PC and Time who followed the Progress wants to start a FAQ? Going to link to his Post in OP so People are updated. That would be very nice!
[Xiaomi Redmi Note 4 Guides, News, & Discussion] espireso:
Will LOS-Treble of yours work with Treble enabled gemini? Gemini Just got treble support but there aren't much ROMs build for it yet.