yashsingh1/xdaforums huggingface dataset:
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] paulmcgranite:
Hi guys,

I have a rooted SPH-L720 on NG2, and I am having the hardest time trying to find a way to lock it to a specific band. Instead of having it prefer band 25 (1900), I want it to prefer (or only connect to, either way works) band 26 (850). Anybody know of a way to do this? Or will I just have to upgrade to the S5 and follow these instructions (forums(dot)androidcentral(dot)com/samsung-galaxy-s5/380905-sprint-users-lte-manual-override.html)?

Thanks!
[P3300, MDA Compact III ROM Development] sloss:
My Artemis Orbit on O2 froze so I did a soft reset - no luck so I did a hard reset. The phone boots to the green screen which says 'Tap the screen to set up your Windows Mobile-based device etc'

However there is no cross to tap and screen taps do nothing.

I've flashed the ROM via the Bootloader screen (followed instructions to load the correct O2 Operator NBH file to the root of a Micro SD card) a few times but no luck.

I cannot find anything on this problem on the site but I can miss things!

Can anyone advise what I need to do?

Thanks,

Stew
[P3300, MDA Compact III ROM Development] sloss:
Seems nobody knows what I should do here.

I can get to Bootloader and see ActiveSync but it won't go past the 'setup screen' where it asks for screen taps to align the screen. There is no 'cross' on display.

Which part of the software controls this?
[P3300, MDA Compact III ROM Development] MaskedMarauder:
On the inital screen there is no cross, but a screen tap anywhere should start the setup proceedure.
[P3300, MDA Compact III ROM Development] sloss:
I cannot get a screen tap to be accepted anywhere. The Green Setup screen appears asking for a tap but that does nothing - I'm thinking a tap with a large hammer is coming to it soon! Only joking!

Is this a hardware fault I've got rather than a software problem?

There is no screen cover on it as I've read than can hamper screen taps.
[Nexus 5X Themes and Apps] biohaz55:
This is really nice.... good work :good:
[Nexus 5X Themes and Apps] buru898:
Oh this looks promising. It reminds me of the old windows mobile days!
[Nexus 5X Themes and Apps] Baldilocks:
Will this get rid of the triangle bootloader unlocked warning?
[Nexus 5X Themes and Apps] bitdomo:
Well you can change those triangle images to anything. I dont have nexus 5x so I have no idea how the booting goes on on a custom rom or with a custom kernel, but if you have to press power key to confirm booting non google android or kernel then that cannot be skipped, you can just change those images.
[Nexus 5X Themes and Apps] ddggttff3:
Just tested, and yes you can visually remove the warnings, but note flashing a custom imgdata file will cause the bootloader to boot to the red error screen instead of the yellow one, so you will want to update the images for all of the warning messages to remove it.
[Nexus 5X Themes and Apps] PhoenixTank:
Thank you for creating this [MENTION=4325732]bitdomo[/MENTION] ! Very simple to use.

And a thank you to [MENTION=2212097]ddggttff3[/MENTION] for saving me from what would've been several minutes of swearing and confusion.

I've created a couple versions of this that swap out the ugly bootloader verification messages for something more minimal. I'll pull this out to another thread if you'd prefer, but thought I'd share here.

Opted to retain something visual to let you know if you've accidentally paused your boot, but otherwise it just displays the google boot logo.

Changes:

I've added a flashable zip and .img for the subtle version that includes the unlocked padlock icon. These are named as subtle-padlock-BHZ10i-n5x in the attachments.

Preview Images:

Image that shows during boot:

[img="Shows while booting"]http://i.imgur.com/EkcI3h8.png[/img]

"Visible" version that clearly shows if you've paused the boot process:

[img="Visible version - easy to see if you've paused"]http://i.imgur.com/gHIjTBL.png[/img]

"Subtle" Version that shows if you've paused the boot process. Hopefully suitable for minimalists :)

