yashsingh1/xdaforums huggingface dataset:
[Zuk Z1 Q&A, Help & Troubleshooting] cfds:
I am down to 1 ZUK as the "newest" failed during a phone call...dead from one sec to the other. Tried to reboot it and got some sort of vibration sequence. Then it showed a penguin on the display...never seen that before - Linux?! Anyway decided against putting time and effort in the phone and bought a Huawei Mate 9 for my daily driver, keep the 2nd ZUK as my backup phone. The 1st phone has served me well and is still going strong although the incident with the other combined with some of the trouble I read here on the forum has made me changing my opinion of the ZUK...I believe the early models where quality wise better than the later ones but you needed also a fair amount of luck to get a "good" example.

No, don't invest in this phone, go for something newer unless they offer it very cheap.
[Zuk Z1 Q&A, Help & Troubleshooting] cfds:
I just wanted to give you an update...

I always thought my ZUK was fast, yes compared to my Samsung galaxy note 4 the ZUK was fast. But now since I have the Huawei Mate 9 for a week I have to admid that the ZUK was showing its age. The Mate 9 is blazing fast. Ok, maybe I should not compare Android 5 with android 7.

No, don't invest in it unless you get it (very)cheap and you are ready to flash a custom rom, something I never bothered in doing. I did all that years ago but now I cannot be asked to spend my time looking trough topics to find out which rom is the most stable etc...I need a reliable phone which is working out of the box. I will keep the ZUK as a spare but he's days of glory are over.
[Sony Xperia XA Guides, News, & Discussion] davixdevelop:
This guide only works for the Single SIM model

As there are no major changes to this version from the last version. the same files with a little modification can be used. Before proceeding with this make sure to backup your DRM keys before unlocking your bootloader. If you unlock your bootloader, before backing up you DRM keys, the DRM keys will be lost forever. The guide for backing up your DRM keys can be found here, and for unlocking the bootloader here. This guide assumes that you already downloaded and installed the latest version of Flashtool from here and that your bootloader can be unlocked. Now moving on.

Required files

Boot: https://drive.google.com/file/d/17NBChXsL15GyQaqaJYUwu0ZijBMRzwMl/view?usp=drivesdk

TWRP Recovery: https://xdaforums.com/xperia-xa/development/f3111-f3113-f3115-twrp-recovery-xa-t3639206

SuperSU: https://s3-us-west-2.amazonaws.com/supersu/download/zip/SuperSU-v2.82-201705271822.zip

DRM fix: https://mega.nz/#!Y0lQnTZI!WG5F2Cf_JpxqsZx59ZOVBydkQMy4Gb25kmWYl1HkzQI

Place boot and recovery to the C:\Flashtool\x10flasher_lib folder. Copy SuperSU and DRM fix to your SD card. Rename the recovery to "recovery.img".

Instructions

1.Turn off your phone and keep holding Volume+ and connect the phone to your PC. Keep holding it until the blue light turns on.

2. Open the command window in C:\Flashtool\x10flasher_lib. Then flash boot and recovery with the commands "fastboot flash boot boot.img" and "fastboot flash recovery recovery.img".

3. Disconnect the USB cable and press Volume- and Power button until you hear a vibration. You are now in the recovery. When it prompts for a password, press Cancel and Swipe to allow modifications.

4. Then go to Wipe and press Format Data. You must do this as if you don't, a boot loop will occur. Then go back and go to Install and select your SuperSU file and swipe to install it. If you have you have a backup your TA image, you can now copy it to /data/local/tmp . Then reboot to system.

5. It will take a couple of minutes for the phone to boot up. Once it boots up, setup Android by your liking, just be sure to skip login into my Xperia as it doesn't work without the DRM fix.

6. Turn off your phone and press Volume- and Power button until you hear a vibration. Swipe to allow modifications. Then go to Install, select your DRM fix file and swipe to install it and wait for the installation to complete. Then reboot to system.

7. That's it. Your phone is now rooted and the DRM functions now work. You should have the SuperSU app on your app list now.

Contributors

[MENTION=1461342]rrvuhpg[/MENTION]

