yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 7 Guides, News, & Discussion] Patatra:
That's working now, but this TWRP can't decrypt my data. Well, not a big deal, at least I have GAPPS now :D
[Xiaomi Redmi Note 7 Guides, News, & Discussion] Schnedi:
They are already installed, so you can always flash again the other TWRP ;)
[Xiaomi Redmi Note 7 Guides, News, & Discussion] Schnedi:
After 342 attempts, fingerprint is working.

I flashed MIUI vendor.
[Xiaomi Redmi Note 7 Guides, News, & Discussion] kevinkvothe:
Which one? And did u flash it before or after flashing the gsi system.img?
[Xiaomi Redmi Note 7 Guides, News, & Discussion] Schnedi:
It was a pain till i found the right way.

Resume:

• Go back to Xiaomi.eu developer 9.4.18

• TWRP > backup > vendor image (save it in a usb otg)

• Fastboot mode and connect to computer

• terminal/cmd (on computer)

• fastboot -w

• fastboot flash system system.img

• TWRP > mount > system

• TWRP > install> GApps

• TWRP > install > magisk (canary)

• TWRP > wipe > advanced wipe > system, select repair or change file system > repair

• TWRP > wipe > advanced wipe > system, select repair or change file system > resize

• TWRP > restore > vendor image

• Reboot
[Xiaomi Redmi Note 7 Guides, News, & Discussion] BassVity:
[IMG="I'm on Pixel dust gsi right now and the rom doesn't detect the notch. The screenshot doesn't do it any justice but the edges of the RN7 cuts off the % on the right and the day on the left of the status bar. It also doesn't detect the notch and the notifications go right under the notch. any idea how I can fix it.?"]http://imgur.com/a/RvPGbnN[/IMG]
[Xiaomi Redmi Note 7 Guides, News, & Discussion] Patatra:
You're right, will do that if necessary. Everything's going fine for now :)

Nothing like that under RR gsi. Notch is ok and no cut off. I think latest Pixel dust is still based on phhusson v111 while latest RR is already on v112, maybe that?
[Xiaomi Redmi Note 7 Guides, News, & Discussion] BassVity:
Tried wiping internal and reinstalling RR Latest A&B GSI and it's the same thing and this time the fingerprint stopped working too. :(

No idea how to fix it really
[Xiaomi Redmi Note 7 Guides, News, & Discussion] silmium:
here my feedback with gsi and redmi note 7

even if software said A only for note 7

AB images are working

A only images are not working

i tried something like 6 gsi and i can't get one to work well ...(finally one is working great )

method used : i put it on sd card then flash with twrp

- if i reboot into the system on first boot, it turns into boot loop

