Development [ROM][UNOFFICIAL] LineageOS 18.1 with microG, Android Auto (plus instructions to build your own image) - OnePlus 9

Disclaimer
Your warranty is now void. We are not responsible for bricked devices, lost data, broken sd cards, or failure for your device to preform some important function. You are choosing to make modifications to your own device, and accept all of the risks involved.
Click to expand...
Click to collapse
LineageOS is a long standing android custom rom, derrived from AOSP with contributions from the community. By default, no google apps or frameworks are built into the rom.
microG is an open source, lightweight replacement for the proprietary google apps and frameworks. Maybe most importantly, it includes UnifiedNlp which provides wifi and cellular based geolocation which are necessary for location services apps to function properly.
This rom includes:
- fdroid & fdroid priviledge extension
- microG and sig spoofing patches to support it
Whats working:
everything, it seems
Whats not working:
nothing? Note that many camera apps don't support the camera cluster properly and instead just use one sensor. Instructions in the github repo are available to setup GCam which can use all of the sensors.
Please comment if you find something is not working properly.
Install Instructions:
https://github.com/SolidHal/lineageos-microg-oneplus-lemonade#install
Sources and Instructions to build your own images and custom recovery:
https://github.com/SolidHal/lineageos-microg-oneplus-lemonade#build
you can modify "build_lemonade.sh" to remove microG, AndroidAuto, etc if you like.
Download:
https://github.com/SolidHal/lineageos-microg-oneplus-lemonade/releases
Sources:
https://github.com/SolidHal/android-auto-stub
https://github.com/SolidHal/android_device_oneplus_lemonade
FAQ:
Q: Whats different from https://forum.xda-developers.com/t/rom-unofficial-lemonade-11-lineageos-18-1.4298845/ ?
A:
- fixed the camera cutout alignment (some fun math involved in drawing curves)
- aligned the status bar items with the camera cutout
- microG built in
- Android Auto support
Huge Thanks:
To andr01dfr3ak for the initial lemonade device tree.
To the folks in this thread about getting Android Auto working with microG: https://github.com/microg/GmsCore/issues/897 especially @dylangerdaly who figured out the Android Auto stub

Does stuttering still exist?​

amonstercattt said:
Does stuttering still exist?​
Click to expand...
Click to collapse
I have yet to observe any stuttering, but I can't promise it doesn't exist. In what situations do you see it happen, and using what rom?

SolidHal said:
I have yet to observe any stuttering, but I can't promise it doesn't exist. In what situations do you see it happen, and using what rom?
Click to expand...
Click to collapse
Even if I turn on 120Hz, there will still be the phenomenon of sliding out frames (lineage os).

amonstercattt said:
Even if I turn on 120Hz, there will still be the phenomenon of sliding out frames (lineage os).
Click to expand...
Click to collapse
I'm sorry, what do you mean by "the phenomenon of sliding out frames"?
and are you saying that you observe phenomenon on this lineageos build, or other ones?

Awesome work, I'm interested in the development process and was wondering what keeps an unofficial ROM like this from becoming an official LineageOS build?

SolidHal said:
LineageOS is a long standing android custom rom, derrived from AOSP with contributions from the community. By default, no google apps or frameworks are built into the rom.
microG is an open source, lightweight replacement for the proprietary google apps and frameworks. Maybe most importantly, it includes UnifiedNlp which provides wifi and cellular based geolocation which are necessary for location services apps to function properly.
This rom includes:
- fdroid & fdroid priviledge extension
- microG and sig spoofing patches to support it
Whats working:
everything, it seems
Whats not working:
nothing? Note that many camera apps don't support the camera cluster properly and instead just use one sensor. Instructions in the github repo are available to setup GCam which can use all of the sensors.
Please comment if you find something is not working properly.
Install Instructions:
https://github.com/SolidHal/lineageos-microg-oneplus-lemonade#install
Sources and Instructions to build your own images and custom recovery:
https://github.com/SolidHal/lineageos-microg-oneplus-lemonade#build
you can modify "build_lemonade.sh" to remove microG, AndroidAuto, etc if you like.
Download:
https://github.com/SolidHal/lineageos-microg-oneplus-lemonade/releases
Sources:
https://github.com/SolidHal/android-auto-stub
https://github.com/SolidHal/android_device_oneplus_lemonade
FAQ:
Q: Whats different from https://forum.xda-developers.com/t/rom-unofficial-lemonade-11-lineageos-18-1.4298845/ ?
A:
- fixed the camera cutout alignment (some fun math involved in drawing curves)
- aligned the status bar items with the camera cutout
- microG built in
- Android Auto support
Huge Thanks:
To andr01dfr3ak for the initial lemonade device tree.
To the folks in this thread about getting Android Auto working with microG: https://github.com/microg/GmsCore/issues/897 especially @dylangerdaly who figured out the Android Auto stub
Click to expand...
Click to collapse
I must say this is an awesome build. I have been away from this for awhile and this made it an easy return. I am going to switch phones. Any advice on how to get back to stock from this build?
Thank you

rulerofmydomain said:
I must say this is an awesome build. I have been away from this for awhile and this made it an easy return. I am going to switch phones. Any advice on how to get back to stock from this build?
Thank you
Click to expand...
Click to collapse
Always best way is MSM. Don't doubt this build is excellent but I would recommend EvoX. Head to the thread and go into the TG for the latest build. Have fun