[MENTION=8604937]tplsolution[/MENTION]
[Sony Xperia XA Guides, News, & Discussion] saudahmedbass:
anyone post if they have successfully gained root and have DRM working? please. thanks!
[Sony Xperia XA Guides, News, & Discussion] davixdevelop:
Well, if it didn't work, I wouldn't have had posted a tutorial on it. The phone still works as usual, but I don't use it anymore, as I broke the antenna while I was trying to tinker with it, so I had to buy another one, but I haven't rooted it, as I want it to keep it at stock. Like anything else to do with rooting, it's up to you if you want to risk your warranty.
[Sony Xperia XA Guides, News, & Discussion] saudahmedbass:
thanks for the reply sir.

my warranty is well overdue lol.

so i just asked if it was a succesful root with drm fix on unlocked bootloader.

i saw another post with 33.3.A.1.115 firmware drm fix and people were reporting that it didnt work so i thought i might ask if i will be able to go back to stock firmware with drm restored(i have backed up drm keys) if i mess around. :D still a noob around here :P

thanks again.
[Sony Xperia XA Guides, News, & Discussion] davixdevelop:
IDK about 33.3.A.1.115, as I never received it. The only version I got is the 33.3.A.1.97, so I can only guaranty for this version. Also lucky you that you backed up your DRM keys. When I first unlocked the bootloader, I also wanted to back them up, but it didn't work, even tho I installed an older version of the ROM, as it said so on the tutorial back then. So I got frustrated, and just unlocked the bootloader. That's why I included the DRM fix on this guide :D
[Sony Xperia XA Guides, News, & Discussion] saudahmedbass:
the only reason i want to root and ub is to make camera less laggy. idont know why but i experience camera lag in sony camera app and snapchat in low light whereas MM works fine in low light.

can you tell me if your camera works fine or experience some lag in low light? thanks!
[Sony Xperia XA Guides, News, & Discussion] davixdevelop:
My camera works fine.
[Sony Xperia XA Guides, News, & Discussion] PanagiotisXL:
HELP PLEASE

I did the STEPS EXACTLY but the drm fix didnt work :crying:
[Sony Xperia XA Guides, News, & Discussion] davixdevelop:
When you tried to flash the zip, what error did it say?
[Sony Xperia XA Guides, News, & Discussion] PanagiotisXL:
there was no error in the flashing

but when i went to check the drm keys with this--> *#*#7378423#*#*

the screen i saw was :

Factory Reset Reason: Unknown by

WIPE_COMMAND_DATA from TA_MASTER_RESET

2018-07-22 18:09:38 GMT

WIDEVINE_TEST [Unknown Error]

CKB_TEST [Unknown Error]

PRODID_AID : [Unknown Error]

OTP_LOCK_CONFIG : [Unknown Error]

OTP_LOCK_STATUS : [Unknown Error]

AUTH_ENABLE : [Unknown Error]

DEVICE_ID : [Unknown Error]

And then saw another post about F3111 but for 33.3.A.1.115 not for 33.3.A.1.97 here: https://xdaforums.com/xperia-xa/how-to/f3311-root-patched-drm-fix-ta-backup-t3717103

and His keys are working like shown in the pictures did i do something wrong or this is supposed to happen?
[Sony Xperia XA Guides, News, & Discussion] saudahmedbass:
try reflashing the drm fix zip, if still not fixed try the steps again by formatting data, and reflashing the files like OP said. it should work
[Sony Xperia XA Guides, News, & Discussion] PanagiotisXL:
I did that and didnt work
[Sony Xperia XA Guides, News, & Discussion] aspirasjun:
how to know if DRM is active.??? and what is DRM use on phone.???
[Xiaomi Redmi Note 4 Questions & Answers] Colombino:
Hey guys,

I'm sorry if there is another thread about this but I'm new to Xiaomi (I used to be a LG user until now) and I just got overwhelmed by all the Redmi note 4 and 4x variants...

