yashsingh1/xdaforums huggingface dataset:
[Sony Xperia X Compact Questions & Answers] Heles:
this thread can be erased, I've found out the problems :)
[OnePlus 6 Questions & Answers] vivmar:
guys, i have a little confusion:

What's the correct procedure for reinstall the stock OOS from a custom rom and the procedure for change custom rom to another one?

i ask this because every time i try i brick the phone. (so msmntool and lose internal storage)

my latest experiment:

i was on Havoc, rooted and blue_twrp

full wiped (cache's, data and system)

installed Full 9.0 OTA+ twrp on slot A

rebooted to twrp

installed again Full 9.0 OTA+ twrp on slot B

installed magisk

rebooted to system...

keep boot on recovery and also i canno't decrypt sdcard because twrp doesn't ask me the pin....

someone suggested to me to format data, but i don't want to lose my internal storage anytime...

help?
[OnePlus 6 Questions & Answers] omar2005:
The best thing to do to avoid all of thi bs is to follow this guide:

https://xdaforums.com/oneplus-6/how-to/tutorial-decrypt-flash-rom-pie-oreo-roms-t3838643
[OnePlus 6 Questions & Answers] Funk Wizard:
You dont have to flash the rom to both the slots. Just make a clean flash without format data.

First of all, Stay Encrypted :laugh:

Now from custom rom to Oxygen OS make a clean flash so follow the below:

Must Use Bluspark TWRP

1. Wipe Dalvik, System, Data & Cache

2. Flash the Full OxygenOS Rom Full Zip (Links available on my threads Beta or Stable Pie)

3. Flash the TWRP installer Zip

4. Reboot to RECOVERY to make sure TWRP stays and continue to root.

5. Flash Magisk Stable to maintain root (Avoid Beta)

6. Reboot System and Enjoy the latest firmware without any data loss

Make sure you follow above and also make sure:

1. Use Bluspark TWRP

2. Move from Pie To Pie / Pie to Oreo or Oreo to Pie might require a format.

Similarly follow the same if you want to move from Oxygen OS to Custom Rom, check the rom thread if the developer needs you to flash anything extra or firmware files.

Hope the above helps :good:
[OnePlus 6 Questions & Answers] vivmar:
Thanks so much!
[Xiaomi Mi A2 / 6X Questions & Answers] ILA:
I would like to write or see someone write the following threads in the "Guides, News, & Discussion" section:

How (not) to loose OTA?

Basically making a list of things what you can unlock and/or flash or modify and how that affects OTA

Guide on how to regain OTA from each situation after it is lost and the consequences after regaining OTA that way (loosing ROOT, locking the bootloader, loosing data)

A2 partitions and what they are used for

Documentation of all the partitions contained in the A2 and what they are used for

As I'm coming from the Nexus 5, this was the first thread that I've read through just to get more familiar with the device, and think it would be useful for the A2 as well.

Basically a list very similar to this one, but modified for the A2: link. Also the A/B partition table should be explained, as well as other Xiaomi specific stuff such as EDL access.

Also a great resource: link

Useful adb commands

Commands useful for the unlocked users, and even some for the locked ones

Maybe this should be a section within the previous thread

Because I don't know some stuff about each of these topics, I'm going to need your help in accumulating knowledge in these areas so I'll be opening 3 new threads in the Q&A where you can contribute to this so that we can document all of this. After sufficient documentation is gathered, I'll open a new thread in the "Guides, News, & Discussion" section so that everyone can find the information easily in the OP of the thread, and the OP would be modified and updated.

I'll start with the first one "How (not) to loose OTA?", and write others as I have time.

Advice and suggestions are very welcome.
[Xiaomi Mi A2 / 6X Questions & Answers] kandarpjha:
If someone writes these threads, please link them over here.
[Xiaomi Mi A2 / 6X Questions & Answers] ILA:
Ok, I'll update the OP as I write them.
[Samsung Galaxy Note 9 Questions & Answers] djfujiyama:
Hey guys,

Switched from an lg v20 (which had no problems with the watch) to a note 9 on Verizon and can't seem to keep this phone connected to the Huawei watch (version 1) to save my life. Bluetooth disconnects probably once per hour or so and stays disconnected until I reboot watch or turn watch bt on and off.

I've tried hard resetting watch, reinstalling wear os app, clearing cache, and nothing seems to work.

Thoughts?
[Samsung Galaxy Note 9 Questions & Answers] djfujiyama:
bump
[Samsung Galaxy Note 9 Questions & Answers] :
I'm not sure it's correct form to bump one's own thread?
[Motorola One Power Questions & Answers] Sunnysthac:
Just saw the Motorola one power teardown. Looks fairly easy to repair no? Always nice to see the charger ports on a replaceable board rather than soldered down to a mobo and not user replaceable.

[YOUTUBE]Nw_vAzCWGaU[/YOUTUBE]
[Motorola One Power Questions & Answers] smyaknti:
Finally someone did it. There were durability tests but no disassembly video! Anyway, good to see that the battery and the internal components are solidly attached to the metal frame rather than the flimsy screen. Good to see the metal mid-plate just beneath the screen. No wonder that with this much metal, the Weight and Signal Strength issues are supposed to be there. Now I am a bit more sure about the durability of the design! :D
[Motorola One Power Questions & Answers] Sunnysthac:
ya, looks like a good build.
[Xiaomi Mi A1 Questions & Answers] miltens:
I have noticed that my battery life has dropped significantly over the last few months and it is almost 2 hours less than when I got the phone. I'm on stock rom and kernel, locked bootloader and I have tried factory reset but I didn't see much of an improvement. I'll attach some screenshots that may help someone identify the problem.
[Xiaomi Mi A1 Questions & Answers] ccalixtro:
I think it's normal. My sots are from 4-5 to 7-8 hours, it depends of screen brightness and phone temps.
[Xiaomi Mi A1 Questions & Answers] Jt380p:
I'm getting around 4.5-6 hours with no modifications. After underclocking my phone to 1.4ghz I'm getting around 8-10 hours of battery life, and that's with long sessions of pubg.
[Xiaomi Mi A1 Questions & Answers] enigma03:
Teach me master:cyclops:
[Xiaomi Mi A1 Questions & Answers] Jt380p:
PM me on what you want to know :D
[Xiaomi Mi A1 Questions & Answers] miltens:
After underclocking did the phone get noticeable slower? Also what settings do you recommend and are you on stock rom and kernel?
[Xiaomi Mi A1 Questions & Answers] Jt380p:
It is a bit slower, but not too noticeable. However, I recommend you to underclock it to 1.5-7 GHz, I've set the CPU Governor to powersave. I use the stock kernel as I still want ota updates without having to reinstall magisk everytime.
[Xiaomi Mi A1 Questions & Answers] YayJohn:
You just told me in my post that u have a problem in battery too and lose 13% in 11 minutes XD
[Xiaomi Mi A1 Questions & Answers] Jt380p:
That was before the problem ??
[Xiaomi Mi A1 Questions & Answers] YayJohn:
Well yeah but you posted "It is a bit slower, but not too noticeable. However, I recommend you to underclock it to 1.5-7 GHz, I've set the CPU Governor to powersave. I use the stock kernel as I still want ota updates without having to reinstall magisk everytime." after and you didnt say that now you have battery issues, also I'm not sure about this but it seems there isnt actually a problem with our batteries. It's just that it goes down fast when on high percentages, I don't know if that is a sync problem or an actual one but it seems the battery goes down faster when at higher precentages. yes the first graph I sent you was horrific and at low percentages but it never happened to me again, also that graph is 42 hrs so it might seem like it is going down fast but it isnt
[Xiaomi Mi A1 Questions & Answers] miltens:
I really dont understand what is going on. I let the phone die out on the battery then fully charged it. Last full charge 1d2h6m ago. Now i am 34% 3H44mins SoT and with data, bluetooth always on and spotify playing for about 1 hour in my car. Then again Photos was used for 10 mins and consumed 16% . I am done with trying to find a logic solution on this device, but it gets me through my day so I'm ok with it

EDIT: spelling
[Xiaomi Mi A1 Questions & Answers] YayJohn:
I was talking with him about a post I made about terrible battery life and he was in that post too
[Xiaomi Mi A2 / 6X Questions & Answers] ILA:
Ok, as discussed in the other thread, I want to document when you loose OTA, how to avoid it, and how to fix it.

From what I know, OTA is lost when modifying the system. This means flashing a new kernel, rooting the device and modifying the build.prop or other root level stuff (mostly) will do it. The easiest way to recover from it would be to flash the stock boot.img and everything should be fine, right?

The reason this is in the Q&A is because I need real world examples what happened to you and how you've managed to get it back as well as what have you done and not lost OTA?

Thanks in advance!
[Xiaomi Mi A2 / 6X Questions & Answers] Reptant:
You can use OTA with magisk quite easily, without even using computer( worst case, magisk wont find the stock boot.img and you need to reflash it, not such a big deal)

If you mount system for any operation(Cam2Api, or any other modification) , you need to reflash system as well.

You can always reflash stock system(or whole fastboot image), or even wait and flash a whole stock image from scratch

This tool is incredably helpful as well

https://xdaforums.com/mi-a2/how-to/mi-a2-toolkit-unlock-bootloader-root-t3834585

for perfoming these operations ( Also, i have used the cam2 enabler from this tool this time, i have to see if that broke OTA next time there's an update)
[Xiaomi Mi A2 / 6X Questions & Answers] AsItLies:
I applaud the question, it's a good one, and a good basic place to start re discussing Cam2api enabling.

But, you did mean to say flash stock 'system' image, not "flash the stock boot.img"? Because the reason OTA stops working is probably both images. But for sure the system image being modified will stop them.

I can say for certain that enabling cam2api with the 'adb shell setprop persist... etc) commands will enable the API and ALSO allow you to continue to get OTA updates. I'd suggest doing some research on the setprop persist type commands to know why and exactly how it works, but it DOES NOT modify the 'system' partition, that's why OTA's continue.

A word of warning to the noobs, there are a kazillion 'Tools' in the A2 forums (no, I mean software tools, not the other kind ;)). Be aware, if that 'Tool' mounts 'System' as Read Write (which I know at least one of them does), 'System' is then considered modified! NO More OTA!
[Xiaomi Mi A2 / 6X Questions & Answers] ILA:
Noted, and will be added to the "documentation" when I write it. Thanks for the Magisk tips.

As for the tool, looking at the other comment, OTA should now be broken because the tool should've mounted the system, but I'll wait a couple of weeks before posting that step in the documentation, and do let me know how it went for you.

Yup, my mistake. I ment system. Thanks for the sugestion, I'll have to look at setprop persist type commands.

Now looking back at the new info I have, would that mean that flashing a custom kernel would not stop OTA from working and after the OTA update is applied, a new stock kernel would just be flashed along with the OTA?
[Xiaomi Mi A2 / 6X Questions & Answers] AsItLies:
[MENTION=4846659]ILA[/MENTION] "Now looking back at the new info I have, would that mean that flashing a custom kernel would not stop OTA from working and after the OTA update is applied, a new stock kernel would just be flashed along with the OTA?"

I've never flashed a custom kernel, but I highly doubt doing that WOULD NOT stop OTA? If that's not modifying the phone, what is? I mean, that seems to me to be an obvious modification Xiaomi would be unhappy about and try to prevent, would be my bet.
[Xiaomi Mi A2 / 6X Questions & Answers] ILA:
I would have to agree, and that would be highly illogical to me as well, but as far as we've seen so far is that it's only triggered by system modification. On the other hand, we haven't really had custom kernels up until recently so, not really a way to check that until someone tries it with the next OTA, but my bet's on it breaking OTA as well. If noone faces it until December, I'll try it with that update. With the November one, I want to have a sanity check if everything passes. If I have time, maybe I'll rollback updates and try it sooner, but I doubt anything from my side on this front will happen before December.
[Xiaomi Mi A2 / 6X Questions & Answers] minnuss:
[MENTION=4846659]ILA[/MENTION], if you do not test with another OTA, the next one will be pie update, well, at least that is what we all expect :)
[Xiaomi Mi A2 / 6X Questions & Answers] ILA:
Hope you are correct :D

