yashsingh1/xdaforums huggingface dataset:
[Galaxy S III General] UpInTheAir:
This guide is for those that require to return COMPLETLEY to stock (out of the box) and

your firmware version is not yet available for download

.

You

must

be; rooted, CWM Recovery and have an original nandroid backup (made after first root, and before flashing any custom ROM or non-regional firmware other than recovery or modem)

Australian Optus Nandroid

:

* madmattoz@XDA has been kind enough to upload here

* You will need to Triangle Away, so begin at step #1

* I have not personally tested this nandroid, only my own

Australian Vodafone Nandroid

:

* 7tOny4@XDA has been kind enough to upload here

* You may need to Triangle Away, so begin at step #1

* Again, I have not personally tested this nandroid, only my own

Modem & Stock Recovery

* Not backup by CWM, thus you may need to restore your original

Modem Collection

:

* [REF] Galaxy S3 Modem / Radio Collection (I9300 & I9300T ONLY) CWM & Odin Flashable

Android System Recovery 3e

:

* CWM_Stock_I9300_Recovery.zip attached

* Stock recovery is the SAME between I9300 or I9300T versions

[Guide] Return to Stock from Original CWM Backup - No firmware released for download

Requirements

:

1. Have a nandroid backup of your original stock firmware

2. Root & CWM Recovery

3. Triangle Away app

4. SU-BusyBox-CWM_Manager-Uninstaller.zip (wipes SU binary, SuperUser, BusyBox and CWM Manager v3.50/3.55/3.60)

5. CWM_I9300_Stock_Recovery.zip

6. CheckFus Downloader app to check Product Code (SGS2 dialer code *2767*4387264636# does not work)

7. CWM flashable modem.zip (if not original baseband version)

METHOD

:

1. Use Triangle Away app to reset binary download counter

2. Boot into CWM Recovery

3. Restore "original" nandroid backup (ensure the name has not been modified or you may experience md5 mismatch)

4. Reboot & check for and uninstall any remaining User apps that require SU

5. Boot in CWM Recovery

6. Flash modem.zip (only if baseband is not original)

7. Flash SU-BusyBox-CWM_Manager-Uninstaller.zip

8. Flash CWM_I9300_Stock_Recovery.zip

9. Factory reset

10. Reboot system

11. Check settings > about device > status > device status > scanning............... Normal (This may take a few minutes)

12. Sign into Google Play & install CheckFus app. Product code should be correct

If returning for warranty

:

13. Delete all contents of internal sdcard "phone"

14. Factory reset again and power off

All tested on my own device ;)

Hope this helps some :D Hit THANKS if it has :D

Added Disclaimer: All your own risk. I am not responsible for anything you may try here. I didn't make you do it, blah blah blah
[Galaxy S III General] kelvinyap9:
Thanks for this, really appreciate it! :)

I found a typo in one of your sentences:

I really think you meant I9300TDULE6
[Galaxy S III General] UpInTheAir:
Correcting...

Cheers
[Galaxy S III General] kelvinyap9:
Anyway, I'm at the process of getting ready to do a NANDROID backup (already put an SD card in the phone).

As I'm aware, the stock recovery doesn't do NANDROID backups. Would I need to flash CWM (Chainfire one) via ODIN before doing so?

UPDATE: Never mind, NANDROID is a CWM feature x)
[Galaxy S III General] UpInTheAir:
Recommend it. Just follow Chainfire guide exactly.

Copy the backup found in clockworkmod folder to PC for safe keeping.

Once rooted, search for EFS Backup Pro and copy the backup to PC too. CWM will not back this up either. If this every becomes corrupted (and no backup) = iPod (no cellular network)
[Galaxy S III General] Lonski:
Thanks man, that's what I was heading towards but you beat me to it.
[Galaxy S III General] UpInTheAir:
Yeah, took a "little" bit of flashing just to prove the method works. Anyone following the steps and links to the appropriate guides shouldn't have any trouble.

