yashsingh1/xdaforums huggingface dataset:
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] nightmw:
Hi, which twrp did you try? You might want to use the twrp64 as this LOS17.1-build is a 64 Bit
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] fwiep:
Thanks for the reply. I used twrp-3.4.0-0-ali, downloaded from the official download page.

Is there a special download page for 64bit TWRP?

Kind regards,

FWieP
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] fwiep:
Once again: thank you all. I downloaded the mali.img and booted TWRP from it.

Then, I flashed the new LineageOS 17.1 and OpenGapps - without any problems, warnings or errors.

If there is no way to flash TWRP into the recovery partition permanently, I can live with that.

Most important thing is, I can flash the system partition when needed.

Hope to see more of your work!

Kind regards,

FWieP
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] fwiep:
Having flashed this ROM a few days ago, I find it nearly perfect. Nearly :)

the October 2020 security patches are available from LineageOS; can they be included?

Would it be possible for you to share your kernel (link to source) and roomservice.xml?

I would like to try and build the ROM myself. Perhaps contribute, at least providing a mirror for the ROM files?

If not you (@BetoxxDios), perhaps the other contributors (@Electimon, [MENTION=8261427]abhishek_d9[/MENTION], [MENTION=9466600]jeangraff30[/MENTION]) ?

Thanks!

Kind regards,

FWieP
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] whats-in-a-name:
failed to load kernel!

On my XT1925-5 I have flashed this rom serveral times, no errors, but it fails to boot.

When I restore the backup, I'm on stock again...

After installing twrp (mali.img) I did format data, reboot onto twrp, wipe, install etc.

Still it will boot only to fastboot: failed to load kernel!

Any suggestions?
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] fwiep:
Close, but no cigar - yet

Thanks [MENTION=8626100]BetoxxDios[/MENTION] for providing the links to kernel, device and vendor trees in a private message.

After expanding the RAM of my machine to 16GB and some very educational experiments, the build finally succeeded.

TWRP flashed the ROM without any errors. Yeah!

Then the first reboot. I know that this usually takes a long time - say, 5 minutes. I've left it booting for more than 4 hours, but it doesn't get past the bootanimation. :(

Can anyone help me in solving this piece of the puzzle? Are there any logs I can get at while the phone is not yet adb-ready? What does LineageOS do while booting for the first time?

Thanks and kind regards,

FWieP

P.S. For the moment, I've flashed [MENTION=8626100]BetoxxDios[/MENTION]' original ROM. It's better (and safer) than Motorola's stock firmware.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] fwiep:
Thanks for the tip.

I'm afraid this is another issue - I haven't flashed any Gapps with my ROM (yet), and have never even used Magisk before.
[MENTION=8626100]BetoxxDios[/MENTION] has shown me a way to get logfiles during boot: build an -eng variant instead of -user or -userdebug.

Now, we're investigating what's going wrong. To be continued!

Kind regards,

FWieP
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] fwiep:
Up until today, I thought this wouldn't work. When doing so, fastboot would say:

writing 'recovery'...
(bootloader) Image not signed or corrupt

And thus, I thought it had not flashed at all.

Today, I read elsewhere on this forum, to simply ignore this message and check whether it flashed. It actually has!

So, thank you, once again :)

Kind regards,

FWieP

---------- Post added at 17:22 ---------- Previous post was at 17:08 ----------

And continue it does.

Right from the start, while building this ROM, I got an error about an undefined shared library: libqsap_sdk in /device/motorola/ali/libshims/Android.mk.

I saw it was in a section marked "optional", so I commented it out. And the build succeeded. Yes! After flashing, I got the looping boot-animation. D'oh!

But then, while trying to build another ROM (Resurrection Remix OS 8.6.3 by [MENTION=8261427]abhishek_d9[/MENTION]), I got the same error.

I again commented the section out, built the ROM successfully, but got the same looping boot-animation after flashing.

So, XDA to the rescue: I found this post which explains to include '/system/qcom' from LineageOS to get that libqsap_sdk included. I've added it to my roomservice.xml and have started another build. It looks very promising.

Maybe case solved? I'll let you know.

Update

Close, but no cigar. The looping boot-animation still persists. I'll investigate further...

Kind regards,

FWieP
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] whats-in-a-name:
I bought a new phone, also XT1925-5 and unlocked. But also here, I get the same error:

failed to load kernel!

Stock Android was 8.0 and this rom is 10. could that be a problem?
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] whats-in-a-name:
Solved 'kernel not found'

