yashsingh1/xdaforums huggingface dataset:
[Nexus 4 General] bombadier:
Refresh my memory why is it you prefer to use bootloaders pulled from the OTA and not factory images ?

Thanks in advance
[Nexus 4 General] fkrone:
As far as I know there is no possibility to flash the bootloader image from the factory images via recovery in a zip. If I would create them based on factory images I would have to flash these (no big deal any longer for me) and dump the bootloader partitions from my phone. This way feels odd to me. Furthermore, zips based on dumped bootloaders are bigger than zips based on the OTAs (not a real big difference, but let us save some kilobytes).
[Nexus 4 General] thebrainkafka:
30f working with 4.4.4 cm11?
[Nexus 4 General] bombadier:
Should do as I am running it on a 4.4.4 rom
[Nexus 4 General] Vlad Paul:
Flashed successfuly. Lot of thanks. ;)

Sent from my d802
[Nexus 4 General] 4L3xN3t:
hi all!

I've an unlocked bootloader...by flashing one of these do I have to re-unlock it?

thx
[Nexus 4 General] fkrone:
Bootloader will stay unlocked after flashing a new bootloader. So no re-unlock is needed.
[Nexus 4 General] RohanAJoshi:
[MENTION=4110873]fkrone[/MENTION] : can I use latest bootloader on e970 ?
[Nexus 4 General] fkrone:
I honestly don't know. I would not try it as it might brick the phone (with no fastboot access).

Furthermore the zips check if the device they are flashed on are Nexus 4s or other devices. The flashing process will be aborted if it is another phone.
[Nexus 4 General] arceangel:
Sorry if its been asked I read a few pages back and didn't see but what's so good about updating to the newer bootloader? My main ROM is Lolli but I typically run my second ROM on a daily bases which is KK. Are people seeing better battery life or something? I updated already to latest Radio and liking it so far. so just wondering if I should do the bootloader if all is already working well. Thanks for your time guys!:thumbup::D

Sent from my N4 dual booting SlimLP/Kat
[Nexus 4 General] aalvico:
I never heard about a bootloader problem with nexus but a huge problem happened when Galaxy S3 got JB update from ICS and it affected the internal memory which was solved when Samsung updated its bootloader, but that was too late for some devices (most of them root that used the leaked firmware which made Samsung not to fix under warranty in many countries). So in my mind to keep bootloader updated as same android version is a good procedure for who didn't get it from OTA.
[Nexus 4 General] enapah:
I have makoz30f working just fine in my E975 (which had the first mako bootloader installed by the FreeGee app).

I had to edit the flash script to bypass the detection of the Nexus 4. It's a trivial edit, just remove the line.

Do keep in mind that, despite being the same phone for different regions, I cannot ensure you won't end up with a shinny brick. You have been warned.
[Nexus 4 General] mjehan:
New bootloader with Android 5.1 ?
[Nexus 4 General] bombadier:
Not that I can see in the OTA zip
[Nexus 4 General] fkrone:
I will try to have a look later. I'm currently very busy so don't be disappointed if it takes longer.
[Nexus 4 General] maoten:
this is the screenshot from factory image of Nexus4 5.1 files.

