yashsingh1/xdaforums huggingface dataset:
[Verizon Galaxy S 5 General] klabit87:
Reserved
[Verizon Galaxy S 5 General] K-alz:
Good work, bud. Peoples' lives are going to be so easy now. lol
[Verizon Galaxy S 5 General] klabit87:
Thanks! S5 users should be thanking [MENTION=4362404]buhohitr[/MENTION] for requesting the port.

And you for the method! Thanks again
[Verizon Galaxy S 5 General] K-alz:
My pleasure, dude. :) glad people are benefiting.
[Verizon Galaxy S 5 General] sk2:
Awesome thanks
[Verizon Galaxy S 5 General] boostedduece:
Thanks for porting NI2flasher, been waiting for this for a while.
[Verizon Galaxy S 5 General] Stupifier:
Woah....this is pretty cool! Have not tested yet.....but this will make alot of crap easier for people.
[Verizon Galaxy S 5 General] turbosrrgood:
It works great, it's sweet. Almost as easy to use safestrap as it was on kitkat.

It even makes sure safestrap is installed, so if you tried to use it after installing a new ROM you wouldn't get stuck with the wrong kernel and no safestrap.
[Verizon Galaxy S 5 General] freak69ize:
This is cool! No more pc odin. Many thanks
[Verizon Galaxy S 5 General] sean19661:
Ty klabit87 soooo much much easier worked like a charm
[Verizon Galaxy S 5 General] rhodiggah:
Thanks to everyone that is involved in making this a reality for us users. It was a hassle downgrading kernels every time I get an update for my modded apps and backing up roms. Thank you thank you thank you...
[Verizon Galaxy S 5 General] ilpleasu:
NK7 mistake

Would someone help me please? I just made a big mistake on my Verizon S5 rooted with SS all stock and was wondering is their any way out of this mess, I just accidentally accepted the OTA update , not completely however I did loose root as well as SS. It happened so damn quick. Been canceling the update about a week now but I got caught today. Went into about phone and noticed that I'm on 4.4.4 NK7 now. The OTA update did not complete because after one session of the update it asked to install what Im assuming is the other part of the update but I canceled it. What are my options or can someone point me to the right forum. Thanks in advance.
[Verizon Galaxy S 5 General] klabit87:
I'm not versed on the S5 but I know on the VZW S4 the ota that came before lollipop was able to be downgraded via odin.

Could you odin to the last rootable version you had?

Can anybody confirm this?
[Verizon Galaxy S 5 General] ilpleasu:
Was thinking the same way but wanted it to be confirmed before I continued, as I mentioned before I only accepted the first small update not the 2nd update. ..to answer your question. ..no I have not tryed to Odin back... thanks for your input. ..
[Verizon Galaxy S 5 General] Dudash:
The S5 has not been "screwed" like the S4 has. Even if you update all the way to 5.0 (OA8/OC4/OD5) using OTA's, you can Odin back to stock (NCG)

You could just Odin flash the NCG kernel from NK7, use towelroot, install SuperSU, update the binary, then Odin flash the NK7 kernel.

EDIT:

Here's the kernels for you if you don't already have them.

NCG: Download

NK7: Download
[Verizon Galaxy S 5 General] ilpleasu:
Thank you sooooooo much, will try it after work. ..will report the outcome, HAPPY FATHER'S DAY to ya. ..
[Verizon Galaxy S 5 General] ilpleasu:
Tryed to flash the NCG kernal but it failed.... MD5 hash value is invalid...this what it said
[Verizon Galaxy S 5 General] Dudash:
That's.. odd.. I literally just opened the file in Odin and it says the MD5 hash is valid.

I even downloaded it from the link I posted and tried that to see if something happened during the upload but it's still valid.

[IMG="Valid MD5"]http://i61.tinypic.com/2rrmkg8.jpg[/IMG]
[Verizon Galaxy S 5 General] ilpleasu:
Hummmmmmm will try again

---------- Post added at 07:05 PM ---------- Previous post was at 07:01 PM ----------

Keep saying MD5 error Bianry is invalid?

