yashsingh1/xdaforums huggingface dataset:
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] johnathanamber:
You don't need to flash TWRP. LineageOS has their own recovery built-in. For reference, I first flashed TWRP and booted to it without issue. Once I installed the LOS ZIP, it overwrote TWRP with it's own recovery. This threw me aback at first. I am now used to it.

If I need TWRP, I fastboot to it via ADB.

Also, when I rebooted after flashing the LOS ZIP, I booted back into the bootloader and into LOS recovery (after flashing the LOS ZIP, but before first boot), I sideloaded both the MindTheGApps ZIP (Google Apps) (https://wiki.lineageos.org/gapps.html) and LOS AddonSU ZIP (root) (https://download.lineageos.org/extras). I had no issues after the initial reboot when doing this. Mind you, when I had updated to post 20190823 (20910903), I had to wipe System and Data.v You might want to do this again.

When I installed, I had to fastboot into TWRP and install the LOS ZIP. Once done, I rebooted back into fastboot and selected Recovery. This brought me into the LOS Recovery where I sideloaded MindTheGApps and AddonSU.

Sorry, I can't comment on your other statements or questions.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Dany XP:
Thank u guys, I solved everything by just using twrp 3.2.3.2.img (although during the installation, after reaching 47%, starting step 2/2, stops, something about can't find cache partition...and quitting twrp gives me "no os installed, r u sure?"...but los and gapps were actually installed...is that normal?)

Everything seems fine, LOS 16 seems pretty cool, I can even use Google Pay apparently...but 1 thing bothers me: Netflix. Is my understanding googling around, I'll need root + magisk and play a little bit...

Im already using the os, can I just flash in recovery su and magisk zips? Or should I have done it before the first boot? God I really don't want to do all over againg lol
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] johnathanamber:
I've also tried to get Netflix working. Evidently, the Netflix APK detects whether your phone is rooted or not and won't allow you to use DRM content via their app. So, even if you get the APK installed, it will error out and inform that it can't connect to the server, or something like that.

I've read something about blocking root detection to the Netflix app, but I've not found a workable solution for it yet.

About installing SU and/or Magisk... from what I gather you are supposed to install those BEFORE the first boot of LOS. I used the AddonSU ZIP since it was simple to do alongside the MindTheGApps install, it was simply one extra command and nothing else for me to do other than enable in Settings > System >Developer Tools.

You might need to fastboot into TWRP, wipe System and Data again, install LOS, reboot into LOS Recovery, install Google and SU, and boot one last time into LOS.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] doombuger:
after flashing lineage nightly 9/10/2019 via fastboot twrp - rebooting to bootloader then LOS recovery - and trying to adb sideload mindthegapps i get a signature verification fail. is this normal?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Dany XP:
So, all over again, no other option uh...r u sure I have to it before first boot? I think I remember somewhere I read only SU zip need being flashed before the first boot...not Magisk zip. Whatever, I'll do it againg from zero.

Last question: I only have H+ , not 4g or LTE...I tried everything in Preferred Network Type and System Select...

EDIT: Nevermind, after first reboot, I got LTE

EDIT 2: I did exactly as before except flashing also SU (not even magisk...)...and im having reboots and freezes even right in the initial setup...

EDIT 3: Ok, im starting to worrt now...i wanted to return to stock (using https://xdaforums.com/z2-force/how-to/how-to-return-to-stock-sprint-t3694783) and now i dont have reboots or freezes...BUT I DONT HAVE IMEI, IP, SIM, WIFI OR MAC ANYMORE! am i in trouble...?!?!?!
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] doombuger:
[MENTION=4318977]Dany XP[/MENTION].

i'm having the same problem as you, i believe the issue is magisk. I've tried flashing it with several methods, at several different points... all end up randomly rebooting on me after android setup, or next boot.... everything will work until magisk is added :(..... but i did not lose IMEI IP SIM WIFI or any of that. did you use the correct flashall for your carrier/variant when returning to stock?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Dany XP:
Did u read my post? ?

I wrote "...not even magisk..."...

I had reboots with just flashing SU add-on...
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] johnathanamber:
Out of curiosity, are you using the Verizon variant? Did it have their Pie OTA update before you started with the LOS flash? I've heard that others on Verizon have had this issue after doing the Pie OTA and have attempted to install LOS Pie.

