yashsingh1/xdaforums huggingface dataset:
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] crazy25000:
The current update broke all audio for Bluetooth headphone. I tried removing all paired connections, clearing Bluetooth data..etc. This happened with all audio players like Pandora and Spotify.

I've been using the headphones with this phone for a while without issues. Tested it with another phone on a different ROM and they worked fine. I'm going to look to downgrade to another version.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] npjohnson:
It was broken on 0109, I had that build removed and fixed it! My Jaybird X3's work fine.

It works! You may need to manually open the mods app from settings to get it to detect, have noticed that, but my JBLv2 works fine!

Ouch, I think you misunderstood - I meant Moto Mods that use Audio. Viper, etc are all still at your own risk - don't use SuperSU it's no longer patched, use Magisk. I've heard people with Magisk having luck with Viper, etc.

If you have root, you can use an app to explore files.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] gokart2:
Was rocking 0109 and Bluetooth worked fine with Spotify and I Uconnect in my car. Switched to latest and believe it was a software audio mod that broke Spotify Bluetooth. Will investigate.

LMAO... I got excited, didn't realize that you meant audio type Moto mods. Regardless on the DTS aspect, it's the only EQ besides James DSP I've had allow to boot. But both DTS's show more work is needed. Can likely figure it out, but haven't jumped into the logcat debug process too far just yet. Sauron and Narsil both flashed and booted WITHOUT additions to the install files. Additions to the install files for more mods cause issues for me. Mainly no boot. If someone could add the DTS patches to the kernel, I can likely get it working IF I CAN MODIFY SYSTEM FILES VIA A FILE EXPLORER. Is there a way to do this? No root explorer is allowing this? Dolby's are either not booting, or FC'ing. Can likely fix the FC'ing ones similar to past ones I've gotten working.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] DrakeJones:
Wow that is Awesome!

Its about time we got the Audio Mod working!

Great job and thank you!

I will have to flash and test on a Z2 that I have laying around.

Now that is done, can some one, please please please work on getting TWRP & Lineage working on Z4! Please please please! :)
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Bluedev93:
Thanks it worked! :cool:
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] npjohnson:
Sorry, Z4 is verizon exclusive in the US, and no bootloader unlocks are allowed on Verizon, and I have no money to buy an international bootloader unlockable one, so, no, sorry.

Good to hear!

I won't be changing anything DTS side for audio mods - as they're highly subjective to the person's hearing, and, in my opinion, not needed.

Kernel is open source tho, and you can follow our build guide on the wiki to build the kernel!

And, like I said, flash Magisk if you want root, and use any root file explorer - it will work fine.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] devastatorx:
I am currently running XT1789-02 on stock rooted Oreo. I have twrp installed as recovery currently. When I run getprop ro.bootloader it returns:

MBM-3.0-nash_retail-xxxxx-xxxxx

The LOS instructions warn about not being OCSX*.

Am I still good to flash?

Bonus question: I keep seeing people that have lost their baseband and IMEI, is this an issue im going to run into?

Thanks.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] gokart2:
I clean sideloaded the latest, via LOS recovery. Also MindTheGapps-9.0.0. Booted. Rebooted to Los recovery, sideloaded Magisk-v20.1. Rebooted. Downloaded Solid Explorer, granted SU access/root privledges, went to system/app, tried deleting "Email". Denied.

Tried with another root file explorer. Same outcome. Seemed as I'm not mounted rw on system.

Before this last clean flash that was what I was trying. But when I try to mount via shell, I get an error about the system, system_a, etc....isn't listed under proc mounts. Which looked correct when checking via command. So pulled info, seen the block names for systems, and tried mounting that way. No go.

How are you mounting system rw?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] doctor_droid:
can someone please update the installation instructions to include slot a/b , otherwise leading to bricked devices and loss of imei/baseband.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] gokart2:
What about general soc performance? Seen this sifting through Pixel 2 xl Flash kernel....same soc.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] devastatorx:
Would really like to know if im ok to flash following the LOS instructions (sideload copy-partitions.zip, then sideload lineage and any packages gapps etc..) I just really want to make sure I don't lose the IMEI and or baseband and minimize any issues flashing.

