yashsingh1/xdaforums huggingface dataset:
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] 3's&7's:
[MENTION=4604067]Uzephi[/MENTION] I was trying to flash back to stock and start this process over again (experimenting what went wrong with rooting AOSiP, as you seem to be able to root this ROM with no wifi loss). I used the flash-all .bat (+ factory image unpacked) and as commands like...

fastboot oem fb_mode_set

fastboot getvar max-sparse-size

fastboot flash partition gpt.bin

fastboot flash bootloader_a bootloader.img

fastboot flash bootloader_b bootloader.img

...start flying I begin receiving "device a/b support is outdated" messages (the script tries to send the files to the z2, but fails).
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
Hrm... Using the packaged fastboot?

Edit: try the link below. If you're going to flash back to aosp instead of staying stock, it should work. Just edit the .bat, clear the text and copy/paste and save then run again.

https://hastebin.com/tidajarawu.css
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Giminji:
Thank you! Superb rom! Any way we can get CTS profile mismatch resolved? I did not have root, I tried to add magisk to do hide, but failed there. Also, can we get TWRP into the action? I like being about to do backups. I can live without netflix, so no biggie on the CTS profile mismatch.

Again, thank you!
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
Not until an SEpolicy is made...
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Giminji:
You can download Netflix 4.x versions of apk. That's fine with me.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] felipevsw:
I noticed there is a "Moto Actions" section in the settings which has very nice and promising features like Fingerprint gestures and Ambient display, however the fingerprint gestures don't work for me here (I set "Single tap" for "Home", "Swipe left" to "Back", "Swipe right" to "Recent" and "Long tap" to "Screen on/off").

Sometimes when I try some fingerprint gestures the screen flickers a bit, possibly trying to perform the configured action without success.

Are these just a placeholder, or are they supposed to work atm?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Infect_Ed:
Fingerprint gestures are still broken across the board, ie lineage, DU, and Invictrix.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] DrakeJones:
What is recommended for a dirty flash on ROM updates? Just flash the ROM and thats it? Also what is the file "AOSiP-8.1-Official-nash-20180510-boot.img" is this the boot animation file? Should I flash it as well?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
Dirty flash "should" be fine. The boot image was explained earlier. Please read the thread before asking questions.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
Updated 4th post with off topic and support warnings. Please read, thank you all for being understanding with the slow updates and laggy response times. We all have lives and do this as a hobby. Once it feels I "have" to be here, I will stop, since then it's no longer a fun hobby. Thank you again.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] 41rw4lk:
Anyone else using the 5-11 build? So far it's pretty nice, the battery seems to be going a little quicker, but I'll have a better sense when I get everything settled and tweaked. I'm going to run on this for awhile and in a couple days I'll flash the upstream kernel and see how that rolls. Thanks [MENTION=7987739]Infect_Ed[/MENTION]

[MENTION=4604067]Uzephi[/MENTION] If this is off the thread topic I'll move to a discussion thread. I'm just trying to see who else is running the latest and what their experience is. It's always easier to tweak when you can compare to another.

I do have a question though. Since there is an OTA for 27.1 stock, will the 27.1 prep zips get updated? Those that have installed the OTA seems to find stability fixes. I know personally that on stock 27.1 I had random reboots and wifi drops. I don't know if there would be any real benefit from an updated prep zip except maybe a more in tune setup. Anyway, I was just curious as to whether it would be worth anything. I'm not even sure if stock rom is used to build the prep zip, maybe I'm just wrong all around lol.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Infect_Ed:
Yeah something it's up. I'm testing a few things right now, then I'll get on the kernel subject
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
Not off topic at all. That off topic was mainly someone asking for assistance on a device obviously not officially supported. Talking about setups and how you got it tuned is perfectly on topic.

I went from Dec to March for my sprint phone (have one on one slot and the other on the other) and noticed no difference. The firmware seems exactly the same when looking at it from a hex editor and a quick skim of the files side by side.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] ZhangHaiyun:
Why does the system prompt for no system after each brushing, and then the black brick, I follow the steps, there is no specific detailed steps tutorial. The phone is a Sprint version. The firmware is the latest XT1789-03_NASH_SPRINT_8.0.0_OCX27.109-48_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml. Also brushed the firmware update package you provided, also useless
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
See below for warnings in OP. No one else has had issues. PEBKAC and RTFM. This thread is for flashing AOSiP, not fixing user error. Any more on this will be considered off topic in this thread. Thank you.

