[Q] Can anything I do remove download mode? - Galaxy S III Q&A, Help & Troubleshooting

In the past whenever something's gone wrong with a ROM I've had the failsafe option of going into download mode and flashing stock samsung firmware via odin and (as far as I can tell!) it removes everything and completely wipes all my data and gets the phone back to how it was out of the box (except all the binary counter stuff but I'm not bothered about at the moment) so I can start afresh.
My question is: I'm just wondering that as I get more into flashing (eg custom kernels, dual booting etc) is there anything I can do that will stop this being possible? Will any customisations I make remove download mode, or will it always be there no matter what? Does flashing stock firmware via odin undo *everything* or will there be lingering bits of customisation that I'll have to remove in other ways? (again, other than the binary counter as I don't care about that)
Thanks - hope that makes sense! It's been very nice having odin to fall back on when things go wrong/get confusing and I want to keep it that way!

Download mode is part of the bootloader so flashing an incorrect bootloader or corruption during flash of bootloader could break it
Sent from my GT-I9300 using Tapatalk 2

read the "return to warranty state" kind of posts.
and no, you can't disable download

Related

[GUIDE] How to Prepare Your Phone to Return to the Store or for Warranty Replacement

Prepare Your Phone to Return to the Store or for Warranty Replacement by following these steps:
1. Read the flash counter to make sure your flash count is at "NO". If it reads "YES (x counts)" then you must buy or build a Jig to reset it to "NO"...
...or use chainfire's "Triangle Away" program (which only work on ICS, Android 4.x)
2. Flash the UCKH7-CL503881 stock kernel and system package using Odin or Heimdall.
3. Deal with any special problems.
4. Do a wipe data/factory reset, and remove any personal or sensitive information that remains on the phone.
Note:
Both new and refurbished SGH-I777 phones are now shipping with Android version 2.3.6, UCKK6. As of this writing, March 24, 2012, there is no release of the UCKK6 firmware on sammobile.com, and no one has pulled the stock UCKK6 firmware and packaged it into an Odin flashable tar. For warranty return of phones that shipped with UCKK6, I recommend flashing the stock UCKH7 package contained in this guide. An alternative would be to flash Entropy512's Return/Unbrick to stock Kernel + cache + rooted UCKK6 system package from here, and then to manually remove the traces of root.
Discussion
The Samsung Galaxy S II contains an internal flash counter which is incremented each time a non-stock binary (kernel/rom) is flashed using Odin or Heimdall. The purpose of the flash counter is believed to be to allow Samsung and or AT&T technicians to detect if the phone has a voided warranty through flashing non-stock firmware. In order to safely return the phone to the store or to a warranty center, it is necessary that the flash counter indicates "NO" custom binary download and "Samsung Official" current binary. If the flash counter has been incremented, it is necessary to reset the flash counter before returning the phone. The only known way to do this on Gingerbread is by using a Micro Usb Jig to place the phone into download mode which resets the flash counter. Since the advent of ICS for the I777, it is also possible to reset the flash counter using chairfire's TriangleAway application, but only while running an ICS rom.
The Jig is a micro usb plug with 301,000 ohms of resistance connected across pins 4 and 5. The use of the Jig became well known in late 2010 when a batch of Samsung Galaxy S Captivate phones were shipped with bootloaders that did not allow a button combination to enter download mode. That was before the Galaxy S II was released, and the only purpose for the Jig was to put the phone into download mode. Shortly after the International version of the Galaxy S II was released in May 2011, it was discovered that using a Jig to place the phone into download mode also resets the flash counter. Some who had a Jig for their Captivate found that the Jig would not work on the Galaxy S II. It seems that the Galaxy S II's tolerance for the 301k ohms is closer than the Captivate was, so if the resistance of the Jig was a little bit out of tolerance, it wouldn't work on the newer phone.
If you are handy, you can build your own jig. There are several threads in the Captivate forums that detail how, either with or without soldering. For a place to start, check out this thread and this one. There are also multiple places that sell pre-made Jigs. Check out dayv's thread in the Accessories forum. I bought a cheap JIG that works for under $2.00 and free shipping. A google search for "where to buy micro usb jig" will bring up a good number of them. Some of these may not be close enough tolerance for the Galaxy S II. Users on this forum have reported good results with Jigs from Moble Tech Videos.
Once your flash counter reads "NO", use Odin or Heimdall to flash the stock kernel, system image and modem. A wipe data/factory reset performed from the phone or from stock 3e recovery, and removing any personal or sensitive information on the internal sdcard, completes the process.
Information from dayv:
Step 1) settings> privacy> factory data reset.
Step 2) Flash with heimdall or Odin
In case you need to repartition, you will need a stock .pit file as well - though as of now as far as I know this is not needed for any reason - none of the roms or kernels in the dev section here in the at&t xda forums would cause any need for a repartition. Take care with .pit and repartitioning as you could end up with a soft brick, a situation that can be recovered from but still not desirable.
And if you have flashed anything containing the boot loaders you will need stock boot loaders too, but be very careful with boot loaders as a mistake with boot loaders can result in a hard brick
Click to expand...
Click to collapse
Information from pinoymutt:
If you flashed the newer i777 leak that DG posted in the General section (I777UCKJ2) or went a little crazy and accidentally flashed one of the newer firmwares in the SGSII international section -- you'll find that they contain newer bootloaders -- the main difference being that they render the "jig trick" useless for resetting the custom firmware flasher.
This (i777 UCKH7 Secondary Bootloader) will allow you to revert back to the older (stock) bootloader that will let the jig reset the counter.
Most likely as new ROMs are built for our phones, many devs will remove the bootloaders, since it's not really advisable to flash these unless absolutely necessary (which for instance it was on the Captivate when flash from a Eclair/Froyo ROM to a Gingerbread one).
Be forewarned -- DO NOT mess with or flash bootloaders unless you absolutely know what you are doing or are sure you need them. Many things can be recovered from if things go wrong, but a bad bootloader flash can create a nasty "brick" that almost always needs some sort of professional help to undo.
Click to expand...
Click to collapse
Entropy512 adds:
This (flashing UCKH7 Secondary Bootloader) reverts to current if you flashed the 2.3.5 leak package accidentally.
I would advise:
DO NOT flash this bootloader unless you have flashed a 2.3.5 leak or I9100 ROM that included bootloaders, AND you have confirmed by trying it that using the jig does not reset your flash counter.
If you don't have a jig, this does nothing for you except risk hardbricking.
If you have a jig and it works to reset the custom binary flash counter, this does nothing for you except risk hardbricking.
Click to expand...
Click to collapse
If you are reading this Guide before you have flashed anything that would increment the flash counter, your best bet woruld be to never increment the flash counter in the first place. It is possible to root and to flash a custom ROM/Kernel without incrementing the flash counter. Please see the Guide: How to Flash Custom Binaries Without Ever Incrementing the Flash Counter!!
1.) How to read the flash counter on an AT&T Samsung Galaxy S II
Boot into download mode by this method:
With the phone powered off, plug in the usb cable while holding the vol up + vol down buttons (but not the power button).
When the warning screen appears, press Volume up to continue into download mode.
At the top of the screen you will see:
ODIN MODE
PRODUCT NAME: SGH-I777
CUSTOM BINARY DOWNLOAD: NO --or-- YES (x counts)
CURRENT BINARY: SAMSUNG OFFICIAL --or-- CUSTOM​
Once you have verified the information, remove the usb cable, and hold down the power button until the phone begins to reboot. (Do not do this if you are actually flashing the phone. Interrupting a flash can cause bad things to happen.)
You will not see the above information if you enter download mode by another method, ie. by using adb or the power menu, etc.
If your Custom Binary Download is NO, proceed to step 2. If your Custom Binary download is YES, your only option to reset this to NO is to use a Jig. The Jig is a micro usb plug with 301k ohms of resistance connected across pins 4 and 5. On the i777 running original bootloaders, it will reset the flash counter to NO as it puts the phone into download mode. You can make your own jig, or purchase one from many sources on the web. See the Discussion above for more information.
2a.) Flash the UCKH7-CL503881 stock kernel and system package using Odin3 One-Click Downloader (Windows)
Download the "I777UCKH7-CL503881-No-BL.7z" package from Hotfile | Dev-Host 270.17 MB.
Extract the contents of the zip file to a directory on your hard disk drive. This Odin3 One-click downloader contains firmware from the stock binary download available from samfirmware on sammobile.com. The bootloaders boot.bin, sbl.bin and param.lfs have been removed for safety. (Contains cache.img, factoryfs.img, hidden.img, modem.bin and zImage.)
Start the Odin3 One-Click Downloader program by double clicking on "I777UCKH7-CL503881-No-BL.exe".
Now Enter Download Mode:
With the phone powered off, plug in the usb cable while holding the vol up + vol down buttons (but not the power button).
When the warning screen appears, press Volume up to continue into download mode.
In Odin, the small edit box in the upper left corner will turn yellow, and say something like [0:COM8]. The number could be different.
Click Start. Watch the progress bar advance in green while the message box in the lower area describes the steps. When the flash is finished, the top left larger edit box will turn green and say PASS! and your phone will automatically reboot.
Unplug the usb cable from you phone after it boots up. Success. You're Bone Stock.
If your phone enters a bootloop, enter 3e recovery and perform a wipe data/factory reset. See step 4.
2b.) Flash the UCKH7-CL503881 stock kernel and system package from the command line using Heimdall (Linux and Mac OS)
Tested on Linux, should work on Mac OS
Download and install the latest version of Heimdall Command Line for your operating system from here. (Latest version 1.3.1 at this writing.)
Download the UCKH7-CL503881 stock kernel and system package from Hotfile | Dev-Host 269.86 MB.
Extract the contents of this 7zip package to a directory on your hard disk drive, and move or copy all files to the directory where you have the Heimdall command line executable. These were extracted from the stock binary download available from samfirmware on sammobile.com. (Contains cache.img, factoryfs.img, hidden.img, modem.bin and zImage.)
Enter the following at the command prompt:
Code:
heimdall flash --kernel zImage --factoryfs factoryfs.img --cache cache.img --hidden hidden.img --modem modem.bin
Reboot the phone. Success. You're Bone Stock.
If your phone enters a bootloop, enter 3e recovery and perform a wipe data/factory reset. See step 4.
3.) Dealing with special problems.
If you are unable to reset the flash counter with a jig, you may have a modified version of the secondary bootloader, perhaps from flashing one of the leaked versions of I777 firmware onto your phone, and will need to flash back to the I777 Stock sbl.bin in order to clear the flash counter.
If your flash counter says that your phone is an I9100, you have an I9100 secondary bootloader, probably from flashing an I9100 rom onto your phone, and you will need to flash back to the I777 Stock sbl.bin to correct the flash counter. You will also probably need to flash the stock param.lfs back onto your phone.
If you get the error "'logo_att.jpg' draw failed", you will need to replace the param.lfs with the I777 Stock param.lfs.
If you get the "Deleting Cryption Meta Data" error while your phone is in a bootloop, see this post.
Necessary files and flashing instructions for these are in the Download Repository.
4.) Do a wipe data/factory reset, and remove any personal or sensitive information that remains on the phone.
To perform a wipe data/factory reset from the phone:
From the home screen, go to Menu > Settings > Privacy > Factory Data Reset (Gingerbread) or Menu > Settings > Back up and reset > Factory data reset (ICS).
If you want to Format USB Storage (erase the internal sdcard), tick the check box.
Click the "Reset Phone" button.
Done.
To perform wipe data/factory reset from 3e recovery:
Reboot into stock 3e recovery: With the phone powered off, hold down the vol up + vol down + power buttons continuously until the initial boot screen appears a second time. Then let the phone boot on into the recovery screen.
Use the vol up and vol down keys to select the "wipe data/factory reset" option.
Press the home button to start the wipe data/factory reset.
Done.
To format USB storage separately (internal sdcard) from the phone:
From the home screen, go to Menu > Settings > Storage > Format USB Storage.
Click the "Format USB Storage" button.
Done.
IMO the mods should sticky this - at the very least jivy26 should add it to the FAQ if it isn't there already.
Very good information here +1 for stickie.
dayv has confirmed that flashing a stock kernel on the i777 will remove the warning triangle, but will NOT reset the flash counter. Please see his post here. This means that using this method will leave a trace that can be seen by AT&T or Samsung. Resetting the flash counter by activating download mode using a Jig is the only know way to reset the flash counter. Will post further information on this as it becomes available.
Click to expand...
Click to collapse
I just ordered my GSII (coming from Infuse) and have been doing a lot of reading in preparation so I may be confused.
Didn't I read somewhere here (FAQ?) that the "JIG FIX" has been disabled by Samsung in the hardware?
MisterEdF said:
I just ordered my GSII (coming from Infuse) and have been doing a lot of reading in preparation so I may be confused.
Didn't I read somewhere here (FAQ?) that the "JIG FIX" has been disabled by Samsung in the hardware?
Click to expand...
Click to collapse
Not yet for the i777. The newer unofficial firmware leaks on the i777, and newer firmware releases on the i9100, are said to have bootloaders that disable the Jig fix. Your best and safest bet is to never increment the flash counter. If you have already incremented the flash counter, then get a jig to reset it, and then never increment it again. For more information see the Guide linked in my signature.
Looks like the SBL (secondary bootloader) has been posted so that for those 5% we mentioned above that accidentally flashed that newer leak that disabled the "jig trick", this may be the thing that helps them.
http://forum.xda-developers.com/showthread.php?p=18698937#post18698937
But be forewarned -- DO NOT mess with or flash bootloaders unless you absolutely know what you are doing or are sure you need them. May things can be recovered from if things go wrong, but a bad bootloader flash can create a nasty "brick" that almost always needs some sort of professional help to undo.
Also +1 that this thread should be stickied!
Thanks for the walkthrough. Nice to know I got every detail done. Factory wipe just wasn't cutting it (even with stock rom). Had a dead pixel that was bugging me like crazy. Oddly most noticeable when starting the xda app, can we say irony?
And with my new galaxy s II the screen digitizer isn't off near the top and bottom! So much better.
Sent from my SAMSUNG-SGH-I777 using XDA App
Using the ODIN 1 CLICK (factory NON-ROOTED) How long should this process take? Been 10 minutes and it is sitting at "Firmware Update Start" then "factoryfs.img." Yes, I have the yellow [COM28]. I've done this before on an Infuse and it was relatively fast. I'm afraid to cancel the process. Previously was on UNNAMED ROM.
EDIT: Also trying ODIN (without 1 step) using the PDA.TAR file and same thing is happening. Just hanging seemingly trying to load FACTTORYFS.IMG.
Edit Edit: Do I need to have a SIM card installed to do this?
Edit Edit Edit: Well, I got it to work. It would not work plugged into any of the 12 USB 2.0 motherboard ports on my PC (never had problem with the Infuse on those same ports). When I connected it to a USB PORT on a USB HUB it worked fine. Very strange.
thanks really assisted; have not got the jig yet but did get bad or incorrect off my ATT Galaxy.
Thank you! I bought a jig off Amazon for a little under $2 plus shipping. That plus this guide got my SGS2 back to stock.
I really like the SGS2 phone, and holy crap is it fast. Only problem is I'm so used to my Dell Streak's 5" SIZE, my thumbs felt cramped. Almost 2 weeks in with a "tiny" 4.3 incher and I'm sad to go.
I think I can wait on a subsidized Galaxy Note... That should only take, what? Six months? Oh god....
Anyway, obviously your post here is the only reason I can legitimately return within my 30 day period. So, THANK YOU again!
Thanks for this Guide as well!
Once again works like a charm if you read and follow along!
Excellent help. Thanks!
Hey my custom binary it says yes. In not sending it back to warrety, I just want to revert back to stock. So am I allowed to continue without the jig?
moeaz05 said:
Hey my custom binary it says yes. In not sending it back to warrety, I just want to revert back to stock. So am I allowed to continue without the jig?
Click to expand...
Click to collapse
The counter does not have any control over the actual function of the phone. It only provedes information. So go ahead and flash back to stock if you want to. That will also restore your AT&T boot screen and remove the yellow triangle.
And if you want to clear the counter later, buy a jig.
o okay thks. so there is only one offical frimware out for this att phone and it is 2.3.4?
Correct. It's only been less than two months since release.
I'm considering returning my phone to Target so I can get in on the Walmart deal. The jig will be delivered on Wednesday or Thursday, and it takes 3 business days after I return the phone to reset my upgrade eligibility, which might put me after the last date (Dec. 3rd) that the Walmart deal is available. Do you guys think the counter is usually checked when a return is processed?
@Yovee
Most people seem to think if you remove the i9100 boot screen with the yellow triangle, you are safe, and that the chance someone will actually look at the flash counter is very unlikely. I don't know, but I can say I have never seen a post where anyone said that their return was rejected for this.
You can remove the boot screen and yellow triangle without a jig. See the post in my signature for more info.
Yovee said:
I'm considering returning my phone to Target so I can get in on the Walmart deal. The jig will be delivered on Wednesday or Thursday, and it takes 3 business days after I return the phone to reset my upgrade eligibility, which might put me after the last date (Dec. 3rd) that the Walmart deal is available. Do you guys think the counter is usually checked when a return is processed?
Click to expand...
Click to collapse
I've returned/exchanged a fair amount of Samsung phones over the past few months and never had an associate look at it. I'd say that half of them never even turned the phone on. At least they did verify the IMEI and accessories.
Sent from my Samsung GSII (SGH-I777) using xda premium
Thanks a lot for your responses guys. In that case I think I'll just restore the original firmware, get rid of the yellow triangle, and return the phone.

