yashsingh1/xdaforums huggingface dataset:
[Moto G5 Plus Guides, News, & Discussion] manos78:
If you lost your original SYSTEM, OEM and BOOT partitions, then you need to flash from another place.

For example, you can use download from this post

http://xdaforums.com/g5-plus/how-to/firmwares-moto-g5-plus-t3593160

In any case, I recommend to:

- Use OTAs for upgrading, as

it's safe for update your modem and other device stuff (IMEI, etc.) in sync

.

- If you like to go from Custom ROM to Stock ROM then restore the last Stock version in your device and apply OTAs from this point.

Regards!
[Moto G5 Plus Guides, News, & Discussion] manos78:
Hi,

More than a week with this GUIDE and only one user puts feedback? :eek:
[Moto G5 Plus Guides, News, & Discussion] G5 Plus Mate:
Which TWRP?

This is because we are all still stunned by this cool guide! ;)

However, before I give it a try: in Step 7, why does it have to be

"fastboot boot mr-twrp-3.1.1-potter-20170521.img"?

Can't I use

"fastboot boot twrp-3.1.1-4-GtrCraft.img" here, already? What is it, the craft TWRP cannot do? At least I am able to boot it that way.

Thanks in advance,

Nick.
[Moto G5 Plus Guides, News, & Discussion] Jrhotrod:
Yes, the Fastboot boot command will work for any TWRP image for this phone.
[Moto G5 Plus Guides, News, & Discussion] G5 Plus Mate:
Cool, so as it seems, we now only need two tools for rooting, unrooting and OTA updates. The Craft TWRP and Magisk v14.0 (or higher). Well, or SuperSU. Booth seem to remove "force encryption" and the "dm-verify-test".

So, we also do not need any further custom kernel or anything else anymore(?)

Well, my XT1687 (which will replace my XT1685, I need a compass!) is supposed to arrive tomorrow. :fingers-crossed:

I'll give it all a try and some comments, too...
[Moto G5 Plus Guides, News, & Discussion] Jrhotrod:
Most people with this phone use custom kernels in order to be able to use magisk modules. The stock kernel does not allow for neither passing safetynet nor installing modules. If you would like to use something like systemless Xposed Framework, I'd recommend flashing ElementalX.
[Moto G5 Plus Guides, News, & Discussion] manos78:
OK, thank you for confirm it!
[Moto G5 Plus Guides, News, & Discussion] manos78:
Hi,

If you save a full dump of the SYSTEM partition, then you can use "dm-verity" disable. However, I don't recomment it. Use MagiskSU with a custom kernel (like ElementalX). A custom kernel que provide: Magisk loop mount, non forced encryption, and SafetyNet pass with Magisk running.

Summarizing, you need: custom kernel, Magisk and TWRP.
[Moto G5 Plus Guides, News, & Discussion] androidgeek121:
Stuck in Your device will boot in 5 seconds screen

Hi,

At step 3, I didnt have the original partitions. So I used the partitions from the firmware POTTER_AMZ_7.0_NPNS25.137-35-5_cid18_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip.

After rebooting it, my phone is stuck in the screen. At one point it showed error.

What should I do??

Help
[Moto G5 Plus Guides, News, & Discussion] androidgeek121:
Why data partition format to f2fs

Is it important to format data partition to f2fs? Can I just wipe data partition and restore from the backup without formatting?
[Moto G5 Plus Guides, News, & Discussion] manos78:
Hi,

- The "f2fs" is the default format in Stock ROM. If you don't select it in TWRP it will be formated as "ext4".

- The "f2fs" filesystem it's better than "ext4" for the internal eMMC storage (faster writes and more robust).

- If you format as "ext4" it will continue working. So, if you restore without forcing the format perhaps you don't care that the filesystem it's changed.

Regards!
[Moto G5 Plus Guides, News, & Discussion] orifori:
Are OTA updates possible 1. without TWRP and 2. with preserved encryption?

