yashsingh1/xdaforums huggingface dataset:
[Nexus 5X General] Fabaki:
Script to fix the Nexus 5X / Nexus 6P Bootloop problem

Credits

99% credit goes to [MENTION=4752144]squabbi[/MENTION] for teaching how to patch files yourself and [MENTION=5288606]XCnathan32[/MENTION] for discovering the fix itself.

1% for me for making the script :).

DISCLAIMER

THIS PROCESS WIPES ALL YOUR DATA (unless your bootloader is already unlocked) AND PROBABLY YOUR WARRANTY TOO! USE WITH CAUTION! I AM NOT RESPONSIBLE IF YOU BRICK YOUR PHONE!

THIS PROCESS WILL MAKE YOUR PHONE SLOWER (6P 2 times slower, 5X 1.5 times slower)! PLEASE USE ONLY AS A LAST RESORT!

PLEASE CONTACT YOUR WARRANTY TO TRY AND GET A REPLACEMENT BEFORE PROCEEDING!

What does the fix do?

The problem with those phones are the cores of the Cortex A57, and they need to be disabled.

What should you do?

Before proceeding, make sure you have OEM Unlocking enabled on your device, or the flashing won't work!

1. Download the zip below

2. Extract the zip

3. Extract the boot.img from the image you've downloaded (the script explains how to do it if you don't know how) to the folder you've downloaded

4. Open "Script.bat"

You should also download a factory image from this link (unless you live in Japan, don't download the Softbank versions, and unless you live in Australia, don't download the Telstra versions):

6P - https://developers.google.com/android/images#angler

5X - https://developers.google.com/android/images#bullhead

The script itself was not tested, but the method did work on my 5X so it should work.

If you have any requests, you can comment them here, and maybe I'll add them. One day.

I do plan on adding TWRP, Elemental X and Magisk patching one day, and if there will be many requests that day will come earlier.

Links to original posts and videos

https://xdaforums.com/nexus-6p/general/guide-tutorial-nexus-6p-bootloop-death-t3716330

https://xdaforums.com/nexus-5x/general/untested-nexus-5x-bootloop-death-fix-t3641199

https://xdaforums.com/nexus-6p/general/guide-fix-nexus-6p-bootloop-death-blod-t3640279

https://youtu.be/PhObuifEp3Y
[Nexus 5X General] Mehr_DaD:
I get error of adbwinapi...What can I do? (N5X)
[Nexus 5X General] Fabaki:
Hey! I've changed the post and the script a bit, so please follow the new steps and download the new script, but can you please explain more of what and when happened?

EDIT: I think I know what happened, but please try the steps above, and if they don't work tell me and I'll try and fix it
[Nexus 5X General] Mehr_DaD:
Thanks, I did the new script and it's kinda getting too long on that boot (circle things) screen. I hope it gets to "android" thing in the end :o

So I flashed the March rom, It stuck on those circle things. Turned it off to cool down a bit and will power on in an hour. Let's see what happens next.
[Nexus 5X General] Fabaki:
Yea, it did that for me too and then booted
[Nexus 5X General] Fabaki:
For my 5x, it booted, but then I've tried to update, but it started bootlooping again, so I've flashed it again and again with no luck. Then I've turned the phone off for some time to cool down, and after that when I've powered it on it just magically worked, and is working since.
[Nexus 5X General] Mehr_DaD:
That's a good news! Mine just loaded to Homescreen and I don't want to mess with it this time, Turned on Wifi and it didn't restarted, inserted sim and didn't restarted. I hope it never freezes again. Thanks again. By the way did you flashed any recovery, kernel, BLOD "workaround" patch or just your fix script?

Update: Again, As soon as I login my Google account and went to Play Store to turn auto update thing off, the phone froze!
[Nexus 5X General] Fabaki:
I'm glad to hear! If you could please "Thank" the post, it will be much appreciated. For your question, I haven't used my script on my phone, I've just followed the steps in [MENTION=4752144]squabbi[/MENTION] 's video, and then I've decided to create an automated script (which is the script in this thread) to patch it automatically. Which basically means, yes, I have flashed a BLOD "workaround" patch.
[Nexus 5X General] Fabaki:
Still frozen?
[Nexus 5X General] Mehr_DaD:
Did system wipe from recovery and after some time (Cooling down process!) it boots again and this time I didn't entered my google account. However it freezes time to time even though I've only installed Telegram & Instagram. Is it ok?
[Nexus 5X General] Fabaki:
When you say freezes do you mean that it lags?