I used Motorola Rescue and Smart Assistant Tool

First of all I restored the phone by using the rescue_and_smart_assistant and installed Android 9

Then I used: fastboot boot mali.img

In TWRP, I removed encryption by installing: Force_Encryption_Disabler_For_ALI_Oreo_v2.zip

Wipe, the standard wipe (factory reset) + Format data

Then reboot to bootloader, and again load TWRP: fastboot boot mali.img

Wipe again and install the system (lineage-17.1-20201001-UNOFFICIAL-ali.zip)

install Magisk

Wipe cache and Dalvik

reboot into system
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] ccic2491:
I tried all of that and keep getting "updater process ended with ERROR: 255 Error installing zip file...." Any way to fix this issue? I'm on XT1925-6 32gb.

Never mind, I had the wrong TWRP installed like a dope.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] masterbi:
I installed the ROM following your instructions and other sources:

- unlocked the bootloader

- flashed the unofficial TWRP recovery for the moto g6 ali (https://xdaforums.com/t/twrp-unofficial-twrp-64-bit-for-ali.4093879/)

- wiped system, data, cache and dalvik, my device has no vendor partition though

- flashed your Lineage Rom

- flashed the most recent GAPPS, for Android 10, arm 64, stock

Then rebooting the phone will just end up in an infinite boot animation.

Doing it all over without the gapps and the phone boots just fine. So it seems that the gapps installation is somehow causing the trouble. I tried many different gapps packages, but all without any success.

Could you provide a link to a gapp package that is known to work with your ROM?

Thanks in advance!
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] fwiep:
Hi,

Thanks to @BetoxxDios pointers, I finally managed to build a recent LineageOS 17.1 for the ali-device. It has (at least) three things that bother me:

the microphone level goes down to almost-zero when a call is on loudspeaker

the Wifi-MAC address is set to a (possibly) generic 00:0a:f5 prefix

the build fingerprint still says the phone is a Google Pixel device (walleye)

I have tried to fix them, but failed.

I've copied over the audio-related xml-files from ResurrectionRemixOS to my /device/motorola/ali folder, and overwrote the files that were there. But the volume is still extremely low when the call is on speaker.

Can someone help me solve these puzzles? At least the first one listed above?

Thanks,

FWieP
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] TheShanMan:
After installing LOS onto a G7, I'd now like to go from a twrp'ed and rooted stock 8.0 G6 to LOS, and have some questions:

Since the G6 isn't up to date with updates, should I fully update it before installing LOS (I think that ensures I'm up to date with firmware???)?

If I want to return to stock due to possible problems, will that be possible since it would be a downgrade of Android from 10 to 9 (I think downgrading is generally not possible, but perhaps that only applies when downgrading between 2 versions of stock Android)?

What makes this "unofficial", i.e. why isn't it listed on the LOS devices page (though the G6 Plus is)?

Any issues with using microG or magisk?

I don't mind a little experimentation because this isn't currently a daily driver phone, but my goal is to de-google my whole family so my goal is to make it a daily driver for another family member as soon as possible.

If the only notable problem with this ROM is no moto fingerprint gestures, then I'll be happy because I never used those anyway!

Thanks for supporting the G6!!!
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] fwiep:
Hi, I'll try to answer to the best of my abilities.

You shouldn't have to update to latest stock before installing LOS (or any custom ROM).

I've downgraded my G6 (and Huawei Y550) many times from a custom ROM to stock without problems. After that, I could reinstall another or self-built ROM.

Official means that there's at least one developer that has contacted LineageOS (or any ROM community officials) and claimed to support the device for an extended period of time. This means putting time and effort in maintenance and support, including implementing the monthly security patches. Sometimes this means that developer has access to the community's infrastructure (build systems, file hosting, wiki).

Unofficial means that no-one has made such a commitment (yet). Personally, I build unofficial LOS14.1 for the Huawei Y550.

I have no experience with both. My devices are not rooted. I do use OpenGApps, though.

Hope this helps, kind regards,

FWieP
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] TheShanMan:
Helps a lot. Thank you! If anyone else can answer the question about microG or magisk, that would help. Don't imagine there would be an issue but that's important to me.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] :
I don't know about this ROM explicitly, but LineageOS does not

support any of those. This is why it is important to me that my devices get official support in LineageOS, because automatically I get Lineage OS for MicroG builds. Being said this, in my experience, you can modify the OS with Nanolx and Magisk installers or even only using Magisk + a microG systemless extension.