All I know is that I got a Redmi Note 4x with a MTK deca core CPU, 4GB of RAM and 64GB of storage. My phone is on Android 6 atm, but I found this thread and I was wondering if this is the right one for my phone? I used to flash lots of different roms on my old LG G2, CM12 and others, then restore the stock rom when I got bored of the custom roms - It was plain simple, but since I'm pretty new to Xiaomi and its community isn't as huge as the G2 community I'm scared to brick my device. I could try flashing the given ROM but what if something goes wrong? How do I restore the stock ROM? Is there a "Download Mode" like my G2 had it?

I tried googling for days, but all the variants, different roms etc are just so overwhelming. Is there anyone else here who can confirm that the ROM from the link above will work on my device?
[Xiaomi Redmi Note 4 Questions & Answers] DavidNotDave:
I have the very same question.
[Xiaomi Redmi Note 4 Questions & Answers] Sachin:
Yeah. That's for your phone only.

Any redmi note 4/4x with MTK variant (nikel)

---------- Post added at 10:27 ---------- Previous post was at 10:26 ----------

Yeah. That's for your phone only.

Any redmi note 4/4x with MTK variant (nikel)
[Moto Z Play Questions & Answers] akaleshnikov:
I bought one of these phones from Gearbest, and it's running the "modded" RETCN firmware and it's the XT1635-3 hardware. It came with the bootloader unlocked, but I'd like to restore my phone to RETCA firmware, 6.0.1 and then unlock my own bootloader, root, etc...

The RETCA firmware I'd be using is from the XT1635-2 release, specifically:

XT1635-02_ADDISON_RETCA_MPN24.104-25_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml

I'm wondering, if I flash the bootloader.img from the RETCA package will I run into any troubles? Is this going to brick my phone (assuming the usual risk that flashing brings to bricking ones phone)?
[Moto Z Play Questions & Answers] catsruul:
It shouldn't, just don't flash -02 modem files.
[Moto Z Play Questions & Answers] akaleshnikov:
Why not? I've already done it and it seems to be working fine.
[Moto Z Play Questions & Answers] catsruul:
Great. I'm just going off what I've read from other users' experiences here. I would have gotten a GearBest MZP had I not snagged an Open Box -02 for $260 off of eBay.
[Moto Z Play Questions & Answers] akaleshnikov:
I couldn't ignore the Gearbest price, $245 for a brand new white 64GB? Sign me up.

I don't like the white, but the discount swayed me.
[Moto Z Play Questions & Answers] catsruul:
Yeah it looked like a great deal. Didn't know about this otherwise I might have jumped ship.

Problem is, whether that actually works is iffy, and given that I'm in the US with T-Mo a single 800MHz LTE band isn't going to cut it- the XT1635-03 is missing a ton of bands needed for most US carriers.
[Verizon Note Edge Android Development] Grigory1980:
Please, before install this stock firmware unlock your phone bootloader http://xdaforums.com/showthread.php?p=67027842

This is a new Stock ROM, based on new SM-N915V N915VVZW2CQI3 firmware. If you install this firmware by ODIN, your SM-N915V phone firmware will be latest N915VVZW2CQI3 and you will not loose developer edition unlocked bootloader.

Step 1: download and install this stock firmware https://mega.nz/#!knRXxSCZ!3mwUAi0FXpGN-E0zPjBqx5Hf_YLSK8Ror8VQH5JiE54

Step 2: install TWRP https://mega.nz/#!NhkSxQJJ!GYaYWs2z0Mxj0Ht9aFpFvFeehf-8dFKUVt_ToIjpC8s

Step 3: install SuperSU.zip https://mega.nz/#!ErxDFboQ!n3M0zLP271shYSsK7Mtzr0F031c3UXugv6b45Pr_OvE

And I add an original stock unchanged firmware. May be somebody needs it. If you use it your bootloader will be locked .

Download original: https://mega.nz/#!pmIBCSCQ!lTRg2TqYaw7XOaz8WcJ6XsoCXU1gwCqunYl5bjM-hZs
[Honor 5X Questions & Answers] Mohamed Elhadad:
i can't find mixer path.xml at system / etc in 6.0.1

