yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Mix 2S Guides, News, & Discussion] honeytech256@gmail.com:
Thanks for your reply.

Please let me know how to use flashing by ADB, I've never do it before.

As I searched google, could no found result out.
[Xiaomi Mi Mix 2S Guides, News, & Discussion] qbaxs:
[YT]https://youtu.be/NaK5OxUeDKM[/YT]
[Xiaomi Mi Mix 2S Guides, News, & Discussion] honeytech256@gmail.com:
I found below;

Flash MIUI Fastboot ROM Using Command Prompt

fastboot flash system system.img

fastboot flash boot boot.img

fastboot flash recovery recovery.img

fastboot flash cache cache.img

fastboot erase userdata

fastboot flash userdata userdata.img

fastboot reboot

This will be ok ?

---------- Post added at 01:01 AM ---------- Previous post was at 01:00 AM ----------

I found below;

Flash MIUI Fastboot ROM Using Command Prompt

fastboot flash system system.img

fastboot flash boot boot.img

fastboot flash recovery recovery.img

fastboot flash cache cache.img

fastboot erase userdata

fastboot flash userdata userdata.img

fastboot reboot

This will be OK ?
[Xiaomi Mi Mix 2S Guides, News, & Discussion] fefuzzo:
Hi guys, one question: two weeks ago i found on xda a TWRP for Polaris with NO problem with encryption.. But i lost the file on my pc (my harddisk is broken) so now i can't find the link.. Twrp was "stock blie theme", instead for now i found onky the first version with yellow theme, encryption problems and touchscreen problems.. Someone can help me to find this twrp download link? Thanks
[Xiaomi Mi Mix 2S Guides, News, & Discussion] qbaxs:
https://xdaforums.com/xiaomi-mi-mix-2s/how-to/recovery-twrp-mix-2s-t3790922

Version 6 https://we.tl/pXP4wEZzj6
[Xiaomi Mi Mix 2S Guides, News, & Discussion] Sandeant:
You can find info about ADB tool here - https://www.xda-developers.com/install-adb-windows-macos-linux/
[Xiaomi Mi Mix 2S Guides, News, & Discussion] underlines:
See the first post. I've added a section where you can find all TWRP versions linked and explained.
[Xiaomi Mi Mix 2S Guides, News, & Discussion] underlines:
Change log 2018-06-14 03:30 AM UTC

+ Added: all available TWRP recoveries
[Xiaomi Mi Mix 2S Guides, News, & Discussion] wineds:
[MENTION=4233496]underlines[/MENTION], in post 1 for flashing treble ROMS you mention in step 7 to wipe using fastboot -w. You say it wipes everything. Out of interest does it also reset FRP?
[Xiaomi Mi Mix 2S Guides, News, & Discussion] underlines:
Not sure. I gathered this info from another thread on xda.
[Xiaomi Mi Mix 2S Guides, News, & Discussion] Z953RR:
Anyone has 8.6.14 build??
[Xiaomi Mi Mix 2S Guides, News, & Discussion] noahthedominator:
329 More hours till I can unlock my Mix 2s....The hype is real. After owning 12 smartphones and rooting/roming them all, the hype is real. Can't wait for MIUI 10, TWRP, and Root. I miss adaway so much.
[Xiaomi Mi Mix 2S Guides, News, & Discussion] ArctiX:
Try out DNS66, a non-root alternative to adaway.
[Xiaomi Mi Mix 2S Guides, News, & Discussion] hondajohn88:
Hi folks,

Anyone with a rooted phone would like to check a couple things for me? I still have a couple hundred hours to go before I can unlock bootloader, but I want to get a head start on building LOS for this thing.

I've extracted some stuff from global rom file, but boot.img does not have what I need to get the partitions & their sizes.

For example, I need this (this is from Mix 2):

# Partitions

BOARD_BOOTIMAGE_PARTITION_SIZE := 67108864

BOARD_CACHEIMAGE_PARTITION_SIZE := 402653184

BOARD_RECOVERYIMAGE_PARTITION_SIZE := 67108864

BOARD_SYSTEMIMAGE_PARTITION_SIZE := 5368709120

BOARD_USERDATAIMAGE_PARTITION_SIZE := 120426835968

