The post below started out as my proposed plan for updating a S3 i747m (Canadian) from stock 4.4.2 to CM11. I've since gone back and updated it with the results to turn it into more of a guide for the next moder. This will not do a carrier unlock and it will flip your warranty bit.
Prep:
Download and install Odin_v3.09.zip (recommended for JellyBean/KitKat firmwares) (droidviews.com/download-odin-tool-for-samsung-galaxy-devices-all-versions/)
Download and install the Samsung drivers (samsung.com/us/support/owners/product/SGH-I747MBBATT#)
Download the latest appropriate TWRP (at the time if writing it was twrp-3.0.2-0-d2can.img.tar, not the .img but the .tar file, from the dl.twrp.me/d2can page).
Download CyanogenMod and copy it to the external SD card (started with the latest CM11 build with the stagefright fix from download.cyanogenmod.org/?type=snapshot&device=d2lte).
Download Gapps and copy it to the external SD card (personally I grabbed the ARM/4.4/Nano from opengapps.org).
Install recovery:
Boot into Download Mode on the S3 (hold home + volume down, hit power button, then volume up at the confirmation screen)
Launch Odin (as admin) and uncheck everything except Auto Reboot and F. Reset Time.
Select the TWRP .tar file in the AP (apparently used to be PDA) mode and flash the recovery
Once the phone has rebooted successfully, shut it down.
Install CyanogenMod:
Boot into recovery (hold home + volume up, hit power button)
Do a nandroid backup for good measure
Do an advanced wipe of your system, data, internal storage and caches (if you don't you get an error 7)
Flash CyanogenMod
Flash Gapps
Reboot
That successfully installed CM11. As it went so smoothly, I decided to try install CM12.1 right away. I grabbed the "cm-12.1-20160314-NIGHTLY-d2att.zip" (from here: forum.xda-developers.com/showpost.php?p=66726324&postcount=1202), got a copy of the ARM/5.1/Nano from opengapps.org and repeated the above process with success. All seems to be stable so far.
One unknown I had was the deleting of "/system/etc/install-recovery.sh" and "/system/recovery-from-boot.p" as specified in some guides. audit13 mentioned it probably wasn't necessary and I can confirm it wasn't.
Thanks again to audit13 for their vote of confidence.
Plan looks good except I don't think it is necessary to mount the partition in twrp and delete the two files. I have flashed the Telus and T-Mobile versions of the s3 with custom roms and have never had to delete any particular files prior to flashing.
Related
Ok so here is what I have done so far:
1.) I rooted via this method:
Step 1: Download Odin v3.07 and CF root (for non-AT&T variants, find the root file for your phone and plug that in for this CF root link. The rest of this guide should work for you). After you do that, right-click and extract the files to somewhere easily accessible (like your desktop).
Step 2: Go to Settings>Developer Options>turn developer options on>turn on USB debugging
Step 3: Make sure your phone is not connected to the computer at this point. Open up Odin, select PDA, navigate to CF-Auto-Root-....tar.md5
Step 4: Put your phone in download mode (turn off phone, then hold VolDown+Home+Power to boot - if it asks you to press a button to continue, press the listed button (in this case volume up)
Step 5: USB connect your phone to your computer and in Odin make sure Repartition is not checked. Leave everything else alone. Click the Start button and wait for your phone to reboot twice.
2.) installed goomanager and ran the script that installs twrp for you and ran a recovery
3.) booted into twrp, cleared cache/d-something cache, did factory reset, and the system reset (forgot the exact name)
4.) tried to install cleanrom (had it on my internal SD card) and got the "error flashing zip" line
I've looked around reading everyone's solutions and it's come down to
a.) i need to reinstall/redownload and try again. Thing is, idk how to remove all this crap (my backup was created after doing the twrp stuff) so that I can reinstall
b.) twrp is the issue and i need to use CWM. again, not sure how to remove twrp before installing CWM and the guides that I've come across to install CWM aren't simple enough for me (im new to this)
Any insight would be great. I've been loading back into my backup trying to start over and I'm afraid if I keep messing around I will brick my phone which is why I have come to you guys. Trust me I've been looking stuff up for hours and I still can't seem to figure it out
I would do that, but it's just me.
-I would boot in recovery , wipe cache, dalvik, factory reset, and system.
-Boot in Download mode, flash the appropriate stock rom.
-Let it boot in stock rom.
What i do to root and install twrp.
- I boot in download I run cf-Autoroot through odin, then let it boot
- I boot in downaload again and run twrp through odin again let reboot (you need the correct twrp file to flash with odin).
You now have a freshly rooted and clean install of everything. Check Md5 or redownload CleanRom.
When i install cleanrom i reboot in recovery,I wipe cache, dalvik, factory reset and system, then i install the rom and reboot to system, i never had issues doing everything this way. I believe its the correct and clean way to do.
The phone is/was rooted (by one click) and with gc01 and i believed it was stock rom. This my first time doing this so please excuse my lack of knowledge.
I was following at least I think I was trying to follow instructions listed on post 77 link here: http://forum.xda-developers.com/showpost.php?p=48979264&postcount=770
I skipped step 1 and went to step 2. I opened up the One-Click EL26 Stock CWM5.exe. I waited for it to recoginze and clicked start. It went into screen where it says "Samsung Galaxy 2" but with a yellow triangle with exclamation and won't remove from this screen? Also holding the power button doesn't work when trying to turn it off from this screen; so the battery have to remove.
I tried to boot into recovery and it does allow me to do so. It takes me to ClockWorkMod v5.0.2.7. Any help would be good? Thanks in advance.
ChrisQB said:
The phone is/was rooted (by one click) and with gc01 and i believed it was stock rom. This my first time doing this so please excuse my lack of knowledge.
I was following at least I think I was trying to follow instructions listed on post 77 link here: http://forum.xda-developers.com/showpost.php?p=48979264&postcount=770
I skipped step 1 and went to step 2. I opened up the One-Click EL26 Stock CWM5.exe. I waited for it to recoginze and clicked start. It went into screen where it says "Samsung Galaxy 2" but with a yellow triangle with exclamation and won't remove from this screen? Also holding the power button doesn't work when trying to turn it off from this screen; so the battery have to remove.
I tried to boot into recovery and it does allow me to do so. It takes me to ClockWorkMod v5.0.2.7. Any help would be good? Thanks in advance.
Click to expand...
Click to collapse
Since you can still boot into Clockwork Recovery then download a stock rom and flash via recovery.
mabry said:
Since you can still boot into Clockwork Recovery then download a stock rom and flash via recovery.
Click to expand...
Click to collapse
Thanks a ton for the information. I guess I will download a stock rom from: rwilco12 website. Does it have to the same rom I had previously which was the gc01? Or should I take it back to ICS FI22 Modem/Kernel/ROM - Full Restore - Rooted? I know that a non jb modem is needed for CM11. Did I screwed up with the instructions gives for the CM11 or will it not work with my phone?
Also I was trying to send you a donation but it stated : We cannot process this transaction because there is a problem with the PayPal email address supplied by the seller. Please contact the seller to resolve the problem.
Thanks once again.
ChrisQB said:
Thanks a ton for the information. I guess I will download a stock rom from: rwilco12 website. Does it have to the same rom I had previously which was the gc01? Or should I take it back to ICS FI22 Modem/Kernel/ROM - Full Restore - Rooted? I know that a non jb modem is needed for CM11. Did I screwed up with the instructions gives for the CM11 or will it not work with my phone?
Also I was trying to send you a donation but it stated : We cannot process this transaction because there is a problem with the PayPal email address supplied by the seller. Please contact the seller to resolve the problem.
Thanks once again.
Click to expand...
Click to collapse
I would personally go back to GC01.
ChrisQB said:
The phone is/was rooted (by one click) and with gc01 and i believed it was stock rom. This my first time doing this so please excuse my lack of knowledge.
I was following at least I think I was trying to follow instructions listed on post 77 link here: http://forum.xda-developers.com/showpost.php?p=48979264&postcount=770
I skipped step 1 and went to step 2. I opened up the One-Click EL26 Stock CWM5.exe. I waited for it to recoginze and clicked start. It went into screen where it says "Samsung Galaxy 2" but with a yellow triangle with exclamation and won't remove from this screen? Also holding the power button doesn't work when trying to turn it off from this screen; so the battery have to remove.
I tried to boot into recovery and it does allow me to do so. It takes me to ClockWorkMod v5.0.2.7. Any help would be good? Thanks in advance.
Click to expand...
Click to collapse
Since you were able to get into ClockWorkMod recovery mode, you should have been able to continue with step 5.
Flash a recovery that can help with flashing CM 11 roms. a CM 10.2 rom with the built in kernel recovery can do so.
If this method doesn't help. Follow this procedure to installing CM11 based ROMs for the E4GT.
Download Philz Touch Recovery here
Philz_Touch CWM 6 Recovery
Grab Philz Touch 6.19.3.tar. Use PC Odin3 v3.07 to flash the recovery.
Step 1 --- Flashing the recovery
-Make sure the .tar file is in the PDA slot.
-Reboot the device into download mode. ( Vol Down + Power )
-Press Vol Up for Next.
-Plug the device into the PC ( Any USB Slot will do )
-.Make sure Odin has COM:## before it starts. If it doesn't try different slots / cables / PCs.
-.Uncheck auto reboot
-Start flashing process.
-.Wait for a green PASS on Odin
-.Once shows a green PASS, unplug USB cable and pull the battery out and insert it back in.
-Start the device up for recovery, Vol UP + Power, hold those 2 buttons until you see the Samsung Galaxy S II splash screen, then let go.
Step 2 --- Installing the CM11 based ROM ( Different methods )
If you still have the CM 11 ROMs in your phone simply skip to method 2
Method 1 --- No ROMs on the device / Transfer via Recovery method PC to Device
Note: Make sure you're in Philz Touch Recovery and also have an SD Card inside the device.
-Navigate to Mounts and Storage.
-Select the option 'mount USB Storage'.
-Connect device to PC and transfer the CM11 ROM to SD Card.
-Wipe Data/Factory Reset -> press Yes to 'Clean to install a new ROM'.
-Install ROM and Gapps of your likings
-Reboot device.
-Profit
Method 2 --- Install CM11 via EL26 CWM5 Recovery to CM10 to CM11
Pre-requisites/Mandatory Requirements
A Computer with USB Ports, USB Cables ( Micro )( For flashing the Recovery )
OdinOC of EL26 CWM5 Recovery.
An ICS Modem in device storage
Latest CM10.2 Nightly ROM in device storage
Latest CM11 based ROM in device storage
Latest Gapps compatible to 4.4.X ( 'X' Depends on which ROM you've chosen. )
Device already has CWM5 Recovery
Read instructions to a 'T'
-Make sure your device is off, PC is on
-Put your device into Odin Download Mode ( Vol down + Power ), Select Vol UP to move on
-Start the EL26 CWM5 Kernel OdinOC, Connect the device to the PC
-Double check to see if the OdinOC has COM:##
-Start RecoverKernel flashing
NOTE: Once it's done, it will automatically reboot the device.
If you see the screen instantly turn off,
immediately press Vol Up + Power to go into recovery
Once in recovery
-Wipe Data/Factory Reset
-Wipe Cache
-Wipe Dalvik Cache via Advanced
-.Flash the latest CM10.2 ROM via install zip ( Internal or external storage )
-.Flash an ICS Modem of choice ( Different Modems > YMMV, Recommended Latest FL24 )
-.Navigate, Power Options > Reboot Recovery ( If there's no power options, navigate advanced option reboot recovery )
You're now in CWM6 on a CM10.2 ROM
-Wipe Data/Factory Reset
-Wipe Cache
-Wipe Dalvik Cache via advanced
-.Flash the CM11 ROM and Gapps of choice via install zip option ( Internal or external storage )
-Reboot Device
You're now on CM11 ( If you follow steps to a 'T' ) If you have any issues flashing or any more questions. Please
feel free to ask again.
Hello everyone. I have a tmoble s3 that was once rooted and then updated with kies and ran on stock firmware. The phone was updated to the latest firmware but I had lost root. I left it alone and all was well for many months. The other day after charging the phone it was unable to complete the boot. I can boot to recovery and to download mode but it wont safe boot or normal boot it hangs up at the last phase. I took the phone in to a samsung rep and he tried to load the firmware on the phone he did a home recovery but the phone still doesnt complete the boot. I had already tried factory reset before taking it in and it failed. I am not sure how to fix it since it isnt rooted any ideas on how to fix the phone? Is it possilbe to fix this phone or is it just a paperwieght now? Can you odin a pre rooted rom on a phone that isnt rooted and wont boot in order to enable usb debugging or developer options? I have no idea how to proceed so any advice would be appreciated. Thanks in advance
To quickly check the phone's functionality, I suggest the following:
1) download Odin 3.07 from here: https://www.google.ca/url?sa=t&rct=j...07763241,d.dmo
2) download the tar version of TWRP 2.8.6.0 from here: https://dl.twrp.me/d2tmo/
3) download the latest cm12.1 for the phone from here ( http://www.cmxlog.com/12.1/d2tmo/) and save it to a micro SD card;
4) download the version of cm12.1 gapps you want from here (https://wiki.cyanogenmod.org/w/Google_Apps) and save it to the same sd card where you saved CM12.1;
5) place the micro SD card into the phone;
6) boot the phone into download mode;
7) open Odin 3.07 and uncheck everything except f. reset time;
8) click on PDA and browse to the tar TWRP file and select it;
9) connect the phone and it should show up as a com port in Odin;
10) flash TWRP;
11) when you see the word RESET in the status window, remove the USB cable, remove the battery, replace the battery, use the button combination to get into recovery which should now be TWRP;
12) perform a full wipe of system, data, and cache;
13) flash CM12.1 and gapps from the micro SD card;
14) reboot and enjoy
ive had help in rom section but unable to get the rom installed trying to install the ultimate note 5 rom ok i follow op instructions tried muti twrp and the lastest philz ever time i flash the rom i get a error 7 code tried muti formatted sd cards tried putting on phone storage then flashing still same error.. ive read on the error 7 a little bit about it look in the updater script dont see the line it says to erase,ive flash other rom no problem but this 1 keeps failing with that error the picture says twrp 2.8.6 did it just to try out but im on twrp 3.0 now when i got the phone it was already on 5.1.1 ok1
I will be as specific and give as much detail as i can here...
You need to start over with a clean slate. Use standard class 10 micro-sd card and don't mess with multi format whatever. Use TWRP 2.8.7 or 3.0.0. Start by rebooting into recovery and wiping everything clean several times. backup any files that you need to keep. But you must wipe internal sd, system, cache, data and dalvic-cache. wipe thenm in advanced wipe options of twrp. Next reboot to download mode. Launch odin 3.10.6 or newer on your pc. connect your phone to your pc via the usb cable. In the options tab of odin make sure auto-reboot and reset time is CHECKED!!! Open the official stock OK1 rom tar using the AP button in odin. Once the md5 check completes just press start to flash the stock rom. when it finishe LET THE PHONE REBOOT!!! Once the phone boots, setup as usual then go into Settings and open "Activate this device". Let it do it's thing and it will automatically reboot. Once the phone reboots, go to settings/System update and do the prl AND profile updates. Reboot your phone again. Then make sure your data and calls work as they should.
Once you are on stock and have done all of these steps above you are ready to odin TWRP. Download the tar version of TWRP to use in odin. It is the best way to flash recoveries. Launch odin on your pc and use the AP button to add the TWRP tar. In the options tab you can uncheck auto reboot if you want. (I've never had to do that but you can). Once it flashes you can let the phone reboot or you can just pull the battery then force reboot into recovery by holding the volume-up, home and power buttons until you feel the phone vibrate. Release all buttons and wait for TWRP to boot. Once in TWRP, do all of the wipes same as before multiple times. Then for good measure go to TWRP homescreen and press "Reboot" then "Recovery" and this will reboot recovery and ensure that the rom zip will flash with no trouble. Reboot recovery then flash the UN5 rom and remember to wait for data to conect before proceeding with setup wizard. Success. If this doesn't work then give up and leave your phone stock until you figure out what's causing your problems. Good luck.
Good Day,
Thanks for taking the time to read my posting.
I am running a Galaxy Note 2 with TWRP v2.8.7.0. Previously, had been running CyanogenMod 12 Latest Release from 2015-11-17.
Had an issue with the phone rebooting, went into TWRP to clear Cache/Davlik Cache, seen an error after this with /Data partition not being mounted(phone was encrypted). Proceeded to go into TWRP and Format Data then reinstall the ZIP listed above from an external SD card, successfully completed installation of ZIP file for CyanogenMod 12. When I reboot the device from TWRP, through Reboot->System, keeps rebooting back into TWRP and not into CyanogenMod.
I have connected the device to a Windows computer, confirmed that I can see it connected through USB. When I issue abd devices, I see the ##### recovery listed for the device, but if I issue fastboot devices, no device is listed.
Any recommendations for what could be done to reinstall the CyanogenMod build on my device so that it can boot properly would be greatly appreciated.
Thanks to everyone on the community for the support, education and feedback over the years and for all the hard work that you do, cheers to you.
Maybe flash back to a completely stock rom, confirm that everything works, flash twrp, and cm again?
I was thinking about recovery to stock recovery when I read your post .
Tried the stock recovery using Odin3-v3.07 pointing to CF-Auto-Root-t0ltetmo-t0ltetmo-sght889.tar.md5(1/20/2015), this appeared to complete from Odin, but the phone still went into a reboot loop into CyanogenMod, but never fully started up, thereafter.
Went to the autoroot.chainfire.eu site, downloaded the latest stock recovery for device.
Pulled the battery, back into TWRP, select Wipe/Factory reset from TWRP. Installed Samsung Kies onto desktop, ran Odin3-v3.10.6 pointing AP to CF-Auto-Root-t0ltetmo-t0ltetmo-sght889.tar.md5 dated from 3/31/2016. Then went to phone and go to download mode (turn off first, press and hold following buttons: vol down + home + power). Then Press Up Volume key to get into Download mode, then connect it to PC via USB. Device shown in Odin under ID:COM. On Option uncheck “Repartition”. After reboot, phone boot into IMG for CyanogenMod. Confirmed access to phone thereafter.
Thanks for the feedback, hope this helps someone down the line, if they run into the same issue.