Had other ideas such as how to dump your firmware and re-package into Odin flashable .tar file . This took a while, so maybe I'll add the other method in future. Wife is on my case :eek:
[Galaxy S III General] rock2702:
Rooted my phone,made a nandroid backup,flashed cm9,restored using original nandoid backup then used triangleaway to reset counter which shows 0,flashed a custom kernel on stock rom.Baseband has reverted to normal but device status showing modified.How to change it to normal?
[Galaxy S III General] UpInTheAir:
You didn't follow the guide did you?

Your firmware is now "modified" from the original (out of the box) having flashed a custom kernel. Also, depending on the flash method (Odin?), your counter most likely increased again

If you want completely back to original (out of the box state) firmware, follow the guide in FULL >> Redo steps 1-9 (or 1-11)

Obviously, if your official firmware is available for download somewhere, this guide becomes redundant. Flashing a complete official firmware will remove the modified status, but yours isn't completely official/stock now is it?

But, if this is want you want

,

follow the guide step-by-step

and it will work!

To avoid any further confusion I've added to the OP......... COMPLETLEY to stock (out of the box).......
[Galaxy S III General] rock2702:
Actually i did all this before you posted this thread.I used triangle away and the official counter is showing 0.My firmware is not up for download still but i made the nandroid backup before flashing cm9.

I rooted my phone using cf root by chainfire and then flashed cm9 using cwm.But then i returned to stock using my backup,then flashed a custom kernel using mobile odin pro.If i flash my stock kernel will my device status be normal again?

Also wanted to ask if the efs backup pro is an android app?I dloaded the zip on my cell as i dont have pc now,should i flash the zip using cwm to get efs pro app?
[Galaxy S III General] UpInTheAir:
I haven't tested any other method, as I was more concerned with getting the stock recovery.zip and proofed.

No counter + unroot + complete official firmware package => status = "normal".

If you flash an official kernel that is a different version to that of your official package, this would most likely "corrupt" the product code, so its not recognized = "modified".

These mix and match official firmware are referred as "Frankenstein".

EFS Backup Pro

http://xdaforums.com/showthread.php?t=1308546

There are other methods, have a search...
[Galaxy S III General] gadget069:
I have a question, i followed the steps my phone shows normal for the device status but i still have cwm in my app drawer.
[Galaxy S III General] UpInTheAir:
CWM Manager app was installed when you first installed Chainfire CWM Recovery, and was back upped with your original nandroid.

You have not followed all the steps.....

Check steps #10 and #11 ;)
[Galaxy S III General] kamalmawa:
Thanks heaps for this.. I was trying to unroot & remove cwm recovery from my Optus Galaxy SIII all day yesterday with no luck since I couldn't find the stock Optus Australia firmware.. I skipped step 3 & 4 since all I did was flashing the CF-Root kernel . Now I can send this back without worrying :D

I did all those yesterday except I couldn't get back the stock recovery. Flashing the stock kernel didn't work. All good now
[Galaxy S III General] UpInTheAir:
Nice to hear success and was useful for you. :) Hope you get it back soon.

Hit thanks if you have the time ;)
[Galaxy S III General] Yusei:
I only have a backup made before rooting, made with stock recovery.

This method will work for me?

But, my FW version is available. If I flashed through Odin I'll increase the counter. I'm a little bit lost here.
[Galaxy S III General] UpInTheAir:
I don't see how nandroid can be made without CWM recovery or various tools using ADB commands. :confused:

A nandroid backup is typically made up of:

1. boot.img

2. cache.ext4.tar

3. data.ext4.tar

4. nandroid.MD5 checksum

5. recovery.img

6. system.ext4.tar

Flashing any official firmware with Odin does not increase any counter.

++ This guide is not for you ++

For your case;

1. Use Triangle Away app to reset any counter

2. Flash official firmware with Odin (this will also remove root)