BOARD_FLASH_BLOCK_SIZE := 262144 # (BOARD_KERNEL_PAGESIZE * 64)

I have most everything else, as far as I know, but Treble is new to me, so there is likely more suprises for me to build this. There are very few repos for devices with SnapDragon 845, so there's not much else to pick from, but I've been looking around at other devices that use treble and have repos.

I figure I'll kick around until I get something that builds by the time I get my bootloader unlocked. Hopefully.

Thank in advance for any help :)
[Xiaomi Mi Mix 2S Guides, News, & Discussion] underlines:
Happy to do it. Can you tell me the exact terminal command?

I'm on mobile and no adb around, so before I type 5 different comments by hand until one works, can you tell me how to enumerate all partitions with label and size?

I found this: https://android.stackexchange.com/questions/92565/how-to-list-all-major-partitions-with-their-labels
[Xiaomi Mi Mix 2S Guides, News, & Discussion] hondajohn88:
Well, I'm not sure those commands will work, as I don't see those folders in my phone. My phone is not rooted, so there's a lot I can't see, as well as permission denied messages.

I think the best way to find the files is using a root file explorer & text viewer. I use FX file explorer.

I apologize for not offering much more than this :(
[Xiaomi Mi Mix 2S Guides, News, & Discussion] jat001:
I have a M1803D5XE with Global ROM. I found an error message on magisk_debug.log after flashed magisk.

https://gist.github.com/jat001/951157ff66c1088087498b8e46f46101#file-magisk_debug-log-L2113

E SystemServerI: CN hardware can't run Global build; reboot into recovery!!!

After I uninstalled magisk, my phone can boot into the system again. So I think it might be that magisk broke the boot image.

BTW:

Magisk-uninstaller-20180429.zip has a bug. Follow this PR to modify META-INF/com/google/android/updater-script if you are going to uninstall magisk.

https://github.com/topjohnwu/Magisk/pull/394/files#diff-fcaffbee02bde3ae6cab6a6f293fc22bL51
[Xiaomi Mi Mix 2S Guides, News, & Discussion] simonsmh:
So, could anyone owing xa model running magisk on global rom send a log here?
[Xiaomi Mi Mix 2S Guides, News, & Discussion] noahthedominator:
Screenshots and log attached!

XA Model. 8.6.26 Global BETA

Magisk 16.4

Ran the suggestesed fix in OP twice but it did not work. It appeared to have ran successfully though.

Root permissions is working fine.

Just not able to pass safety net.
[Xiaomi Mi Mix 2S Guides, News, & Discussion] hayatesan:
Hi,

I have an issue with making TWRP "stick".

My bootloader is unlocked, I have Xiaomi.eu MIUI 10 running ( 8.6.21 v2 ), Magisk is installed and runs.

But then I can't boot into TWRP direct, I alwys need to use fastboot commands as the phone only boots into fastboot with power+volume down.

I tried to flash different versions (using "fastboot flash recovery twrp.img" then "fastboot boot twrp.img" so it boots TWRP successfully) but every time I try to access TWRP after, I have the fastboot screen...

So my TWRP doesn't stay, and I have to boot it manually everytime.

I guess I'm missing something, never had this issue with previous phones so I don't get it. Is there a setting I completely missed?

Thanks a lot
[Xiaomi Mi Mix 2S Guides, News, & Discussion] hondajohn88:
Power + Volume down is supposed to boot into fastboot. Recovery is Power + Volume up. However, I've found that sometimes Power + Volume up boots into MIUI recovery, and I've had some luck using Power + Volume up + Volume down at the same time while on MIUI ROM.
[Xiaomi Mi Mix 2S Guides, News, & Discussion] hayatesan:
Duh, I really feel stupid now.

I was only trying Volume Down + Power all this time.

My TWRP is accessible without any issue now, thanks ! :good:
[Xiaomi Mi Mix 2S Guides, News, & Discussion] hondajohn88:
Awesome! Glad to help :) :good:
[Xiaomi Mi Mix 2S Guides, News, & Discussion] jat001:
I finally figured it out.

https://gist.github.com/jat001/a8d2448aae1372c37f26793ffeab8ac0#file-systemserverinjector-class-java-L112