[img="Subtle version - not obvious if paused and hopefully not offensive to anyone's eyes"]http://i.imgur.com/UjiFxgF.png[/img]

There is also a subtle-padlock version which is the same as the above, but includes the unlocked padlock that you've seen before.

[img="Subtle version with padlock"]http://i.imgur.com/MexFN4P.png[/img]

And the paused state:

[img="Subtle version paused state with padlock"]http://i.imgur.com/93QfoUU.png[/img]

Downloads and installation for bootloader BHZ10i:

All attached. .img files can be flashed via fastboot:

fastboot flash imgdata theimageyouchose.img

Zips are flashable in recovery (but I have been testing with fastboot).

You will also want to keep a copy of stock.zip from the first post too - just in case!

MD5 checksums here:

b61d23cdd9071d03eb73c6066c06bf87 *visible-BHZ10i-n5x.img
01136452f5b4b5567ad9ca6efabd90db *visible-BHZ10i-n5x.zip

6002edd267341caec555edcdbfe4ec96 *subtle-BHZ10i-n5x.img
b1f8c3bb87f150a3f70ef6c608d6a263 *subtle-BHZ10i-n5x.zip

6eca6a058fcc272cbb3355dd4f70b521 *subtle-padlock-BHZ10i-n5x.img
a4c9ca6ba44bef3d629c8178bcec8ec3 *subtle-padlock-BHZ10i-n5x.zip
[Nexus 5X Themes and Apps] kbbeer:
If I flash the subtle version, is that all I need to do to get rid of the bootloader warning screen?
[Nexus 5X Themes and Apps] PhoenixTank:
Yes, but bear in mind that it will still cause the same delay and can be manually paused, just like the normal warning screen.

I've also just uploaded a new set of subtle images for anyone who would like the matching unlocked padlock icon.
[Nexus 5X Themes and Apps] kbbeer:
Worked, but it actually still showed the unlock image at the bottom. Still happy to get rid of the warning screen.
[Nexus 5X Themes and Apps] rustybathtub:
Confirmed working on mdb08m
[Nexus 5X Themes and Apps] PhoenixTank:
Depending on which you flashed, the effect is a little different:

With subtle-BHZ10i-n5x, visually it will show A and then B afterwards.

With subtle-padlock-BHZ10i-n5x, visually, it only shows B, and then the lovely google boot animation as normal.
[Nexus 5X Themes and Apps] chickentech:
Does this modify the /system partition at all? Where are these images that are being modified?
[Nexus 5X Themes and Apps] solara1973:
Doesn't seem to modify the system partition. I updated and flashed the M firmware and this modification remained unchanged.
[Nexus 5X Themes and Apps] davidthefrogman:
I can sleep better at night now.
[Nexus 5X Themes and Apps] troymz1:
Works on 6p?
[Nexus 5X Themes and Apps] bitdomo:
It will not work.
[Nexus 5X Themes and Apps] eudemonky:
Please make a 6P tool, I really want to get rid of the boot Warning
[Nexus 5X Themes and Apps] bitdomo:
Not possible. I dont see any partition which could hold the images. However the aboot partition is 3,2 mb larger than on any other phone so probably the images on the aboot partition and it is part of the aboot code. Which means you cannot change a single pixel's color of any image because aboot has a signiture check. Even changing 1 bit of the aboot code will result in a hard brick of the phone.
[Nexus 5X Themes and Apps] eudemonky:
I read this thread, http://xdaforums.com/nexus-6p/orig-development/mod-change-splash-screen-warning-t3260264

then I use this tool, replace the PNG and rebulid a splash.bin

but I can not flash it, when I flash it use "fastboot flash logo splash.bin" , I get error said“permission denied”
[Nexus 5X Themes and Apps] hp420:
This does not mention if it works for Nexus 4 in the OP...can I assume that's a no?
[Nexus 5X Themes and Apps] Haxxa:
As per request of the op, I have stopped using the tool for the new Bootloader "bootloader-bullhead-bhz10k" - Can op confirm whether imgdata has changed or not so it can be tested on stock or Roms based on 6.0.1. Thanks
[Nexus 5X Themes and Apps] biohaz55:
MMB29K