does anyone have that???
[Honor 5X Questions & Answers] gopinaidu77:
Why do u want that file ? I can help u find that .
[Honor 5X Questions & Answers] Mohamed Elhadad:
i want to increase in call volume
[Honor 5X Questions & Answers] hassanjavaid8181:
In stock ROM??
[Honor 5X Questions & Answers] Mohamed Elhadad:
yup stock MM
[Honor 5X Questions & Answers] itisiryan:
How do you increase it?
[Honor 5X Questions & Answers] hassanjavaid8181:
In call volume is not that low....you want to increase it more??
[Honor 5X Questions & Answers] itisiryan:
Maybe you can try Dolby Atmos?
[Honor 5X Questions & Answers] Mohamed Elhadad:
can u give me link
[Honor 5X Questions & Answers] itisiryan:
Install Magisk first then you'll find it in Downloads tab.
[Moto G5S  Guides, News, & Discussion] Mindrel:
Hi :)

OK guys. I had missed the information.

Our G5s seems to be ready to support customized ROMS :

androidpolice.com/2017/10/12/motorola-releases-kernel-source-code-moto-g5s

techdroider.com/2017/10/moto-g5s-kernel-source-code-released.html

(sorry for links)
[Moto G5S  Guides, News, & Discussion] lohanbarth:
kernel source montana > https://github.com/MotorolaMobilityLLC/kernel-msm/releases/tag/MMI-NPP26.102-41
[Moto G5S  Guides, News, & Discussion] kalyansundhar:
Pardon me if it is a wrong thread to ask this question. If it is, moderator please delete this post.

I don't see any custom ROM development happening for this device. May be I am not aware of. Or May be it is very early to expect a custom ROM. I heard that Moto G5 and G5s has same technical specification. Would I be able to flash a G5 custom rom on G5s with a little bit of tweak in build.prop (like device_name, etc)?

Thanks

Kalyan
[Moto G5S  Guides, News, & Discussion] lohanbarth:
Hello, you can try, but I do not think it works, but you will also have to modify the updater script.
[Moto G5S  Guides, News, & Discussion] Mindrel:
I do not think it works either, but if you try it and if it works, thank you for telling us. ;)
[Moto G5S  Guides, News, & Discussion] kalyansundhar:
Thanks for the response. I haven't rooted my device yet. I understand that would void device warranty status. I am just waiting for the OREO update to happen. It seems OREO has in-built theme support (At least that's what I read in various articles).

Couple of questions. Suppose if I unlock boot loader; play around with installing G5 custom roms and later on if I relock boot loader, would I get OTA updates?

Additionally, to the minimum I need to know the partition/blocks layout to verify with G5 updater script. Does anyone know partition/blocks layout of G5s?

Thanks

Kalyan
[Moto G5S  Guides, News, & Discussion] lohanbarth:
hello, I always unlock my motorola and I always received the updates, and if you do not receive it, there will be the rom to install the fastboot
[Moto G5S  Guides, News, & Discussion] kalyansundhar:
Hi all, I am interested in building a ROM for this device. But as I am new to this, I don't know where to start. To the minimum, I need device_tree and vendor_tree for the device. I searched internet and went through various github repositories, but I couldn't find anything for MONTANA device.

All I found is an empty repository here https://github.com/moto8937/android_device_motorola_montana

Can anyone help me?

Thanks in advance.

Regards

KS
[Moto G5S  Guides, News, & Discussion] bellabax:
I suppose repo will be filled as soon as scripts for montana will be ready; maybe in next few days/weeks.
[Moto G5S  Guides, News, & Discussion] janhieber:
I am also interested in a ROM. AOSP or AOSP Extended would be nice.

I have much experience with Linux, bootloaders and low-level stuff. But no experience

with building Android (can't be so hard). If someone is making a ROM I can help if needed.

But I guess we must wait for source code.
[Moto G5S  Guides, News, & Discussion] lohanbarth:
Hello, normally squid2 work to get out lineageOS 15, so I think what should not be coming out soon.
[Moto G5S  Guides, News, & Discussion] kalyansundhar:
I am able to build a Resurrection Remix 5.8.5 custom rom using CEDRIC device code.

1) I downloaded android_device_motorola_cedric, android_vendor_motorola_cedric and android_kernel_motorola_msm8937 repositories as ZIP files from https://github.com/moto8937.