magisk makes the system believe that secure boot is locked. So the method will not return on line 123.

The solution is quite easy:

Just change ro.product.name to a string that does not contain the strings on line 36 to 49 in /system/build.prop
[Xiaomi Mi Mix 2S Guides, News, & Discussion] noahthedominator:
Thank you for this!!!

Any chance you could provide a screenshot of what you changed the string to??

Im rooted and able to edit the build prop.
[Xiaomi Mi Mix 2S Guides, News, & Discussion] jat001:
Sorry. I did not test it. change ro.product.name cannot pass enforceVersionPolicy method. (Technically, it can. It may be overrode by system.) but change ro.boot.hwc can.

https://gist.github.com/jat001/a8d2448aae1372c37f26793ffeab8ac0#file-systemserverinjector-class-java-L152

The error message SystemServerI no longer appear in the log. But my phone still cannot boot into system. The new log is too short. I cannot find any useful message.

https://gist.github.com/jat001/da68a228fc4d9788df17861a8d53976b
[Xiaomi Mi Mix 2S Guides, News, & Discussion] simonsmh:
Magisk log is not useful enough. Would you please post your result by running "adb shell logcat > filename.txt" once you boot up? Many thanks!

BTW You can pass safetynet by using "magiskhide props" magisk module and set the fingerprint to the stable rom.

---------- Post added at 11:38 AM ---------- Previous post was at 11:30 AM ----------

would you please posting your dmesg result?
[Xiaomi Mi Mix 2S Guides, News, & Discussion] jat001:
How to get dmesg on recovery mode? my phone cannot boot into system.
[Xiaomi Mi Mix 2S Guides, News, & Discussion] simonsmh:
I'm not sure.

I got a log of XA module from my friend. He said that the key of ro.boot.hwc is GLOBAL, do you gonna have a try?

To change the prop:

1. Mount the magisk img in rec

2. New shell script at /sbin/.core/img/.core/post-fs-data.d/global

3. Put in below codes.

#!/bin/sh

/sbin/resetprop ro.boot.hwc GLOBAL

https://gist.github.com/simonsmh/af68ae12a5ac6be5b6c49e555f0ce513
[Xiaomi Mi Mix 2S Guides, News, & Discussion] jat001:
I did, off course. change ro.boot.hwc to GLOBAL can pass enforceVersionPolicy. but it may cause other problems. that may explain why the new log is so short.
[Xiaomi Mi Mix 2S Guides, News, & Discussion] simonsmh:
what about giving up the lockstate? Can you try that plz?

That is probably why SuperSU works.
[Xiaomi Mi Mix 2S Guides, News, & Discussion] jat001:
still dose not work. the log seems useless too.

https://gist.github.com/jat001/123209d46b54c07c93cef471d6f9ca31
[Xiaomi Mi Mix 2S Guides, News, & Discussion] MPlummer88:
I am having an issue with fastboot. When I connect my Mix 2S (Global Rom 9.5.19) in fastboot and I query "fastboot devices" twice, the Mix 2S screen goes black and says "press any key to shut down". I am trying to unlock the bootloader in order to flash Android P beta and I have unlock privileges but get stuck at 50% because the device can't be verified. I've tried to read the phone in fastboot at that point and fastboot won't even detect the phone. Running Windows 10. Any help would be greatly appreciated.
[Xiaomi Mi Mix 2S Guides, News, & Discussion] underlines:
Change log 2018-07-14 03:30 AM UTC

+ Updated: MIUI 10 china leak links
+ Added: MIUI 10 global leak links
[Xiaomi Mi Mix 2S Guides, News, & Discussion] malimukk:
Had the same problem. Try a different computer or a different usb port on your computer (one on the back for example).
[Xiaomi Mi Mix 2S Guides, News, & Discussion] MPlummer88:
Tried that now and immediately upon connecting the USB cable to the device while in Fastboot brings up the "Press any key to shut down" black screen.
[Xiaomi Mi Mix 2S Guides, News, & Discussion] malimukk:
You tried a different port or a different computer?
[Xiaomi Mi Mix 2S Guides, News, & Discussion] MainderX:
Stock Recovery 9.5.4.0 Global