nvm, I see that you said it was on tmo... there was an official build that should have been installed before LOS. Let me check to see if I can find the link.

OK, I don't remember exactly why, but I believe you're supposed to install the latest from here first:

https://mirrors.lolinet.com/firmware/moto/nash/official/TMO/

XT1789-04_NASH_TMO_C_8.0.0_OCXS27.109-51-14-7_subsidy-TMO_RSU_regulatory-DEFAULT_CFC.xml.zip

Something about the radio, firmeware, etc. that would then allow LOS to flash without much effort afterwards and allow everything to work as expected. Someone correct me if I'm on the wrong path here.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Dany XP:
Uhm i think i saw that too somewhere. Thank u. I'll do it and I'll report

EDIT. It works. After fishing THAT PARTICULAR LAST stock tmo rom, i have my IMEI, SIM, wifi...but as sono i flash Los16, i Lost everything again...what the hell...?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] johnathanamber:
Checking with Discord, Xiyl has a firmware update package that will assist.

So, once done with the stock flash, use this to update the firmware on both slots on your phone...

https://drive.google.com/open?id=1CYat2e0kJgGuVLguisG2yZISC5yNyFIK

There are instructions within the package as to how to do this.

Then, you should be able to flash LOS without issue.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Dany XP:
OMG IT WORKED! ???

I have everything now, los16 with wifi, imei and sim!

So, just to be clear, all my troubles started just because I didn't both slot A and B "active"?

That actually make sense, when I was having bootloops and freezes (probably because I didn't reboot recovery and format data for gapps or something) and went back from flashing the stock tmo Rom, obviously I didn't wait for any ota, I immediately turn it off and started all the los flashing...so of course I had slot b still inactive.

Is this problem exist with all A/B devices?

And if it's just about our z2 force... isn't this SLIGHTLY important? ???.

Shouldn't be on the first page of the thread?

In the last 48 hours I was going crazy all over xda and I can assure u, there are many people in the no imei/wifi/sim situation after flashing lineage16....

Thank u anyway guys, u saved me from having a dead device!

One last question about magisk: how do I flash it? In twrp, I have to abc sideload magisk.zip or should I just flash it normally from the internal memory?

P.s. I'm pretty sure I flashed SU correctly... But I can't see it in the os. Can I just try to re-flash it now? After the first boot?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] doombuger:
can that file be edited to work on a USC-02 variant? i haphazardly flashed a TMO firmware and lost baseband (Wifi/mobile data). I'm thinking that if i could gain access to slot B and reflash the correct retail version i can get it working again. i could be wrong though. but hopeful. thanks
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Dany XP:
So r u without imei and baseband even flashing stock ROM? If that's the case, I was in your situation, tried many stock firmwares...but at end you need to flash THE MOST RECENT stock rom your model has...
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Anhtuanh:
I have to try and find every way on the forum to your moto phone sprint z2 force is not hanging at boot time. I use los16. What I need is a specific guide to it works again. Please!!
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] mafiadog:
Dear all , loving this ROM for my z2 force . however coming to lineage I have noticed I cannot use OK google from screen lock. What's the solution ?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] erfanoabdi:
Hi guys i've been working on lineage 17.0 and i need tester for my rom

https://mirrors.lolinet.com/firmwar...age/lineage-17.0-20190919-UNOFFICIAL-nash.zip

please test VoLTE, wifi calling, video calling and bluetooth audio

let me know about bugs here or on telegram [MENTION=6298645]erfanoabdi[/MENTION]

thanks
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] fierogt42:
Had terrible trouble updating from an old build from this spring to nightly 2019-09-16. Kept getting reboots to recovery when trying to boot OS. Wiped system and flashed everything to both A and B, and now it's working BUT...

