yashsingh1/xdaforums huggingface dataset:
[Galaxy S6 Edge General] jproy12:
If I can help, and if BMC can release their 5.1.1 update, I'll be glad to help out as much as I can as well.

Currently I'm simply rooted on the stock 5.0.2 but plan to reverting back to stock/uprooted and doing the update to 5.1.1

Is there an easy way to revert back to stock from a rooted device? On my S4 I used triangle away to remove the flash count (and reset the drive as "Official", and simply Odin back the stock ROM, is it the same on the S6E? Or just Odin back the stock ROM and my device will be "official" again?
[Galaxy S6 Edge General] risx:
I plan to set my csc to tls in /efs/imei/mps_code.dat then install the stock firmware

My phone is locked to Rogers tho, will I get the ota still?
[Galaxy S6 Edge General] -Mr. X-:
should. thats how i tricked my TLS device tyo download the RWC ota on the s6 when it was released
[Galaxy S6 Edge General] risx:
Then i download the ota & choose not to install it.

Then i reflash the xtrestolite rom without wipping data & i should have access to the ota zip?
[Galaxy S6 Edge General] iFaiLikeAmoSs:
I'm also willing to help but I already flashed the 5.1.1 modem :/

Is that fine? Can I still install the stock firmware without any problem after changing my csc?
[Galaxy S6 Edge General] brar.arsh:
Everyone please wait, am in process of doing that.
[Galaxy S6 Edge General] risx:
@-Mr.X- would you be willing to create a script to extract the update.zip?
[Galaxy S6 Edge General] -Mr. X-:
I do not know for sure

you can try this in adb shell un rooted

run-as com.wssnps
cat /data/FOTA/update.zip >/sdcard/update.zip

---------- Post added at 11:45 AM ---------- Previous post was at 11:45 AM ----------

This might work, a twrp flashable zip
[Galaxy S6 Edge General] risx:
Would you be willing to make a script? I am unfamiliar on how to do this
[Galaxy S6 Edge General] -Mr. X-:
yes i can, can you possible verify the case of the path is it /data/fota or /data/FOTA as scripts are case sensitive

Or you can use TWRP file manager under advanced. Mout data under moutns then use the file manager to navagate to /data/fota and copy it to your sd this way.
[Galaxy S6 Edge General] risx:
Hmm ok

I dont have a fota folder in /data/
[Galaxy S6 Edge General] -Mr. X-:
did you mount data in twrp?
[Galaxy S6 Edge General] risx:
I did not flash stock yet, i plan to try within the hour
[Galaxy S6 Edge General] howipig:
lcohen999,

If you don't wanna see yours to go 2G, do this in the Band Selection menu...

Network Setting > [1] Band Selection > [6] LTE_WCDMA > [1] LTE_WCDMA

Then you should see the [*] showing up as toggled
[Galaxy S6 Edge General] -Mr. X-:
This flashable zip will copy the ota from /data to /sdcard/ota
[Galaxy S6 Edge General] risx:
same here, currently downloading the ota
[Galaxy S6 Edge General] -Mr. X-:
After you have the update downloaded. reboot to download, flash twrp, then flash the zip i attached above to copy the update.zip to to your sd card in a folder called ota
[Galaxy S6 Edge General] risx:
Got the update.zip, uploading to dropbox
[Galaxy S6 Edge General] -Mr. X-:
You the real MVP.
[Galaxy S6 Edge General] brar.arsh:
He has taken the risx. Thanks bro..
[Galaxy S6 Edge General] risx:
PM the dropbox link, i am going to lunch be back in ~20 mins
[Galaxy S6 Edge General] -Mr. X-:
thx grabbing it now

---------- Post added at 01:17 PM ---------- Previous post was at 12:47 PM ----------

Here you go guys, TWRP flashable modem and Odin flashable BL

http://xdaforums.com/galaxy-s6-edge/general/canadian-odin-5-1-1-bootloader-twrp-t3196595
[Galaxy S6 Edge General] brar.arsh:
Thank you so much bro. I am out of thanks today, mostly all of them already went to you. Thank you so much once again!!

Sorry, you are limited to 8 thanks per day.
[Galaxy S6 Edge General] -Mr. X-:
ha no worries.
[Galaxy S6 Edge General] mrnovanova:
Success!

That was quick and easy.

Thanks guys!

I now get a red kernel is not SEANDROID enforcing. Is that cause for concern?
[Galaxy S6 Edge General] GojiTronix:
Sitting here waiting for Bell to push an update lol is it true that in Canada if I trip Knox my warranty will still be intact?
[Galaxy S6 Edge General] -Mr. X-:
ive never had an issue with warranty and knox is always tripped before i leave the store lol
[Galaxy S6 Edge General] thuglifesk:
Thanks for this Mr. X. Are you gonna update the call fix patch for W8 on international roms with the updated commits?
[Galaxy S6 Edge General] -Mr. X-:
No, there really is have them based on the Tmobile 5.1.1 release, this keeps the ability for the tmo guys to use wifi calling as well as nothing significanth as changed in the audio firmware files.
[Galaxy S6 Edge General] H3llPrinCe:
Telus/Koodo 5.1.1 update is live now, just got it udpated.
[Galaxy S6 Edge General] -Mr. X-:
Yep, we got the dump :)
[Galaxy S6 Edge General] GojiTronix:
I may just bite the bullet and root. Lol is ping pong still the best option for our variant?
[Galaxy S6 Edge General] thuglifesk:
Rogers and fido always launched. VOLTE. Voiceoverlte. I guess thats the same as tmobile wifi calling.
[Galaxy S6 Edge General] -Mr. X-:
Yes, if this is an issue i can make a patch for you guys specifically but we will have to wait until they release an update that's not broken for me to look at.
[Galaxy S6 Edge General] mrnovanova:
I did see someone mention that but from own experience I was denied a free repair on my s5 because knox was tripped. That happened at the samsung repair center though. Phone companies are way more lenient.
[Galaxy S6 Edge General] -Mr. X-:
I've always dealt with my carrier for warranty.
[Galaxy S6 Edge General] mrnovanova:
The thing about carrier Vs samsung repair center is 4 hours Vs weeks for the carrier unless it's a swap. Now I roll with 2 phones because of that.