Heres the a link for Global Stock Recovery 9.5.4.0

https://drive.google.com/open?id=12by-AHnEo1im2sqqjGlDCbuTj0BgS7AE

you could add it to your list, if someone want to flash back stock.

Used it to flash latest update from 9.5.19.0 to 9.5.20.0 since i had installed twrp for some reasons.
[Xiaomi Mi Mix 2S Guides, News, & Discussion] hofi01:
see on this site... test it with VPN...

https://tradingshenzhenblog.com/support/tutorials/xiaomi-mi-mix-2s/

Developer Mode you must activatet...

Settings - Additional Settings -> Developer Mode... Option "Mi Unlock Status... scroll down to "Add account and device" after this "Added successfully".
[Xiaomi Mi Mix 2S Guides, News, & Discussion] MPlummer88:
Same computer, different port.
[Xiaomi Mi Mix 2S Guides, News, & Discussion] justj0sh:
From what I'm reading, none of the custom roms have a working camera am I correct? Stick with MIUI for now?
[Xiaomi Mi Mix 2S Guides, News, & Discussion] huyizheng:
I use xe model with Chinese developer rom, by install magisk and change fingerprint SafetyNet is passed and playstore is certified.

However, I still can't upgrade playstore in playstore. By clicking the version line in playstore settings, it tells me that my playstore is the newest version, but I have playstore version 10.3.12 installed which is not the newest version.

Anyone knows how to fix this? Thanks.
[Xiaomi Mi Mix 2S Guides, News, & Discussion] Phoque_You:
Try to manually update Play store with an apk. You can download the last version here :

https://www.apkmirror.com/apk/google-inc/google-play-store/#description
[Xiaomi Mi Mix 2S Guides, News, & Discussion] MPlummer88:
Tried an entirely different computer. Still nothing works. Every time I connect the phone while in fastboot, I immediately get "Press any key to shut down".
[Samsung Galaxy S9+ Questions & Answers] nad4321:
Hello!

I want to disable some bloatware and I heard bk disabler was the way to go but apparently it does not work anymore.

Is there any possible alternative to this?

Cheers
[Samsung Galaxy S9+ Questions & Answers] bassgenerator:
bk manager works great for me
[Samsung Galaxy S9+ Questions & Answers] nad4321:
Which one is that one?
[Samsung Galaxy S9+ Questions & Answers] guyd:
Package Disabler Pro

This works fine for me.
[Samsung Galaxy S9+ Questions & Answers] hyl4me:
Do you have to set device owner through adb? I got the message about KNOX permission exception in adb windows.
[Samsung Galaxy S9+ Questions & Answers] Scott:
That's what I use too.

I did not, you need to set the companion app up though. PDP Something or other. Ic an disable pretty much and package with that, no ADB, No Root, bla bla bla...
[Samsung Galaxy S9+ Questions & Answers] hyl4me:
Thanks. I think the issue with me was I need to connect to the internet
[Samsung Galaxy S9+ Questions & Answers] Gregzi:
In my S8+ days I was using Adhell, it was working great, but the Samsung Enterprise Alliance account + generated key is needed...
[Samsung Galaxy S9+ Questions & Answers] Proday:
Same here
[Samsung Galaxy S9+ Questions & Answers] bassgenerator:
halo boys. what is the difference between bk manager which is no longer in Play Store and Package Disabler for. well thank you. I'm using bk disabler
[Samsung Galaxy S9+ Questions & Answers] eduardmc:
Both do the same. I like bk disabler cause i can actually see the apps running apps. How much ram space are they using, i didnt see this with other PD.
[Samsung Galaxy S9+ Questions & Answers] chrisrodsa210:
The adb method worked fine for me
[Samsung Galaxy S9+ Questions & Answers] bassgenerator:
the adb method is a disadvantage for me. sometimes I need to enable some application. I do not want to do factory reset. just to know your friend
[Samsung Galaxy S9+ Questions & Answers] chrisrodsa210:
Never really needed them, once they were gone
[Samsung Galaxy S9+ Questions & Answers] bassgenerator:
it's me and you are ... it's different for every person and his needs: Dobrý:
[Samsung Galaxy S9+ Questions & Answers] BruceElliott:
See my extensive post on BK Disabler for Samsung: https://xdaforums.com/galaxy-s5/help/how-to-recover-bk-disabler-induced-boot-t3793157