Now the camera isn't working for video. "Unknown error" and the app crashes. Launching a second time gives "cannot connect to camera". This happens with the baked- camera app as well as any I download to try. Are there any fixes?

P.S. I tried this update first from the LineageOS updater, and it bricked the same way.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] huatz84:
Same here. And I can't install gapps. LineageOS boots normally without gapps. Each time sideloading gapps always failed.

Edit : Finally, I made it by using flashing guide A/B devices for daisy (Mi A2 Lite). I used to flash non A/B devices. This is new to me. After flashing the ROM, I flashed TWRP.zip. Press reboot menu and change slot. If it's B then change it to A. After that,press reboot recovery. Flash gapps on the other slot. Reboot to system.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] fierogt42:
Correct. This is how it has to be done, except that you shouldn't have to manually change slots when rebooting to recovery. It should do that on its own any time you flash a ROM.

...and the exception that occasionally some phones apparently MUST have the ROM on A and Gapps/Magisk/addons on B, or vice versa. Don't ask me why. I even have a phone that MUST have the ROM flashed on B, then A, then Gapps, etc. on B again.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Alruse122:
Can anyone help me? I can't install any Lineage Build, after install the build, it can't install the gapps, ir drops a error 70
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] huatz84:
My phone seems bricked. I just tried sending whatsapp and suddenly I lost wifi signal and then, my phone froze and turning into black screen. So I plugged into PC and it's detected as Qualcomm HS - USB QDLoader 9008. I didn't do anything to the phone except flashing Lineage. And I've been using lineage for some hours without issue. Don't know why my phone bricked unexpectedly.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Dany XP:
That's correct although it was my understanding that u don't have to "check", after rebooting the first time, if u r in the other slot.

If u reboot after flashing los16, it will go automatically in the other slot, no need to check.

But yes, the logic is correct: first los in the first slot, the reboot recovery for changing slot, then flash everything else....
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] huatz84:
I had tried both blankflash (nougat and oreo),reinstall all my drivers,disable driver signature,even changed to another PC. All was failed just like images I attached above. Any solution will be appreciated. Or maybe there's a newer oreo blankflash. Before lineage,my Sprint nash was using latest oreo with july security patch.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] sklks:
Hi everyone,

I seen in the original topic that it says Mods don't work and after getting the official Android 9 they might have it working, what's the current status about that? Are mods working? I have the moto 360 camera, moto gamepad and hasselblad true zoom.

Thanks
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Bratpfanne7:
[MENTION=8081404]erfano[/MENTION]abi

Would be happy to assist.

Will install in the next few days

Thanks for the quick update to Android 10
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Bratpfanne7:
failed install of lin 17

hi,

just tried to install lin 17,

deleted the data and system and forgot to install twrp before reboot

am now stuck without a system and only the stock recovery

cant use fastboot

adb sideload from stock recovery to lin 20190921 fails because of: kdownloadmetadatasignaturemismatch

cant install twrp or other linos from stock recovery sideload

is there a way to unbrick the phone and to get any system up and running again?

thank you very much

edit:

older linos wont install with stock recovery sideload (fail with footer is wrong)
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] zxcvcx:
:good::good::good:
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Bratpfanne7:
successful rescue

no need for support on bricked phone (see above)

just tried the lenovo moto smart assistant v4.4.0.21 and got the phone up and running again.

had to go through the rescue process twice (maybe because of the a/b partitioning)

i will try lin17 erfanoabdi
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Bratpfanne7:
feedback lin17

Hi,

wifi is not working for me,

when i try to start it, i states it is starting but aborts after about 10 to 15 sec.

sim card is also not recognised

both issues are present after a restart.

by the way are there any gapps available for androuid 10?

Which do you recommend?

cheers
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] erfanoabdi:
you guys can install my lineage17 builds from here https://mirrors.lolinet.com/firmware/moto/nash/custom/lineage/

latest version is 0924, please mention me "@erfanoabdi" if there's any bugs i'll come for help [MENTION=10144917]Bratpfanne7[/MENTION] i think your PC drivers are not working propperly you should have fastboot anyway

