yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505G Android Development] Deleted member 5354136:
OTA link:http://android.clients.google.com/packages/ota/global_samsung_i9505g/fde268d0b1d6f84a21bba92eb255b24749d059a9.SS-I9505GUEUBMH1-to-UBMH5_Update_FWD.zip
[Galaxy S 4 i9505G Android Development] SamuriHL:
http://www.mediafire.com/download/0x7qhea5ooa67e7/stock_43_recovery.tar.md5

Sorry for the delay. Flash it as pda in odin and only check auto-reboot.
[Galaxy S 4 i9505G Android Development] SamuriHL:
Thanks for that since I hadn't gotten it pushed yet. Much appreciated.

And yes, this has kernel updates, baseband, and who knows what else. I heard this is just a small security update.
[Galaxy S 4 i9505G Android Development] wilbarger:
So I can just ODIN this as OTA update PDA with reboot checked?

Never mind. Just noticed that it is a zip file.
[Galaxy S 4 i9505G Android Development] SamuriHL:
WOA WOA, what? NOOOO. You can't odin OTA update zips.
[Galaxy S 4 i9505G Android Development] wilbarger:
Yeah, saw that it was a zip file.
[Galaxy S 4 i9505G Android Development] SamuriHL:
I'll be making a full ODIN tar flash for MH5 later but it's not ready now. I also just updated my root script and posted it in the how to root your i9505g thread.
[Galaxy S 4 i9505G Android Development] MJHawaii:
Hey SamuraiHL so we keep everything consolidated post your Odin package in the OP with link and post root instructions. Also change the thread title from incoming to MH5 [ODIN] Security Update or something like that. Thanks again. I created and posted the stock recovery already last night looks like we overlapped.
[Galaxy S 4 i9505G Android Development] SamuriHL:
Will do. It may be tomorrow before I get to it. I've been stuck in kitchen sink repair hell. But I will definitely create the ODIN package. Did you see my question in your ODIN thread?
[Galaxy S 4 i9505G Android Development] jpculp:
SamuriHL, would you mind using your amazing skills to make flashable zips of our now 3 modems :) ?

Please and thank you!
[Galaxy S 4 i9505G Android Development] SamuriHL:
Sure. It may be a bit before I can get to it. I have to patch the MH1 modem to MH5. We already have flashable zips for 4.2.2 and 4.3 modems kicking around somewhere. I'll dig up links later and add the new modems, as well.
[Galaxy S 4 i9505G Android Development] occupational_hazard:
Do you know update changed the platform.xml back to original?
[Galaxy S 4 i9505G Android Development] MJHawaii:
Here is another link on compressing your Odin packages into .tar.gz files. They use Gzip I have been using powerarchiver myself. This works great on larger files as the OP mentions. If you need any help or have questions send me a PM. MJ

http://www.xda-developers.com/andro...-gzip-compression-hidden-menu-gets-an-update/

BTW. Thanks for the help. This is one less thing I have to do. :D
[Galaxy S 4 i9505G Android Development] WhiteSRT69:
keep getting an error Status 7 with the zip file

unrooted, stock recovery, and locked bootloader.......

got the OTA today and still no luck.. still errors when installing
[Galaxy S 4 i9505G Android Development] MJHawaii:
Delete the file and redownload
[Galaxy S 4 i9505G Android Development] SamuriHL:
And thank you for the info! I definitely don't mind doing this. It's just going to take me a bit. I promise to get it out this weekend though. The sink saga continues into tomorrow. Just my luck and I've got guests coming tomorrow night to watch Into Darkness! ARGH! Anyway, yea, I'll get this done over the weekend and change the thread.
[Galaxy S 4 i9505G Android Development] SamuriHL:
Error 7 is the generic assertion failed error. Can you provide the exact error message? It should tell you what file it failed on. If it's not getting that far, then it's a failure on the ota zip itself. Verify the sha1 hash against the one in the filename.
[Galaxy S 4 i9505G Android Development] bleez99:
Nope. I don't see a patch for that in the update. You probably will never see that changed. Google doesn't want you to write to your SD cards with only a few exceptions. Did you see the new disclaimer on the play store?