---------- Post added at 07:08 PM ---------- Previous post was at 07:05 PM ----------

How can I take pic as you did to show you what I'm seeing on my pc?
[Verizon Galaxy S 5 General] Dudash:
I honestly don't know why it's giving you an MD5 error.

I just use the Print Screen button (it might be labelled "prt sc" or something like that) on the top of the keyboard, open Paint, hit ctrl V, select the area I want, hit ctrl X, open a new project, then hit ctrl V again and save it. Then you'll have to upload it to a site like tinypic.

Wow. Writing it out makes it seem like a long process. lol.
[Verizon Galaxy S 5 General] ilpleasu:
Ok it shows that its valid but

This is what I'm getting now?

<ID:0/005> boot.img

<ID:0/005> NAND Write Start!!

<ID:0/005> FAIL! (Auth)

<ID:0/005>

<ID:0/005> Complete(Write) operation failed.

<OSM> All threads completed. (succeed 0 / failed 1)

On the phone it say this.

UDC START

SYS REV CHECK FAIL : No Version

SECURE MAGICCODE CHECK FAIL : boot

---------- Post added at 07:42 PM ---------- Previous post was at 07:40 PM ----------

You think that I should go ahead and finish the OTA update NK7 to complete the update because

I didn't get the 2nd part of the update?
[Verizon Galaxy S 5 General] Dudash:
This is.. beyond my expertise. I've never had this happen and I've messed around and screwed up my phone more than most would be willing to. lol.

Are you saying it didn't finish updating to NK7? or are you asking if you should take the update that immediately pops up after updating to NK7? If you take the update after NK7, you'll be on 5.0 and the only way to root 5.0 is to install a pre-rooted version of the 5.0 updates and the only way to do that is from a NK7 or older firmware.

Like I said, I don't know why you're getting that error or what's going on but it sounds like you might need to re-flash an entire firmware package. Perhaps someone else knows what's going on cus I don't.
[Verizon Galaxy S 5 General] ilpleasu:
Im finishing the update to 5.0, I'm still wanting to downgrade back to 4.4.4 when this is all over if its possible...
[Verizon Galaxy S 5 General] klabit87:
Have you tried flashing the no-wipe or full wipe ncg odin packages?

instead of just the kernels you may need a fresh start
[Verizon Galaxy S 5 General] ilpleasu:
No I have not?

Don't even know what that is I'm sorry but I screwed up by taking the OTA update,

didn't really want it in the first place.

---------- Post added at 07:59 PM ---------- Previous post was at 07:58 PM ----------

Is it to late for that now?
[Verizon Galaxy S 5 General] klabit87:
I dont think so as long as you can get into Odin mode.

Have a look at this thread http://xdaforums.com/verizon-galaxy-s5/development/stock-collection-kernels-modems-t2842069
[Verizon Galaxy S 5 General] Dudash:
I'd recommend not updating because in order to downgrade back, you'll have to wipe your data for the phone to get past the boot animation.

You could just extract this zip, flash it in ODIN, then do what I said earlier in the thread. (Flash the NCG kernel, use Towel Root, install supersu from the play store and update the SU binary, then go back into download mode and flash the NK2 kernel)
[Verizon Galaxy S 5 General] klabit87:
I agree ^^^^^^

Odin the full stock would be a last resort since you would lose all data on the phone
[Verizon Galaxy S 5 General] ilpleasu:
At this point it would be beneficial for me to just start from scratch, i'"m not worried about the data being lost,

it seems as though now I'm just jumping hoops and not gaining any ground...

---------- Post added at 09:34 PM ---------- Previous post was at 09:30 PM ----------

Someone told me to download the NI2 zip, when that finishes I will download the NK2 zip and try that one
[Verizon Galaxy S 5 General] klabit87:
Sounds like a good plan as any.:good:
[Verizon Galaxy S 5 General] drparvez:
request to upload OD5 firmware and kernel