Current best way to root the S II?

No need for a long explanation, just a link or two, and/or some terms I can google for.
And, yes, I have been reading/searching the forum, and only find old posts mentioning Odin as a technique. Is there anything like SuperOneClick out?
Thanks!
Hi, Rooting through odin currently seems to be the most reliable and safest option.
There is other methods however can cause problems with the phone.
Head over to http://forum.xda-developers.com/showthread.php?t=1103399
Based on the current firmware download the cf root that matches it, extract it and flash using odin.
Hope this helps.
I literally just received my SGS2 about 2 hours ago and read a bit of the thread, not all considering how large it is.
I know this roots but does this unlock the BL at the same time since its installing CWM?
Sent from my SAMSUNG-SGH-I777 using xda premium
Up until recently, SGS2 bootloaders have been 'unlocked'. The easiest way to test this would be to try and use a jig to reset the flash counter on the phone after you've rooted it.
If you can't reset the counter, then the firmware that came with your phone has the locked bootloader (I'm sure someone will be along any second now & tell us exactly which version the bootloader started to be locked in . The details are somewhere on the forum).
Easy fix to this is to flash firmware that has the bootloader unlocked. Alternatively, you simply flash the old bootloader over whatever firmware you're running. This is also available on the forum *somewhere* (I don't have a link handy).
Edit to add - About halfway down the page in this thread , there's a section in bold red type which has a link to a tar of the old bootloader you can flash in Odin should you need to.
Auxilium said:
I literally just received my SGS2 about 2 hours ago and read a bit of the thread, not all considering how large it is.
I know this roots but does this unlock the BL at the same time since its installing CWM?
Sent from my SAMSUNG-SGH-I777 using xda premium
Click to expand...
Click to collapse
MistahBungle said:
Up until recently, SGS2 bootloaders have been 'unlocked'. The easiest way to test this would be to try and use a jig to reset the flash counter on the phone after you've rooted it.
If you can't reset the counter, then the firmware that came with your phone has the locked bootloader (I'm sure someone will be along any second now & tell us exactly which version the bootloader started to be locked in . The details are somewhere on the forum).
Easy fix to this is to flash firmware that has the bootloader unlocked. Alternatively, you simply flash the old bootloader over whatever firmware you're running. This is also available on the forum *somewhere* (I don't have a link handy).
Edit to add - About halfway down the page in this thread , there's a section in bold red type which has a link to a tar of the old bootloader you can flash in Odin should you need to.
Click to expand...
Click to collapse
Hi,
I've rooted my sgs2 using CF-Root, i found it better than OneClickRoot, reason for that is when i used oneclickroot the phone rooted then went back after i rebooted, which is weird. So i flashed CF-Root using ODIN and its perfect.
What I want to ask if you could help me please, is how can i see my flash counter? (if there is any)
and what is a jig, does it mean usb connection or is it a device i need to buy?
Thanks
Go into download mode (switch phone off - then do 3 finger reboot - hold home, volume down & power button at the same time), if you've flashed a non-stock rom/kernel in Odin it will show Custom binary download: x, where x is the number of times you've flashed a rom or kernel in Odin.
The jig is a usb plug with a certain amount of resistance over some of the pins of the plug (301k Ω or thereabouts I believe). To use it, you switch the phone off, plug the jig into the usb port on the phone, it reboots the phone into download mode and you'll get a message saying "Erasing download information successful". It will now show Custom Binary Download as no & Custom Binary as Samsung Official.
This will also get rid of the yellow warning triangle that appears at boot as long as you're using an "old" bootloader. Samsung recently started including "locked" bootloaders with their newer firmware in the last few months that don't allow a jig to reset the flash counter.
These cost a few dollars on eBay, do a search for "Samsung Galaxy S2 jig" or similar.
ab.riyami said:
Hi,
I've rooted my sgs2 using CF-Root, i found it better than OneClickRoot, reason for that is when i used oneclickroot the phone rooted then went back after i rebooted, which is weird. So i flashed CF-Root using ODIN and its perfect.
What I want to ask if you could help me please, is how can i see my flash counter? (if there is any)
and what is a jig, does it mean usb connection or is it a device i need to buy?
Thanks
Click to expand...
Click to collapse
Search for the zergRush method. Its the easiest one so far. I personally used odin to flash a rooted cf-kernel but used zergRush to root a friens sgs2 and its really easy. You must have the adb drivers installed for sgs3.
Sent from my GT-I9100 using Tapatalk
bobkoure said:
And, yes, I have been reading/searching the forum, and only find old posts mentioning Odin as a technique. Is there anything like SuperOneClick out?
Thanks!
Click to expand...
Click to collapse
Wanna bet 100$ that you didn't? Paypal only.
There's a ****ing sticky with one non-Odin method, which you just missed, because you were too busy furiously searching for other methods, which were also described many times in the same forums.
Hi kinda off topic, i already rooted my SGS2 by flashing insecure kernel from Odia for DXKL3 and rooting it then flashing back the original kernel. now i want to install CWM, I see a lot of guides and searched, all looks like that need to install a CWM enabled rom or use a kernel that is compatible with CWM, thats where the part i get confused since most of the guide points you to a diffrent kernel from the insecure kernel, cant you use the insecure kernel tha odia posted specific for my DXKL3? and i dont want to install a custom ROM just for CWM it would defeat the purpose since i want to back up my stock firmware.
MistahBungle said:
Go into download mode (switch phone off - then do 3 finger reboot - hold home, volume down & power button at the same time), if you've flashed a non-stock rom/kernel in Odin it will show Custom binary download: x, where x is the number of times you've flashed a rom or kernel in Odin.
The jig is a usb plug with a certain amount of resistance over some of the pins of the plug (301k Ω or thereabouts I believe). To use it, you switch the phone off, plug the jig into the usb port on the phone, it reboots the phone into download mode and you'll get a message saying "Erasing download information successful". It will now show Custom Binary Download as no & Custom Binary as Samsung Official.
This will also get rid of the yellow warning triangle that appears at boot as long as you're using an "old" bootloader. Samsung recently started including "locked" bootloaders with their newer firmware in the last few months that don't allow a jig to reset the flash counter.
These cost a few dollars on eBay, do a search for "Samsung Galaxy S2 jig" or similar.
Click to expand...
Click to collapse
Thanks for the explanation mate, so then the jig is a device to buy not just the normal usb wire.
I'm thinking of getting it but now that its useless if firmware wont allow counter resets using jig......
quick Q, is there another method of resetting the counter and removing the yellow triangle? (it doesnt matter to me but incase i need to take it back for warrantee id need to do that i reckon)
There's no other way to reset the counter that I'm aware of. There's another method you can use to get rid of the triangle tho. 2nd post of the CFRoot thread details how to do this.
I suggest you get a jig. For less than $5 the peace of mind having one gives you is priceless.
ab.riyami said:
Thanks for the explanation mate, so then the jig is a device to buy not just the normal usb wire.
I'm thinking of getting it but now that its useless if firmware wont allow counter resets using jig......
quick Q, is there another method of resetting the counter and removing the yellow triangle? (it doesnt matter to me but incase i need to take it back for warrantee id need to do that i reckon)
Click to expand...
Click to collapse
i used the zergrush exploit, worked fine
http://forum.xda-developers.com/showthread.php?t=1319653