When dialog fails, it's time for violence.

---------- Post added at 09:41 PM ---------- Previous post was at 09:26 PM ----------

I have since switched over to CM 10.2 but was curious, and also wanted the MH5 modem. I started over and Odin flashed 4.2.2, then applied the OTA for MH1 then MH5. As with MH1, it upgraded the camera firmware after firing up the camera.

Now that I have the MH5 baseband I put back my nandroid of CM 10.2. Not too much more to report. The modem seems fine, but it's hard to tell in such a short period of time.

When dialog fails, it's time for violence.
[Galaxy S 4 i9505G Android Development] WhiteSRT69:
E: error tmp/sideload/pacage.zip
[Galaxy S 4 i9505G Android Development] SamuriHL:
Sorry I haven't had time to put together a modem flash for you guys. Timing on this update just sucks with my RL projects going on.
[Galaxy S 4 i9505G Android Development] SamuriHL:
That can't be the whole error. If it is, your zip is corrupt and as I said, you should check the sha1 to make sure it matches the one in the filename.
[Galaxy S 4 i9505G Android Development] jpculp:
That would be great. Somehow I missed the the previous modem zips. Don't kill yourself trying to get them out ASAP though. I'm sure most of us don't mind waiting a bit longer, and I'm mostly interested for archival purposes :D
[Galaxy S 4 i9505G Android Development] bleez99:
That's OK. I like doing things the hard way. Couldn't have done this without your contribution towards creating an Odin flash of the original release.

When dialog fails, it's time for violence.
[Galaxy S 4 i9505G Android Development] AxAtAx:
delete
[Galaxy S 4 i9505G Android Development] SamuriHL:
OP is updated with lots of good info. I'll keep adding to it as I make more progress. So far I have:

Link to kernel source

Link to OTA zip

Link to stock mh5 recovery ODIN flashable

Link to mh5 modem ODIN flashable

I will put together the full ODIN restore tomorrow. I want to get it right so I need a little patience.
[Galaxy S 4 i9505G Android Development] MJHawaii:
Let me know if you need help I PM you my contact info.
[Galaxy S 4 i9505G Android Development] SamuriHL:
I'm all set thanks! I'll have it up in a couple hours for everyone.

Carved in blood by a wakizashi...
[Galaxy S 4 i9505G Android Development] kufusoto:
I've never flashed anything in the stock recovery, so can someone lend a helping hand?
[Galaxy S 4 i9505G Android Development] SamuriHL:
I assume you're trying to flash the OTA using stock recovery? If so, put it on your external sdcard. Boot into recovery (I think power off, hold volume up, and hold power until it comes up if I remember right). Use the volume keys to scroll through the recovery menu and power button to select. Select the apply update from external, select the update you copied to your external sdcard, and let her rip. I hope that's what you were asking for. If not post what you're trying to do and I'll see if I can help.
[Galaxy S 4 i9505G Android Development] kufusoto:
That's what I needed I haven't done any mods to this phone yet so I'm trying to get the latest update and I can't seem to get it via OTA
[Galaxy S 4 i9505G Android Development] SamuriHL:
Ok, that should do it for you then.
[Galaxy S 4 i9505G Android Development] SamuriHL:
Alright everyone, thanks for waiting. The ODIN FULL RESTORE image is now posted in the OP. I did steal MJ's warning and instructions (thanks, MJ! :)) so please read them. That will get you on MH5 through ODIN.

A little background, though, on why this took a little bit longer than normal. People that know me from the Moto world know I'm not big into doing things manually. I tend to automate everything. Well, this process is no exception. I was busy writing automation around each of the steps I took. By the time the next update rolls out, I will have taken all those little bits of automation and turned it into a semi-automated tool that can:

o) Create a signed recovery ODIN tar from the new update

o) Create a signed modem ODIN tar from the new update

