Related
Is anyone able to disable the "gp2a - proximity/light sensor" from within "sensors.default.so" and/or "sensors.goldfish.so" so that people suffering from White Screen bug don't get white screen when answering or making a phone call. This is in regards to CM11 port by TheWhisp.
I tried using app "Hardware Disabler" to disable the driver which worked however it also crippled the phones processing speed and was too slow to be usable.
Would greatly be appreciated if someone could upload/attach the modified file/s
NEXUS ROM FOR REDMI 2
Based on AOSP Code from Google
All stable CM12.1 features
Android 5.1.1 merged
Fully user experience of Nexus devices since first boot
Heads Up Enabler/Disabler and Heads Up for all notifications options
Notification ticker option
Lock screen custom shortcuts
FAB for Clear all recents
Clock and Date customizations
Network traffic on Status bar with Auto hide option
More Animation scales
Option to add Sound panel to power menu
Advanced IME options
Option to disable Quick settings on lock screen
Intelliactive governor as default CPU governor
MAKO Hotplug (From Franco Kernel) as default CPU Hotplug
Battery friendly
Release 3.0 and up use WebViewGoogle instead of AOSP WebView and can be updated from Play Store like Stock ROM when an update is available.
See the changelog page to see all features
https://nxrom.us/changelog.html
DOWNLOAD ROM AND GAPPS
https://nxrom.us/redmi2.html
SITE
https://nxrom.us/
SOURCE
https://github.com/nexusexperience
Know issues
Noise at first 5 seconds on audio recording
Credits: Anderson Aragão
Zhao Wei Liew (aka. zwliew)
Ketut P. Kumajaya (aka. kumajaya)
Google
Cyanogemod
Paranoid Android
Slim Roms
NX G+ Community
Follow us in our community --->> http://goo.gl/vr6yBT
Is this updated? Gotta try it. +1
Thanks for the rom!
If the only bug is the noise at first 5 seconds on audio recording, it will be great.
I 'm downloading now.
The noise still there ultil it finish??
Tested the rom now. Very stable and smooth.
From my little time with this rom. I can say but a few bugs exist. -
1. Even this rom doesn't recognize the ambient light sensor.
2. Tested the recording. As mentioned 5 seconds of garbled audio. Followed by clean recording.
3. Call recording gives out dirty audio files. (ACR used)
4. Will post if I find any. Hopefully I don't
dattafilthyd said:
Tested the rom now. Very stable and smooth.
From my little time with this rom. I can say but a few bugs Q. -
1. Even this rom doesn't recognize the ambient light sensor.
2. Tested the recording. As mentioned 5 seconds of garbled audio. Followed by clean recording.
3. Call recording gives out dirty audio files. (ACR used)
4. Will post if I find any. Hopefully I don't
Click to expand...
Click to collapse
Try use the Sony Audio Recorder
I don't have a way to test it now but please test with the Sony one
It solved a bug closer to this once with other ROM...
---------- Post added at 06:13 PM ---------- Previous post was at 06:10 PM ----------
PS:
Use the .wav format but test all of them
Is the sensor working during calls
Any issues in HM2014818 variant? gonna flash soon.
Will this rom work with Redmi 2 Prime. Please reply, i really would love to use this. I want lollipop.
dpnobody said:
Will this rom work with Redmi 2 Prime. Please reply, i really would love to use this. I want lollipop.
Click to expand...
Click to collapse
Yes, I have Redmi 2 Prime and works great!
dpnobody said:
Will this rom work with Redmi 2 Prime. Please reply, i really would love to use this. I want lollipop.
Click to expand...
Click to collapse
Yes, I am using it on my Redmi 2 Prime. Very smooth experience!
Works on all redmi 2variants
dattafilthyd said:
Tested the rom now. Very stable and smooth.
From my little time with this rom. I can say but a few bugs exist. -
1. Even this rom doesn't recognize the ambient light sensor.
2. Tested the recording. As mentioned 5 seconds of garbled audio. Followed by clean recording.
3. Call recording gives out dirty audio files. (ACR used)
4. Will post if I find any. Hopefully I don't
Click to expand...
Click to collapse
Which Redmi2 variant are you using? I just want to check if these issues are present on Redmi2/2A/Prime variants, or are specific to just one.
TYVM
Dowloaded, flashed... and removed.
Seriously, either I am doing something wrong or the ambient light sensor issue is just too significant for me.
How can you close a call with the screen dead? Is there a way to disable the ambient light sensor?
Otherwise, calls would remain open until I manually remove the battery.
Other than that, no other unmentioned bug found
[email protected] said:
Dowloaded, flashed... and removed.
Seriously, either I am doing something wrong or the ambient light sensor issue is just too significant for me.
How can you close a call with the screen dead? Is there a way to disable the ambient light sensor?
Otherwise, calls would remain open until I manually remove the battery.
Other than that, no other unmentioned bug found
Click to expand...
Click to collapse
You have to use xposed framework and download 'disable proximity sensor' module.
gonzule said:
Which Redmi2 variant are you using? I just want to check if these issues are present on Redmi2/2A/Prime variants, or are specific to just one.
Click to expand...
Click to collapse
Redmi 2 prime [HM2014811]
This rom is awesome !
Far way better/faster/lighter than miui...
[email protected] said:
Dowloaded, flashed... and removed.
Seriously, either I am doing something wrong or the ambient light sensor issue is just too significant for me.
How can you close a call with the screen dead? Is there a way to disable the ambient light sensor?
Otherwise, calls would remain open until I manually remove the battery.
Other than that, no other unmentioned bug found
Click to expand...
Click to collapse
In settings / interface / you can turn on option - power button ends call, I'm using it. Good solution by now.
fforward72 said:
Yes, I have Redmi 2 Prime and works great!
Click to expand...
Click to collapse
means there is not need of changing boot.img or kernel..????
Tell me How's the Battery Backup in this Rom. I am currently using Resurrection Remix which doesn't has good battery backup. Also the device heats too much.
Is this Better than that?
I am using Redmi 2 prime anyway.
Hi,
currently I'm on OOS 4.5.1 (with all addons as the signature says) and it's working great, but there are two things that are irritating me:
Ambient display - when a notification comes, the clock isn't displayed (to see it, I have to pick up the phone). Ambi-Turner doesn't help. The issue wasn't present on OOS 3.5.4. Is this possible to fix this, or this is a Never Settle™ feature?
DND - I set an option to automatically enable DND, when I start sleep tracking, but I feel only a short vibration, like a sign, that the setting failed (and of course, nothing happens, DND doesn't kick in). Again - how to fix this? I already granted permission to access DND setting to the app.
Forgot to mention - the app is Sleep as Android.
Any help will be appreciated.
No clock also bothers me af. But this is the intended (and dumb) behavior. Also, the red 1 is so damn annoying. Why even change what was actually good?
I had the exact same bug on the Ambient Display on 4.5.X, but it seems to be back in the Oreo OB's. Maybe it used to be a Never Settle™ feature, but I guess there was some backlash so it's back again.
Have you tried Freezing the DND App in Titanium Backup and Defrosting it? That may work.
So i guess that I'll have to live with this bug.
And freezing doesn't help, but here's the log:
https://pastebin.com/HivjnmnV
(I had to paste it somewhere, the length of the log exceed max allowed char limit)
Edit: hmm, it seems that auto DND works, if the slider is set to ring. If it's already on vibrate, then the setting doesn't change.
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
{
"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"
}
1) To fix broken audio go to Qualcomm features and make sure "Disable soundvolume effect" is on
2) To fix broken audio on Whatsapp, Telegram, SIgnal go to Qualcomm features and make sure "Use alternate audio policy" is on
3) To fix Double tap to wake feature go to Xiaomi features and check "Enable DT2W"
4) To enable 120hz go to Misc features and click on "Force FPS" and select "1080*[email protected]"
5) To fix auto brightness go to Misc features and check on "Force alternative backlight scale"
6) To fix SMS go to IMS features and click on "Install IMS APK for Qualcomm vendor" then install the APK
B - Other Ways1) 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"
Then deselect all the switches and then select them all
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
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-
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.
Know IssuesCurrently 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-
What are bugs? Fast charging is working? How is battery?
Edoardo001 said:
What are bugs? Fast charging is working? How is battery?
Click to expand...
Click to collapse
Battery life is good, Fast charging works nearly as Miui and bugs are minimilise.
TheRomFan said:
Battery life is good, Fast charging works nearly as Miui and bugs are minimilise.
Click to expand...
Click to collapse
And how is the câmera driver/quality?
You can use Gcam from this thread
But the only issue is you can record video up to 1080p 60fps
Vibration working ? and 4k record in gcam working ?
MIUI13 or MIUi 12 base ?
morpheus620 said:
Vibration working ? and 4k record in gcam working ?
MIUI13 or MIUi 12 base ?
Click to expand...
Click to collapse
I am using Miui 13 as base. Yh this is another issue 4k doesn't work
TheRomFan said:
I am using Miui 13 as base. Yh this is another issue 4k doesn't work
Click to expand...
Click to collapse
Thank you for information. Some questions:
1. Haptic works?
2. You said "minimilise bags" – which bags?
3. What ROM do you use?
PS: where can I find step by step instruction to setup GSI for 11T Pro?
Thank you so much
dimashorokhov said:
Thank you for information. Some questions:
1. Haptic works?
2. You said "minimilise bags" – which bags?
3. What ROM do you use?
PS: where can I find step by step instruction to setup GSI for 11T Pro?
Thank you so much
Click to expand...
Click to collapse
1. Yes I explained how to fix in the post above
2. I just saw 3 or 4 bugs such it bugs a bit when I change from/to dark mode
3. Pixel experience plus
4. Here is the link for how to install GSI
hello what gcam do you recommend? app + config?
also, i can't get root. i flahsed patched boot.img and in magisk manager it says ramdisk yes but installed no. i tried multiple boot.img files but with no luck. base miui 12.5.0.5 global.
also the autobrightness adjustes the brightness too high
i don't have xiaomi settings in phh treble settings.
aod works but brightness is very very low i can barely see anything
can you help me with some of my issues? i'm using pixel experience plus as well
Link for Dolby Atmos module is off... Could you update it please? Thanks
lecomiquelin said:
Link for Dolby Atmos module is off... Could you update it please? Thanks
Click to expand...
Click to collapse
Thank you.
Here is the new link
TheRomFan said:
Thank you.
Here is the new link
Click to expand...
Click to collapse
Could you test ANX camera?
Ultra-wide video is a very important for me
dimashorokhov said:
Could you test ANX camera?
Ultra-wide video is a very important for me
Click to expand...
Click to collapse
Unfortunately it doesn't work as the developer has stopped updating it since October
But ultra wide works fine with gcam if use with its config file
TheRomFan said:
Unfortunately it doesn't work as the developer has stopped updating it since October
But ultra wide works fine with gcam if use with its config file
Click to expand...
Click to collapse
Okey. Is there any GCam with working ultra-wide video?
I know that photo is working, but video on ultra-wide sensor not
hello i have a question how can i fix the charging so that it is fast charging i have the crdroid gsi s20 fe thank you
Ailton2541 said:
hello i have a question how can i fix the charging so that it is fast charging i have the crdroid gsi s20 fe thank you
Click to expand...
Click to collapse
Sorry I don't know the answer of your question. You need to ask on the Samsung S20 FE thread as this is only for Xiaomi 11T Pro.
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). EDIT: TheRomFan mentioned below that you can use the Systemizer Magisk Module.
Since it might be relevant, I'm using Pixel Experience Plus Slim.
diogotc said:
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.
Click to expand...
Click to collapse
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.
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).
Spoiler: Overlay Build Instructions
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.
Here's a common list of GSI issues:
1. LTE is not selected as preferred by default.
Solution: Simply change the preferred type from 3G to LTE in SIM settings.
2. Bluetooth headphones don't work out of the box.
Solution: phh treble settings → misc features → other → Use System Wide BT HAL.
3. The light sensor isn't detected, breaking auto brightness.
No fix. Reported to TrebleDroid (https://github.com/TrebleDroid/treble_experimentations/issues/32)
4. The NFC service crashes when scanning certain types of cards.
No fix. Should be reported to TrebleDroid. Rebooting restarts the service
Contactless payments should work.
5. Double tap to wake (DT2W) doesn't work.
Workaround: Use Always-On Display (AOD) instead. This is likely caused by a kernel issue.
6. Biometrics are broken.
Workaround for Face Scan: https://github.com/null-dev/UniversalAuth.
Otherwise, no fix. Reported to TrebleDroid (https://github.com/TrebleDroid/treble_experimentations/issues/39).
7. Apps can't aquire wakelocks
Another issue related to sepolicy. Use the attached `wakelocker` module.
8. VoLTE is very janky
No fix. https://forum.xda-developers.com/t/realme-8-pro-gsi-overlay.4589267/post-88577935
9. Widevine is L3
No fix.
10. Jittery UI.
After ~1 hour after setup everything should be back to normal. If that doesn't work, try the attached `fast_gui` module. All this module does is set `debug.sf.latch_unsignaled` to 1.
11. AOD not working, the auto brightness button is missing, the punch hole is covered by a black square, incorrect power profile, and other problems.
To address these issues, flash the Magisk module provided in this forum post: https://forum.xda-developers.com/t/realme-8-pro-gsi-overlay.4589267/
If AOD still doesn't work, or even breaks with this overlay, (hi Project Elixir) install the attached AOD-12 magisk module.
If you encounter any other issues, please report them here, and I'll add them to the list!