[ROM][6.0.1][XT1622][UNOFFICIAL] CyanogenMod 13.0 for Moto G4 [BETA] - Moto G4 ROMs, Kernels, Recoveries, & Other Develop

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This ROM is in testing stage and not ready for daily use at the moment​
CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community
First I would like to thank the following developers :
@ashwin007
@Shreps
@elandoido
@vache
I used the sources from @ashwin007 as a starting point and combined them with Motorola's stock kernel sources to base this cm 13.0 build on.
Before you start
THIS ROM IS TESTED ON XT1622 UNTESTED BY DEVELOPER ON ANY OTHER MOTO G4
Code:
*
* Your warranty will be voided !
*
* 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 the ROM
Current state of ROM : BETA
What works/is Fixed
Boots
Sound (excl ringtones)
Mic
GSM (ril)
Dualsim detection XT1622
Wifi
Camera
GPS
Ringtones (no wav/mp3 support)
What is not working
Important
Single sim support not working.
Minor
Flashing red border around screen. (seems sound related)
Instructions
How to install CM13.0
If you don't have TWRP yet, get it from here : TWRP by bender1987 (Use the flash option, not just boot)
Download the ROM and the Gapps that are located below to your device
Reboot into TWRP by holding VOL UP + POWER + HOME on boot (Needs to be tested)
In case things go wrong make a backup
After the backup has completed return to home and select Wipe and then Advanced Wipe
Now ONLY tick Dalvik Cache, System, Data and Cache
After ticking those, Swipe below to wipe
Once the wipe has completed return to home and select the ROM
After you selected the ROM swipe below to install it
After the ROM has installed flash the Gapps
When all of this is done, reboot into system, wait, and enjoy CM12.1
How to ROOT
In CM 13.0 Enable the developer options
Select Root access
Select Apps Only
Done
Questions and bug reporting
The following questions will be ignored
Inappropriate questions
Forced orders, EX. : "PLS FIX!!!!!!"
ETA's
Often repeated questions usually by the same user
Requests that are out of CM's framework (Ex. Adding Samsung Apps)
How to report a bug/issue
Explain exactly what happens
Mention a log if you can (Please use hastebin or any other paste site to keep the thread clean)
If you can't mention a log, explain as precise as possible when, why and where it occurs!
Changelog
Code:
**********
29/08/2016 - Extra prop settings in init for non dualsim XT1622 models, based on work from [user=68428475]@vache[/user].
**********
26/08/2016 - Slight prop changes in single/dual sim support. Maybe enough to get it to work on single sim. (dual works)
**********
25/08/2016 - Rild and libril build from source.
**********
24/08/2016 - Recompile, camera works again.
**********
23/08/2016 - Single sim settings (prop only) taken from XT1622 single sim and included. Build with detection. (Dual sim mode tested)
- Camera not working (something broke it)
**********
21/08/2016 - Disabled single/dual sim detection, limited 1 build to single sim for those who want to test if this could work. (20160821 build)
**********
20/08/2016 - Switched single/dual back to sim detection. (20160820 build)
- Changed default CPU governor from performance to Interactive to limit heat buildup.
**********
19/08/2016 - Switched single/dual sim check to hwrev based. Needs to be tested. (dualsim XT1622 works)
**********
18/08/2016 - Single sim needs to be tested, 2 'method' builds uploaded to test
- Enabled several decoding codecs, including aac and flac. (ringtones work better now)
- Did something not nice with sound, flashing red border around screen.
**********
17/08/2016 - Dual sim detection works (single sim detection working, sim not working)
- Memory option detection added. Settings split up between low mem (2G) and high mem (>2G) devices.
- Full cm phone support included
**********
15/08/2016 - [user=5426059]@ashwin007[/user] git a working build, cloned his device and vendor tree to learn where I went wrong and to see if I had some minor changes done correctly.
**********
05/08/2016 - First bootable image using Motorola kernel (permissive)
**********
06/07/2016 - First compile (I hope)
**********
Downloads
Latest CM 13.0 build : https://www.androidfilehost.com/?fid=24591000424960822
All CM 13.0 releases can be found here :
All CM 13.0 testing releases can be found here : https://www.androidfilehost.com/?w=files&flid=90423
All CM 13.0 beta releases can be found here :
Recommended GAPPS by opengapps.org : http://opengapps.org/ (I use pico)
Source
All our sources can be found here : https://github.com/Moto-G4
Screenshots
DONATE ME HERE IF YOU WANT TO BUY ME A BEER OR HIT THE THANKS BUTTON IF I HELPED YOU
XDA:DevDB Information
CyanogenMod 13.0 for Moto G4, ROM for the Moto G4
Contributors
T_I, ashwin007, shreps, elandroido
Source Code: https://github.com/Moto-G4
ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.10.x
Based On: CyanogenMod
Version Information
Status: Beta
Created 2016-07-06
Last Updated 2016-08-29

Ok, build failed. Used osprey (Moro G 2015) as starting point, maybe not the wisest choice. Merlin (Moto G 2015 Turbo) looks more similar. However, both based on msm8916 board. The only msm8952 basesd image I can find in cm sources is htc One A9 (hiaue), but that device is arm64, the Moto G4 (at least the one I have) only has the 32 bit libs. Uploaded current state to the git location in OP. I've build with android_device_motorola_athene, android_device_motorola_mcm8952-common and kernel-msm. (All cm-13.0 branch)
When someone has the time and experience to help, that would be nice. I'll try again day after tomorrow.
Edit: missing headers for f2fs in motorola kernel tree... those are split off in another git repo... joined them with the msm kernel and compiling again.

I find this device interesting but only if a working CM ROM exists (possibly also for Moto G4 Plus), so I plan to follow this thread. I hope in a growing community for G4/XT1622 and G4 Plus/XT1642. Interesting that I just searched for this when the ROM is not even a day old

Thanks @T_I
Waiting for beta version, so we can try it
Will this will work well on Indian Moto g4 plus variant (XT1643)

Moto G3 (?) lel is Moto G4 , any screenshots?

XT1641?
Enviado desde mi Moto G (4) mediante Tapatalk

Haven't got a clue, I've almost got the sources in a state that it'll build, we will have to wait and see if it'll boot after the build. (and after that if anything works)

can someone post a direct link to the cm13 rom i cant find it thanks

Just out of interest: how does compiling a build usually take, the way you say it, it seems like it takes quite a while (1+ hours).

[ROM][6.0.1][XT1622][UNOFFICIAL] CyanogenMod 13.0 for Moto G3 [building]

Florensie said:
Just out of interest: how does compiling a build usually take, the way you say it, it seems like it takes quite a while (1+ hours).
Click to expand...
Click to collapse
On this computer, it'll take about 2-3 hours, when it's done. I'm at the point where the kernel builds without errors, but the image itself gives some issues. Switched from osprey (Moto G3) to merlin (Moto G3 turbo) as starting point. Mainly because the turbo version is dual sim. It also has some thermal settings that re included in the tree, so I can take a peak and see how to include the thermal settings from the athene in the build. (and later how to correct them, the device is getting a bit warmer then I expected while using)
xtermmin said:
[ROM][6.0.1][XT1622][UNOFFICIAL] CyanogenMod 13.0 for Moto G3 [building]
Click to expand...
Click to collapse
1 typo found, corrected. Wouldn't be to surprised if there are more in OP.

