yashsingh1/xdaforums huggingface dataset:
[Essential Phone ROMs, Kernels, Recoveries, & Other] chk27:
Thanks, I've another one, possibly more complex.

I've opened one of the stock zip posted here, and noticed it has _A and _B commands for anything, so I've investigated a bit to understand what that is and found the answer here: https://source.android.com/devices/tech/ota/ab_updates

But from standing to google, apparently, this seamless update partitions thing, is managed by that update engine daemon, which runs along with system during and OTA, thus it won't run during a sideload with fastboot, and so no changes on 'active' partition will be done with a fastboot flash.

Now, my question is:

Is there a way to understand which is the currently active partition, flash the other one, and then change the active partition to the newly flashed one all from fastboot?

Because in this way we could take advantage of this new A/B thing and greatly reduce possibility of bricking devices.

Ok, I've found what I was looking for here, it refers to pixel 2 but I think it is absolutely the same since ph1 has the same seamless structure and those are fastboot comands.

https://xdaforums.com/pixel-2/how-to/psa-fastboot-booting-bad-image-confuse-t3692932

I'll just copy for quick reference:

fastboot getvar all -> should allow to see variables such as the bootloader's active parition / bootable partition / successiful partition (see the source.android.com page above for further information).

fastboot set_active a (or b) -> will set the partition active.

This seems to be very nice.
[Essential Phone ROMs, Kernels, Recoveries, & Other] Vixerunt:
i've killed stock partitions on my PH-1. There is no recovery parttition! I've got an error FAILED (remote: Flash Write Failure)..... And so on! Does exist any methods to restore stock partitions?
[Essential Phone ROMs, Kernels, Recoveries, & Other] mobileman88:
Recovery is part of boot partition. Just flush twrp into the boot partition then you can boot into it.
[Essential Phone ROMs, Kernels, Recoveries, & Other] asanford:
I essentially have the same issue, although I can't get the phone back into fastboot. It just shows up as "Qualcomm HS-USB QDLoader 9008" when plugged into my PC. Google has led me to see this might be a hard-brick? Is there any way to come back from this?
[Essential Phone ROMs, Kernels, Recoveries, & Other] mobileman88:
Sure sounds like a brick. You might need to contact essential for help
[Essential Phone ROMs, Kernels, Recoveries, & Other] Airwolf79:
Just wanted to add that anyone trying to run the flash-all to return to stock with a Mac, you need to open the flash-all.sh in a note editor and add ./ before each command and then save it. You can then execute it with ./flash-all.sh
[Essential Phone ROMs, Kernels, Recoveries, & Other] altimax98:
Same if you are using Powershell
[Essential Phone ROMs, Kernels, Recoveries, & Other] hallevison:
Phone is Bricked!!!! Help!

Hi:

I have had my phone for about 36 hr. I was trying to root it, but a messed up /system and I could not get Magisk to install. So, I decided to go back to stock (NMJ88C). I tried the instructions at the beginning of this post and fastboot was generating a lot of errors. However, although I had unlocked to bootloader, I had not run "fastboot flashing unlock_critical". I have now done that and run "fastboot -w" and "flash-all.bat". Everything seemed to go right - no error messages. However, the phone will not boot. I get the 'Powered by Android' screen, but is hangs there.

It will go back into fastboot

Help!!! My wife is going to KILL ME!

------

EDIT - <DELETED>

------

EDIT2 - DUHH!!!!!!! I downloaded the wrong zip file - NMJ88C_firmware.zip instead of NMJ88C_back_to_stock.zip. All is good now.,
[Essential Phone ROMs, Kernels, Recoveries, & Other] avd:
I'm happy your wife is happy.

We've all been there.

At least the ones that moved out of their mom's basement.
[Essential Phone ROMs, Kernels, Recoveries, & Other] hallevison:
Oh, she will never know!

;)
[Essential Phone ROMs, Kernels, Recoveries, & Other] tech_head:
Only if the fastboot and adb commands are not in your path.

I have them installed and the path added in my path environment variable.

