yashsingh1/xdaforums huggingface dataset:
[Moto Z2 Force  Guides, News, & Discussion] meathammer386:
Chainfire sweet hopefully he helps with this

---------- Post added at 04:46 AM ---------- Previous post was at 04:46 AM ----------

Make a bounty thread
[Moto Z2 Force  Guides, News, & Discussion] Chainfire:
USE AT YOUR OWN RISK

At the request of [MENTION=5479194]presto1979[/MENTION] I created a CF-Auto-Root image based on the boot image he supplied (Nash-SPR-NCX26.122-51).

Obviously it is untested, and while the algorithm works for the Pixel and Pixel XL, it should be noted that those are the only two (really just one) devices that have ever been tested with the A/B partition layout.

So fair warning: this might work, but it is equally likely to not work.

If it doesn't work, I think flashing back the stock boot image should fix, but without a test device, that's just a guess.
[Moto Z2 Force  Guides, News, & Discussion] themustached:
Tried it and it didn't work for me. But that doesn't mean anything. Just kept rebooting.

Flashing back stock boot fixed it.
[Moto Z2 Force  Guides, News, & Discussion] Chainfire:
Did you fastboot boot the image? or fastboot flash? it's supposed to be boot'ed.

If boot, and it still kept looping, at least that means the installer did something, otherwise a simple reboot would fix everything.

There's not much I can do without access to a device by way of debugging, but I think I read someone has a half-working TWRP ? The package should leave some log files in /cache, if that is mountable. Has anyone tried to just flash the SuperSU v2.82-SR3 ZIP with it ?
[Moto Z2 Force  Guides, News, & Discussion] bart bart:
smal writup?

Thank you so much for taking the time to do this, long-time fan, first time messenger. Are there any good writeups on what you did you integrate SU into the factory image? A site for an android-savvy but not expert coder to dip toes into customizing a factory image etc? I have an unlocked Moto Z2 Force on Tmobile and bought it explicitly for the support of MotoMods - specifically the keyboard mod - https://www.indiegogo.com/projects/keyboard-mod-a-physical-keyboard-for-the-moto-z#/updates/all - Because I cant live without a keyboard on my phone. I appreciate all the work you have done over the years. I would love to know how to take a factory boot image and slip SU into it and be able to flash it to my phone either in fastboot or Recovery. . As long as in the end there is root and i can run titanium etc. I hope to go we have a stable rooted factory image soon. Thanks so much!
[Moto Z2 Force  Guides, News, & Discussion] themustached:
Did both actually, but after doing it the right way it still just rebooted.
[Moto Z2 Force  Guides, News, & Discussion] Chainfire:
Did it reboot immediately, or did the first time take long and the subsequent reboots short?

Can you try grabbing the logs from /cache with TWRP?

EDIT: also, do you even have the Sprint model?
[Moto Z2 Force  Guides, News, & Discussion] themustached:
It took a minute. It came up like it was gonna boot and then rebooted and it kept doing that.

The TWRP I have access too only shows the filesystem of the Boot.img and not the actual phone filesystem.

No, I don't have the sprint model, but it will still boot.
[Moto Z2 Force  Guides, News, & Discussion] chinarabbit:
Are you saying it works on the T-mobile?
[Moto Z2 Force  Guides, News, & Discussion] themustached:
No it doesn't.
[Moto Z2 Force  Guides, News, & Discussion] chinarabbit:
Can we at least root yet?
[Moto Z2 Force  Guides, News, & Discussion] Chainfire:
Is there 'adb shell' access in TWRP ? If so, if you can set up a teamviewer, I could remote in and look around.
[Moto Z2 Force  Guides, News, & Discussion] Az Biker:
* * * Thread Cleaned * * *

Let's keep the comments to Moto Z2 Force guides, and news as the title of the thread suggests.

The politics, personal insults, drama, and profanity have NO place in Xda; take that junk to FB or other social media.

Please post within the guidelines of Xda Rules.

If you find a post offensive or thin it violates the rules, simply REPORT the comment and do not engage that user. It will only lead to further violations, clutter and user accounts being disabled.

