yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL Guides, News, & Discussion] uofirob:
So I did this, and now I'm bootlooping. I guess I'll re-flash the Jan factory image and wait a little longer... **UPDATE** I fixed the bootloop by re-trying the process again (after re-verifying the MD5 hash on the update.zip. I rebooted after installing the update,

but before the TWRP flash to install MAGISK. Maybe this allowed the "update"

to finish processing. I also had to remove the pin from my lock screen in order to allow me to get into twrp. After rebooting into the system and removing the pin, I adb reboot bootloader and then flashed twrp. Thanks for the guide!

---------- Post added at 07:58 AM ---------- Previous post was at 07:50 AM ----------

You don't need to remove the -w from the .bat file since you aren't using it at all to do the update. That is only if you're flashing your factory image.
[Google Pixel 2 XL Guides, News, & Discussion] WorldOfJohnboy:
I changed some wording under prerequisite...
[Google Pixel 2 XL Guides, News, & Discussion] simplepinoi177:
I agree with everything on this guide...

just teasing... ;)

I'm actually glad you created this thread...I wanted to create one also and try and help out as much as I could, but I don't have the cahones and didn' t think I had experience enough to start a "guide" thread :silly:
[Google Pixel 2 XL Guides, News, & Discussion] CyberpodS2:
I mean no disrespect, but this seems awful complicated compared to just flashing the full image with the removed (-w). Especially since your downloading it anyway. I do that then boot the TWRP image and flash the TWRP zip. Reboot into recovery and flash kernel and magisk and reboot system. Again I'm asking for clarity, not dumping on you. Great write up btw!
[Google Pixel 2 XL Guides, News, & Discussion] simplepinoi177:
Well...I can't speak for the OP, but I wrote my extremely similar identical one because, for whatever reason, many users would choose OTAs over flashing full factory images. I/me & you understand the benefits of the factory images over the OTAs; especially understanding the process you must go through to install the OTAs as-of-current is almost the same as flashing the factory images anyways...

But if I were to give a possible explanation to their reasoning is that, like many of them, I come from a non-Google phone (S5 for me), and OTA's were simpler, takes less bandwidth (which still remains true today), they were significantly simpler to install vs. factory images, and with a lot of popular phones you only flash factory images to recover your phone; i.e. muniz_ri's OTA's for the S5 and FlashFire were loads simpler than flashing a whole factory image. But, again, understanding the difference for Pixel 2 and Oreo's OTA & factory images (or the small difference thereof), it's probably better to do a few extra steps and/or downloads to do the whole image than sideloading an OTA.

In the end, this is for people who insist for OTA updates most likely because that's how they are familiar (and therefore more comfortable) with; whether it being explained to them or not...

Cheers!:good:
[Google Pixel 2 XL Guides, News, & Discussion] CyberpodS2:
Fair enough, thanks for the input!
[Google Pixel 2 XL Guides, News, & Discussion] WorldOfJohnboy:
It may seem awful complicated, but to be honest, to me is less complicated than having to edit a script file (which if you forget to do, will lose all of your data). Also, though the steps I wrote out seem like a lot more if you were to write out a process using the full image, it actually works out to be almost the same number of steps.

Lastly, as someone else hinted at, the OTA file size is smaller. The only full image you need is what you are currently running (which in most cases I have on my phone in case the sh__ hits the fan with my phone), not the new full image. (To be even more precise, you only need the boot.img and dtbo.img from the full image file--there may be places to get just those two files out there.)

As I put in the last sentence, I realize there are other methods to this madness, this is basically what works for me. I wanted to get it in writing so I wouldn't forget this down the road, and if it helps anyone here, just icing on the cake. Clearly I'm no Dev and not forcing anyone to perform the updates this way! :)
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Hey bud, wonder I I could pick your brain just a little. When doing monthly Google updates, are most of their proprietary files located in the boot, dtbo, and vendor images?? Your posts have intrigued me a little, and are very well written BTW. My reasoning is this. On my old 6p, about all we needed to do was flash the new vendor, and of course the bootloader and radio if there were any worthwhile improvements. Would the same possibly apply to the P2XL?? I'm just wondering because, now that we're starting to see custom roms, if this would be a viable option, and simplify the updating process. Thank again for your great write up ??
[Google Pixel 2 XL Guides, News, & Discussion] WorldOfJohnboy:
I'll be perfectly honest with you, I haven't taken a dive to see what is in the OTA files and would imagine that it varies depending on the monthly updates.... that said, the only reason why I have stated to re-flash the stock boot.img is because if you are rooted with Magisk, it takes the stock boot.img and modifies it. In order to take an OTA sideload, you need to be on stock boot.img and stock recovery. dtbo is only in my process because there was one time when I tried to sideload and my dtbo wasn't stock (or corrupt). You may not need to flash the stock dtbo.img, but it doesn't hurt to do so.
[Google Pixel 2 XL Guides, News, & Discussion] CyberpodS2:
I'm really happy to see our device has graduated to this level of discussion, instead of the random guessing and 14 different "possible" routes to a solution. Lol