As you say you can experiment a bit I would assume the most recent Magisk release is compatible with Lineage OS 17.1. Once you flash it, install the most up-to-date microG extension and... you will probably be fine. IF the MicroG extension NEEDS Signature Spoofing support in the system, just go to Nanolx website, download their Signature Spoofing Patcher zip (it is called NanoDroid-patcher), flash it using TWRP and you are good to go.
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] TheShanMan:
Yeah, my new phone is a G7 so I went with Lineage for microG plus magisk, and I do understand that lineage doesn't support microG or magisk. Thanks for the input, and good timing on your reply because I was about to proceed anyway!
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] TheShanMan:
First I was getting error 255, and realized I had to install the 64 bit twrp after rereading this thread. Then I was getting kernel not found so I installed the encryption disabler. I'm still getting it though. I was running stock android 8.0.0. Do I need to upgrade to stock 9 via the motorola tool before LOS will install successfully? If so, why? And if not, what could still be going wrong if I otherwise followed the above steps?

Also, when I go to motorola's G6 support page and navigate to the tool, it tells me it's not compatible with the G6. Huh?
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] TheShanMan:
Rescuing to Android 9 was definitely the missing link. I've got LOS booting. Next up: microG and magisk. Glad this thread exists and those who have gone before me have shared their experiences which enabled me to get through this! :)
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] TheShanMan:
Flashed magisk, NanoDroid-patcher (definitely required on the G6), NanoDroid-microG, and NanoDroid-fdroid. Then I found that a bunch of the microG self checks were failing. I had to grant spoofing through Apps and Notifications -> Permission Manager -> Additional Permissions -> Signature Spoofing and "show system". Added Signature Spoofing Support, microG Services Core, and FakeStore. Once each of those were added, all the microG self checks passed. Hope this helps someone who comes after me! And thanks again to all the good info here.

EDIT: I'm noticing some basic differences between 17.1 on my G7 and 17.1 on my G6. Most notably, on my G7 I can individually hide notifications from the lock screen, but on my G6 the option isn't there (and I really wish it was). Since that's certainly more of an android feature than a phone model feature, why would there be differences like that?
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] ronaldvalles1806:
This rom applies to moto g6 version XT1925-13 of 4g of ram?
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Uclydde:
Could you provide a link to the kernel source that was used to build this rom? Or is it here: https://github.com/LineageOS/android_kernel_motorola_msm8953
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] android__fan:
would this rom support xt1925-6 ?
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] android__fan:
are there (eventual) plans to make this image official?

Submitting a port | LineageOS Wiki

wiki.lineageos.org
[Moto G6 ROMs, Kernels, Recoveries, & Other Develop] Rassamah:
how to reduce the minimum volume of speech speaker?
[Samsung Galaxy A71 Guides, News, & Discussion] ShaDisNX255:
-reserved1-
[Samsung Galaxy A71 Guides, News, & Discussion] ShaDisNX255:
-reserved2-
[Samsung Galaxy A71 Guides, News, & Discussion] ShaDisNX255:
-reserved3-
[Samsung Galaxy A71 Guides, News, & Discussion] ShaDisNX255:
If you guys have done any edits, let me know so I can add them and we can keep them all in the same thread ;)
[Samsung Galaxy A71 Guides, News, & Discussion] S1rKekSias:
Nice to see someone doing these mods!

Is there any way to enable system blur in our A71? I mean blur in app drawer, folders, recents, blur options in goodlock etc.
[Samsung Galaxy A71 Guides, News, & Discussion] ShaDisNX255:
Native blur. It may be possible, probably will need to swap out some libs and quite possibly have to port flagship firmware.

It'll take me quite a while before I can port something like an S20 ROM, because system works a little differently.

Who knows, will try sometime in the future.
[Samsung Galaxy A71 Guides, News, & Discussion] S1rKekSias:
Thanks for your effort and wish you good luck with your projects! I'll try your mods or rom in the near future.

Edit: I don't think you need to port a flagship fw, e.g. A90 isn't a flagship but it has native blur because of snap 855. Samsung just didn't add it for A71 because of "performance" but I doubt it'll be a problem for snap 730.
[Samsung Galaxy A71 Guides, News, & Discussion] ShaDisNX255:
Well, what I meant to say actually is that I would need to port a ROM from a device that already has blur, like of course you mentioned the A90.

This is because sometimes, blur is not just dependent on libs, it also depends on certain framework methods