To those of you who do the right thing daily, thank you!
[Moto Z2 Force  Guides, News, & Discussion] themustached:
I am unable to get it to do ADB shell, but can send stuff through sideload. So I don't know why the shell won't work.
[Moto Z2 Force  Guides, News, & Discussion] joemossjr:
Last night I think I made a break through in something. What we did was take the updated magisk scripts that were uploaded to the magisk GitHub and we built our own magisk update. What I did was manually patch the boot img and I had to do some edits to the boot_patch.sh to allow manual patching after taking the particular part out I was able to create the patched boot img and unlike the others that did boot but didn't have root this one didn't boot but acted like it was going to. It did the initial vibration then rebooted to recovery. I'm thinking the se policy part I took out may have done something that didn't allow it to boot. Second guess would be noverity didn't patch correctly and the system wouldn't boot

---------- Post added at 04:18 PM ---------- Previous post was at 04:05 PM ----------

I have an updated twrp with adb ability but won't function says .sh not available. Something like that. It's only sees the contents of the boot img for some reason and can't mount anything [MENTION=631273]Chainfire[/MENTION]
[Moto Z2 Force  Guides, News, & Discussion] chinarabbit:
What are the odds a custom rom works with all the mods, like the Hasselblad and the Projector etc
[Moto Z2 Force  Guides, News, & Discussion] joemossjr:
100% after it's been achieved
[Moto Z2 Force  Guides, News, & Discussion] filthyfnj24:
I don't think this is the place to ask. Let's just let the people that are working on backup and root do their thing here.
[Moto Z2 Force  Guides, News, & Discussion] themustached:
The CF-AUTOROOT does the initial vibration as well but it just reboots. So wonder whats happening.
[Moto Z2 Force  Guides, News, & Discussion] joemossjr:
I'm sure it has to do with sepolicy or dmverity
[Moto Z2 Force  Guides, News, & Discussion] chinarabbit:
The thread is root/twrp/roms..

So...

Probably a good place to ask about the potential functionality of roms.

Just let that do its thing
[Moto Z2 Force  Guides, News, & Discussion] mr turtle droid:
Please join our Hangouts group so we can get some root going ;)

Join the conversation on Hangouts: https://hangouts.google.com/group/UKi2bRavYeURQtUy1
[Moto Z2 Force  Guides, News, & Discussion] revulv:
Anyone with the T Mobile variant that's tested it? I have the T Mobile variant and will make the plunge if no one else will? One person says it doesn't.. Anyone else?
[Moto Z2 Force  Guides, News, & Discussion] themustached:
It works on TMobile variant.
[Moto Z2 Force  Guides, News, & Discussion] meathammer386:
So the tmobile vareint has been rooted
[Moto Z2 Force  Guides, News, & Discussion] themustached:
Yes. Others can also be rooted.
[Moto Z2 Force  Guides, News, & Discussion] meathammer386:
Sweet is there a guide yet
[Moto Z2 Force  Guides, News, & Discussion] revulv:
The CF Auto Root image he posted works for the T Mobile variant?
[Moto Z2 Force  Guides, News, & Discussion] themustached:
Step by step guide I don't think so. But if you check out the first post on this thread you can find more info.
[Moto Z2 Force  Guides, News, & Discussion] meathammer386:
Ok thanks for the info ill see if i can figure it out
[Moto Z2 Force  Guides, News, & Discussion] themustached:
No. Check first post on this thread.
[Moto Z2 Force  Guides, News, & Discussion] revulv:
That's why I reasked you the question. Think you misunderstood me the first time around.
[Moto Z2 Force  Guides, News, & Discussion] themustached:
I realized that a few minutes ago. My bad.
[Moto Z2 Force  Guides, News, & Discussion] filthyfnj24:
Has anyone attempted on Sprint yet? I'm hooked up to the computer now and my trigger finger is getting itchy.
[Moto Z2 Force  Guides, News, & Discussion] Uzephi:
I am just getting home and I will give it a go.

---------- Post added at 20:52 ---------- Previous post was at 20:27 ----------