I have a Samsung Galaxy S7 edge, international version, Android 6, unlocked bootloader, first rooted with CF-auto-root, now installed Magisk via modified boot.img, pure stock rom.
[Moto G5 Plus Guides, News, & Discussion] aSuperSaiyanG0D:
Forgive me for sounding dense but this method could work on a Moto G4 Plus (athene) correct? ?
[Moto G5 Plus Guides, News, & Discussion] Imapuckhead:
Many thanks for this method. I used Cat -1 today and ran into a little problem with repeated com.android.phone has stopped working errors after just flashing the partitions listed here. So I just did a complete Stock reflash and that resolved that error. Then was able to proceed with the rest of the steps without any issues!

I am on RETUS and applied the November 1st update. Surprised on how well it worked!
[Moto G5 Plus Guides, News, & Discussion] Randumb_User:
Thank you so much you wonderful person. Successfully upgraded to NPNS25. 137-93-4 and security patch January, 1 2018 with an unlocked bootloader. I had to flash recovery, logo, boot, system.parts & oem for it succeed. I won't forget this anytime soon.
[Moto G5 Plus Guides, News, & Discussion] weinde:
Just a little hint:

In step 8 you say

It should be "Boot" instead of "Cache" as we made a backup of "Data", "Logo" & "Boot" in step 2.
[Moto G5 Plus Guides, News, & Discussion] goodjuju:
I am kind'a novice at this - also it's my first time installing the latest RETUS OTA update 93-10. Would someone please clarify the questions below?

I do not recall if I modified SYSTEM and/or OEM partitions when I rooted the phone, is it OK to go ahead and flash? :

# fastboot flash system system.img
# fastboot flash oem oem.img

In Step 7 - do I restore "Data", "Logo" & "Boot" with TWRP from back-up in Step 2?

Everything else from Step 8 down is optional?
[Moto G5 Plus Guides, News, & Discussion] manos78:
Hi,

If you don't recall if you modified SYSTEM and/or OEM, but you have a BACKUP of them (pure stock), then it's safe you flash the backup.