Would really appreciate someones time/help on this small issue. Thanks so much.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] npjohnson:
Not needed, no clue what you are talking about - we have copy-partitions.zip to negate this.

This is just a DTB? Link me specific commits and we'll talk, or better yet, upload them to Gerrit, and I'll review them (instructions to do this on the Wiki)/

Yes, following wiki instructions will work fine.

I use both adb remount, and root Explorer - both work fine.

Yes, let me fix that right now.

EDIT: Fixed by https://review.lineageos.org/c/LineageOS/lineage_wiki/+/267016.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] danielg4:
Not sure this has been reported before, but:

1. If WiFi calling is turned on, the setting for WiFi Preferred or Mobile Preferred appears to be ignored. This can be verified by selecting IMS Service Status from the menu after dialing *#*#4636#*#* and going to Phone information.

2. Selecting View SIM Address Book from the same menu doesn't show anything under LOS, but does on stock ROM's.

This is on lineage-16.0-20200113-nightly-nash-signed.zip on an XT1789-03 on T-Mobile USA using the oem bits from the tmo variant after the chmod trick for the baseband.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] gokart2:
[MENTION=6298645]erfanoabdi[/MENTION] [MENTION=5848265]npjohnson[/MENTION]

Which clang is this being compiled with......ndk?

Is it compiled by any of you and then uploaded? Or the other way where it's all automagical?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] npjohnson:
The AOSP one corresponding to the January ASB's Tag.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] ultrasoul:
Did a fresh install of LineageOS 16 and it takes up 13.84GB without any GAPPS installed? Does it sound right? Cheers
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] npjohnson:
That menu is known to report weird values - it's wrong lol
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] gyarados025:
Don't Use Ryzen System for Fastboot

I was trying to install LineageOS since few days and did all the things i could.

Use all the USB Ports from 2.0 to USB 3.1

Tried at least 10 different USB Cables

Tried hell lot of adb fastboot files and different drivers

Tried on Windows 10 to Ubuntu 18

Tried LMSA to reflash the device but that too failed.

but can't even boot the recovery or execute any commands in fastboot.

The CMD is always stuck on " downloading boot.img... " or " status read failed (too many links) " error

Had given hope thinking that my device is faulty.

But today thought of giving a last try using the old intel skylake laptop which had USB 2.0 port.

Started with LMSA again on this and saw the commands are working correctly in boot-loader logs!

Then tried to boot lineageos recovery and the commands just went ok. Now running the LineageOS in my XT1789-06 (Dual Sim) with no lost Wifi/IMEI or so. :D

---------- Post added at 06:15 PM ---------- Previous post was at 06:08 PM ----------

The installation of theLlineageos was ok and now running too. But the problem is installing the OpenGapps and Magisk.

Followed the steps in the LOS install guide. The OpenGapps gives "insufficient space error" and can't be installed. The Magisk gives no error on sideloading but can't find the magisk manager app after booting into Lineage OS.

The Wipe System command fails giving " can't give path "/system" to format_volume " but wiping data works.

Is there anything i need to follow in addition to the guide..? Or there is a alternative way of installing using TWRP.?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] 41rw4lk:
I think of lot of the command line problems people have is simply their adb/fastboot files or their usb port. This phone is finicky. I think a lot of people grab minimal adb/fastboot or they grab a adb/fastboot folder from wherever and they're old/modified/or just wrong. Grab the SDK, set the enviromental variable in your system and you're good to go. Adb/fastboot from any path and you can keep it updated by running the sdkmanager. Ports aren't so easy, but some have used hubs to get around tricky ports, so that's going to be unique based on the pc.