2) I changed all files in sub-directories that has 'cedric' in its name to 'montana'.

3) Replaced all file contents that had 'cedric' with 'montana'.

4) Pulled in RR code base from its GIT repository using REPO tool. I followed the instructions provided in https://github.com/ResurrectionRemix/platform_manifest

5) Copied the modified device, vendor and kernel files to appropriate directory within RR directory (~/RR/kernel/motorola/msm8937, ~/RR/device/motorola/montana and ~/RR/vendor/motorola/montana).

6) Started a brunch montana. Failed after 50% because of missing piece of code related to qcom dtbtool. So I downloaded qcom_common repository from https://github.com/LineageOS/android_device_qcom_common and placed the contents under ~/RR/device/qcom/common.

7) Started brunch montana again. Completed the build after 8 hours.

8) Took a TWRP backup of stock rom and flashed RR build.

9) Flash went through and device started without issues.

10) Now RIL, WIFI, Bluetooth, Tethering, Mobile Data, Dual SIM, etc works.

11) SOUND NOT WORKING. NO SOUND AT ALL, as if speakers are dead. I can make a call and receive a call. But I cannot hear other party. Microphone works.

12) SENSORS are not working. Like autorotate, proximity, etc.

13) It was beautiful to see 7.1.2 Nougat with October 2017 Security Patch.

----

14) Then I noticed that kernel code in https://github.com/moto8937/android_kernel_motorola_msm8937/tree/cm-14.1/arch/arm/configs already has a file called montana_defconfig. I compared that with cedric_defconfig. Both are different. The build process uses montana_defconfig by default, but the values in it are not valid. At least that is my assumption.

15) So now I renamed montana_defconfig to montana_defconfig.bak. Took a copy of cedric_defconfig and renamed the copy to montana_defconfig.

15) Tomorrow I would rebuild again.

16) Before that I have to do some cleanup as well. My Fedora LINUX box is nearly out of space. I have only few GBs left out of 120GB.

Point here is CEDRIC code works with MONTANA device.

This is the first time I am building a custom ROM and it was good to see most of the things working.

Updated you guys later tomorrow or a day after.

Thanks

KS
[Moto G5S  Guides, News, & Discussion] janhieber:
Hey. Thats really nice! I hope you share with us when its working :)

Maybe Ill try to build AOSP extended with your advice.
[Moto G5S  Guides, News, & Discussion] lohanbarth:
Hello,

[MENTION=1163024]kalyansundhar[/MENTION] , did you manage to advance on your rom?
[Moto G5S  Guides, News, & Discussion] Adi5:
will be some roms on moto g5s?When? I bought this phone today :)
[Moto G5S  Guides, News, & Discussion] patgou.007:
I think we'll be more and more hope and wait for customs roms.
[Moto G5S  Guides, News, & Discussion] kalyansundhar:
Main requirements are the device_tree and vendor_tree. Using system image dump, I tried my best to separate vendor and device files. But being a first timer, I couldn't do it. In other words, I am confused which file should go into vender_tree and which one to device_tree. But I haven't given up. Still trying to work out something. I am sure other experienced ROMers might also be working on coming up with a vendor and device tree. So let us wait.

Thanks

KS
[Moto G5S  Guides, News, & Discussion] patgou.007:
Thanks for your hard work. We know it's not so easy. We have just to wait. And that, it's easy.
[Moto G5S  Guides, News, & Discussion] catalin habdul:
Many thanks for your work , maybe some developers will help us .....
[Moto G5S  Guides, News, & Discussion] patgou.007:
Great news. Big thanks for your hard work.
[Moto G5S  Guides, News, & Discussion] kalyansundhar:
Fixed sensor issue. Now I am trying to fix " developer options " issue.

Thanks

KS
[Moto G5S  Guides, News, & Discussion] lohanbarth:
hello, sintu need a tester, my bike G5s and ready, oanseule thing that I can not try and camera, my mobile and fell into the water and since it no longer works, but my operator gave me a new model so if you have to unlock it, for tested
[Moto G5S  Guides, News, & Discussion] DonOleq:
[MENTION=1163024]kalyansundhar[/MENTION]