BTW Thanks for everything that you do. You're awesome.
[Galaxy S6 Edge General] LNJ:
You get a loaner don't you? I've gotten a loaner twice years ago when I had to send phones in for repair. Once it was a SE W580i with custom fw and another time a Nokia E71.

Sent from my SM-G925F
[Galaxy S6 Edge General] mrnovanova:
Loaner or not I can't just drop off my phone and walk away. ****'s like my wife dude. :p
[Galaxy S6 Edge General] -Mr. X-:
In my experiences you either get a loaner or you pay a deposit and they ship a refurb and the deposit is refunded when you turn in your broken device.
[Galaxy S6 Edge General] LNJ:
Rogers has an advanced replacement program that you pay $35 for them to ship you a new phone and a return label for your old phone. I used it for my Optimus G. At some point between flashing various Korean KDZ fw, the LTE portion of the radio died!

Sent from my SM-G925F
[Galaxy S6 Edge General] brar.arsh:
Jeff what kernel are you on? I am on default XtreStoLite kernel, but battery life is not very good. Also, did your battery life change after new Bootloader as you have it for few days now.
[Galaxy S6 Edge General] thuglifesk:
Thanks for all your hard work and contribution for the W8 devices. Making our life much easier.
[Galaxy S6 Edge General] -Mr. X-:
No probs, some one has to do it lol
[Galaxy S6 Edge General] GojiTronix:
Looks like I'll be rooting! I'm starting to regret going with Bell!
[Galaxy S6 Edge General] linuxbman:
Willing to do this, but just one question: what is the AOCG stock tar?

This seems pretty straight forward to do otherwise.
[Galaxy S6 Edge General] -Mr. X-:
no need we got it now :)
[Galaxy S6 Edge General] linuxbman:
Oh I know, I just wanted to get switched to Telus to get the OTA from them and spend some time with stock 5.1.1 before I decide to switch to a custom ROM.
[Galaxy S6 Edge General] -Mr. X-:
Can you upload your twrp backup of the system and boot if you end up making one when you go to custom. I might need the junk for a new audio patch. I dont really feel like going to stocvk again today. I already jumped them hoops this week and didnt think to grab it.
[Galaxy S6 Edge General] linuxbman:
Will do, hopefully tonite.