o) Create a gzip'd ODIN FULL RECOVERY image for the new update

Everything in the FULL RECOVERY image is signed except for the system img which had to be dd extracted. The new tool, once finished, will allow me to take any update zip and automagically create all the files we need from it. The only manual step in that is filling out a properties file from information contained in the update zip. If I can get my linux text handling skills going I might even be able to automate that part, as well. We'll see. Anyway, I hope this thread helps those looking for MH5 files and I hope to serve the community in the future with my new automation. Thanks!
[Galaxy S 4 i9505G Android Development] MJHawaii:
Tested and Worked Perfect. Thank you.
[Galaxy S 4 i9505G Android Development] Chahk:
Can this modem be flashed stand-alone, over CM10.2 for example? Or does it require stock ROM to be installed first?
[Galaxy S 4 i9505G Android Development] SamuriHL:
It can be flashed stand alone. I made it for all the guys and gals running roms or who otherwise only want the modems and not the full stock release. Enjoy!
[Galaxy S 4 i9505G Android Development] Chahk:
Awesome. Thanks!

I assume this goes into the Phone slot in Odin, correct?
[Galaxy S 4 i9505G Android Development] SamuriHL:
I've flashed them as pda but I don't know if that's right. Maybe MJ can shed light on that.
[Galaxy S 4 i9505G Android Development] occupational_hazard:
This is more accurate and with links to other guide. Yes it is a bit old. But it should give you an idea. And that was written for v1.85 or older more than likely. I didn't search for a change log of the the updated 3.07 or newer to see if it recognizes a screwup like this on our part.

The more we know....
[Galaxy S 4 i9505G Android Development] Chahk:
The guide says to use "PDA" unless flashing a modem. So we're supposed to use "Phone" if flashing the modem only package?

I flashed it as PDA, and my baseband is still I9595GUEUBMH1. Doing a nandrtoid backup and then will try to flash as Phone...
[Galaxy S 4 i9505G Android Development] occupational_hazard:
Yeah, seems to be PDA for the complete package and select phone for flashing a new modem.bin.
[Galaxy S 4 i9505G Android Development] SamuriHL:
Good to know. I'll update the OP.
[Galaxy S 4 i9505G Android Development] Chahk:
Hmm... Flashing the modem from OP in Phone slot didn't change my baseband either.
[Galaxy S 4 i9505G Android Development] SamuriHL:
Don't know. The files are signed so it should flash them regardless. I'm not sure why it would not update them.
[Galaxy S 4 i9505G Android Development] occupational_hazard:
I would suggest a reflash. Or even putting modem.bin into a signed zip to flash through a recovery, even 3e.
[Galaxy S 4 i9505G Android Development] SamuriHL:
There's no way to create a signed zip afaik?
[Galaxy S 4 i9505G Android Development] occupational_hazard:
I thought the kitchen could sign zips. To my knowledge, the zip must be at least signed to flash in stock recovery.

Just get a zip that flashes a modem for our phone if anybody has one and replace the .bin using either 7zip or WinRar, etc. This should at least update the baseband.

Odin/heimdall can be good thing. But I am so used to doing everything in recovery with zips. I'm not trying to push away from the .tar but zips usually never fail me.

I'm at work right now and will not near my computer for another 10 hours.

---------- Post added at 05:40 PM ---------- Previous post was at 05:29 PM ----------

Never mind, apparently.its impossible to flash a modem through recovery on a i9505 ATM, I'm going to assume we share that same likeness.
[Galaxy S 4 i9505G Android Development] MJHawaii:
The Modem being flashed from CWM is pretty much a dead issue because of the secure boot loader. I am looking into other options ( if so ) its not my forte but I am researching it.
[Galaxy S 4 i9505G Android Development] SamuriHL:
I'm assuming they can't be dd pushed?
[Galaxy S 4 i9505G Android Development] WhiteSRT69:
big thanks!
[Galaxy S 4 i9505G Android Development] SamuriHL:
I'll just leave this here for you guys to contemplate... :D

