yashsingh1/xdaforums huggingface dataset:
[Huawei P9 Questions & Answers] cv4n3:
My best guess would be the same method I used to 'debrand' my one.

My one was from Orange and had 2 of their apps i couldn't uninstall.

Steps I did to convert it to c432b180.

- Download SRK tool + C432 full update zip

- Unlock bootloader with srk tool

- Root

- Once rooted use the change oeminfo and custom.bin to c432.

- Restart device in update mode (vol + - and power) with the dload file method in sdcard.

My device was then coverted to c432.

If bootloader is still unlocked, relock with srk.
[Huawei P9 Questions & Answers] Mohammed Bouzaid:
Are you sure ?

cause I really don't wanna mess my phone up !

:p:p
[Huawei P9 Questions & Answers] ZAD000:
i can confirm this procedure works. i converted my P9 demo to EU and and it worked without any problem. i upgraded to nougat 7.0 and had battery drain issues and downgraded to C432B136 without any problems.

Best of Luck!!
[Huawei P9 Questions & Answers] Mohammed Bouzaid:
I'm sorry to bother you, but can you provide some links and explain the procedures ?

I'm new to Huawei World :confused::confused:
[Huawei P9 Questions & Answers] Mostar088:
http://xdaforums.com/p9/development/tool-srk-tool-huawei-bootloader-root-t3374068/page1

http://xdaforums.com/p9/how-to/vdo-guide-how-to-debrand-huawei-phone-t3410045/page1
[Fire Q&A, Help & Troubleshooting] slickdaddy96:
I used the SuperTool method to root and block OTA. My daughter loves playing Pokemon Go, and since the tablet is rooted now it won't work. I have been told installing Magisk is the best way to get around it. In order to do this I think I need a custom recovery and I need to unroot as Magisk roots when you install it. I'm just worrying that it may not be compatible with the Fire and I don't want to brick it. I am on 5.1.2 bootloader, so I guess I need to install FlashFire then try to install Magisk?

There is no tutorial on how to do this specifically for the Fire, so I'm tempted not to touch it and just tell her she is out of luck.
[Fire Q&A, Help & Troubleshooting] DB126:
I would go with your gut (just say 'no'). Magisk may or may not know how to root a 5th gen Fire and FlashFire is not a custom recovery. Initial sniff tests detect a foul odor. In addition, the device lacks a physical GPS chip which makes playing the game a challenge. You can go with 'mock' locations but that's a hassle and takes the fun out IMHO.
[Fire Q&A, Help & Troubleshooting] slickdaddy96:
The weird thing is that the app works on it and is downloadable as compatible. I didn't think it had a GPS chip, but I can't figure out how it knows she is walking, but it does around the house and around the yard while she is on wifi. That one has still baffled me, but not enough to care to find out how it is still working.
[Fire Q&A, Help & Troubleshooting] DB126:
Google Location Services 'maps' AP (WiFi) locations and does a pretty decent job approximating current location based on signal strength. Results are even better in AP dense areas like neighborhoods, apartment complexes, etc.
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] InterfaceNode:
Overview

SlimROM, we all know it I guess..

Download

Zuk Z2

*Alpha: Feedback needed, unknown stability

More prop blobs needed.

Z2 Configurations

Device

Kernel - Github Pending

Kernel is unified and can also be used with Z2 Pro

Vendor

Alpha Notes:

This may not boot, I'm like 65% sure it will. =<

I'm pretty sure my configurations are correct, we'll see right?

This device is very similar to the Z2, since they are using a unified kernel I believe they may also be able to use unified props etc etc, so we'll see.
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] InterfaceNode:
This will be done building within the next hour, a few things to note.

Z2 and Z2 Pro share very similar HW, I have used many of the same "software drivers" between these phones.

If this build boots on the Z2 Pro, I will post my configurations which will be "Good enough" for others to use as a base.

I would like to know the following ASAP:

- Wifi

- Camera

- GPS

Thank you, I'll post DL link in 30-45 minutes; this will be finished building by then.
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] lazydesi:
what is the difference between this thread and the below one?