Samsung is known to completely rip them out of mid-range devices, so it's likely that A71's stock framework has it disabled by default and I would need to completely port the system from another device with blur.
[Samsung Galaxy A71 Guides, News, & Discussion] Andissace:
Hello! Does this require root? And if not, can it be done over ADB? Thanks!
[Samsung Galaxy A71 Guides, News, & Discussion] ShaDisNX255:
It can't be done with adb as far as I know. You need root and a root explorer app that will let you do these modifications on the files specified.
[Samsung Galaxy A71 Guides, News, & Discussion] Andissace:
Got it! Thank you for the fast reply!
[Samsung Galaxy A71 Guides, News, & Discussion] Outrunna:
ShaDisNX255, these are exactly what I was looking for, thank you!

Last thing is is there anyway to get slow-motion in 1080p from back camera instead of 720p?

It's ridiculous because the selfie camera allows slow-motion in 1080p, and the back doesn't. If this is possible, that would fulfill all camera wishes! :)
[Samsung Galaxy A71 Guides, News, & Discussion] ShaDisNX255:
Sorry to say, I just tried to change slow motion to 1080p and recording fails, it's not capable by doing simple edits. Would probably need more in-depth modding, which I am not capable of doing.
[Samsung Galaxy A71 Guides, News, & Discussion] DonAndress:
Are you maybe in touch with other devs?

Technically A71 should be capable to record slow motion in 1080p as even older A70 was.
[Samsung Galaxy A71 Guides, News, & Discussion] ShaDisNX255:
No, I don't speak with other devs. I don't invest a lot of time on this and am too lazy to look for help anywhere else. If I can get it to work, great. If not, then oh well I just move on.

I don't really feel like looking through A70 firmware and/or looking through custom ROMs to see what can make it work. I personally just leave it as as and move on, something like slow motion recording isn't that much worth my time, in my opinion.

Any other user is free to do the research themselves if it's something they truly want, they have all my support

Other than that, I can do no more for this.
[Samsung Galaxy A71 Guides, News, & Discussion] Outrunna:
That is ok, I am very grateful for what you have already done :) Stay safe!
[Samsung Galaxy A71 Guides, News, & Discussion] jmsmarcelo:
Hello, thanks for the mods,

Could add the option timelapse
[Samsung Galaxy A71 Guides, News, & Discussion] ShaDisNX255:
Do you mean hyperlapse?
[Samsung Galaxy A71 Guides, News, & Discussion] jmsmarcelo:
Yes
[Samsung Galaxy A71 Guides, News, & Discussion] hhwong:
amazing thank you

i always thought 1080@60 is a must, somehow this phone cant handle it......kinda surprised lol

id like to add that the camera pro mode is already there by default now, updated to latest firmware.
[Samsung Galaxy A71 Guides, News, & Discussion] SkylinesHD:
Is there a way to do this systemless-ly with magisk? Like a magisk module?
[Samsung Galaxy A71 Guides, News, & Discussion] ShaDisNX255:
There's probably a way, but I don't really know how to make a Magisk Module way. I've heard it's pretty easy but... well I'm just lazy lol
[Samsung Galaxy A71 Guides, News, & Discussion] copygolf:
Thank U :cool::cool::cool: Good Job.
[Samsung Galaxy A71 Guides, News, & Discussion] FelipeHiroshi:
I have magisk installed with(cts and basiicintegraty) but root explorer and es file not work what i have to do?
[Samsung Galaxy A71 Guides, News, & Discussion] Lil_Boudy:
Could you please add the rest of the modifications of the ( NcX 2.5 A71 ROM) here, I want them without flashing the rom :) like selfie 60 fps.
[Samsung Galaxy A71 Guides, News, & Discussion] ShaDisNX255:
You should try this magisk module: https://xdaforums.com/t/magisk-module-a71-hidden-mods.4236169/

