How To Guide The best configs for GSI roms

Search This thread
Unfortunately I can't try because of bootloader unlock error 1004 damn
Try if it's not already done:
Last version of Mi unlock
https://en.miui.com/unlock/index.html
or
"This error occurs when we don’t put the original SIM card that we used to sign in to our MI account. This error is also known as device verification failed as the SIM card that we used to verify our account is either not inserted or switch to different one."
 
  • Like
Reactions: Edoardo001

Edoardo001

Senior Member
Apr 3, 2012
598
140
Sicily
Xiaomi 11T Pro
Try if it's not already done:
Last version of Mi unlock
https://en.miui.com/unlock/index.html
or
"This error occurs when we don’t put the original SIM card that we used to sign in to our MI account. This error is also known as device verification failed as the SIM card that we used to verify our account is either not inserted or switch to different one."
I've used this, maybe i can try to swtich account

Edit: Solved, i've noticed that even my number for recover account is right, my number it was linked to an old mi account. I've swtiched to the old account and now it's time to wait 164 hours.

Many thanks for the efforts and the help guys. Do you think that this rom is daily usable? I really hate miui
 
Last edited:

TheRomFan

Member
Dec 25, 2021
47
31
I've used this, maybe i can try to swtich account

Edit: Solved, i've noticed that even my number for recover account is right, my number it was linked to an old mi account. I've swtiched to the old account and now it's time to wait 164 hours.

Many thanks for the efforts and the help guys. Do you think that this rom is daily usable? I really hate miui
I am using GSI as a daily driver and I will say 90% of things work perfectly with some tweaks.
 

Domniak

Member
Jun 18, 2022
9
1
Thethering Is working? Anyway to pass safety net and use this rom without root?( I need bank apps and Google pay)
A friend of mine uses the pixel experience plus rom without root and his banking app works, dont know about safetynet, google play sees the device as certified, with thethering you mean usb thethering on the pc f.e.?
 

motivator24