bootloader is the same.
[Nexus 4 General] Aashuk Mehta:
So I just flash this like a normal zip? I'm on simpleaosp 5.0.2 with a custom kernel and old bootloader and radio
[Nexus 4 General] Dan1234567890:
yes. from latest TWRP, preferably.
[Nexus 4 General] Midomad:
No new Bootloader with LMY47V.
[Nexus 4 General] thebrainkafka:
Delete
[Nexus 4 General] cb474:
When I flashed the zip for makoz30f (using TWRP 2.8.7.0) I got an error message, "unable to mount /usb-otg." But then my phone booted fine into the new bootloader and seems to work fine. (I'm still on CM11, but preparing to update to CM 12.1).

Does this error matter?
[Nexus 4 General] Vlad Paul:
No. Its ok.
[Nexus 4 General] ViRb3:
It is a bug in latest TWRP (again). Nothing to worry about.
[Nexus 4 General] MatixYo:
4.3 bootloader working for me, but there's no new boot animation...
[Nexus 4 General] efrant:
The boot animation is contained in the ROM, not the bootloader. :)
[Nexus 4 General] Ace42:
Google LOVES MAKING UI ELEMENTS LARGE SO CAN SEE REAL GOOD. The navbar is an excellent example of this.
[Nexus 4 General] metal571:
Haha, so true. I've always thought that navbar was massive, DPI settings are almost a must on this phone for any kind of efficient screen real estate usage.
[Nexus 4 General] MatixYo:
In FASTBOOT there's "SIGNING - production". Is it in stock 4.2.2 bootloader too?
[Nexus 4 General] VivaErBetis:
Another confirmation. BTW: I like the new font used. More readable.
[Nexus 4 General] nexusmaniac:
What difference does a newer bootloader make to the device?
[Nexus 4 General] vickpick:
bootloader loads the Kernel I think. Perhaps they increase efficiency in new version. perhaps a few millisecond faster boot time?
[Nexus 4 General] el_charlie:
It's just me or I can't do fastboot boot cwm.img anymore with this new bootloader. Can you try please???

I get only a blank screen and I have to press and hold power to shut down the phone and start again.

Cheers!
[Nexus 4 General] efrant:
Maybe something went wrong when you flashed it. Try flashing a bootloader from the factory image on Google's website using fastboot, then re-flash this one.
[Nexus 4 General] zephiK:
hey efrant, can you put MD5 hash for your new bootloader zip file?

http://xdaforums.com/showpost.php?p=43724026&postcount=16

much appreciated.
[Nexus 4 General] efrant:
You can download the bootloader and MD5 on dev-host here: http://d-h.st/KRm
[Nexus 4 General] zephiK:
nice. didnt see the dev host link, +1 thanks :)
[Nexus 4 General] efrant:
That's because it wasn't posted. :D
[Nexus 4 General] zephiK:
ooooh i feel special :D exclusive upload for me hehe. just a reminder, OP post needs a edit with the new link
[Nexus 4 General] el_charlie:
Nope, the same.

The fastboot boot command doesn't work anymore. I flashed (in fastboot) the z10o bootloader, rebooted in bootloader, then fastboot boot to CWM and then flashed the z20i bootloader from there.

After entering fastboot again, I executed fastboot boot nameofrecovery.img then the google logo appears and I get a blank screen.

I'd still like more confirmation please. You won't brick the phone.

Cheers!
[Nexus 4 General] zephiK:
Your fastboot command is wrong........ if you want to flash a recovery it is

fastboot flash recovery nameofrecovery.img

boot is kernel. be careful on what you flash and make sure you are using the proper syntax. (and you forgot to include 'flash')
[Nexus 4 General] el_charlie:
No sir.

You can (or could) actually boot into a custom recovery without flashing it (and keep stock recovery) on nexus devices.

The command is fastboot boot nameofCWMorTWRP.img

If you still have stock recovery and the old bootloader, give it a try.

I like stock recovery because I want my device as stock as possible (with only root and a modded hosts file). Well, with this 4.3 leak that ship has sailed :P

Cheers!
[Nexus 4 General] zephiK:
Whats the point in booting into the custom recovery and not permanently flashing it? Just go all the way, theres no danger! :)
[Nexus 4 General] el_charlie:
I already answered, but what the hell, I kept TWRP until the factory image of 4.3 goes live.

Cheers!
[Nexus 4 General] zephiK:
Yeah I saw, thats not too far away. Aaaaaa, time must go by faster
[Nexus 4 General] efrant:
I'll test it out tomorrow.
[Nexus 4 General] VivaErBetis:
Just tested and same results. Blank screen on recovery boot.
[Nexus 4 General] Xoib:
If I flash the bootloader, it will be locked again ? If yes I will have to fastboot oem unlock it with a full wipe ?