http://xdaforums.com/zuk-z2-pro/how-to/rom-slimrom-6-0-1-z2-pro-t3470186
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] cj-chow99:
z2 pro

I think this rom is built for z2 pro...

---------- Post added at 02:56 AM ---------- Previous post was at 02:41 AM ----------

:good::good::good::good::good::good::good::good::good::good::good::good:

this is the best news i have got this week!
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] InterfaceNode:
Uploading now; sorry... that took way longer than I expected.
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] InterfaceNode:
Did you make this account just to make this post? que lindo

It seems the Z2 Pro has many more users; I'm really looking forward to getting feedback and the upload of this is 20% complete as of this writing; so sometime in the next 10 minutes
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] cj-chow99:
yup! this account is only for making this post!

thanks a lot for your hard work!
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] InterfaceNode:
It's up, feedback will result in almost instant rebuilds from this point on by the way

Edit: Really... since the Z2 and Z2 Pro are almost identical phones on a HW level I have used basically identical configurations.

Maybe some HW things will be broken, I am excited to begin debugging
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] cj-chow99:
I will share your rom on the ZUK official BBS, is it OK?
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] InterfaceNode:
If it works, but I'm not sure if it even does.

This is very much an Alpha build, ok?

Have you tried it even?

Edit: Remember, I don't own the device :P
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] cj-chow99:
not yet, I have to backup it firstly...
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] InterfaceNode:
Just saying, I am depending on people to confirm it so please before posting anywhere :X

Also if the HW support isn't fully function I would like time to resolve it before posting it too; please leave feedback
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] OtakuLi:
thx bro, this is very helpful

because according to the Chinese zuk website, a lot of people complained that the source code is not 100% released,

that's why alot of sensors dont work.

But i am very happy to see developers finally taking this step moving forward.

if u need help with translating chinese from the chinese zuk website, i would like to help.
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] InterfaceNode:
I don't own this device at all, I just looked at the hardware and created something that I felt looked like would be fine.

There may still be HW problems; I haven't used this ROM and really depend on user feedback the most.

Honestly when I started threads here at first I was just high and thought it was funny that people were trying to start a donation pledge for ROMs or w/e.

HostZero is the only other person with a fork of CM for the Z2 Pro but I literally don't understand his configs they have been structured in a way that really annoys me.

Because I do not understand them I don't feel good about touching them; it's possible he may be right but his configs want things from Oppo device which he used for staging.

I think those configurations are not right so I've kind of had to build the Z2_pro configs from what I know of the device (barely nothing outside of it's specs)

It may not even boot; so I mean if people are flashing and using this I want to know because it is largely unknown what is happening with it function-wise
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] cj-chow99:
the recovery said "this package is for device z2_row; this device is Z2P"

I think it was the signature problem.
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] InterfaceNode:
WOOPS LOL, I misnamed the device! Yeouch yeouch

Remove the assert in updater-script or wait a minute LOL

assert(getprop("ro.product.device") == "z2_row" || getprop("ro.build.product") == "z2_row" || abort("This package is for device: z2_row; this device is " + getprop("ro.product.device") + "."););

This is incorrect on my part; ups.
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] shaoyuan:
Which recovery i should use? it's failed to me with TWRP 3.0.2
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] cj-chow99:
wait for a while,this is the problem of rom signature, not TWRP, he is changing now.

---------- Post added at 06:29 AM ---------- Previous post was at 05:56 AM ----------

go to sleep now, check it tomorrow
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] vittogn:
Are you planning to buy the hw? I'd be happy to contribute for a purchase.

Thanks.
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] syedtahir16:
Is this updated? Can I test the the build now?

This is exciting. :) :good:
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] InterfaceNode:
Updated... really disappointed someone couldn't remove that line in updater-script.. since that line is the only major difference.

Well, let's see now.
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] OtakuLi:
Yea, currently I'm owning a z2 pro device and waiting for the cm rom for a long time. There are a couple of roms are able to boot currently. If u need the source code, u can go look up mokee rom. They release update very often. But the problem is that because the official open source code is not completely release due to some patent issue, that's why alot of sensors dont work, wifi can't switch to data and vibration is missing on many z2 pro cm roms.