I think it adds everything I've added and more on stock ROM without the need to flashing my ROM.
[Samsung Galaxy A71 Guides, News, & Discussion] thorday:
Anyone tried this on galaxy M51?:unsure:
[Samsung Galaxy A71 Guides, News, & Discussion] ronaldomort:
hello can anyone tell me how to remove the bootloader warning or change bootlogo for A715F?
[Samsung Galaxy A71 Guides, News, & Discussion] FelipeHiroshi:
Same thing,iven on old samsungs with 7.0nougat will work
[Samsung Galaxy A71 Guides, News, & Discussion] andreoide:
That's not what he's asking. Did you try ?
[Samsung Galaxy A71 Guides, News, & Discussion] ShaDisNX255:
You can correct me if I'm wrong but I think M51 (OneUI Core phones in general) don't get their camera features from system/cameradata so I highly you'd be able to add these features. But, I don't own the device it may not be the case.
[Samsung Galaxy A71 Guides, News, & Discussion] jbadx:
X2 please
[Samsung Galaxy A71 Guides, News, & Discussion] Bucktucker:
What about new Boot animations? I am assuming that will have to root it as well (still working that out LOL) Hopefully once I do that then maybe the app I downloaded from play store might work instead of reutrning an unknown error every time?
[Samsung Galaxy A71 Guides, News, & Discussion] ShaDisNX255:
Samsung only accepts qmg boot animations so you'll have to keep that in mind.
[Samsung Galaxy A71 Guides, News, & Discussion] IForFun:
Can I make a modification without root rights? I don't want to lose the Google Pay service. :(
[Samsung Galaxy A71 Guides, News, & Discussion] ShaDisNX255:
No, root is required to change system and vendor to read-write. I don't know any other way of changing it.
[Samsung Galaxy A71 Guides, News, & Discussion] envatopremium:
Using your code, can I also add 1080p 24fps or 1080p 120fps? Cheers
[Samsung Galaxy A71 Guides, News, & Discussion] thugmayukh:
Would these mods work on OneUI 4.1 on a Galaxy F62? Like the AOD to lockscreen transition and the 1080p 60fps video option? Full OneUI btw not Core.

Or is the only way to know is by actually trying it?

Edit: Also how are you guys rooting? Using the Magisk method as mentioned here?

How to root your Android smartphone: Google, OnePlus, Samsung, Xiaomi, and more

Rooting your phone is still possible — and fun — these days. Here's how to do it on your Android device.

www.xda-developers.com
[Samsung Galaxy A71 Guides, News, & Discussion] ShaDisNX255:
I've never tested any of these in OneUI Core so I can't say for sure.
[Samsung Galaxy A71 Guides, News, & Discussion] thugmayukh:
Hey thanks for the quick reply. I guess you misunderstood. I have the full OneUI. Not Core.

Would you also be able to mention whether you guys are rooting using the Magisk method mentioned in the XDA rooting guide?
[Samsung Galaxy A71 Guides, News, & Discussion] ShaDisNX255:
The clock transition works on all full OneUI phones I've tried it on with AOD. The 60 FPS line I guess depends on the phone, you're welcome to try.

Any Magisk method should work, it's easier to just flash it via custom recovery and it does all the work.
[Samsung Galaxy A71 Guides, News, & Discussion] thugmayukh:
Thanks for the quick reply again. I'll be sure to try then. I'm not using a custom recovery so probably have to use the Odin flashing method
[Samsung Galaxy A71 Guides, News, & Discussion] thugmayukh:
I tried the edit for the AOD to lockscreen transition but it didnt work. Instead some other stuff broke lol like my navigation gestures hint bar and Always on display totally disappeared from settings. I was using Root Browser from playstore. Any ideas as to why? I was running OneUI 4.1 btw.
[Samsung Galaxy A71 Guides, News, & Discussion] ShaDisNX255:
Have no idea, sorry.
[Samsung Galaxy A71 Guides, News, & Discussion] sa.muca:
Hi do you have any app to recommend that can make the modifications? and it is possible to make the changes in one Ui 4.1?
[Samsung Galaxy A71 Guides, News, & Discussion] ShaDisNX255:
I just use MiXplorer or FX file explorer but these were for OneUI 3.1. A few methods have changed but I haven't really updated this in so long, I would honestly just recommend taking a look at the A72 hidden mods repo:

GitHub - UltraHQ/A72-Hidden-Mods: A magisk module adding some mods to your Galaxy A72 systemlessly.

A magisk module adding some mods to your Galaxy A72 systemlessly. - UltraHQ/A72-Hidden-Mods

github.com
[Samsung Galaxy A71 Guides, News, & Discussion] thisistyler:
Hi Does this work for s20fe 5G , not for main cam

can we enable ultra wide 60fps ?
[Samsung Galaxy A71 Guides, News, & Discussion] FelipeHiroshi:
Hello, i made a mod for the G980F is kind of glitch (beacause the telephoto dont work at 60fps and it freezes your camera for a few secs) you can try it, if doesn't work send your camera-features.xml

I including my mod with camera and the audio effects from the s23 series, just install through magisk.
[Samsung Galaxy A71 Guides, News, & Discussion] thisistyler:
Thanks for the reply brother , will try and let you know.