Hi i use your method to gain recovery, i have 0c4 firmware now i want to flash the new update od5 in Verizon s5, so please make upload link of od5 firmware and kernel, i m very thankful to you....
[Verizon Galaxy S 5 General] klabit87:
Ok I will get it as soon as possible.

Thanks.
[Verizon Galaxy S 5 General] klabit87:
G900V_OD5_Stock_KERNEL_SafeStrap-Flashable.zip has been added to the OP.
[Verizon Galaxy S 5 General] drparvez:
I'll got it, thanks

Can you please upload odin flashable firmware of od5, thanks once again for your help....
[Verizon Galaxy S 5 General] klabit87:
Working on that right now. But I'm not sure if it will increment the bootloader qfuse or not so I wouldn't suggest using it until it's been looked into by somebody more familiar with the s5 than me.

Why would you not want to use the stock rooted zip by Muniz_ri found here? http://xdaforums.com/verizon-galaxy-s5/general/how-to-update-to-g900vod5-5-0-keeproot-t3136945
[Verizon Galaxy S 5 General] drparvez:
I m using alliance rom oc7 g900h ported rom it will work on all 5.0 lollipop version and i hope latest rom will have better RAM management and performance.
[Verizon Galaxy S 5 General] klabit87:
The link is for the latest update. Muniz_ri has the OD5 stock rooted rom in this thread I linked.

The odin package I have will update your bootloader as well as everything else and will leave you unrootable and you will have the latest bootloader which I don't know if it can be downgraded or not.
[Verizon Galaxy S 5 General] sean19661:
Thank You just what i needed

This is awesome OD5 zip :good:
[Verizon Galaxy S 5 General] Dudash:
Can we get a flashable OE1 kernel zip?
[Verizon Galaxy S 5 General] klabit87:
I will get it as soon as I can.
[Verizon Galaxy S 5 General] klabit87:
OP has been updated with G900V_OE1_Stock_KERNEL_SafeStrap-Flashable.zip
[Verizon Galaxy S 5 General] Stupifier:
Would there be any chance of including the Modem/Baseband SafeStrap Flashable here as well? Or would a Modem/BaseBand flash not ever possible for SafeStrap?
[Verizon Galaxy S 5 General] klabit87:
Yes it is possible. I will have to get to it tonight.

Need to download the firmwares and get them into a zip.
[Verizon Galaxy S 5 General] Stupifier:
Excellent....I'd love to update my Modem/Baseband and kernel together when new updates roll out. I typically don't care much about the full ROM....always just bloat stuff.
[Verizon Galaxy S 5 General] Spartan117H3:
I did this once successfully and made a backup of my Lollipop OE1. However, after flashing the OE1 stock kernel, rebooting doesn't allow me safestrap access anymore? Does that mean I have to run NI2 flasher every time to reboot into safestrap to do backups/flashes?

Edit: I did a bit more searching and it appears that this is the case. So my next question is, what would I do in the situation where my rom screws up and I need to restore it if I can't access safestrap from boot?
[Verizon Galaxy S 5 General] klabit87:
In order to get to safestrap you need to use NI2 flasher each time you need in safestrap.

If your rom bootloops then you will have no choice but to Odin the NI2 kernel.

There is no way around this.
[Verizon Galaxy S 5 General] Spartan117H3:
Odin the NI2 kernel and it will let me get into safestrap and flash whatever backup I had? This is done by loading the NI2 kernel through Odin's AP slot right?

Is this the correct kernel file?

https://www.androidfilehost.com/?fid=95916177934554317
[Verizon Galaxy S 5 General] klabit87:
1. Yes after Odin you will be able to boot into safestrap.

2. Yes load kernel.tar.md5 into AP slot in Odin.

3. Also yes that is the correct kernel.
[Verizon Galaxy S 5 General] jrv331:
Actually you dont even need Odin. Install the NI2 kernel apk( look in general section) and use that to boot into SS. Once you install your rom use SS and flash the kernel and your all set. No need for odin any more.

Edit: Read here http://xdaforums.com/verizon-galaxy-s5/general/guide-safestrap-access-odin-t3126686
[Verizon Galaxy S 5 General] klabit87:
I know. I'm the OP lol