- if i boot on recovery first then on system it goes to password encryption problem (i tried to erase into data system gatekeeper or lock screen files but no luck, i tried to flash zip like lockscreen-db_removed but it ain't working)

afetr flashing img

first i boot on recovery

resize the partition

wipe all cache like a factory reset

install magik and voila !

but.....

i have many other issues

it can be :

- no mac address

- no wifi

- no sim card detection

- gapps installation (not installing at all or not working)

i like AOSP, Pixel Dust and Resurrection Remix

PixelExperience is working great

no bug or problem to install or after installation since it's gapps inclued
[Xiaomi Redmi Note 7 Guides, News, & Discussion] xing2387:
Sorry for that.

I try it my self now, first i tried "a-only" but boot loop... then flashed "a/b" success!

---------- Post added at 03:32 AM ---------- Previous post was at 03:31 AM ----------

Sorry... It is A/B... not a-only. I just tried, "a-only" lead to boot loop. "a/b" save my life.
[Xiaomi Redmi Note 7 Guides, News, & Discussion] ttn.threat:
Are RR and PixelE working?

Read all of your comments but can't seem to figure out
[Xiaomi Redmi Note 7 Guides, News, & Discussion] Patatra:
RR working fine for me. Only brightness issue (no automatic brightness and screen flickering sometimes don't really know why but really not often)

I'm not confident with GSI images. For what I know, it's only system IMG, and they use everything else from vendor. So, can I update my vendor partition with official Vendor updates to have latest support for the phone?

For example, can I downloadl the latest developer update (CN one cause I can't find Global one), extract vendor.img, flash it with fastboot and reboot into my RR GSI image just fine or am I going into trouble?
[Xiaomi Redmi Note 7 Guides, News, & Discussion] longvt_580:
Follow step on this topic. I tried and fixed brightness success.
[Xiaomi Redmi Note 7 Guides, News, & Discussion] Patatra:
I do follow steps. persist.sys.qcom-brightness is set to 4095 but that didn't fix the issue. The only step I didn't follow is to flash latest CN beta before flashing GSI. I was on stable Global. That's why I wonder if I can just dirty flash vendor partition from CN beta now. Or if I also need to flash others partitions and which one? boot, cust, cache, ...?
[Xiaomi Redmi Note 7 Guides, News, & Discussion] longvt_580:
Did you turn on android debugging?
[Xiaomi Redmi Note 7 Guides, News, & Discussion] Patatra:
I did.

Starting from stable Global :

Unlock bootloader

fastboot -w

Flash TWRP

Flash system.img

Boot TWRP

Install magisk.zip

Resize system partition

Mount system partition

Flash GAPPS

Wipe cache/dalvik

Reboot system

Configure first start

Install magisk apk

Enable Android Debugging (already enable actually)

adb shell/su/ setprop persist.sys.qcom-brightness 4095 ; getprop return 4095 so it works

still have brightness issue... Everything else works flawlessly
[Xiaomi Redmi Note 7 Guides, News, & Discussion] longvt_580:
Yes. I tried it too, but could not understand why my device was fixed brightness without error. I use RR os 7.0 gsi rom.
[Xiaomi Redmi Note 7 Guides, News, & Discussion] Patatra:
Did you also start from stable global ROM? I'm on RR 7.0.1 gsi from April 6.
[Xiaomi Redmi Note 7 Guides, News, & Discussion] longvt_580:
I start from Revolution Rom -> PixelDust and then -> RR 7.0
[Xiaomi Redmi Note 7 Guides, News, & Discussion] Patatra:
So that could be my problem. Revolution is based on CN beta for what I saw. I need to flash something from CN beta to get rid of brightness issue. I did try to flash vendor.img from CN beta but bootloop. Ok by flashing back vendor.img from stable global.

Pretty sure I have to flash vendor from beta but don't know what else I have to flash. Everything but system?
[Xiaomi Redmi Note 7 Guides, News, & Discussion] longvt_580:
I think it too. So please try again with start rom base on CN beta. May be it's will fix it.
[Xiaomi Redmi Note 7 Guides, News, & Discussion] Patatra:
I've just did a full backup of the phone. Going to try to flash everything from CN beta but recovery, system and userdata and see what happens. Will let you know
[Xiaomi Redmi Note 7 Guides, News, & Discussion] longvt_580:
Yes. Good luck ^^
[Xiaomi Redmi Note 7 Guides, News, & Discussion] Patatra:
That didn't go well :eek:

Phone was laggy after backup don't know why, was just a full backup :rolleyes:

Anyway, had to flash CN beta to make it responsive again so... Starting from scratch right now!
[Xiaomi Redmi Note 7 Guides, News, & Discussion] longvt_580:
^^ I hope to see your result here.
[Xiaomi Redmi Note 7 Guides, News, & Discussion] silmium:
does MIUI Auto Brightness Fix zip do the same ?

(cause it's easier to flash a zip than typing codes)
[Xiaomi Redmi Note 7 Guides, News, & Discussion] Patatra:
So, I did flash latest CN developper. Then flash again twrp, RR gsi, magisk and GAPPS. And brightness is now working after sending ADB commands.

Well, brightness stopped flickering but I don't think that auto brightness is working.

And bluetooth has a sttange behaviour. While I can hear music on my car, calls remains on phone.

Everything else is just fine
[Xiaomi Redmi Note 7 Guides, News, & Discussion] longvt_580:
It's great.
[Xiaomi Redmi Note 7 Guides, News, & Discussion] daymbeg:
Adaptive brightness also doesn't work on Havoc GSI. It would be great if someone could come up with a fix.

Lux Lite works but it's not as seamless as using the built in brightness.
[Xiaomi Redmi Note 7 Guides, News, & Discussion] LionHeart90:
Guys, I have meticulously followed all the instructions on the first page, I flashed Havoc, RR, & co, but all the GSIs when the time to boot comes, the Redmi logo appears and promptly restarts. Bootloop. Now: I also heard of someone who had left from a Global Rom, a little while ago I also tried to do everything from a Chinese Rom. Can anyone at this point give me the link to download a CN Miui directly from where to start? You would do me a great favor, really. Or if you have other suggestions they are always welcome. Thanks in advance.:good:

because otherwise I have no idea what the problem might be. :eek:
[Xiaomi Redmi Note 7 Guides, News, & Discussion] silmium:
here some suggestions

(i am no expert, just a regular guy who is playing with many roms to check if it's really a big change and most of the time it's not)

i tried all of the first page of gsi topic https://xdaforums.com/project-treble/trebleenabled-device-development

i like pixelPexperience and pixel dust pie (for some small details)

some gsi are just not working with my phone with no reasons !

i am installing the same way each one but sometimes it's just not going well

so here few tips :

- sometimes this rom is just not for you, get over it , download another one ! if havok isn't working try arrow and so on...

- i now only try gapps in rom cause it's easier (arm64 arm error 64 blabla wrong version etc...)

- get the last TWRP

my way to go :

1/ get a sd card and put all the gsi you wanna try

2/ install a regular rom like global or chinese ou europe

(just to start clean, but i don't do that, i wrote it cause i installed europe rom over CN rom once)

3/TWRP ---->Wipe----> Format Data ---> install system.img---> reboot

and that's all !

if you have a bootloop problem or any kind of trouble you can try this tip

- after flashing system.img

- reboot on twrp once and

- resize system partition and repair it (wipe--->advanced wipe---> choose system and hit repair or change file system)

- reboot normally

done

if it's not working , find another rom ....:fingers-crossed:
[Xiaomi Redmi Note 7 Guides, News, & Discussion] LionHeart90:
No one could give me a link?

---------- Post added at 07:44 PM ---------- Previous post was at 07:43 PM ----------

Thanks mate but i search a download link for the china MIUI beta version suggested at the beginning of the post, I do not know if these continuous errors depend on this or not
[Xiaomi Redmi Note 7 Guides, News, & Discussion] daymbeg:
Does adaptive brightness work in Pixel Experience?
[Xiaomi Redmi Note 7 Guides, News, & Discussion] silmium:
yes :)

---------- Post added at 11:26 PM ---------- Previous post was at 11:09 PM ----------

it will fix some errors but i don't think you need chinese rom cause

i did buy my phone on aliexpress from xiaomi store so it was the chinese rom

i flashed it with europe rom to fix some errors

so it's not a big deal wich rom you use i guess

anyway, pick up your rom here

https://xiaomifirmware.com/roms/miui-roms-for-xiaomi-redmi-note-7-lavender/
[Xiaomi Redmi Note 7 Guides, News, & Discussion] alza jibrani:
and... where the step back to eu/global rom?
[Xiaomi Redmi Note 7 Guides, News, & Discussion] satadi:
My bootloader-unlock timer finally expired today. So, I unlocked the bootloader of my Redmi Note 7 (32GB+3GB) and installed phusson's phh-treble AOSP build (with gapps and phh-superuser preinstalled) with the help of the original post and the replies from some of the members here. So, I'm listing below the steps I took to get everything functional.

Pre-Installation Build: MIUI 10 India Stable 10.2.11 (the vendor.img is from this build, which is the latest stable build in India as of 27.04.2019)

Steps

1. Unlocked the bootloader with XiaomiToolV2 (link below) on a Macbook Pro (it's a straight-forward process and I didn't have to install fastboot or adb before hand)

2. Downloaded and installed fastboot and adb (made sure the XiaomiToolV2 DMG is unmounted)

3. Enabled USB debugging and ensured my device was read properly by adb and fastboot

4. Reboot to fastboot

adb reboot bootloader

5. Reset your partitions

fastboot -w

6. Installed TWRP

fastboot flash recovery recovery.img

7. Reboot to recovery (hold the volume-up button as soon as the screen goes blank)

fastboot reboot

8. In TWRP, used adb push to load the system.img to /sdcard/TWRP

adb push system.img /sdcard/TWRP/system.img

9. Installed the system.img image from TWRP

10. Installed Magisk v19.0 (link below) from TWRP

11. Reboot to system

12. The system will take some time in the initial bootup to encrypt the data. It will then reboot and go through the first boot process.

13. Enable USB debugging and fix the brightness post-bootup (I still see the issue when booting up after decrypting data)

adb shell
su
setprop persist.sys.qcom-brightness 4095

14. phh-treble doesn't pass the SafetyNet (ctsProfile: fail) by default. So, I followed a fix on phusson's GitHub (link below) to get the build to pass SafetyNet.

Edit:

The configuration to use for setting up SafetyNet fix on Magisk Config is as below

Edit device fingerprint > Pick a certified fingerprint > Xiaomi > Redmi Note 7 > yes > back > back > back

Script settings > Boot stage > Late service > post-fs data > yes > back > back > back

Other Notes

- Fingerprint is working fine

- Brightness issues are not being seen at runtime (they are seen during bootup, though)

- SafetyNet is passing (so Google Play status is "Certified")

Links

- Magisk and TWRP links I got from the All-in-One thread located in this sub-forum: https://xdaforums.com/redmi-note-7/how-to/one-redmi-note-7-unlock-bootloader-t3890751

- Fix for the SafetyNet: https://github.com/phhusson/treble_experimentations/issues/116

- Patatra's post was especially helpful too: https://xdaforums.com/showpost.php?p=79386506&postcount=76

- Ofcourse, OPs post was helpful too.
[Xiaomi Redmi Note 7 Guides, News, & Discussion] AbboodSY:
Thanks for the instructions but one more small question:

Can I place the clock into the right side of the status bar in GSI?
[Xiaomi Redmi Note 7 Guides, News, & Discussion] satadi:
Not by default on phh-Treble. That's vanilla AOSP without any customization options. You can install Xposed or Substratum like applications for enabling more customization options like moving the clock position.

Alternatively, there are other GSIs with that customization ability. Just go to the Project Treble forum and check out any of the ROMs for the A/B version. They should potentially all work sincr Project Treble ROMs are ideally hardware-independent (provided the device supports Project Treble, of course).
[Xiaomi Redmi Note 7 Guides, News, & Discussion] satadi:
Another thing, I noticed.

Adaptive brightness is broken because the Proximity sensor doesn't work.

Edit: on disabling and enabling adaptive brightness the Proximity sensor starts working again. Strange.
[Xiaomi Redmi Note 7 Guides, News, & Discussion] anon1135:
Anyone tried aosip and dot os? These are the most stable I know of because mi max 3 testers use it. They say aosip is as perfect as a rom and can't tell the difference that it's a gsi. Also fast, good battery with a lot of customizations. Though it doesn't look like anyone for rn7 has made it into a flashable zip with fixes included yet like this person has

https://xdaforums.com/mi-max-3/how-to/guide-beginners-guide-to-gsi-aosp-rom-t3910085/page13

And rn7 users might not need it because they already got los first than mm3
[Xiaomi Redmi Note 7 Guides, News, & Discussion] Gamma Ray:
The guide here doesnt seem to be valid any more (atleast the numbers part!) And i really dont know what im doing with these values.

don't suppose you could jot down what values you used could you?
[Xiaomi Redmi Note 7 Guides, News, & Discussion] Gamma Ray:
Is there any way to address the screen cropping issues?

Im running RR GSI but it does not detect the cut corners.

Ive manually set cut corners in developer options but then it does not detect the notch in the middle. It doesnt seem like i can set bot cut corners and notch!
[Xiaomi Redmi Note 7 Guides, News, & Discussion] satadi:
I doubt that, considering I just flashed it yesterday.

Here's what you have to do:

Edit device fingerprint > Pick a certified fingerprint > Xiaomi > Redmi Note 7 > yes > back > back > back

Script settings > Boot stage > Late service > post-fs data > yes > back > back > back

Reboot your phone after that. I believe they changed the config options a little bit so it's confusing.

I think, essentially, you're modifying the the position of Magisk in the boot-up order. Moving it to post-fs start will prevent SafetyNet from triggering a failure by enabling system-less root before that (anyone can correct me if I'm wrong)
[Xiaomi Redmi Note 7 Guides, News, & Discussion] Gamma Ray:
That works!

It was the config options which had changed so if you are blindly following your way through its not so great!

Thanks so much!

---------- Post added at 07:32 PM ---------- Previous post was at 06:57 PM ----------

Ok.. Now having an odd issue with the installed GSI.

Im seeing (seemingly) random poweroffs. I get the device powering off box (as if the battery has died). Then when powering on with the powerbutton again it boots into twrp recovery.

Any ideas folks?
[Xiaomi Redmi Note 7 Guides, News, & Discussion] satadi:
I'm not facing the issues you're seeing. Did you follow my steps exactly?

Also, does anyone have their proximity sensor working? Or adaptive brightness. I'm wondering if it might be because I used the Indian MIUI FW
[Xiaomi Redmi Note 7 Guides, News, & Discussion] Gamma Ray:
Yup followed them to the letter, dont know if it was caused by that or something else.

And nope dont think my adaptive brightness is working either!

Edit: reset the props to default and issue is still there. Seemingly random but can affect some apps more than others like YouTube a game i play. But also happens if using the browser etc.
[Xiaomi Redmi Note 7 Guides, News, & Discussion] pengull:
Widevine L1

Has anyone tested Widevine L1 compatibility on a GSI rom?

I actually have a GSI RR and Widevine L1 shows up in DRM Info (and it's weird because I got downgraded from L1 to L3 on MIUI after unlocking the bootloader) but I could not make it play any drm protected content so far.
[Xiaomi Redmi Note 7 Guides, News, & Discussion] littl3viking:
nvm
[Xiaomi Redmi Note 7 Guides, News, & Discussion] sk.vyshak:
You were able to boot up on Indian MIui? I couldn't even get the bootlogo.
[Xiaomi Redmi Note 7 Guides, News, & Discussion] littl3viking:
Anyone having this issue on GSI?

https://github.com/phhusson/treble_experimentations/issues/513

I tried phh, RR and Havoc. All have this issue. Also tried to update vendor..
[Xiaomi Redmi Note 7 Guides, News, & Discussion] hsheng:
After flashing AEX (20190509) GSI AEX (20190509) GSI and set brightness (haven't flash magisk yet), the phone can work but the system time will go back to 10PM 05/09/2019 after every reboot. But if reboot to recovery here the time is correct.

Also tried on RR GSI 20190406 here and the time also resets.

Anybody knows why?

Edit: found issues in the list https://github.com/phhusson/treble_experimentations/issues/345
[Xiaomi Redmi Note 7 Guides, News, & Discussion] XeoNoX:
havok 2.5 works screenshots attached

image i used..AB... Havoc-OS-v2.5-20190522-vvBuild-phhgsi_arm64_ab.img

project thread: https://xdaforums.com/project-treble/trebleenabled-device-development/gsi-havoc-os-t3930030

EXACT procedure: (

These instructions are specifically for the HAVOK PROJECT

listed above, do not say it didnt work on a

DIFFERENT PROJECT/ROM

)

Before you begin make sure you have TWRP installed and your Bootloader unlocked!!!

• extracted the system image from the compressed file and Renamed Havoc-OS-v2.5-20190522-vvBuild-phhgsi_arm64_ab.img to "system.img"

• Came directly from a working ROM

• From inside my current ROM i rebooted directly to FASTBOOT

(you may be asking why am i going to flash from fastboot instead of TWRP?....its because it simply was not flashing/writing the system files from the IMG file from within TWRP, possibly a TWRP bug, considering there are a few TWRPs for this device your luck may vary, so its more RELIABLE and easier to just flash from FASTBOOT)

• once inside of Fastboot/bootloader mode and you can connect usb cable and phone to computer

• go to your terminal/cmd /adb (from computer)

• once you have access to fastboot and adb commands you can type: fastboot -w

• type: "fastboot flash system system.img" (note the system.img must be in the same directory as the fastboot/adb command executable, if not then you will have to type the full path of the directory)

****** Reboot phone DIRECTLY into TWRP RECOVERY, DO NOT ALLOW IT TO BOOT TO SYSTEM OS or you MAY HAVE TO REPEAT the previous step. depending if you have encryption enabled, you wont have to worry as long as you go DIRECTLY from FASTBOOT to TWRP without going into system boot*******

• reboot phone back into TWRP RECOVERY using VOL+ and PWR buttons

• TWRP > wipe > advanced wipe > system, select repair or change file system > repair

• TWRP > wipe > advanced wipe > system, select repair or change file system > resize

• Reboot> SYSTEM (wait about 5-7 mins for system to load, may reboot once or twice, JUST WAIT and be patient!!! If it takes more than 10 minutes then you did something wrong and didnt follow the instructions)
[Xiaomi Redmi Note 7 Guides, News, & Discussion] XeoNoX:
Bliss-2019-04-04-arm64-ab-gapps.img works as well

https://xdaforums.com/project-trebl.../rom-blissroms-9-0-official-4-4-2019-t3918303
[Xiaomi Redmi Note 7 Guides, News, & Discussion] ahadrox:
Any sign of major/minor bugs?
[Xiaomi Redmi Note 7 Guides, News, & Discussion] Schnedi:
I tried to install MIUI 10.3.5.0 vendor image but Wi-Fi doesn't work, it doesn't turn on.

Has anyone tried it?

PD: not sure if it's important or not to update it, I just wanted to try it.
[Xiaomi Redmi Note 7 Guides, News, & Discussion] XeoNoX:
i dont remember, i switch roms as i was just testing it. it functioned well enough for a daily driver imo
[Xiaomi Redmi Note 7 Guides, News, & Discussion] Rubens95:
Has anyone tried to flash an Android Q gsi?
[Xiaomi Redmi Note 7 Guides, News, & Discussion] tomhtg90:
what twrp are you using mate?
[Xiaomi Redmi Note 7 Guides, News, & Discussion] XeoNoX:
the twrp by thelazyindian

https://xdaforums.com/redmi-note-7/development/recovery-unofficial-twrp-touch-recovery-t3921637
[Xiaomi Redmi Note 7 Guides, News, & Discussion] Rubens95:
A/B
[Xiaomi Redmi Note 7 Guides, News, & Discussion] sokopap:
Is there a gsi rom for our phone like oxygen os or one ui? Something different from pixel experience
[Xiaomi Redmi Note 7 Guides, News, & Discussion] wow suspect:
Oxygen OS GSI is available. Not sure about One UI.
[Xiaomi Redmi Note 7 Guides, News, & Discussion] sokopap:
Are you sure? Is it work on redmi note 7? Can you share the rom? If you know where I found it
[Xiaomi Redmi Note 7 Guides, News, & Discussion] wow suspect:
GSI works on every phones with treble support. Just search Oxygen OS GSI on google and open the first xda site
[Xiaomi Redmi Note 7 Guides, News, & Discussion] vexa:
anyone here booted successfully on Q beta?
[Xiaomi Redmi Note 7 Guides, News, & Discussion] robbayani:
is worth using HSi??

GSI not popular vs cusrom flashable.. installing gsi also not simple:crying:
[Xiaomi Redmi Note 7 Guides, News, & Discussion] Indhes:
I'm getting stucked in boot loop , I used ab arm 64 evolution X GSI image on Redmi note 7 indian variant. plz help me
[Xiaomi Redmi Note 7 Guides, News, & Discussion] mirdem:
Thanks

Thanks for guide :)
[Xiaomi Redmi Note 7 Guides, News, & Discussion] blackcemre:
Anyone install one ui gsi rom? Is it working ? Which one?