P.S. I ran into that issue and a flash all worked. And that was from my Oreo image pull flash all before MFT released an official one. I know flash all works, check the back to stock thread.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] ZhangHaiyun:
Black brick, I can solve it myself, but according to your way, I can't brush into this AOSiP, I want to know how to brush this AOSiP into the phone. I tried many times AOSiP could not brush into the phone
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
Everyone else followed OP and it flashed fine. Flash firmware, boot twrp, flash twrp zip, reboot recovery, flash rom, fastboot -w reboot, profit. It can't get any more in depth than that.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] ZhangHaiyun:
Fastboot -w reboot, how to operate, in front of me brush, the last step is to operate in twrp, or in the bootloader inside operation
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
Inside bootloader mode "fastboot -w" "fastboot reboot"
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] ZhangHaiyun:
There is no problem before the last step, the last step can not be restarted from the twrp to the inside bootloader mode, a little twrp inside the bootloader to restart the black brick, so the last step simply can not operate. Is there a problem with my operation?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
Then you did not flash the firmware correctly and you're booting the nougat bootloader. That would be the only reason for any type of "black brick." If you check the back to stock thread, there is my flashallutilities.zip file. download that and the link to the sprint flash all. unzip both to the same directory. (the files in the flash all zip and the utilities zip need to be in the same folder) then run the .bat file in bootloader mode.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] ZhangHaiyun:
NashSprintOCX27.109-48Firmware ，I also brush this, but it is still a black brick. What is this all about?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] felipevsw:
I am installing this rom now using adb sideload, much quicker and easier. Just sharing my experience.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
When you flash the official flash all with the utilities zip from the return to stock thread, does it remove this magical black brick?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] always6s:
Has anyone got LTE to work on Sprint yet? Only thing stopping me from using a custom ROM. Had the same problem with my g5s plus.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
It has been fixed the last couple of builds
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] 18712886438:
hi , can u tell me how to extract the firmware from the phone? I want to try if xt1785 will work on this build
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] ZhangHaiyun:
Removed, but each time you re-brush into AOSIP it becomes a black brick
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Gutto:
Installation ok, but there is no audio in the videos recording
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
Number 3 in known issues. No need to state it when it's known unless its an idea on how to fix. It affects Hangouts dialer, and many other VoIP apps as well.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Gutto:
I'm sorry, I did not realize I already had the information on this problem.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
All good, that's what the OP is for
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] lil-g-gamegenuis:
Is the fix the apn edit? I'm on the latest build with the apn fix and the most i get i is nonworking LTE for 30 seconds then back to shaky 3G.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
Make sure your APN is the same as the attached image.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] lil-g-gamegenuis:
Yes, it looks exactly like that. Should i upload a logcat?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Silberschrei93:
I had the same thing happen to me. Apn settings were correct, it would go to 4g for a few seconds then went back to 3g. I ended up doing a flash all back to stock, fully updated, then reflashed aosip and it fixed it. I did not flash the aosp firmware zip before doing so.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Lucejester:
Just curious, the rom has been working flawlessly except I have had weird dropping from LTE to absolutely nothing and it seems to be only since I flashed to this rom. It seems to fairly consistently be happening at intervals, and I was on the newest firmware of stock before this, not too sure, I don't believe I did anything wrong and I've never had issues with CFW on other devices like this. T-Mobile/Mint by the way, tried several APN settings, all the correct ones seem to be doing this, and if I tell it to only be on 3G then I got all the issues with not getting calls at all which I've already read is some oddities with the fact T-Mobile is supposedly moving purely to LTE.

Any help would be appreciated, would rather not go back to stock, the experience on AOSIP is leagues better.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] mookiexl:
[MENTION=4604067]Uzephi[/MENTION] Whats the chance of us being able to use the speaker mods on this Rom in the future? Guys that record videos and need audio need to download Footej from the playstore. This has been my go to for a while when having camera problems on aosp roms and has never let me down.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] AlexRaynon:
I'm hoping this isn't a dupe (I've read the whole thread, but I certainly could have missed something), but has anyone had success getting the 360 camera motomod to work on AOSiP? Right now, the camera motomod app does not seem to be engaging (and crashes in the background), even though the phone recognizes the attached mod.

-->I recognize that most motomods are not functioning properly now, but I definitely crossing my fingers that someone knows the super secret magic password that will make this mod work :D<--
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Technical:
Any new movement on swipe navigation? I suppose no other AOSP ROM have this feature... Is it a proprietary code from Motorola?

Other question:

If I want to move to AOSP Roms (AOSiP or DU) and I'm already with Stock Oreo 8.0.0, do I need to flash the preparatory zip (#2)?

If so, should I use the latest Nougat available for XT1789-05? I could not find any oreo version of flash all for this model... And I'm afraid to lose baseband, IMEI, etc. and do not have a flash all to get back.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
Nougat firmware is not recommended and I don't know if it will work. All of use tried with the Oreo firmware only.

As for swipe gestures, the ones Motorola used were baked into the ROM and are proprietary. We would need to use the open source alternative which is usually baked into the kernel. I have a lot of things going on in life to keep me from doing other work on the kernel besides basic upkeep (updating to linux-stable and merging CAF updates)
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Technical:
Thanks.

At least, I find the Oreo firmwares:

https://mirrors.lolinet.com/firmware/moto/nash_retcn/official/RETCN/

https://mirrors.lolinet.com/firmware/moto/nash/official/RETAIL/
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] felipevsw:
Any news on Android Auto? Is it still broken with custom roms on nash? I stopped using custom roms on my nash because of this...
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
What issue are you having with it? It has always worked for me.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] felipevsw:
When I connect the phone to the car using USB cable, Android Auto shows a red screen with a generic error. Something about it couldn't connect. I can't tell exactly bc I'm on stock now.

