[Q] Rooting/flashing outline. - AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin

Hi finally I have decided to proceed in rooting my i337M (Canadian) S4, along with flashing a CM 10.2 nightly. I have read up on the subject, but being the person who tends to worry a lot (don't want to brick my phone!) I guess I will just outline the steps I'm going to take and if anyone has anything to add/ any issues with my procedure please tell me!
Baseband is I337MVLUAMG1
1. Root using CF-Auto-Root
http://forum.xda-developers.com/showthread.php?t=2293800
2. Install latest CWM using ROManager
3. Boot into recovery and make a NANDroid backup of stock ROM
4. Clean wipe, along with formating system
5. Flash ROM and gapps
Also if I want to restore to a NANroid backup, do I have to do any required wipes beforehand, or can I go straight ahead and restore to my stock backup.

I337ucuamdl
AstronomicaI said:
Hi finally I have decided to proceed in rooting my i337M (Canadian) S4, along with flashing a CM 10.2 nightly. I have read up on the subject, but being the person who tends to worry a lot (don't want to brick my phone!) I guess I will just outline the steps I'm going to take and if anyone has anything to add/ any issues with my procedure please tell me!
1. Root using CF-Auto-Root
http://forum.xda-developers.com/showthread.php?t=2293800
2. Install latest CWM using ROManager
3. Boot into recovery and make a NANDroid backup of stock ROM
4. Clean wipe, along with formating system
5. Flash ROM and gapps
Also if I want to restore to a NANroid backup, do I have to do any required wipes beforehand, or can I go straight ahead and restore to my stock backup.
Click to expand...
Click to collapse
See how I printed my Baseband version in the title of my reply?
My Build number: GOLDENEYE BY iB4STiD XXUBMGA
How are we supposed to figure out your question if we have no clue what you're dealing with?
I used CWM before, like on the Captivate, but I'm no help here as I used TWRP for my custom recovery on this handset. So far we know how you got root, and what your intended custom recovery is, and that you're a Canadian. Perhaps spelling out the rest of it will help shed the light on the details needed for a decent answer?
It does sound like you're on the right track, but I for one cannot give you the "go ahead" nod.
It takes some intestinal fortitude to make a nandroid, then flash it to test to see if it's any good. I don't see nearly enough of that around this forum!

Related

Can you reverse flashing a recovery image?

Hi Guys,
I'm a little new to all this so please bear with me..
Just rooted my MT4g and want to make a nandroid backup before i do anything. However i see that i need to use CWM to flash a custom recovery image in order to make the backup.
Is there anyway to reverse that recovery image back to stock? Incase i need to revert the phone completely back to stock...
Thanks.
Sorry, i think i found it!
I'm guessing this is it: http://forum.xda-developers.com/showthread.php?t=843289
Please close this thread if that's it.. sorry for spamming.
If you completed the root process then you already have CwM recovery. Just use Rom Manager to make a backup. If you have to revert back to stock the process will reinstall the stock recovery img for you.
shortskoolbus said:
Hi Guys,
I'm a little new to all this so please bear with me..
Just rooted my MT4g and want to make a nandroid backup before i do anything. However i see that i need to use CWM to flash a custom recovery image in order to make the backup.
Is there anyway to reverse that recovery image back to stock? Incase i need to revert the phone completely back to stock...
Thanks.
Click to expand...
Click to collapse
Hmm okay. I did successfully root the device and I was following this write up to backup the phone using nandroid which says i need to flash a custom recovery ROM.
I just tried to backup current ROM and it gives me a message saying i must flash CwM recovery first and gives me an option to install it. But i'm guessing it's possible to restore that from the link in my second post?
You can use clockwork to restore your factory rom, but if you want to revert your recovery back to stock you will need to fastboot flash the stock recovery back on. This is assuming you have first flashed the stock rom which will leave you without clockwork rom manager installed. There's a few unroot guides that will help you if you need to send your phone back to tmo. I would suggest becoming familiar with ADB and Fastboot. That knowledge will give you more options in a pinch.
Swyped on my rooted MyTouch4G
Thanks much!
Yes i am doing a lot of reading right now, but wanted to make sure all the files i needed were out there for the MT4G already. Looks like the factory recovery is out there and it can be flashed back so i'm not to worried.
shortskoolbus said:
Thanks much!
Yes i am doing a lot of reading right now, but wanted to make sure all the files i needed were out there for the MT4G already. Looks like the factory recovery is out there and it can be flashed back so i'm not to worried.
Click to expand...
Click to collapse
Yes all the files are out there that you would need to pretty much do whatever needed. Check out the links in my sig for some good things.

CWM 5.5.0.4 and 5.8.31

what is the difference between CWM 5.5.0.4 and 5.8.3.1. Why ROM manager installed CWM 5.8.3.1 in Galaxy Tab P7500 while taking backup, though CWM 5.5.04 was already installed using ODIN I.85. Is it necessary to re install CWM 5.5.0.4. If so, how to re install CWM 5.5.0.4. My galaxy TAB P7500 is running on stock ICS 4.04.
Only a few changes are made(you can't even say where)from 5.5.0.4 to 5.8.3.1...
The ROMmanager must make sure that the CWM on your device matches with the version of the APP,but upgrading does no harm i.e. it's no need to reinstall CWM...
Beware!don't go into CWM if you are on the stock ICS because it has the rolling screen issue,flash all you need with ROMmanager,don't install CWM touch when you are using stock ICS(it'll be a waste of time,mony,etc)
If you want to get out of CWM(5.5.0.4) after flashing but get confused with the rolling screen just do thisress vol down and then press the power button twice...the tab restarts with all the changes you've made...
And finally:feel free to ask questions,XDA in always here to help you!
arashtarafar said:
Only a few changes are made(you can't even say where)from 5.5.0.4 to 5.8.3.1...
The ROMmanager must make sure that the CWM on your device matches with the version of the APP,but upgrading does no harm i.e. it's no need to reinstall CWM...
Beware!don't go into CWM if you are on the stock ICS because it has the rolling screen issue,flash all you need with ROMmanager,don't install CWM touch when you are using stock ICS(it'll be a waste of time,mony,etc)
If you want to get out of CWM(5.5.0.4) after flashing but get confused with the rolling screen just do thisress vol down and then press the power button twice...the tab restarts with all the changes you've made...
And finally:feel free to ask questions,XDA in always here to help you!
Click to expand...
Click to collapse
I'm using CWM 5.5.0.4 here with stock ICS. No problems at all.
5.5.0.4 is the version recommended to prevent rolling recovery.
I also followed pershoot's advice in the 2.6.36.4 thread. I did get the rolling recovery even with 5.5.0.4.
I am on stock US ICS and odined the following:
(1) US ICS 4.0.4 BL variant
(2) Recommended recovery (CWM non touch 6.0.1.2)
Now I have no flicker in the recovery or the ROM like I had experienced in the past. However, I'm rather way of CWM 6.0.1.2 because I used the previous non-touch (6.0.1.1 I think) and wasn't able to restore a Nandroid...it just hung on me. Where did you get the 5.5.0.4 that worked with stock ICS ROM/BL Jack?
Hi dj.
Can't remember now where I got 5504, read so many guides.
I have it in my drop box.
I'll post the link for it shortly.
Really
djmatt604 said:
I also followed pershoot's advice in the 2.6.36.4 thread. I did get the rolling recovery even with 5.5.0.4.
I am on stock US ICS and odined the following:
(1) US ICS 4.0.4 BL variant
(2) Recommended recovery (CWM non touch 6.0.1.2)
Now I have no flicker in the recovery or the ROM like I had experienced in the past. However, I'm rather way of CWM 6.0.1.2 because I used the previous non-touch (6.0.1.1 I think) and wasn't able to restore a Nandroid...it just hung on me. Where did you get the 5.5.0.4 that worked with stock ICS ROM/BL Jack?
Click to expand...
Click to collapse
Here ya go dj
https://dl.dropbox.com/u/99900479/recovery.tar.zip
You're the man! I may go back to stock firmware just to give this a go. Thanks!!
djmatt604 said:
You're the man! I may go back to stock firmware just to give this a go. Thanks!!
Click to expand...
Click to collapse
You're welcome.
Good luck.
Thank you for your nice advice and assurance. Sir I have another question/doubt. Please clarify
I am having P7500 in India. I flashed Italian stock rom 4.04 using ODIN. Later rooted the Tab using CWM 5.5.4 method. subsequently I installed ROM Manager. I did back up. It appears that CWM version was changed by ROM manager. Now I want to flash Indian stock rom 4.04 recently released and also rooting. Please suggest a mode.
Download the stock IN firmware from Sammobile and flash in Odin with PDA with your tablet in download mode. You will lose everything on your internal storage so if you want to keep your backups make sure to move them off the tablet before you flash.
You'll find lots of guides in the Q&A and Dev sections that will provide root methods for your 4.0.4 stock firmware. Or, you can skip all of this and just flash a rooted ICS ROM with a full wipe to save yourself the steps. It's really up to you.
Thank you Sir for your valuable advice.
Please clarify, If I flash INU stock ROM 4.04 on ITLY stock ROM 4.04, using ODIN, will it wipe out applications data also?
Earlier When I flashed ITLY stock ROM 4.04 on my original stock ROM 3.2 INU on my galaxy tab p7500 using ODIN, it did not wipe out any data from internal storage and all the applications were automatically installed after reboot..
It may, it may not...it depends on whether or not you boot up after the flash without issues. If you get stuck on the Samsung logo or a boot loop, you will need to boot into stock Android recovery and do a factory reset, that would format your /data partition and result in loss of apps etc.
That Thanks button works well if I have helped you makes me look like less of a noob! Good luck to you
djmatt604 said:
It may, it may not...it depends on whether or not you boot up after the flash without issues. If you get stuck on the Samsung logo or a boot loop, you will need to boot into stock Android recovery and do a factory reset, that would format your /data partition and result in loss of apps etc.
That Thanks button works well if I have helped you makes me look like less of a noob! Good luck to you
Click to expand...
Click to collapse
I recommend doing a full wipe with CWM recovery before flashing with ODIN. Doing that avoids having to do a full wipe with Stock recovery which wipes the internal. Wiping before flash should avoids formatted internal. Would others confirm, this is what I have noticed on my tab.

[Q] how to install custom rom over another custom rom on i9500

Hv been using Arrow rom 8.0. Works fine but wanted to upgrade to Arrow rom 9.0 which is based on the rom for India.
The phone is rooted and custom recovery installed(don't know much about the way to use it). Downloaded the rom and went into recovery mode. Ok'd the wipe data/factory reset. Ok'd wipe cache. Ok'd the option of upgrade from external storage and the phone went to the manual mode with csc as inu and asking for the filename. Didn't know what to do so yanked the battery and rebooted. The booted to Arrow rom 8.0 with all data gone.
One more thing I noticed that in recovery mode I had to use a magnifying glass to read the options. Also there was no option to choose the external storage ie the sd card where I download or copy the roms it only shows phone storage.
Would appreciate the help received in pointing me to the right direction.
These are really basic questions. I'm supprised you managed to flash a rom in the first place.
Full wipe in recovery, if you still could boot after wiping, like in your case, then you didn't wipe correctly. Your phone shouldn't be able to boot anymore after the wiping (because there is no more rom installed).
Then flash the rom. If there is no option for external storage (i think this is highly unlikely), then just copy it to your internal sd card and flash from there.
Are you really sure you have a custom recovery? Because the way you are descriping it, it sounds more like the stock recovery.
Lennyz1988 said:
These are really basic questions. I'm supprised you managed to flash a rom in the first place.
Full wipe in recovery, if you still could boot after wiping, like in your case, then you didn't wipe correctly. Your phone shouldn't be able to boot anymore after the wiping (because there is no more rom installed).
Then flash the rom. If there is no option for external storage (i think this is highly unlikely), then just copy it to your internal sd card and flash from there.
Are you really sure you have a custom recovery? Because the way you are descriping it, it sounds more like the stock recovery.
Click to expand...
Click to collapse
Thanks for the advice. Checked using recovery tool and it says current firmware: stock.
How do I make a full wipe. And also what about the manual mode I get in the recovery mode.
Can mobile odin be used for flashing.
Again, these are really basic questions. You should read the forum more, my guess is you have a I9500, so start reading in that section. Read the parts about rooting, flashing a custom recovery and flashing.
All the information you need is there. I can tell you the exact steps you need to take, but figuring it out for yourself will save you lots of trouble in the furture if anything goes wrong.
I have no idea what manual mode is, so my guess is that you don't have a custom recovery installed. What is the name of the recovery? Or doesn't it display any name? You shouldn't be needing Mobile Odin, maybe only for rooting or flashing a custom recovery, but not for flashing the rom.
Lennyz1988 said:
Again, these are really basic questions. You should read the forum more, my guess is you have a I9500, so start reading in that section. Read the parts about rooting, flashing a custom recovery and flashing.
All the information you need is there. I can tell you the exact steps you need to take, but figuring it out for yourself will save you lots of trouble in the furture if anything goes wrong.
I have no idea what manual mode is, so my guess is that you don't have a custom recovery installed. What is the name of the recovery? Or doesn't it display any name? You shouldn't be needing Mobile Odin, maybe only for rooting or flashing a custom recovery, but not for flashing the rom.
Click to expand...
Click to collapse
Had read the forum before flashing the rom. Rooted my phone and had installed CWM via Odin and confirmed it in the recovery mode. And only after this flashed the Arrow Rom and used it for couple of months.
Don't know what happened to CWM it wasn't there this time in recovery mode, it showed Android System Recovery and not CWM.
Anyway have flashed CWM again along with Crash Rom 11.
Thanks again bro.

Safestrap Note 3 bootloop ?

Appreciate any guidance!
Just got a Safestrap Note 3 NC4 it was running Alliance build 2.
When I got it it had 13gb of internal being used and seen lots of previos owners pictures etc… so I figured id download build 2 again to sdcard and restart from scratch.
I booted to TWRP.
Did a full wipe except MicroSd.
Did format typed yes and it immediately jumped into a Samsung bootloop.
I tried entering recovery again and it says recover loading and goes back to a bootloop.
It will go into download mode but that's it.
What do you suggest my next approach should be?
Thank you I'm traveling and no access to my PC for a few days so just preplanning.
If you wiped system, there's no rom to boot so you have to go into download mode and use Odin to install something. Or if you have system, go into recovery again and flash the rom you want.
Sent from my SM-N900V using Tapatalk
OffTheChainz said:
Appreciate any guidance!
Just got a Safestrap Note 3 NC4 it was running Alliance build 2.....
Click to expand...
Click to collapse
Probably the easiest thing to do would be to use Odin to restore back to 4.4.2 NC4. Then root again with Towelroot, install busybox, and then Safestrap 3.75 again. That will give you a fresh start to put Alliance back on there if that's your plan.
As you found out, you only need to Swipe to factory reset before installing Alliance. I learned the same way that you did when I first got my Note 3 and had to start over again as well after formatting data .
When you Odin restore.... just make sure you don't put any newer stock firmware on the phone beyond 4.4.2 NC4, because there's no current root method for anything past 4.4.2 NC4. You should be able to get 4.4.2 NC4 from Sammobile.com.
@mattnmag
So you say swipe to facory reset was all I needed to do? I shouldn't have done wipe and format?
Lets say you had Build 2 with safestrap and wanted to get a new clean install with build 2.
What was it should I have done to start clean?
Thank you for your detailed info bud!
OffTheChainz said:
@mattnmag
So you say swipe to facory reset was all I needed to do? I shouldn't have done wipe and format?
Lets say you had Build 2 with safestrap and wanted to get a new clean install with build 2.
What was it should I have done to start clean?
Thank you for your detailed info bud!
Click to expand...
Click to collapse
Right.. don't use the separate "Format Data" option. From what I understand, it will always cause you to have the same bootloop issue that you just experienced.
I'm not 100% sure why... but I think it might wipe out something needed in Safestrap to allow the phone to boot... maybe the Stock slot... (maybe someone else will comment on this who has more knowledge?).
Someone in the ATT Safestrap thread suggested using the Safestrap File Manager to navigate to the folder "data/media/0," then deleting that folder as an alternative to the "Format Data" option. I'm not sure if I'd recommend it or not, but it's something you could research more to see if it would work.
Thank you very much!

CWM not restoring backup.

Hy,
I have two i9505, I read a lot and installed CWM using Heimdall, I flashed SuperSU to gain root, and made a backup. It labeled the backup with an outdated 1970 name...
I took the SD card out to copy the SD backup, but could find it even when searching for hidden folder.
I put back the SD card in my device, and booted to CWM, the backup was available for a restore process. So before trying any flash I tried out a restore process, but ended up with a stuck in boot. Boot to CWM and bootloader being still available, I managed to flash a workable ROM, but I can't restore to my initial ROM.
Now, I'd like to be able to restore my device to it's initial ROM.
I believe that somehow, the backup I made is corrupted.
As I have another identical i9505 I haven't tempered with yet, I guess I could install CWM (or other custom recovery) to make a backup of the ROM, extract the backup of the ROM from the SD and use it to 'clone' my second device ROM to this one.
But I don't wan't to make any mistake here, so I'd apreciate some help, first to understand where CWM put the backup .tar.
Another solution is to get some stock ROM I can flash. As anyway I don't have any warranty on the device I don't care to restore to exact initial state, I just want to be able to get back to some stock ROM.
sammobile.com/firmwares is the place to go if you want a stock ROM. Download whichever ROM you want, then use Heimdall to flash it, and you should then be returned to stock. For best results, the ROM you download should have no carrier branding, but any of them should work.
I though I would have to do something like that from reading the unroot guide. Also, as I use Heimdall to flash (I have a linuxBox), I will use this guide in french as a guideline.
I noticed that the command line they recommend don't flash sbl1. I don't know if it is required.
Thank you anyway for confirming that.

Categories

Resources