This was in case of a bootloop after flashing mod.zip then lollipop kernel.

If you bootloop there is no way to run the apk.

Only solution is to Odin the kernel to get back to SS.
[Verizon Galaxy S 5 General] jrv331:
Sorry, my bad.
[Verizon Galaxy S 5 General] Stupifier:
Did it work out? Sorry, I'm anxious :(
[Verizon Galaxy S 5 General] aholeinthewor1d:
I am on kitkat still because I hate lollipop sound modes.. Are we able to flash just th e OE1 modem yet? While still on a KK ROM
[Verizon Galaxy S 5 General] Stupifier:
If you weren't able to flash any of the other Lollipop Modems on a KK ROM......then you won't be able to flash this one either.
[Verizon Galaxy S 5 General] aholeinthewor1d:
I have no clue if you can or not lol
[Verizon Galaxy S 5 General] Stupifier:
I have a strong guess of.... No. Sorry
[Verizon Galaxy S 5 General] klabit87:
I'm making sure the modems verify via md5 in Odin before I package into ss zip.

I've been told that the s5 possibly will NOT be able to do this but if your willing to test I should have them ready tonight.

I'm just trying to make sure of everything before I let y'all have it.

Not sure why you wouldn't be able to flash any modem with any firmware.

The s4 can be cross flashed so we could have 4.1jb modem with 5.0lp firmware or vice versa.

The s5 is a bit harder to work with in a sense but I would rather test before I release to the public.
[Verizon Galaxy S 5 General] Stupifier:
Very strange, but after flashing the OE1 Kernel, I had very peculiar issue happen while using a very simple command in Terminal Emulator.

su dumpsys audio

The above command should spit out an output of all sorts of audio information. I use this very frequently. After I updated to the OE1 kernel, it seems Dumpsys just plain doesn't work at all! Instead of giving an output, I just get "Can't Find Service". This applies to ALL services attempted to get a Dumpsys for! After reverting back to previous Kernel, all works fine. Super weird.

I'm not sure what the issue is....but would it have anything to do with a version mismatch between ROM, Kernel, Modem? I've got all Lollipop, but obviously different versions (OC7 ROM, OE1 Kernel, OC4 Baseband). Can OE1 stuff run properly on previous Lollipop ROMs....Because it seems like it works but has weird issues like this.
[Verizon Galaxy S 5 General] klabit87:
Not entirely sure really. the only thing I can recommend is to get everything on the same base and see how it goes.

Almost done with the radios though
[Verizon Galaxy S 5 General] klabit87:
Just pm'd you [MENTION=2638236]Stupifier[/MENTION]
[Verizon Galaxy S 5 General] blair.sadewitz:
Could you release NK7Flasher for me? I know it sounds absurd, but I'd use it. Actually, I think I could probably create it myself, but I'm still going to post this for posterity. ;)
[Verizon Galaxy S 5 General] klabit87:
Ok. It may be late tonight since I'm finishing up the modems but I will get it.

If you would rather do it yourself I don't have a problem with that either.

Can you link me a known working kernel Odin package or the full firmware Odin package?
[Verizon Galaxy S 5 General] klabit87:
Also the modems are done.

I have safestrap flashables and Odin packages so pick your preference.

These will be released as a new thread in the general section as soon as I get a chance.
[Verizon Galaxy S 5 General] klabit87:
Found time sooner than I thought (at work) lol

here is the thread for the modems.

http://xdaforums.com/verizon-galaxy-s5/general/modem-modems-t3154630
[Verizon Galaxy S 5 General] blair.sadewitz:
This should work:

https://www.androidfilehost.com/?fid=95916177934533286
[Verizon Galaxy S 5 General] klabit87:
Ok thanks. I will get to it tonight
[Verizon Galaxy S 5 General] klabit87:
here ya go [MENTION=6272167]blair.sadewitz[/MENTION]

Just finished and signed.

NK7Flasher-signed.apk

MD5: 9d2a0b859235203bd79b8c5b6f1227a6