I cab use Android Auto standalone though, but not when I plug the cable...
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
Oh, that explains it. I use Bluetooth. :silly:
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] felipevsw:
Mine doesn't support Android Auto over Bluetooth I guess... It's a Volkswagen.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
Odd...
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] felipevsw:
Can you mirror the phone screen to the car screen? That's where I get the error.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
It's a 2013, it doesn't have that. :x
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Giminji:
So, I have learned a lot about the moto z2 force romming!

1) You will NOT get sound recording during videos.

2) Secondly, (and almost no one will care about this one) you will not get Bluetooth passthrough for JVC radios on the LineageOS compile, it worked on AOSiP and DU.

3) If you want to install Netflix (pass CTS!), here is the way.

- First, magisk. I used 16.3, because I could not get 16.4 to do basic integrity match.

- Second, go to google.com/android/uncertified You can get google to "certify" your device, this is NOT for people who make the rom to certify, but for individual users.

- Third, I installed the 4.x Netflix, then after in the google play store my device status changed to "certified" I was able to get all the Pokémon Go, Fire Emblem, Super Mario Run, all the widevine DRM and stuff to pass! Netflix updated to the current version too.

4) I love this AOSiP release, the easiest install of the three I tried, I also tried DU (no linkey for DU cuz it's not allowed!) and I got https://updater2.invisiblek.org/ to work as well. If you install a rom and it doesn't give you wifi or sim card, boot to TWRP and try the other partition (i.e. if you are on B partition, boot to A then try to boot to system). What happens with some compiled roms if they will flash the main to A then the smaller part to B, or vice versa. Also, when installing a rom, I found it particularly useful to do a few things!

- First, wipe system slots on BOTH A and B.

- Second, install TWRP after you install any rom (some roms that do not pass off to TWRP to boot well, frak them!), so that if you need to reflash from your SD Card (WHICH I NEVER WIPED!), you can do so without being tied to a computer.

I wish I could post this to the main ROMS forum, cuz after 2 weeks of about 500 flashes, I now can flash any Rom to my nash. Uzephi, thank you for you work, and I hope and pray that you are well rewarded for your glorious work!

If you need help that isn't covered here, please feel free to message me, I will try to keep logging in.

---------- Post added at 08:31 AM ---------- Previous post was at 08:28 AM ----------

I actually just wrote about that! It seems that Bluetooth passthrough rom to kernel isn't quite right, but that is one of two errors, but that still makes it awesome! On Bluetooth I just swap my radio over to BT, can't use Pandora to "Auto Launch" or iHeartRadio (does apple own iHeart?)
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] felipevsw:
My issue with Android Auto is more specifically when you connect the phone and the car infotainment system using the USB cable to mirror the phone screen to the car screen (I have a 2018 VW Polo).

I will install the rom again this week and see if I can debug it somehow.. Can't I use adb logcat over wifi or something?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] felipevsw:
Regarding the Android Auto problem I'm having over USB. I installed the ROM today and tried to connect to the car system while running a logcat over the network. Attached is the log (I've tried at least 3 connections so the log isn't small).
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] junior_ilha:
I tried this rom on my z2-force from brazil xt1985-05, but get no signal at all, just wifi... (showed IMEI - can~t call on airplane mode)

Now I can~t get signal on stock rom, Tried over 7 different stock roms, any help? Does anyone have the correct modem.img for my device?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Josh McGrath:
Just download the blankflash file and flash it. It's another flash-all file and fixes the issue. I had to do the same thing
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] junior_ilha:
Okey, I have a separated blankflash zip with programmer.mbn . Do I just have to flash this before the stock rom? can you PM me an e-mail or social account so I can talk directly to you?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] junior_ilha:
sorry to bother here. I have another device 1789-05 (retail) and I flashed T-mobile firmware zip from post 2.. Now I have a missing baseband, when I try to flash retail non-hlos.bin it keeps say "baseband unknown".