/cygdrive/c/android/S4_GPE/BUILD_ODIN

$ ./MakeOdin.sh

Building recovery

2578 KB/s (2279845 bytes in 0.863s)

2794 KB/s (8300800 bytes in 2.900s)

applypatch boot.img recovery.img a9da4be348ec422f40f164666f2754933bcab116 9777408 3b8732d80e31df5dc10f3eec9a4eca6690d11f3f:recovery-from-boot.p

applying patch to boot.img

failed to stat "recovery.img": No such file or directory

failed to statfs recovery.img: No such file or directory

now a9da4be3

4191 KB/s (9777408 bytes in 2.277s)

Building NON-HLOS

2831 KB/s (9181952 bytes in 3.166s)

1311 KB/s (9404 bytes in 0.007s)

applypatch NON-HLOS_mh1.bin NON-HLOS_mh5.bin ec06da5e5c07a7187b307c996b32e40363791ec9 9181952 c15e52d975b0b46478798a436c3feca3d4b755d7:NON-HLOS.bin.p

applying patch to NON-HLOS_mh1.bin

failed to stat "NON-HLOS_mh5.bin": No such file or directory

failed to statfs NON-HLOS_mh5.bin: No such file or directory

now ec06da5e

4228 KB/s (9181952 bytes in 2.120s)

Building modem

3071 KB/s (51944192 bytes in 16.512s)

2948 KB/s (3238700 bytes in 1.072s)

applypatch modem_mh1.bin modem_mh5.bin a93e26943284b6402ff2cf0d75124e54fc4ae518 52075264 a43358aa04912437a98f3348a63d9bc88f3d7af4:modem.bin.p

applying patch to modem_mh1.bin

failed to stat "modem_mh5.bin": No such file or directory

failed to statfs modem_mh5.bin: No such file or directory

now a93e2694

3510 KB/s (52075264 bytes in 14.485s)

The hard part is done. The rest is academic. :D
[Galaxy S 4 i9505G Android Development] SamuriHL:
Good news, everyone. I have finished my Build_ODIN script. What this means for us:

TODAY:

I used it to generate new, consistently named modem and recovery images and posted new threads for each.

Going Forward:

When a new OTA update is released, I just need to follow this process:

o) Get OTA zip

o) Install on my phone

o) Re-root using my root script

o) Unzip the OTA zip on my laptop

o) Point the Build_ODIN script at the OTA directory

o) Run the script and wait 15-20 minutes

Once it's done, I'll have ODIN images for stock recovery, modem, and a full rooted restore image that I will then post in the appropriate threads. This will greatly speed up the process of posting new ODIN images for new OTA updates as the process is fully automated now.
[Galaxy S 4 i9505G Android Development] toanau:
Hi Samurai by any chance do u have a Odin flashable stock kernel
[Galaxy S 4 i9505G Android Development] SamuriHL:
You need just the boot.img flashable? I can make that happen if that's what you need.
[Galaxy S 4 i9505G Android Development] toanau:
If you could thank you. I am a little new at this
[Galaxy S 4 i9505G Android Development] SamuriHL:
http://www.mediafire.com/download/8gogr7o26bq8r0q/boot_mh5.tar.md5

There you go. Enjoy! Also if you're curious how I made it, I ran this in cygwin in my boot directory with all the boot img files:

cp boot_mh5.img boot.img

filename=boot_mh5

tar -H ustar -c boot.img > $filename.tar

md5sum -t $filename.tar >> $filename.tar

mv $filename.tar $filename.tar.md5
[Galaxy S 4 i9505G Android Development] aresbv2000:
Sorry about my silly question!

But...can I flash this Odin image to my I9505 model?

I tried but it gets stuck at flashing NON-HLOS.bin

How can i convert my i9505 into a i9505G?Because TouchWiz sucks!!!
[Galaxy S 4 i9505G Android Development] SamuriHL:
You can't.