FWIW I have a MSI/Ryzen system and I do fine, it helps that there are legacy usb ports on the mobo. You could always try just booting twrp and flashing magisk like normal.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] npjohnson:
It works on Ryzen here - must be something specific to your setup.

Also, you didn't follow instructions ;p reboot to recovery after ROM install,a nd both opengapps/magisk will flash fine (the app doesn't flash, you have to install it).
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] gokart2:
Really impressed with your guys updates! Was wondering if it's known that the Gamepad mod doesn't work? Tried it last night and it never seen the connection or sync'd. Tried with two gamepads. :'(

Believe the needed apk is installed, MotoMods Manager?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] npjohnson:
It works fine. I just tested it. Make sure you're on the newest build, and note that you may need to open the mods app from connected devices menu in settings to get it to detect the first time.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] gokart2:
Ever thought about the Qualcomm llvm one that optimizes Snapdragon devices? Or are you guys doing the AOSP one for consistency across lineagOS platforms?

Was my bad, believe Tachyon isn't compatible with the Gamepad. No matter what I did, wouldn't work. After updating to 01-23…and having the lineagOS boot back, all is well. Sorry bout that.

Another question, sorry if I seem to have so many. I read back that unofficial builds had batt efficiency enabled, but official builds didn't and currently don't. I use Erfan's app now, but was wondering why it's not a usable option? Seeing it was in unofficial builds of past and a maintainer has a decent working app? Just curious, not an issue IMO.

Again, thanks for your guys effort on a well maintained build! It's much appreciated.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] npjohnson:
We won't use 3rd party toolchain's officially, we support non-QCOM platforms and want a standard experience.

Efficiency: The patches are too invasive to other platforms in Lineage's eyes. Maybe someday if the patches get restructured, but not now.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] gokart2:
Is there a way to reset the battery mod? Noticed it's not working. Tried Erfan's battery efficiency app, that doesn't see it either. I believe I accidentally hit efficiency mode initially on this last update...or whenever. Tried clearing Moto Mod manager data, that didn't work.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] sms_revo:
What is los17.1 on lolinet? Uploaded today. I tried to install, got a bootloop.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] abense:
Same here.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] abense:
is the automatic updater safe to use?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] sms_revo:
Today's build started up. Doesn't work after installing open gapps, but w/o gapps ok. Still testing.

UPD. Works with pico gapps 01/29

Great rom at first look
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] gokart2:
Yes, no problems for me.

Recommended is MindtheGapps. Must flash BEFORE BOOTING FIRST TIME.

[MENTION=5848265]npjohnson[/MENTION] or [MENTION=10301069]erfan abdi[/MENTION]

Is it possible to add an option to pick a or b for active partition via recovery? Would likely take care of a lot of issues booting. I find after flashing ROM and Gapps that it ALWAYS wants to boot to the opposite side without Gapps. I have to flash ROM/Gapps. Then twrp so I can pick the correct side to boot.

Also, finally got a kernel to boot. All seems well except I loose battery mod capability? I used the sources specified? Not sure which direction to go, figured it would be OK. And all I'm doing is swapping my gz-gtb with the one that's compiled by you. Any help is greatly appreciated.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] abense:
Even when dirty flashing?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] npjohnson:
Sorry, no, the way we handle payloads (A/B updates) the slot becomes unwritable until reboot (intended effect of verity).

If you mean dirty upgrade, no you don't need to flash gapps every time, just on the initial flash before booting android.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] abense:
So -- literally all I have to do now that my device is setup (20200123 build) with gapps, magisk, magisk modules, etc -- is to simply use the included 'LineageOS Updater app', to download a newer update (such as this Feb 5, 2020 build), then hit install?

This may seem like such a foolish, simple question -- but I've seen so many 'updater' apps on custom ROMs for the last 6-7 years. From my experience, they never worked lol.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] npjohnson:
It works fine. It's literally, all I use.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Kg_new:
Same problem