The OTA always checks the partitions before start to update, however you can be in troubles if the OTA does it in chuncks (that's it checks one partition, then upgrade, then checks another, then updates...). I found in this problem my first time with the OEM partition. And it then breaks my phone.

So be advised:

Only apply the OTA when you restored ALL of your stock partitions!
[Moto G5 Plus Guides, News, & Discussion] craigl14:
Any idea how to create a back up of UNMODIFIED OEM partition? TWRP restore of OEM does not work for OTA because it is not an image backup. And performing a dd command to write the image to an sd card requires su permission. Even systemless rooting appears to modify OEM.
[Moto G5 Plus Guides, News, & Discussion] manos78:
Sorry?

To create a Backup, that you need to do it before rooting your device, you need to select all partitions, including the OEM. The TWRP writes it in the SD Card.

For restoring the backup, you can use the TWRP, or directly use "fastboot flash ____ ____.img" for restore a particular partition.

And regarding how to restore the OEM partition... It was a pain for me with the first OTA one year ago. The first TWRP for the Moto G5+ doesn't have support for the OEM partition. So the OTA updated the other partitions, but not the OEM. Then I can't boot, and I can't return to the previous rom.

So belive me, if you don't have a full stock backup of

all

partitions (including OEM), then don't try to apply an OTA!
[Moto G5 Plus Guides, News, & Discussion] craigl14:
I understand what you're talking about. However, if you TWRP backup the OEM partition prior to ANY rooting, modifications, etc., and then restore it later to accept OTA it fails because the TWRP backup of OEM is not a perfect image backup. TWRP does not offer the option to take a full image backup of OEM like it does for system. Am I missing something? FYI, I am talking about using a TWRP backup ONLY to restore the partitions needed to take an OTA update, not fastboot flashing the OEM.img from the firmware package since it may or may not be available for a particular update. I am using twrp-3.2.1-0-potter.img.
[Moto G5 Plus Guides, News, & Discussion] manos78:
OK. Now I see the point: "oem.ext4.win"; and you need "oem.img".

Typically I do manual image dumps from the shell of the custom recovery (dd if=/dev/... of=/sdcard/....img). It's more safe for restoring the device prior to apply an OTA.

At time, I can't help you. I'm upgraded to the Moto G6+, and my Moto G5+ is relocked and upgraded to the last OTA.

You need to find someone with your exact same retail and fingerprint and dump the oem partition.

Sorry!
[Moto G5 Plus Guides, News, & Discussion] craigl14:
Can you get su access from terminal in twrp recovery without root? Thanks.
[Moto G5 Plus Guides, News, & Discussion] NZedPred:
On TWRP the terminal has root access, and you can also use adb shell from a PC to get root access.
[Moto G5 Plus Guides, News, & Discussion] craigl14:
OK, I finally figured this out and it's pretty convoluted.

The problem is with TWRP. If all you do is boot TWRP with fastboot from full stock, OEM is somehow modified and the update will fail.

Remember, I want to do a full stock restore without relying on firmware.

You cannot use TWRP before you have pulled the stock oem.img file. Starting with complete stock, you have to install the Magisk Manager from your SD card to root without TWRP which will allow you to pull the oem partition with adb shell under su. The problem I am going to have to think through is that you need the stock boot.img for Magisk to root. I was able to get it to work, but I had the stock boot image from firmware, which you won't have if you are doing this from the lastest update. After pulling oem.img you must uninstall Magisk, restoring images. Then boot TWRP and do a back up of system image, boot, recovery and logo partitions. When you need to restore to accept an OTA update you would then use TWRP to restore system image, boot, recovery and logo partitions, reboot to bootloader, fastboot flash the stock oem.img and then sideload the update with ADB.

Again, I am going to have to think through the boot.img problem. This would be a lot easier if you could use TWRP to back up the OEM image, but at least from my experience, just booting TWRP changes the OEM partition.
[Huawei GX8] guiBataglia2017:
Guys,

I'm facing some problems to find a way out to root my gx8 without PC.

In the past I used some custom rooms but I've changed my mind and went back to stock. So my bootloader is already unlocked. But when I installed a stock room I restore the phone with Huawei recovery mode to, maybe, receive some updates. (Never)

The thing is, I'm without my PC and willing to flash a new custom room.

I've tried some apps to root and use the flashfy to install the TWRP, but with no success.

Does anybody know if there's a way to do it?
[Google Pixel 2 XL Guides, News, & Discussion] sharkie405:
Apkmirror has the new Pixel 2 Launcher: https://www.apkmirror.com/apk/googl...ixel-launcher-p-4275643-android-apk-download/

According to this article: http://www.androidpolice.com/2017/1...-including-new-pixel-2-features-apk-download/ it works on any device with Android 5.0 or higher.

Edit: I finally found that it has already been posted. I searched before posting this, but apparently I didn't search good enough. Mods feel free to close this thread, and sorry.
[Google Pixel 2 XL Guides, News, & Discussion] bobby janow:
I hadn't seen it until your post. Leave it up it really helped. Just installed it and I really like it on my Pixel.
[Google Pixel 2 XL Guides, News, & Discussion] skinnytoo2:
Just installed on my N8. Pretty nice, I might leave it up for a little while. I've always been a Nova launcher guy.
[Google Pixel 2 XL Guides, News, & Discussion] dr_rick13:
anybody getting force close when installed? I'm on pureNexus
[Google Pixel 2 XL Guides, News, & Discussion] sharkie405:
I've not had any issues with it. I'm running stock Oreo on a Pixel XL though.
[Google Pixel 2 XL Guides, News, & Discussion] Voicebox:
I installed this on a Nexus 5x and it works just fine. Though it is "stock" android so should be less fussy.

I really hate that the search bar is not removable and neither is the calendar widget. Although it is on 7.1.2 so maybe on Oreo I could change something in settings. I also hate that the screens don't loop around, since I've been using Apex launcher and have used Nova before also.

The tiny icons in the app drawer and the search function is way overdue. Even if I know the name of an app, I'll often miss it from flipping through the ton of app drawer screens too quickly. I can go through the tiny icons visually a whole lot faster.

There are definitely some useful features that I hope others pull into their launchers.

Edit: Doesn't work on my Note 4 on 6.0.1 stock.
[Google Pixel 2 XL Guides, News, & Discussion] Candy[MAN]:
Can someone please post and share the latest version of the Pixel Launcher. The one on APKMirror is that of the initial version. Went to my local Best Buy and played around with the Pixel 2 phones there and both had a newer launcher version. I believe it started with 8.1-something.
[Google Pixel 2 XL Guides, News, & Discussion] sharkie405:
Here you go. Looks the same so far as I can tell.
[Google Pixel 2 XL Guides, News, & Discussion] kcteun:
Installed it on rooted stock 8.0, pixel XL. Force close. Inconvenient.
[Sony Xperia XA Questions & Answers] Simplyeh:
Firstly i had 33.3.A.0.131 with good battery life (pretty much much better) but then after using it for a couple of months i noticed it drains much faster. I thought something about the battery, that it is kinda small only 2300, but then i upgraded to 33.3.A.1.97 and noticed the battery went back to normal. again drops 2 3 % over night... so im thinking it may be somekind of battery reset during upgrade over OTA. Maybe someone knows how to do it manualy without upgrading (clear cache??)/ restoring firmware with full wipe? could be useful if that happens again :confused::confused::confused:
[Sony Xperia XA Questions & Answers] rrvuhpg:
You can reset battery stats by wiping "Qnovo" partition with Flashtool.
[Sony Xperia XA Questions & Answers] Simplyeh:
thank you
[Sony Xperia XA Questions & Answers] ben_pcc:
Apologies in advance for resurrecting an old thread.

I flashed stock firmware onto my phone to downgrade for rooting. I've done that before with success. But with this new phone (Xperia XZ1 Compact) I didn't realize that I need to *not* flash some partitions. Qnovo is one of those :(. I did not back it up before doing this. I know, rookie mistakes.

It was fully charged before flashing, and after it shows 20% charge, and never goes up. Red warning light on, unless the phone is off, then it's green.

Seems like the Qnovo partition is messed up in some way. How exactly do I wipe it? Can that be done without flashing the whole phone? I can't see an obvious option in flashtool, and tried fastboot format Qnovo (that doesn't find the partition and does nothing).
[Advantage X7500, MDA Ameo ROM Development] johnbcutton:
Hi,

I would like to know if there is a way to tweak the registry in order to make Messenger and Internet Explorer unusable. These programs are installed in the ROM and are impossible to remove so I wonder if there was at least a way to prevent their usage. We have some power users of Athenas that (unfortunately?) do too much of Messenger and browsing and 3G costs!

Thanks for the help, John
[Advantage X7500, MDA Ameo ROM Development] Jazzamataz:
I 'm not sure if there is a tweak, however after a hard reset of the device the software can be used again.

Maybe you should ask your ISP if they can help by blocking things for specific users.
[Advantage X7500, MDA Ameo ROM Development] touchlasvegas:
I would read in the AP Kitchen thread, I havent read much of it, or ever tried, but I think that thread helps you build a custom rom version...I think you could either do it yourself or ask for someone to help with either creating a special rom for you without the programs, or removing IE and messaging from a specific rom for you. If you did it that way, there would be no traces of IE or messenger and they wouldnt really be able to download anything to it without explorer.
[Advantage X7500, MDA Ameo ROM Development] johnbcutton:
Thanks Touch,

Where is the AP Kitchen thread that you mentioned? I can't find it.

BTW I didn't know that it was possible to build a custom ROM without IE and Messenger. I thought that only HTC could do it..

John
[Advantage X7500, MDA Ameo ROM Development] :
hi,

but if you create a rom without the messenger, any user is capable to install it...

the best solution is to disable the gprs access via the phone service provider.

regards
[Huawei Mate 9 Questions & Answers] zuuus:
Does this mean that Oreo is around the corner for C636?
[Huawei Mate 9 Questions & Answers] duraaraa:
It's rollback for Oreo beta. They exist for all Mate 9 variants already.
[OnePlus 5 Questions & Answers] gunther82:
Hi all,

is it possible to configure the physical modes button to enable/disable auto-rotation of the display? Of course by means of a mod I mean.

I would like this configuration:

button up: mute - auto rotation OFF

button in the middle: volume up - auto rotation ON

button down: volume up - auto rotation OFF

Is this possible in any way?

Thanks
[OnePlus 5 Questions & Answers] xxBrun0xx:
Tasker can grab the hooks triggered by the switch. The problem is the switch will still change the phone to DND in the middle position. I don't even bother with the middle position because DND is useless. I also hate how easily the switch moves when you put the phone into your pocket. If you don't use a case, this will drive you nuts.
[OnePlus 5 Questions & Answers] gunther82:
Can you please guide me on how to make tasker grab the hooks triggered by the switch? I looked into events in tasker but I couldn't figure it out.
[Nexus 9 Q&A, Help & Troubleshooting] drake19:
Hi there guys,i brought a N9 very cheap and he was told me that the device was fc a lot.

Anyway i noticed that,when is fully charged it works great,but when the battery drops below 60%,then it starting to reboot,softreboot,system apps keep fc and i cant use it.

Is this a problem from the battery or the mainboard?!

I tried the solution to disconnect the battery and reconnect it but nothing happenend.
[Nexus 9 Q&A, Help & Troubleshooting] madbat99:
Have you tried to re flash the stock firmware image? I have noticed a few people have replaced the battery and it solved many problems.
[Nexus 9 Q&A, Help & Troubleshooting] drake19:
Yeah,i have flash it a lot of times.

I want to replace the battery to test it,but i cant find anywhere.
[Nexus 9 Q&A, Help & Troubleshooting] madbat99:
Cameron sino 6700mAh Li-Polymer Battery For Google Nexus 9, 0P82100, Nexus 9 TD-LTE, Nexus 9 WiFi, fits Google 35H00218-00M, B0P82100 https://www.amazon.com/dp/B06XS2XQNQ/ref=cm_sw_r_cp_apa_vuq4zb0X0ABC3
[Nexus 9 Q&A, Help & Troubleshooting] drake19:
Sorry i didnt explain it,i cant find in amazon uk,or ebay.co.uk to send it from europe,i live in greece and we have problem with the customs here,if i order something out of EU they will charge me +22€,plus from hong kong i will have her in 4 weeks+

Thank you for the link anyway :)
[Nexus 9 Q&A, Help & Troubleshooting] madbat99:
Oh sorry. Just trying to be helpful. Hopefully you can find one closer to you.
[Nexus 9 Q&A, Help & Troubleshooting] drake19:
I know that and thank you so much for the help :)
[Nexus 9 Q&A, Help & Troubleshooting] drake19:
I have changed the battery,but still i have the same problem.