3. Wipe any evidence of SU apps and delete contents of internal sdcard

4. Maybe Factory reset before sending the phone off
[Galaxy S III General] Yusei:
With stock recovery I've made a backup xD

In that day I don't even bother with warranty, my wish was enter again in flashmaniac mode xD

I'm on my phone so I can't see if you have PayPal account, but if you have I'll buy you a beer.

Thanks dude, really thanks.
[Galaxy S III General] UpInTheAir:
No problem. Happy my guide was of use. :)

Have Paypal, but happy to help out fellow XDA members and you hitting the "thanks" is enough. ;)

Cheers
[Galaxy S III General] johku12:
If I have not done any modifications than rooted can I triangle away then boot to cwm then install su unistaller and after that stock recovery and I'm done? :)

E: I read a guide where first triangle away then cwm and full wipe then odin flash and after that factory reset and I don't want to lose all data. Is the su app that is the reason for modified status as it's easy to remove in cwm before odin flash to stock?
[Galaxy S III General] UpInTheAir:
In short yes....

Just follow the guide step by step and you will have the desired end result. :)
[Galaxy S III General] johku12:
So it's important to unistall su before odin flash to prevent the modified status as odin flash leaves apps?
[Galaxy S III General] UpInTheAir:
There is no Odin flash in my guide.

It is for those with no firmware to download and flash, such as some T model variants.
[Galaxy S III General] johku12:
I meant that if i go to stock by resetting counter and just installing stock recovery leaving the su installed, will I get modified status because of the su app? As I can get the stock recovery also via odin
[Galaxy S III General] UpInTheAir:
I believe you need totally stock official firmware (unrooted) to have status: "normal". It's not just the SU app, it's also the binary, busybox, and counter need to be removed.

By following the guide steps 1-8 you will return to the exact point where you first made your original CWM backup without root or CWM recovery. Stock android recovery 3e is installed.

If you have flashed a different modem you can find you find your original in my modem collection and flash it in step #4. Modems are not backup with nandroid.
[Galaxy S III General] johku12:
You don't answer my question. I jave only rooted with cf root. I can also go stock with odin flash but if I don't uninstall su in cwm before odin flash (Assuming I reseted counter and removed other root apps) do I get the modified status because of the su app remaining? I have my stock firmware downloaded.

Sorry for the inconvenience. I'd just want to know is it possible to go fully stock with odin just uninstalling the su without any wipes in cwm as in cf root thread it says that wipe is required when goimg stock.
[Galaxy S III General] UpInTheAir:
Sorry, didn't fully understand your case.

This thread has nothing to do with Odin and your question doesn't really belong here..........

I'll try my best though.

1. Use Triangle Away app to reset any counter

2. Flash official firmware with Odin (this will also remove root and

wipe your data

)

3. If Chainfire says you need to factory reset before and after Odin flash, do it. I haven't tried that method. My firmware is not yet available for download, so I came up with this guide/method via nandroid and CWM recovery.

All I can be 100% sure of, if you follow my guide exactly and step by step, you will return to your original complete official stock firmware (out-of-the-box) .
[Galaxy S III General] johku12:
Okay, just thought that you might know, just would hate to wipe as I would loose all personal data and apps. Figured that cf could put that part of wiping particulary for wiping installed mods and su as well to avoid modified status. Gonna test if that helps and could report to cf if it works to make someones life easier =) thanks for your patience and effort anyway =)
[Galaxy S III General] UpInTheAir:
No worries at all ;)

Your welcome :)
[Galaxy S III General] TassieMenace:
Anyone have the stock Optus rom (or know where I can get it from??)

oops... i didnt realise it was going to be so hard to get a hold of!! :/
[Galaxy S III General] UpInTheAir:
Wrong thread...

I believe it still hadn't been released.

checkfus shows it available, but errors when try to download (or was that Vodafone?)