As always no mirrors please!
[Verizon Galaxy S 5 General] blair.sadewitz:
Thanks. For the safestrap-flashable kernel--how do I create it? I don't know anything about those android manifests and such. I was looking at it a few days ago, but I forgot if I did it successfully or not. There are probably tools for all of this that I am not aware of--all I got is md5sum. ;)
[Verizon Galaxy S 5 General] klabit87:
Why would you need a ss flashable for that kernel?

The only reason for ss flashable lollipop kernels is to boot up the lollipop rom.

If your running a kk rom the is no need to flash a different kernel if your already on a kk kernel.

Just curious as to what you're up to lol.

I will make it a bit later this afternoon though.

Kind of tied up at the moment.
[Verizon Galaxy S 5 General] klabit87:
here ya go.... if you're interested in creating them yourself for your own use its best to tear one apart and study the updater-script

Thats how I learned.

G900V_NK7_Stock_KERNEL_SafeStrap-Flashable.zip

MD5: 3792e7514020aad0d993f6a96b7664c5
[Verizon Galaxy S 5 General] blair.sadewitz:
Haha, yeah, that's what I've been doing. I just posted a reply and it looks like it ate it, so if I responded twice, ignore it.

Anyway, I want to see if the thing will boot NK7 on a ROM slot haha. Why not? I'm still using the OD5 bootloader, so ...

Yeah, I have minimal idea of what I am doing. But I had to try.
[Verizon Galaxy S 5 General] klabit87:
Oh ok I see what you're getting at now.

Let me know how your methods go.

Might be something we can port over to the s4 :thumbup:
[Verizon Galaxy S 5 General] blair.sadewitz:
I am not sure 100% what my methods are, but I will update you, heh.

Come to think of it, I've never read why exactly Safestrap doesn't work on Lollipop. But more illumined minds than mine haven't been able to make it work, and I presume that the developer will never release the source, so I'm afraid it's ultimately a dead end.

On the other hand, if Flashfire could be invoked with command line arguments, could you wedge it in the boot process really early with a script that gets its arguments from somewhere else, e.g. a file? That's _almost_ a recovery, haha.
[Verizon Galaxy S 5 General] klabit87:
A dev and I have been working on this problem for a while.

I've just been getting sidetracked too easily.

Even once we get safestrap to work with lollipop properly we will need to update the twrp base to 2.8 or above bc backups work but restores won't work properly.

Hash has the source on his github so it's there. Just need to be updated and reworked to support lollipop.

As I'm sure you know, doing that is a chore in itself.
[Verizon Galaxy S 5 General] Chadwick108:
This method worked perfect for me because I flashed the OD5 update for lollipop and forgot that I had a kit Kat rom in slot 1. I had forgot to delete the rom slot and was getting the annoying message when downloading apps that no more storage was available. To resolve issues I followed the steps without having to use odin or having to backup and restore any data/app. Could this method be used to swap from kit Kat to lollipop for say stock slots on lollipop and in rom slot 1 a kit Kat rom?
[Verizon Galaxy S 5 General] klabit87:
I don't see why not. Some users may have been doing this already.
[Verizon Galaxy S 5 General] BigBot96:
Most excellent. How did I not see this! Thanks a ton!
[Verizon Galaxy S 5 General] alshaikh711:
My baseband is ni2

I installed safestrap recovery NCG and the entering to recovery mode is works for me but when I tried to flash custom rom the process failed.

does this means that I must flash this build to be able to flash custom rom , or this just to allow me to entering to safestrap recovery mode ?

Best thanks in advance
[Verizon Galaxy S 5 General] klabit87:
What rom are you trying to install and what happens when you do?

Bootloops? Or does ss show failed flash messages?
[Verizon Galaxy S 5 General] alshaikh711:
I tried to install RESURRECTION REMIX rom version 5.5.0 and 5.5.2

With gapps version 5.1.1

---------- Post added at 02:43 PM ---------- Previous post was at 02:36 PM ----------

The message error that appear in safestrap flash menu is :