Any advice anyone guys!?!?
[Nexus 9 Q&A, Help & Troubleshooting] drake19:
I just noticed something,i fastboot format system and after that i fastboot flash system and nothing was force closing,after one reboot,the hell came!!!

I did the same again and everything was ok.

Does anyone have any idea about this?!
[Nexus 9 Q&A, Help & Troubleshooting] gtsip:
On the page below, they reference a remedy solution that was efficient for a long time

https://productforums.google.com/forum/#!topic/nexus/MP7ODWyR62Y

They've just unplugged the battery for some seconds and reconnected it. This action, forced M/B to hard reset. You can try that. Somewhere on the page there are instruction from ifixit. Just unplug the battery.
[Nexus 9 Q&A, Help & Troubleshooting] madbat99:
He actually changed the battery
[Nexus 9 Q&A, Help & Troubleshooting] =xom=:
Hi I have similar issue. When my battery is low, my tablet very often is stuck (White screen and squeak voice).

Im on slimrom + fire ICE kernel

Try go to developers options>background proccess limit>set 0 instead of normal limit
[Nexus 9 Q&A, Help & Troubleshooting] madbat99:
For most, unplugging and re plugging the battery will fix it.
[G4 Q&A, Help & Troubleshooting] sasa94:
There is any method to get root without avoiding the warranty ?