pocho dobo said:
Always best way is MSM. Don't doubt this build is excellent but I would recommend EvoX. Head to the thread and go into the TG for the latest build. Have fun
Click to expand...
Click to collapse
Know of any good how to for MSM (don't know it )
Thank yo u

rulerofmydomain said:
Know of any good how to for MSM (don't know it )
Thank yo u
Click to expand...
Click to collapse
Device specifics would be a good start to guide you in the right direction!

pocho dobo said:
Device specifics would be a good start to guide you in the right direction!
Click to expand...
Click to collapse
Thank you
It is an Unlocked US OnePlus 9 8/128 Model LE2115

Related

CyanogenMod-6 for Aria: It's soo sexy - proof is in the kernel!

CyanogenMod is a free, community built distribution of Android 2.2 (Froyo) which greatly extends the capabilities of your phone.
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.
*/
This is an AOSP-based build with extra contributions from many people which you can use without any type of Google applications. I found a link from some other project that can be used to restore the Google parts, which can be found below or elsewhere in the thread. I've still included the various hardware-specific code, which seems to be slowly being open-sourced anyway.
Visit the CHANGELOG for a full list of changes and features!
All source code is available at the CyanogenMod Github!
If you'd like to to contribute to CyanogenMod, checkout our Gerrit instance.
INSTRUCTIONS:
- First time flashing CM 6 to your Aria(or coming from another ROM)?
1. Unlock/root your device and install Clockwork Recovery via ROM Manager
2. Do a Nandroid backup!
3. WIPE/Factory Reset
4. Install the ROM
5. Optionally install the Google Addon
- Upgrading from earlier CM6?
1. Do a Nandroid Backup!
2. Install the ROM (your Google apps will be backed up automatically)
HOW TO REPORT BUGS OR PROBLEMS?
- Was it a hard reboot? Get me the file "/proc/last_kmsg".
- Was it a soft reboot or a "boot loop"? Run "adb logcat" and get me the full output.
- Pastebin links preferred
- Please use the issue tracker whenever possible!
Please visit the CyanogenMod Wiki for step-by-step installation walkthroughs and tons of other useful information.
http://mirror.kanged.net/gapps/
Latest version: 6.0.2.1-Aria - 09/12/2010
Download: update-cm-6.0.2.1-Liberty-signed.zip
Mirror: update-cm-6.0.2.1-Liberty-signed.zip
MD5Sum: 0b93e84a33a5f98d7e8f4162f5b2a5a4
Release Candidate: (MANY Updates/bugfixes) Includes new kernel with many perfomance enhancements, including overclock (when used with setcpu)
Download: update-cm-6.1.0-RC0-Liberty-signed.zip
MD5Sum: 20af9ea0218cd7097ec5d843b1b0b414
Google Addon: MDPI-20101020
Mirror: http://www.tap3w0rm.com/hosted/android/gapps/gapps-mdpi-20101020-signed.zip
Thank you to EVERYONE involved in helping with testing, coding, debugging and documenting! Enjoy!
Linux GPL information:
Kernel modified by cyanogen, based on source provided for the HTC Liberty (Aria) and HTC Legend by HTC
Current kernel source and config are located at http://github.com/attn1/htc-kernel-liberty
ReadMe Here: http://github.com/attn1/htc-kernel-liberty/blob/master/README
Kernel credits are posted in the readme and github repository changelogs, with additions and configuration by cyanogen.
Credits:
This bulk of this PROJECT is still largely (overwhelmingly) the result of the efforts of cyanogen and team cyanogenMod.
I need to be crystal clear that I didn't do this by myself in a vacuum. This was a team effort. I'd like to thank cyanogen, who pointed me in the right direction when I had a false start and has now integrated this device project into cyanogenmod..
I'd like to thank Eugene, who got me started.
I'd like to thank the entire crew at irc channel #liberatedAria for helping so many noobs get started so I could do other stuff, but especially endeng, for building the first dev environment to follow and verify my process to keep my builds honest, and for helping jznomoney also build a dev environment and continue work while I was sidetracked. jznomoney did a ton of grunt work and some good guesswork to finish up and get a largely working ROM. Atlas gave me a clue after I needed one after not sleeping for a few days.
Large and in charge and consistently contributing big time in the IRC channel are:
shad0wf0x
yoshiofthewire
redapex
jasonyump
NeoLobster
Please read the FAQ before/while downloading. Failure to do so will result in bad voodoo.
Nightly:
It's a beautiful thing: nightly builds from the cyanogenMod buildbot - these are builds against the latest cm code repository, are experimental and may not work. But it you want to look at the very latest, this is where you'll find it:
http://mirror.kanged.net/cm/nightly/liberty/
Non-standard disclaimer:
In order to use this ROM, you must have already installed clockwork recovery. If you manage to brick your phone with this ROM from there, you are a dumb ass of unimaginable proportions, and I absolve myself of any responsibility whatsoever. Further, any damage done to your phone with this experimental software is your fault and no one else's.
FAQ
Q. I bricked my phone/my signal sucks/my cat exploded since installing this ROM.
A. See the Non-standard disclaimer above.
Q. I can't seem to flash the rom successfully, and my Nandroid backups don't restore.
A. Do NOT start Clockwork recovery by powering down the phone with the USB port plugged in. Clockwork WILL NOT operate reliably that way. Power down the phone with the USB cord disconnected so that the phone powers off properly. Then start the phone by pressing and holding the vol-down button while pressing the power button to start. After diagnostics complete, you can enter Clockwork the proper way.
Q. I lost my 3g connection after I flashed cm6, now the icon just says "H".
A. You didn't lose 3g - the H is for HSDPA, which is enhanced 3g, sometimes referred to as 3.5g. It's a good thing, if you see an "H" where the "G" used to display - don't worry about it. Print this out for next time you head to the can: http://en.wikipedia.org/wiki/High-Speed_Downlink_Packet_Access
Q. How do I keep my wifi from going to sleep every time the screen shuts off?
A. There is a hidden feature that disables wifi sleep.
menu > Settings > Wireless & networks > wifi settings > menu (again) > advanced > Wi-Fi Sleep policy > Never > menu > Save
However: although you can keep the wifi service from sleeping, the wifi driver will still sleep on it's own after detecting no bus activity for a period of time.
Q. Will this ROM support over or under clocking with Set CPU?
A. The kernel has been updated to support overclocking with SetCpu
Q. I can't get flash to work. What's going on?
A. Flash 10 is not supported by this CPU and AOSP Android does not support flash lite. Even if a hack allows installation of Flash 10, it's doubtful it will run very well.
Q. Where's the FroYo wireless hotspot?
A. It's in there!
menu > Wireless & networks > tethering and portable hotspot
Q. What's wrong with bluetooth? It doesn't work with my floozengadget.
A. Nothing. All bluetooth functions have been confirmed *WORKING* with compatible devices.
Q. But my floozengadget device is bluetooth compatible. What's wrong with bluetooth?
A. Nothing. Android AOSP bluetooth on the broadcom chipset is not compatible with every bluetooth device. Consistent compatibility issues have been noted with devices using certain parrott chipsets, certain automobiles with factory bluetooth including most Nissans, Volkswagons and an assortment of other devices and autos.
Q. Can you fix bluetooth so it will work with my floozengadget device?
A. No.
Q. Does the FM Radio work?
A. No, and there are no plans for FM radio support at this time.
Q. I miss HTC Sense. Can it be added to CM6?
A. No. HTC Sense is proprietary. Further, it is more than just a launcher and add on programs.
Q. But I really really really miss Sense. Can it be added to CM6?
A. No. And still - no. Yet - no.
Q. What's an ETA for the fixes and when will the ROM be finished?
A. No one gets a dime for this port, and no one works on it full time. It's a work in progress and as we make any significant breakthroughs, we'll update the ROM and post it. Sometimes I take time off from the project just to be a wise ass and beat on jznomoney. I don't know how any of this answers the question, but if it conveys an urgency to meet a schedule, then I recommend reading the answer over and over again until it doesn't.
Q. My widgets don't load or I am missing icons on the desktop or in folders.
A. The sdcard mounts late in the startup process - later than when desktop icons and widgets are loaded. This is a problem inherent in Android 2.2 and manifests itself when an application/widget is moved to the sdcard that has a presence on the Desktop. This is not a bug in this ROM, it's apps2sd in FroYo.
Q. If this is cyanogenmod, then how come it doesn't work exactly like it does on xyzphone?
A. Good question. I guess mostly because it's not an xyzphone.
Q. May I use your work and customize it and republish it?
A. My work is a small portion of this project. Ask cyanogen specifically about what you want to do and if he's okay with it, who am I to argue? Do not ever claim the work you are using as your own or fail to give cyanogen or his team credit for the project and my group credit for the device port or you will be on a lot of s-lists faster than you can hit your spacebar. I don't think cyanogenmod should be skinned up for redistribution.
Q. May I republish this ROM, giving proper credit?
A. Get permission first.
Q. Will you put out customized/skinned versions of this ROM?
A. No. This is meant to be a clean port of cyanogenmod for the HTC Aria, and nothing more. cyanogenmod is an awesome project, and I don't plan to detract from what it is in any way shape or form by customization. Once you install it, you are free to do whatever you like with it. You are of course also free to build flash-able skins and whatever mods you'd like to share.
Color me excited!
Can't Wait!... just kiddin... but not really.
Oooo exciting!!!
Cant wait to try this out!
Sent from my HTC Liberty using XDA App
Is this Froyo?
Attn1, is my f'in hero!
Omg... its here!
Sent from my HTC Liberty using XDA App
Almost broke my phone in excitement
Sent from my HTC Liberty using XDA App
am I dreaming?
nice ........ waiting waiting waiting and waiting .....
drjim said:
Is this Froyo?
Click to expand...
Click to collapse
Yes cyanogenmod 6 is based off the froyo source.
Congrats attn1!
Sent from my SAMSUNG-SGH-I897 using XDA App
Can't wait for this! Here comes my new everyday ROM.
Thanks so much attn1!!!
Sent from my HTC Liberty using XDA App
attn1 said:
wife/factory reset - YES - it's required
Click to expand...
Click to collapse
might wanna fix that
Thanks for a great effort, can't wait to try! Just curious, why is it that all non-stock ROMs that have been released so far do not have a functional camera? Is it particularly difficult to get working?
fantastic. flashing as we speak.
hi2u2 said:
might wanna fix that
Thanks for a great effort, can't wait to try! Just curious, why is it that all non-stock ROMs that have been released so far do not have a functional camera? Is it particularly difficult to get working?
Click to expand...
Click to collapse
I will like to know that also... the camera is always that thing that does not work...
hi2u2 said:
might wanna fix that
Thanks for a great effort, can't wait to try! Just curious, why is it that all non-stock ROMs that have been released so far do not have a functional camera? Is it particularly difficult to get working?
Click to expand...
Click to collapse
figures my first new bug report would be a spelling correction in my post.
This is fantastic I'm flashing right now. To those asking about the camera, I can't really answer your question, but I can input this little tidbit; On the Clean Eclair ROM, the camera was functioning, but didn't handle colors properly, everything had a blue tint to it that led to the inversing of a number of colors (mostly blues with reds and vice versa), which led to some quite interesting photographs although that's not necessarily everyones cup of tea
Also take note, not all the colors you see there are a direct result of the camera, I use CameraFX for all those shots altering the color IT applied to the picture as well, although there were things I had no control over, i.e. the lighter pictured is red with a blue button, the actual lighter is red with a blue button.
attn1 said:
figures my first new bug report would be a spelling correction in my post.
Click to expand...
Click to collapse
The "wife" thing or the camera thing? Does the camera work? Stupid question..I guess everyhting is working, right?

G930F Exynos/herolte: LinOS 14.1 microG ROM or another 8/9 based ROM?

I have no experience with this device and have it not here to test. Want to maybe install a Custom ROM for a friend to get away from a "destroyed" Stock. So I need to be sure if I want to do that, since I can not test around with the device.
My main question is if I should go with lineage-14.1-20190302-microG-herolte.zip (camera performance?) or because of better camera performance, stability, speed and long autonomy go with another ROM based on 8/9 (maybe MicroG also possible to install there)?
Bluetooth support/stability is certainly important (car, home stereo) as well as usage of apps like WhatsApp, Facebook, Instagram and Signal. For E-Mail, Calendar, Addresses I think we could switch to Google Alternatives as well as as to FOSS/F-Droid Alternatives for others. Not sure if the friend needs Google Maps - would install OSMAnd.
Any experience and advise welcome. Thanks a lot.
ChriMo said:
I have no experience with this device and have it not here to test. Want to maybe install a Custom ROM for a friend to get away from a "destroyed" Stock. So I need to be sure if I want to do that, since I can not test around with the device.
My main question is if I should go with lineage-14.1-20190302-microG-herolte.zip (camera performance?) or because of better camera performance, stability, speed and long autonomy go with another ROM based on 8/9 (maybe MicroG also possible to install there)?
Bluetooth support/stability is certainly important (car, home stereo) as well as usage of apps like WhatsApp, Facebook, Instagram and Signal. For E-Mail, Calendar, Addresses I think we could switch to Google Alternatives as well as as to FOSS/F-Droid Alternatives for others. Not sure if the friend needs Google Maps - would install OSMAnd.
Any experience and advise welcome. Thanks a lot.
Click to expand...
Click to collapse
I can tell you from my own experience it is much faster with lineage rom and you will have much more storage and ram avaible than the stock rom. By the way if you decide to install lineage knox will not work anymore and microg would be possible to install
It may also be worth considering the unofficial ports in these forums, they're built off the LOS nightly releases but given more special attention.
Beanvee7 said:
It may also be worth considering the unofficial ports in these forums, they're built off the LOS nightly releases but given more special attention.
Click to expand...
Click to collapse
Ok, but since it is not my device (can not test ROMs) and I seek support-free daily driving I'm not ready to take the risk of unofficial ports as well as they might work, unless experienced users comment here comparing current well supported ports directly to official LinOS 14.1 (microG) builds. As far as I can see the only official Pie 9.0 ROM is Resurrection Remix v7.0 from 20190310; but MicroG is not supported and deodexing services.jar for NanoDroid MicroG install seems too complex for this case. If it would be my device I would try, no problem then.
ChriMo said:
Ok, but since it is not my device (can not test ROMs) and I seek support-free daily driving I'm not ready to take the risk of unofficial ports as well as they might work, unless experienced users comment here comparing current well supported ports directly to official LinOS 14.1 (microG) builds. As far as I can see the only official Pie 9.0 ROM is Resurrection Remix v7.0 from 20190310; but MicroG is not supported and deodexing services.jar for NanoDroid MicroG install seems too complex for this case. If it would be my device I would try, no problem then.
Click to expand...
Click to collapse
That's part of why I was recommending unofficial, as far as I'm aware the official LineageOS builds are nightly, which is technically non-stable branch. Unofficial ports aim to be 'stable' quality.
Either way you probably won't get a support free OS out of LineageOS. There's always oddities, although usually small.
Beanvee7 said:
That's part of why I was recommending unofficial, as far as I'm aware the official LineageOS builds are nightly, which is technically non-stable branch. Unofficial ports aim to be 'stable' quality.
Either way you probably won't get a support free OS out of LineageOS. There's always oddities, although usually small.
Click to expand...
Click to collapse
Thank you for explaining. Small oddities should be fine, at least I hope since I never used TouchWiz (immediately installed LinOS on a S5m) and do not know how easy it is for a Samsung user to come to the AOSP/LinOS World.
I probably would go with a PIE MicroG supporting ROM like AospExtended 6.3, HavocOS 2.2 or crDroid 5.1 if any of them would be official like Resurrection Remix v7. I know it is not a quality distinction per se, but without some experience it gives a little more confidence to at least currently have something cared for.
LineageOS 16 because necessity of deodexing etc. is not a candidate for me.
Hopefully in the next days I can try the migration. I will try in this order: HavocOS 2.2 (no experience) > AospExtended 6.3 > LineageOS 15.1 microG

less Google in a ROM

hello.
I have a question. which is the custom ROM with less from Google? Thanks
I too have been looking into this for some time. Easiest method is Lineage OS with MicroG. Other more difficult options are:
Calyx OS - Mostly uses OP3/3T and 7/7T/7T Pro
Graphene OS
/E/ Project - although personally I would avoid
CopperheadOS - uses Pixel devices only - for future reference
Some options for email would be Tutanota (free account with limited storage but has calender and contact and email sync), or (more popular but I have my reservations) ProtonMail.
Another option is keep the rom you are using and flash (after full backup and sd card back up just in case) nanodroid.zip - see below links for ideas:
https://forum.xda-developers.com/lenovo-p2/help/module-nanodroid-microg-pseudo-debloat-t3923478
or
https://forum.xda-developers.com/oneplus-5t/how-to/guide-microg-deodex-signature-spoofing-t3862961
thanks again.
I just wanna ask you why will you avoid efoundation??
ozzmanj1 said:
I too have been looking into this for some time. Easiest method is Lineage OS with MicroG. Other more difficult options are:
Calyx OS - Mostly uses OP3/3T and 7/7T/7T Pro
Graphene OS
/E/ Project - although personally I would avoid
CopperheadOS - uses Pixel devices only - for future reference
Some options for email would be Tutanota (free account with limited storage but has calender and contact and email sync), or (more popular but I have my reservations) ProtonMail.
Another option is keep the rom you are using and flash (after full backup and sd card back up just in case) nanodroid.zip - see below links for ideas:
https://forum.xda-developers.com/lenovo-p2/help/module-nanodroid-microg-pseudo-debloat-t3923478
or
https://forum.xda-developers.com/oneplus-5t/how-to/guide-microg-deodex-signature-spoofing-t3862961
Click to expand...
Click to collapse
[And I will like to know which ROM are for the ONEPLUS 6
QUOTE=pekas;83557313]thanks again.
I just wanna ask you why will you avoid efoundation??[/QUOTE]
pekas said:
[And I will like to know which ROM are for the ONEPLUS 6
QUOTE=pekas;83557313]thanks again.
I just wanna ask you why will you avoid efoundation??
Click to expand...
Click to collapse
[/QUOTE]
I am not saying /e/ foundation is bad, but I have read multiple places that state they are basically copying and pasting code with out giving props to whoever they are pulling sources from. Plus the 6 and 6T roms are very old, only on A9.
In my opinion they are copyng and pasting cause everything is open source and mostly free, so.
i dont understand the only on A9?
I am not saying /e/ foundation is bad, but I have read multiple places that state they are basically copying and pasting code with out giving props to whoever they are pulling sources from. Plus the 6 and 6T roms are very old, only on A9.[/QUOTE]
AAAHHH
you mean that their ROM is in Pie.... OOOkay, but it works I guess
anyway. Another custom ROM with the less possible of Google. Syberian that was my favourite I just find out that has so many things from Google, and the Havoc that I love to, has camera and maybe some other things from Google
B][/B]
pekas said:
In my opinion they are copyng and pasting cause everything is open source and mostly free, so.
i dont understand the only on A9?
I am not saying /e/ foundation is bad, but I have read multiple places that state they are basically copying and pasting code with out giving props to whoever they are pulling sources from. Plus the 6 and 6T roms are very old, only on A9.
Click to expand...
Click to collapse
[/QUOTE]
Just use any rom that has signature spoofing and doesn't include gapps and install NanoDroid Micro G and Fdroid and use Fdroid for your app store instead of Google. If whatever rom you prefer doesn't have sig spoofing there an xda thread that tells how to add it.
AOSiP, Bliss, Corvus, Omni Micro G all have spoofing just to name a few.. And there are more. NanoDroid xda thread link is in second post of this thread. You get a lot better battery life without Google's services and all running 24/7.

Development [ROM][Official][Weekly] LineageOS 20 for Edge S / Moto G100

LineageOS is a free, community-built, aftermarket firmware distribution of Android 13, which is designed to increase performance and reliability over stock Android for your device.
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* We are 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 us for messing up your device, we will laugh at you.
*
*/
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit our Gerrit Code Review. Your changelog is whatever was merged into gerrit.
Important information:
This thread is for LineageOS 20 builds for Edge S / Moto G100. The following will not be supported here:
Custom kernels
Mods
Xposed
We don't support Xposed and any logcat which includes an Xposed module will be ignored. You're kindly invited to not report bugs if you:
Flashed a custom kernel
Installed or did mods from untrusted sources
Modified system files
Installation:
https://wiki.lineageos.org/devices/nio/install
Notice on SafetyNet:
As announced in the charter, LineageOS does not ship any hacks to help you bypass SafetyNet. The Universal SafetyNet Fix (USNF) Magisk module is a popular 3rd-party choice to workaround SafetyNet on custom ROMs. However, USNF is not sufficient to bypass SafetyNet on LineageOS, because we track the latest Android security patches while SafetyNet fails if the underlying security patch level (SPL) doesn't match stock.
To workaround this issue, I created a simple Magisk module to spoof SPL, which can be downloaded at https://github.com/MoetaYuko/spoof-spl/releases. Activating both USNF and spoof-spl should enable you to bypass SafetyNet checks. Noting that this is provided for convenience and NOT an official LineageOS solution.
Source code:
https://github.com/lineageos
Credits:
LineageOS Team & Contributors
Code Aurora Forum
Special thanks to Electimon, this work is heavily based on his prior ones.
......
Changelog & Download:
2022/10/7 initial release:​https://drive.yuko.moe/d/E5/Android/nio/lineage-20/lineage-20.0-20221006-UNOFFICIAL-nio.zip​2022/11/4:​https://drive.yuko.moe/d/E5/Android/nio/lineage-20/lineage-20.0-20221104-UNOFFICIAL-nio.zip​
Sync latest source
Fix wifi display
Reduce auto brightness latency
Other minor fixes
This is supposed to be the last custom build before official release
2023/1/2 and later:​https://download.lineageos.org/nio​
Ok. I upgrade from 19.1 to 20.0 and everything work exelent on this moment.
sp6ina said:
Ok. I upgrade from 19.1 to 20.0 and everything work exelent on this moment.
Click to expand...
Click to collapse
Dirty flash?!?!
@dianlujitao , did you use test keys or can I upgrade after a clean install of your build to official 20.0 when it is coming out? Probably I will just do a clean install then, but good to know
Yes. Dirty flash.
Moto-J said:
@dianlujitao , did you use test keys or can I upgrade after a clean install of your build to official 20.0 when it is coming out? Probably I will just do a clean install then, but good to know
Click to expand...
Click to collapse
Okay, installed 20.0 myself for test and indeed other build signature.
Great build, everything seems to work, no issues so far.
Dirty flash probably will work as @sp6ina mentioned, though I would recommend a clean flash always when you update to a mayor new version.
Moto-J said:
Dirty flash?!?!
@dianlujitao , did you use test keys or can I upgrade after a clean install of your build to official 20.0 when it is coming out? Probably I will just do a clean install then, but good to know
Click to expand...
Click to collapse
I personally don't use officially signed builds so can't tell.
Really excited for this, thanks @dianlujitao !
I do hope the echo/noise cancellation bug with speakerphone is fixed with the upcoming official release, as I'm still stuck on stock because of it being broken in 19.1...
Some small issues here, further very stable build:
1. USB file transfer seems not to work, though PTP is (phone not showing up in explorer);
Edit: solved this by installing "Mobile universal MTP USB device" driver and now XT2125-4 is recognised ;-)
No idea now if the reason was the LOS20 install, though when it happenes, you know what to do.
So: Portable Devices - Default MTP Device - MTP USB Device solved it.
2. Some app settings seems to reset after reboot like battery setting restricted
That's it for the moment, looking forward for the next build! ;-)
I modified my phone to 16gb of RAM, but the system can't fully utilize the memory. Even though continuous use can use up to 80 percent of the memory, there are still a lot of applications that get killed in the background after a while.
The number of apps running in the background is not as good as the 12gb pixel.
Is there any possiblity to improve it?
@dianlujitao
Do you plan new release of LineagoOS 20 ?
I know, newer ask about release time but... you know
noahhhh said:
I modified my phone to 16gb of RAM, but the system can't fully utilize the memory. Even though continuous use can use up to 80 percent of the memory, there are still a lot of applications that get killed in the background after a while.
The number of apps running in the background is not as good as the 12gb pixel.
Is there any possiblity to improve it?
Click to expand...
Click to collapse
GitHub - kerneltoast/simple_lmk: A simple low memory killer kernel driver for Android devices. Pick from the branch that corresponds to your kernel version.
A simple low memory killer kernel driver for Android devices. Pick from the branch that corresponds to your kernel version. - GitHub - kerneltoast/simple_lmk: A simple low memory killer kernel driv...
github.com
NFC, gpay?
I love lineageos, but I really need my camera. You essentially discard your 64MP camera when you flash a custom ROM. Is there any app that has the option to use your ULTRARES cam? Open camera and all the others go up to 16MP. Has lineage found a way to make use of all the cams / options? Also, has an option to remap the bixby button been included?
I noticed same volume issues like on version 19.1.
e.g. can't control volume when on speaker, can't change volume when using headset (wired) in signal, wire....,adds stronger echo for the other side
Can anyone confirm?
Latest is working great here; no issues found till now. Ready for official I think
Great work @dianlujitao !
nahoda said:
I noticed same volume issues like on version 19.1.
e.g. can't control volume when on speaker, can't change volume when using headset (wired) in signal, wire....,adds stronger echo for the other side
Can anyone confirm?
Click to expand...
Click to collapse
I confirm, same issues of 19.1. Echo on the other side is a real pain
Strange thing happened .. i was able to control volume during last wire call I made (both when on speaker and with headset). I changed nothing except installed magisk. But that shouldn't matter. I'm confused.
nahoda said:
Strange thing happened .. i was able to control volume during last wire call I made (both when on speaker and with headset). I changed nothing except installed magisk. But that shouldn't matter. I'm confused.
Click to expand...
Click to collapse
Happens to me too.
This is what I experienced:
- Call volume cannot really be changed from the settings app (you can slide it, but nothing will change)
- Most times you cannot control call volume during a call. Sometimes, you can, but it's rare.
However, even if I slide the call volume to the minimum (if I can do it, which is rare) my caller still hears echo. The only workaround is using a pair of headphones (or stock rom). It's really sad that all custom roms have this problem and nobody seems to be able to figure out how to fix it. I tried to contact a few developers of custom ROMs to see how I can help but so far I got 0 answers...
Demax55 said:
However, even if I slide the call volume to the minimum (if I can do it, which is rare) my caller still hears echo. The only workaround is using a pair of headphones (or stock rom). It's really sad that all custom roms have this problem and nobody seems to be able to figure out how to fix it. I tried to contact a few developers of custom ROMs to see how I can help but so far I got 0 answers...
Click to expand...
Click to collapse
Thanks for your involvement. It's unfortunate that noone can track the cause down.
I also noticed the echo is not present with headphones, tho if it's headset with mic it has echo.
I tried to experiment when i was still on 19.1 to replace sound related xml files with files from stock rom (i think from vendor fs), it did't help much, but headset behaved as headphones without mic, just using phone mic and echo wasn't present in such case.
This morning I was looking at the build server sites etc... to find some info about the status of LOS20. Is there a place where we can find info about the progress (not the changelog) and planning of it?
Just wondering ;-)