I have the same problem. No charging with the battery Pack.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo [MENTION=4420526]abense[/MENTION], I'd recommend sticking with LOS Recovery if you're going to use the Lineage Updater to do OTA updates. TWRP has problems with encrypted devices and doing OTA's that can cause Google Framework Services to crash. That's why on the LeEco Le Max 2 I maintain on LineageOS I had to make sure that Lineage Recovery works on it, because TWRP when encrypted breaks x2... and that's even with decryption blobs in place too, so it's definitely a TWRP bug and I've seen it on nash when I still had a working nash as well. :silly:
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] zuettu:
I have troubles with the last two builds when installing the MotoCam2 via zip. I installed the build lineage-16.0-20200210 in the order I alwas did: boot to twrp, install build, install twrp again, reboot system, reboot recovery, install magisk, install MotoCam2.zip, reboot system.

After the first reboot system was fine without magisk and Motocam, at the second reboot I wasn't able to boot to system, always went back to twrp. Then I treid the same routine without motocam and it worked, but I have no cam now, which install order is correct?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
[MENTION=2037141]zuettu[/MENTION], please DO NOT install any moto cam zips! Moto Cam is now included on LineageOS and is set up to even allow play store updates.

https://github.com/LineageOS/android_device_motorola_nash/commit/5697ab53dcc0977413d1cf7f734d01fd95237d56
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] 41rw4lk:
IDK about Los16 but in Los17 Moto cam feels natural, something any camera hasn't exactly been on any rom. That's been my experience at least and I know the devs have worked hard for quite some time to get a proper camera going. I believe they've also dropped snap cam since our phone is so fussy and have made an exception to our phone to just use Moto cam.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] zuettu:
Thanks for the info, didn't know that. Since I tried installing via zip, motocam isn't running anymore, any suggestions how to fix it? It stay the same after lineage update and I can't uninstall current motocam.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] npjohnson:
You need to wipe both slots system partition, and reflash lineage/gapps.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] zuettu:
what will I loose if I wipe system partition?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] nguyenquan2812:
What is the right procedure to install LineageOS?

I have Sprint version xt-1789-03 and I am on android 8.0.0. I tried to follow the instructions from lineage page but everytime my phone can boot to the screen but after that it will restart automatically and said the android is corrupted. Please tell me the right procedure.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] nguyenquan2812:
I manage to install it successfully by the function call "fix boot loop" in the TWRP recovery. My fist impression on this rom is superb smooth. Thank the developer!
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] asadhassan25:
When i was on stock oreo rom signals were stable but in this rom signals are not stable i lost signals on regular basis, kindly help me what to do?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] aut0_p1l0t:
Same problem here, device not charging with moto turbopower pack attached.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] devastatorx:
I have the xt1789-02 (US Cellular variant), is it just me or is the wireless hotspot(tethering) unnaturally slow? Is there a fix for this?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Wxdom:
Sprint version

Attempting to use my Sprint version on mint mobile on the latest nightly but my APN will not save no matter what I try
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] bogante:
There's some graphics glitches in 3D games, someone knows how to fix it?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] 41rw4lk:
Try pulling the apns-conf.xml from etc/ edit it with your apn info then push it back to your phone. After that do a reset to default from apn settings and see if you have your apn then.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Wxdom:
Sorry for being a noob but how would I go about doing that.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] 41rw4lk:
Go to apn settings and reset to default 1st to see if it'll just pull the apn info from the sim. Might need to restart. Otherwise, use a file browser and navigate to etc/ and copy the apns-conf.xml, open it on your pc, add your apn info in the same format as the xml, then copy back to where you got it from.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] DziwnyLevy07:
Audio problem

Hello. I have a problem with JBL 2. The ringtone sound is played on the built-in speaker but not on JBL. Notification sound is played correctly on JBL.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Vanphu_ht91:
Ch play