I have spent no time looking into ROMs for the S6 Edge, so no idea what I am going to install.

Do you mind expanding on the flashing the AOCG stock part? That part I am unsure of. I assume all this will trip Knox? No real concern, since Samsung Pay and Android Pay won't be in Canada for a few years, I suspect.
[Galaxy S6 Edge General] -Mr. X-:
No need to even change efs C SC code now.

update.zip for you guys on 5.0.2 stock https://dl.dropboxusercontent.com/u/44644505/S6Edge_W8/5.1.1/update.zip

You must be on G925W8VLU2AOG2 full stock for this update to work.

Drop it on the root of your sd card, reboot to the factory recovery and choose update from zip.
[Galaxy S6 Edge General] linuxbman:
You are too good to us here.

Thanks!
[Galaxy S6 Edge General] GojiTronix:
So no rooting required? Will this work with my Bell edge?
[Galaxy S6 Edge General] -Mr. X-:
No need to even change efs CSC code now.

update.zip for you guys on 5.0.2 stock https://www.dropbox.com/s/wtd8ia4jhpx01ge/update.zip?dl=0

You must be on G925W8VLU2AOG2 full stock for this update to work.

Drop it on the root of your sd card, reboot to the factory recovery and choose update from zip.

This will work on Any Canadian variant.
[Galaxy S6 Edge General] linuxbman:
nevermind.
[Galaxy S6 Edge General] -Mr. X-:
my bad i mangled that one, its edited.
[Galaxy S6 Edge General] GojiTronix:
I get a error 404 when I click that link.
[Galaxy S6 Edge General] -Mr. X-:
give it another shot i move it to a public space. Failing that ill have to upload it to AFH, but i wont be able to do that untill i am home.
[Galaxy S6 Edge General] GojiTronix:
awesome! thanks so much!

---------- Post added at 02:17 PM ---------- Previous post was at 02:11 PM ----------

I've got another question, if I update this way will I still receive OTA updates through bell?
[Galaxy S6 Edge General] -Mr. X-:
you should it shouldnt change your efs csc
[Galaxy S6 Edge General] Azntopia:
Hey Mr. X, When i boot into recovery (stock) I get the yellow exclaimation mark and get to the black screen recovery. I don't see the update from .zip from there. My knox is still at 0; haven't flashed anything custom yet.
[Galaxy S6 Edge General] -Mr. X-:
I believe you have to wait some time and then it refreshes with a list of options. vol up and down to navigate power to select. at-least thats what ti was like on the third when i was on stock s6 recovery.
[Galaxy S6 Edge General] Azntopia:
Yea i have done so, but I don't see the update from .zip once i'm there.

Here is what I see:
[Galaxy S6 Edge General] -Mr. X-:
Hm thats a bit different then what i was presented with. the easiest thing to do would be to put it on a usb otg stick and choose update from external or adb side load it "adb sideload path/to/update.zip"
[Galaxy S6 Edge General] Azntopia:
Perfect thanks! I'll give it a shot.
[Galaxy S6 Edge General] -Mr. X-:
you can try update from external and it may find it on the internal storage as well. maybe its a wording mistake. but failing that try the other 2 options i suggested.
[Galaxy S6 Edge General] GojiTronix:
tried external storage and also tried using a flash drive and otg cable, no dice guess i'll wait till im home and give it a go via adb
[Galaxy S6 Edge General] brar.arsh:
I think his phone is not G925W8. It is showing G925XXXU1AOC6 firmware. So it might be G925F. **I might be wrong.
[Galaxy S6 Edge General] evonc:
He just used a random pic of the edge in recovery mode I think. The 925X is the demo version given to stores.
[Galaxy S6 Edge General] brar.arsh:
Oops my bad.
[Galaxy S6 Edge General] linuxbman:
I have the same menu options as you. Going to try usb otg first, I suspect it needs to be a particular FS format for it to detect.