but about 17 bugs, try my today build wifi and simcards fixed : https://mirrors.lolinet.com/firmwar...age/lineage-17.0-20190924-UNOFFICIAL-nash.zip
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Bratpfanne7:
[MENTION=6298645]erfanoabdi[/MENTION]

Thank you

0924 works fine
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Bratpfanne7:
[MENTION=6298645]erfanoabdi[/MENTION]

Discovered some minor stuff, nothing important:

Battery percentage cannot be shown by enabling the corresponding setting.

Dark mode works but only the standard one is functional. The black one can not be selected and therefore dont work.

Also the colours in the dark mode can not be switched.

Nothing important, all necessary stuff is working fine on 0924. So i chose it for daily/normal usage.

Thank you very much.

If i should have a look for specific parts to test, let me know i'll try my best.

Cheers
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] erfanoabdi:
Thanks for letting me know

yep will try to fix mods in new version

dark mode and some platform stuffs might not work, lineage team is working to bringup this features

nothing specific to check ;)
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] CykloneFij:
What gapps are you using?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] erfanoabdi:
i'm not using gapps, not sure if there's any full Q compatible gapps flashable zip available yet

but use this link https://sourceforge.net/projects/opengapps/files/arm64/test/

if flashing failed on twrp for any reason run this command on adb shell "mount system system_root" after error and install again
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Bratpfanne7:
I've used: https://www.cyanogenmods.org/downloads/nano-open-gapps-for-android-10-arm64/

Flashed with the same procedure as for lin16
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Alruse122:
Can someone can help me?

after install the Linage Build and restart the recovery again to install de Gapps, the bootloader drops an error "your device has loaded a different operating system" and if boot bootloader the oem is locked (i guess is de B partition, cause normaly in A partition its unlocked and i can boot twrp)
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo [MENTION=8134715]Alruse122[/MENTION] , please check the Wiki guide again. ROM and gapps must be installed together before rebooting to system.

https://wiki.lineageos.org/devices/nash/install
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Bratpfanne7:
[MENTION=6298645]erfanoabdi[/MENTION]

Just to let you know:

Build lin17 24092019

Yesterday i had a random shutdown:

I connected the phone to car audio via Bluetooth (didn't call anybody nor listen to music)

Today tried to call someone and the mic stopped working (speech messages also didn't work)

I got a message that the mic stopped working and i should restart.

After the restart mic worked fine again.

So far only those minor issues, enjoying lin17

Cheers
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] gyarados025:
Hi , need some help installing LOS16.

Model : XT1789-06 Dual Sim Retin

OS : Stock Pie (Latest) PPX29.159-23

Bootloader : MBM-3.0-nash_retail-43c7c77-190705

Going though the instructions on Los Wiki the bootloader should be OCXS* but since i updated it to Pie will the method still work..? I have recieved one security patch after pie ota (from june to july patch) so think both slots have the same pie firmware.

Also how to install Gapps and Magisk/Addon-Su , is there any need to change the slots in TWRP and install Lineage/Gapps again..?

Being extra cautious bcoz this is my primary device and can't afford bricking it :(
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Bratpfanne7:
Hi,

cant guarantee anything but i had similar process. Read full post first.

As mentioned above i lost my phone temporarily.

Recovered it with the tool of Motorola and pie was installed.

After that i followed the process as described in the wiki.

Enable ADB

Temporarily Boot twrp

Do the delete process

Flash lineageos

Flash twrp (no reboot in between flashing lineageos and twrp)

Reboot to recovery

Install gapps

Reboot to system

Should be fine

You can install magisk by rebooting to recovery

And flash the package

Cheers

(No guarantee that it works)
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Alruse122:
Same problem here, about the OCXS bootloader, i have pie too with PPX29.159-23 and doesn't work the wiki

process
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] gyarados025:
That means you have tried with Pie and it's not successful..?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Alruse122:
Yep, at least for me doesn't work, and i tried with TWRP and Lineage recovery without success, maybe we'll have yo wait some compatible rom with pie bootloader
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] allrightlite:
Great rom. But I'm back on 24th, because the 25th build has problems, maybe with doze function. Love the rom. Very fast and stable. Thank you for the great work! :fingers-crossed:
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] johnathanamber:
https://review.lineageos.org/c/LineageOS/android_kernel_motorola_msm8998/+/259442/