I've tested on MMB29K bootloader (BHZ10K) and it works :D
[Nexus 5X Themes and Apps] gdskp:
[MENTION=3360838]PhoenixTank[/MENTION]

Does it work on the latest bootloader BHZ-10K?
[Nexus 5X Themes and Apps] biohaz55:
erm......... did you read the post immediately above yours?
[Nexus 5X Themes and Apps] skulldreamz:
I just flashed the subtle-padlock.zip and all works fine on bootloader BHZ10k
[Nexus 5X Themes and Apps] bitdomo:
The imgdata image of BHZ10i and the new BHZ10k bootloader are the same, no change at all, and it was tested by [MENTION=4542027]skulldreamz[/MENTION].

In short you can flash custom imgdata regardless of the bootlader version at the moment.
[Nexus 5X Themes and Apps] Haxxa:
Will this at all affect OTA's accordingly, as it is touches the imgdata partition; Does the OTA check this has been modified?
[Nexus 5X Themes and Apps] bitdomo:
I cannot tell. If the ota updater script uses a patch file to update the bootloader partitions instead of flashing the partition images then it will break.

Tapatalk-kal küldve az én Nexus 5-el
[Nexus 5X Themes and Apps] banciii:
What do you think about compatibiliy with BHZ12k?
[Nexus 5X Themes and Apps] bitdomo:
Do you mean BHZ10k? If so then it works.

If there is a BHZ12K bl version then please send me a dump of the imgdata partition or the ota or flashable zip which updates the bootloader BHZ12K.

Tapatalk-kal küldve az én Nexus 5-el
[Nexus 5X Themes and Apps] banciii:
Oops, yes, typo, BHZ10k, sorry. :D Thank you
[Nexus 5X Themes and Apps] Tomyk89:
Fantastic!!! Thank you!!!
[Nexus 5X Themes and Apps] mhrussell1:
Just an aside. I tried the subtle-BHZ... md5 values you show and it failed verification in TWRP. I went ahead and installed anyway and it worked just fine. Not sure if I did something to cause it.

Thanks,

Mark
[Nexus 5X Themes and Apps] 2x4:
how often is a new bootloader released? What would happen if we performed this mod and a new BL was released?

I assume this is not related to os or vendor image updates, correct?
[Nexus 5X Themes and Apps] gpvecchi:
Could you please make these for BHZ10k, please?
[Nexus 5X Themes and Apps] PhoenixTank:
They'll work just fine with the bhz10k.

Only tagged with the bootloader version because there was some uncertainty as to whether they'd be compatible going forwards :)
[Nexus 5X Themes and Apps] gpvecchi:
Thanks! Is it possible to remove the padlock after the warning screen?
[Nexus 5X Themes and Apps] bitdomo:
Yes

Just resisze the a padlock image to a 1x1 pixel image with that one single pixel colored black and build your own imgdata with this modification
[Nexus 5X Themes and Apps] gpvecchi:
Sorry to bother, but I'd prefer not to brick my bootloader... May I use the pre-modded image of the previous post to edit it to remove padlock? Thank You!
[Nexus 5X Themes and Apps] bitdomo:
You will find the stock imgdata in the stock folder of the imgdata tool

Tapatalk-kal küldve az én Nexus 5-el
[Nexus 5X Themes and Apps] gpvecchi:
Hi! Always me... Still working with BHZ10m bootloader? Thanks!
[Nexus 5X Themes and Apps] gpvecchi:
Anyone, plz?
[Nexus 5X Themes and Apps] Un0wn:
Yes, still working with BHZ10m Bootloader
[Nexus 5X Themes and Apps] RusherDude:
Really nice work [MENTION=4325732]bitdomo[/MENTION], as always!