set path=($HOME/bin $path /usr/local/bin /sbin /Users/"your name"/Library/Android/sdk/platform-tools .)
[Essential Phone ROMs, Kernels, Recoveries, & Other] Airwolf79:
Ok, I usually just CD to platform-tools and leave it open. So if I set the path, then I won't need to edit the flash-all, correct?
[Essential Phone ROMs, Kernels, Recoveries, & Other] tech_head:
Correct
[Essential Phone ROMs, Kernels, Recoveries, & Other] corey unknown:
OK my wife's looking at me funny .

. I looked before I leaped and rooted with modified boot now busted my hotspot n wifi , will factory boot restore them.. eep she's a angry missus too lol
[Essential Phone ROMs, Kernels, Recoveries, & Other] thelangosta:
That's why my phone is still stock lol. If I break my new phone I won't get any sympathy.
[Essential Phone ROMs, Kernels, Recoveries, & Other] corey unknown:
I just dloaded Oreo 1 also and got same problem trying to extract on two different PC's so file is corrupting transferring from my phone storage to my PC desktop... Dammit this is frustrating
[Essential Phone ROMs, Kernels, Recoveries, & Other] corey unknown:
Downloaded 4 times now and each zip didn't open yet other zip files are fine .. anyone have a mirror (not mega) to Oreo 2 return to stock please
[Essential Phone ROMs, Kernels, Recoveries, & Other] corey unknown:
So where do I unzip the nmj88c firmware zip and how do I execute the flash-all batch ?? Sorry I'd rather ask like the novice I am rather than completely fingering my phone ... Cheers in advance
[Essential Phone ROMs, Kernels, Recoveries, & Other] Ibanez33:
You can put it anywhere as long as your location is that folder when you run it.

Are you on a pc/Mac/Linux?
[Essential Phone ROMs, Kernels, Recoveries, & Other] corey unknown:
I'm on a ancient PC.. I have finally gotten lineage14.1 running and have WiFi again (also 360 camera??) but still no hotspot .. Also twrp recovery has gone and returned to stock .. All a little confusing to me ..I'd love to get onto a stable Oreo lineage .. Would I have to flash the essential oreob2 first ? I have that .any help I really appreciate
[Essential Phone ROMs, Kernels, Recoveries, & Other] DaveHTC200:
Yeah flash ob2 first before the lineage 15.1
[Essential Phone ROMs, Kernels, Recoveries, & Other] corey unknown:
Can i just fastboot flash the zip from essential.com? Either that or the ob2 firmware link in OP? Is the hotspot & WiFi working on latest 15.1? .. Ty
[Essential Phone ROMs, Kernels, Recoveries, & Other] DaveHTC200:
Just use the one from the OP as it'll do both slots, then latest 15.1.