And btw what's the purpose of upgrading our bootloader if can't look for diff or changelog ?
[Nexus 4 General] njeske:
no, you won't be re-locked if you flash an updated bootloader.
[Nexus 4 General] efrant:
No. Yes. No one knows.
[Nexus 4 General] superleeds27:
cwm flashable bootloader?
[Nexus 4 General] Xoib:
Ok thanks. I will give a try, for the only speed up purpose.

Flashing like radio via CWM I presume.
[Nexus 4 General] andyli1985:
Yes, they are all flashable in CWM.
[Nexus 4 General] Redux90:
Is "makoz10l" really the latest bootloader? I installed the 4.3 factory image and mine says "makoz20l"
[Nexus 4 General] efrant:
Latest is z20i
[Nexus 4 General] Midomad:
it's the same as leaked one?

Envoyé depuis mon Nexus 4 avec Tapatalk
[Nexus 4 General] magote:
Ok guys, there is the bootloader extracted from the official OTA, CWM flashable.

Probably it's the same from the leak, but better safe than sorry on this matter.

http://d-h.st/nLo
[Nexus 4 General] jawz101:
Pardon my ignorance, I'm on the current cm nightly. Is it ok to use the 4.3 boot loader? If so, how does the bootloader differ from the kernel, baseband/radio?

How do I know which boot loader I currently have?
[Nexus 4 General] zephiK:
yes its ok to use 4.3 bootloader

bootloader: go into bootloader mode and it tells you what bootloader you're using
[Nexus 4 General] Chochiwpg:
From reading through the thread fastboot boot recovery.img will not work with newest bootloader. But will fastboot flash recovery recovery.img work? I just want to know if i flash the factory image if i can get custom recovery and root back. Thanks.
[Nexus 4 General] efrant:
You can get your custom recovery, but root is still not yet stable.
[Nexus 4 General] Chochiwpg:
Thanks, as long as I can flash a custom recovery that is good enough for now, root won't take long I am sure, thanks.
[Nexus 4 General] Xoib:
Do you mean SuperUser from CM is not stable yet ?
[Nexus 4 General] cocchiararo:
sizes of the files INSIDE your zip and the ones from the LEAK are totally different.

Unless the OTA did not update the bootloader, it seems to not be the same.
[Nexus 4 General] Lownita:
Can I easily downgrade to makoz10o bootloader when I restore a 4.2.2. nandroid?

Tapatalked from my Nexus 4
[Nexus 4 General] pchtc:
yes, just flash the z10o bootloader if you want to

but no reason to

im not on 4.3

and im using z20i
[Nexus 4 General] efrant:
There is no way to get root and have it persist without experiencing some sort of issues. Chainfire is working on it.

The bootloader from the leak is an image dump. When uncompressed, image dumps will be bigger because of how they were dumped: the "dd" command dumps the entire partition, including the blank space, and fills it with zeros. If you want, you can open the dump in a hex editor, remove the trailing zeros, and it will be the same size as the "official" one.
[Nexus 4 General] stremax:
just flashed the Z20i bootloader and noticed, fist time it says secure boot-enabled, in my old nexus s I remember I got a RO.SECURE=0 and RO.DEBUGGABLE=1, in nexus 4 build prop, on orca rom I can't find this twolines, do I just add this two lines to have an insecure and debuggable bootloader?
[Nexus 4 General] efrant:
You are talking about two different things. Secure boot relates to the boot chain of the APQ8064 processor (this has always been secure-boot enabled), while ro.secure and ro.debug relate to the boot image (which contains the kernel and the ramdisk). If you want to get RO.SECURE=0 and RO.DEBUGGABLE=1, flash an insecure boot image. Not at all related to the bootloader.
[Nexus 4 General] stremax:
arghhhh.. how noob I was, I mismatch the bootloader and the boot image.. thanks for your aswer
[Nexus 4 General] nixie2121:
I am a real noob and want to verify before doing anything please..

I want to be ready when PA rom releases 4.3 version.. I flased 33/84 hybrid radio.. now I can just flash the 20i bootloader the same way as any other flashable zip? no problem running this bootloader on 4.2.2?