Custom roms abound, once TWRP gets squared away and someone master's the art of turning monthly updates into zip installs we'll pretty much be there!

Btw OP, great write up... Clear and precise!
[Google Pixel 2 XL Guides, News, & Discussion] Brenneke:
I do not understand the purpose for downloading the full system image and then flashing only the OTA zip - what am I missing? There is a widely distributed method for performing monthly OTA updates by uninstalling Magisk, updating OTA normally, then flashing Magisk again - seems much simpler, any reason why it would not work?
[Google Pixel 2 XL Guides, News, & Discussion] WorldOfJohnboy:
Downloading the full system image is not required. You only need the Stock versions of boot.img (required) and dtbo.img (optional) of the ROM version your phone is currently running. I actually keep a full system image on my phone in case something goes awry.

I'm going to update the OP to more clearly state that you only need the stock boot.img file--how you obtain it is up to you. Uninstalling Magisk will do the same exact thing, however I tried to do that a couple of months ago and it created more issues for me than if I had just flashed the stock boot.img in the first place.
[Google Pixel 2 XL Guides, News, & Discussion] Brenneke:
I have not tried the uninstall Magisk method but plan to do so at next update. What kind of issues did it create for you?

Thanks.
[Google Pixel 2 XL Guides, News, & Discussion] WorldOfJohnboy:
For some reason, I don't think it restored the correct (or not corrupted) boot.img version. Then, there were remnants of the Magisk APK and other files so I ended up having to do a full TiBu of my apps and flashed (with wipe) a full System image. It may have been something I did or just my bad luck, but I prefer not to chance it and instead manually flash the Stock image as my "guide" here states.
[Google Pixel 2 XL Guides, News, & Discussion] Brenneke:
Can you remember if you did it this way?

Launch the Magisk Manager application

Tap the Uninstall button

Tap the Restore Stock Boot option

Wait until the Restoration Done! toast message appears at the bottom

Open the Settings application

Tap the System option

Tap the System Update option

Initiate the OTA update install

Wait for the OTA update to be installed

Tap the Restart Now to Update option

Wait for the Pixel 2 to boot back into Android

Follow the guide to gain systemless root access to the Pixel 2 again (optional)
[Google Pixel 2 XL Guides, News, & Discussion] WorldOfJohnboy:
I think I did that right up to the "Open the Settings application" That's basically having you take the OTA the true OTA option, I chose to instead sideload my OTA file. It was during the OTA sideload that I got the error(s). Of course, instead of obtaining and manually flashing stock boot.img and others, I did a full wipe and install of the full system/ROM.
[Google Pixel 2 XL Guides, News, & Discussion] simplepinoi177:
Yes...just like WorldOfJohnboy, when I uninstalled Magisk, it's supposed to remove everything -- if you watch the script of Magisk rooting, it states it finds a stock boot.img and dtbo.img and actually backs it up/saves it which I imagine is for restoring -- but when I went this route, I just got bootloops to recovery. That's how I thought of the similar steps (if you want a more descriptive write-up & possible explanations) like WorldOfJohnboy.

If anything... I learnt after-the-fact that Magisk actually has an uninstaller .zip file you can run in TWRP that is supposed to be a better more comprehensive way of removing root and Magisk. But, as I said, I had repaired and recovered everything at this point and didn't have the need to try the uninstaller so I can't say from experience. But I strongly suggest using the uninstaller vs. the Uninstall button in the app.