Is there any way that I can "undo" that script"? any help will be apreciated. Thanks in advance
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Josh McGrath:
The script can't be undone. The file you have to flash to fix this is the blankflash file. I believe the post is from Uzephi.

I think you said the Oreo version won't flash? Try download again in case it got corrupted or something.

If all else fails, I will upload the one I have that worked for me.

DO NOT FLASH ANYTHING FROM NOUGAT! You can get a permabrick that way.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] junior_ilha:
Blank-flash oreo version wont flash: (redownloaded)

**** Log buffer [000001] 2018-06-17_23:11:01 ****

[ -0.000] Opening device: \\.\COM3

[ -0.000] Detecting device

[ -0.000] ...cpu.id = 94 (0x5e)

[ -0.000] ...cpu.sn = 651658370 (0x26d78482)

[ -0.000] Opening singleimage

[ -0.000] Loading package

[ -0.000] ...filename = pkg.xml

[ 0.016] Loading programmer

[ 0.016] ...filename = programmer.elf

[ 0.016] Sending programmer

[ 0.125] ReadFile() failed, GetLastError()=0

[ 0.411] Unexpected command, expecting 3 or 18 or 4, got 1 instead.

[ 0.419] ERROR: sahara_download()->general error

[ 0.423] Check qboot_log.txt for more details

[ 0.423] Total time: 0.423s

[ 0.423]

[ 0.423] qboot version 3.85

[ 0.423]

[ 0.423] DEVICE {

[ 0.423] name = "\\.\COM3",

[ 0.423] flags = "0x64",

[ 0.423] addr = "0x62FD64",

[ 0.423] sahara.current_mode = "0",

[ 0.423] api.buffer = "0x2AA5020",

[ 0.423] cpu.serial = "651658370",

[ 0.423] cpu.id = "94",

[ 0.423] cpu.sv_sbl = "0",

[ 0.423] cpu.name = "MSM8998",

[ 0.423] storage.type = "UFS",

[ 0.423] sahara.programmer = "programmer.elf",

[ 0.423] api.bnr = "0x29E4590",

[ 0.423] }

[ 0.423]

[ 0.423]

[ 0.423] Backup & Restore {

[ 0.423] num_entries = 0,

[ 0.423] restoring = "false",

[ 0.423] backup_error = "not started",

[ 0.423] restore_error = "not started",

[ 0.423] }

[ 0.423]

I could do the Nougat version and it gave me a Verison bootloader, but I wasn~t able to flash retail modem.bin

Looking for a dump for retail modem .img (maybe need to be in img like TMO)

Really don´t know.. Thanks anyway.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Josh McGrath:
If you can tell me how to pull what you need, I will pull it and upload it somewhere for you
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] junior_ilha:
I´ll PM you.. thanks
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] always6s:
Any chance on LTE working on sprint? DU and LOS have it which keeps me going back to them as dailys but I would love just a little more choice. That said. Great ROM. Easy to flash for me and it let me get thru startup without wifi. That's a downer when it doesn't. (No WiFi here). Haven't been able to try invitrix cause of that. Good job guys.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] cervantesjc:
Try LOS, it has Sprint LTE working, also audio on video recording.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] always6s:
That's what I have been using. Just need change in my life. Lol
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] felipevsw:
Hey, I've just installed the latest LOS build from Nolen Johnson (ods.ninja) and it has all fingerprint gestures working! Home, back, recent, lock, it's all there and it's working! :victory:
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
SafetyNet and SELinux should work as well. A metric crap ton has been done in the last week or two.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] felipevsw:
Indeed, selinux is enforcing now, awesome! Gonna try Magisk now. Finally I can move away from stock. :D
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] cervantesjc:
Where did you download his build?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] felipevsw:
ods.ninja website, that's the actual address of the site :o

Google "lineageos nash"
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] cervantesjc:
I found it, it seems everyone is downloading it right now, I'm just excited they activated vulkan computing that's gonna help battery life even more.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Josh McGrath:
Can one you guys check on the new lineage build that you can record in 4k yet? I am assuming the audio has been fixed in recording
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] felipevsw:
I've just recorded a video, set it to 4k resolution and audio was recorded as well.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] JAWheat411:
Did this one have Gapps built in?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] cervantesjc:
4k is there for video recording and yes audio has been fixed.

---------- Post added at 02:34 AM ---------- Previous post was at 02:34 AM ----------

Yes it does.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] xPoisonDashx:
Help!!

Ok so I have been using aosip for a month, suddenly from night to day there is a "Moto Actions Has Stopped" dialog popping up ever 0.5 seconds that keeps me from using the phone, my PC is not recognizing my Moto Z2 Force on bootloader (IDK Why) but i cant do a flashall is there any other way I can fix my cell I have tried so much is been a week like this. :(