Development [ROM][13.0][SAFETYNET][OPTIMIZED] LineageOS 20 for Motorola Edge 30

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.
*/
About LineageOS
LineageOS is a free, community built, aftermarket firmware distribution of Android 13.x (T),​which is designed to increase performance and reliability over stock Android for your device.​​All the source code for LineageOS is available in the LineageOS GitHub repo.​And if you would like to contribute to LineageOS, please visit our Gerrit Code Review.​​Official LineageOS website : http://lineageos.org​
About Optimizations
Android Runtime
Disable debugging related features
Compile with D8 optimizations
Adjust watchdog timeout
Android Bionic
Sort host cache in-memory for performance
Switch to jemalloc memory allocator
msmset and pthread related changes
Android Build
Compile with ARMv8-2a-dotprod optimizations
Compile with O3
Compile with lse+fp16
Don't compress resources and assets
Use dexpropt speed
Increase heap size and use aapt2
... and sqlite, zlib related optimizations
Android Recovery
Allow installation of unverified zips i.e the most functional change ever
Android FWB
Reduce blur intensity to ease CPU/GPU
3 finger screenshot support (Please check under Gestures)
Added related missing permissions
SurfaceFlinger related optimizations
View/Layout optimizations
Android Telephony
Latest prebuilt APN from Stock
Updated CarrierConfigs from CAF
Additional cherry-picked IMS related fixes
Android System
Safetynet fixes
Improved Magisk evasion fixes
Disabling data for all connection interfaces and not just mobile data
Additional alarms and ringtones
Dialer
Allow auto-call recording as per country laws
UI changes
DocumentsUI
Start with Internal Storage instead of Downloads
Gallery2
Start with albums activity
Trebuchet
Allow double tap to sleep on homescreen
Updater
Allow local update feature
About Issues
MotoCamera's night mode doesn't work correctly (same as LineageOS), replaced by Aperture, use GCam if needed. MotCamera4 fixed thanks to Marc
NR only mode (5G only mode) works with Jio only. For using 5G on other ISP, use NR/LTE or any other bands, during heavy network traffic, it switches to 5G and fallbacks to 4G during power save automatically
Downloads Links
LineageOS 20.x (Unlocked Bootloader) :​Link : https://drive.google.com/drive/folders/1wXGs7pitUvOCETdCHjVsvpVD3iilbiNl?usp=share_link​​Google Applications :​Not required (has inbuilt minimal set of Google Applications including SetupWizard)​​Flashing and updating​LineageOS clean install :​- (Optional) Flash the boot.img recovery from the ROM zip with Fastboot​- (Optional) Wipe the data & cache (Backup to make sure not to loose data)​- Flash the LineageOS ROM zip from the Recovery​- Reboot to recovery again​- (Optional) Every additional zip you want to flash like Magisk​- Reboot to system​​LineageOS Update using "Local Update" feature :​- You need to be on an existing ROM developed by me​- Download the ZIP from download link above and storage in local storage (example Downloads folder)​- Go to Settings -> System -> Updater​- Click 3-dot buttons and select Local update​- Select the zip using File Manager​- Let it update (takes some time)​- Reboot​​Issues and reports​- Report issues only if you are using the ROM kernel​- If an additional mod is installed, make sure it's unrelated, and mention it​- Make sure the issue wasn't discussed earlier in the threads​- Share a log of the error with CatLog for example​- Make sure you also tell the ROM version you're using​
XDA:DevDB Information
[ROM][13.0][OPTIMIZED] LineageOS 20 for Moto Edge 30
Contributors
Daedroza, Albert
Source Code: https://github.com/daedroza
ROM OS Version: 13.x Android T
ROM Kernel: Linux 5.4.x
Version Information
Status: Stable
Created 2023-01-26
Last Updated 2023-01-26
Changelog (You can use updater to update from local storage)
Android 13 Blobs + Android 13
June 25, 2023
Sync with June security patches
Added MotCamera4
Added Android 13 blobs
Updated system wide ad block hosts
Android 12 Blobs + Android 13
May 15, 2023
Sync with May security patches
Added Dolby support
Minimal ad block (system-wide, all apps)
April 18, 2023
Sync with April security pathces
Even more aggressive battery optimizations
Wifi optimizations (2.4GHz bonding)
More fluidity at 60HZ
March 27, 2023
Hot-fix for 5G Networks
Enabled 5G by default if supported
Enabled 5G Voice over Network (VoNR)
March 25, 2023
Sync with March security patches
Aggressive inline optimization using LTO
Aggressive sleep optimizations
Respect restricted apps
Platform fixes for GMS package
Fixed a bug where Android Studio's debugger didn't connect (for developers)
February 19, 2023
Complete fix for SafetyNet
February 13, 2023
Synced with February security patches
More SQLite optimizations and updates
Reverted to Lineage's UDFPS implementation
Use Aperture instead of MotCamera4 (crashes with face beauty and night mode...)
Appreciate your kind efforts. Feels perfectly smooth and stable.
Just a noob question regarding the "Safetynet fixes", my device still cannot pass the CTS (which I assumed would be one of the fixes compared to stock LOS 20). Or may be I misunderstood the whole thing. Thanks.
rjawan said:
Appreciate your kind efforts. Feels perfectly smooth and stable.
Just a noob question regarding the "Safetynet fixes", my device still cannot pass the CTS (which I assumed would be one of the fixes compared to stock LOS 20). Or may be I misunderstood the whole thing. Thanks.
Click to expand...
Click to collapse
Thanks for your response!
I've picked "most" of the patches across different ROMs but there might be one or two missing. For time being, you can use Magisk and Zygisk to hide your relevant apps.
For me, using Magisk + Zygisk Hide on Google Play Store gave certified status which is good enough for me. At the moment, I am using ProtonAOSP's related patches (mostly with exception for others) for SafetyNet from Android 12 but it seems Android 13 is bit different. I will take a look into it however I am sure you can get it done easily using Magisk + Zygisk combo for time being.
EDIT: Magisk fixed. Please use builds after 18th February!
is any of these improvements suppose to improve longevity of battery? (except lowering blur, that i can understand ) wondering if this build is for me over default LOS.
possible to see build without google stuff included?
alekksander said:
is any of these improvements suppose to improve longevity of battery? (except lowering blur, that i can understand ) wondering if this build is for me over default LOS.
possible to see build without google stuff inincluded
Click to expand...
Click to collapse
From a non developer's perspective, ROM is quite smooth. Most layers of the code are optimised. There are some functional changes like able to install unsigned packages in recovery which official Lineage doesn't allow.
For battery life, I get maximum 10 hours of screen on time. I never crossed that mark. Usage is no social media and mostly video browsing (means no screen touches with 480p/720p streaming) @ 60HZ/48HZ combo.
Regarding Google Play services, it was a design decision. I like functional changes and hence kept a minimal package that is oriented towards battery life. I had done my fair share of living without Google services and I think modern devices are fairly powerful now.
I had done a comparison with Lineage's recommended MindTheGapps package and I get additional 2 hours of screen on time (maximum 10 hours of screen on time as said before).
profound answer. thank You.
Daedroza said:
I had done my fair share of living without Google services and I think modern devices are fairly powerful now.
Click to expand...
Click to collapse
does it mean no plans to release g'less variant?
Daedroza said:
From a non developer's perspective, ROM is quite smooth. Most layers of the code are optimised. There are some functional changes like able to install unsigned packages in recovery which official Lineage doesn't allow.
For battery life, I get maximum 10 hours of screen on time. I never crossed that mark. Usage is no social media and mostly video browsing (means no screen touches with 480p/720p streaming) @ 60HZ/48HZ combo.
Regarding Google Play services, it was a design decision. I like functional changes and hence kept a minimal package that is oriented towards battery life. I had done my fair share of living without Google services and I think modern devices are fairly powerful now.
I had done a comparison with Lineage's recommended MindTheGapps package and I get additional 2 hours of screen on time (maximum 10 hours of screen on time as said before).
Click to expand...
Click to collapse
10 hours is impressive, even with just 60hz. So that means if you do not have the MindTheGapps you have 2 hours extra battery? Or is it 2 more hours if you have the MindTheGapps vs the Google bloat?
Thanks
alekksander said:
profound answer. thank You.
does it mean no plans to release g'less variant?
Click to expand...
Click to collapse
No plans as such. Building Android 13 is already very costly for me with these optimizations. Building it twice once with and without is something I am not looking forward to simply because of my constrained resources. I do a lot of building outside Lineage too, so simply cannot waste my SSD read/write cycles. Secondly, I already shipped first version with those services built-in. Removing those in next update will cause a lot of problems and could be fixed with clean flash only.
JorgeTone said:
10 hours is impressive, even with just 60hz. So that means if you do not have the MindTheGapps you have 2 hours extra battery? Or is it 2 more hours if you have the MindTheGapps vs the Google bloat?
Thanks
Click to expand...
Click to collapse
MindTheGapps is a more complete Google services package which includes accessibility and few other components. My minimal built-in package doesn't include those. If you require accessibility services, my recommendation is to use official Lineage with MindTheGapps.
Got it.
Really last question – does this ROM works anything different to LOS regarding UDFPS? (It doesn't seem so, but i prefer to ask since i cannot decode most of the changelog acronyms).
alekksander said:
Got it.
Really last question – does this ROM works anything different to LOS regarding UDFPS? (It doesn't seem so, but i prefer to ask since i cannot decode most of the changelog acronyms).
Click to expand...
Click to collapse
The UDFPS implementation is same as official build, no difference whatsoever except that my build has slightly more screen flashes because the UDFPS implementation doesn't support multi rect correctly. A workaround is present in official build that causes more battery life to be consumed.
For now that workaround is reverted in my build because I'm trying to understand how far it's effect is on battery life.
I don't think you will even notice it if you use 90HZ+ or more as default.
EDIT: Reverted to original Lineage implementation on new release!
rjawan said:
Appreciate your kind efforts. Feels perfectly smooth and stable.
Just a noob question regarding the "Safetynet fixes", my device still cannot pass the CTS (which I assumed would be one of the fixes compared to stock LOS 20). Or may be I misunderstood the whole thing. Thanks.
Click to expand...
Click to collapse
Hi @rjawan , please use build from February 19, 2023. It has complete SafetyNet fixes. Remember to remove Magisk as some apps still detect it and banks might app not work because of it. But CTS profile does pass and my bank app works now. Enjoy
Daedroza said:
Hi @rjawan , please use build from February 19, 2023. It has complete SafetyNet fixes. Remember to remove Magisk as some apps still detect it and banks might app not work because of it. But CTS profile does pass and my bank app works now. Enjoy
Click to expand...
Click to collapse
Thank you. Amazing work. Works like a charm, just as you said. Passed the CTS test straight away. BTW I am not using Magisk to begin with so have nothing to do on that front. Cheers mate. Thanks.
Daedroza said:
Changelog (You can use updater to update from local storage)
March 25, 2023
Sync with March security patches
Aggressive inline optimization using LTO
Aggressive sleep optimizations
Respect restricted apps
Platform fixes for GMS package
Fixed a bug where Android Studio's debugger didn't connect (for developers)
February 19, 2023
Complete fix for SafetyNet
February 13, 2023
Synced with February security patches
More SQLite optimizations and updates
Reverted to Lineage's UDFPS implementation
Use Aperture instead of MotCamera4 (crashes with face beauty and night mode...)
Click to expand...
Click to collapse
Hi, thanks for this build.
March 27 changelog ?
Thank you for making this great version of lineage, it really is very polished and it runs 11/10, the battery lasts a long time and the fluidity is magnificent, it passes the safetynet verification by itself, which is greatly appreciated, I loved it a lot, I wish it could be added the "amoled" night mode (I don't know if it already has it and it's hidden) and the game space and without a doubt I would stay in this rom forever
Roonicks said:
Thank you for making this great version of lineage, it really is very polished and it runs 11/10, the battery lasts a long time and the fluidity is magnificent, it passes the safetynet verification by itself, which is greatly appreciated, I loved it a lot, I wish it could be added the "amoled" night mode (I don't know if it already has it and it's hidden) and the game space and without a doubt I would stay in this rom forever
Click to expand...
Click to collapse
Check in display dark theme and there is a menu there
Rom is very stable and smooth but there is a very huge battery drain in idle mode around 2-3%/hr even after fresh install and can you please add network speed indicator on status bar on your next update if possible thanks in advance
aslam2121 said:
Rom is very stable and smooth but there is a very huge battery drain in idle mode around 2-3%/hr even after fresh install and can you please add network speed indicator on status bar on your next update if possible thanks in advance
Click to expand...
Click to collapse
You can use Battery Manager to detect applications that are sucking battery life or just check Battery Usage graph. Usually few applications hold some wakelock to perform activities in the background which usually ends up being the culprit. My recommendation is to disable applications running in background and disable background mobile data usage.
If you have done clean install, I recommend waiting for cache to build which generally takes time if you have lots of applications.
@aslam2121 : Check with new April build, there are more battery optimizations which reduces random wakelocks.
Thanks for this awesome ROM, any chance to add Dolby Atmos? (Without rooting the phone)
Where to get the boot image? And can I flash magisk zip directly from recovery?

Categories

Resources