But until Pie, I can always test this with rolling back to the previous OTA.
[Xiaomi Mi A2 / 6X Questions & Answers] Nebrassy:
To keep OTA you need:

Stock unmodified boot image

Stock, unmodified and never mounted as writable system partition and vendor partition

Systemless root (such as Magisk), custom kernel and custom recovery all install to the boot image, if you only did one of those, flashing the stock boot image will be enough, or if you allowed Magisk to backup the stock boot image, doing this would be the easiest solution https://github.com/topjohnwu/Magisk/blob/master/docs/tutorials.md

Simply mounting System or Vendor as writable will be enough for you to lose OTA (it's normal to mount them read only, don't panic when magisk does that)

so a modified build.prop will break OTA, but using setprop or resetprop will not, because those only affect /data (therefore you can't have a locked bootloader with camera2 enabled, because locking will wipe /data)

If you modified system or vendor and want to OTA, simply flash the stock image of the partition you modified via fastboot and it will work, but only if it comes from the same build you're currently running, if you're on September patch, you'll need to flash system.img from 9.6,13, and only that will work

it's always a good idea to keep the latest fastboot rom on your pc in case you needed it, but if it's not yet available, you can use TWRP to backup system, vendor and stock boot image before modifying them, and restore them before OTA, but make sure to select Backup System image and Vendor image Not backup system/vendor, because normal backup will just copy the files while an image backup will take the whole partition as it is, if you just restore the files then the image will have a different hash and you'll still fail to OTA

Also, as long as Anti Rollback is not active on A2 (it's not yet), you can always just roll back to the latest available fastboot image and OTA from there
[Xiaomi Mi A2 / 6X Questions & Answers] ILA:
Thank you for a very comprehensive answer! That pretty much covers everything that I wanted to know in this thread. This will be the main part of the new thread, but I'll write it in a week or so just to leave enough time if anyone remembers any more examples.
[Xiaomi Mi Mix 2 Questions & Answers] coco1476:
I need help with my mi mix 2. The Facebook APK is freezing all the time. At first, it started to freeze on stock firmware not rooted so I decided to try a different room. I flashed MIUI 10 beta and still freezes. After that I flashed revolution MIUI 10 and Facebook is still freezing on me. I tried to install older versions of Facebook APK but nothing changed. Please help!
[Xiaomi Mi Mix 2 Questions & Answers] Twotems:
I don't have an answer to your question but I'm surprised people still use that app. I access fb exclusively through my browser.
[Xiaomi Redmi Note 3 [Snapdragon] ROMs, Kernels, Re] amog787:
[IMG="FAQ Section"]https://raw.githubusercontent.com/BootleggersROM/ExtraStuff/master/threadfiles/05-faq.png[/IMG]

Here's some small answer to your questions or just answer to questions.

Q: Bootleggers? Why? What does that even mean?
A: Bootleggers (on a context of toy bootlegs and related stuff) are the people who take an original idea or product and make their own version, obviously on a low-quality way.

Q: What does the chinese/japanese thing means? I don't get it
A: According to google (and take the meaning of this with a hundred quotation marks) it means home or family. We want you to use your phone and feel yourself comfortable, and like it, like you'll be at home.

Q: Can i make Bootleggers stuff like wallpapers, logos and stuff?
A: Of course, feel free to do it, we will love it.

Q: Do you have any Telegram/G+ Group to chat and share stuff of the ROM?
A: Check the first paragraphs, you'll find it
[Xiaomi Redmi Note 3 [Snapdragon] ROMs, Kernels, Re] amog787:
[IMG="Bugs and Screenshot Part"]https://raw.githubusercontent.com/BootleggersROM/ExtraStuff/master/threadfiles/06-bugscreenshots.png[/IMG]

ROM Specific bugs:

* You tell me

Device-Specific bugs:

* VILTE
* Miracast
* You tell me

Screenshots

https://drive.google.com/open?id=1eQuCUSQe114iUQR7qGcqIGS8u6kv7wKi
​
[Xiaomi Redmi Note 3 [Snapdragon] ROMs, Kernels, Re] amog787:
>Build 14/05/2019

Changelog-:

* Mau Security Patch

* BTLG Upstream

>Build 06/04/2019

Changelog-:

* April Security Patch

* BTLG Upstream 4.1

* Support Airtel VoLTE in slot 2

>Build 16/03/2019

Changelog-:

-March Sec Patch

-Tons of Headers

-Lockscreen Clock styles

-BTLG upstream

-POSP Dirac implementation

Use this app to control, https://t.me/kenzosax/99

-Amol's trees

-Stock Thermals

>Build 15/01/2019

Changelog-:

* BTLG 4.0

* Many stuff and cust

* Add Perf stack from Daisy and enable Boostframework thanks to [MENTION=5615686]AmolAmrit[/MENTION]

* Fix Boostframework thanks to [MENTION=6138124]Adarsh1998[/MENTION]

* Sax Thermals (performance oriented)

* Fast Charging

* Jan Sec Patch

* New Rebased kernel with stuff and patches from kenzos thug devs.

* To disable flash on call, go to Settings>Dumpster>Misc

>Build 06/12/2018

Changelog-:

-Fixed BT audio call

-Fixed HW remapping issue

-Fixed SS Tile

-Pick some stuff from Carlos' git and amol's git and kang some Jasmine blobs

-Some Usual Sax with repo sync

-Dec Sec Patch

>Build 30/11/2018

Changelog-:

* Navbar pulse added

* long press power for torch while screen off

* Volte icon toggle(Disabled by default)

* Some Gestures(Edge)

* Added squircle & teardrop Qs styles

* Added cpu info switch

* BTLG sax as usual

* New Themes(Cosmos and Protostar)

* Fixed Hotspot

* Fixed WiFi issue

* New Rebased Kernel with mild UV

* Auto-Brightness tweaked

* Some other random stuff

Known Bugs-:3

- Battery text broken

- Rest U tell me

>Build 24/10/2018

Changelog-:

- Initial Pie Build

- Usual BTLG sax

- New Thermals and modified interative governer

- Volte with LoGo

- 60FPS patch(flash PATCH (https://t.me/kenzosax/9) if u dont feel its working)

- Updated Blobs

- BT call audio works

Note

Flash this patch with ROM for volte to work after reboot too.

Patch: https://drive.google.com/file/d/1297ZKrl9X_T_StaTGfG9k-OKviATyQYz/view?usp=drivesdk

Known Bugs-:3

- APN needs to be manually set.

(Settings>Network & Internet>Mobile Network>Advanced>Access Point Names)

- ViLTE

- U tell me
[Xiaomi Redmi Note 3 [Snapdragon] ROMs, Kernels, Re] TabTapper:
Great to hear Bootlegger is here. Thanks Amog....
[Xiaomi Redmi Note 3 [Snapdragon] ROMs, Kernels, Re] Umahawar100:
I have encrypted storage, will cam work?
[Xiaomi Redmi Note 3 [Snapdragon] ROMs, Kernels, Re] varinder jaswal:
wow .. thanx for this pie rom .. downloaded .. will flash soon .. btw what are the gestures under gesture section .. like edge gesture??
[Xiaomi Redmi Note 3 [Snapdragon] ROMs, Kernels, Re] Minions007:
It is empty as of now
[Xiaomi Redmi Note 3 [Snapdragon] ROMs, Kernels, Re] varinder jaswal:
ohh ok.. thanks
[Xiaomi Redmi Note 3 [Snapdragon] ROMs, Kernels, Re] rizel1967:
No OTA update????....beside APN bugs,i don't know if you call "bug" ...manually put ,don't think that's a very big problem....ok,let's try few days ,especially battery SOT(Screen On Time)...
[Xiaomi Redmi Note 3 [Snapdragon] ROMs, Kernels, Re] mamimusti:
Thanks bro.
[Xiaomi Redmi Note 3 [Snapdragon] ROMs, Kernels, Re] Ping-An-Lawyer:
谢谢你的创造 “家” 。看来你可能是幽默的人。我真的想不到要有一个人做给我们的红米 Note 3 ，我非常感谢你。

Google translate:

Thank you for creating "home". It seems that you may be a humorous person. I really don't think there is a person who will give us the red rice Note 3, I am very grateful to you.
[Xiaomi Redmi Note 3 [Snapdragon] ROMs, Kernels, Re] Muthu_IN:
Great ROM! and it is from our beloved amog sir

smooth ROM

doesnt feel like initial build

Battery is good too

guyz appreciate dev dont complain kenzo got bootleggers pie before whyred and berrylium or any other phone famous in dev community

there i no bugs noticed other than bugs specified by amog sir

for Jio APN

Name: Jio

APN Name: jionet

thats it set up phone with wifi

face auto unlock not present as of now

OTA most probably will come soon
[Xiaomi Redmi Note 3 [Snapdragon] ROMs, Kernels, Re] Pireza:
[MENTION=8950490]amog787[/MENTION], will also continue to support AospExtended -v6.0-ALPHA (18.10.2018) with new updates, as for me it is at this time the best rom 9 for kenzo.

When you have time, I'm already testing this.

Thank you
[Xiaomi Redmi Note 3 [Snapdragon] ROMs, Kernels, Re] alancash:
Can you please confirm if cast screen works?
[Xiaomi Redmi Note 3 [Snapdragon] ROMs, Kernels, Re] Mayr1k:
thx dev ??
[Xiaomi Redmi Note 3 [Snapdragon] ROMs, Kernels, Re] BlackMaster_:
Thanks!!
[Xiaomi Redmi Note 3 [Snapdragon] ROMs, Kernels, Re] neokhark:
is there screen stabilization in Display menu?
[Xiaomi Redmi Note 3 [Snapdragon] ROMs, Kernels, Re] khanfaizan05:
Is there ota update Support
[Xiaomi Redmi Note 3 [Snapdragon] ROMs, Kernels, Re] Niko Setiawan:
When I turn off the hotspot, the device immediately reboot.
[Xiaomi Redmi Note 3 [Snapdragon] ROMs, Kernels, Re] Dims_Camper:
I believe you installed custom kernel over stock, get rid of that. That bug fixed a long time ago.
[Xiaomi Redmi Note 3 [Snapdragon] ROMs, Kernels, Re] Niko Setiawan:
Oke thank's
[Xiaomi Redmi Note 3 [Snapdragon] ROMs, Kernels, Re] Yoda007:
Has anyone got microG working on this rom ? It states that it has signature spoofing but doesn't work for me - even Signature Spoofing Checker app states that spoofing is disabled (Even though the apps have "spoof package-signature" enabled).
[Xiaomi Redmi Note 3 [Snapdragon] ROMs, Kernels, Re] Diresh:
There is an extra toggle in settings to allow signature spoofing(under miscellaneous in bootleg dumpster)
[Xiaomi Redmi Note 3 [Snapdragon] ROMs, Kernels, Re] Yoda007:
Thanks, that was it !
[Xiaomi Redmi Note 3 [Snapdragon] ROMs, Kernels, Re] RSM10:
What is its use (signature spoofing) ?
[Xiaomi Redmi Note 3 [Snapdragon] ROMs, Kernels, Re] Diresh:
for microg, to allow the signatures to match original playstore and services.
[Xiaomi Redmi Note 3 [Snapdragon] ROMs, Kernels, Re] ankur7005:
Abour fast charging

What about fast charging as mentioned in changelog??
[Xiaomi Redmi Note 3 [Snapdragon] ROMs, Kernels, Re] Yoda007:
I use SIM2 for data, and with this rom the SIM for data setting changes back to SIM 1 about every hour or so. Does anyone else have this problem ?
[Xiaomi Redmi Note 3 [Snapdragon] ROMs, Kernels, Re] evansourav:
Can someone using this rom report if standby battery drain is still present? Thanks
[Xiaomi Redmi Note 3 [Snapdragon] ROMs, Kernels, Re] b0mb:
It's not draining more than other pie ROMs but it's the most stable one I know :cool:
[Xiaomi Redmi Note 3 [Snapdragon] ROMs, Kernels, Re] evansourav:
I was loosing 25% overnight with everything off, is it that bad or ... Please share your experience.
[Xiaomi Redmi Note 3 [Snapdragon] ROMs, Kernels, Re] Black_Stark:
R u using double tap to wake and pocket detection? It drains battery.
[Xiaomi Redmi Note 3 [Snapdragon] ROMs, Kernels, Re] evansourav:
I was if I don't how is the draining then?
[Xiaomi Redmi Note 3 [Snapdragon] ROMs, Kernels, Re] Black_Stark:
R u using magisk and modules? Which?

Install better battery stats and check