Any benifit from upgrading my bootloader, or should I leave it as it is?

I'm currently running the OEM bootloader of XXALE8. I know there's probably a new boot loader available for my phone. Would I get any benefit out of upgrading the boot loader, or should I jsut leave it as it is? I highly doubt I will ever downgrade back to ICS, (or even JB at this point). Also, how would I go about upgrading my bootloader without flashing an OEM Samsung ROM?
Bootloader is closed source, we don't know what's inside but definitely updating bootloader from your current state is recommended, as XXELLA+ has Sudden Death fix and other improvements, even if bootloader is not running long, newer is usually better.
Bootloader is sboot.bin file, however there also exist other partitions, such as hidden, param or tz. I suggest updating your bootloader by flashing official firmware from sammobile through Odin, this way you're sure that all low-level partitions are fine.
Be aware that newer bootloaders have warranty indicator, so will show modified status at each boot if you have custom recovery or kernel.
If you regularly use download mode to flash then update to prevent SDS and wear of your nand memory, otherwise I'd leave it alone.
Sent from my GT-I9300 using Tapatalk
boomboomer said:
Be aware that newer bootloaders have warranty indicator, so will show modified status at each boot if you have custom recovery or kernel.
If you regularly use download mode to flash then update to prevent SDS and wear of your nand memory, otherwise I'd leave it alone.
Sent from my GT-I9300 using Tapatalk
Click to expand...
Click to collapse
That's not true, newer bootloaders will set flash counter to 1 if running custom kernel, however I have official system status with ArchiDroid, therefore I don't have red exclamation mark .
That's what I said. You must have stock kernel installed with your rom? Even repacking the stock kernel will increase flash counter on new bootloaders.
Sent from my GT-I9300 using Tapatalk
boomboomer said:
That's what I said. You must have stock kernel installed with your rom? Even repacking the stock kernel will increase flash counter on new bootloaders.
Sent from my GT-I9300 using Tapatalk
Click to expand...
Click to collapse
It will, but red exclamation mark is not based on flash counter, it's based on system status. Therefore you can have 1+ flash counter and no red exclamation mark even on custom roms (like I do).
JustArchi said:
Bootloader is closed source, we don't know what's inside but definitely updating bootloader from your current state is recommended, as XXELLA+ has Sudden Death fix and other improvements, even if bootloader is not running long, newer is usually better.
Bootloader is sboot.bin file, however there also exist other partitions, such as hidden, param or tz. I suggest updating your bootloader by flashing official firmware from sammobile through Odin, this way you're sure that all low-level partitions are fine.
Click to expand...
Click to collapse
Is there a way to do it without flashing the OEM Samsung firmware, or is that the only way?
k-semler said:
Is there a way to do it without flashing the OEM Samsung firmware, or is that the only way?
Click to expand...
Click to collapse
There is a way but I suggest to flash full Samsung rom through Odin.
Why is that besides initial partition table setting? As far as I know, mine aren't messed up at all. This is after flashing several modems, recoveries, ROM's and kernels. Or is there something about the bootloader that is special? What is the alternate method to do so?
Read archi's first post for why to flash full rom, alternative is though cwm (if you make zip file) but this carries most risk of bricking your phone.
I got it successfully updated to bootloader XXEMG5 that I got it from this post.
http://forum.xda-developers.com/showthread.php?t=2189063
Is this the latest bootloader available?
Oops. Double post.