Obligatory:

Remember? :D
[Nexus 5X Themes and Apps] 2x4:
is the stock.zip different for the new bootloader?
[Nexus 5X Themes and Apps] Un0wn:
No, the stock.zip is still the same :)
[Nexus 5X Themes and Apps] opz187:
what's up 5xers, went through the thread and couldn't believe this hasn't been asked, but any idea of this tool would work on the 6p? or a modified version of it? considering the similarities between the 2 and both running same mm os.. any idea?
[Nexus 5X Themes and Apps] Khuunlan:
6P owner here, lurking for this since i got the phone :)

Unfortunately as you can see above (quote from page 2) it seems that the modification is not possible at the moment.

The images are in the aboot partition so it can be displayed/extracted (tool here : http://xdaforums.com/nexus-6p/orig-development/mod-change-splash-screen-warning-t3260264) but not modified as for now.

Or if it is, i didn't understood it that way (not a dev and kinda still a newb on Android ;) )
[Nexus 5X Themes and Apps] :
Just finished flashing and this is really AWESOME! Great job man, it´s so good! Keep it up!

Flashing the zip on TWRP works! Finally got rid of this annoying message!
[Nexus 5X Themes and Apps] djibril13:
Does it work with BHZ10m bootloader ?
[Nexus 5X Themes and Apps] Khuunlan:
Yup :)
[Nexus 5X Themes and Apps] gpvecchi:
New bootloader bhz11b from latest N preview... Any news on this one?:)
[Nexus 5X Themes and Apps] gpvecchi:
Anyone? How to check the compatibility? Analyzing with hex editor, structure seems the same, but starting at a different address...
[Nexus 5X Themes and Apps] Un0wn:
Yes still working on "bhz11b" Bootloader version
[Nexus 5X Themes and Apps] Midomad:
So if iwant to delete the yellow warning at boot All i have to do is flashing the desired zip from post #7 right?

Envoyé de mon Nexus 5X
[Nexus 5X Themes and Apps] Ja_som:
Yes
[Nexus 5X Themes and Apps] Midomad:
Thanks,

One more question,If i want to go back i need to flash the stock factory image?
[Nexus 5X Themes and Apps] Ja_som:
Bootloader is enough
[Nexus 5X Themes and Apps] Un0wn:
Still works on "bhz11d" Bootloader version from DP4
[Nexus 5X Themes and Apps] Midomad:
New factory image is out (MTC19Z) !

* bootloader is new (bhz10p)

* radio is the same (2.6.32.1.13)

* boot.img is new (MD5: e7107806ba1d6d01b8b30d4cb635faf1)

* recovery is new (MD5: 609c7aeebf2e3617a936eba933b65686)

* system is new (MD5: 74bb8e812260e96ea1e1f7d4b15952cb)

* vendor is new (MD5: 9e66e593df9b552313165e0467e38a60)

* userdata.img is the same

* cache.img is the same
[Nexus 5X Themes and Apps] wpbear:
Anyone test this with the latest bootloader bhz10p
[Nexus 5X Themes and Apps] gpvecchi:
It works fine.
[Nexus 5X Themes and Apps] otacon239:
I just tried importing the latest bootloader and it keeps telling me that it can't read the headers:

Reading headers in [...]bootloader-bullhead-bhz10p.img...FAIL!
[...]bootloader-bullhead-bhz10p.img is not valid file

Am I missing something simple. This was pulled out of the latest factory images provided by Google.
[Nexus 5X Themes and Apps] gpvecchi:
Sorry, you are trying to import the bootloader in imgdata tool? No, you have to import from the stock.zip in the OP; that is just the images of the bootloader, and then flash it OVER your updated bootloader.

I attached the flashable I use, that is the Google logo without the locker image till boot; it just shows "Paused" in small char under the Google logo if you press the power button.
[Nexus 5X Themes and Apps] cambunch:
So, just to clarify as I'm trying to figure out how this tool works....