Method: below in spoiler is the full cmd from windows 7.

For some reason just flashing the boot image went to partition B instead of A like post two. Do I have to do the whole manual patching?

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved

C:\Users\Uzephi>adb devices
List of devices attached
*********serial device

C:\Users\Uzephi>adb reboot-bootloader

C:\Users\Uzephi>fastboot flash boot new-boot.img
error: cannot load 'new-boot.img'

C:\Users\Uzephi>cd downloads

C:\Users\Uzephi\Downloads>fastboot flash boot new-boot.img
target reported max download size of 536870912 bytes
sending 'boot_b' (23172 KB)...
OKAY [ 0.575s]
writing 'boot_b'...
OKAY [ 0.292s]
finished. total time: 0.872s

C:\Users\Uzephi\Downloads>

Edit: tried both Titanium backup and Root browser. With TB I tried backing up system app: success. Tried removing same app. (amazon app and audible) Failed unable to find APK. Went into Root Browser and tried manually removing the app, nowhere to be found. Magisk Manager shows two check marks showing magisk root is enabled and even granted SU to TB and RB. They both acted unrooted. I think I'm doing something wrong here...
[Moto Z2 Force  Guides, News, & Discussion] Chainfire:
It'd be helpful if you documented which change fixed things. I know you have Magisk working now but I'd still like to know why the SuperSU image didn't.
[Moto Z2 Force  Guides, News, & Discussion] themustached:
I'm honestly not for sure.

All I did was take the latest Magisk build and change a line in the boot_patch.sh to point directly to our sepolicy file. And once I did that it worked out fine. I did the manual patch of the boot.img through adb.
[Moto Z2 Force  Guides, News, & Discussion] Uzephi:
Question: does your Magisk manager show the image below? Mine doesn't have root but acts like it has root somewhat. Magisk is getting root requests and gives "root" but no apps act like they have root.
[Moto Z2 Force  Guides, News, & Discussion] ErickF:
Mine looks like that but then i go to install adways hosts, it applies them and then it goes back to acting as if i dont have root. but when i reboot it goes back to how that image looks

edit: adaway would act as if it wasnt rooted when i reload the app after installing the hosts but then when i restart it goes back to normal with root
[Moto Z2 Force  Guides, News, & Discussion] joemossjr:
Newest Kernel link for tmobile users August patch Newest magisk kernel

---------- Post added at 08:37 AM ---------- Previous post was at 08:32 AM ----------

As of right now guys there will be bugs most can be fixed by getting system to mount rw which isn't hard to do. ive been doing personal testing and aftrer getting the system to mount rw i can delete apps i can install busybox although a different version it still installed. things like magisk modules arent working and thats either due to the fact were running unreleased magisk or something just not working right but as of right now root has been accomplished and things are being worked on even more. so just stay hyped and have patience!
[Moto Z2 Force  Guides, News, & Discussion] sabrdawg:
I just want to give a big shoutout to all the devs involved in making root available! I know what I'll be doing tomorrow! :)
[Moto Z2 Force  Guides, News, & Discussion] razrlover:
Time to get the phone. ????

Thanks to #Chainfire and everyone here putting in the work! Another device sees the light!
[Moto Z2 Force  Guides, News, & Discussion] filthyfnj24:
Awesome guys, thank you for all of your hard work.
[Moto Z2 Force  Guides, News, & Discussion] revulv:
Was anybody able to help chainfire with what he was asking? I may be able to help later tonight.
[Moto Z2 Force  Guides, News, & Discussion] :
Appreciate what everyone has been doing but i agree with the above person. We need SuperSU for those who do not want Magisk. Call me old school but i refuse to use it.

[MENTION=631273]Chainfire[/MENTION], hopefully we can help him get SuperSU taken care of.
[Moto Z2 Force  Guides, News, & Discussion] logikism:
Can someone write up a step by step tutorial from the very begining? Tmobile variant here...
[Moto Z2 Force  Guides, News, & Discussion] iwould4adollar:
Thanks for all the hard work you guys put into this!