i read on the net that there are some someftware that can make that , for example : iRoot .

but it dont function with lg g4 :/.

Im not interested in changing kernel and so on , just i want to get root :) something that can make me keep warranty and backup any time in official version .
[G4 Q&A, Help & Troubleshooting] kouzelnik3:
It is possible when you are on Lolipop.
[LeEco Le 2 Questions & Answers] Heartbreak kid:
if i flash 19s bootloader vand 20s modem..will it wipe data? should i take a backup?plz hlp...im having volte issues
[Android General] dr.bathman:
Pixel-2-Launcher apk & flashable zip from Google pixel 2 (either ftom Android Oreo 8.0 or Android Oreo 8.1 DP1)

Flashable zip will enable Google now integration & simple apk will not include Google now integration.

How to..

Flash Pixel-2-Launcher zip from TWRP (as system app)

Or install Pixel-2-Launcher apk as user app.

Download:

From attachments

Any of following

Pixel 2 Launcher from Android Oreo 8.0

Pixel 2 Launcher from Android Oreo 8.1 DP1

Note: All features are working only in android oreo based ROMs. I tested all files in Nougat & Oreo based custom ROMs. Some users are reporting that app is crashing in marshmallow based ROMs. You need to give location permission manually to get weather data as launcher is not asking location permission but by default all permission are set off.