NK1, OB6, OF1 testers wanted for NC4 back-booting trials

So, I cobbled together a (custom-recovery) flashable NC4 stock ROM.
I'm interested to find out whether it is possible to boot it successfully from later bootloader firmware - e.g. NK1, OB6, or OF1
(I'm still on NC4 bl and not planning on upgrading near term. It boots on NC4 bl but that's pretty obvious lol)
[size=+2]Q: Why would this be useful?
A: to provide a means for upgrading bootloader firmware without starting from scratch.[/size]
For instance, there are folks on OB6 firmware that would like to use a custom ROM that will only work on OF1 firmware. They can certainly start from scratch (backup and unload the entire device); an alternative would be to:
- Make a backup of an existing rooted ROM (that more than likely has a custom or modified boot image so is not bootable when the bootloader gets re-locked) using the currently-installed custom recovery (which will also be non-bootable under re-lock).
- Restore a (debloated) pure stock ROM w/ Samsung kernel. Root it with Towelroot (does not touch boot image)
- Flash replacement bootloader only in Odin. Locked bootloader = no custom recovery... but with a rooted stock ROM already in place with an unmodified stock kernel it can be immediately unlocked.
NC4 is easily rooted with Towelroot-v3 "on device". No need for PC drivers, online rooting tools with a separate PC, etc (e.g. as with Yemen rooting methods on OB6, OF1)
This approach in principle saves the need to backup everything up in the /sdcard - but you have to know in advance that the NC4 stock kernel and ROM can successfully be booted with later bootloaders.
So anyway, that's what I'm asking for help testing with - folks that are: (a) unlocked and (b) on NK1, OB6 or OF1 bootloader willing to try flashing a debloated NC4 Stock ROM using their existing custom recovery, and see if it boots, roots, and if root survives a single boot cycle.
Contact me via this thread or PM; I'll provide the flashable NC4 and the Towelroot .apk
.
my n900v came with 5.0 Of1 but i rooted, unlocked BL. installed twrp and flashfired NC4 tar minus recovery
runs smooth.I hate lollipop.lol
only bug is wifi password resets everytime i reboot
im curious as to why i have trouble running certain nc2/nc4 roms..some want to bootloop/freeze
baja,biggins,and objective rom
kernel issue maybe? or BL version
btw. i am rooted via towelroot v3
hotrod85z said:
my n900v came with 5.0 Of1 but i rooted, unlocked BL. installed twrp and flashfired NC4 tar minus recovery
runs smooth.I hate lollipop.lol
Click to expand...
Click to collapse
Thank you for posting that, very useful/helpful information to know.
Does Flashfire understand the Samsung "sparse" image format of the system.img.ext4 file inside the Stock (Odin) .md5 tarfile blob? Or maybe somebody else packaged up a "flashable .zip" of NC4?
hotrod85z said:
only bug is wifi password resets everytime i reboot
Click to expand...
Click to collapse
in /system/build.prop, set ro.securestorage.support=false and reboot. You might also want to set ro.config.tima=0 as well.
I suspect that mixing and matching Samsung kernels with bootloader versions breaks something in the TrustZone, and so secure containers and other sort-of-obscure security functions no longer work as the TZ smells something fishy. I am using a rooted PL1 rom on NC4 bl and it would spontaneously reboot (infrequently) until I made the above changes - it's been rock stable for about 4 days now. Why this works I can't really say - it's a "generation skipping" bootloader and stock rom combination - N* bootloader and P* ROM *
hotrod85z said:
im curious as to why i have trouble running certain nc2/nc4 roms..some want to bootloop/freeze
baja,biggins,and objective rom
kernel issue maybe? or BL version
btw. i am rooted via towelroot v3
Click to expand...
Click to collapse
all of the above or none of the above LOL
There are definitely some mysteries here, and I don't claim to fully understand the interdependence of the TZ (== bootloader firmware), the TIMA and RTKP stuff in the kernel, and the cross-communication between kernel and TZ via the qseecom service daemon (which is in the ROM in /system/bin) much less how the APIs of all these interfaces might have changed between major releases.
You could check those two build.prop settings in those ROMs for starters though. I suspect that if the TZ smells something fishy (e.g. a kernel TIMA to TZ info mismatch), a variety of secure credential services in the TZ stop working. It is possible that "ro.securestorage.support" is a toggle that attempts to use TZ services when it is set to "true", and so anything in the ROM which builds on it breaks because the TZ is refusing to play on an otherwise "stock" ROM variant.
FWIW I got the AryaMod (S7Edge MM port) + phantom kernel running on NC4 bl + OF1 modem for a full 24 hours after I disabled the qseecom service daemon. It ran long enough that I had customized the whole thing as a daily driver with all my apps, verified that all sensors & radios worked, made test calls, etc. Rebooted it and the kernel started getting reset by a "Modem Reset". Even weirder was that despite the use of the OF1 "modem" firmware, the kernel was reporting a bunch of RIL "unknown ioctl's". Strikes me as odd that the whole thing could run that long with so many different things happening, and then the "modem" is unhappy - even though other folks are using the ROM with OF1 bl + OF1 radio/modem firmware. (As if the "modem" isn't really the source of the problem, even though that's what initiates the device reset).
.
i initially tried flashing NC4 full tar via ODIN. but even bl unlocked. i got FAIL. flashfire worked!
very curious as to whether a custom n900v kernel would boot my 4.4.2 custom roms..its either that or the BL isnt compatible with non-touchwiz roms....
most of the kernel/modem/firmware links on here are 404 error dead links.. would be nice to see an up to date sticky. ill flash anything as long as i dont end up in JTAG mode with a brick.lol
ive played with verizon s5 atnt s2,galaxy capitivate,atrix 4g and many other phones
the s2 is still by far the fastest Smoothest phone on cm7..the newer the phones..the newer the OS..the bigger the resourse hogs"ram" im a minimalist...
even after flashing NC4 official full tar..im still showing OF1 baseband under settings
@hotrod85z
FWIW I posted a bunch of recovery-flashable stock ROMs here.
There is also a link in that thread to a complete set of (Odin flashable) modems for NC4, NJ6, NK1, OB6, OF1, and PL1 if that is of interest to you.
Maybe I wasn't paying attention, but I could swear that on at least one occasion or two when I performed an Odin modem flash, it didn't "stick", despite no complaints on the handset screen or in Odin - the next boot showed the (prior) baseband version, not what I flashed. Its a bit of a mystery to me; but for now I've resolved to make sure that after the Odin session is complete, I wait 30 seconds or so, then remove the USB cable, and then pull the battery rather than try to restart the device by holding buttons down. It is possible that those events occurred when I soft-restarted the phone, but I'm not sure. For now I'm just trying to always flash and restart with exactly the same method to avoid different behaviors from creeping in.
PS I have no idea if those ROM flashables are compatible with Flashfire. They might be, but I've never tested it, and as they are not pre-rooted I'm not going to suggest it for fear that somebody with a rooted but locked (bootloader) phone will try using flashfire and then end up with a phone that needs a full Odin re-install. Appearances are that each version of the bootloader restricts the Samsung signing verification to only the matching kernel version - you can't even boot a Signed samsung kernel on a locked phone if it is a different version than the bootloader's version.
Hello all I have a emmc exploit note 3 I'm using here and I wanted to flash different radios for the us carrier note 3's and I first tried to use flash fire to try to update the modem, but even that didn't stick, cause I don't readily have a pc available, I wasn't ballsy enough to flash a different carrier modem, since I checked the odin screen and saw that instead of a bootloader unlock, its in developer mode and I didn't want a brick, so overall my question is, do I need a unlocked bootloader to flash different modems and do I need odin tovdo it or will some sort of mobile odin or something do it? Thanks mates and happy flashing.
Dlind said:
Hello all I have a emmc exploit note 3 I'm using here and I wanted to flash different radios for the us carrier note 3's and I first tried to use flash fire to try to update the modem, but even that didn't stick, cause I don't readily have a pc available, I wasn't ballsy enough to flash a different carrier modem, since I checked the odin screen and saw that instead of a bootloader unlock, its in developer mode and I didn't want a brick, so overall my question is, do I need a unlocked bootloader to flash different modems and do I need odin tovdo it or will some sort of mobile odin or something do it? Thanks mates and happy flashing.
Click to expand...
Click to collapse
Well, your question is way off topic for this thread.
But since nobody is in here anyways, I guess I'll answer the parts that I am able to.
The modems that I posted over in that other thread were meant to be flashed in Odin using a PC. You can use either the AP slot or CP slot. Note that the very first post says - in big bold blue letters "Odin-flashable Modems".
Not flashfire. It never said anything about flashfire.
Is there such a thing as MobileOdin? If there is, I know nothing about it and certainly have never tested anything with it. So I don't know and am not going to speculate.
You said something confusing here:
Dlind said:
I checked the odin screen and saw that instead of a bootloader unlock, its in developer mode
Click to expand...
Click to collapse
If it says "MODE: Developer" you have an unlocked bootloader. Which is exactly the same thing as a Developer Edition phone.
If you were to use a PC with Odin and you flashed a FULL Stock firmware flash, yes it would overwrite the unlocked bootloader and indeed re-lock the phone. If you were able to re-root that (stock) ROM, you could perform the unlocking procedure again to unlock it.
On the other hand, those Odin-flashable modem packages do not contain the bootloader firmware, so if you were to use Odin on a PC to flash just those modem images, your bootloader would not get re-locked - the unlocked bootloader is still there, untouched.
When the carriers issue an OTA update, many times (perhaps most of the time) they contain a modem update (NON-HLOS.bin and modem.bin). So it is obvious that they are able to be flashed **somehow** right on the phone, without using Odin from the PC or an "Odin app" at all.
BUT that happens using a combination of the STOCK recovery and the bootloader itself during the reboot following the actions taken by the STOCK recovery. (My guess is that the recovery simply "stages" it into place, and sets some flags so that the bootloader knows that it is supposed to evaluate the crypto signatures of the file blobs that the recovery put into place and it is actually the bootloader that does the flashing. That's really not a whole lot different than what happens when you transfer files from Odin to the phone - the "Odin/Download" mode is just one of the personalities of the bootloader. (Odin is actually a rather dumb program - it's the bootloader on the phone that gets to decide whether a flash happens. It does that by carefully examining the file blob that gets transferred, e.g. crypto signature checks)
My guess is that you would be able to flash STOCK modem packages from Odin (using a PC) independent of whether the bootloader is locked or unlocked. But as I said: "guess".
I don't have a second phone to test with, so I would have to flash completely back to stock and lock my bootloader to be able to test that hypothesis. That's a big jobs because of all the crap I have to backup and restore to my phone.
Frankly, if you don't have access to a PC, and you really need your device to keep working, I would advise you to stop screwing around with it, simply because you don't have good tools available to fix it if a disaster occurs.
PS. I've never once noticed anything different between various radio firmwares on ANY device I've ever owned.
bftb0 said:
Well, your question is way off topic for this thread.
But since nobody is in here anyways, I guess I'll answer the parts that I am able to.
The modems that I posted over in that other thread were meant to be flashed in Odin using a PC. You can use either the AP slot or CP slot. Note that the very first post says - in big bold blue letters "Odin-flashable Modems".
Not flashfire. It never said anything about flashfire.
Is there such a thing as MobileOdin? If there is, I know nothing about it and certainly have never tested anything with it. So I don't know and am not going to speculate.
You said something confusing here:
If it says "MODE: Developer" you have an unlocked bootloader. Which is exactly the same thing as a Developer Edition phone.
If you were to use a PC with Odin and you flashed a FULL Stock firmware flash, yes it would overwrite the unlocked bootloader and indeed re-lock the phone. If you were able to re-root that (stock) ROM, you could perform the unlocking procedure again to unlock it.
On the other hand, those Odin-flashable modem packages do not contain the bootloader firmware, so if you were to use Odin on a PC to flash just those modem images, your bootloader would not get re-locked - the unlocked bootloader is still there, untouched.
When the carriers issue an OTA update, many times (perhaps most of the time) they contain a modem update (NON-HLOS.bin and modem.bin). So it is obvious that they are able to be flashed **somehow** right on the phone, without using Odin from the PC or an "Odin app" at all.
BUT that happens using a combination of the STOCK recovery and the bootloader itself during the reboot following the actions taken by the STOCK recovery. (My guess is that the recovery simply "stages" it into place, and sets some flags so that the bootloader knows that it is supposed to evaluate the crypto signatures of the file blobs that the recovery put into place and it is actually the bootloader that does the flashing. That's really not a whole lot different than what happens when you transfer files from Odin to the phone - the "Odin/Download" mode is just one of the personalities of the bootloader. (Odin is actually a rather dumb program - it's the bootloader on the phone that gets to decide whether a flash happens. It does that by carefully examining the file blob that gets transferred, e.g. crypto signature checks)
My guess is that you would be able to flash STOCK modem packages from Odin (using a PC) independent of whether the bootloader is locked or unlocked. But as I said: "guess".
I don't have a second phone to test with, so I would have to flash completely back to stock and lock my bootloader to be able to test that hypothesis. That's a big jobs because of all the crap I have to backup and restore to my phone.
Frankly, if you don't have access to a PC, and you really need your device to keep working, I would advise you to stop screwing around with it, simply because you don't have good tools available to fix it if a disaster occurs.
PS. I've never once noticed anything different between various radio firmwares on ANY device I've ever owned.
Click to expand...
Click to collapse
Thanks SOOOOOO MUCH for your input I kinda had a feeling that the idea was risky at first and I don't know a whole lot about odin and I wish Samsung could have created something much easier to use, but thanks for answering the wayyyyy off topic question, I'm gonna smash that thanks button, I'm also going to take the advise on not cross flashing different modems, its just to risky. You answered all my questions so thanks, Also I want to say thank you for your continued work on this phone is by normal terms "old" now but in reality its still an amazing phone with the right custom software, and happy flashing!