Quick question. On T-Mobile will the rooted boot.img from the first post root the newest system update (NCX26.5) or just the old firmware (NCX26.2)?

EDIT: missed the update a few posts back with the August updated boot.img. That should answer my question, duh.
[Moto Z2 Force  Guides, News, & Discussion] FrankenDroid:
I'll second that! :)
[Moto Z2 Force  Guides, News, & Discussion] joemossjr:
Doing that right now (:
[Moto Z2 Force  Guides, News, & Discussion] revulv:
Should post this under ROMs recoveries, etc.
[Moto Z2 Force  Guides, News, & Discussion] iwould4adollar:
Worked like a charm. Thanks again!
[Moto Z2 Force  Guides, News, & Discussion] joemossjr:
New thread is up!
[Moto Z2 Force  Guides, News, & Discussion] Chrisy8s:
Link to new thread?

Can someone link to the new thread?
[Moto Z2 Force  Guides, News, & Discussion] sabrdawg:
https://xdaforums.com/z2-force/how-to/how-to-root-moto-z2-force-t-mobile-t3672933/page7

:)

---------- Post added at 05:32 AM ---------- Previous post was at 05:28 AM ----------

I just want to report back a few things for everyone's info! First of all, Titanium Backup backed up all my selected apps without a hitch! I tried using FlashFire to do a backup as we're still waiting on TWRP, and it went to a black screen, lol. I just booted to bootloader mode and restarted the device. Welp, I gave it a shot, anyway; no biggie :P Finally, I gave Substratum a spin, and it didn't take, but I figured just as much, as this isn't an AOSP or Lineage ROM ;) I want to thank the devs again for making root possible!
[Moto Z2 Force  Guides, News, & Discussion] cfriendr:
FlashFire won't work at the moment.

Substratum should be working though. This is an AOSP rom. It's working for me just fine.
[Moto Z2 Force  Guides, News, & Discussion] logikism:
Is there any word on twrp?

Can I use a flashing app to flash a zip?
[Moto Z2 Force  Guides, News, & Discussion] themustached:
Nothing so far but I bet it gets done soon. Only time will tell.
[Moto Z2 Force  Guides, News, & Discussion] Chainfire:
Oddball question, but if there's someone here who *hasn't* unlocked their bootloader yet, can I possibly get the output of "getprop" and "mount" from adb shell ?

Seems dm-verity is disabled on bootloader-level on the unlocked devices I've seen, which is pretty weird (at least, I have never seen this before). Now I'm wondering if that is true for devices that haven't been unlocked as well. That would be even weirder (and possibly violate Google's rules).
[Moto Z2 Force  Guides, News, & Discussion] logikism:
Delete
[Moto Z2 Force  Guides, News, & Discussion] sabrdawg:
Well, I discovered something: although applying the Spectrum theme didn't seem to take at first, after my phone died and I just charged and booted it, it seems to have worked! Digging my favorite Aqualime theme :)
[Moto Z2 Force  Guides, News, & Discussion] iwould4adollar:
I've got my wife's phone sitting here if you could give me the adb commands, I'll go ahead get that if you still need.
[Moto Z2 Force  Guides, News, & Discussion] Chainfire:
adb shell getprop

adb shell mount

to get the output into files:

adb shell getprop > getprop.txt

adb shell mount > mount.txt
[Moto Z2 Force  Guides, News, & Discussion] iwould4adollar:
All goes well until getprop.txt. I keep getting access denied. Would it work if I took the the output in the cmd prompt window copy/paste into text file?
[Moto Z2 Force  Guides, News, & Discussion] Chainfire:
I think that means adb is being executed in a working directory you don't have write access to.

Copy/pasting into a text file is perfectly fine.
[Moto Z2 Force  Guides, News, & Discussion] Chainfire:
Well, you did getprop twice, and no mount :D

But no matter, thanks, I got the information I needed.