WiFi yes, you need to toggle it back after a reboot, but not sure about hotspot as I don't use it
[Essential Phone ROMs, Kernels, Recoveries, & Other] corey unknown:
So open the ob2 firmware zip to c: and run just batch there?
[Essential Phone ROMs, Kernels, Recoveries, & Other] future/primitive:
im also having trouble unzipping OB2 return to stock from mega link downloads fine and completes when i try unzip windows says i need a additional 734PB also ... can anyone please help as my phone is soft bricked ..:):):):)
[Essential Phone ROMs, Kernels, Recoveries, & Other] avd:
734 Penta bytes?
[Essential Phone ROMs, Kernels, Recoveries, & Other] future/primitive:
Yes I think the sys files have been packed wrong... Tried unzipping on another PC same errors as other person.. looks like I will have to settle with 7.0 instead of Oreo :(
[Essential Phone ROMs, Kernels, Recoveries, & Other] surface13:
Beta 3 is available https://storage.googleapis.com/essential-static/PH1-OTA-OPM1.170911.254.zip
[Essential Phone ROMs, Kernels, Recoveries, & Other] MoistPicklez:
Thanks for uploading OB3 so fast [MENTION=2385005]invisiblek[/MENTION] !
[Essential Phone ROMs, Kernels, Recoveries, & Other] sirdicholas:
fastboot is force closing on me during system and vender flash
[Essential Phone ROMs, Kernels, Recoveries, & Other] avd:
You on the latest and greatest?

Worked ok for me on Ubuntu with stock fastboot
[Samsung Galaxy J7 (2017) Questions & Answers] uknow:
Is it possible to flash sprints unlocked bootloader to Verizon's j7 or even the whole firmware to gain root?

Or the unlocked j7 firmware and maybe flash Verizon modems?
[Samsung Galaxy J7 (2017) Questions & Answers] aljiv:
I was wondering the same. Any luck?
[X 2014 Themes and Apps] zahidm:
Hey guys,

Once again i find and tested something at my Moto X2 2014 running at lineage 14.1 final version...

Found at XDA for another phone but tried and found satisfactory...

1: Just download Zip below

2: Flash Via custom Recovery

3: Reboot and don't forget to change default Dialer app and enjoy new Pixel Dialer at your Phone

Hit Thanks if you like this :)
[X 2014 Themes and Apps] zahidm:
Screenshots Here enjoy ;)
[7" Kindle Fire HD Q&A, Help & Troubleshooting] jonmarkwright:
Hi All,

I have a Fire 7 which i am using solely for a media and smart home remote. I specifically chose this device as it is cheap and had the alexa built into the home button.

I have made some changes to the device but not rooted it as don't want to completely loose some of the amazon features i.e. home button press for alexa.

I have installed play store and hijack launcher and have nova launcher installed. I find that some some widgets work and some don't. I am struggling with IFTTT widget and beautiful widgets at the mo. basically i install them either via the app store or an .apk and when click on the widget and try to place it on the homescreen it throws up the tablet settings menu, if i exit this it does not add the widget? can anyone advise why this is or if it can be solved. If i add a RM pluggin tasker widget it lets me and allows me to setup the button but but for the other two it doesn't?

any help appreciated.

regards jon
[7" Kindle Fire HD Q&A, Help & Troubleshooting] jonmarkwright:
Hi All.

Well I have manager to find a link on her to sort widgets out which was a great find so thanks to dragonfire1024. so thank you very much for the info on the following link

https://xdaforums.com/hd8-hd10/gene...d-launcher-t3637813/post73056260#post73056260

I have one further question and I am not sure what i have changed to cause this. The screen never goes to sleep just remains permanently on.

if i go to settings, display, i have a setting called display sleep mode which you can set but this only dims the screen and does not turn it off? an suggestions?
[LG V20 Questions & Answers] tukator:
Hi!

I have experienced twitching in some apps (which with have the older G4 or G2 no problem). I put off the game battery saver, but still is the twitching (not continuos move) present. Is there something to solve it? The CPU load is not more than 50%...

Thanks
[LG V20 Questions & Answers] tukator:
Hi!

I experienced, that the problůem is global. The phone stucks, and behave lake older phone than G2... Even the antutu becnchmark is lover than for G2.. (about 30.000).

And have only about 200 MB free RAM.

I cleaned everything possible, and the problem still remains. Is tehre some solution?

Thanks
[Nexus 5X Q&A, Help & Troubleshooting] Aijen:
Hi dudes! Im trying to find a way to install Monthly Updates without loose the root and the custom recovery, some body can tell me how? Because im really want update to Oreo but i want be root user and dont have to make a clean install system every month... exist the way? Please help.... And Thanks!
[Nexus 5X Q&A, Help & Troubleshooting] ugly1:
There's something here. Haven't tryed that yet

http://zidroid.com/update-google-nexus-devices-without-wiping-data/
[Nexus 5X Q&A, Help & Troubleshooting] nowster:
What I do is flash all the updated partition images individually using "fastboot flash", then let it boot and settle for a few minutes (at the very least until the "performing updates" notification completes).

I then reboot into bootloader and from there boot into TWRP (without installing it) using "fastboot boot twrp.img" and then reinstall Magisk zip. None of Magisk's settings or modules are lost by doing it this way.

If you uninstall Magisk before updating the system, you risk losing its settings.
[Nexus 5X Q&A, Help & Troubleshooting] fnldstntn:
You can use Flashfire.
[Nexus 5X Q&A, Help & Troubleshooting] Aijen:
Okey, but using adb?
[Nexus 5X Q&A, Help & Troubleshooting] Aijen:
How dude? Can you tech me please?
[Nexus 5X Q&A, Help & Troubleshooting] fnldstntn:
https://youtu.be/WxWRYnzI1O4

Now it is competible with magisk and if you want magisk instead of supersu on installation process you can disabel the installation of supersu and ad magisk to flash afterwards. you can also use the factory images or full ota zips from googles website.
[Nexus 5X Q&A, Help & Troubleshooting] nowster:
Yes, you can use TWRP's "Advanced" adb sideload feature to install Magisk zip.

"adb" only works when Android is running (or some recovery images are running). When the phone is in bootloader mode the tool you need is "fastboot".
[Nexus 5X Q&A, Help & Troubleshooting] Aijen:
Thanks a lot! I will tried to do it! :)
[Nexus 5X Q&A, Help & Troubleshooting] Aijen:
Are you do that method without problems?
[Nexus 5X Q&A, Help & Troubleshooting] fnldstntn:
Yes it worked for me. But if you have twrp make a nandroid backup.
[Nexus 5X Q&A, Help & Troubleshooting] Aijen:
Another thing....the last. Did you maintain the Custom Recovery or Flash it again?
[Nexus 5X Q&A, Help & Troubleshooting] Aijen:
dude! one last need reflash Magisk every time the OTA comes or Magisk survival the OTA flash with Magisk? THANKS A LOT WORKS!!!!
[Nexus 5X Q&A, Help & Troubleshooting] fnldstntn:
i dont remember

i dont know.
[Nexus 5X Q&A, Help & Troubleshooting] nowster:
Magisk embeds itself in the boot partition. This prevents OTA from working.

Replacing the stock recovery partition also stops OTA from working.

The only reliable way to upgrade is by flashing the partitions again from the new factory image zip file, then reinstalling TWRP and Magisk afterwards.
[Nexus 5X Q&A, Help & Troubleshooting] zo1021:
Any ideas what will happen to ElementalX after flashing OTA using Flashfire?
[Nexus 5X Q&A, Help & Troubleshooting] Aijen:
Using the logic need to reflash it again
[Nexus 5X Q&A, Help & Troubleshooting] Aijen:
Sounds logic to me....
[Nexus 5X Q&A, Help & Troubleshooting] ehaze:
FlashFire is saying that the update will likely fail because the OTA update is a block level update. Suggestions on how to get around this?
[Xiaomi Mi Max 2  Questions & Answers] RaDi:
Hi.. can any of you please exctract the original recovery for me from the fastboot file.. I dont have fast connection to download the whole thing.
[Xiaomi Mi Max 2  Questions & Answers] JohnTheFarm3r:
From which ROM?
[Google Pixel 2 XL Questions & Answers] EMcTx:
Can I still get an OTA with the bootloader unlocked? I know I have to be unrooted, but I'm getting the phone today, so I'm not sure if I should try for the update before I unlock the bootloader. I always used a custom ROM on my Nexus 6P, so this is new for me.
[Upgrading, Modifying and Unlocking] markle:
Hello,

I have a HTC Touch (P3452). The working system is in english and i need it in german.can someone help me?

thanks
[Upgrading, Modifying and Unlocking] markle:
nobody an idea ?????
[Moto G 2015 Q&A, Help & Troubleshooting] BMatrix10000:
Hello,

About a year ago I decided to root my Moto G 2015. I used a guide from The Unlockr (I would give a link but xda only allows these after 10 posts) using Fastboot, TWRP Recovery and SuperSU. The root was successful and I had no further problems.

A couple of weeks ago I wanted to get a new phone and I wanted to unroot the Motorola so my dad could use it.

I used another guide from The Unlockr but I ran into some issues while flashing the stock ROM.

After using 'fastboot oem lock begin' I was not able to flash several items such as boot.img and the system sparsechunks. Since I didn't necessarily want to lock the bootloader again I just flashed all files without using 'fastboot oem lock begin'. All files flashed successfully but after restarting it doesn't boot and just brings me to the fastboot menu.

I also tried rooting the phone again with no success.

From here the only things I can still do are opening recovery mode (TWRP) and shutdown.

It seems I completely bricked it.

What could I do to get it up and running again?

Thanks in advance.
[Moto G 2015 Q&A, Help & Troubleshooting] adityak1303:
Since you can open recovery and bootloader, you haven't bricked your device. I have no idea who 'The Unlocker' is, but check out the following thread. You'll find all your questions answered there.

https://xdaforums.com/2015-moto-g/general/guide-fastboot-flashing-factory-t3187750
[Moto G 2015 Q&A, Help & Troubleshooting] rahul9999:
First of all why you wanted to lock you're bootloader?

Secondly try to flash latest firmware files from this thread with proper guide mentioned in this thread & check https://xdaforums.com/2015-moto-g/general/guide-fastboot-flashing-factory-t3187750
[Moto G4 Plus Questions & Answers] cohomology:
Well last night I stupidly pressed "Yes" when prompted to take the OTA update and now my phone only boots to TWRP. I have wiped everything and restored a backup I made in June and this did not work. Any suggestions? Thanks. I have the unlocked g4 plus btw.
[Moto G4 Plus Questions & Answers] @ sanjay sahu:
Try entering into boot loader and hit factory mode , hope it helps
[Moto G4 Plus Questions & Answers] cohomology:
Thx it did help!
[Moto G4 Plus Questions & Answers] cohomology:
I flashed supersu in TWRP and now the phone will not connect to Sprint towers any more! Sometimes it shows no sim card. I can move the sim card around a lil bit so it no longer complaints about no sim but still, no service! Did I accidentally flashed a modem file or what?
[Moto G4 Plus Questions & Answers] ____Mdd:
Which version of superSU you flashed ?
[Moto G4 Plus Questions & Answers] @ sanjay sahu:
I faced same problem previously while I was in journey , I tried many times removing simcard in and out , I searched internet over 100 times but no use. At last I got it back by doing this. I hope it helps buy no guarantee.

Steps I did .

1. Downloaded RR ROM latest build n g apps

2 removed sim and flashed rom

3 head into Boot loader and tapped BT tools

4 rebbot system once it starts I inserted sim then Bang network came .

Idk what's problem with this device I lost my second slot , now I'm using as single sim device :( :svetius:
[Moto G4 Plus Questions & Answers] abhi212b:
Supersu breaks SIM and Wifi, if you flash it on the stock kernel. you need to flash the ROM again.
[Lenovo A6000/Plus Questions & Answers] Deadman jo:
im on stock kikat icant flash twrp on flasyfi or rasher ...how to flash twrp with out pc
[Google Pixel 2 XL Questions & Answers] iofractal:
I have tried some apps and some searching and cannot find something that allows controlling the volume separately. Is this possible? I have seen apps that it would seem would let you do this but when you change the one volume the other follows it so you cant turn one up and the other down.
[Google Pixel 2 XL Questions & Answers] vwgti18:
This was my favorite thing about PA and cyanogenmod ROMs. I have been searching for something like this since 7.0 no luck
[Google Pixel 2 XL Questions & Answers] iofractal:
Never knew how much it would bother me until I got a phone that didnt do it. My Galaxy s7edge had different volumes for each.
[Google Pixel 2 XL Questions & Answers] EeZeEpEe:
I've actually preferred it consolidated the way it is now. I used a Note 2 before I got my Pixel 2 XL because my Nexus 5X died on me and seeing ringtone, notification, media AND system volumes did not bring back good memories. I don't want to micro manage volumes. LOL.
[Google Pixel 2 XL Questions & Answers] pvtjoker42:
This is one of the features I need in a custom ROM or xposed module, can't wait to be able to adjust notification sounds separate from ringtones! Honestly, i wish there was a way to adjust notifications per app instead of just general, but that's pushing it I know..
[Google Pixel 2 XL Questions & Answers] umx:
I am rooted is there anything that can be installed to separate them now?
[Google Pixel 2 XL Questions & Answers] mac796:
Delete
[Google Pixel 2 XL Questions & Answers] mac796:
Yep you can install Xposed and then GravityBox and then you can do it.
[Google Pixel 2 XL Questions & Answers] umx:
is exposed a rom?
[Google Pixel 2 XL Questions & Answers] mac796:
No it's a custom framework you put on your stock ROM that installs modules sort of like the ones in magisk. But GravityBox pretty much has everything you can imagine it. Most of stuff that comes with a custom rom normally, is in that gravity box. So you would install the Xposed Framework and then you would install gravity box.

https://xdaforums.com/showthread.php?t=3034811
[Google Pixel 2 XL Questions & Answers] umx:
cool. how do i know which one to use arm64, arm or x86
[Google Pixel 2 XL Questions & Answers] mac796:
You want the arm64 one. first install the APK 3.1.5 on your phone, and then install the module SDK 27 for Oreo inside magisk , just search it in the downloads in magisk you'll find it. After installing module you'll have to reboot. Then open up the app on your phone. Hit the little cloud and have it installed via TWRP it'll do it by itself. You actually don't have to do anything in twrp once it boots there just boot back to system. Now when you reboot back to system you open up that app it should be green then you go to downloads and search for GravityBox for Oreo. You'll have to change 2 Beta so you can find the right version to download. When you install it check the box next to it and then restart should be good to go

Also breaks safety-net I don't use Android pay but the few apps I do use that need safety-net I set them up before I install Xposed and they still work after I install Xposed

Edit. Also I don't think we used to have to install it inside the APK. When you did it in magisk it took care of it but that's not working for me anymore so I don't know if it's actually still systemless or not. I'm by no means am ia pro at the Xposed.
[Google Pixel 2 XL Questions & Answers] umx:
well got it to say it installed in twrp when i booted back into the system xposed still says not installed in the app

says xposed framework is not installed
[Google Pixel 2 XL Questions & Answers] mac796:
You might have to flip the switch inside the app on and then reboot it once
[Google Pixel 2 XL Questions & Answers] mac796:
Pic
[Google Pixel 2 XL Questions & Answers] umx:
i might be too drunk but i see so switch lol
[Google Pixel 2 XL Questions & Answers] mac796:
When you open the app it's right on top there's a toggle switch it says Xposed status
[Google Pixel 2 XL Questions & Answers] umx:
pic
[Google Pixel 2 XL Questions & Answers] mac796:
Right on top when you open the app it says Xposed status there's a toggle switch
[Google Pixel 2 XL Questions & Answers] umx:
piccc
[Google Pixel 2 XL Questions & Answers] umx:
website is being a asshole tonight.. tried to attach a pic twice

https://imgur.com/a/Pb24U
[Google Pixel 2 XL Questions & Answers] mac796:
Hit the cloud again and try and installing it the other way and restarting once.

---------- Post added at 05:41 PM ---------- Previous post was at 05:38 PM ----------

you want to install it it to the right of where it says version 90 that cloud right there
[Google Pixel 2 XL Questions & Answers] umx:
nopers.. should i just download it my self and throw it on the phone and boot into twrp and install it my self?
[Google Pixel 2 XL Questions & Answers] mac796:
That's weird I've never had a problem. Yeah you could try it I've never done it that way. Worth a shot
[Google Pixel 2 XL Questions & Answers] umx:
when i did it my self it worked.. dam tech... thank you btw the way for the helps!
[Google Pixel 2 XL Questions & Answers] mac796:
Good deal I'm glad you finally got it you'll like that gravity box it has all kinds of crap in it