Carved in blood by a wakizashi...
[Galaxy S 4 i9505G Android Development] occupational_hazard:
Why not just flash the google experience rom. You can not convert a phone, but you can still have the pure vanilla feel.
[Galaxy S 4 i9505G Android Development] aresbv2000:
I think i flash them all!But none is perfect like the one that runs on Nexus 4.Every ported rom has some minor bugs.Before Galaxy S4 i had a Nexus 4 and belive me...i miss that phone.I think I`m gonna sell my Galaxy S4 and buy a new Nexus 4.Pure Google Rom is waaaaayyyy better than Touchwiz.Too bad that such a nice hardware like Galaxy S4 is slowed down by the ugly Touchwiz!
[Galaxy S 4 i9505G Android Development] SamuriHL:
Just wait a few weeks and get an nx5 if you're going to do that.

Carved in blood by a wakizashi...
[Galaxy S 4 i9505G Android Development] Sammy4Life:
This have the KNOX boot loader baked in?
[Galaxy S 4 i9505G Android Development] SamuriHL:
I'm not sure I know how to properly answer that question if I'm being honest. The image includes a signed boot img file, but, I don't include aboot. I'm not really sure where the KNOX stuff lives or how it works. I apologize for not knowing the answer.
[Galaxy S 4 i9505G Android Development] Sammy4Life:
I think it does.... I did the upgrade OTA to MH5 and it broke some things which I couldn't fix, so I used your I9505GUEUBMH1.tar from this Threadto back it down. The firmware reports are BMH1, however, looking at the bootloader it's reporting as BMH5.

I'm not having the same issues as others that have reported wifi and sound not working. Actually I do not even have the KNOX line that is indicated in other threads.
[Galaxy S 4 i9505G Android Development] SamuriHL:
I suspect that's because MJ and I didn't include aboot in our images. I had asked about that but was told it hadn't changed between the versions. We could include it if we need to.
[Galaxy S 4 i9505G Android Development] MJHawaii:
No BL were included in any of the firmware packages SamuriHL or I posted here.

I am not 100% sure if they did change to be honest. When we received the MH1 update it seemed like we had a number if changes
[Galaxy S 4 i9505G Android Development] SamuriHL:
Yea I honestly don't know enough about it yet. It's easy enough to update my script to include those things. It's all signed so it's not something we have to extract. It's included in the update OTA's.
[Galaxy S 4 i9505G Android Development] oldblue910:
Here's an interesting one. I used the 4.2.2/JDQ39 rooted restore. ODIN worked fine. I booted it up, did a full unroot, and it OTAed to JWR66V. After that, I checked for updates manually a few times but it never saw that there was an update to JWR66Y. I wonder if the update has been pulled for some reason...

Not really a big deal for me since I just adb sideloaded the JWR66Y OTA, but still... kinda weird that it wouldn't see the update. Would anyone else be able to try? Just load up the stock JWR66V ROM and see if you get an OTA to JWR66Y.
[Galaxy S 4 i9505G Android Development] SamuriHL:
The kernel is still posted on their site for it. So I assume the OTA is still around.
[Galaxy S 4 i9505G Android Development] oldblue910:
That's what I would think too, though there was a similar problem with the Nexus S when they rolled out Android 2.3.3. After about a week, reports of people getting the OTA basically dried up and, despite Google swearing they didn't pull the OTA, people knew wasn't being rolled out anymore. A lot of people ended up stranded on 2.3.2 until 2.3.4 came out. So this definitely wouldn't be the first time something like this has happened.

Plus, they may keep the kernel source out there if the reason for pulling the OTA wasn't related to the kernel.
[Galaxy S 4 i9505G Android Development] SamuriHL:
The link in the OP is still working, so, it wasn't pulled from the servers.
[Galaxy S 4 i9505G Android Development] oldblue910:
Neither was 2.3.3 when it was pulled. You could still download it. You just couldn't get it via the Android OTA system. At this stage, I'm just curious if this is an isolated issue with my phone or if it's something on the OTA side. I guess the only way to know for sure is to have someone else try it.
[Galaxy S 4 i9505G Android Development] SamuriHL:
I don't have time right now unfortunately. Maybe someone else will get a chance to try it.
[Galaxy S 4 i9505G Android Development] oldblue910:
No worries. Anyone else up for testing this?
[Galaxy S 4 i9505G Android Development] oldblue910:
Would anyone else be willing to flash back to JWR66V/MH1 and see if they get the OTA update to JWR66Y/MH5? I'm curious if it's an OTA server thing or an isolated issue on my phone. If I flash back to JWR66V, my phone doesn't find an OTA to JWR66Y. I can apply the OTA manually and it updates fine, however. It just doesn't find the update through the OTA system.

If someone wouldn't mind trying it, I'd be grateful.
[Galaxy S 4 i9505G Android Development] toanau:
I am on MH1 and once in awhile I would get an OTA update file. I'll just let try it let update in TWRP but nothing happened. I only donit to get rid of the update notification
[Galaxy S 4 i9505G Android Development] oldblue910:
Can you go into TWRP and clear your cache, then try to get the OTA again and see if it downloads again?
[Galaxy S 4 i9505G Android Development] toanau:
It will get that notification again when u clear it.
[Galaxy S 4 i9505G Android Development] oldblue910:
So if you go into TWRP, clear cache and reboot, you get the OTA notification again?
[Galaxy S 4 i9505G Android Development] ijat91:
sorry, wrong info...
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Vinao:
I was wondering if Im able to receive OTA updates even if I'm not living in US.

My phone model is i337m so its not the international version.

The carrier is AT&T

Anyone knows?

Of course my phone is SIM Unlocked and I'm not using AT&T

Thanks
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Product F(RED):
AT&T has the i337, not the i337M (which is usually the Canadian variant). I believe the update server authenticates the SIM though. Not sure.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Vinao:
Yes, you're right sorry

SGH-I337

I think the same, but I cant test because I rooted my phone.

I'm only asking this because they gonna release the new android next month.

Thanks
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Product F(RED):
You can always download the OTA file when it's released, put it in the phone's internal memory and name it "update.zip". After that you can go to [stock] recovery by turning on the phone while holding only the volume-up key and choose "Apply update.zip"
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Vinao:
But when I try to update OTA it always says that "there ir no upadate avaliable" and I'm not sure if this message apears because Im not in the US and using AT&T Sim Card or because my phone is rooted.

I updated to UCUAMDL via Kies but back then I wasnt root yet.

Is there another way to download the update.zip? Like a web site?
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Product F(RED):
Well, if you're on an official, but rooted (stock) ROM, then the phone should still be able to check. Root itself doesn't make a difference in whether or not an OTA appears, but a custom ROM might have purposely broken the internal URL to check for OTAs in order to prevent them.

Just so you know, the AT&T Galaxy S4 has a locked bootloader. If you take an OTA, you'll lose root and you won't be able to do anything (no custom ROMs, root apps, or custom recovery) until an exploit is found. That's what's going on right now with people on the MF3 update. Currently they found a way to have root, but that's all.

You're better off downloading a stock, rooted ROM from here and flashing that when a new OTA comes out. They're usually posted quickly afterwards.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Vinao:
Well I'm using stock rom. So I guess this answers my question, either I'm not in the US or not using att sim card i can't update through OTA.

Thanks for your help bro. :good:
[Nook HD, HD+ Q&A, Help & Troubleshooting] thecalip:
I have CWM recovery installed on the nook but unable to go into the bootloader. It always go into recovery.

What I want to do is partition the data partition. I have a 32gb nook and 1/2 of the space is at the data partition.

Thanks
[Nook HD, HD+ Q&A, Help & Troubleshooting] leapinlar:
I really don't understand this request. What do you mean go into the bootloader?

And why do you want to repartition? What is wrong with the data partition that you want to change it? What are you going to change it too? It is already optimal.

Sent from my Nook HD+ running CM10.1 on emmc.