thanks so much
[Nexus 4 General] CrashTestDroid:
I updated to z20i and then nothing could boot. I tried 5 or 6 different 4.2.2 ROMs and they all failed to boot, whereas they did before the bootloader update. Before each flash I wiped /system, /data, cache and dalvik.

In case anybody else has the same problem I fixed it by wiping the /sdcard. Lost my data but the phone boots.
[Nexus 4 General] cocchiararo:
i had no such issue, still have not updated from 4.2.2 but already updated bootloader and radio
[Nexus 4 General] irockstar661:
This will not flash in twrp for me. States looking for build.prop then states cannot locate it and fails every time. Tried re-downloading just in case sti same thing.
[Nexus 4 General] Androidscreed:
Thanks Mate !

Waiting for the collection to get more Bootloaders listed ... My brother has a Nexus 4, he'll definitely enjoy this post ! :cyclops:
[Nexus 4 General] CrashTestDroid:
It's looking for /system/build.prop which doesn't exist if you wiped your /system partition. Either flash a ROM first (eg CM 10.1.2) or fix the updater-script.

Change this:

assert(file_getprop("/system/build.prop", "ro.product.device") == "mako" ||
file_getprop("/system/build.prop", "ro.build.product") == "mako");

to this:

assert(getprop("ro.product.device") == "mako" || getprop("ro.build.product") == "mako");

Then it will flash as expected.
[Nexus 4 General] tinlunchbox:
Thanks, saved me a whole lot of google searching :good:
[Nexus 4 General] mudrock1000:
I'm getting an error every time I try to flash the image in recovery. I'd do it myself in fastboot, but there is a few different image files and I'm not sure which is which. The errors are :File_getprop - failed to stat "/system/build.prop": no such file

E:Error executing updater binary in zip _location of file on SD card_

Error flashing zip _location of file on SD card_

Not sure how to fix it...I can do it via fastboot if I knew which image file to pick.
[Nexus 4 General] oldergod:
But the signature of the zip will change and the verification will fail, no?
[Nexus 4 General] Rohit02:
Guys pl help.. Can i flash the z20i cwm flashable zip in twrp? if not van some make it for twrp.? i am on stock 4.2.2 will it be ok if iflash this?? TIA.(:
[Nexus 4 General] playya:
ok as an fyi if you are really concerned about flashing with cwm you can download cwm recovery and flash it with TWRP then flash bootloader. Its not like you have to stay with cwm either you can flash it back when done... Just an alternative means to the end
[Nexus 4 General] fkrone:
The zips can be flashed with both CWM and TWRP (like any ROM).
[Nexus 4 General] efrant:
The zip is not signed. You can remove the check if you want from the updater-script file if you want. It is only there for safety -- we don't want people flashing mako bootloaders to non-mako devices now, do we? ;)
[Nexus 4 General] whisper13:
same thing happen to me :/
[Nexus 4 General] efrant:
I've attached the latest bootloader (z20i) in fastboot-flashable format.
[Nexus 4 General] pachulo:
Looks like people found a workaround till the fix is released:

Didn't try thought..
[Nexus 4 General] Ace42:
This bootloader seems unnecessary for rooted users. Is it not known that it removes normal fastboot functionality/commands?
[Nexus 4 General] hyperspacey:
Just for future reference, the Nexus 4 (unlike other Nexus devices) can't run fastboot boot recovery.img as a result of... spirits? Obama? Ze Germans? You can just as easily go fastboot flash recovery customrecovery.img then go back to fastboot later and run fastboot flash recovery stockrecovery.img, getting the stock recovery out of the factory image here: https://developers.google.com/android/nexus/images#occamjwr66y . I would advise not doing this at 12:15am on a Friday after many, many beers, during which you accidentally call fastboot flash boot customrecovery.img and overwrite the stock boot image, thus rendering your phone useless until you undo your own stupidity...
[Nexus 4 General] efrant:
Actually you can boot recovery images on the N4. However, if you have flashed the latest bootloader (z20i), there is a bug that prevents the screen from turning on. So, you can use this command instead:

fastboot -c "lge.kcal=0|0|0|x" boot customrecovery.img

And if you mistakenly type fastboot flash boot customrecovery.img, you can easily get your N4 back to working condition by downloading the boot.img file from the factory image and typing: fastboot flash boot boot.img
[Nexus 4 General] hyperspacey:
Thanks for the command line fix for the N4 boot command. As for flashing boot I realised my mistake almost immediately and flashed boot.IMG to sort it. Then promptly turned off my PC and sat down so as to not suddenly decide to overwrite, I dunno, all the key kernel components.
[Nexus 4 General] Sacob:
I've a question about the bootloaders. what's the advantage of updating the uploader? what does that bring to me?

if i've a N4 with 4.2 rom with CWM do i need to update bootloader before flashing a 4.3 rom? or can i do it directly as i did with my galaxy s?
[Nexus 4 General] DeepPurple15X:
I flashed the makoz20i zip in TWRP and it failed. I then tried the bootloader available on the paranoid android rom page from the original software forum and that got installed.

Edit:

For reference, Paranoid android
[Nexus 4 General] efrant:
The flashable zips in this thread have a check to ensure that you are flashing it on a mako, and not on any other device. So, if you don't have a ROM installed, it won't flash in recovery (as the zip verifies the build.prop).
[Nexus 4 General] fkrone:
I'm sorry but this is like when I'm asking you how the whether's like and you tell me that I should look out of the window. Please tell me what error message you got and I will try to fix it.

Ok, I see, I'll try to fix it.

Have a look at the zips ;) They now also check what the recovery tells about the device.
[Nexus 4 General] DeepPurple15X:
I am sorry, I forgot to mention that I was on a Custom Rom basically it was AOKP Milestone 1, 4.2.2. It was on a nexus 4 (mako). :confused: not sure if the error was caused because of that.