I think the donation is not a joke because many people pleasing lenovo to release their full source code but they just arent responding. That's why they wanna donate to find some good developers.

I bought this phone because i thought it was gonna be a good phone to flash many roms like moto, but i am very disappointed at this point. I owned a lg g3 d855 before, that phone was very fun to play around with because many 3rd party roms worked on it. After i switched to zuk, i lost hope.
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] InterfaceNode:
I don't care to accept donations because I literally have a strong hatred for people who offer with the clause "once it's perfect"

If I hear that I'll abandon this device so fast your head will spin. :Q
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] syedtahir16:
I tried to directly flash and below is the error:

"Can't install this packaged on top of incompatible data. Please try another package or run a factory reset. Updater process ended with error : 7

Wiped my device (Data, system, cache). Installed again:

mount: failed to mount /dev/block/bootdevice/by-name/system at /system

patching system image unconditionally

system partition has unexpected contents after OTA:

Updater process ended with error : 7
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] InterfaceNode:
I mean it would be cool to own the device (I guess?) but it's not really required for me to own a device to build for it LOL

I consider folks who say "I need the device to build" as total garbage; they're either brain-damaged or just lying to run game for a free device
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] InterfaceNode:
Who knows, this may be user-error?

It seems your phone maybe hasn't been wiped; fastboot -w is the best policy combined w/ ADB sideload but I'll wait for someone else before pushing a rebuild
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] syedtahir16:
Sounds good. Also, is there any specific log you would need to troubleshoot when it fails? or just the error on the screen would suffice? I'll definitely keep in mind to grab the log before I restore my device.
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] cj-chow99:
did u unlock your phone yet? anyway, I will try it later.
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] syedtahir16:
Yes, it is already unlocked.
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] MacLaughlin:
No. The build which is currently up isn't working.
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] syedtahir16:
That's right. I tried it now and it failed.
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] InterfaceNode:
Yeouch, Does anyone have error log?

Perhaps my bring-up of configs was improper somehow.
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] InterfaceNode:
http://en.miui.com/thread-119033-1-1.html

Is it similar to this
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] InterfaceNode:
It may be a "Fake error" etc.
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] MacLaughlin:
The only thing that comes up is, that this isn't for the z2 pro.
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] InterfaceNode:
It is, on every level.

The thing is that I'm not sure what the models of Z2 pro identify as in assert; that's why I said "Please remove the assert from updater-script"
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] MacLaughlin:
Ah okay, haven't read that.

---------- Post added at 06:07 PM ---------- Previous post was at 06:06 PM ----------

Just saw you have removed the download link.
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] cj-chow99:
the same error:

Updater process ended with error : 7
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] InterfaceNode:
I'll inspect this closely, hold on a few.
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] syedtahir16:
I removed the assert and tried.

Here is the log:

Installing zip file '/sdcard/Media/zROMS/Slim-z2_row-6.0.1.build.1.4-UNOFFICIAL-20161003-0248.zip'
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip contains SELinux file_contexts file in its root. Extracting to /file_contexts
I:Legacy property environment initialized.
Target: ZUK/z2_row/z2_row:6.0.1/MOB31E/8201404d97:userdebug/test-keys
minzip: Extracted 3 file(s)
about to run program [/tmp/install/bin/backuptool.sh] with 2 args
mount: failed to mount /dev/block/bootdevice/by-name/system at /system: No such file or directory
grep: /system/build.prop: No such file or directory
Not backing up files from incompatible version: Slim-6.0
run_program: child exited with status 127
unmount of /system failed; no such volume
_____________________
/ www.slimroms.org |
/ |
/ ___________________|
/ / ___
/ / ___/ \
/ / / \___/____ ____
/ / | |___/ \_/ |
___________/ / | | | |
| / | | | | | |
| / | | | | | |
|_____________/ \___^___^___^___^___/