I guess that's ok, as you've disabled the cores, it should get slower. And please (I don't know if you've done that, but I'll still say) NEVER disable oem unlocking on this phone, because maybe it will happen again.

And by the way, I'm a newbie. I've just made a script that automates the patching process but I don't really understand that much about it. I would recommend you (and that's what I've done) to download the newest image, open the flash-all.bat file to flash it onto your phone (this will wipe everything, and install the newest version), power your phone on (it should start bootlooping again) once, and then do what you would do (boot to bootloader, run the script). Maybe the problem is that you've downloaded a wrong version of the boot.img (that means that you haven't downloaded your version, but the newest one. What I just said insures that you flash the right one). To check the right version, go to about > build number, and where you download your image, search for the exact build number. If the problems continue, maybe it's the script. I'll patch the files myself and send them to you. And if all of the above doesn't work, I will redirect you to [MENTION=5288606]XCnathan32[/MENTION] or [MENTION=4752144]squabbi[/MENTION], they will probably help you more.
[Nexus 5X General] Mehr_DaD:
No it just freezes for 3 to 5 seconds and then the phone restarts. But the boot image is also from march update...
[Nexus 5X General] Fabaki:
Please try to do what I've said
[Nexus 5X General] Mehr_DaD:
Flashed the March ROM again. Used the script and it successfully installed. On the first boot it stuck on those 4 circles. Sounds like cooling down is the only answer. I can't use my phone constantly :/
[Nexus 5X General] theBeachBoy:
Same here, I get an error

After selecting that I am unlocked...

The pop up is fastboot.exe - syetem error

The code execution cannot proceed because AdbWinApi.dll was not found. Reinstalling the program may fix this problem.

It does pop up a second time after you click ok...

and then your script says it's done.. but it's not.

=====

I added the dll whicih can be found in the adb tools, I don't get the pop up but then your script says "waiting for any device" so there is something wrong somewhere as my phone is plugged in, and ready.
[Nexus 5X General] Fabaki:
I fixed the AdbWinApi.dll error, download the script again and tell me what happens. Maybe the original fastboot.exe in my zip was a different version of the AdbWinApi.dll that you added and that's why it didn't work.
[Nexus 5X General] theBeachBoy:
the script worked.

Now should I flash TWRP 4 core recovery (edit seems so) and use the AK injector or not needed?

What is Elemental X?

p.s. Thanks!
[Nexus 5X General] Fabaki:
I'm glad it worked. There is no need to flash TWRP and use the AK injector as you've already flashed a 4 core boot image. If you want, you can flash 4 core TWRP, but that's optional.
[Nexus 5X General] theBeachBoy:
Last question hopefully.

I have tried sooo many things to fix this phone, unblod thing, flashing various files and the boot-safe.img, twrp 4 core, AK injector, factory image, in various order and multiple times. None of them worked, well unblod worked but no WiFi and when I fixed WiFi, BLOD restarted...

Is there a way the phone needs to be for the script to work? Factory image I guess?

Your script worked, but now at the Google logo stuck there. Not sure I should force reboot or wait. I't not in bootloop but doesn't move past the Google logo.
[Nexus 5X General] Fabaki:
I did a quick search and some website said try resetting the phone. If that doesn't work, try to flash a factory image to make it bootloop again, and try the script. If all of that doesn't work I suggest asking [MENTION=5288606]XCnathan32[/MENTION] or [MENTION=4752144]squabbi[/MENTION] because they probably understand it better than me.
[OnePlus 5 Questions & Answers] daniel_loft:
Dear community,

I've recently updated my OnePlus 5 to Oxygen OS 5.0.4 from 4.5.15 or so (last 4.x version). I wiped everything, then flashed 5.0, then 5.0.4, then restored data with Titanium Backup. Among others, I am running Magisk 16, Xposed 90b3 and several modules for each of these (Greenify4Magisk, Google lens enabler, OOS call recording, GravityBox, Flat Style Bar Indicators, Greenify etc.).

Almost ever since I made the update I get very frequent restarts (10-20 or more per day). I just noticed that my smartwatch is disconnected and I have to re-enter the pin when unlocking the phone. At times the phone restarts several times in a row. One thing I noticed that it only restarts while the screen is off.

I tooks 7 logcat logs via ADB with warning (and worse) filter, but I am thinking that it might not be a good idea to post them here in the open** (I don't know if I can anonymize them) . If anybody wants to take a look at these logs I'll pass them in private.

Otherwise if there would be a way to wipe the private information out of the logs (like some logcat apps seem to be able to do), please point me to the right information source.

Thanks for all the help!

**If I am mistaken about this assumption, please correct me.

PS: What I noticed as being different from before the update is that this time I installed Greenify4Magisk.
[Samsung Galaxy S8 Questions and Answers] levi_120:
aftter i updated to oreo i saw in bar navigation dolby atmos but after i reboot phone i cant found dolby again

:confused:
[Samsung Galaxy S8 Questions and Answers] popmpopm:
lol no dolby atmos for s8 !
[Samsung Galaxy S8 Questions and Answers] levi_120:
man i found in hidden bar first
[Samsung Galaxy S8 Questions and Answers] billowusu47:
I saw a guy that had it on oreo from YouTube on his s8.
[HTC U11  Questions & Answers] roydok:
Good day. After upgrading to Oreo my HTC U11 has this bad habit of always turning on the autobrightness setting even I switch it to off. I notice it everytime I restart the phone most if the time happening randomly after I set it to off. Is this a known bug? Any workaround for this? I am currently on version 2.42.400.6. I upgraded to the Oreo 2.31.400.6 using leak then upgraded OTA manually to this current version using SD card method.

Thank you very much.
[HTC U11  Questions & Answers] shivadow:
You have a problem. It doesn't do it on mine. It remembers the setting as on or off from before it rebooted.
[Honor 8 Questions & Answers] proza:
Recently, I have installed an app which, when launched, uses the whole screen. It hides both the notification and navigation bars. Unfortunately, this app does provide a way to quit, so I stuck with this app and needed to reboot my phone.

I would like to ask is there a way to make the navigation bar become visible?
[Honor 8 Questions & Answers] Days Tech:
I don't think so, but you can program the smart key to launch any other app and then go to menu from there.
[Honor 8 Questions & Answers] nikhil94k:
if there is no nav bar in app,then u can use floating dock as your nav toggle
[Samsung Galaxy S7 Edge Questions and Answers] o0carter0o:
i'm looking for a firmware with *#2683662# confirmed as working. can anybody help me out here?

it was working on a firmware (G935FXXU1DQG2) with v1 bootloader. i mistakenly flashed a v2 BL and my research leads me to believe that I can't downgrade the BL.

i'd settle for working *#2263#
[Samsung Galaxy S7 Edge Questions and Answers] junejo46726:
*#2683662#

Showing service menu saying not supported.
[Samsung Galaxy S7 Edge Questions and Answers] billa:
If you have root, then you can try replacing the /system/priv-app/ModemServiceMode/ModemServiceMode.apk=com.sec.android.RilServiceModeApp from a previous Android version when it was still working, and set the permissions to 0744.

Here's some more information

https://xdaforums.com/showpost.php?p=81255593&postcount=4
[General Questions and Answers] Sandi sunardi:
When i've try to unlock bootloader via minimal adb and fastboot..i reboot my device to bootloader use the command ( adb reboot bootloader ) but i try to type this command (fastboot oem unlock ) why always unknown comand or device is lock ..same thing with i use (fastboot flashing unlock)..anybody..if u can solve this thing..please help me..
[General Questions and Answers] 5261979:
VIVO Y65 Factory Firmware [SD] - PD1621BF_EX_A_1.12.0_vivo_qcom_LA.UM.5.6-01810-89xx.0_msm8953 TH MY ID BD KH NP MM RU SG[androidhost.ru].zip

http://androidhost.ru/7je

Dated Uploaded: 05/10/2018 Filesize: 2.21 GB

VIVO Y65 Factory Firmware [9008] - PD1621BF_EX_A_1.12.0_vivo_qcom_LA.UM.5.6-01810-89xx.0_msm8953 TH MY ID BD KH NP MM RU SG[androidhost.ru].tar.gz

http://androidhost.ru/7jd

Dated Uploaded: 05/10/2018 Filesize: 2.60 GB
[General Questions and Answers] Pengek:
Bootloader

please open the y65 bootloader because I want to flash again.

now my vivo is dead

please contact me quickly
[General Questions and Answers] Mahesar:
What the wrong is going with this?
[HTC Excalibur] SirKeats:
So by default (at least with the 08 version of wm6.1) the t-zones button opens celetask and if you hold it, it'll switch your profile to vibrate.

The problem is that if you change the shortcut... you lose the profile switching.

I changed it from celetask to calendar... and now it won't switch my profiles.

Is there a way to get that feature back?
[HTC Excalibur] kavana:
It dosen't have another way to keep the function ,cause this hold on switch profile function is depend on CeleTask.
[HTC Excalibur] qaplus:
Does anyone have the key map file from the original TMo 6.0 ROM? That ROM can switch profile by holding # key.
[HTC Excalibur] kavana:
OK,the next version of my rom,will be switching profile by holding # key
[HTC Excalibur] HKBoySiR:
Is this what you are looking for? I extracted it from the Dash_Software_Update_1.22.531.4.exe package.
[HTC Excalibur] SirKeats:
sweet. thanks kavana.
[Windows 10 Mobile] dblender19:
Basically the title,I have this phone but I can't use the Internet, I can only make calls with it.
[Windows 10 Mobile] nate0:
I attempted this just now on my RM-1063 just to see. Seem it is possible to enable it but I doubt it (LTE Band 3) will actually work on the RM-1063. I have tried enabling LTE bands for US (2,4,5,7,12). on the Lumia 930, and even though the bands are enabled, just still only get 3G. So maybe we are missing something in the process?

I altered the modem_configuration full and update nvi files for the RM-1063 with the NV entries from an RM-1045 variant modem_configuration_full.nvi file. Now I have band 1 3 7 8 and 20 there. Do the below at your own risk or if you just want to test it. You can always flash the RM-1063 FFU back to it if you get undesirable effects. So be prepared. I am in the US and can't test if it actually works.

You can add the attached zip to a folder in \PROGRAMS\CommonFiles\OEM\Public\NVI, if the NVI folder is no there create it.

Run an NVI update from thor2 using thor2.exe -mode uefiflash -ffufile C:\ProgramData\WPInternals\Repository\RM-1063\RM1063_02179.000

00.15204.27033_RETAIL_prod_signed_1000_0240C7_ATT-US.ffu -do_full_nvi_update -skip_flash -reboot

The phone should prompt to Restart to configure the udpates after the first reboot. Once you verified that the LTE bands are there you can help preserve the bands during a hard reset or modem reset by replacing the nvi files in \PROGRAMS\CommonFiles\OEM\Public\Nokia\MultiVariant\15614\NVI

To check the NVI update from thor2 and whether it is progressing check the log file under \Data\SharedData\OEM\Public

An nviupdate.log file will be there that you can troubleshoot with.
[Windows 10 Mobile] dblender19:
Hello, thank you very much, when I checked the PROGRAMS folder there is nothing, do you use any program or something? It is the first time that I am going to modify a phone with windows, before I had only done it with android.

Sorry for my English.
[Windows 10 Mobile] nate0:
How did you enable file system access, with interop tools? If you just enabled access you might need to reboot before full access shows in File Explorer. In other cases on other phones I've only had the ability to view all the files by enabling full access via MTP with interop unlock enabled in the Interop Tools app. Look for the Interop Tools page by gus33000 on xda here and install the latest version plus dependencies that he recommends. I think he posted the attachment some time last November in his Thread.
[Samsung Galaxy S9+ Questions & Answers] mklass:
Just setup my phone and it appears that there maybe screen bleed on either side of the display. It's really noticeable, especially on the home screen either side of the Google search bar and also any icons on the outer edge of the display.

If you grab an icon and drag it up and down the side of the display, you can see a small line of light from the icon on the outer edge of the display where it joins the aluminium frame.

Me and my bro both got the same model and same colour (S9+ coral blue, uk) and it's the same on both.

Just wondering whether it maybe the releftion from the frame as it protrudes more than the S8+ I'm using now. Also the finish of the fame is a different colour and finish.

Anybody else noticed this at all?
[Samsung Galaxy S9+ Questions & Answers] mklass:
Well seen as how no body has replied thought I'd show a video.

https://youtu.be/UV1VyBown2Y
[Samsung Galaxy S9+ Questions & Answers] skivnit:
That's definitely not happening on my phone
[Samsung Galaxy S9+ Questions & Answers] mklass:
Cheers dude, looks like me and my bro will have to get them replaced.

What colour do you have?
[Samsung Galaxy S9+ Questions & Answers] El Maestro:
Went to a dark room to test it, i don't see it on mine. Exynos 256gb (gray)
[Samsung Galaxy S9+ Questions & Answers] skivnit:
Black
[Samsung Galaxy S9+ Questions & Answers] mklass:
Cheers guys. Guess it's defo faulty. Will get it replaced.
[Samsung Galaxy S9+ Questions & Answers] Crombi:
I had the same issue with my first s8, Carphone replaced it no issues! :)
[Samsung Galaxy S9+ Questions & Answers] mklass:
Cheers for the info. In the process of getting it swapped out now. Hopefully the next one won't be the same.
[Samsung Galaxy S9+ Questions & Answers] ryotgz:
I'll be on the lookout when mine arrives. I agree that it does not look normal.
[Samsung Galaxy S9+ Questions & Answers] zathus:
Not gonna lie. That's about the worse video to show a problem lol if it's an issue just return it. Bound to be some bad ones out there.
[Samsung Galaxy S9+ Questions & Answers] droidrev71:
Not gonna lie. That's about the worse video to show a problem lol if it's an issue just return it. Bound to be some bad ones out there.[/QUOTE]

Clearly showed the issue for me. I've had that same issue with other Galaxy phones. My note 7 was really bad! It's more than a case of, "just a few bad ones" I'm sure there would be many more complaints of this issue if people knew what to look for.

https://photos.app.goo.gl/Nyg9yMhDDc4jOhMI3
[Samsung Galaxy S9+ Questions & Answers] mklass:
Clearly showed the issue for me. I've had that same issue with other Galaxy phones. My note 7 was really bad! It's more than a case of, "just a few bad ones" I'm sure there would be many more complaints of this issue if people knew what to look for.

https://photos.app.goo.gl/Nyg9yMhDDc4jOhMI3[/QUOTE]

It's easy to see what the issue is. So regardless of the video not being a cinema experience, it clearly demonstrates the problem with the light bleed.

Having a look around seems that the issue has been seen on S8, S8+ and the note 8. There are other videos of the issue on YouTube just not with the S9+
[Samsung Galaxy S9+ Questions & Answers] ticalo:
Crap, I have the same problem.

Edit:

I did some digging and found out that this is not an issue. This is only reflection.

I installed Check My Pixels 2 and noticed that the "light leak" was reflecting the same color from the app.
[Samsung Galaxy S9+ Questions & Answers] droidrev71:
It's easy to see what the issue is. So regardless of the video not being a cinema experience, it clearly demonstrates the problem with the light bleed.

Having a look around seems that the issue has been seen on S8, S8+ and the note 8. There are other videos of the issue on YouTube just not with the S9+[/QUOTE]

I quoted the guy above me. I'm not saying anything is wrong with the video. I've seen the issue first hand. That's why I posted a pic of my note 7.

---------- Post added at 05:56 PM ---------- Previous post was at 05:52 PM ----------

So much for sticking up for you.. Lol

I said, "Clearly showed the issue for me. I've had that same issue with other Galaxy phones. My note 7 was really bad! It's more than a case of, "just a few bad ones" I'm sure there would be many more complaints of this issue if people knew what to look for."

---------- Post added at 06:15 PM ---------- Previous post was at 05:56 PM ----------

I'm not gonna lie but this comment is about as bad as it gets. Smh

Nothing is wrong with the video and this issue is more than just a few bad ones. It's been on all their phones work curved screens. I don't understand why you are putting down the OP'S video and post over a real concern. More people need to be aware of it. I bet it's more widespread than you realize. People just don't know what to look for or never notice it. You set a great example for being a senior member in xda
[Samsung Galaxy S9+ Questions & Answers] mklass:
I quoted the guy above me. I'm not saying anything is wrong with the video. I've seen the issue first hand. That's why I posted a pic of my note 7.

---------- Post added at 05:56 PM ---------- Previous post was at 05:52 PM ----------

So much for sticking up for you.. Lol

I said, "Clearly showed the issue for me. I've had that same issue with other Galaxy phones. My note 7 was really bad! It's more than a case of, "just a few bad ones" I'm sure there would be many more complaints of this issue if people knew what to look for."

---------- Post added at 06:15 PM ---------- Previous post was at 05:56 PM ----------

I'm not gonna lie but this comment is about as bad as it gets. Smh

Nothing is wrong with the video and this issue is more than just a few bad ones. It's been on all their phones work curved screens. I don't understand why you are putting down the OP'S video and post over a real concern. More people need to be aware of it. I bet it's more widespread than you realize. People just don't know what to look for or never notice it. You set a great example for being a senior member in xda[/QUOTE]

Sorry my bad, the reply wasn't aimed at you. I appreciate your comments.

I agree with your comments especially in regards to not knowing what to look for. My brother didn't even notice it until I shown him.

I've read about it being the way the light reflects with the curved display, I have my S8+ now an it doesn't have the same

Issue. It's really distracting once you notice it especially if your in a dim lit environment.