I flashed it and it just said 'failed'.
[Nexus 4 General] fkrone:
Thanks I see the problem. This makes me raging as I really do not get why it does not work on testing ...

BTW: Seems like PA copied my updater-script ;)
[Nexus 4 General] DeepPurple15X:
Out of curiosity what was the problem? btw nice work you doing here, appreciate your work and well sorry for being a noob but I am learning.
[Nexus 4 General] fkrone:
No problem at all. I also was a noob long time ago and I am still learning.

The problem was really stupid but difficult to see. I check if the device is really a Nexus 4. To compare two stings you use == but in one line I forgot one equal sign which is an assignment. And this caused this error. Thanks for reporting.
[Nexus 4 General] Geordie Boyo:
Am currently using the Z10o bootloader and the AOKP Latest Nightly build rom.

Is it safe to flash the latest Z10i bootloader, and will this affect the bootloader unlock from when I originally rooted the phone?
[Nexus 4 General] fkrone:
It is safe if you check MD5 and do not turn off your device while flashing. And this will not affect unlock from bootloader.
[Nexus 4 General] Geordie Boyo:
Great thanks. Flashed the latest bootloader to my Nexus4. Worked a treat.
[Nexus 4 General] carlos67:
This was a good question that never got answered. I too would like to know if you need to flash to latest bootloader before flashing a 4.3 Rom.

If yes, why?
[Nexus 4 General] fkrone:
It is recommended to have the matching bootloader to the Android build but most times not necessary. This is recommended to avoid conflicts but you do not need to flash bootloader if you do not want to as long as you don't experience any problems.
[Nexus 4 General] Sacob:
but what changes between versions?
[Nexus 4 General] fkrone:
As I don't have any source code, can do some reverse engineering (not enough knowledge) or have changelogs I can't tell you that. The only thing I know is that 20i changed the parameters needed to boot a recovery image via fastboot.
[Nexus 4 General] l33ch0r:
Got my Nexus 4 with JOP40C, unlocked, rooted and so on. Put a custom rom on it with Android 4.3 - I assume my bootloader is still the one from JOP40C - with that said: can I just flash z20i via recovery? Since this is the bootloader I better ask stupid questions than to make mistakes :P
[Nexus 4 General] Sacob:
you can you into the bootloader and see what version it is
[Nexus 4 General] 75markus:
yes, you can