Will experiment and report back; if nothing works than it's adb for me as well.
[Galaxy S6 Edge General] GojiTronix:
I didn't even think of the drives format hmmmm think I formated as fat. Then just stuck the file on the drive and it didn't find it.
[Galaxy S6 Edge General] linuxbman:
Tried to update via adb on my Mac, got some weird error, then the phone rebooted to recovery, now have "dm-verity verification failed..." and update from ADB is disabled.

EDIT: update from everything is disabled...

Any thoughts?
[Galaxy S6 Edge General] GojiTronix:
tried to update via adb on my pc, now in recovery menu it says dm-verity verification failed. please help!
[Galaxy S6 Edge General] evonc:
Clear cache and try booting into system to see what happens? Does the phone boot up or no? Did any of you root using pingpong root w/o tripping knox?
[Galaxy S6 Edge General] linuxbman:
Knox is not tripped. Tried clearing the cache: changes nothing. Phone is working fine otherwise.

Did not try to root, just tried to install the update with abd with the command "abd sideload update.zip"
[Galaxy S6 Edge General] GojiTronix:
I was stuck in a bootloop after so I did a wipe and factory reset. Phone booted as normal seems to be back where it was. Haven't checked if Knox was tripped but I don't think it was. I also did not root.

---------- Post added at 09:03 PM ---------- Previous post was at 08:43 PM ----------

Knox counter still at 0
[Galaxy S6 Edge General] GojiTronix:
ok so i restarted my phone and back into a bootloop it went, so i really have no idea now... guess i'll try and reflash bell 5.02 through odin

Edit* so far it's not looking good tried reflashing through Odin and it failed ...sw rev check fail device 2 binary 1
[Galaxy S6 Edge General] iFaiLikeAmoSs:
I have a solution for you (same thing happened to me as I accidentally flashed a 5.0.2 Telus ROM after upgrading the bootloader and modem). Give me a few minutes.

---------- Post added at 01:02 AM ---------- Previous post was at 12:49 AM ----------

1. Download the 5.1.1 UK ROM

2. Extract the boot.img and system.img from the firmware

3. Put both the files in a .tar file using 7zip (name it whatever you want)

4. Flash the tar using Odin

5. Flash TWRP using Odin

6. Flash the 5.1.1 BL using Odin

7. Flash the 5.1.1 Modem using TWRP

8. Flash a 5.1.1 W8 compatible custom ROM (I recommend XtreStoLite)

Voila! Good luck :)
[Galaxy S6 Edge General] GojiTronix:
is it possible to just flash the telus 5.1.1 bootloader and modem? i kinda at this point want to return my device to stock lol will flashing twrp trip my knox counter?
[Galaxy S6 Edge General] GojiTronix:
So this is a bit weird, my phone works fine, it restarts and shuts down fine. But when I enable knox active security in security settings on the phone it asks to restart, so I do and then the phone goes into a bootloop. Only way out of the bootloop is to boot into recovery and do a factory reset. Tried booting into download mode and flashing the bell stock tar in Odin it fails almost immediately. Is it possible to sideload the bell zip file? And possibly fix whatever the update.zip file did to my phone?
[Galaxy S6 Edge General] Azntopia:
Hi all,

I came across the dm-verity failed too when i tried to adb side load. To fix that simply just download Samsung smart switch tool. There is an option near the top right to "Initialize device". It will find the newest firmware with your carrier and reflash back to stock. It fixed it for me.
[Galaxy S6 Edge General] evonc:
You'll have to wait till the full factory image comes out. Unless you need KNOX for work, run without it for a few days until the Telus factory image is up and you can flash it. It should resolve the verity check.
[Galaxy S6 Edge General] -Mr. X-:
When you get your phone to boot. What rom version are you on did adb load 5.1.1 for you and the BOH8 modem? if so and this is just a boot loader issue. flash the bootloader tar i posted in the 5.1.1 canadian BL thread i posted in this same sub and ti will solve your issue. If it didnt update your bootloader with the update.zip, which is should have. flashing the latest 5.0.2 tar should get you back and running proper. We just need to determine if it flashed the boot loader as it should have. It sounds like it has not if your getting weird boot hangs. the easiest way to tell is to install Phone Infor for samsung from the market and checking what it identifys your bootloader as.
[Galaxy S6 Edge General] linuxbman:
So I'm using this as an excuse to flash a custom ROM, looks like Xtrelite is the winner.