Drat, almost there, but the build fails on the install-recovery.sh script.
Code:
Installing recovery patch to system partition
Warning: could not find SYSTEM/build.prop in <built-in function zip>
using prebuilt recovery.img from BOOTABLE_IMAGES...
using prebuilt boot.img from BOOTABLE_IMAGES...
cp: cannot stat '/usr/local/src/cm/android/system/out/target/product/athene/ota_temp/SYSTEM/bin/install-recovery.sh': No such file or directory
build/core/Makefile:1074: recipe for target '/usr/local/src/cm/android/system/out/target/product/athene/system/bin/install-recovery.sh' failed
make: *** [/usr/local/src/cm/android/system/out/target/product/athene/system/bin/install-recovery.sh] Error 1
make: Leaving directory '/usr/local/src/cm/android/system'
I'm currently look into the sources to see what should provide this script, as I can't find any references for this in my other builds. (which don't have this issue)
Edit: drat, stupid error in my sources. When you include build tree, it's nice the Android.mk will accept the device to include it... Rebuilding. With some luck this was the issue.

If that didn't work, try wih the moto x play sources...

waiting,will try it on Moto G4 plus XT1643(Indian)....

dhk.- said:
If that didn't work, try wih the moto x play sources...
Click to expand...
Click to collapse
Good one, as the merlin tree is a fork of lux, maybe a clean start is better. Last attempt for merlin, will try lux tomorrow.

Ok, switched angle of approach. Instead of rewriting an existing device, started with the twrp sources as starting point and working my way up to a setup similar to the osprey/lux/merlin setup. (separate board and device setup) First try will be compiling with the twrp sources for athene in the cm source tree. Pre build kernel and dt, nothing else.
Edit: Yes, this is the way to go. Just build the first bootable recovery from CM source. With both pre-build kernel and dt. Trying a build with kernel from sources, then dt from sources as well.
Edit 2: And broke it again. but I pin-pointed the section that breaks the build. The kernel and partitioning at least are OK, it's one of the extra modules/settings that make the mess. Will try again Thursday.

Any news?
My CM 13 - https://yadi.sk/d/-WvJyaqqtNJ2P
much does not work

is this works for g4 plus also?
is kernel 64-bit?
thx a lot

I have a G4 plus - x32 firmware

wizard-dima said:
Any news?
My CM 13 - https://yadi.sk/d/-WvJyaqqtNJ2P
much does not work
Click to expand...
Click to collapse
bugs??

Related

[UNOFFICIAL][a5xelte][SM-A510F]Lineage OS 15.1 for A5 2016

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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. Hard & a lot.
*
*/
Introduction
Thanks to my very generous donors I managed to buy an A5 2016 cheap on eBay and have ported our new device tree and kernel to this device.
This is far more stable and much snappier than the previous releases available as the new kernel/tree is much quicker.
Features and ImprovementsStable
Fast​What worksCalls, SMS, Mobile Data
Camera
NFC
WiFi
Bluetooth
Torch
Fingerprint scanner
SELinux Enforcing​What doesn't workSome 2D animation stuttering (WIP)
Occasional Camera HAL crashes (same HAL bugs as A3)Fixed in 27/05/2019 release
VoLTE (will never work on LOS)
You tell me​Installation
Download the latest LOS build and transfer it to your phone
Install the latest TWRP (Available Here)
Make a full backup (just in case something goes wrong)
Do a full wipe (Cache, Dalvik Cache, Data, System)
Install LOS
If you are installing GApps do it at the same time (preferably in the same install queue)
Install Magisk if you want root
And finally boot, the first boot can take several minutes as it optimises all the apps
DownloadsLatest releases are uploaded HERE
OpenGapps HERE
TWRP is availableHERE
Magisk is available HERE​SourceExynos7580 device tree/kernel sources are available here
LineageOS sources here​Thanks@Stricted
@l-0-w
@alexax66
@macs18max (BT call audio fix)
@Borduni
And all others who have contributed to the Exynos projects​A special thanks to my donorsMarkus Anders
@D4ND310
@epicwilmo
@tyson
@thebinf
@Herti
@pixelou
@xavier66​XDA:DevDB Information
Lineage OS 15.1 for A5 2016, ROM for the Samsung Galaxy A Series
Contributors
danwood76, stricted
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.10.x
Based On: LineageOS
Version Information
Status: Stable
Created 2019-04-27
Last Updated 2019-05-27
Changelog
Code:
Changes in the 23/06/2019 release:
[INDENT]camera: added new workaround to fix remaining HAL crashes (Google Camera should work now)
June Android security patch
LOS updates
[/INDENT]
Older changes listed below:
Code:
Changes in the 27/05/2019 release:
[INDENT]camera: improved camera wrapper to fix camera crashes (still avoid google camera)
LOS updates[/INDENT]
Code:
Changes in the 17/05/2019 release:
[INDENT]ramdisk: tune VM parameters to fix issues with MTP (thanks [user=7341346]@IvoDi[/user])
WiFI: fixed MAC address loading
Android May security update[/INDENT]
Code:
Changes in the 04/05/2019 release:
[INDENT]sepolicy: Fix denial that caused fingerprint reader to fail (thanks @antonyc828 and @LilDead)
kernel: Fix an issue in the charger that would cause charge to fail if the phone had not been plugged in for 20+ hours
[/INDENT]
Code:
Changes in the 03/05/2019 release:
[INDENT]kernel: added a workaround for the DMA busy issue that was causing reboots when switching to amplifier
kernel: fixed WiFi android version check
kernel: disabled GPU debug trace to try and speed up rendering in situations where HWC cannot be used
kernel: removed previous DMA NULL ptr dereference hack as it did not help
[/INDENT]
Code:
Second release of the day (lineage-15.1-20190503_2-UNOFFICIAL-signed-a5xelte):
[INDENT]Updated Bluetooth configuration to fix calling
[/INDENT]
Code:
Changes in the 29/04/2019 release:
[INDENT]device tree: pulled in the correct power_profile.xml from stock (fixes reported battery size)
kernel: Fixed a NULL ptr dereference in the sound DMA code that causes a system reboot
[/INDENT]
Code:
Changes in the 26/04/2019 release:
[INDENT]Initial release
[/INDENT]
Build Instructions
1. Setup a LineageOS build environment based on one of the supported LineageOS 15.1 devices: https://wiki.lineageos.org/index.html
Note: All commands below are executed from the LineageOS root directory
2. Initialise the LineageOS repositories
repo init -u git://github.com/LineageOS/android.git -b lineage-15.1
3. Sync the repos (can take a log time, around 30GB of downloads)
repo sync
4. Create the .repo/local_manifests directory and add the a5xelte manifest (attached)
mkdir .repo/local_manifests/
cp ~/Downloads/a3xelte.xml .repo/local_manifests/
5. Sync our device trees in
repo sync
6. Setup the build environment
source build/envsetup.sh
7. Finally start the build:
brunch lineage_a5xelte-userdebug
To pull in new changes it is usually only necessary to repeat steps 5 - 7.
mmm.. looks good, I will try bruh.
good job
Good rom
Hi bro thanks for rom and thank you for support i am tested rom and i saw 2 problem :
1-firstly sometimes notification animations getting lag(i think not important)
2-i get only one time random reboot While connecting my 5ghz wifi
Also kernel optimizations are good i got 3530 geekbench score
Last one will u build pie?
Thanks for all
SimurgAnka said:
Hi bro thanks for rom and thank you for support i am tested rom and i saw 2 problem :
1-firstly sometimes notification animations getting lag(i think not important)
2-i get only one time random reboot While connecting my 5ghz wifi
Also kernel optimizations are good i got 3530 geekbench score
Last one will u build pie?
Thanks for all
Click to expand...
Click to collapse
1. I have seen this too, it is odd as we use the same software stack on the A3 and S5NEO and get really smooth composer/animation performance. I am looking in to this.
2. Are you able to copy out the /proc/last_kmsg file and send it to me via pm? You will need root. I have seen a random kernel crash related to audio that I am looking in to, it may be the same issue but the last_kmsg will help.
There are no real "kernel optimisations" as such, our kernel started as the stock A510F kernel which we updated for Oreo. We used this as our base for the A3 and S5NEO as it was the latest kernel with the most frequent updates. I just recently divided it might be nice to port this to it's original device
With regards to Pie, I will be making Pie builds in the near future. I just wanted to get a stable and tested Oreo ROM before I add the Pie patches.
Hi bro i got one more time random reboot in the lockscreen,sorry bro i cant send logcat or /proc/last_kmsg because i am restarted my phone .I guess random reboot reason is not wifi . If i get one more time, i will send you bro also maybe u can know me ,we are speaked discord many time . Last one ui is fully smooth but only notification bar animations do that.
SimurgAnka said:
Hi bro i got one more time random reboot in the lockscreen,sorry bro i cant send logcat or /proc/last_kmsg because i am restarted my phone .I guess random reboot reason is not wifi . If i get one more time, i will send you bro also maybe u can know me ,we are speaked discord many time . Last one ui is fully smooth but only notification bar animations do that.
Click to expand...
Click to collapse
The crash I saw occurred just after I unlocked it via fingerprint, but the logs revealed that it was not fingerprint related but was related to the audio driver.
The /proc/last_kmsg file is persistent after a reboot, that is why I have asked for it. It may be the crash I have seen but I need more logs to confirm exactly where the issue occurs.
Regards,
Danny
danwood76 said:
The crash I saw occurred just after I unlocked it via fingerprint, but the logs revealed that it was not fingerprint related but was related to the audio driver.
The /proc/last_kmsg file is persistent after a reboot, that is why I have asked for it. It may be the crash I have seen but I need more logs to confirm exactly where the issue occurs.
Regards,
Danny
Click to expand...
Click to collapse
Good luck bro
Uploading a new release, changes:
device tree: pulled in the correct power_profile.xml from stock (fixes reported battery size)
kernel: Fixed a NULL ptr dereference in the sound DMA code that causes a system reboot
Installed the rom, bugs which i found at this moment: (I'm sorry for my bad English, I from Poland)
1. Laggy notification center, and lock screen (but not always)
2. MTP not always work
3. Audio causing reboots (on stock music player less often than on liked by me "Retro Music Player")
And i not found a option to change lock screen wallpaper.
Rom is very fast - faster than other builds of lineage 15.1 and 16 for this phone
sometimes i get reboot when open app.
idk why, i try to clean install, and same too.
but this rom so smooth and really fast.
no lag for pubg ?
thank you so much sir.
btw this kernel not support fast charging?
---------- Post added at 05:45 AM ---------- Previous post was at 05:42 AM ----------
KaroloBC said:
Installed the rom, bugs which i found at this moment: (I'm sorry for my bad English, I from Poland)
1. Laggy notification center, and lock screen (but not always)
2. MTP not always work
3. Audio causing reboots (on stock music player less often than on liked by me "Retro Music Player")
And i not found a option to change lock screen wallpaper.
Rom is very fast - faster than other builds of lineage 15.1 and 16 for this phone
Click to expand...
Click to collapse
update to latest build bro..
Hi,
Which gapps? 8.0 or 8.1?
Amathagma said:
Hi,
Which gapps? 8.0 or 8.1?
Click to expand...
Click to collapse
arm 8.1 pico bro
Fingerprint don't work and Randomly reboot. Please help me <3
skaptes said:
Fingerprint don't work and Randomly reboot. Please help me <3
Click to expand...
Click to collapse
which your build? 27/29?
my phone not have fingerprint issue.
Sent from my [device_name] using XDA-Developers Legacy app
thank you very much. The fastest and most stable rom
The last build with nano gapps. Don't work fingerprint
skaptes said:
The last build with nano gapps. Don't work fingerprint
Click to expand...
Click to collapse
try to clean install? wipe system, cache, data, internal.
if still problem, try flashing firmware samsung to latest version on 2019.
because i don't have thats problem.
but idk. maybe someone like you too..
Sent from my [device_name] using XDA-Developers Legacy app
se.developers said:
arm 8.1 pico bro
Click to expand...
Click to collapse
Why arm?
Phone is recognized as arm64 in the beginning.

[ROM][10.0][UNOFFICIAL][ARM64] LineageOS 17.1

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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 10, which is designed to increase performance and reliability over stock Android for your device.
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. Linked below is a package that has come from another Android project that restore the Google parts. 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 out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.​
Warning!!!
BackUp EFS and persist partition before installing. If you lose IMEI , use this backup to retrieve it in future.
What's working :
Boots
RIL (Calls, SMS, Data)
Fingerprint
Wi-Fi
Bluetooth
Camera
Camcorder
Video Playback
FM Radio
Audio
Sensors
Flash
LED
GPS
Volte
MTP
Usb tethering
Encryption
WFD
What's not working :
Camera green tint bug in low light
You tell me.
Flashing and updating
LineageOS clean install :
- Mandatory to flash 64bit recovery
- (Optional) Wipe the data & cache & system(Backup to make sure not to loose data)
- Flash the LineageOS ROM zip from the Recovery
- (Optional) Flash the GApps to have the Google Applications
- (Optional) Every additional zip you want to flash
- Reboot
LineageOS update / upgrade :
- Mandatory to flash 64bit recovery
- (Information) Don't wipe anything unless you want to
- Nothing to wipe when switching
- (FUTURE RELEASES) Might need clean, informations will be updated
- Flash the latest LineageOS ROM zip from the Recovery
- (Optional) Flash the GApps on first install / upgrade. Not required later, but do update sometimes
- (Optional) Every additional zip you want to flash
- Reboot
Downloads Links
LineageOS 17.x arm64(Unlocked Bootloader) :
Development : https://www.androidfilehost.com/?w=files&flid=303145
Google Applications (optional) :
OpenGapps : Link (Use packages for ARM64, Android 10.0)
Information : Flash the GApps before the first boot. If not, a clean flash is recommended.
Recovery Mandatory to flash for 64bits ROM :
Download Official TWRP : https://twrp.me/motorola/motorolamotog5.html​
About the builds
Device tree : https://github.com/Sohamlad7/android_device_motorola_cedric/commits/lineage-17.1
Kernel sources : https://github.com/Sohamlad7/android_kernel_motorola_msm8937/commits/lineage-17.1
Vendor blobs : https://github.com/Sohamlad7/android_vendor_motorola_cedric/commits/lineage-17.1​
Reporting Bugs
DO NOT Report bugs if you're running a custom kernel, third party apps or you installed Xposed
DO NOT Report bugs if you've modifies system files
If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
Code:
adb logcat > logcat.txt
Code:
adb shell dmesg > dmesg.txt
If it is a random reboot, grab kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
Code:
adb shell cat /sys/fs/pstore/console-ramoops
If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
Bug report should be done in following format provided in code below
Code:
What is your
LineageOS version:
LineageOS Download url:
Gapps version:
Did you
wipe:
restored with titanium backup:
reboot after having the issue:
Are you using--
a task killer:
a non-stock kernel:
other modifications:
Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:
Q&A - FAQ
LineageOS 17.0 arm64 Cedric Regular Questions and Answers : Q&A Thread​
Credits :
- The LineageOS Team
- Thanks to ROM that have been built on Legacy Server and also thanks to all the legacyserver member friends
- Special Thanks to @wzedlare @vache and @kubersharma without them it wouldn't have been possible for us to get Nougat,Oreo,Pie and now 10
- Thanks to @Theitfixer85 and @Jarl-Penguin for twrp
- Thanks to @m_vaisakh and @TeamMex for helping
- Thanks to @nonesovile96 @FelipeRizzon and @ADHILR
- Let me know if i missed anyone​
XDA:DevDB Information
LineageOS 17.1, ROM for the Moto G5
Contributors
CodeZero, m_vaisakh
ROM OS Version: Android 10
ROM Kernel: Linux 3.x
Based On: AOSP
Version Information
Status: Stable
Created 2019-12-14
Last Updated 2020-08-31
Changelog
Maintenance update only - 20/08/2020
Android-10.0.0_r41 Build (August security patch)
[*]Included all new changes from LineageOS.
12/06/2020
June Security Patch
[*]WFD Fixed (Updated to Q wfd blobs from daisy)
[*]Deleted camera.monotonic (this fixes video recording bug for some users)
[*]Set default size to 1GB swap on all variants
[*]Adjusted display power settings
[*]Many more kernel side changes for detailed changelog check kernel source thanks to @OmegaPrimus7
[*]LineageOS source side changes.
22/04/2020
LineageOS 17.1
[*]April Security Patch
[*]SElinux Enforced
[*]FM Radio Fixed
[*]Switched to common dtbtool
[*]Updated IMS symlinks for Q
[*]Downgraded widevine to 1.1
[*]Updated Thermal blobs from deen_sprout 10
[*]Updated GPS blobs from LA.UM.8.6.r1-02900-89xx.0
[*]Updated Radio - IMS blobs form LA.UM.8.6.r1-02600-89xx.0
[*]Updated Peripheral from deen_sprout 10
[*]LineageOS source side changes.
[*]Removed unneeded camera blobs
14/12/2019 - Initial Release
m_vaisakh build :- 12/01/2020
LineageOS 17.1
[*]January Security Patch
[*]LineageOS source side changes.
Note :-
Don't Update Google Chrome(Green Tint issue in latest version, if you guys want to use chrome use older version or use any other browser.
Current local manifest of the ROM build
Code:
<!-- https://github.com/Sohamlad7/android_development_manifest/blob/local_manifests/lineage-17.1.xml -->
Thank You !
Does magisk work on this Rom?
zitronenmelissa said:
Thank You !
Does magisk work on this Rom?
Click to expand...
Click to collapse
yeah it does work
Thank you @CodeZero for all the time and effort you have contributed to this device!
How's the camera functioning? All prior (post-Nougat) issues resolved or present in all their glory?
rahimali said:
Thank you @CodeZero for all the time and effort you have contributed to this device!
How's the camera functioning? All prior (post-Nougat) issues resolved or present in all their glory?
Click to expand...
Click to collapse
well about camera it's same like pie . it's working fine tho for me no issues till now
thank you very much for the rom CodeZero it is good to know that someone like you continues to build more and more this device, we expect new updates and security patches I love you crack
Today I will try it, I just hope that camera work fine.
Thanks in advance for support this old device.
It works everything for me, except audio: I got no audio(multimedia nor notifcation). Any ideas?
I had stock android before clean install Lineage OS 17, I haven't modified anything else (no third party apps nor gapps).
I have to say I am coming from this issue https://forum.xda-developers.com/g5/help/stuck-bootloops-stock-roms-ive-tried-t3995969 , and trying out LineageOS for the first time out of curiosity. And apparently the phone is more stable with this LineageOS 17 than stock rom (I have almost no reboots). But audio worked with stock rom.
Edit: No audio even with earpods.
Hi
Once again this is a great ROM thanks to Code zero. Unfortunately the ROM does not boot up setupwizard when it is first run so I cannot restore settings and apps. Just wondering how I can force setup wizard to run again so I can get my stuff back?
GrizzlyBear45 said:
It works everything for me, except audio: I got no audio(multimedia nor notifcation). Any ideas?
I had stock android before clean install Lineage OS 17, I haven't modified anything else (no third party apps nor gapps).
I have to say I am coming from this issue https://forum.xda-developers.com/g5/help/stuck-bootloops-stock-roms-ive-tried-t3995969 , and trying out LineageOS for the first time out of curiosity. And apparently the phone is more stable with this LineageOS 17 than stock rom (I have almost no reboots). But audio worked with stock rom.
Edit: No audio even with earpods.
Click to expand...
Click to collapse
The truth is that I am using this rom of lineage os 17 as a daily rom I would say that your fault comes from your terminal since my audio works in both headphones and notifications, the only error I see in this rom is in some applications that close alone from the rest 10/10
oh and another bug is in the chrome browser that doesn't play videos it gets damaged
note: this is fixed using another browser
Magisk
Doesn't appear to like Magisk V.10.1 - V.19.1 installs fine!
My mistake; should read doesn't like Magisk V.20.1 - V.19.1 installs OK
After reinstalling over Lineage 16.0 all is working just great including Magisk 20.1
Many thanks to you Code Zero
Alejandro miranda said:
The truth is that I am using this rom of lineage os 17 as a daily rom I would say that your fault comes from your terminal since my audio works in both headphones and notifications, the only error I see in this rom is in some applications that close alone from the rest 10/10
oh and another bug is in the chrome browser that doesn't play videos it gets damaged
note: this is fixed using another browser
Click to expand...
Click to collapse
for chrome you need use the older version of it
manxexile said:
Doesn't appear to like Magisk V.10.1 - V.19.1 installs finw!
Click to expand...
Click to collapse
try installing v20.1 it's working fine for me
CodeZero said:
for chrome you need use the older version of it
Click to expand...
Click to collapse
thank you very much codezero we just hope that in the next patch security will fix that and fix the lienage launcher since sometimes with the gestures it stops, and optimizes it more in battery
Chrome Version
For anyone who is having issues with Chrome, I went trough a couple versions of it, and I think this is the latest release that has no video playback issues: https://www.apkmirror.com/apk/google-inc/chrome/chrome-71-0-3578-98-release/
2 hours of test and I'm in love.
Excellent work, I don't have any bug.
We appreciate your fantastic work.
Can someone post some pictures for me to have a look?
I'm in doubt, can I install even though this 'SELinux is permissive' bug is safe?
Has anyone that had camera problems in Pie tried this ROM? Is camera fixed here?
I'm on LOS16 and camera doesn't work (green tint, crashes,etc)
Thanks for your work @CodeZero! Amazing as always!
Darkyuuki said:
Can someone post some pictures for me to have a look?
I'm in doubt, can I install even though this 'SELinux is permissive' bug is safe?
Click to expand...
Click to collapse
Google/YouTube lineageos 17 - I'm sure you'll find tones of pictures and videos of it on devices (it will look the same on any device)
Also Google what SElinux is - basically you cannot encrypt your device & any security service/app that requires it to be enforcing will not work

[ROM] [Android 10] [Stable] (AOSP) Android Open Source Project | android-10.0.0_r29

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Disclaimer:
Code:
Flash this rom at your own risk. I will not be held responsible
if anything goes wrong because you did not follow the instructions as
I mentioned or flashed mods over this rom!
This is Pure Stock AOSP ROM and I will not be adding features to this rom!
This rom was intended to be feature less and gives you a smooth and fresh stock AOSP experience
on your cedric
Bugs:
Code:
* Camera Green tint bug (that happens in low light)
* Rest everything is working!
Downloads:
Downloads are Available on my Sourceforge Builds Page
Installation:
Make sure you are on the latest oreo firmware
1. Unlock your bootloader (If you are new to this, make sure you take a backup of everything)
2. Install TWRP
Optional: Take a backup of everything (Internal Storage, photos, media etc.)
3. Wipe data/Factory Reset
4. Tap on Install, navigate to wherever the ROM zip is stored
5. Tap on the zip and slide to flash
Optional: Flash GApps if needed.
6. Reboot and Enjoy!
Bug Reporting:
Bug reports without logs will be ignored. Attach proper logs with pointing out the proper bug!
Kernel Source Code: CodeZero's Git​
XDA:DevDB Information
Android Open Source Project, ROM for the Moto G5
Contributors
m_vaisakh, Sohamlad7
Source Code: [url]https://android.googlesource.com/[/URL]
Kernel Source Code: CodeZero's Git
ROM OS Version: Android 10
ROM Kernel: Linux 3.x
ROM Firmware Required: Oreo Firmware
Based On: AOSP
Version Information
Status: Stable
Created 2019-12-18
Last Updated 2020-02-08
m_vaisakh said:
Vaisakh Murali:
Actually I've come to a decision, I feel like I should stop android development
It's just that for the past few days I've been away from android mostly, and it felt pretty good
I guess its time for me to be a user
Or a tester perhaps
I'm taking a break from android development, I'm really sorry to give you all hopes for Android 11 from my side. But I want to focus on my studies more. I spend too much time on android discussions and bug fixes
I hope you guys can understand
Click to expand...
Click to collapse
(from Telegram)
Tl;dr: No more updates for this./This is discontinued.
(Try out my MintOS! It is an mix of AOSP and LineageOS)
Build Instructions:
Make Sure you have setup your build system according to Android Guidelines, if not, official way to do so can found here. There are certain specifications to be met before you can build aosp, make sure you have enough specifications on your computer!
Also you have to setup repo tool from google
Code:
# Prepare folder to setup repo tool
$ mkdir ~/.bin
$ PATH=~/.bin:$PATH
# Downloading and setting up permissions for repo tool to work (You require python for repo tool to work!)
$ curl [url]https://storage.googleapis.com/git-repo-downloads/repo[/url] > ~/.bin/repo
$ chmod a+x ~/.bin/repo
Initialise AOSP Source Code from your favourite source (Here, aosp is being used.)
Code:
# Make sure you sync the code in a directory other than your home directory
$ mkdir ~/aosp
$ cd ~/aosp/
# Initialise the AOSP source code (Warning the code is several hundred gigabytes large!)
$ repo init [url]https://android.googlesource.com/platform/manifest[/url] -b android-10.0.0_r20 --depth=1
Clone my manifests, for both proper build system and device specfic requirements.
Code:
$ git clone [url]https://github.com/mvaisakh/aosp_cedric_local_manifest[/url] -b android-10 .repo/local_manifests/
Now to syncing! (This might take several hours depending on your internet connection speed!)
Code:
$ repo sync -c --no-tags --no-clone-bundle -j$(nproc --all)
Building AOSP for cedric! (This will take a while to build, depending upon your specifications.)
Code:
$ . build/envsetup.sh
$ lunch aosp_cedric-userdebug
$ mka bacon
After the Build succeeds, your rom zip will be found at:
Code:
~/aosp/out/target/product/cedric/
Flash and Enjoy!
NOTE: My device tree can be used to build other roms too! Just use the cedric.xml from my local manifest and modify device tree according to your rom and enjoy!
NOTE 2: I will not help with build errors that you might face with building, there are many guides and resources on the internet for doing that. Please keep the thread clean and void of such posts!
Releases
8th January 2020
Changelog:
* January Security Patch.
* Based on tag android-10.0.0_r25.
* Added theming (was removed by Google in android-10.0.0_r14).
* New and Amazing Fonts.
* Customisation is available in Settings > Display
* Improved Dark Theme.
* Improved Launcher & UI speeds!
* Fixed video recorder crash.
Download: https://sourceforge.net/projects/mv...-QQ1D.200105.002-20200108.033922.zip/download
6th February 2020
? Changelog:
• February security patch
• Massive theming from DerpFest, you can find it by tap and holding on the launcher home > Styles and Wallpaper.
• Enforced SELinux Build.
• Enable TypeFace Clock (Lockscreen Clock customisations)
• Improved Scrolling Cache
• Screen densities can be set to lower sizes.
• Loads of Fonts to choose from.
• A fresh new wallpaper
• WFD fix applied (untested)
Do not report bugs without proper logs.
Download: https://sourceforge.net/projects/mv...-QQ1D.200205.002-20200206.062144.zip/download
24th April 2020
? Changelog:
Platform specific:
* April Security Patch
* New fonts to choose from (some might not work, sorry for that, will remove with next update)
* Change primary colours
* More accents
* MicroG support
* Signature spoofing
* Removed unused videos from Framework
* Updated all animations from Pixel 4
* Optimised Android Runtime (Smoother than ever before)
* Better scrolling
Device specific:
* Use QCOM Surfaceflinger
* Eva EAS+ 3.0 as default kernel
* EAS Fine tuning for both better battery and performance!
* Safetynet Passes by default
* Switched to common dtb tool
* Network settings v2
* Display Colour Calibration
Download:
https://sourceforge.net/projects/mv...-QQ2A.200405.005-20200424.060707.zip/download
7th May 2020
? Changelog
Platform specific:
* Security Patch Bump
* May Security patch
Device specific:
* Eva EAS+ 1.2 as default kernel
Download: https://sourceforge.net/projects/mv...2A.200501.001.B3-20200506.204702.zip/download
14th June 2020
? Changelog:
Platform specific:
* Security Patch Bump
* June Security patch
Device specific:
* Fixed WiFi Display (screen mirroring), thanks to @CodeZero
* Kernel Security and Performance fixes from @OmegaPrimus7
Download: https://sourceforge.net/projects/mv...3A.200605.002.A1-20200613.153520.zip/download
9th August 2020
? Changelog:
• August security patch
• Kernel upgraded to Eva EAS+ v1.3
• Kernel compiled with GCC 10 for optimal performance
Download: https://sourceforge.net/projects/mv...-QQ3A.200805.001-20200808.184024.zip/download
Like my work?
Hit thanks button.
If you want to donate, please donate to a noble causes like UNESCO, and Environment Fund.
Is it the same as lineage 17 or is it another rom? Do you require arm64?
Alejandro miranda said:
Is it the same as lineage 17 or is it another rom? Do you require arm64?
Click to expand...
Click to collapse
It is another rom, Lineage has some amount of customisations, this one doesn't. Only aimed on stability and smoothness.
Yes, all ROMs since Oreo are arm64
The Moto g5 Cedric it did not come with support for Project Treble Official, if I install TWRP with Project Treble, will this ROM work and others too?
Darkyuuki said:
The Moto g5 Cedric it did not come with support for Project Treble Official, if I install TWRP with Project Treble, will this ROM work and others too?
Click to expand...
Click to collapse
this twrp from JarlPenguin: https://github.com/JarlPenguin/releases/releases/twrp3.3.1-3-cedric/
It has 32/64 bit & treble support, but it can also flash "normal" roms
I use this rom, very fast & responsive :good:
GApps
Please, i would like know more about Gapps for this rom?
What kind ? Only arm64 android 9 is available on opengapps.org. .
Thanks a lot.
morcego.surf said:
Please, i would like know more about Gapps for this rom?
What kind ? Only arm64 android 9 is available on opengapps.org. .
Thanks a lot.
Click to expand...
Click to collapse
You can use bitgapps, or other Q compatible gapps. If you use minimal gapps, they'll be limited to play store. Some modified gapps and theming support is available on the Cedric Telegram Chat.
m_vaisakh said:
It is another rom, Lineage has some amount of customisations, this one doesn't. Only aimed on stability and smoothness.
Yes, all ROMs since Oreo are arm64
Click to expand...
Click to collapse
the truth is I am left with lineage is 17 because this "ROM" is very good but when installing all the Google apps from the play store when the bootloader does not pass, and it is a bug that they have to fix, this is like android Q stock
@m_vaisakh What bugs does this ROM have?
Is she already at the flash point and?
Sorry for English because I'm using a translator.
Darkyuuki said:
@m_vaisakh What bugs does this ROM have?
Is she already at the flash point and?
Sorry for English because I'm using a translator.
Click to expand...
Click to collapse
Well, I have tested this stock Android 10 ROM, the truth is very fluid and that, but it has the same lineage errors as the Chrome videos and the camera, although here the launcher is more optimized than lineage, but I am left with lineage because it's bring more customizations it's not bring any of that, this is clean android stock, but it's ok
Alejandro miranda said:
Well, I have tested this stock Android 10 ROM, the truth is very fluid and that, but it has the same lineage errors as the Chrome videos and the camera, although here the launcher is more optimized than lineage, but I am left with lineage because it's bring more customizations it's not bring any of that, this is clean android stock, but it's ok
Click to expand...
Click to collapse
Thank you for answering my questions.
If anyone's interested, they can use my Eva Kernel EAS version and tell me how it feels to use it with AOSP.
m_vaisakh said:
If anyone's interested, they can use my Eva Kernel EAS version and tell me how it feels to use it with AOSP.
Click to expand...
Click to collapse
I will try to see, although once installed and consumed a lot of energy, a question! When will you get another update of this project? Will it be for ota?
Alejandro miranda said:
I will try to see, although once installed and consumed a lot of energy, a question! When will you get another update of this project? Will it be for ota?
Click to expand...
Click to collapse
Yes, this project will be maintained and receive monthly updates. About ota, I'll take it into consideration and will look into it when i have time.
m_vaisakh said:
Yes, this project will be maintained and receive monthly updates. About ota, I'll take it into consideration and will look into it when i have time.
Click to expand...
Click to collapse
thank you very much, I'll keep this one for now everything is fine
Can anyone confirm if Pokemon Go is working on this ROM without Magisk please? App says not compatible on Lineage 17. This is my sons phone so I really don't want to root it.
audinswfc said:
Can anyone confirm if Pokemon Go is working on this ROM without Magisk please? App says not compatible on Lineage 17. This is my sons phone so I really don't want to root it.
Click to expand...
Click to collapse
If it doesn't work on Lineage, it won't work on this. What module does it require?
m_vaisakh said:
If it doesn't work on Lineage, it won't work on this. What module does it require?
Click to expand...
Click to collapse
Well on my own device (Xiaomi Redmi Note 7, Pixel Experience 10 ROM) Pokemon Go doesn't work unless I flash Magisk and then use Magisk hide on it. However on my sons Moto G5 I have tried Lineage and even with Magisk and Magisk hide enabled Pokemon Go doesn't work unless I manually open Magisk Manager first, which I can't have him doing he's only 9 and he's going to cause some damage to his device if i'm not careful. Really don't want to go back to stock as it's awful on Moto G5. Was previously using Pixel Experience but as they've stopped developing it I wanted to try something more current. Also I found that Pixel Experience took up too much space leaving him not a lot of room for apps.
I'll just keep trying different ROMs.

[ROM][OFFICIAL][montana][10] LineageOS 17.1

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
Base source code is available in the LineageOS Github repo. And if you would like to contribute to the project, please visit our Gerrit Code Review.
Instructions:
Download the latest build, official TWRP (3.3.1 and newer) and GApps (if you need them)
Flash the downloaded TWRP via fastboot
Boot to recovery
Format system, vendor, data, cache, and dalvik cache
Reboot to recovery
Flash the latest build
Flash GApps and any other necessary add-ons
What's working:
WiFi
Camera and Camcorder
Bluetooth
NFC
Fingerprint - Oreo firmware required
GPS
OTG
Video Playback
Audio
RIL
VoLTE/VoWiFi
USB tethering/audio
SELinux: Enforcing
Known issues:
You tell me
Downloads:
Official builds: Download
Recovery: Official TWRP
Google Apps: OpenGApps (nano package is advisable, but you definitely should avoid using stock/super packages)
Reporting Bugs
All bugs should be reported here: Issue Tracker
DO NOT Report bugs if you're running a custom kernel or you installed Xposed
Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.
Code:
What is your--
LineageOS version:
LineageOS Download url:
Gapps version:
Did you--
wipe:
restore with titanium backup:
reboot after having the issue:
Are you using--
a task killer:
a non-stock kernel:
other modifications:
Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:
Thanks to:
@GivFNZ for testing my builds
@wiktorek140, @karthick mostwanted, @wh0dat, @KalilDev, @AsD Monio, @GoldeneyeS2, @Steve Mathew Joy and @rajatgupta1998 for their hard work on our device sources
LineageOS team
Changelogs:
Code:
2020-11-19:
Updated kernel based on Moto's Moto One (deen) QPKS30.54-12-23 tag and CAF's LA.UM.8.6.r1-05300-89xx.0 tag
Updated Moto Actions UI
Improved boot animation speed and smoothness
Partially resolved perf HAL spam in logs
2020-11-15:
Added support for montana_retcn (XT1799-2)
Fixed a bug where the back flash wouldn't work properly when taking a photo using Snap
Fixed a bug where loudspeakers would crackle on some VoIP calls
Improved RIL stability
Improved Wi-Fi stability
Increased ZRAM to 1.33GB
Updated kernel based on Moto's Moto One (deen) QPKS30.54-12-22 tag and CAF's LA.UM.8.6.r1-04700-89xx.0 tag
Updated Moto Actions UI
November security patch
2020-10-11:
Added customizable vibration intensity in Settings > Accessibility
New FM radio app
Added support for factory reset protection (only partially effective)
Fixed boot with SELinux: Enforcing on GSIs
October security patch
2020-09-23:
Minor improvements and under the hood changes (check technical changes for more details)
2020-09-20:
Improved GPS stability
Fixed an issue where there would be random UI lag
2020-09-17:
Fixed an issue where you couldn't exit from offline charging mode
2020-09-16:
Fixed offline charging
2020-09-15:
Actually fixed random color inversion that could occur (Note: Color calibration in LiveDisplay is no longer available as a result of fixing the bug)
Fixed bootloop when enabling secure startup
Fixed manual network selection
Fixed dual SIM menu not appearing - needs testing
Mobile data settings now only displays 3 modes (LTE, 3G and 2G)
September security patch
2020-09-11:
Fixed random color inversion that could occur
2020-09-10:
Fixed Wi-Fi Display
Updated listen blobs to Q
Added support for Color profiles (Settings > Display > Colors)
Fixed an issue where you couldn't connect to certain Wi-Fi networks
2020-09-08:
Initial release.
Source code:
Common device tree: https://github.com/LineageOS/android_device_motorola_msm8937-common
Device tree: https://github.com/LineageOS/android_device_motorola_montana
Kernel: https://github.com/LineageOS/android_kernel_motorola_msm8953
Reserved
Reserved
Nice job, thanks a lot for your working on it
Thanks Jarl for keeping montana alive!
:good:
New build is up. Check OP for changelog. Downloads as always are in the OP, but you may update via the Updater app if you wish. Happy flashing! :fingers-crossed:
Just flashed it, working very fine, thanks a lot.
A minor bug I can't explain : some of the menus stay in English even if I select another language.
Will moto actions be add?
Everything else working fine
Random color inversion. Flashed last build
does this and lineage os 16 need something apart from oreo firmware? because i tried both with all twrp versions available and when rebooting after flashing zip it just always send me to the bootloader.
i have model xt1790
before i was on carbon rom and was working fine so i dont know what is wrong here, also tried lineage os from AsD Monio and works fine just the initial setup a bit buggy
recovery log: https://pastebin.com/Y0GjaHtZ
logcat right after reboting to recovery after wiping all then flashing this rom: https://pastebin.com/mvVQ12Zb
janinetavs said:
Will moto actions be add?
Everything else working fine
Click to expand...
Click to collapse
Settings > System > Advanced
janinetavs said:
Random color inversion. Flashed last build
Click to expand...
Click to collapse
v1.2? Nobody has experienced random color inversion for that one.
rakion99 said:
does this and lineage os 16 need something apart from oreo firmware? because i tried both with all twrp versions available and when rebooting after flashing zip it just always send me to the bootloader.
i have model xt1790
before i was on carbon rom and was working fine so i dont know what is wrong here, also tried lineage os from AsD Monio and works fine just the initial setup a bit buggy
recovery log: https://pastebin.com/Y0GjaHtZ
logcat right after reboting to recovery after wiping all then flashing this rom: https://pastebin.com/mvVQ12Zb
Click to expand...
Click to collapse
No, but please make sure to use the latest TWRP version. You must also format data (not wipe). Also, recovery logs won't help due to them only showing what's happening in the recovery.
Just flashed v1.2 working also fine
One question though : on the Moto Camera v6.2 app the HDR option is no more visible (it was on latest Pie builds).
Edit : persistent even when installing via the Moto Camera Thread tutorial
JarlPenguin said:
No, but please make sure to use the latest TWRP version. You must also format data (not wipe). Also, recovery logs won't help due to them only showing what's happening in the recovery.
Click to expand...
Click to collapse
rn im on latest 3.4.0-1 and i tried both format and wipe, dirty flashing from the other los 17.1 and other rom just to test but all end in always booting to bootloader menu its weird never happened something similar and only happen with your lineageos 16 and 17.1 roms
rakion99 said:
rn im on latest 3.4.0-1 and i tried both format and wipe, dirty flashing from the other los 17.1 and other rom just to test but all end in always booting to bootloader menu its weird never happened something similar and only happen with your lineageos 16 and 17.1 roms
Click to expand...
Click to collapse
Do you have full Oreo firmware installed? Also can't do anything without logs
Dan Mornill said:
Just flashed v1.2 working also fine
One question though : on the Moto Camera v6.2 app the HDR option is no more visible (it was on latest Pie builds).
Edit : persistent even when installing via the Moto Camera Thread tutorial
Click to expand...
Click to collapse
It's because we use HAL3 now. Certain functions won't work because we use deen blobs instead of stock camera blobs
janinetavs said:
Will moto actions be add?
Everything else working fine
Click to expand...
Click to collapse
They already are?
Yes they are, you have to look in the right menu
JarlPenguin said:
Do you have full Oreo firmware installed? Also can't do anything without logs
Click to expand...
Click to collapse
i didn't remember but looks like i got a old one or a fix fingerprint zip most probably, took me a day to find a working link to full 8.1 and after 2 updates from ota i got M8937_37.13.03.75R baseband and now worked perfectly your rom thank you for keeping alive our moto g5s

[ROM][UNOFFICIAL][13.0.0][r11][i9100] LineageOS 20.0 [ALPHA]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
/*
** 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.
**
**/
About LineageOS
LineageOS is a free and open-source operating system for set-top boxes, smartphones and tablet computers, based on the Android mobile platform. It is the successor to the custom ROM CyanogenMod, from which it was forked in December 2016 when Cyanogen Inc. announced it was discontinuing development and shut down the infrastructure behind the project. Since Cyanogen Inc. retained the rights to the Cyanogen name, the project rebranded its fork as LineageOS.
LineageOS was officially launched on December 24, 2016, with the source code available on GitHub. Since that time, LineageOS development builds now cover more than 185 phone models with over 1.9 million active installs,having doubled its user base in the month February–March 2017 And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.
About Galaxy S2 running Android 13.0!
Hi everyone,
Welcome to my thread for i9100 (2011) running Android 13! Currently I'm not using my S2 as daily drive anymore since 3G is turned off. I used the phone primary for calling and WhatsApp but without 3G this isn't working for me. But nevertheless it didn't stopped me for porting Android 13 on this legendary phone.
Most of the work has been done by "LineageOS Ultra Legacy"-team. I don't know if this is the right teamname but someone added me in the Telegram group and they gave me some hints during development. Thanks guys! I was quite late starting porting this ROM and I was happy most BPF issues were already solved there. The i9100's kernel (still 3.0.101) needed some patches related to random=syscall and bpf in order to boot Android at all. That took a while to get it stable passing the factory i9100 splashscreen. From that point I could build LineageOS with the sources of "LineageOS Ultra Legacy"-team.
Credits
* LineageOS Ultra Legacy
* @html6405
* @ChronoMonochrome
* Shivaay
* @lee.wp14
* @ze7zez
* arco68
* Team Infusion
* LineageOS & CO (For Source Code)
* All the authors the last 10 years working on this legendary phone
* Last but not least @Concept48 which reviews custom ROMS from all kind of phones including my work on this ancient one
I hope I didn't miss someone, please let me know.
Source code:
https://www.github.com/lineageos
LineageOS-UL
LineageOS-UL has 39 repositories available. Follow their code on GitHub.
www.github.com
https://www.github.com/rinando
Current state:
Working:
- RIL (Phone/SMS)
- Audio
- Wifi
- IMEI
- Touchkeys
- Hardware encode/decoder
- Display
- DRM, for e.g. Netflix
- Selinux enforced
- Magisk v24.1
- Camera Videorecording
- Camera Pictures
- (A)GPS
- Bluetooth audio
Untested
- BitGapps (or any other Gapps packages if you dare )
- BLN
Working-ish/WIP:
- Sensors, sometimes works
- FM Radio (using Spirit2, sometimes it needs couple app starts)
Not working/known issues:
- PowerHAL
- LiveDisplay
- MicroG support
- Bluetooth headset not working
- Text is small in the launcher (and very slightly so in Settings?)
- Display Brightness does not work (Lights-HAL not working)
- Random crashes during usage
- Small dot in lock screen when password is not set, around the same location as a lock would be when a password is set
- No ambient display settings
- Camera preview is wide until first picture is taken
Won't fix:
- HDMI (MHL) (support broken/removed since CM 10)
How to install LineageOS 20.0
If you are familiar with the installation of custom ROMs than you probably already know what to do.
If you already have Lineage 19.1 running, just do a full clean install in TWRP and your good to go.
I personally still use the old TWRP 3.3.1-1 because TWRP 3.6.1 fails to make the Magisk enabled kernel file I create seperatly for every release.
For now please look for detailed instructions here to get LineageOS 19.1 running first.
How to apply Magisk-kernel on top of LineageOS 20.0
Normally you flash the Magisk.zip or install it with using the MagiskManager app. But our device is ancient and uses a deprecated partition/boot procedure. Magisk needs to update the ramdisk-image but that is integrated into the kernel-image (zImage). Therefore I created this seperate kernel-image (zImage-file) with the Magisk modified ramdisk-image.
Copy the Magisked kernel on the SD-card of your phone.
This is the second download-file in the download section ending with ...magisk_boot.img.
Reboot into recovery (TWRP)
In TWRP
Choose Install
Choose Install Image
Now you can select ...magisk_boot.img
Choose Boot
And flash it
Reboot into Android
Download Magisk from https://magiskmanager.com
If you download the .zip, rename it to .apk
Install the Magisk App in Android and follow its instructions
Downloads - LOS 20.0 Builds
Build #1 2022-10-18
Overall state: Random softboots/crash
Android build: 13.0.0-r8
Required recovery: TWRP 3.3.1-1
Downloads
lineage-20.0-20221017-UNOFFICIAL-i9100.zip (EDIT: Link updated!!)
lineage-20.0-20221017-UNOFFICIAL-i9100_magisk_24100_boot.img
Build #2 2022-11-07
Overall state: Better than Build #1.
Android build: 13.0.0-r11
Required recovery: TWRP 3.3.1-1
Changes:
- Fixed Bluetooth audio
- Camera is more reliable
- Fixed some crashes (related to lack of eBpf support in kernel)
Downloads
lineage-20.0-20221107-UNOFFICIAL-i9100 .zip
lineage-20.0-20221107-UNOFFICIAL-i9100_magisk_24100_boot .img
[RESERVED]
Wow, thank you for the hard work! Didn't expect to see android 13 on the s2, so this was a pleasant surprise, gonna keep me awake tonight. I got a second galaxy s2 a few days ago, so I will definitely try this out.
Unfortunately, it appears that the provided download of the rom is corrupted, attempting to flash it on the phone returns a ''zip file is corrupt error'' and on further inspection most files are missing from the zip compared to lineage os 19.1, 7zip also reports that the archive is corrupted while trying to extract it. I already tried downloading it three times just to be certain, no avail.
Maybe something is up with AFH, initially it says 506.2MB, then starts downloading 131MB?
MaRtYy01 said:
Maybe something is up with AFH, initially it says 506.2MB, then starts downloading 131MB?
Click to expand...
Click to collapse
I'm only getting 131MB out of 506MB of the zip file as well on Android File Host.
Also, congrats rlNanDo for keeping development alive for the i9100! I'm glad I have this phone just to see what's possible.
zpunout said:
I'm only getting 131MB out of 506MB of the zip file as well on Android File Host.
Also, congrats rlNanDo for keeping development alive for the i9100! I'm glad I have this phone just to see what's possible.
Click to expand...
Click to collapse
I see! Hmm that's strange. I'll try uploading it again.
Edit: It succeeds uploading, but when downloading it is still a portion of the actual file size of 506MB.... I will try uploading later the day.
Unbelievable.. I still can't upload. It now fails instead of a faulty success message after upload. Has anyone an idea to host roms besides androidfilehost?
Home - MEGA
Secure and private cloud storage for everyone. Store and share files, chat, meet, back up, sync, and more.
mega.io
maybe....
TheVoice70 said:
Home - MEGA
Secure and private cloud storage for everyone. Store and share files, chat, meet, back up, sync, and more.
mega.io
maybe....
Click to expand...
Click to collapse
Thanks! I uploaded the rom here:
506.17 MB file on MEGA
mega.nz
rINanDO said:
About Galaxy S2 running Android 13.0!
Hi everyone,
Click to expand...
Click to collapse
Thank you for long life famous subj.
Work well here.
Please, look at possibility to upload both installation files to Mega. Could not get androidfilehost since your announcement.
Just installed it on my S2! Seems to be running alright so far. Here are some bugs I'm facing right now.
Text is small in the launcher (and very slightly so in Settings?)
Brightness does not work
Bluetooth does not connect to headset (Pixel Buds A)
Cameras do not work
Getting random crashes during usage
Small dot in lock screen when password is not set, around the same location as a lock would be when a password is set
No ambient display settings
Camera preview is wide until first picture is taken
I'll update this list as I spot things on Build #1.
Awesome that Android 13 even runs on this thing! Amazing job to the whole team that brought this to life!
If this list seems critical, I really don't mean it that way. I just want to try help spot bugs
awesome work
has anyone already got gapps running with play store.
Please link to the working gapps, or post them now
the package.
I'm not good at English sorry
gapps running play store.
BiTGApps
Download URL : https://www.pling.com/p/1864360/
rINanDO said:
Code:
/*
** 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.
**
**/
About LineageOS
LineageOS is a free and open-source operating system for set-top boxes, smartphones and tablet computers, based on the Android mobile platform. It is the successor to the custom ROM CyanogenMod, from which it was forked in December 2016 when Cyanogen Inc. announced it was discontinuing development and shut down the infrastructure behind the project. Since Cyanogen Inc. retained the rights to the Cyanogen name, the project rebranded its fork as LineageOS.
LineageOS was officially launched on December 24, 2016, with the source code available on GitHub. Since that time, LineageOS development builds now cover more than 185 phone models with over 1.9 million active installs,having doubled its user base in the month February–March 2017 And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.
About Galaxy S2 running Android 13.0!
Hi everyone,
Welcome to my thread for i9100 (2011) running Android 13! Currently I'm not using my S2 as daily drive anymore since 3G is turned off. I used the phone primary for calling and WhatsApp but without 3G this isn't working for me. But nevertheless it didn't stopped me for porting Android 13 on this legendary phone.
Most of the work has been done by "LineageOS Ultra Legacy"-team. I don't know if this is the right teamname but someone added me in the Telegram group and they gave me some hints during development. Thanks guys! I was quite late starting porting this ROM and I was happy most BPF issues were already solved there. The i9100's kernel (still 3.0.101) needed some patches related to random=syscall and bpf in order to boot Android at all. That took a while to get it stable passing the factory i9100 splashscreen. From that point I could build LineageOS with the sources of "LineageOS Ultra Legacy"-team.
Credits
* LineageOS Ultra Legacy
* @html6405
* @ChronoMonochrome
* Shivaay
* @lee.wp14
* @ze7zez
* arco68
* Team Infusion
* LineageOS & CO (For Source Code)
* All the authors the last 10 years working on this legendary phone
* Last but not least @channel48 which reviews custom ROMS from all kind of phones including my work on this ancient one
I hope I didn't miss someone, please let me know.
Source code:
https://www.github.com/lineageos
LineageOS-UL
LineageOS-UL has 39 repositories available. Follow their code on GitHub.
www.github.com
https://www.github.com/rinando
Current state:
Working:
- RIL (Phone/SMS)
- Audio
- Wifi
- IMEI
- Touchkeys
- Hardware encode/decoder
- Display
- DRM, for e.g. Netflix
- Selinux enforced
- Magisk v24.1
- Camera Videorecording
- Camera Pictures
- (A)GPS
Untested
- Bluetooth (audio & headset)
- BitGapps (or any other Gapps packages if you dare )
- BLN
Working-ish/WIP:
- Sensors, sometimes works
- FM Radio (using Spirit2, sometimes it needs couple app starts)
Not working/known issues:
- PowerHAL
- LiveDisplay
- MicroG support
Won't fix:
- HDMI (MHL) (support broken/removed since CM 10)
How to install LineageOS 20.0
If you are familiar with the installation of custom ROMs than you probably already know what to do.
If you already have Lineage 19.1 running, just do a full clean install in TWRP and your good to go.
I personally still use the old TWRP 3.3.1-1 because TWRP 3.6.1 fails to make the Magisk enabled kernel file I create seperatly for every release.
For now please look for detailed instructions here to get LineageOS 19.1 running first.
How to apply Magisk-kernel on top of LineageOS 20.0
Normally you flash the Magisk.zip or install it with using the MagiskManager app. But our device is ancient and uses a deprecated partition/boot procedure. Magisk needs to update the ramdisk-image but that is integrated into the kernel-image (zImage). Therefore I created this seperate kernel-image (zImage-file) with the Magisk modified ramdisk-image.
Copy the Magisked kernel on the SD-card of your phone.
This is the second download-file in the download section ending with ...magisk_boot.img.
Reboot into recovery (TWRP)
In TWRP
Choose Install
Choose Install Image
Now you can select ...magisk_boot.img
Choose Boot
And flash it
Reboot into Android
Download Magisk from https://magiskmanager.com
If you download the .zip, rename it to .apk
Install the Magisk App in Android and follow its instructions
Downloads - LOS 20.0 Builds
Build #1 2022-10-18
Overall state: Ok I guess... It is still running idle for 14 hours now....
Android build: 13.0.0-r8
Required recovery: TWRP 3.3.1-1
Downloads
lineage-20.0-20221017-UNOFFICIAL-i9100.zip (EDIT: Link updated!!)
lineage-20.0-20221017-UNOFFICIAL-i9100_magisk_24100_boot.img
Click to expand...
Click to collapse
My Hero is back !!!!
I think its very smooth , but I think button navigation is better because pressing Home button brings a reboot of the device , on buttons its just fine,.
zpunout said:
I'm only getting 131MB out of 506MB of the zip file as well on Android File Host.
Also, congrats rlNanDo for keeping development alive for the i9100! I'm glad I have this phone just to see what's possible.
Click to expand...
Click to collapse
my phone got stuck into endless bootloop and it never allows me to enter recvover mode even proper keys were pressed? please help me bro
mohsha7861269 said:
my phone got stuck into endless bootloop and it never allows me to enter recvover mode even proper keys were pressed? please help me bro
Click to expand...
Click to collapse
Which zip file did you download and try to install? The incomplete one from Android File Host? Or the one from Mega Uploads mentioned above?
zpunout said:
Which zip file did you download and try to install? The incomplete one from Android File Host? Or the one from Mega Uploads mentioned above?
Click to expand...
Click to collapse
I think he never followed the Upgrade procedure from 6-7 flashing PIT .. the kernels etc ..
rINanDO said:
(... I don't know if this is the right teamname but someone added me in the Telegram group and they gave me some hints during development. (...)
Click to expand...
Click to collapse
Has no university nominated you for an honoris causa doctor?
This is a huge omission. We need to do something about it.
ze7zez said:
Has no university nominated you for an honoris causa doctor?
This is a huge omission. We need to do something about it.
Click to expand...
Click to collapse
He got the Title Dr Rinando at least on my Channel

Categories

Resources