They're reverting a change that caused idle issues
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] marcelorevok:
Anyone else got bootloops using the latest build? (lineage-16.0-20190927-nightly-nash-signed.zip)
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] allrightlite:
Yes, issue is there in 25-27 version. You should install 20190924-version. For sure the doze issue will be fixed soon. So, all your phones fine. No technical problem. You can keep cool.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] marcelorevok:
Thank you.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] marcelorevok:
I did a factory reset and I'm trying to install an older version, but I'm having some problems. Here are the steps I did and the results:

1. Factory reset through twrp.

2. Flashed lineage-16.0-20190924-nightly-nash-signed.zip

3. Flashed twrp-installer-nash-3.2.3-2.zip

4. Flashed open_gapps-arm64-9.0-nano-20190927.zip

Result: LineageOS boots without any google app installed.

I also tried:

1. Factory reset through twrp.

2. Flashed lineage-16.0-20190924-nightly-nash-signed.zip

3. Flashed twrp-installer-nash-3.2.3-2.zip

4. Rebooted to recovery

5. Flashed open_gapps-arm64-9.0-nano-20190927.zip.

Result: LineageOS shows boot animation for a few minutes then reboots to recovery.

I also tried older gapps versions:

open_gapps-arm64-9.0-mini-20190921.zip

open_gapps-arm64-9.0-micro-20190924.zip

open_gapps-arm64-9.0-mini-20190927.zip
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Bratpfanne7:
I had similar issues when going from 20190823 to a newer version.

I needed to do a complete new install ( including wipe) to get the new update working.

I think it was because of a new camera update.

Maybe it is something similar in your case.

Maybe you should also try a newer twrp version.

I look for the corresponding post in this thread. (See below)

Cheers
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] urbex:
Any progress on getting the speaker Mods to work yet? I've run into some stability issues on the 5-26 unofficial 16 build with the speaker patch, and need to send my phone back to Moto for repairs anyways, so now would be a great time to try another LOS build, lol.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] marcelorevok:
I tried everything, got same results.

Lineage boots normally if don't install anything else... If I install gapps it stays for a long time at the boot animation then reboots to recovery. Tried opengapps and mindthegapps
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo, looks like the upcoming build should hopefully fix the bootloops that have occurred since the 0925 builds

https://download.lineageos.org/nash/changes/

Update: looks like 0928 build contains the kernel fixes. :)
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] zuettu:
My phone is XT1789-06 reteu with Android 8.0 on it, to follow the guide you've mentioned do I have to flash latest (pie) stock or oreo? where do I get latest pie stock? I want to install lineage 16
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Ph4te89:
There is no stock-Release with pie for this phone. I used the latest oreo stock, and installed Lineage 16 after that. The discrepancy between the version numbers of stock and Lineage didn't matter.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] zuettu:
ok, where do I get reteu stock? https://motostockrom.com/motorola-moto-z2-force-xt1789-06?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Ph4te89:
I've got stock from here: https://mirrors.lolinet.com/firmware/moto/nash/official/RETEU/

It seems Lenovo released stock with pie after all. I did not expect that, to be honest.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] snlzkn:
So I performed the fresh installation from August to 0928 hoping to fix the camera issues. It took me all day long as I ended up in bootloop. Finally I installed everything in the correct order and the phone boots, but Duo complains about not being able to reach the camera! All day of work, hoping that with this upgrade Camera would start working more reliably. Now I have to get all my apps working again as Titanium backup restore does not fool many of them!

Does anyone have similar issues?

The Camera app says:

Can't connect to the camera.

Any idea how to investigate this further?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo [MENTION=2061371]snlzkn[/MENTION] , I'd recommend getting logcat for that app and posting a link to it here so that we can see what error your Nash is specifically getting.

If you are unsure how to logcat, please check this guide

https://wiki.lineageos.org/logcat.html