[ROM][11][OFFICIAL] LineageOS 18.1 for Razer Phone - Razer Phone ROMs, Kernels, Recoveries, & Other Dev

Code:
#include <std_disclaimer.h>
/*
* 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.
*/
Detailed installation instructions:
Install LineageOS on cheryl
Detailed upgrade instructions from previous version:
Upgrade LineageOS on cheryl
Download link:
LineageOS Downloads
Recommended Google Apps package:
MindTheGapps (choose ARM64 11.0 zip)
Changelog:
Changes for cheryl
Bug reports:
How to submit a bug report
LineageOS GitLab
Known bugs (won't fix):
- Can't switch FPS to 60 (can only switch between 90 and 120)
- Can't switch screen resolution (defaults to 2560x1440)
Donate to support development:
Donate via PayPal to mikeioannina
Donate via PayPal to LineageOS
Source Code:
https://github.com/LineageOS
ROM Firmware Required:
Recommended 9.0 - P-MR2-RC001-RZR-N.7083 (automatically installed with the ROM)

I just wanted to post here that the newest update (April 17) seems to have fixed the not charging bug for me.

If I install this ROM and Gapps, will it pass security and I can use Gpay and wear OS with no issues? I don't want to use magisk or Xposed. Tia.

Just an FYI the May 15 update has started some random phone freak outs where it seems like I'm swiping everything at once/touching all over the place. Basically total screen freak out/ lock up. Usually fixes itself after turn off screen then turn screen back on. Did not have this issue in the may 8th version.

I've decided to install this Rom anyway. Magisk has passed CTS and I can use Gpay and various banking apps using Magisk hide. Phone is working well with good battery performance.
No bugs found so far.

initially my fingerprint sensor was working after installing then it stopped. i tried reset , re install everything.
how can it go again suddenly. second time. last time installing your rom fixed it . but not anymore after an update in your rom.
can you tell me how to fix it?

VERY occasionally my fingerprint stops working. Lock and unlocks fixes though.

I've installed the ROM yesterday and the only issue that I have is the wifi hotspot doesn't work. It shows that is open but none of my devices can see the network, I try to set manually the SSID but still doesn't work. Has anyone else the same problem?

Thanks for the ROM. It is buttery smooth and all apps are functioning well. However, I am still having an intermittent issue with the battery refuses to charge while it is on (with the message "...can't charge at the moment"). Restarting the phone will not resolve it. The only way to get the battery to charge it is to plug the charger while the phine is off. On some other ocassions, it charges ok while the phone is on - but this is very rare. Hoping for a resolution to this issue.

Looking to go from 17.1 to 18.1 soon.
Just checking, can I keep my data intact?
Also, I'm using adoptable SD storage on 17.1. Any precaution I should take before installing 18.1?

munsened said:
Just an FYI the May 15 update has started some random phone freak outs where it seems like I'm swiping everything at once/touching all over the place. Basically total screen freak out/ lock up. Usually fixes itself after turn off screen then turn screen back on. Did not have this issue in the may 8th version.
Click to expand...
Click to collapse
I have this same problem, pull down menu will come down halfway and screen will just go absolutely nuts. got to the point screen was completely frozen and couldnt use the phone at all. Replaced it with Pixel Experience and so far not seen one problem with it.

Still using this ROM with 0 problems as daily.

I can't get my Type-C to HDMI (and USB Type-A) dock working with this. Dock was working perfectly on Android 9. Would appreciate direction, but may try 17.1 to see if Android 10 has better success. Trying to use old Razer Phone 1 with monitor as shop google/youtube terminal.
Possibly issue with 120fps lock applying to external displays?

I also cannot use usb-c to 3.5mm adapter for headphones.
Idk if this is ROM related or if it's the unsupported adapter as it's not official Razer.

Randomginger said:
I also cannot use usb-c to 3.5mm adapter for headphones.
Idk if this is ROM related or if it's the unsupported adapter as it's not official Razer.
Click to expand...
Click to collapse
I'm still on LOS17.1 (2021.11.3) but also had the problem with the official Razer usb-c to 3.5mm adapter not work. I think it's LOS.

For those of you who installed this, did you notice any sound volume issues? I have noticed that the speaker volume is much lower on LineageOS than it was on stock 9.0. Is that just me?

.ezhik said:
For those of you who installed this, did you notice any sound volume issues? I have noticed that the speaker volume is much lower on LineageOS than it was on stock 9.0. Is that just me?
Click to expand...
Click to collapse
I disabled the AudioFX app that came with LOS. That greatly improved the sound quailty

brahma1 said:
I disabled the AudioFX app that came with LOS. That greatly improved the sound quailty
Click to expand...
Click to collapse
I went back to stock and noticed that the whole difference is due to Dolby Atmos pre-installed App. I wonder if someone was able to extract that APK?

Dolby has lots of closed source framework dependencies so we can't really make it work outside stock OS.

Thank you for the rom but I notice text messages can't send using LTE network only 3g. Does anybody have this issue? Thanks in advance

Related

[ROM][XC][MM][6.0.1_r74]OmniROM

XC/KUGO/F5321 OmniROM BUILDS
MARSHMALLOW 6.0.1_r74
DOWNLOAD OFFICIAL
DOWNLOAD HOMEMADE
OFFICIAL and HOMEMADE builds are not intercompatible! You will need to do a full wipe if you are switching from one to the other.
CURRENT ISSUES ON OFFICIAL:
1. Incall speaker volume is too low (earpiece volume is fine)
2. Camera sometimes doesn't start (rare)
3. Blutooth and FM radio can't be used concurrently. If you use either you need to reboot to use the other.
4. Double tap to wake doesn't work
5. Adding fingerprints only works on initial device setup. Adding fingerprints from Settings is buggy.
CURRENT ISSUES ON HOMEMADE:
1. Incall speaker volume is too low (earpiece volume is fine)
4. Double tap to wake doesn't work
5. Adding fingerprints only works on initial device setup. Adding fingerprints from Settings is buggy.
KERNEL SOURCE: https://github.com/omnirom/android_kernel_sony_msm/tree/android-6.0
BUGS REPORT
REPORT BUGS ONLY:
- AFTER A CLEAN INSTALL
- USING STOCK OMNI KERNEL
- NO MODS OF ANY SORT
OMNI GERRIT REVIEW
https://gerrit.omnirom.org/
CHANGELOG:
https://changelog.omnirom.org/
DISCLAIMER:
No one is responsible for any damage done to your device but YOU. You've been warned.
[/CENTER]
XDA:DevDB Information
[ROM][XC][MM][6.0.1_r74]OmniROM, ROM for the Sony Xperia X Compact
Contributors
oshmoun
Source Code: https://github.com/omnirom
ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.10.x
Version Information
Status: Testing
Created 2016-12-19
Last Updated 2017-02-11
reserved
Been trying this out since yesterday. Nice ROM, very smooth. Its great to see an AOSP rom with 90% of functionality. Battery usage is on par with stock.
One bug that I noticed is that if bluetooth is on (regardless of whether it is connected or not), it'll keep a 'bluesleep' wakelock which preents the device from going into Deep sleep.
Edit: Another note on the deep sleep problem. Even after turning bluetooth off, the phone doesn't deep sleep. Other wakelocks (event3, event4, event6) show as keeping the phone awake. Reboot fixes it and the phone can finally deep sleep.
Are you guys still enjoying this ROM?
Thanks to oshmoun to this amazing ROM i use it every days and i prefer Android 6 for the xposed module
Fantastic rom! Finally got rid of all the crap Sony bloatware.
However two questions. The camera on the back can now only shoot 8MP photo's. I've disbled the 8MP option in the setting, but it still won't let me shoot 23MP photo's. Is there a way to fix this?
Also the fingerprint scanner doesn't seem to function. When trying to add a fingerprint, it immediately fails (registration cannot be completed). Any fix?
LeZiGue00 said:
Thanks to oshmoun to this amazing ROM i use it every days and i prefer Android 6 for the xposed module
Click to expand...
Click to collapse
speedtoucher said:
Fantastic rom! Finally got rid of all the crap Sony bloatware.
However two questions. The camera on the back can now only shoot 8MP photo's. I've disbled the 8MP option in the setting, but it still won't let me shoot 23MP photo's. Is there a way to fix this?
Also the fingerprint scanner doesn't seem to function. When trying to add a fingerprint, it immediately fails (registration cannot be completed). Any fix?
Click to expand...
Click to collapse
about the camera,you need to wipe camera data after toggling 23MP mode. You'll then see the 23MP resolution in settings.
about the fingerprints, thanks for the hint. This is a bug. Sometimes it works though, so you might get lucky if you try a lot.
also, it's cool to know people are using this rom lol
if you're interested, I can post custom HOMEMADE builds that contain some bugfixes.
Notice though that HOMEMADE builds are signed differently, and won't be compatible with OFFICIAL builds. That means you'll need a full wipe before flashing and booting.
oshmoun said:
about the camera,you need to wipe camera data after toggling 23MP mode. You'll then see the 23MP resolution in settings.
about the fingerprints, thanks for the hint. This is a bug. Sometimes it works though, so you might get lucky if you try a lot.
also, it's cool to know people are using this rom lol
if you're interested, I can post custom HOMEMADE builds that contain some bugfixes.
Notice though that HOMEMADE builds are signed differently, and won't be compatible with OFFICIAL builds. That means you'll need a full wipe before flashing and booting.
Click to expand...
Click to collapse
Definitely interested in updates. Do you know if the Bluetooth issue got fixed?
ammarr said:
Definitely interested in updates. Do you know if the Bluetooth issue got fixed?
Click to expand...
Click to collapse
ok cool. I'll post an updated HOMEMADE build.
Main bugfixes are:
1. camera doesn't randomly crash at start anymore.
2. bluetooth doesn't cause device to stay awake
3. bluetooth and fm can be used without rebooting the device inbetween (not concurrently though, using bluetooth when fm is on will disable fm for example)
EDIT: build is done, tested and all seems ok
download link in OP
Thanks for the new rom. I'm going to flash it asap and let you know how it works. Keep up the work!
Tried this out today and it works really well. I'll probably try it out as a daily this week, because the bugs seem quite minor at this stage. I'm surprised that this isn't getting more attention. Since the BT bug is fixed, I'm wondering if the same fix will work for CM13 as well?
@oshmoun Nice work! I'm not sure how OmniROM works, but what is stopping you from updating official with the same changes?
ammarr said:
Tried this out today and it works really well. I'll probably try it out as a daily this week, because the bugs seem quite minor at this stage. I'm surprised that this isn't getting more attention. Since the BT bug is fixed, I'm wondering if the same fix will work for CM13 as well?
@oshmoun Nice work! I'm not sure how OmniROM works, but what is stopping you from updating official with the same changes?
Click to expand...
Click to collapse
Hehe well I'm just doing the building. Awesome people from the Sony open devices project helped fix the bugs
Official updates for omni 6.0 only come in form of security updates, i.e when Google uploads a new revision. That's why i can't update official that simply. Although to be honest I haven't asked if there are exceptions
I've flashed the rom today and it is working very well. The fingerprint scanner now works fine, even from the settings.
Thanks!
speedtoucher said:
I've flashed the rom today and it is working very well. The fingerprint scanner now works fine, even from the settings.
Thanks!
Click to expand...
Click to collapse
Really? It still doesn't work here.
Maybe it's because you did a full wipe.
Can you try adding/removing fingerprints from settings multiple times please? If it works reliably, that'd be great
oshmoun said:
Really? It still doesn't work here.
Maybe it's because you did a full wipe.
Can you try adding/removing fingerprints from settings multiple times please? If it works reliably, that'd be great
Click to expand...
Click to collapse
I flashed the Homemade version yesterday. I too am able to add fingers after initial setup in the settings. I tried to delete a finger in order to retry but the OS shuts down and reboots.
I believe I found a bug. Homemade version.
While listening to Audio, the whole phone locks up after what seems to be random times. I've listened to audio for a few minutes then it locks. I've listened up to around 45 minutes then locks up. Never more than an hour. If it helps, I've had this occur with Google Play Music, Poweramp, and Pocket Casts apps.
To resolve this, I have to hold power and volume up (Force shut down?)
Turnilemikus said:
I flashed the Homemade version yesterday. I too am able to add fingers after initial setup in the settings. I tried to delete a finger in order to retry but the OS shuts down and reboots.
Click to expand...
Click to collapse
yeah so it's still buggy I guess. I don't think i'll be able to fix that though, sadly. However, I can confirm that the issue doesn't appear on android nougat.
Turnilemikus said:
I believe I found a bug. Homemade version.
While listening to Audio, the whole phone locks up after what seems to be random times. I've listened to audio for a few minutes then it locks. I've listened up to around 45 minutes then locks up. Never more than an hour. If it helps, I've had this occur with Google Play Music, Poweramp, and Pocket Casts apps.
To resolve this, I have to hold power and volume up (Force shut down?)
Click to expand...
Click to collapse
hmmmm, yes you are right. I was able to reproduce that. I think I know why that happens. I used another fix for mp3 playback. The solution that's used in OFFICIAL is different from HOMEMADE.
well, the good news is that android nougat requires neither lol.
Thank you for your time and the build. I've never seen OmniROM before today.
Today I've tried to add some more fingerprints. But now it fails.
I skipped the fingerprint registration during the initial installation and added 3 fingers later, but now it just fails every time.
I also encountered the audio playback issue while using Spotify today.
Hey oshmoun
I'm enjoying your Homemade!
Herzlichen Dank!
Keep on coding! :good:

[DISCONTINUED - Use LOS official][UNOFFICIAL][20190706] LineageOS 16 Oneplus 7 Pro

Note: Since the patches essential for making this device work has been merged into LineageOS main repo, there is no need to maintain a separate unofficial build anymore. All fixes go to the official repository and you can expect the official LOS nightly builds to contain the most updated code. You can still use this thread for bug reports though. But bear in mind that some bugs that only appear on specific batches and cannot be reproduced on our devices are harder to fix.
Introduction
This is an UNOFFICIAL build of LineageOS for OnePlus 7 Pro (5G version NOT TESTED, probably won't work). While most features should be working, remember that this is a very early version and things could break, especially for a device as new as this one. I have literally just got hands on it last weekend and spent a few days fixing issues like the fingerprint scanner and motorized front camera. Please always flash with caution.
What's working
- All basic stuff like telephone, bluetooth, nfc, camera, volte, etc.
- Fingerprint scanner (works but with a few minor issues that doesn't affect using it)
- Front camera motor
- Light sensor (sort of, read below for information)
- 90hz screen (with some bugs described below)
Known Issues + TO-DOs
- When booting, the system will alert you of an "internal problem". This is completely fine, just ignore it for now no more internal problems since 20190629 because it comes with its own vendor image.
- Bluetooth audio not working sometimes. Fixed in 20190622
- Auto brightness doesn't work. Partially fixed in 20190622
- In some cases the phone will crash when playing audio. Seems to be problem of AudioFX. I'm looking into it. If you get stuck in recovery after the phone crashes, you can fix it by simply re-flashing anything. Even re-flashing Magisk will work. Fixed in 20190624
- Light sensor doesn't work exactly as it is in official ROM, causing some issues with auto brightness. This is due to the fact that the light sensor is located under the screen, and OnePlus seem to have some magic in their frameworks code to cancel the effect of the screen. For now, I did a very very dirty hack to make it at least work, but no magic is implemented. Expect some issues with this thing. If you find it annoying, I'd suggest disabling it at least for now.
- I have tried to implement an algorithm to correct the readings of the in-display ambient light sensor, but it is still very very funky especially in low-light environment. Fixed since 20190706
- Fingerprint scanning has some quirks here and there. Sometimes the screen goes entirely black except for the scanning area, sometimes the screen may flash a little bit while scanning (tried to reduce it since 20190629). On landscape mode it appears at the wrong place. (fixed since 20190629) But it at least works. I am working to figure out exactly how to make it perfect but it would take some time. (These were also bugs present on the OnePlus 6T / Xiaomi 9 implementation. I have tried to clean them up and fixed some of the issues that were present. At least the screen now doesn't dim like crazy as on OnePlus 6T / Xiaomi 9 implementation, because it dims the correct amount to make screen area other than the scanner circle to appear as bright or dark as it was before increasing the brightness for scanning. Also it works around the somewhat eye-straining Android brightness-changing animation by using a kernel interface provided by OnePlus, exactly as how they did this in their official ROM.)
(Note: if your fingerprint icon gets stuck on home screen, try the following steps: lock your phone, turn on the screen, swipe up for password/pattern unlock, then immediately press the back button, then use fingerprint to unlock. I'll try to get this fixed in the future.)
- Screen colors and refresh rate is a bit messed up when booting. If you find your screen laggy or strange, just turn it off and turn it back on. Fixed by a hack since 20190629, but expect a slight short blink when booting.
- No 48MP for camera. Kind of what you'd expect for these imx586 devices.
- This ROM doesn't come with its own vendor image yet. It needs to be flashed over OxygenOS to function properly. Comes with full vendor image since 20190629
- Importing keys to TEE does not work. Do not even try it, you may lose access to your data.
- SELinux is permissive.
How to flash
Use the TWRP recovery here https://forum.xda-developers.com/oneplus-7-pro/development/recovery-unofficial-twrp-recovery-t3931322
Since 20190629, you DO NOT need to flash OxygenOS before flashing this ROM anymore.
Note: this rom is only tested with firmware images from oxygen 9.5.5 for now. If you encounter any problem for things like mobile data, please try using firmware from 9.5.5 first.
This procedure is a bit tedious, but it's only because we are on an A/B system device.
1. Restart to bootloader, use `fastboot boot` to boot into the TWRP image
2. In TWRP, wipe data (better: format data)
3. Flash this LineageOS image (this installs it to the other slot)
4. Go to Reboot -> Bootloader (this will reboot to the other slot)
5. Again, use `fastboot boot` to boot into the TWRP image
6. Install OpenGAPPS / Magisk etc. (this installs to the current slot)
7. Reboot system
Downloads
20190706-1: https://mega.nz/#!LQxRhawQ!23i11FlIsO6LY35P1K3F1W0KRHGw8ozkUM66C3icdio
A lot of development has been going on this week due to luk1337, maintainer of official LineageOS for multiple devices, joining the party. Most of changes this week are either directly done by luk1337 or inspired by him.
- Corrected the calibration algorithm of the ambient light sensor. It works mostly fine now.
- Fixed support for in-display fingerprint sensor in Always-on Display mode.
- Fixed support for Wi-Fi Display
- Fixed LiveDisplay calibration / reading mode.
- Revamped the icon of in-display fingerprint scanner
- Fixed GNSS (GPS) support. Before this release, all the location information was network-based.
- Fixed NFC HCE.
- Added support for free-fall protection and manual-press warning for front-facing motorized camera.
- Fixed battery usage data.
History versions:
20190629-1: https://mega.nz/#!rRYRmIRY!4WW0FXYkWvu39t0LF-2RbRkl0aDfSbz_kjgZPotdLMQ
- Now comes with full vendor image, no need to flash OxygenOS vendor anymore.
- No more "internal problems" on boot anymore.
- Rebased the kernel
- Reduced screen blinking when fingerprint scanner is active (due to the rebased kernel)
- Hacked to make the screen work at 90Hz right after booting. No need to lock & unlock anymore (but expect a short blink while booting)
- Fixed double-tap-to-wake. Now the option in settings should be working.
- Fixed the position of fingerprint scanning circle when the screen is rotated.
- Tried to fix the ambient light sensor, but its behavior in an extremely low-light environment is still pretty funky. I hope maybe OnePlus can open-source their official algorithm to correct this thing...
20190624-1: https://mega.nz/#!nF4DwADT!xZ8tbrkCGtWL3A7DYIV_e6GfiprqGJXHEZLqufPCmmg
- Fixed crashes caused by playing audio
20190622-1: https://mega.nz/#!OMASTCZK!wXH7WdvVdAxqv7VjGzPwHy40Pk6cfghTGao-7u-PJQk
- Fixed bluetooth audio
- Added dash charging daemon
- Hacked to make the light sensor ( + auto brightness) at least work
20190621-1: https://mega.nz/#!rEglBKxS!OpA3tNSzlnpJ5pL8PW-x9Ax8Ee695GeIaDi4c-qcrw0
Stock Camera App
I have a modified version of the OxygenOS camera app here for use with LineageOS. It mostly works after a simple hack, however:
- No 48MP available. There must be some magic in official ROM on the frameworks side, and I doubt there is much to do about it
- Gallery integration does not work. Clicking on the gallery shortcut in camera will always say "no photos". You need to go to gallery app manually.
- Slow motion works but it will show a black screen when first started. Switching to another app and then back will fix it.
Remeber that I am not a professional camera modder at all. I have little knowledge in this field, and this is only a fallback solution given that nobody else has worked on modding the official camera of this device yet.
OnePlusCamera-guacamole-20190623: https://mega.nz/#!3YRWSKBR!lrRlslmenLXIBoUQQZnqydogKG4GZxmylX6rVHprHQs
Thanks
- LineageOS (obviously) and especially luk1337 (who maintains LOS for oneplus 6t also)
- OmniROM & phhusson (for their fingerprint scanner implementation as a basis, I cleaned it up a bit and abstracted device-specific logic from the somewhat messy frameworks implementation out to HAL. I think their original implementation for Xiaomi 9 / OnePlus 6T should have been done this way also.)
- All contributors to OnePlus 6T device tree of LOS & OmniROM (I took a good amount of code from there)
- HolyDragon guys (for their early work on the kernel)
- aviraxp
- Guaiyihu
XDA:DevDB Information
LineageOS for Oneplus 7 Pro, ROM for the OnePlus 7 Pro
Contributors
PeterCxy, ashwin4rc, holydragon
Source Code: https://github.com/PeterCxy/android_device_oneplus_guacamole
Kernel Code: https://github.com/PeterCxy/android_kernel_oneplus_sm8150
ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
Based On: LineageOS
Version Information
Status: Beta
Created 2019-06-21
Last Updated 2019-06-21
Woohoo! Let the custom ROMs begin...
Let's begin the voyage.
+1 [emoji106]
Thank god for more rom development. I was starting to lose hope on this.
Thanks for this see piece of work.
My only question is atm why 9.5.5 if we have 9.5.8 already?
Thanks in advance #kudos
Gesendet von meinem GM1913 mit Tapatalk
Flashaholic said:
Thanks for this see piece of work.
My only question is atm why 9.5.5 if we have 9.5.8 already?
Thanks in advance #kudos
Gesendet von meinem GM1913 mit Tapatalk
Click to expand...
Click to collapse
+1
mcn1970 said:
+1
Click to expand...
Click to collapse
Flashed over 9.5.8 just fine. You will get vendor internal problem error tho
Any chance of it working on 1901 aka OnePlus 7? Should be working If the model check doesn't hardcode it to use on pro
Looks like on fps test I'm getting 90 although earlier I was getting 60 weird it bounces around like that lol also can't seem to get my Galaxy bids to connect or even get seen.
Edit. Also faceunlock seems to work pretty well also.
Flashaholic said:
Thanks for this see piece of work.
My only question is atm why 9.5.5 if we have 9.5.8 already?
Thanks in advance #kudos
Gesendet von meinem GM1913 mit Tapatalk
Click to expand...
Click to collapse
Simply because when I started it I didn't get 9.5.8. Didn't bother to update the blobs. But the rom should work ok on 9.5.8.
joemossjr said:
Looks like on fps test I'm getting 90 although earlier I was getting 60 weird it bounces around like that lol also can't seem to get my Galaxy bids to connect or even get seen.
Edit. Also faceunlock seems to work pretty well also.
Click to expand...
Click to collapse
Looks like there might be some problems with Bluetooth audio. Will look into it later.
PeterCxy said:
Looks like there might be some problems with Bluetooth audio. Will look into it later.
Click to expand...
Click to collapse
Also auto brightness seems to not work
Very nice! I hope in future build we might be able to choose between fhd+ and QHD resolution
Hopefully the Muppets repo will fork some, thanks for your work
Thanks for your work,I have already flash the img, and hope to find some bugs for you
How would it work if you don't have the EU version since 9.5.5 image is not the global version ?
xdamember143 said:
How would it work if you don't have the EU version since 9.5.5 image is not the global version ?
Click to expand...
Click to collapse
Use any one it doesn't matter
Nice to see here! Kudos
Running this baby
Only bugs
1. Bluetooth earphones won't connect to music but works with calls.
Really miss that 90ghz option, waiting for that to be added.

[sGSI][Testing]Android 10.0 AOSP[24/10/2019]

Hi Guys,
Some of you may remember me if you had a Galaxy S9 or Note 10... I rooted my Note 10+ 5G (N976B) Last night and decided to try and have a stab at getting stock android on there by means of project treble. This is a Semi Generic System Image - meaning it's been/being enhanced specifically for our note devices and less focused towards being cross compatible with other devices.
If you have already tested the existing treble roms you'll know that the back lighting doesn't work and you can't adjust brightness. I've had a play around and I've got a working Android 10 AOSP build with fully working backlighting. I thought I'd share as I'd seen a few people who said they can't get GSI's working.
Download System Image
Gapps are included, the image is not rooted. You can flash Magisk yourself.
How to flash:
Make sure you're on a stock based rom (and rooted/twrped) Dr Ketan posted a good guide for this.
Download the System Image above
Reboot to TWRP
Select Wipe
Slide the bar across the bottom of the screen
Go back to the main TWRP menu and select install
Press "Install Image" at the bottom right.
Select the system image you downloaded and swipe to flash.
Once the GSI boots perform another reboot - for some reason the navbar doesn't start up on first boot.
What's working and not working:
Obviously you lose S-Pen functionality, but can still use it as a stylus. You also lose the ability to use your telephoto and telescopic lenses.
UltraSonic Fingerprint isn't working at the moment, but I'm looking into fixing that.
How can you help me?
Let me know how it's working for the different device models. People on other versions please can you let me know your device vendor fingerprint. (to do this On your device, in adb or Termux app use this command: getprop ro.vendor.build.fingerprint)
Credits:
phhusson - for all the project treble work, this is all thanks to him.
Please please support N976n. ???
xshaowenruix said:
Please please support N976n.
Click to expand...
Click to collapse
It should work, it's semi generic. Give it a try and let me know if it works.
If it doesn't I'll need your device fingerprint.
Good work!
Nice ... you stared to work whit the N10+ , still remember havoc in my N9 was a great time , keep goin Fox
@CodeFox. Thank you so much for your work with this! I booted successfully into Android 10 which is awesome. Installing Magisk was successful as well. Do you have any plans to add mods to this?
Welcome aboard
carandcar said:
@CodeFox. Thank you so much for your work with this! I booted successfully into Android 10 which is awesome. Installing Magisk was successful as well. Do you have any plans to add mods to this?
Click to expand...
Click to collapse
Glad to hear it worked for you - can I ask what specific device you're using?
No mods to this really, but right now I'm compiling a AEX pie based sGSI which I'm hoping should have some more improved functionality and potentially the fingerprint sensor working. There's no reason to mod bog standard Android 10, may aswell just use custom roms.
CodeFox said:
Glad to hear it worked for you - can I ask what specific device you're using?
No mods to this really, but right now I'm compiling a AEX pie based sGSI which I'm hoping should have some more improved functionality and potentially the fingerprint sensor working. There's no reason to mod bog standard Android 10, may aswell just use custom roms.
Click to expand...
Click to collapse
I have N975f. I understand what you mean about keeping it pure. I just like to be able to change the look up. ? Thank you again for bringing this to us.
I managed to get fingerprint working
I seem to have gotten it working by doing a fresh reset, flashing this version of gapps (https://forum.xda-developers.com/android/software/arm64-bitgapps-q-10-0-0-t3968500), wiped cache/dalvik then rebooted. i dont know if it made a difference or not but i also held my thumb on the sensor for extra long during the initial set up. Did it on N975F
Jamjarr said:
I seem to have gotten it working by doing a fresh reset, flashing this version of gapps (https://forum.xda-developers.com/android/software/arm64-bitgapps-q-10-0-0-t3968500), wiped cache/dalvik then rebooted. i dont know if it made a difference or not but i also held my thumb on the sensor for extra long during the initial set up. Did it on N975F
Click to expand...
Click to collapse
Hmm, Interesting. I will look into it. Thank you.
Thanks (and a quick question)
Thanks for the rom! This works for me on an N975F, including the fingerprint sensor. The only slight nit I have with it is that I can't figure out how to get rid of the cursor showing up on the screen when I use the stylus. Is there any chance there's a way to hide the cursor, or if it can be added? I don't use any other external input devices ever, so I'd be fully satisfied with a way to just disable the cursor globally on my device.
saghm said:
Thanks for the rom! This works for me on an N975F, including the fingerprint sensor. The only slight nit I have with it is that I can't figure out how to get rid of the cursor showing up on the screen when I use the stylus. Is there any chance there's a way to hide the cursor, or if it can be added? I don't use any other external input devices ever, so I'd be fully satisfied with a way to just disable the cursor globally on my device.
Click to expand...
Click to collapse
Was there any trick to getting the fingerprint to work?? I've had no joy with it. As soon as I try to register my fingerprint it says there was an enrolment error.
Would this gsi theoretically also fix the s10's brightness issue too?
CodeFox said:
Was there any trick to getting the fingerprint to work?? I've had no joy with it. As soon as I try to register my fingerprint it says there was an enrolment error.
Click to expand...
Click to collapse
It did this to me too when I was first setting up the phone, but after it was all set up, I went into the settings to try again, and it worked that time. It didn't show the fingerprint logo during this setup (and it still doesn't on the lock screen), but after a couple tries I was able to estimate correctly where the sensor was. Interestingly, the fingerprint logo does come up in the password manager app I use when I go to unlock it.
Not sure if there are logs that would help or if recording my screen while adding a new fingerprint would be informative, but I'd be happy to do either if that helps you debug in some way.
saghm said:
Thanks for the rom! This works for me on an N975F, including the fingerprint sensor. The only slight nit I have with it is that I can't figure out how to get rid of the cursor showing up on the screen when I use the stylus. Is there any chance there's a way to hide the cursor, or if it can be added? I don't use any other external input devices ever, so I'd be fully satisfied with a way to just disable the cursor globally on my device.
Click to expand...
Click to collapse
DBDPCG said:
Would this gsi theoretically also fix the s10's brightness issue too?
Click to expand...
Click to collapse
What's the issue with the S10? The backlight doesn't work?
CodeFox said:
What's the issue with the S10? The backlight doesn't work?
Click to expand...
Click to collapse
As I've heard, haven't tried it yet though
DBDPCG said:
As I've heard, haven't tried it yet though
Click to expand...
Click to collapse
For what it's worth, all the other GSI's I've tried for the Note 10+ weren't able to adjust the backlight; this is the first one where it just worked. I don't have an S10 to try this out on though, so I have no idea how this ROM would run on it.
LTE working despite phone claiming 3G
One thing I've noticed with this ROM is that the phone claims that it's always only getting 3G rather than LTE and has no bars; however, from doing a speed test on data (with wifi turned off, of course), I got around 8.5 Mbps down, which from a quick Google seems to be will beyond 3G range and into the range that LTE would give. If anyone else thinks they are having issues with getting LTE, I suggest doing a speed test, since you might actually be getting it despite what the phone reports.
saghm said:
One thing I've noticed with this ROM is that the phone claims that it's always only getting 3G rather than LTE and has no bars; however, from doing a speed test on data (with wifi turned off, of course), I got around 8.5 Mbps down, which from a quick Google seems to be will beyond 3G range and into the range that LTE would give. If anyone else thinks they are having issues with getting LTE, I suggest doing a speed test, since you might actually be getting it despite what the phone reports.
Click to expand...
Click to collapse
Go into your network settings and change the default connection from 3g to LTE/4G/3G.
For some reason it seems to default to 3g preferred.

Android 10 v11.0.5 Bugs, Enhancements, Battery Life etc.

Android 10
Release date: Tuesday, May 26th, 2020
Build Version: QKQ1.191002.002.V11.0.5.0.QDLMIXM
Kernel Version: 3.18.124-perf-g6d04eb4a
#1 Mon May 18 22:15:26 WIB 2020
Bootloader Version: MSM8953_DAISY2.0_20200518220803
Baseband Version: 953_GEN_PACK-1.202044.1.240106.1,953_GEN_PACK-1.202044.1.240106.1
Android Security Patch Version: May 2020
Please report bugs via Xiaomi's Feedback app.
How to Generate Bug Reports
Bugs:
1- [email protected] fps Video Recorder doesnt work on OmniVision OV12A10 Camera sensor. (Tap here for more info)
2- Still no way to discard Setting app suggestions.
3- Screen Lock/Unlock sounds doesnt work. (Factory reset fixes it)
4- Sim settings does not respect system theme. (only white) Source
5- Old charging sound still persist. (Factory reset fixes it)
6- Customize your Pixel still there. (Factory reset removes it)
7- Wifi icon on the statusbar is flickering. (Still same after factory reset)
8- Sometimes Wifi and Cellular icons on the statusbar is turning black while others white.
9- Direct share is broken. Source (Same after factory reset)
10- Some options in the Network settings are not translated correctly. Source
11- Volte still does not work (despite activation in options, the phone during the call switches to 3G network and does not display the volte icon) Source
12- 4G speeds slightly slower then Android 9 Source
Missing features:
1- There is no Equalizer.
Enhancements:
1- Second Stable Android 10 release.
2- It comes with May 2020 Android Security patch.
3- Sim card disabling option is fixed. Source
4- Camera sound deactivation works now. Source
5- Fixed! Uninstalling an huge app&game freezes the whole phone for a while. Source - Still same
Battery Life:
- One Sim,
- 2G only,
- Mobile Data off,
- Wifi,
- Brightness Auto,
- Battery Saver enabled at %10
- Adaptive Battery disabled
It gived 12 hours SOT. Check the SS's. Pretty much same as v11.0.4
Notes:
This is the second stable Android 10 update for Xiaomi Mi A2 Lite. There was a March 2020 Security patch in the first stable Android 10 update. Arrived 42 days later after v11.0.4
3DMark Test Results: (v2.0.4661)
Slingshot Extreme OpenGL ES 3.1 - Overall score 465
Slingshot Extreme Vulkan - Overall score 516
It will be beneficial to restart your phone after the first installation.
If you want to improve the performance of your phone tap here.
I will constantly update this topic.
perfect_ said:
Android 10
Release date: Tuesday, May 26th, 2020
Build Version: QKQ1.191002.002.V11.0.5.0.QDLMIXM
Kernel Version: 3.18.124-perf-g6d04eb4a
#1 Mon May 18 22:15:26 WIB 2020
Bootloader Version: MSM8953_DAISY2.0_20200518220803
Baseband Version: 953_GEN_PACK-1.202044.1.240106.1,953_GEN_PACK-1.202044.1.240106.1
Android Security Patch Version: May 2020
Please report bugs via Xiaomi's Feedback app.
How to Generate Bug Reports
Bugs:
1- [email protected] fps Video Recorder doesnt work on OmniVision OV12A10 Camera sensor.
2- Still no way to discard Setting app suggestions.
Missing features:
1- There is no Equalizer.
Enhancements:
1- Second Stable Android 10 release.
2- It comes with May 2020 Android Security patch.
3- Sim card disabling option is fixed. Source
4- Camera sound deactivation works now. Source
Battery Life:
N/A
Notes:
This is the second stable Android 10 update for Xiaomi Mi A2 Lite. There was a March 2020 Security patch in the first stable Android 10 update. Arrived 42 days later after v11.0.4
It will be beneficial to restart your phone after the first installation.
I will constantly update this topic.
Click to expand...
Click to collapse
Is third party launcher supported now?
Using gesture screen options.
gusbalaa said:
Is third party launcher supported now?
Using gesture screen options.
Click to expand...
Click to collapse
No.
-Facebook applications can't record video (Video capture fail error)
-------Found problem--------
The only system wide equalizer system that still works (the one explained here) on our device is causing the problem related to recording video in Facebook/Facebook Messenger/Instagram. Force closing the app now enables the video recording and as soon as the app is restarted the problem occurs again. And that's weird because the DSP isn't supposed to mess up the microphone or whatever facebook finds faulty and cancels the recording... Weird... Will look this up and update if solution is found.
Going back to the PRO version of that app now totally ignores the volume control of the device, which means in this .5 built the audio paths were modified. With pro version video recording is still failing. This is not a fix from xiaomi, this is an internal workaround, which is bad!!!
Even clearing the system, problem still persists. Checked permissions, checked storage writing, all is working, except video recording.
--------End of edit--------
-Sim settings does not respect system theme (only white)
--------Lazy modding from Xiaomi, this is the same dual sim controller app you had in Android Pie, just thrown in the Q environment--------
-Refreshing external device problem still persistent, new data copied on to the device only visible after reboot.
--------Not the only one with this problem, this is basically related to having huge folders on your SD card. I have a folder with >15k files in it)--------
-Sometimes some large games force close, but are fine after restarting the app (only sometimes - Only applicable on Gameloft ones - Totally unimportant)
What was fixed:
-Video record sound can now work with Google Voice turned on
-Ram management works fine for me (4/64)
??? Questionable effects:
-Lock screen sounds work for me (testing after a reset, still working just fine)
-Charging/USB sounds seems too low for me (problem persists, the vibration of the device is actually covering the sound)
Other than this, everything else remained the same as per what I wrote in my previous replies.
Qualcomm's app for data collection is still there, so this may be another partial release. They fixed something but the broke something else in another place.
Another lazy update, the battery is draining much faster than on .4 version, waiting for calibration. I'm starting to get sick over their incompetence to test and deliver a good end user experience.
OTA Link: https://bigota.d.miui.com/V11.0.5.0.QDLMIXM/miui_DAISYGlobal_V11.0.5.0.QDLMIXM_4e152f6600_10.0.zip
Let's not conclude quickly that the memory leak has benn fixed. I am trying to trigger it.
edit:
The device did not wake up from sleep, I got a random reboot.
magisk works as it should.
I install the update OTA this morning from official pie, the phone work well, the phone signal is a bit weak but all works well. No gesture in smart Launcher 5, i have fluid gesture for this feature.
Inviato dal mio Mi A2 Lite utilizzando Tapatalk
TeoXSD said:
-Facebook applications can't record video (Video capture fail error)
-Sim settings does not respect system theme (only white)
-Refreshing external device problem still persistent, new data copied on to the device only visible after reboot.
Click to expand...
Click to collapse
- Facebook and Messenger works fine with Camera.
- Sim settings same (only white)
- I am using Cx File manager works fine
Screen Lock/Unlock sounds work fine for me!
key-ancel said:
Screen Lock/Unlock sounds work fine for me!
Click to expand...
Click to collapse
Mine doesnt work.
perfect_ said:
Mine doesnt work.
Click to expand...
Click to collapse
Mine doesn't work too.
It began after upgrading to Q.
Also did two reset through settings, but nothing changed, still missing.
Have you maybe tried to flash fastboot image ?
srepole said:
Mine doesn't work too.
It began after upgrading to Q.
Also did two reset through settings, but nothing changed, still missing.
Have you maybe tried to flash fastboot image ?
Click to expand...
Click to collapse
I upgraded through ota from 10.0.18 to 11.0.4 and then i did Factory reset;
- New Charging sound was gone
- Lockscreen sounds doesnt work neither v11.0.4 nor v11.0.5
Anyone else getting super slow charging with this update? This is my first attempt to upgrade from Pie, and I've gone from 23% to 25% in almost an hour on standby...
- Direct share is still not available.
Please what do i do?
My phone is stuck with boot loop after upgrade to android 10.
how can i downgrade?
hi all!
face unlock function is gone completely, but after poking around I found that is the 'feature' and requirement of android 10 due to google's security concerns. ok...
but the problem I am facing is of a different nature. After update, I did factory reset but did not remove fingerprints prior to that operation. Now fingerprint enrolment fails every time I attempt to add another fingerprint. I was doing some digging around before posting this, and I already did try some of the solutions suggested for some other models which I have found scattered across XDA / so I already did boot twrp and erased via twrp file manager some of the files in /persist/data but that did not help.
any suggestions that could help, please?! thank you!
also, did anyone find a way to get rid of CUSTOMIZE PIXEL message?
Matty Watty said:
also, did anyone find a way to get rid of CUSTOMIZE PIXEL message?
Click to expand...
Click to collapse
Yes: -
1. Sell Mi A2 Lite
2. Buy a Pixel
Seems bizarre that the Pixel would not force this message on you and the Android One phone would but at the point this phone is exactly that, just a bizarre curiosity. Bye bye Xiaomi.
Matty Watty said:
also, did anyone find a way to get rid of CUSTOMIZE PIXEL message?
Click to expand...
Click to collapse
You've got to hand-exit the XML file in the settings suggestion data folder. You'll need root. Or you could boot (not install) TWRP and edit from there.
If your bootloader is locked, there doesn't seem to be any way to stop it. You can clear data on settings suggestions but the suggestions will come back and can't be dismissed.
a1291762 said:
You've got to hand-exit the XML file in the settings suggestion data folder. You'll need root. Or you could boot (not install) TWRP and edit from there.
If your bootloader is locked, there doesn't seem to be any way to stop it. You can clear data on settings suggestions but the suggestions will come back and can't be dismissed.
Click to expand...
Click to collapse
thanks. my boot loader is unlocked so I can boot easily into twrp. But I am not sure what do you mean with hand-exit and which exactly folder that xml file is in? thanks again.
Matty Watty said:
thanks. my boot loader is unlocked so I can boot easily into twrp. But I am not sure what do you mean with hand-exit and which exactly folder that xml file is in? thanks again.
Click to expand...
Click to collapse
From here...
https://support.google.com/android/thread/24667791?hl=en
This happened to me after upgrading a Xiaomi Mi A2 to Android 10 from Android 9.
Might be related to the "/data/data/com.android.settings.intelligence/shared_prefs/suggestions.xml" file not updating some values properly, since some users with rooted systems have changed manually this values to "true":
​
<boolean name="com.google.android.gm/com.google.android.gm.setup.AccountSetupFinalGmailSuggestions_is_dismissed" value="true" />
<boolean name="com.android.settings/com.android.settings.notification.ZenSuggestionActivity_is_dismissed" value="true" />
​A​nd the suggestions don't appear to them anymore.
I had to do this a few times, as new things popped up.

Mi Note 10 Black Screen Delay Issues [PLEASE HELP]

The phone is 2 years old, unlocked it a few months ago to play APK apps that required rooting.
Phone started lagging after that a bit, eventually it updated to MIUI 12, when the phone drastically started lagging.
I tried installing ArrowOS custom ROM, hoping that it would fix the issue, assuming that MIUI 12 is too heavy for the phone to handle - nope.
The problems started to occur more often and new issues started appearing.
Current major issues:
* Screen delay when trying to unlock with fingerprint / power button.
* Black screen / unresponsive screen on power button press.
* Notifications don't show up (black screen).
* When someone calls me -> phone vibrates/rings but the screen is black.
* Double tap to wake up -> black screen.
^All of the issues mentioned above that contain the black screen problem, sometimes but rarely the phone is responsive but it's like 2 times out of 20.
Things I have tried:
- Turn off all animations from Developer Options.
- Wipe Data / Dalvik Cache / Phone Cache / Factory Reset / Custom ROM.
- Installed stock ROM for Europe (since I live in EU) for my phone (latest MIUI 13) -> problem still persists.
- Wiped Cache / Dalvik after installing stock ROM (problem persists).
- Multiple factory resets (didn't fix the issue).
- Disable HW overlays -> this seemed to somehow give better performance but it disabled my Fingerprint function and I need this for banking security reasons, etc.
Overall the phone is still fast enough, no other issues, the most common issue is the black screen and the phone having this huge delay where sometimes it would turn on the screen for half a second and then go pure black again.
Most of the times I have to hold the power button for 10 seconds to force reboot it in order to access my phone.
Help is appreciated, thanks in advance people!
Snorlax1337 said:
The phone is 2 years old, unlocked it a few months ago to play APK apps that required rooting.
Phone started lagging after that a bit, eventually it updated to MIUI 12, when the phone drastically started lagging.
I tried installing ArrowOS custom ROM, hoping that it would fix the issue, assuming that MIUI 12 is too heavy for the phone to handle - nope.
The problems started to occur more often and new issues started appearing.
Current major issues:
* Screen delay when trying to unlock with fingerprint / power button.
* Black screen / unresponsive screen on power button press.
* Notifications don't show up (black screen).
* When someone calls me -> phone vibrates/rings but the screen is black.
* Double tap to wake up -> black screen.
^All of the issues mentioned above that contain the black screen problem, sometimes but rarely the phone is responsive but it's like 2 times out of 20.
Things I have tried:
- Turn off all animations from Developer Options.
- Wipe Data / Dalvik Cache / Phone Cache / Factory Reset / Custom ROM.
- Installed stock ROM for Europe (since I live in EU) for my phone (latest MIUI 13) -> problem still persists.
- Wiped Cache / Dalvik after installing stock ROM (problem persists).
- Multiple factory resets (didn't fix the issue).
- Disable HW overlays -> this seemed to somehow give better performance but it disabled my Fingerprint function and I need this for banking security reasons, etc.
Overall the phone is still fast enough, no other issues, the most common issue is the black screen and the phone having this huge delay where sometimes it would turn on the screen for half a second and then go pure black again.
Most of the times I have to hold the power button for 10 seconds to force reboot it in order to access my phone.
Help is appreciated, thanks in advance people!
Click to expand...
Click to collapse
Well, if the same thing happens to you both on MIUI and custom ROM, the only thing I can think of is that you are installing something (most probably with root access) that gives you this issue. MIUI is obviously laggy itself, but Arrow/Octavi/Cipher are smooth and fast. Personally I use Octavi and face no such issue like yours.
Lord Sithek said:
Well, if the same thing happens to you both on MIUI and custom ROM, the only thing I can think of is that you are installing something (most probably with root access) that gives you this issue. MIUI is obviously laggy itself, but Arrow/Octavi/Cipher are smooth and fast. Personally I use Octavi and face no such issue like yours.
Click to expand...
Click to collapse
I wish an app was the issue, the only app that I have installed is YouTube Vanced and it doesn't even require root access, the problem is that on a fresh installed stock ROM, the problem still persisted which brings me questions;
1) Am I installing a stock ROM Android 11+ which is too heavy for my phone causing lags?
2) Could it be a hardware issue considering that the problem exists on a freshly flashed ROM? But I need to exclude 1) first.
Snorlax1337 said:
I wish an app was the issue, the only app that I have installed is YouTube Vanced and it doesn't even require root access, the problem is that on a fresh installed stock ROM, the problem still persisted which brings me questions;
1) Am I installing a stock ROM Android 11+ which is too heavy for my phone causing lags?
2) Could it be a hardware issue considering that the problem exists on a freshly flashed ROM? But I need to exclude 1) first.
Click to expand...
Click to collapse
As I said, MIUI is heavy skin and it definitely lags more than AOSP custom ROM, but it shouldnt give you black screen issue. You could try to install Xiaomi.eu rom, which is a debloated, better version of MIUI than the stock one: https://sourceforge.net/projects/xi...MINote10_MICC9Pro_22.5.25_v13-11.zip/download
If multiple factory resets didnt help, then yes, it may be the hardware issue I think. But Im not that knowledgable to tell this definitely
Lord Sithek said:
As I said, MIUI is heavy skin and it definitely lags more than AOSP custom ROM, but it shouldnt give you black screen issue. You could try to install Xiaomi.eu rom, which is a debloated, better version of MIUI than the stock one: https://sourceforge.net/projects/xi...MINote10_MICC9Pro_22.5.25_v13-11.zip/download
If multiple factory resets didnt help, then yes, it may be the hardware issue I think. But Im not that knowledgable to tell this definitely
Click to expand...
Click to collapse
I was already recommended by Scarlet on discord (if not mistaking the username) to install EU stock ROM which I did but the problem still occcurs, I guess I will try and give it on a mobile service check just to make sure it's not a hardware issue, I will still however wait for more replies in case someone else had the issue and managed to fix it software wise, thanks for the suggestions buddy!
Snorlax1337 said:
I was already recommended by Scarlet on discord (if not mistaking the username) to install EU stock ROM which I did but the problem still occcurs, I guess I will try and give it on a mobile service check just to make sure it's not a hardware issue, I will still however wait for more replies in case someone else had the issue and managed to fix it software wise, thanks for the suggestions buddy!
Click to expand...
Click to collapse
You're welcome. However, Mi Note 10 XDA forum isn't particulary active, if you use Telegram, you can try to ask in the groups for tucana:
Mi Note 10 /10 Pro | OFFICIAL™
Xiaomi Mi Note 10/10 Pro - Official Telegram Group - Our Channel: @MiNote10Updates - Our Off-Topic group: @XiaomemeOT - Our Photography group: @XiaomemePhotography - Our Customization group: @XiaomemeCustomization
t.me
Octavi - Tucana and Bitra
Discussion group for OctaviOS and Phobos kernel maintained by @erikdrozina News channel: @erikdrozinastuff
t.me
Good luck

Categories

Resources