If you don't have,......You need some kind soul to post/upload their factory reset original nandroid from CWM recovery (stock unmodded, except for root and CWM recovery). Then you could use my guide.
[Galaxy S III General] TassieMenace:
Is there a guide for the kind soul to follow? there was another thread that someone had offered to do that but didnt know how...
[Galaxy S III General] UpInTheAir:
A "kind soul" madmattoz@XDA has uploaded the Optus nandroid for you. Now you can return to completely original stock following my guide step by step. :)

Link to his post is in the OP. Don't forget to thank him too ;)
[Galaxy S III General] TassieMenace:
Much thanks has been distributed :D

Just a quick question... Do I still need to apply the CWM flashable modem.zip as an Optus customer? (ie is that the Optus Modem?)
[Galaxy S III General] UpInTheAir:
You only need to flash the modem.zip if your have flashed a different modem from the stock firmware that came out-of-the-box (the nandroid doesn't back up modem).

CheckFus:

Found in my modem collection, link in OP :)
[Galaxy S III General] TassieMenace:
stupid question... but is the Product Code different for each handset? (or should mine be GT-I9300MBDOPS) It's showing up as GT-I9300RWJOPS
[Galaxy S III General] UpInTheAir:
Edit: Is that your current PC before or after following this guide?

Not stupid question.

No, only serial number, IMEI, and the device model/variant.

I beleive the HIDSWVER combo (ROM, CSC, baseband, kernel) determine the Product Number.

So if all those are restored (unmodified), unrooted, zero flash counter, stock android recovery, there shouldn't be any warranty issue to worry about.

If any is incorrect, then the product code may differ to what you had originally.
[Galaxy S III General] TassieMenace:
When I run checkFus is shows PDA: I9300XXALE8 - Phone: I9300XXLE8 - CSC: I9300OPSALE4

but product code as GT-I9300RWJOPS

I followed instructions all the way through (right down to factory reset and wipe cache)

CWM is still showing up in the app drawer though... I cant un-install it. I cant boot into CWM Recovery though, it just goes to the standard recovery mode.

Thoughts??
[Galaxy S III General] UpInTheAir:
Ahhh, I see a flaw in the guide. As CWM Manager had been installed as a system app, it can't be uninstalled once root is removed. Guide needs to be changed from step#10 is now step#4. Sorry. :o

You will have to re-flash Chainfire CWM Recovery + Root to remove the SU apps, then follow the try again.
[Galaxy S III General] TassieMenace:
Rightio no worries :) So just re-root and then go again (except in the new order :P)

So would this have anything to do with the product code being different?
[Galaxy S III General] UpInTheAir:
Yeah, try again, maybe leave the checkfus till last, after a factory reset.

Not sure if app had anything to do with it (maybe the checfus is not quite right.... Ensure you select model I9300T).

Did notice you had OPS on the end of the PC though....... What PC does your say on the box?

Edit: I will retest on my device (when I get a chance), just to make sure.
[Galaxy S III General] TassieMenace:
I didnt think mine would be 'T' as it is an optus phone...
[Galaxy S III General] UpInTheAir:
Yeah, got T on the brain. no it won't :)
[Galaxy S III General] TassieMenace:
oh good... just checking :P

---------- Post added at 07:21 PM ---------- Previous post was at 06:39 PM ----------

Whats the best way to wipe the internal SD?
[Galaxy S III General] UpInTheAir:
Boot up and connect to PC USB and delete anything there, or boot up and use My Files app mnt/sdcard
[Galaxy S III General] TassieMenace:
OK so it's safe to delete the whole contents of 'phone'. Wasnt sure if there were any system files etc in there :)
[Galaxy S III General] UpInTheAir:
Yep, just check DCIM for any photos etc you might want to keep.
[Galaxy S III General] TassieMenace:
Just up to the 'Reboot & check for and uninstall any remaining apps that require SU' where I m supposed to be removing the CWM app... and there is no option to uninstall it...??? Am I missing something?
[Galaxy S III General] UpInTheAir:
Instal a root file explorer and navigate to system/apps and delete CWM manager.