We are not flashing a modified bootloader with this, but rather just replacing the images that the bootloader uses (which are on their own /imgdata partition) which is a different partition than the functioning stock bootloader?
[Nexus 5X Themes and Apps] gpvecchi:
Yup, I don't know if it's a different partition or just a part of the partition, but that's the goal.
[Nexus 5X Themes and Apps] Ja_som:
It looks like it does not work on DP5 bootloader (sorry, now I can't tell you the version), I flashed it and I still see that ugly information about unlocked bootloader...
[Nexus 5X Themes and Apps] 0.0:
I can confirm. The version of the bootloader is BHZ11e
[Nexus 5X Themes and Apps] wpbear:
The pre-made zip files still work on ALL 5X bootloaders (I have used it on all updates and currently on July release). I believe the ones reporting not working is the 6P. This is a 5X forum thread.
[Nexus 5X Themes and Apps] Ja_som:
Read my post again, then read post after my...
[Nexus 5X Themes and Apps] wpbear:
I edited my post and can still confirm that the pre-made zip in this post http://xdaforums.com/showpost.php?p=63826602&postcount=7 still work on all 5X. I am out of this conversation as I came to post help and your comments sound condescending.
[Nexus 5X Themes and Apps] Ja_som:
How was your post helpful? We know that this is 5X thread...

We are talking about Android 7 DP5 bootloader (BHZ11e) on Nexus 5X, it was OK on bootloaders DP1-DP4, did you tried it on this bootloader?
[Nexus 5X Themes and Apps] mdrt4me:
not to sure this is working on Android n BHZ11e bootloader. can anyone confirm...
[Nexus 5X Themes and Apps] Nevuly:
BHZ11E Bootloader works on Marshmallow.

I confirmed it in my device.

But It has something problems to edit imgdata.

I try to remove orange warning & red warning and yellow warning image like MM, It broken all images.
[Nexus 5X Themes and Apps] mdrt4me:
can someone extract the imgdata.img from n preview bootloader

need to get imgdata.img extracted from bootloader bhz11e .... anyone post a link up... from Amdroid N dev preview?
[Nexus 5X Themes and Apps] gpvecchi:
Not working on BHZ10R bootloader, images f****d up.
[Nexus 5X Themes and Apps] dmmatos:
I've fastboot flashed and loaded via zip and I still get the orange and red broken screens. Just updated with stock images and unlocked today.
[Nexus 5X Themes and Apps] Midomad:
No new zip version for the new bootloader BHZ10R from august image? since reports said it's not working!
[Nexus 5X Themes and Apps] gpvecchi:
I think bitdomo left the forum. I think we just need to find the new addresses of the images and correct the app...
[Nexus 5X Themes and Apps] Midomad:
I hope so.
[Nexus 5X Themes and Apps] gee one:
The imgdata in the new bhz10r bootloader is exactly the same as before. The OTA will update the imgdata partition, so any previous custom images will be overwritten. One difference is that the partition is 3MB long, but the OTA only writes the first 2.1M for the stock images. This shouldn't matter as long as the start and size data of the images are correct.

If it was working before, I don't see a reason that it shouldn't work now. Try reflashing the zip. If the problem persists, can you post some pictures of the images and what they are supposed to look like?

Update: I tried flashing new images and there is certainly some odd things going on - I should get the yellow warning as a custom image, but instead I got the red/corrupt image. Also, in fastboot mode, the little android dude disappeared? Flashing back to stock image data works as expected.
[Nexus 5X Themes and Apps] 4oo4:
I'm getting this same thing too, that's a bummer that it doesn't work this time, normally I haven't had any issues whenever the bootloader updated. I'm booting into Android now to let the update finish, I'm hoping that I'll have better luck with re-flashing it, since before I just flashed at the same time as the new bootloader and vendor images, but not too confident about that.

Really hoping we can convince the developer to come back and take a look, this thing was so handy! Unless it's possible to come up with a fix by using the imgdata extraction tool?
[Nexus 5X Themes and Apps] gpvecchi:
If someone is on linux, this can perhaps be useful:

https://github.com/NVISO-BE/nexus_5_bootloader_unpacker

I took a look to the structure of bootloader, IMGDATA is different and starts at a different address.
[Nexus 5X Themes and Apps] 4oo4:
Thanks gpvecchi, I was actually trying to peek at the bootloader using android-tools-fsutils to get this moving but wasn't having any luck. Will give this a try!

Edit: Looks like that's only for Nexus 4/5/7 instead of 5X, is there any other way to look inside the bootloader?

---------- Post added at 09:13 PM ---------- Previous post was at 08:31 PM ----------

Anyone know how to use imgtool? It's getting me closer but I feel like I'm missing something. When I run

imgtool/imgtool.ELF64 bootloader-bullhead-bhz10r.img extract

, it only gets to extracting sbl1 and tz before It gives up because of bad file descriptors. Is there something I'm missing about using it, or will it just not work for this bootloader?

Here's the output from that command:

Boot loader detected
11 images detected, starting at offset 0x354. Size: 4712556 bytes
Image: 0	Size: 582912 bytes	sbl1
Image: 1	Size: 573644 bytes	tz
Image: 2	Size: 191536 bytes	rpm
name: Bad file descriptor
Image: 3	Size: 779448 bytes	aboot
name: Bad file descriptor
Image: 4	Size: 33176 bytes	sdi
name: Bad file descriptor
Image: 5	Size: 2107904 bytes	imgdata
name: Bad file descriptor
Image: 6	Size: 37736 bytes	pmic
name: Bad file descriptor
Image: 7	Size: 94520 bytes	hyp
name: Bad file descriptor
Image: 8	Size: 436 bytes	sec
name: Bad file descriptor
Image: 9	Size: 151028 bytes	keymaster
name: Bad file descriptor
Image: 10	Size: 160216 bytes	cmnlib
name: Bad file descriptor

Here's a link to imgtool: newandroidbook.com/tools/imgtool.html

---------- Post added at 10:00 PM ---------- Previous post was at 09:13 PM ----------

Got the new bootloader extracted, going to see if I can compare the subtle-padlock one I use against it and figure it out.

I didn't get very far with imgtool, but ended up just using a root adb shell and found the imgdata partition with this:

ls -la /dev/block/platform/soc.0/f9824900.sdhci/by-name

And then copied with dd:

dd if=/dev/block/mmcblk0p29 of=/sdcard/imgdata-bhz10r.img

And then from there I used the extraction tool to take a look at it (in case anyone was curious :) )
[Nexus 5X Themes and Apps] gee one:
The OTA files also have the bootloader files. It is a zip file.

https://developers.google.com/android/nexus/ota#bullhead

Most of the components are the same, including imgdata. aboot is different and much larger. I suspect that our answer lies in there.

---------- Post added at 06:25 PM ---------- Previous post was at 06:11 PM ----------

Can someone compare the new bootloader with an older one and see which files are different. I looked and the imgdata file is the same. Please verify.

Also, please post any pictures of what the images look like and what they should look like. It might help us understand what is happening.
[Nexus 5X Themes and Apps] 4oo4:
Yeah, I'm going off of bootloader bhz10r I got with the Google firmware for the MTC20F Build, just not having much luck being able to mount it and look at what's going on. I was trying to manually make an imgdata.img with the imgdata tool, but kept getting the same result. I suspected that it might be in the aboot partition and made a copy of it using dd, but I can't figure out how to mount it linux (specifically Ubuntu 16.04). Any advice? I don't have the full Android SDK but I do have a few utilities (android-tools-adb, android-tools-fastboot, android-utils-fsutils, libandroid-properties) that might do it, just not sure how.