Cheers,

Bruce
[Samsung Galaxy S9+ Questions & Answers] force70:
Thats a great write up, the detail is impressive.

But pulling the battery? The S5 you used is ancient at this point, maybe wise to note the device in the post and a disclaimer that using another may yield different results.

People on here dont pay much attention to detail so just because its in the S5forum doesnt mean they will clue in lol.

That and newer sammy software/android version is much different than whats on the S5 people may get a surprise using that method on the S9 (i haven't tried it so cant be sure).

sent from my Exynos S9 plus, Pixel 2 XL or Note FE
[Samsung Galaxy S9+ Questions & Answers] BruceElliott:
That's a good point, Force70. I added the caveat to the write-up; thanks. I've never had a phone without a removable battery, so not sure how to power off such a phone when the processor hangs, in a boot loop, etc. TWRP 3.2.1-0 requires a first boot to recovery after flashing, so Odin auto-boot to system after flash feature won't work. Buying a phone without a removable battery seems to me to be a really bad idea for various reasons. For one, I must be taken kicking and screaming to the phone store to buy a new phone as I find it such a hassle. So, I might need to replace the battery during the phone's life. A sealed-in battery appears to me like built-in obsolesence perpetrated by the manufacturer. I guess it doen't matter much for people who change phones ofen, though.

Cheers!
[Samsung Galaxy S9+ Questions & Answers] force70:
On the newer devices pressing and holding volume down, plus home plus power simulates a battery pull generally.

So not a total problem but battery pull was a sure thing lol

sent from my Exynos S9 plus, Pixel 2 XL or Note FE
[Samsung Galaxy S9+ Questions & Answers] RonChinoy:
where can I get an old copy of BK Disabler anybody with the apk ?
[Samsung Galaxy S9+ Questions & Answers] Avenghelyne:
I have this app... and it works on android 8. But now I android 9 it doesn't work. Is it right? I use this app for freeze apk themes

Enviado desde mi SM-N950F mediante Tapatalk
[8125, K-JAM, P4300, MDA Vario General] fonzi:
Hi guys,

i've just got yesterday a used wizard (almost new, used for a week), and i've made my second charge to it. I've found that when the charge reaches about 80%, it just stops charging, and every software reports 100% charge. I take of the USB cable, and reconnect, it, then, it begins to charge once again, and, one hour later (for example, at 85%), it stops again. I repeat the procedure, and same thing happens.

Is this normal?

On the first charge the battery only lasted me 24h (made about 1h of phone calls, and a few SMS, nothing more), and i found this quite few working time.

I'm using TNT 19199.1.0.0 on a G4 (2.17 IPL/SPL).

Thanks in advance..
[8125, K-JAM, P4300, MDA Vario General] dferreira:
That seems to me a faulty battery...
[8125, K-JAM, P4300, MDA Vario General] fonzi:
My second charge with the previous firmware lasted double that my last one (first time, 1 day, second time about 30h). Now, I've flashed the latest TNT Series on it, and it charged smoothly (100%). I don't know if it was a problem with the previous flash, or if was a problem with the battery itself (maybe because it was too long without any kind of use?).

Anyway, thanks. This seems to be a false alarm :)
[Samsung Galaxy J7 Questions & Answers] chastiefol:
Hi guys! I tried posting to a different forums but no luck in replies. So, I tried to go here and find some answers.