Your device is actually in verity-enforcing mode as it should be. Something in the rooting process (probably the unlock itself) switches it to logging mode instead. Interesting.
[Moto Z2 Force  Guides, News, & Discussion] iwould4adollar:
Sorry about that. :p Glad it helped at least.
[Moto Z2 Force  Guides, News, & Discussion] :
I'll vouch that Google or Motorola did a number on our device. I wouldnt doubt if there is alot of problems with magisk that people arent seeing.
[Moto Z2 Force  Guides, News, & Discussion] Chainfire:
CF-Auto-Roots are now available for this device as well - https://xdaforums.com/z2-force/how-to/cf-auto-root-t3676029
[Moto Z2 Force  Guides, News, & Discussion] cfriendr:
Is there any benefit rooting via this method?
[Moto Z2 Force  Guides, News, & Discussion] Chrisy8s:
Is there a viable recovery yet?
[Moto Z2 Force  Guides, News, & Discussion] logikism:
Not without source...

*** SO motorola released source of the moto z2 play.....same hardware or no??? can anything be done with it to create a working twrp???
[Moto Z2 Force  Guides, News, & Discussion] :
No, totally different SoC

Qualcomm MSM8953-Pro Snapdragon 626
[Moto Z2 Force  Guides, News, & Discussion] sabrdawg:
Good news :)
[Moto Z2 Force  Guides, News, & Discussion] Uzephi:
Soon™
[Moto Z2 Force  Guides, News, & Discussion] :
LoL, yea "soon". Look at the guy underneath his post.
[Moto Z2 Force  Guides, News, & Discussion] meathammer386:
What is this exactly mean i know it says soon but for what?
[Moto Z2 Force  Guides, News, & Discussion] Uzephi:
Kernel source so we can get a functional twrp and be able to start building custom roms
[Moto Z2 Force  Guides, News, & Discussion] meathammer386:
I dont trust motorolas word they like to lie

---------- Post added at 07:52 PM ---------- Previous post was at 07:51 PM ----------

But it would be nice to have twrp and custom roms
[Moto Z2 Force  Guides, News, & Discussion] Infect_Ed:
Hey boys...just saw this.

https://xdaforums.com/z2-force/how-to/unofficial-twrp-beta-progress-t3678787
[Moto Z2 Force  Guides, News, & Discussion] meathammer386:
Nice
[Moto Z2 Force  Guides, News, & Discussion] Uzephi:
https://github.com/MotorolaMobilityLLC/kernel-msm/issues/124 A Moto Rep is saying by next friday we will have kernel source! I'll start my build box and get it ready for kernel brews for that time. Disclaimer: I have a sprint model and am new to compiling so it might be a week or two before I get a custom kernel made.
[Moto Z2 Force  Guides, News, & Discussion] :
Annnddd... 1 more spot in case no one saw my other posts :)

https://github.com/MotorolaMobilityLLC/kernel-msm/tree/nougat-7.1.1-release-nash
[Moto Z2 Force  Guides, News, & Discussion] Uzephi:
Having the Missus install Arch roght now so I can try a clean build of just source when I get off work to see if doing it as an img flash will cause issues and if tweaking would be needed. I know from Motorola's past they leave things out and I hope everything is there. After I see a clean build work, I will get a build with some minor tweaks for stock until we get a rom built.
[Moto Z2 Force  Guides, News, & Discussion] :
Good deal. We just need a fully functional TWRP first.
[Moto Z2 Force  Guides, News, & Discussion] Uzephi:
Until TWRP works, the kernel could be built in the boot.img so it sill be flashable via command prompt.
[Moto Z2 Force  Guides, News, & Discussion] Chrisy8s:
Off topic but probably not worthy of its own thread? I have been experiencing a red/pink vertical line down the screen. It appears sometimes when I use the fingerprint sensor to unlock or turn on the screen. Anyone else notice this? Might need to contact Moto for warranty return.
[Moto Z2 Force  Guides, News, & Discussion] TheKnux:
I'll just leave this here but you guys are probably already aware.

https://www.xda-developers.com/magisk-14-1-official-google-pixel-support/

Added support for devices with A/B Partitions (our device).
[Moto Z2 Force  Guides, News, & Discussion] razrlover:
Yes i saw it too, it was a good time to buy this device!
[Moto Z2 Force  Guides, News, & Discussion] TheKnux:
The day has come my friends!