Senior Member
Aug 11, 2011
55
4
Finally i flash aosp gsi by phh and yes its can be my daily driver. Works almost everything and phone feel smooth, at least better than MIUI. Anyway maybe can add on first page if you can set fingerprint just open setting - apps - setup wizard and make it disable. And voila your fingerprint now can set.
Is there any way to flash the GSI Rom via TWRP ? What is pph ?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Is there any way to flash the GSI Rom via TWRP ? What is pph ?
    I try with fastboot way sir, last time i try update gsi rom via twrp and it doesnt boot lol, phh is developer name, and the rom like barebone aosp. Now im using corvus rom gsi and works great too
  • 3
    Perform this at your own risk. You might LOSE all data on your phone.

    ( I'm not responsible for any damage to your device )

    This is a tutorial for the best configurations to get the best from the GSI roms on the Xiaomi 11T Pro

    If you are searching on a tutorial on how to install GSI roms on Xiaomi 11T Pro you can check this post

    The reason why I made this guide is that there is no custom rom currently for Xiaomi 11T Pro and the only way to get custom roms is by installing a GSI rom and try to tweak with it to get it working.

    List of contexts
    A- Phh Settings
    ‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎1. Fix broken audio
    ‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎2. Fix Whatsapp audio
    ‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎3. Turn on Double-Tap-To-Wake-Up
    ‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎4. Enable 120Hz
    ‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎5. Fix Auto-Brightness
    ‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎6. FIx SMS/MMS
    ‏‏‎

    B - Other Ways
    ‏‏‎ ‏‏‎ ‏‏‎ 1. Installing Dolby Atmos
    ‏‏‎ ‎‏‏‎ ‎‏‏‎‏‏‎ ‎‏‏2. Fix volume steps
    ‎‏‏‎‏‏‎ ‎‏‏‎ ‎‎‏‏‎‏‏‎ ‎‏‏‎‏‏‎3. Fix Vibration and Haptics
    ‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎4. Fix 5G if you have LTE working
    ‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎5. Fix LTE/4G
    ‎‏‏‎ ‎‎‏‏‎ ‎‎‏‏‎ ‎6. Fix Always-On-Display (With Low Dim fixed!)

    A- Phh Settings


    Open Phh Treble Settings from settings
    Screenshot_20220525-194745_Pixel Launcher.png

    Screenshot_20220525-194748_Pixel Launcher.png


    1) To fix broken audio go to Qualcomm features and make sure "Disable soundvolume effect" is on
    Screenshot_20220525-194755_Pixel Launcher.png


    2) To fix broken audio on Whatsapp, Telegram, SIgnal go to Qualcomm features and make sure "Use alternate audio policy" is on
    Screenshot_20220525-194755_Pixel Launcher.png


    3) To fix Double tap to wake feature go to Xiaomi features and check "Enable DT2W"
    Screenshot_20220525-195248_Pixel Launcher.png


    4) To enable 120hz go to Misc features and click on "Force FPS" and select "1080*[email protected]"
    Screenshot_20220525-195527_Pixel Launcher.png


    5) To fix auto brightness go to Misc features and check on "Force alternative backlight scale"
    Screenshot_20220525-195831_Pixel Launcher.png


    6) To fix SMS go to IMS features and click on "Install IMS APK for Qualcomm vendor" then install the APK
    Screenshot_20220525-200443_Pixel Launcher.png


    B - Other Ways

    1) Install Dolby Atmos using Magisk by flashing this file

    2) Fix the volume steps by flashing this file using Magisk

    3) To fix vibration you need to reboot your phone after you have applied the changes on section A and search for "vibration" on settings and click on "Ring Vibration"
    Screenshot_20220526-083439_Pixel Launcher~2.png


    Then deselect all the switches and then select them all
    Screenshot_20220526-083703_Pixel Launcher.png


    4) If LTE/4G is working for you. You can flash this file using Magisk to get 5G

    5) If LTE/4G is not working go to Settings < Network and Internet < Sims < Preferred Sim 1 or 2 < Access point names and click on the "+" icon on top corner of the screen
    Screenshot_20220527-104600_Pixel Launcher~3.png

    Then manually enter your sim's provider APN and click on the three points and save -You can check it from your provider's website-
    Screenshot_20220527-104851_Pixel Launcher.png

    Do the same for MMS and save it. You will suppose to have mobile data working!

    6) FIx Always-On-Display
    You can now fix always on display and set the statusbar height to a value that covers the hole punch by flashing this magisk module by diogotc.
    1655138047861-png.5636935


    Know Issues​

    Currently the issue that I am still experiencing with GSI roms are:

    1. GCam can record up to 1080p 60fps. 4K is not working.
    2. The proximity sensor is not working always especially in AOD, So I recommend to disable DT2W (A- Phh Settings step 3).

    Credits:
    Google -AOSP-
    Phhusson -Phh Treble Settings-
    diogotc -Making an overlay to solve some problems in the GSI roms for this device-
    Me -Making this tutorial-
    3
    I've created an overlay for this device, which fixes the status bar not covering the entirety of the cutout and the brightness of the AOD being low (you still need to enable the alternate brightness scale on settings).

    I've opened a PR on the phh's overlays repo, but it still hasn't been merged.
    Meanwhile, you can use this overlay by flashing the attached Magisk module, or building it yourself from the PR.

    In case someone is interested (even if it's not for this device), I'll leave here the build instructions (these are not required, you can just use the attached zip file).

    Keep in mind I'm using Linux, so build instructions might be a bit different for Windows/Mac.

    Start by cloning my repository in the mi11tpro branch:

    Bash:
    git clone https://github.com/diogotcorreia/vendor_hardware_overlay.git -b mi11tpro

    Then build the overlay for this device (alternatively you can build all of them by omitting the folder):

    Bash:
    ./build/build.sh Xiaomi/Mi11TPro

    This will generate an APK that'll be written to build/treble-overlay-xiaomi-mi11tpro.apk.

    You can now put this in the attached Magisk module (unzip it first), by replacing the APK there with the built APK.
    Then, zip it again, and make sure the root of the zip file is not a folder but the actual files of the module.
    2
    I've created an overlay for this device, which fixes the status bar not covering the entirety of the cutout and the brightness of the AOD being low (you still need to enable the alternate brightness scale on settings).

    I've opened a PR on the phh's overlays repo, but it still hasn't been merged.
    Meanwhile, you can use this overlay by flashing the attached Magisk module, or building it yourself from the PR.

    In case someone is interested (even if it's not for this device), I'll leave here the build instructions (these are not required, you can just use the attached zip file).

    Keep in mind I'm using Linux, so build instructions might be a bit different for Windows/Mac.

    Start by cloning my repository in the mi11tpro branch:

    Bash:
    git clone https://github.com/diogotcorreia/vendor_hardware_overlay.git -b mi11tpro

    Then build the overlay for this device (alternatively you can build all of them by omitting the folder):

    Bash:
    ./build/build.sh Xiaomi/Mi11TPro

    This will generate an APK that'll be written to build/treble-overlay-xiaomi-mi11tpro.apk.

    You can now put this in the attached Magisk module (unzip it first), by replacing the APK there with the built APK.
    Then, zip it again, and make sure the root of the zip file is not a folder but the actual files of the module.
    Thank you for your effort in developing this overlay and posting it here I will update it in the post with your credit.
    1
    Hi, thanks a lot for your tutorial, it fixed most issues!

    However, I've noticed two things:
    • The proximity sensor doesn't seem to be working. I've used the Sensors app to check it, and it always says 5.0cm no matter what. This means the Always On Display is always on, and doesn't turn off if it's in your pocket or face down on a table (which at night is annoying, since the light bleeds out from the transparent case).
    • The auto brightness fix makes the Always On Display very very dim, which renders it pretty useless since it can't be seen at an angle. I've had to avoid doing that fix for that reason, but it's very annoying that now auto brightness is just not working correctly.

    It'd appreciate if anyone could find a fix for these issues. Everything else works perfectly (except for Android Auto, which I found a fix, see below).

    Also, since Android Auto isn't installed as a system app, it shows "Connection error 22" when you plug it into the car and doesn't work. The fix is to convert it to a system app. I've used Lucky Patcher for this, but it was a bit sketchy, so if you find another way, go for it (and reply here so I know next time).

    Since it might be relevant, I've using Pixel Experience Plus Slim.
    Yes I know as this is an Generic System Image with phh's patch to make it work on maximum android phones.
    Some of these issues can be reported to Phh and he will try fix it.
    So I guess we will have to wait untill he releases an update to fix these issues
    For system apps you can systemizer magisk module to install apps as system.
    1
    I think that depends or more than just notifications, I haven't figured it out yet, but that's unrelated to the overlay since it also happened before.

    As you can see, I'm using the overlay and I get the centered clock on AOD, using Pixel Experience (screenshot through ADB):
    View attachment 5636935
    I restarted it twice and got it centered.
    Thank you.