I assume I use the instructions as posted on the ROM's thread, but need to also include the modem and bootloader from the recent update posted here?

EDIT: unless there is an easy way to fix my dm-verity verification failed issue of course.
[Galaxy S6 Edge General] -Mr. X-:
flash twrp and the rom first then odin the bl and flash the modem. include finger print support since it will work for you after the bl update.
[Galaxy S6 Edge General] evonc:
Yep. Just follow the aroma installer. Rom first then addon. First boot takes a while. You'll think it's bootlooped. Give it a few minutes to change to optimizing apps.

Since you're coming from stock, you'll need to do a data wipe. No need to wipe internal storage.
[Galaxy S6 Edge General] linuxbman:
OK. Got everything downloaded, just want to make sure I have the steps correct.

1. Flash TWRP via ODIN

2. Wipe data partition in TWRP

2.5 Flash ROM via TWRP

3. Flash bl and modem via ODIN

4. Use Aroma to install fingerprint scanner (and whatever else I want) via TWRP

5. ???

6. Profit!

And seriously, thanks for all the handholding. I haven't done custom ROMs in a few years.
[Galaxy S6 Edge General] -Mr. X-:
Install the rom and addons in the same shot. Modem is TWRP flashable but other then that your order is proper, and you will have no issues.
[Galaxy S6 Edge General] linuxbman:
I need to install CF-AutoRoot?

Nevermind, forgot instructions were on the first page of this thread.

---------- Post added at 04:05 PM ---------- Previous post was at 03:35 PM ----------

So i try to flash TWRP but it doesn't seem to take. Knox is now tripped, but when I go into recovery mode it is still the Samsung recovery mode. I'm using the instructions from the first page, as well as the links.

I tried 3 times, but it doesn't seem to be working.
[Galaxy S6 Edge General] -Mr. X-:
does it give any type of error? you are on a 5.0.2 rom and boot loader still correct?
[Galaxy S6 Edge General] linuxbman:
5.02 stock ROM, and bootloader. I wonder if the dm-verity verification error is causing a problem...

the ODIN log is:

<ID:0/006> Added!!

<ID:0/006> Odin engine v(ID:3.1100)..

<ID:0/006> File analysis..

<ID:0/006> SetupConnection..

<ID:0/006> Initialzation..

<ID:0/006> Get PIT for mapping..

<ID:0/006> Firmware update start..

<ID:0/006> SingleDownload.

<ID:0/006> recovery.img

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

<ID:0/006> RQT_CLOSE !!

<ID:0/006> RES OK !!

<ID:0/006> Removed!!

<ID:0/006> Remain Port .... 0

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

<ID:0/005> Added!!

<ID:0/005> Removed!!

<ID:0/005> Added!!
[Galaxy S6 Edge General] -Mr. X-:
Odin full 5.0.2 stock and start fresh. after that twrp and move along from there in the order we discussed and you will be good to go.
[Galaxy S6 Edge General] GojiTronix:
Looks like it's the csc version that's different.
[Galaxy S6 Edge General] -Mr. X-:
I believe that might be normal, this is what my firmware snatcher returns from their servers when looking up that rom SM-G925W8 - PDA G925W8VLU2AOG2, CSC G925W8OYA2AOG2 , Phone G925W8VLU2AOG2

So to fix your issue, Odin back to AOG2 stock. Looks liek sideloading the update just derps out. Samsung has changed the game.
[Galaxy S6 Edge General] GojiTronix:
Odin instantly fails when I try
[Galaxy S6 Edge General] -Mr. X-:
what version of windows do you have? I know windows defender likes to mess up my odin on my windows 10, Odin has always been the suggested fix for dm-verify fail. And you have shown your still on the 5.0.2 BL so odining that should work.

Its complaining about csc which seems to happen some times i did some googling about it.

Odining the full tar that includes the cache.img should restore the 5.0.2 csc in cache and allow recovery to finish installing 5.0.2 csc. clearing cache wipes the csc bits and the device needs them on first stock boot.
[Galaxy S6 Edge General] GojiTronix:
I'm running windows 10 so maybe that's the problem. Maybe I'll try smartswitch and see if that fixes the verity issue. Otherwise I'll revert one of my pc's back to windows 8.1 ugh which I hope I don't have to do lol
[Galaxy S6 Edge General] bravocbf:
Hey hello thank you for all your help, do you think with the new bootloader 5.1 and the modem