Create a thread, maybe some developers from G5s Plus or G5 will help
[Moto G5S  Guides, News, & Discussion] Mindrel:
Hi kalyansundhar. I think you should create a new topic in G5s ROMs forum for more visibility.
[Moto G5S  Guides, News, & Discussion] Adi5:
NICE JOB GUY,VERY NICE

THANKS!
[Moto G5S  Guides, News, & Discussion] GoldeneyeS2:
Nice Job [MENTION=1163024]kalyansundhar[/MENTION]. Thank you!!

I have installed your ROM.

How did you make the ROM? Which kitchen did you use?

I miss NFC in the ROM.

Can i help?

I have some weird software in the rom:

App Widget

LinkedIn

My Consumer Cellular

Prip

Republic Wireless

This is all bloatware.

Can you make all your software open source on github?

Many thanks for the ROM.

Happy new year!!!!
[Moto G5S  Guides, News, & Discussion] kalyansundhar:
I thank all for the appreciation. Entire code base (device and vendor tree) is there in github as public repositories. I have given the links in my previous post.

The bloatware is coming from oem partition. May be we could skip mounting oem partition. I would try that out. I haven't used any kitchen. I started with stock rom. I did a comparison of each and every file with that in CEDRIC (Moto G5) code base. Retained what is required and removed that are not. The main pain point is doing a build for every failure and every minor change.

RIL was not working earlier. I noticed that in init.qcom.rc, the 'rildaemon' service was in disabled state. After enabling, RIL started working. But how come it was working with stock rom when RIL was in disabled state. So some where down the line, it is being enabled. But I couldn't track it down. Right now the issue is with "Developer options" in Settings. It crashes and logcat gives a SELINUX error.

I added the following to system_app.te.

allow system_app netd_service:service_manager find;

But the build fails as the above policy is disallowed.

I believe there is some relation between Developer options crash and RIL changes I made. Because when RIL was not working, I was able to open Developer options without issue.

Earlier SELINUX status was permissive. Now I made it enforcing. I haven't yet committed the recent changes to github. Probably tomorrow I would do that. Also I would create a new topic.

Any help is appreciated. Honestly I didn't know this device supports NFC :). I will take a look.

Thanks

KS
[Moto G5S  Guides, News, & Discussion] GoldeneyeS2:
[MENTION=1163024]kalyansundhar[/MENTION]. Thanks for your fast answer.

The ROM is fast and good.

I have extract your rom with supperr kitchen. I did not find any bloatware.

I am going in to the OEM stuff and NFC.

Maybe you can make a To Do list
[Moto G5S  Guides, News, & Discussion] GoldeneyeS2:
[MENTION=1163024]kalyansundhar[/MENTION]

The OEM fix was simple.

Just change the following file in the boot.img:

init.oem.rc

########################
#unmount OEM (Bloatware) - Credits to GoldeneyeS2
########################
#on init
# mkdir /oem 0550 root root
#on fs
# wait /dev/block/bootdevice/by-name/oem
# mount ext4 /dev/block/bootdevice/by-name/oem /oem ro nosuid nodev context=u:object_r:oemfs:s0

Now working on NFC...
[Moto G5S  Guides, News, & Discussion] kalyansundhar:
Thanks a lot. You see !!! That's the difference between copy paste guy like me and real developer like you !!!.

Regards

KS
[Tilt, TyTN II, MDA Vario III Accessories] RickoT:
RE: Extended Life Batteries

Anyone have any suggestions for extended life batteries that dont require a new or larger cover for my att tilt? I searched ebay, but im always a bit afraid to buy one of those batteries, with my luck it may explode and melt my leg or something

thanks!
[Tilt, TyTN II, MDA Vario III Accessories] 246810:
There is a massive thread already on this topic. I’d advise you to sift through it until you find exactly what you want. Looks like you have alot to sift through. Good luck!:

The mother list of Kaiser Tilt TyTN II batteries.

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

Such repeated threads like this one end up like the one below. Unanswered...

Battery Replacement

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