Sources: APKMIRROR

How to uninstall?

Flash Pixel-2-launcher-uninstaller (file from attachment) using TWRP or other custom recovery.

Magisk module of original Pixel 2 launcher for systemless installation is available here:

https://xdaforums.com/apps/magisk/module-t3689509

Enjoy! :)
[Android General] dr.bathman:
Screenshots from nougat based custom ROM..
[Android General] dr.bathman:
Screenshots from oreo based custom ROM..
[Android General] apfo:
Thanks man! I didn't want to root my phone again just for make this launcher working as a system app. I've installed it in my OPO with Oreo ?
[Android General] Praveen Pannu:
Excellentooo

Great work Doc

Pleased to use this launcher.
[Android General] prakhar__01:
Is there a way to uninstall it once flashed?
[Android General] Deleted member 4871016:
Has anyone managed to get the weather working?
[Android General] Sufisticated:
Is there any way to get notification count/badges working on this launcher ?
[Android General] Anderson_ARS:
What the modified version has? downloaded it and I did not see a difference Compared to original.
[Android General] dr.bathman:
It's same as original. Use it only if original version can't be installed. Like in some custom ROMs. So if original version is working, no need to install modified one.
[Android General] dr.bathman:
Reflash current ROM or

Go to system/priv-app & delete folder nexuslauncherprebuild. It'll get removed.
[Android General] dr.bathman:
It's notification dot working only in oreo.
[Android General] Sufisticated:
Thanks for letting me know.

I only asked because the notification dots were working in the Pixel Launcher 7.1.2.

I have a Nokia 8. I guess I will have to wait for Android O update to get this feature back.
[Android General] PGHammer:
I have the original installed on my current ROM (current unofficial DU for Galaxy Nexus). While I don't have the Oreo-style notifications, it's actually cleaner than the original Pixel Launcher. I will likely swap the flashable version to gain Google Now integration - and I definitely like the cleaner approach this launcher takes compared to the launcher from the original Pixel.
[Android General] KilyanP:
Doesn't work on my Galaxy S8+

It keeps crashing at launch :/

But thanks for sharing !