How can I install CH Play for this Rom?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] amateurhack:
Post deleted. Nevermind. I figured it out and have it installed on USC variant with no issues so far. Thanks!!!
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] rajuyahsu:
How to root Motorola z2 force please reply
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] quadcrap1:
Installed the latest Lineage OS 17.1 on my Z2 Force. I am comparing it to the Pie 9 hybrid from I was using on my Sprint-> T-Mobile Z2 Force. I am comparing two separate phones (so common issues are not hardware problems).

Observations:

1) Lineage suffers the same issue I had with the Pie 9 hybrid: Drops to "H" from LTE when on a call--even with VoLTE enabled.

2) Lineage OS suffers the same issue I have experienced with Pie 9 hybrid with respect to periodic freezes/reboots. I had two of these in the first 24 hours I was using it.

3) Lineage OS seems a bit smoother, but not tremendously so.

4) Lineage OS is getting poorer battery life than the Pie 9 hybrid

5) (This was known) Lineage doesn't support the optimized 80% mode for the moto mod battery pack.

6) Cameras about equal.

I'd put up with (5) if it fixed 1-2, and/or if the batter were appreciably better (rather than worse).

So I'll go back to the Pie hybrid.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] bharathks5:
I dont know why but notification sounds and playing video and status in WhatsApp have very bad effects on speakers. Its like speakers is corrupt while using whatsapp and other apps. In youtube, sound quality is good. Sometimes sound doesnt come at all in youtube and WhatsApp. Is there any audio fix for this? Overall Audio quality has been corrupted i think. Sometimes doesnt play sound at all in video players
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] allrightlite:
Here, too. Much better now :)
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] champ784:
I have faced this on the original stock ROMs before, and I wonder if it has something to do with blobs taken from the original software. Speaker with almost sounds crackly for notification sounds, but regular audio playback seems to work just fine.

---------- Post added at 04:54 PM ---------- Previous post was at 04:51 PM ----------

I think I'm just used to my OP6T battery life, because it's been awhile since I've used this phone as a daily driver and the OP6T battery is just insane lol
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] bmxrideher:
I messed up. I tried to update from 15.1 to 16 via LOS recovery per instructions here (https://wiki.lineageos.org/upgrading.html). That didn't work. ADB sideloaded in TWRP. It seemed to have failed, so I restarted. It did not fail, but all the Google apps were crashing. Booted back into TWRP, wiped data, and system, flashed LOS and GAPPs. Which worked. I am now on 16 with working GAPPs, but now I can't update via the LOS updater in settings. How can I fix this or am I stuck updating via TWRP from now on?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] allrightlite:
There is a bug in updater. It's known and will be fixed soon for sure. Until it fixed, you can use twrp or los recovery to update.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] bharathks5:
I moved to original stock rom, now its working all fine. The sound is clearer. I think Linage ROM has some problems.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] allrightlite:
Stock has problems, too. For example bluetooth issue by playing music. It's often lost the connection and that is fixed with android 8.1/9.0 and you can use bt ear phones without issues here in LOS16 with great sound :o There are many other fixes. But you are right, few problems are there. Updater doesn't work like it should. Netflix ended up with error code 15001. But else? Can't find big bugs here.

Thanks to the developer for the great work and I hope the people here give you the chance to fix the updater.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] champ784:
Agreed. Lineage seems to, at least 95% of the time, get more things right than stock ROMs from manufacturers. I know rooting and modifying devices is less common practice these days. But it's far from dead and should be kept alive as long as possible. Android wouldn't be what it is today without custom ROMs bringing about new ideas and features.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] npjohnson:
OT, may not have a ton of time to be working on this for a bit, explanation follows:

Never been one to do anything like this, but thanks to having to buy my way out of my lease (5k) after my roomates got us evicted, it's looking like I may be living in my car here for a bit until the lawyer can get forward traction on the case. Either way, I'm dead broke for now.

I'm not normally one to prominently post/mention my donations link, but if anyone is feeling generous, at this point 100% of the money is going to food/gas.

https://paypal.me/nolenjohnson