unmount of system failed; no such volume script succeeded : result was [0.200000]
[Verizon Galaxy S 5 General] klabit87:
The s5 locked bl can only flash roms based on the stock tw builds.

That rom requires a custom kernel which can't be flashed in devices with a locked bl.

You need to look around some more and pick a rom that is based on stock tw.
[Verizon Galaxy S 5 General] alshaikh711:
I will search for that

Thank you very much for your responses
[Verizon Galaxy S 5 General] torr310:
Thank you for this very helpful method!

By the way, after done, can I remove other prerequisite apps and only keep safestrap?
[Verizon Galaxy S 5 General] klabit87:
Sorry it took so long to respond but you will need the NI2Flasher everytime you need to go into safestrap.

The flasher flashes a kernel that is compatible with safestarp to allow it to run. You will also need to keep a lollipop kernel zip on your sdcard at all times so you don't bootloop.

It's always good to have busybox also as many root apps depend on it including safestrap and NI2Flasher
[Verizon Galaxy S 5 General] SoccerRef12:
Just wanted to say a huge THANKS! to all the devs that made this possible. I'm coming from a Droid Razor Maxx and loved using SS on that. I followed the directions and everything worked perfectly. I flashed NIK kernel, booted into SS, backed up Stock, flashed OE1 and rebooted in LP. I too am wondering if anyone has created another slot in SS and install a LP ROM outside of stock? Just wanted someone smarter than me to try it first.
[Verizon Galaxy S 5 General] Stupifier:
Have not confirmed/tried myself, but the word from most seems to be "no, never install a ROM in any other slot except stock" for the Galaxy S5.
[Verizon Galaxy S 5 General] Tomcat2737:
Rom Tool Box

Use Rom Tool Box to freeze your OTA updates. You have to have the premium but it's more than worth the small price. I have my Samsung and Verizon OTAs frozen
[Verizon Galaxy S 5 General] SoccerRef12:
I'm looking forward to the OG5 kernel being added to the OP.

:)
[Verizon Galaxy S 5 General] Spartan117H3:
If you're on BOE1, or BOG5 from OTA, then yes you're screwed. No root for you at all, nothing you can do.

Did Rom Toolbox ever make it so you can save multiple versions of an app backup? I'm still on Titanium because of this.
[Verizon Galaxy S 5 General] klabit87:
If this is so then there is no need to post it.

Thanks for bringing this up.
[Verizon Galaxy S 5 General] Dudash:
Those of us using a rooted OG5 ROM with the OD5 bootloader would still like a SS flashable OG5 kernel.
[Verizon Galaxy S 5 General] klabit87:
Good point.... OG5 ss flashable kernel zip added to OP.

Thanks [MENTION=2460732]Dudash[/MENTION] for the update.zip
[Verizon Galaxy S 5 General] budeone:
This worked just like the OP said it would. I think we have to hit the ni flasher every time we we want to go into safestrap.. I now have to see if I can get into recovery from a off state.
[Verizon Galaxy S 5 General] klabit87:
To get to ss from off the only way is to Odin the kernel.

I can make the kernels in Odin package later if need be.
[Verizon Galaxy S 5 General] budeone:
Crap, everything was working great and now I cant get back into the system. Now I can only boot into stock recovery :(
[Verizon Galaxy S 5 General] Dudash:
Did you reflash the kernel for your ROM in SS?

If not, boot into download mode and flash the correct kernel for your ROM in Odin.
[Verizon Galaxy S 5 General] klabit87:
Sounds like ss got wiped from the system.

May need to Odin to start over

Good point dudash.

Must flash a lollipop kernel back after you're done in ss.
[Verizon Galaxy S 5 General] budeone:
well, I flashed C\OE1_fw_bigbot96.tar.md5 and I am back in.. I will have to figure out what I did wrong in the AM.
[Verizon Galaxy S 5 General] budeone:
Is it possible that when I thought I had this working, I had opened the old safe strap program (green icon) and boot into recovery using that? Do I need that org program left on the phone or should I delete it. I really think it has to do something I did after I installed because it seemed to be working.

If I go back and follow directions.. What is the step to get into recovery?