So, Im waiting for the official update for my phone (SM-G610Y - here's my latest firmware: PDA -	G610YZTU1AQF2, CSC -	G610YOLC1AQF1), but Im planning to flash a new firmware. Although, since PH-OpenLine havent rolled-out a firmware nougat update, I want to use Australia's firmware (PDA - G610YZTU1BRC3, CSC - G610YXSA1BRC3).

Questions:

-Will my phone still work if I will do it? And will my device status change from official to custom?

-Should I use all four files (BL, AP, CP, CSC) when flashing the update/firmware?

-Will there be any conflicts/problems?

-If it caused a problem, can factory reset (as others said in other forums) work to revert back to the original and official status of the phone? Or will there be any solutions to rollback?

Thank you!!! :D
[Samsung Galaxy J7 Questions & Answers] dodo2244:
Hi

Install this software ....

Phone INFO ★Samsung

★

The CSC tab (page 2) will show you the compatible CSC codes for your device. I.e. installing official software from those countries should be ok.

Flashing official software won't change your status, aka trip knox ;)

Flashing your original, official software should restore to factory state.

Good luck!
[Samsung Galaxy J7 Questions & Answers] chastiefol:
Thank you for replying and answering some of my questions.

So I decided to use Australia's firmware. I just wanna ask which one is the compatible csc? Is it the available csc from the phone info app? If yes, XSA is not included, what will be the problems when I continue to flash it (if there are any)?

And more importantly, should I flash all 4 files or just AP? And any important matters before I flash?

Thank you!
[Samsung Galaxy J7 Questions & Answers] dodo2244:
If XSA is not on the CSC list, you need to take care that the mobile networks in Australia are compatible with those in your home country - both gsm?

Also I would avoid a network specific firmware.

Any specific reason for choosing XSA?

Flash all 4 files.
[Samsung Galaxy J7 Questions & Answers] chastiefol:
How about I update using XSA and changing my CSC code after the update is finished? Will it work?

Whats a network specific firmware? Is it the one uploaded in the sammobile (thats where my firmware came from)?

And no, I dont have any specific reason for choosing XSA. I only have 3 options (NZC, VFJ, and XSA).

Sorry for being a newbie and thank you so much :D
[Samsung Galaxy J7 Questions & Answers] dodo2244:
Comments inserted below .....

More on the network specific firmware - for Phillipines XTC would be generic (Open Line). XLA Smart and GLB Globe would be network specific.
[Samsung Galaxy J7 Questions & Answers] chastiefol:
Okay, I'll try it later. Thank you so much! :o
[Xiaomi Mi 5 Questions & Answers] Tsuzan:
my phone is charging very slowly but the battery drainage is normal im getting 4-5 hrs of SOT on Masik 1.2 i have tried flashing different roms but nothing seems to work , tried checking with 3rd party apps like ampere im getting around 640 mA at max does anybody know any solution ? is it a battery issue ?
[Xiaomi Mi 5 Questions & Answers] spcx:
Try changing the usb cable. If still not resolved try another charger.
[Xiaomi Redmi 4X Questions & Answers] Romiul:
Rules

- No spam

- No Porn

- No Advertisement or promotion

- Be friendly to everyone

- Stay Cool

https://chat.whatsapp.com/FjJ8ljM6ZZX9VvPyGVZLgS
[General Questions and Answers] ultrabird72:
Dear XDA,

I would like to know if y'all can add a custom recovery for cp3636a? By doing so, I will be most grateful. I didn't know where to post this, so I posted in off-topic mode.

I also want to how to root my cp3636a Coolpad.
[General Questions and Answers] Ibuprophen:
I don't have this device but, the following thread may be what you're looking for.

https://xdaforums.com/showthread.php?t=3637644

Good Luck!

~~~~~~~~~~~~~~~

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[General Questions and Answers] ultrabird72:
I tried that. Couldn't find any resources. Kingroot fails anywhere between 57 to 70%, and everything else fails. Kingo works but I don't have a PC. And this app won't let me upload any proof. Also needing help on that.

If anyone else has any suggestions, now would be the time. I can't root this dumb canvas to save my life.
[Samsung Galaxy S9+ Questions & Answers] d0ct0race:
Is it possible to change this Samsung Keyboard coz it has a chinese layout? The phone is bought from Hong Kong with a model number SM-G9650/DS, so I think that is why the Samsung Keyboard layout is different when I click the "!?#" symbol. I cannot also install the Samsung Keyboard from Google Play Store. Attached are screenshots of the layout of my current Samsung Keyboard and the layout when I click the "!?#" symbol and "123" symbol. Also installing samsung keyboard apk cannot be accomplished.

Is it possible to change my Samsung Keyboard of chinese layout to international layout like in the last attachment? Or is there a modified Samsung Keyboard apk that could work?

Thank you.