http://www.androidpolice.com/2017/09/28/motorola-releases-kernel-source-moto-z2-force/
[Moto Z2 Force  Guides, News, & Discussion] meathammer386:
Sweet now hurry up and build some roms wait first twrp
[Moto Z2 Force  Guides, News, & Discussion] :
Flashfire app should work too in place of TWRP, i forgot about this.
[Moto Z2 Force  Guides, News, & Discussion] themustached:
It works wonderfully, just make sure you're near a computer if you flash an untested kernel, because your phone may not boot. Did this yesterday and my phone was dead for like an hour.
[Moto Z2 Force  Guides, News, & Discussion] TheKnux:
Can't we unlock bootloader, root, use latest Magisk (14.2) patch the boot.img, then reboot and still have root then flash the WIP TWRP and go from there?

I figured it's kinda awesome that the update to Magisk allows dual partition devices and the kernel source for our device came out in the same week so maybe now when the train starts rolling we can maybe get Resurrection Remix on this beast! :P
[Moto Z2 Force  Guides, News, & Discussion] sabrdawg:
RR is one of my favorite ROMs!
[Moto Z2 Force  Guides, News, & Discussion] Uzephi:
Boot, recovery, and kernel are all on the same image that flashes. Once you flash the twrp boot image, it will write over the Magisk boot image and lose root. I already tried patching the stock boot image with 14.2 and it resulted in a boot loop.
[Moto Z2 Force  Guides, News, & Discussion] themustached:
You'd have to edit boot_patch.sh to point it to your sepolicy to keep it from boot looping. You'd have to manually patch it.
[Moto Z2 Force  Guides, News, & Discussion] Uzephi:
Makes sense. I was doing all this while at work. Needless to say good thing my boss is okay with me plugging my phone into company property to break it then recover from it.
[Moto Z2 Force  Guides, News, & Discussion] themustached:
I definitely do the same at work. I'm constantly breaking and fixing my phone at work. If you want I can throw together a boot img for you with newest magisk.
[Moto Z2 Force  Guides, News, & Discussion] TheKnux:
If you could do that it would be great. Just got off of work and about to unlock my bootloader once I get settled in. I'll be more than happy to test.
[Huawei P10 Questions & Answers] aalmeida1972:
Does anyone have an idea when the Android Oreo will be available to the VTR-L09?

Thanks
[Huawei P10 Questions & Answers] freibergisch:
As google said, it arrives by the end of 2017. So, be patient, it can't be rolled out before 2018, I think. January, February 2018 maybe. (December would be great, but I do not think so)

Gesendet von meinem VTR-L09 mit Tapatalk
[Huawei P10 Questions & Answers] Jannomag:
With Huaweis update handling it wouldn't come until Q1 2018 even though Oreo was released yesterday. And I hope they make an EMUI 6.0 with new improvements and 3rd party app support.
[Huawei P10 Questions & Answers] paulsimon:
Android Oreo (8.0) is rolling out in phases across Pixel & Nexus handsets this month at some point.

Looking at how long it has taken carriers to update Huawei handsets so far, I don't think we will see rollout to P10's until Q1/Q2 2018 unfortunately.

Would love to be proved wrong, but can't see it ?
[Huawei P10 Questions & Answers] pdsubbu:
Waiting early for Android reo

Waiting early for Android reo!

February 2018 is not too far!
[Huawei P10 Questions & Answers] edvinnn:
Do Huawei tend to update their devices fast? What's their previous record on previous devices?
[Huawei P10 Questions & Answers] freibergisch:
Huawei is not known as a fast updating one.. you can only hope for updates by the end of 2017.. but I guess it arrives in the first quarter of 2018.

Gesendet von meinem VTR-L09 mit Tapatalk
[Huawei P10 Questions & Answers] gxg:
On Weibao there are pictures and roumours that MATE 10 will come with Oreo. I think it will come in December, or latest in early Q1 2018.

I found that there is an experimental P10 rom with Oreo.. but only in china devices.