I won't have issues with the xtrolite rom, seems when I tried it I have some issues with the finger print sensor I ask that because I think is will headache to downgrade it again to the 5.0 thanks
[Galaxy S6 Edge General] -Mr. X-:
This will fix the fnger print.. Flash the latest xtrolite rom and addons with finger print support, odin the boot loader and flash the modem in twrp. you will be set.

---------- Post added at 12:18 PM ---------- Previous post was at 12:15 PM ----------

Windows 8 has the same problem thats why i knew to shut off defender in 10.

Smart switch emergency mode will for sure fix you up but it will also wipe your sd as it will repartition the device. either way, once you get the image o 5.0.2 flashed you will be back to the fist step.

As a side note, if you have root flashfire apparently flashes update zips properly, if you want to be guinea pig for that. Asdie from that you will have to wait for ota, or flash twrp, a custom 5.1.1 and the modem, and odin the 5.1.1 bl
[Galaxy S6 Edge General] GojiTronix:
I don't have root yet. I might try to be a guinea pig depending on how busy my day is lol
[Galaxy S6 Edge General] linuxbman:
Everything looks good, I just need to install the modem and bl. I've got the modem package that Mr-X posted, but where is the bl? and how to I flash the BL in Odin?

EDIT: Missed the download link for the BL. I got it now I think.
[Galaxy S6 Edge General] -Mr. X-:
in case you need it still http://xdaforums.com/galaxy-s6-edge/general/canadian-odin-5-1-1-bootloader-twrp-t3196595
[Galaxy S6 Edge General] GojiTronix:
smartswitch fixed the verity issue! yay!
[Galaxy S6 Edge General] linuxbman:
Nope, I'm all good now, just re-installing....everything.

Thanks again for everything.
[Galaxy S6 Edge General] GojiTronix:
Think I may know why flashing in Odin wasn't working. For it to work does USB debugging need to be enabled or does that not come into play as the phone is in a different mode when flashing?
[Galaxy S6 Edge General] -Mr. X-:
Debugging doesn't have anything to do with download mode, your quarks with odin were unrelated to this as far as i know.
[Galaxy S6 Edge General] GojiTronix:
Ok good to know. I haven't had a samsung device in years so I'm kinda noobin it lol I remember with my htc one m7 USB debugging had to be enabled to do any rooting and such.
[Galaxy S6 Edge General] thuglifesk:
I am having a weird issue, when I am connected to WiFi I don't get any incoming calls. Goes straight to voicemail. As soon as I turn off Wifi I can get calls again. It seems that when on LTE and Wifi connected the network doesn't relay call information. If i manually change settings to LTE/WCDMA/GSM to GSM/WCDMA and then turn on wifi everything seems to work fine. Anyone else experience this issue before?
[Galaxy S6 Edge General] craig0r:
I bet you're with Rogers. I had exactly this issue a couple weeks after I got my phone. They had to reset my Rogers One Number account. Something was broken, and calls weren't being directed properly. Even if you're not with Rogers, I'd give your carrier a call.
[Galaxy S6 Edge General] taylorheaps:
hey guys . i tried to flash a 5.1.1 bootloader from this link http://xdaforums.com/galaxy-s6-edge/general/canadian-odin-5-1-1-bootloader-twrp-t3196595/page2 with odin. i ended up not being able to boot up with system rev check fail device: 2 binary :1 . so i tried to flash stock firmware via odin and it fails. can anyone help me out please?
[Galaxy S6 Edge General] GojiTronix:
Download smartswitch and use the device initialization feature.
[Galaxy S6 Edge General] taylorheaps:
was this directed to me?
[Galaxy S6 Edge General] GojiTronix:
Yes it was

---------- Post added at 04:50 PM ---------- Previous post was at 04:42 PM ----------

I had a similar issue and using smartswitch was the only way I was able to properly fix my device, as Odin failed immediately when trying to flash stock Rom.