about to run program [/tmp/install/bin/otasigcheck.sh] with 1 args
performing update
open "/dev/block/bootdevice/by-name/system" failed: No such file or directory
script aborted: system partition has unexpected contents after OTA update
Patching system image unconditionally...
Verifying the updated system image...
system partition has unexpected contents after OTA update
Updater process ended with ERROR: 7
I:Legacy property environment disabled.
Error installing zip file '/sdcard/Media/zROMS/Slim-z2_row-6.0.1.build.1.4-UNOFFICIAL-20161003-0248.zip'
Updating partition details...
I:Data backup size is 0MB, free: 105664MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'auto'
...done
I:Set page: 'flash_done'
I:operation_end - status=1
I:Set page: 'clear_vars'
I:Set page: 'install'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'action_page'
I:operation_start: 'Copy Log'
I:Copying file /tmp/recovery.log to /data/media/0/recovery.log
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] InterfaceNode:
I'll rebuild with slight different options; I believe I understand why

http://xdaforums.com/showthread.php?t=2318497

This is using ADB sideload, right?
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] syedtahir16:
I made some progress. I was reading about the CM 13 ROM and apparently, you can flash that only using a certain TWRP. So I Installed that TWRP and tried installing SlimRom

ROM Install : Success but I'm stuck on the ZUK boot screen. I' going to give it a good 15 mins before I can say I'm stuck in a bootloop. But while I'm on that, is there any log that would help troubleshoot?

Below is the recovery log :

Installing zip file '/sdcard/Slim-z2_row-6.0.1.build.1.4-UNOFFICIAL-20161003-0248.zip'
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip contains SELinux file_contexts file in its root. Extracting to /file_contexts
I:Legacy property environment initialized.
Target: ZUK/z2_row/z2_row:6.0.1/MOB31E/8201404d97:userdebug/test-keys
minzip: Extracted 3 file(s)
about to run program [/tmp/install/bin/backuptool.sh] with 2 args
grep: /system/build.prop: No such file or directory
Not backing up files from incompatible version: Slim-6.0
run_program: child exited with status 127
about to run program [/tmp/install/bin/otasigcheck.sh] with 1 args
_____________________
/ [url]www.slimroms.org[/url] |
/ |
/ ___________________|
/ / ___
/ / ___/ \
/ / / \___/____ ____
/ / | |___/ \_/ |
___________/ / | | | |
| / | | | | | |
| / | | | | | |
|_____________/ \___^___^___^___^___/