With root explorer you need to give su permission and mount r/w before delete. Then uninstall the file explorer.

There are grew versions about, I think es file explorer (check it's settings to enable root)

There are other apps about that can do the same thing, just remove them when done.
[Galaxy S III General] teamvb:
There are 7 file one file hidden use md5 app and u will see it
[Galaxy S III General] TassieMenace:
7 Files??? md5 app??? Are you talking about removing CWM using ES File?
[Galaxy S III General] TassieMenace:
Not sure about before... but definitely after.

Just finished restoring it for the second time and it still has that same PC (GT-I9300RWJOPS)

Hope this is OK!!! I guess I'll find out when I send it back!
[Galaxy S III General] UpInTheAir:
What do you get when you *#1234# in dialer?

Also, your device status= Normal ?
[Galaxy S III General] UpInTheAir:
Just getting together a better flashable script to wipe SU binary, SuperUser, BusyBox and CWM Manager v3.50/3.55/3.60 (if installed to system parttion) all in one go.

Reverting now to my original nandroid for testing................

.zip will be uploaded when done. Getting late here and the missus is complaining :eek: Maybe tomorrow. :)
[Galaxy S III General] TassieMenace:
Device status is Normal

AP: I9300XXALE8

CP: I9300XXLE8

CSC: I9033OPSALE4
[Galaxy S III General] UpInTheAir:
OK, finally finished some more testing and ironed out the "bugs".

I have (edit: re-uploaded) SU-BusyBox-CWM_Manager-Uninstaller.zip that wipes: SU binary, SuperUser, BusyBox and CWM Manager v3.50/3.55/3.60. Works as it should now ;)

a) Also, make sure you Factory Reset immediately after installing stock recovery and then reboot.

b) Sign into Google Play and install checkfus

c) PC should be OK. Tested fine with mine......
[Galaxy S III General] TassieMenace:
Did you want me to have another crack at it to see if the PC changes??

Also, that new file attachment bring up a 404...
[Galaxy S III General] UpInTheAir:
All up to you mate, and if you have the time. Maybe it's just the nandroid that is uploaded.....

Will upload the attachment again in 1-2 hours. Out ATM.
[Galaxy S III General] UpInTheAir:
SU-BusyBox-CWM_Manager-Uninstaller.zip

OK, XDA seems to be having a few issues for me hosting this attachment. Gives error 404, so have linked SU-BusyBox-CWM_Manager-Uninstaller.zip to my DropBox public link found in OP.
[Galaxy S III General] TassieMenace:
Well happy to do it in the name of science... See if it makes a difference. Do you think that the PC is wrong? Is it possible that it's just different??
[Galaxy S III General] UpInTheAir:
Quite possible it's just different :confused: Edit: can't see why though, as long as the nandroid is original and unmodified (except for recovery, modem, root) it should be OK

I have not tried the posted Optus nandroid myself, so can only confirm that my orignial PC is restored from my nandroid by following each step. Others have posted success, and judging by the many downloads of the recovery, possibly a lot more.

Will be heading away for a while soon. Sorry, don't have time to test it and see what I end up with. Thanks for being the "guinea pig" for those Optus Users. :good:
[Galaxy S III General] madmattoz:
Shouldn't be the Nandroid, the steps I took to make it were (beginning with an unrooted stock Optus ROM):

*Perform a factory reset.

*Root using CF-Root.

*Boot into recovery and perform Nandroid backup.
[Galaxy S III General] TassieMenace:
So your product code is GT-I9300MBDOPS ?

Just wondering... is your handset blue or white?
[Galaxy S III General] UpInTheAir:
Sounds about right.

If you could please post your original Product Code from the box?