if you also like to upgrade your baseband used in 4.3, you can flash this zip to get both : http://xdaforums.com/showpost.php?p=44719035&postcount=3621
[Nexus 4 General] l33ch0r:
Rebooting into bootloader now :)

It's version MAKOZ10I

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

Wanted to give you a thanks as well, but with all my questions I'm out of thanks :P
[Nexus 4 General] ap1618:
im on PA 3.69 (android 4.2.2) and mulling over upgrading to 4.3

Can I flash the 4.3 bootloader now (while in 4.2.2) without any issue?

thanks
[Nexus 4 General] 75markus:
no problem ;)

better ask to many than to few questions !
[Nexus 4 General] 75markus:
i think so, i was running CM 10.2 some weeks with the old bootloader without any problems, so it also should work the other way round

you can also first switch to PA 4.3, and flash the new bootloader afterwards...
[Nexus 4 General] l33ch0r:
Worked like a charme :) Thx again
[Nexus 4 General] cryingrock:
Hope the latest bootloader will be uploaded soon:)
[Nexus 4 General] fkrone:
As soon as the OTA is available and I can download it there will be the new bootloader available here.
[Nexus 4 General] bombadier:
[MENTION=4110873]fkrone[/MENTION

The factory images are available I can link you to the new bootloader if you want? In fact here
[Nexus 4 General] fkrone:
I know that the new bootloader is included in the factory images but I usually pull the bootloader out from the OTA as it is easier for me and in my opinion safer to use (I don't want to brick phones just by trying to flash bootloader from factory image as I would need to figure out how this will work).
[Nexus 4 General] pughie:
As my PC is currently borked can I use an app like flashify to flash the boot loader?

Edit: Tried to flash the .img from the post above but no luck using flashify guess I need to get my PC fixed asap :)
[Nexus 4 General] bombadier:
Ok I flashed through fastboot and works fine,in fact in the factory image google never bothered to update the name of the bootloader or radio but they are new!
[Nexus 4 General] meangreenie:
What is the manual command for installing new bootloader image?

fastboot.exe flash bootloader bootloader.img?
[Nexus 4 General] bombadier:
fastboot flash bootloader <name of bootloader.img>
[Nexus 4 General] chrismalla:
I've dumped the KitKat Android 4.4 bootloader and created a flashable zip. Zip attached, tested and working. Thanks to [MENTION=1566190]efrant[/MENTION] who taught me how to do it.

KitKat Android 4.4 BOOTLOADER VERSION: makoz30d
[Nexus 4 General] pughie:
Thanks [MENTION=4595501]chrismalla[/MENTION] just flashed using latest twrp and my bootloader is now updated :)
[Nexus 4 General] azrash:
Fkrone, is it possible to put a build tag next to the bootloader version and maybe the Android version as well. Eg. Makoz20i JWR66Y android 4.3

Some users are a bit confused on which bootloader are for which.

Thanks!
[Nexus 4 General] nixxofugi:
The newest bootloader no longer shows the battery level while charging... Too bad. Will be missed.
[Nexus 4 General] Sacob:
i've updated the bootloader and radio but now i can't boot any of my roms.. what should i do?
[Nexus 4 General] arcticrobot:
Try to flash stock I guess.
[Nexus 4 General] Sacob:
that will definitely work.. but i didn't want to lose my data

EDIT: lol flashed the old radio and the rom booted :D
[Nexus 4 General] thebrainkafka:
Was looking for that thread. Thx

---------- Post added at 09:31 AM ---------- Previous post was at 09:31 AM ----------

No New bootloader for kitkat?
[Nexus 4 General] skidaway:
chrismalla posted a flashable zip about seven posts above.
[Nexus 4 General] thebrainkafka:
Which Version of twrp?

---------- Post added at 10:44 AM ---------- Previous post was at 10:41 AM ----------

Is this bootloader also working for 4.3 Roms?