performing update
blockimg version is 3
maximum stash entries 0
creating stash /cache/recovery/2bdde8504898ccfcd2c59f20bb8c9c25f73bb524/
254492672 bytes free on /cache (0 needed)
writing 205043 blocks of new data
Patching system image unconditionally...
zeroing 22405 blocks
erasing 542600 blocks
wrote 227448 blocks; expected 205043
max alloc needed was 4096
deleting stash 2bdde8504898ccfcd2c59f20bb8c9c25f73bb524
Verifying the updated system image...
Verified the updated system image.
about to run program [/tmp/install/bin/backuptool.sh] with 2 args
find: /tmp/addon.d/: No such file or directory
find: /tmp/addon.d/: No such file or directory
find: /tmp/addon.d/: No such file or directory
cp: can't stat '/tmp/addon.d/*': No such file or directory
script succeeded: result was [0.200000]I:Updater process ended with RC=0
I:Legacy property environment disabled.
Updating partition details...
I:Data backup size is 0MB, free: 104788MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
...done
I:Set page: 'flash_done'
I:operation_end - status=0
I:Set page: 'clear_vars'
I:Set page: 'install'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'action_page'
I:operation_start: 'Copy Log'
I:Copying file /tmp/recovery.log to /data/media/0/recovery.log
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] InterfaceNode:
Do you have ADB from the possible bootloop?
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] syedtahir16:
I don't think the boot process went far enough to start the adb daemon. So I couldn't grab any.. If there's a method to do that, then I'll definitely give it a shot.
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] InterfaceNode:
The next build I push will enable ADB on boot for debugging.

Not going to lie; I almost scrapped my configs but felt it was a sideload thing :<
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] izanagi_kami:
Some news?
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] InterfaceNode:
Today

Also [MENTION=6792590]HostZero[/MENTION] let's talk
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] HostZero:
We are done building, actually bad kernel sources are making issues may be we can fix them up. But if you have vendor sources please provide us we are not able to do without vendor.
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] InterfaceNode:
I understand, I will upload my kernel for you right away.

If you have any errors building in CyanogenMod with this kernel please give me the log and I will fix them right away, I am using AOSP and some requirements may not be the same.

I've also begun working on the bring-up of vendor files but I can't help but notice it wants some proprietary things, this may take slightly longer for me to finish but I will expedite it
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] InterfaceNode:
I'm going to say something highly sketchy: Are you asking me if I have the prop blobs or prop code used to generate them?

I do have the QCOM proprietary source that is placed in the vendor/proprietary folder; but we cannot distribute that and people won't be able to build it without those dependencies.
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] InterfaceNode:
Here's a current issue I'm experiencing with vendor props.

It wants BTNV, ok fair enough; I give it a rule to use BTVN prop file but it wants proprietary.h files.

If I use them I progress; but you see where we're already in a grey area
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] HostZero:
those are already opensourced! we are asking for vendor/zuk/z2_row (or) z2_plus
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] InterfaceNode:
Vendor Files: https://mega.nz/#!Fd8jhYYD!mf6ynnQWNx-VSgcezHy5v8oAbQajU31CWUedWBhX6WQ

I'll be uploading my kernel soon, but you'll maybe find you can't build with it because it wants closed-source HW files as I've said.

I'm sure my vendor files are incomplete; but substantial changes have happened in kernel and device configs so...

For everyone else, I'd like feedback; I expect wifi to perhaps be broken.

I would like for everyone reading this to note a few things:

- The Chinese devs are greedy, they are keeping closed-source configs my configs have no direct relation to what they are doing

- I don't own this device but a similar device; this is an approximation so it may not be flawless.

As usual I depend heavily on people to give me feedback ASAP, it will result in a faster build
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] InterfaceNode:
Ok so I fked up and linked to a prior Slim build; the one in OP as of this post is the correct one.

Also I've posted my device configurations and will begin uploading the kernel soon.

The builders over on China side are using prebuilt kernel, I believe any issues that MAY exist in the latest build will be related to props and NOT to kernel.

(I built one by hand, so it can be maintained as Android levels up; depending on prop kernel fking sucks)

It is really grimey of the Chinese developers to not upload their configurations to Github but it is what it is; over on our side I'll try to be transparent but I would like all developers reading this to consider I'm not here to steal glory or whatever, just to bring up the device tree.

If someone uses my code I don't require credit I really do not care as long as things move forward; so if anybody has suggestions or knows a place I ****ed up in my configurations and has a correction, or would like to maintain for this device I'd be absolutely willing to contribute in a secondary role.

That being said I won't work w/ people who are pimping for donations; I'm not trying to get someone else paid lol
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] cj-chow99:
does anyone try this rom? and any feedback?

I think tomorrow I will take a try
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] InterfaceNode:
Good god plz, I feel that nobody has posted is almost a good thing and may mean it's fine
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] MacLaughlin:
Just flashed it with open gapps. Build isn't booting. Screen stays with the zuk logo.
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] InterfaceNode:
Seems more prop blogs are required. :<
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] MikeS.:
Any updates here?
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] InterfaceNode:
Almost finished with Z2, then my undivided attention goes here
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] MikeS.:
THX for the quick update.
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] tikilou:
Good news, "Emmaus" on Zukfans correct and complete source code and successfully compile rom+kernel based on Cyanogenmod for Zuk Z2 Pro => http://zukfans.eu/community/attachments/screenshot_20161027-154714-png.570/

http://zukfans.eu/community/threads/development-of-cyanogenmod-need-help.395/
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] be_mler_:
Hi,

I started with your uploaded sources but for now it's impossible to build.

The reason why the cinese devs dont share their sources is because it contains spyware which generates monay for them...

would be great if i can get some help
[Lenovo Zuk Z2 Pro Guides, News, & Discussion] SilentEYE:
Can you show us where the spyware is in the code?