Located on sticky bar code label alongside, colour, serial number IMEI etc
[Galaxy S III General] madmattoz:
EDIT: Product code is I9300MBJOPS. It's a blue handset.

Not near the box at the moment, but I'll have a look and post tonight.
[Galaxy S III General] UpInTheAir:
Ahhh,

You may have 'hit the nail on the head' !! Could it be............ ??

GT-I9300MBDOPS would be for Blue

GT-I9300RWJOPS would be for White

Edit: If above is true, Optus Users will need seperate firmware for white and blue models or another Upload White factory reset nandroid. Just need a user to confirm............ Maybe same could be said for other carriers as well?
[Galaxy S III General] TassieMenace:
that's what I'm thinking... I have a white :D

Would LOOOOVE for someone with a white handset on Optus to confirm!!!!!

EDIT: oh and I had a look on my box and it has reference to the PC on any sticker (or under the sticker for that matter)

Pulled the battery out and had a look at that sticker in the phone and still no reference to a PC. Just had model (gt-I9300), FCC ID (A3LGTI9300A) and SSN (I9300GSMH) plus of course the IMEI and S/N

---------- Post added at 04:10 PM ---------- Previous post was at 03:59 PM ----------

Well... I used a rom from a blue handset (GT-I9300MBDOPS) and am showing the PC: GT-I9300RWJOPS on my white handset.. so it appears it doesnt matter which handset the rom is installed on... it must get the colour details from somewhere else.
[Galaxy S III General] UpInTheAir:
Could be right, I posted a request in the Aussie SGS3 forum, fingers Xed.
[Galaxy S III General] madmattoz:
I've seen no reference to separate firmwares for different colours, so I'd be inclined to believe the colour part of the PC is somewhere else and not able to be changed.
[Galaxy S III General] UpInTheAir:
Quite possible/probable.

Just would like to confirm the actual white PC.
[Galaxy S III General] UpInTheAir:
@ TassieMenace

Looks like it's been confirmed in the Aussie SGS3 thread.

Edit: http://xdaforums.com/showpost.php?p=28219778&postcount=432

Your P.C. is fine and device all set for warranty return. :)

Hope it is fixed soon. BTW, what was wrong?
[Galaxy S III General] madmattoz:
EDIT: Beaten by a minute!
[Galaxy S III General] TassieMenace:
Yay! That's a relief! Thanks so much for your help madmattoz & UpInTheAir :D Really Really appreciated that.

As for what was wrong... Tassie has bad coverage for Optus (and everyone else except Telstra) but Optus has been putting new towers up etc (only 3G though.. no 4G!) and Optus has the 30 day coverage guarantee thingo so I thought I'd give it a go...

Unfortunately it sucks (particularly the data speed) so I'll be sending it all back and going back to Telstra :)
[Galaxy S III General] Amrut223:
Should we be wiping the Dalvik cache at all when doing this? Will not wiping it have any effect on warranty?
[Galaxy S III General] madmattoz:
Happy to be corrected, but as far as I'm aware, a factory reset also wipes Dalvik. Either way, it's not something that would impact on warranty at all.
[Galaxy S III General] Amrut223:
Well your nandroid has worked a treat thank you very much madmattoz and UpInTheAir.
[Galaxy S III General] UpInTheAir:
Excellent, another happy "customer" :)
[Galaxy S III General] adr6ian:
I'm waiting in line now for a "Kind Soul" who has Unbranded Australian firmware (GT-I9300RWJXSA is my Product Code) . I thought I had a nandroid backup from initial rooting, but I dont seem to now (the safe place I put the flash card is proving to be safe from even myself!)

Since I've really only just basically rooted and installed an Insecure kernel for insecure-adb.. Would it be a correct assumption that I should be able to get the original Kernel via the kindly provided Optus restore.zip ?

I don't need any of this just yet - more collecting what I need 'just in case' .. I fear we wont ever see the stock firmwares surface :|

Thanks!

Adrian