I had a question about sm-n910v verizon note 4 (6.01)

I have a fully stock phone note 4 verizon sm-n910v....I believe I may have some firmware corruption. So can I simply use odin and reflash latest stock firmware in download mode WITHOUT rooting or unlocking bootloader or tripping flags, knox..etc....I have tried hard reset with buttons and factory reset from setting...the only reason... is I'm sure phone is slower than it used to be... even after turning off bloatware, clearing cache, and not installing anything extra....I REALLY just wanna complete refresh so I can rule out Hardware issues too....although I tried many hardware related apps they all said everything was good ...So can it be done with odin,pc and copy of stock firmware....without rooting ,no flag tripping etc. .......If so , what is the preferred recomendation...if it won't void warranty etc.....
thank you
lynxster said:
I have a fully stock phone note 4 verizon sm-n910v....I believe I may have some firmware corruption. So can I simply use odin and reflash latest stock firmware in download mode WITHOUT rooting or unlocking bootloader or tripping flags, knox..etc....I have tried hard reset with buttons and factory reset from setting...the only reason... is I'm sure phone is slower than it used to be... even after turning off bloatware, clearing cache, and not installing anything extra....I REALLY just wanna complete refresh so I can rule out Hardware issues too....although I tried many hardware related apps they all said everything was good ...So can it be done with odin,pc and copy of stock firmware....without rooting ,no flag tripping etc. .......If so , what is the preferred recomendation...if it won't void warranty etc.....
thank you
Click to expand...
Click to collapse
Just download right firmware from sammobile, use Odin to flash and you are done, no warranty void or knox tripping will occur.
And about apps making your phone faster? Most don't work and the only reliable ones are for rooted phones and uses system file modifications for a smoother experience.

Categories

Resources