In the end, hopefully you have better luck than us...then you can simply go to stock recovery and sideload OTA versus our whole other method...
[Google Pixel 2 XL Guides, News, & Discussion] uofirob:
I wanted to post an update to thank you again for this guide (It's been my go-to guide since the feb OTA). I've tried flashing the Full images in the past, but, for some reason, more often than not, I end up getting my phone into a bootloop. This procedure has resulted in me never having to deal with a bootloop issue.
[Google Pixel 2 XL Guides, News, & Discussion] WorldOfJohnboy:
OK, today I took a chance and first Uninstalled Magisk (well, first I restored stock images, then uninstalled completely) and was able to save a few steps from my OP by not needing to DL/flash the stock Boot and DTBO images. I've updated my OP accordingly.

Perhaps next month I will try mashing the "Update System" under settings after uninstalling Magisk to see if that works, then I won't need a PC for anything but getting Magisk reinstalled after flashing the OTA...
[Google Pixel 2 XL Guides, News, & Discussion] simplepinoi177:
Yeah...apparently this latest update has changed and is a lot different than any previous months! [MENTION=3812611]elliwigy[/MENTION] actually discovered that you can merely sideload the OTAs now with no hassle and, more importantly, without un-rooting and/or reverting back to stock recovery!!! You can even sideload the OTAs in TWRP now (something about checks not needing to happen in TWRP or at all or something like that...A little too over my head...). So, probably for the same reason, it's no longer needed to revert the boot and dtbo stock partitions/images. Should make the steps you (@WorldOfJohnboy) and I (seperately) figured out before a lot simpler and easier now...

*Of course, in any case, one would still need to re-root and re-flash custom kernels, recoveries, modules, root-dependent apps, etc.

And, it should be said, that pretty much all the experts on this phone here on XDA say that flashing the Full Factory images is superior and better in the long run; flashing OTAs is like "dirty-flashing" and overwriting the existing partitions whereas Full Factory flashing wipes and/or replaces partitions leaving less chance for incompatibilities and issues down the road -- AND without the usual drawback of losing your personal data and settings (removing the -w option in the commands/syntax) making Full Factory not as much of a downside against OTAs (if any at all anymore).
[Google Pixel 2 XL Guides, News, & Discussion] WorldOfJohnboy:
Tried Uninstalling Magisk then smashing OTA in System Update while booted into the OS, update failed. Went back to my original Post (minus the full image download) and it still works like a charm. I have not loaded TWRP on my phone and still have stock Recovery... not sure if loading TWRP would add steps to my process or as ^^simple^^ posted, the OTA will flash via TWRP, but I kind of don't want to have to deal with it if it doesn't work as has been said.
[Google Pixel 2 XL Guides, News, & Discussion] WorldOfJohnboy:
Just wanted to note that I couldn't get this (OTA) to work in going from Oreo to Pie, so I did a flash of the Full ROM image removing the -w. Also important to note, if you have Security on your phone (PIN, etc.), you need to flash a very particular Magisk on it after updating to Pie. I nearly had a heart attack when I rebooted my Pixel 2 XL and it wouldn't take my PIN. I sideloaded the correct Magisk and all is well now.
[Google Pixel 2 XL Guides, News, & Discussion] simplepinoi177:
Yes to this ^^!!!

it's rather tedious and not as seamless to try and do this method as an upgrade from Oreo to Pie...

And, also, at least for taimen and walleye (pixel 2's), if you don't load a particular and/or most very latest Magisk, it will mess with your PIN and/or decryption...

Thanks [MENTION=3844705]WorldOfJohnboy[/MENTION]
[Google Pixel 2 XL Guides, News, & Discussion] srqrob:
Yeah, the first time you see that "wrong PIN" error it is heart stopping. Thanks for all the info you shared in your original and subsequent posts.
[Google Pixel 2 XL Guides, News, & Discussion] mrdunlop:
SO the latest security release for the Pixel 2 xl is pie?
[Google Pixel 2 XL Guides, News, & Discussion] steviewunderr:
This is typically my process, except my terminal always refuses to run flash-all.sh on factory images so I go and flash each individual .img through fastboot. I should also mention I flashed radio and bootloader prior to flashing the individual .img files (just followed the order in the flash-all.sh file). I then booted TWRP.img and flashed the twrp installer. Flashed magisk 17.1, then Flash kernel and tried to boot system. It failed and booted to twrp with "RescueParty" after I entered my pin. Any ideas?

EDIT: I followed a previous bootloopers instructions to where I booted android P successfully and waited for the notification "System update finishing" to complete. I then booted twrp and flashed twrp, rebooted recovery and flashed magisk 17.1 followed by Flash kernel. Flash kernel detects that I'm on Sept. patch and also detects magisk during the install. Still bootloops into rescueparty.

EDIT 2: It appears magisk is the core issue. After flashing the uninstaller and rebooting system, it fires up fine. Tried ANOTHER install with 17.1, and it worked. Had to manually install magisk manager 5.9.1, but after opening the app it verifies that magisk is installed and the safetynet passes. Leaving this for anyone with similar issues :)
[Google Pixel 2 XL Guides, News, & Discussion] WorldOfJohnboy:
So, I recently discovered why I prefer the OTA method in this post--the hard way.

I tried to run the February full update and remove the "wipe" function... clearly something failed on the save of the script and it wiped my poor Pixel 2 XL :( I guess it was about time I did a complete refresh, but losing all my photos (backed up to Google Photos) and Music kind of took the air out.
[Google Pixel 2 XL Guides, News, & Discussion] simplepinoi177:
Ouch! Really sorry to hear all that...

Yeah...it's my monthly ritual that, as I "flash"/install the monthly updates, I go ahead and make a nandroid backup (TWRP custom backup; a twrp backup that includes the internal sd data)... I'm not sure how much it helps (at this point), but when editing the flash-all script and removing that all-important "-w", the way I make sure it gets "saved" is, after removing the "attribute", I actually close the notepad/wordpad/text editer; by closing, it will freak out and make sure to ask if you wish for it to be saved before closing. I think it's better than doing the File->Save or CTRL-S and what not....at least to me FWIW...

And....yeah...."silver lining"; you should have a good stable system in place because everything was wiped and installed... :cowboy:
[Samsung Galaxy S7 Edge Questions and Answers] Ragazzza:
Guys i need one favour if it is possible. The thing is i can't log in to Samsung Account since i debloated my phone on Nougat, i just can't get it to log in to my Samsung Account it says processing failed, i dont want to flash stock rom and i really really want this theme so can someone download it and somehow extract it using root explorer and upload it?

Please guys this is the theme in pic
[General Questions and Answers] 0x0rbit:
Hello,

do you know how accurate the 'Smart Stay' feature works?

I'm just wondering, if I can determine through a similar technique, where the user is precisely looking at on the screen (pixel coordinates) and that maybe in real-time?

What do you think?
[Galaxy Grand 2 Original Android Development] GuestX0050:
A ROM brought to you by renosang-sang nguyen from DroidVN team (droidvn.com)

What works:

Basic features seems to work

What doesnt work:

Hexagon customizations doesnt seem to work i.e it is not accessable

Browser and documents fc sometimes :/

snap cam clicks pictures but it does not save it so use other camera apps please

If you find more bugs feel free to report

-Don't forget to backup your files

-Reboot to recovery

-factory reset

-flash ROM ZIP

-flash vendor patch

-flash gapps (download gapps for 6.0.1 arm from opengapps.org )

-Reboot and enjoy !!!

DOWNLOAD ROM

Here
​

​

CREDITS

Me for porting the full rom

Cyanogenmod Team for BASE ROM

@shujath for his CM13

@Droidvn team

Forgive me if i forgot someone

XDA:DevDB Information

Hexagon ROM, ROM for the Samsung Galaxy Grand 2

Contributors

Bungeejumper

Source Code: https://github.com/HexagonRom

ROM OS Version: 6.0.x Marshmallow

ROM Kernel: Linux 3.x

ROM Firmware Required: Stock 4.4.x

Based On: CyanogenMod

Version Information

Status: Beta

Current Beta Version: 1

Beta Release Date: 2018-02-16

Created 2018-02-15

Last Updated 2018-02-15
[Galaxy Grand 2 Original Android Development] GuestX0050:
Go here for screenshots

https://xdaforums.com/devdb/project/?id=25145#screenshots
[Galaxy Grand 2 Original Android Development] GuestX0050:
Reserved 2
[Galaxy Grand 2 Original Android Development] Sudeep:
can you please provide some screenshot？
[Galaxy Grand 2 Original Android Development] GuestX0050:
check post 2
[Galaxy Grand 2 Original Android Development] Subhashis:
About bugs

Well thanks for porting a new ROM. Anyways the ROM looks awesome as hell. I love dark themes and this ROM is prebuilt with a dark theme. The Xperia launcher is good too.

Anyways,the bugs mentioned is not actually a bug!It can be easily fixed with a few steps:-

1.To fix Hexagon customization automatic close, enable root

2.For other bugs like camera and browser,other browsers and camera app will fix it.

So overall,it's a stable ROM.​
[Galaxy Grand 2 Original Android Development] GuestX0050:
Thank you so much for these feedbacks thank you it means a lot :D
[Galaxy Grand 2 Original Android Development] mkfaruq:
Did you tested the ROM? I wanna try if basic calling and camera works fine. How about battery life? (Not expecting a lot though.)
[Galaxy Grand 2 Original Android Development] Subhashis:
Sim1 works (I'm a single sim user,dunno about second sim)

For camera flash the cam fix for cm13 ROMs

About battery life, its average(In kernel adiutor,all cores shows running at 1190Mhz unless you manually adjust it)
[Galaxy Grand 2 Original Android Development] mkfaruq:
Thanks for the answer. Can you explain how to manually adjust core speed? What is your recommended settings? I am downloading ROM now.
[Galaxy Grand 2 Original Android Development] Subhashis:
How to configure Kernel Adiutor:-

https://www.youtube.com/watch?v=opOVaYFSqEo

I set it to 998Mhz and enabled multicore power saving to aggressive and set governor to ondemand. Basically I use this phone only for communication purposes and listening music.
[Galaxy Grand 2 Original Android Development] (PRO)Krutik:
Please Give me Vendor patch link and camera fix link [MENTION=8083766]Bungeejumper[/MENTION] [MENTION=6404303]Subhashis[/MENTION]
[Galaxy Grand 2 Original Android Development] mkfaruq:
Front Cam fix : https://basketbuild.com/filedl/devs?dev=Adityaupreti&dl=Adityaupreti/Patch+and+Front+cam+Fix.zip

Vendor patch : https://basketbuild.com/filedl/devs?dev=Adityaupreti&dl=Adityaupreti/Vendor_2016_flashable.zip

Give root permission to Hexagon settings if you want to change themes.
[Galaxy Grand 2 Original Android Development] Ashraf Shaikh:
Any Bugs In This Rom?
[Galaxy Grand 2 Original Android Development] GuestX0050:
cant you check the op?
[Galaxy Grand 2 Original Android Development] (PRO)Krutik:
Can you update security patch?
[Galaxy Grand 2 Original Android Development] Ashraf Shaikh:
Ohhh I didn't Saw Because It Is Not Highlighted :eek:
[Galaxy Grand 2 Original Android Development] GuestX0050:
idk it kinda seems impossible for me
[Galaxy Grand 2 Original Android Development] (PRO)Krutik:
Dam bro please try still many peeps use this device
[Galaxy Grand 2 Original Android Development] GuestX0050:
i can port and boot roms but i cant do that because idk what is related to the security patch and stuffs
[Sprint Samsung Galaxy S8 Questions & Answers] A_4u2nv_06:
I have the opportunity to get a Samsung Galaxy S8 active from Sprint unlocked will this work on the Verizon network if you could tell me if everything would work or if it would not that would be great thank you
[Sprint Samsung Galaxy S8 Questions & Answers] Ibuprophen:
I don't have this device but, the following, device specific, threads may be helpful for what you are looking to do and don't be afraid to ask for some member guidance within one of them too.

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

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

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

If all else fails, and you don't receive any responses from the above threads, your best bet is to post this question within the following Q&A thread that's specific to your device.

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

Good Luck!

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

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Sprint Samsung Galaxy S8 Questions & Answers] xmuertex:
Yes it can work, if you change the firmware to the verizon one, i did it with my s8+, search any firmware galaxy s8
[Sprint Samsung Galaxy S8 Questions & Answers] A_4u2nv_06:
Can you do this without root? Do you have the link. I can get the phone new for $375
[Sprint Samsung Galaxy S8 Questions & Answers] xmuertex:
Yes.

Remember, if its not unlocked, it will not work

youtu (dot) be/M-jOM9LXhqE
[Sprint Samsung Galaxy S8 Questions & Answers] jreuschl:
Verizon doesn't sell the Active version so there will not be one that works for VZ.
[LG G5 Questions & Answers] Abahamu:
Why disappear administrator when i upgrade nogate lg g5-h831.