[ROM] Stock SM-T210R 4.1.2 JellyBean TWRP flash - Galaxy Tab 3 General

This is the official stock 4.1.2 ROM for the SM-T210R. Only requirement is to have a custom recovery (TWRP was used, but others might be compatible).
The provided folder and its files need to be extracted using 7zip (or supportable extractor) to the tab's SD card in the "/TWRP/Backups/<device serial>" folder. (create a backup from the recovery if you need to make the folder)
(DO NOT SKIP THIS STEP): Before flashing, one needs to either perform a factory reset, or preferably wipe the "data," "cache," and "dalvik-cache" from inside the recovery before "restoring".
{DO NOT WIPE YOUR "EFS" PARTITION!!}
If having problems with the KitKat update, try: http://forum.xda-developers.com/gal...-stock-sm-t210r-4-1-2-jellybean-odin-t2958676
It's actually better to use because it restores EVRYTHING, the TWRP flash doesn't.
The 4.4.2 Stock ROM is available here: http://forum.xda-developers.com/galaxy-tab-3/general/tab-3-7-0-sm-t210-r-stock-4-4-2-kitkat-t2930075
A torrent client (such as utorrent) is required to download this file.
Anyone who wishes to contribute, please seed if you can after downloading ("Force Starting" the torrent will seed it indefinitely.)

Related

[Q] Flash A Custom ROM : P3100 : Specific Issue - Fastboot Not Supported

I have made a custom ROM, with additional API's and patches using stock ICS source - Downloaded from source.android.com.
After modifying, patching etc, I built the ROM using 'make' on my Ubuntu machine.
I followed the steps here to build the ROM: http://source.android.com/source/building.html
The output of this procedure is attached as a screenshot
(I copied the folder to windows hence the screenshot shows a windows OS)
Now I have a ROM I am asked to flash it using'fastboot flashall' per the instruction here:
http://source.android.com/source/building-devices.html
My device doesn't seem to support a Fastboot mode.
The output folder of the ROM is attached as a screenshot.
A> When I try to use CWM, it fails to flash - MD5 Mismatch:
Also I am unsure how CWM flashes and which of the folders are to be included. A CWM recovery generates:
1. boot.img
2. recovery.img
3. system.ext4.tar
4. data.ext4.tar
5. cache.ext4.tar
6. nandroid.md5
Clearly my output folder is not aligned to this format. So I'm a bit lost here.
B> Odin takes on tar file. I am not sure if simply making the folder a tar will work.
C> Heimdall doesnt support this tab I guess...
Any ideas on a solution would be appreciated.
Thanks & Regards
Indrajit
Downloaded & Installed a custom ROM zip, it worked. How can I make mine into a zip?
Most of the custom ROMs have a boot.img, system folder, data folder and meta-inf.
What is Meta-Inf?
Also If I zip my ROM (created as mentioned above) and try installing it doesnt since I dont have a Meta-Inf & I cant use the other meta-inf.
This is the ROM I installed: Worked fine except USB-PC connection didnt:
http://forum.xda-developers.com/showthread.php?t=1643736
Any ideas / suggestions would be highly useful & appreciated.
Thanks in advance.

[Released][ROM][ODIN] ICS Stock firmware XXLQ9 repacked with CWM 6

Q. Why there is a need to repack the firmware?
A. As you may know, the stock kernel in the stock firmware has the emmc hard brick feature enabled which is believed to be the reason of 2 hard brick incident reported in the forum. And even worse, the emmc hard brick bug (mmc_erase) can be called @ anytime after the system is booted with a buggy kernel, which means that your device can immediately get bricked after the first reboot.
Q. So is it okay to flash the ROM via odin with a different bootloader (i.e. boot.img)?
A. Theoretically, yes. But the problem is that when we repack the odin package with a modified boot.img. The download counter will rise and a yellow triangle will appear on every boot.
Q. So is there any way to flash the stock bootloader but without letting it get booted?
A. Yes. There is a way to do so. After you have successfully flashed a package via odin, the odin bootloader (based on BCT partition) will invoke the recovery bootloader to finish the install process. And if you are not using the stock recovery, the process will get halted and then leave you at the recovery (CWM) screen. And then you can flash a kernel via CWM at this point.
Q. Is there anything that I should aware of?
A. Yes. Just like flashing any firmware, After flashing the ICS package, it is important for you to backup all the important files before flashing.
Guideline 1 [For people who is willing to use CWM6 (provided by Adam77Root)] (prefered way) :
1. Turn on your device and connect it to a computer
2. Place the kernel file, superuser file (which can be flashed via CWM) and new_sec_csc.zip into your internal SD card first and make sure all your important data on /sdcard are backed up (You are free to select any kernel but make sure the mmc erase part get disabled from the kernel completely)
3. Turn it off and remove the external sdcard from the device
4. Download the ICS firmware files which contains GB kernel and CWM6
5. Put the device into download mode and flash the above package via odin 3.07. Place the package file (*.tar.md5) into PDA part (You can now flash with pit file as well, however the internal sdcard data will get wiped so it is important for you to make a backup for important files before flashing) (DO NOT attemp to flash any ICS package via odin 1.85 as there is a high risk that the download process get stuck in odin v1.x series, and you have to unbrick your device with nvflash tool if error occurs)
6. After the device is restarted, it will get into recovery (CWM) mode. And the script provided by Samsung will be failed to execute due to a assert call. (Don't worry, you can execute the script again by using the patched new_sec_csc.zip)
7. Backup any important data in /sdcard (external sdcard) now if you didn't do so. You can do this @ 'Mount and storage' -> 'Mount USB devices'.
8. 'Wipe cache' and 'Wipe data / factory reset' (make sure you have all your important data on /sdcard backed up and your have removed your external sdcard device)
9. If the above stage has wiped your CWM flashable zip file as well, you can mount the device to a computer via mount menu and you can place the zip file to the phone as mass storage again.
10. Install the CWM flashable zip file (superuser, new_sec_csc.zip and your kernel file) from sdcard (For an unknown odd reason, all the packages you gonna install in this step will have signature verification error, but it is safe to proceed. Just switch off the signature verification from the menu or choose to 'Install untrusted package'.)
11. After you flashed kernel, you are free to flash anything and free to reboot now.
12. If you have used a pit file for flashing the package in odin, a message will be appeared in notification center telling you the filesystem on /sdcard cannot be recognized. Just click on it to format the sdcard and then you are free to use anything now.
13. If you are still afraid of breaking system integrity as you were not using the samsung recovery script to finish the update process, navigate to 'Options -> Back up and reset -> Factory data reset' and totally reset the device there.
P.S. If you accidentally pressed reboot the system now in CWM 6, don't worry, the system will not be able to boot into normal mode. And you can redo all the things since the beginning.
Update #1 : During testing the flash process, I have found that the repacked firmware cannot be flashed with odin 1.83. It is important to get all the ICS firmware being flashed with odin 3.07 (or 3.x sereis) instead v1.x series. Otherwise you have made a risk that your partition (PIT) table is messed up so srsly that you have to use nvflash tool to restore everything. I will tell this to cooleagle to get everyone knows of it.
XXLQ9 :
Stock package with GB kernel and CWM6 which is based on safe stock GB ZSLE6 kernel (just extract the file in the splited zip files) : http://www.mediafire.com/?uq5tg9o7nli04b2 and http://www.mediafire.com/?b5i571br0x07c38
CWM flashable package :
- Superuser CWM flashable package : http://downloads.noshufou.netdna-cdn.com/superuser/Superuser-3.2-RC3-arm-signed.zip or Superuser-3.2-RC3-arm-signed.zip in attachments (But you will be unable to update with the 3.2 RC3 build, use 3.1.3 one if you want)
- My own kernel (flashable via CWM) : UnknownzD_Kernel_with_superuser.zip (with superuser, good for first time install) and UnknownzD_Kernel.zip in the attachments
- Patched Samsung install script (the one which failed to run) : new_sec_csc.zip in the attachments
Odin v3.07 : Odin307.zip in the attachments
Credits go to Adam77Root for his CWM image and someone(!?) who has uploaded odin 3.07 to xda forum. Will try to check his name later.
Short change log about my kernel (The longer one will get posted when I start another thread for it) :
4 IO scheduler added
Voodoo sound patch added
Full fp calculation based on hardware fp opcode only (which should makes the device consumes less energy while providing the same performance level)
MMC erase function tootally disabled
Default.prop get modified to increase the performance
Based on ICS 3.x kernel src code released by Samsung
If you gonna use my kernel, please make sure that you have efs_backup.img backed up safely after flashing my kernel package, as it contains your device's IEMI info, which can save you from future disaster as you can use the unbrick tool with it. You can backup the efs_backup.img by :
1. Flash my kernel in CWM
2. Mount and storage -> Mount USB devices
3. Copy the efs_backup.img from the sdcard to your own computer (it is vital for you as you can use the unbrick tool later)
Now I am stuck @ finding a proper file host to upload the files.
waiting for this!
Rooted?
BusyBox?
Init.d?
Sent from an GT-I9103 with ICS and Tapatalk 2
Sorry as mediafire.com only allows upload 200MB per file, I need to take some time to split the files into multiple zip, please wait for about 15 minutes.
coldbeermt said:
Rooted?
BusyBox?
Init.d?
Sent from an GT-I9103 with ICS and Tapatalk 2
Click to expand...
Click to collapse
You can root it on your own with superuser zip file. And busybox binary is not yet dropped into /sbin/ as I believe it comprise the system integrity back in GB kernel. Init.d will be supported in near feature. All the things that I changed is just inside the kernel and recovery and provide a safe envrionment for user to continue to flash their own desired kernel. Nothing more.
For kernel development, I will make a separate thread in dev section later.
Sorry I have to postpone the release as I have to repack everything with the nordic release (XXLQ9) now.
Ok, I'm sure you know I asked just for general information. I supposed your answer yet
Anyway, I'm sure its a good job. With the new version (nordic) I suggest you to upload releases to dropbox our something easier. Anybody could make a mirror in other servers later :thumbup:
Sent from an GT-I9103 with ICS and Tapatalk 2
UnknownzD said:
Sorry as mediafire.com only allows upload 200MB per file, I need to take some time to split the files into multiple zip, please wait for about 15 minutes.
Click to expand...
Click to collapse
Man we r RC, we get premium hosting space from DevHost.
Check ur PM
Sent from my Galaxy Royale using Tapatalk 2.
xlm13x said:
Man we r RC, we get premium hosting space from DevHost.
Check ur PM
Sent from my Galaxy Royale using Tapatalk 2.
Click to expand...
Click to collapse
Yea I just saw the PM, it is really useful for me tbh. Thanks for your help.
Okay after many hours of testing, I am happy to release the ICS XXLQ9 package with GB kernel and CWM 6 (based on the one posted by Adam77Root) that should be able to let you flash your own kernel after flashing it. Download links will be up shortly.
So after 5~6 times of srs bricking, I finally get it working correctly after working overnight.
Ok I have released the ROM already, please try to use it if you know how to use the unbrick tool. This is because I want to ensure that the package can be flashed safely in Odin v3.x instead of v1.x series.
UnknownzD said:
Ok I have released the ROM already, please try to use it if you know how to use the unbrick tool. This is because I want to ensure that the package can be flashed safely in Odin v3.x instead of v1.x series.
Click to expand...
Click to collapse
well as a bit newbie i am confused with all tuts floating on XDA
what i intend to is
1. flash Stock ROM via ODIN 1.8
2. flash CWM 5.x via ODIN 1.8
3. Flash ardatdat kernel via CWM
4. Now only i will wipe data thru CWM...
is this ok ?? i am concerned with Austrian firmware currently..rooting is not possible in nordic ROM due to system partition space...
can this be dangerous ??
vipul12389mehta said:
well as a bit newbie i am confused with all tuts floating on XDA
what i intend to is
1. flash Stock ROM via ODIN 1.8
2. flash CWM 5.x via ODIN 1.8
3. Flash ardatdat kernel via CWM
4. Now only i will wipe data thru CWM...
is this ok ?? i am concerned with Austrian firmware currently..rooting is not possible in nordic ROM due to system partition space...
can this be dangerous ??
Click to expand...
Click to collapse
Rooting Nordic ROM is quite easy, that is if you are on GB (if you are on ICS you will have zero free space in system space), so when you are on GB you need CWM http://forum.xda-developers.com/showthread.php?t=1839900 use CWM to wipe data and format system.
Flash Nordic ROM (Odin), than CWM, go to http://androidsu.com/superuser/ and download binary only (ARM), now use CWM to install SU binary.
You need SU app from Play Store and you are rooted.
Nice work! Thanks!
Sent from my GT-I9103
nedooo said:
Rooting Nordic ROM is quite easy, that is if you are on GB (if you are on ICS you will have zero free space in system space), so when you are on GB you need CWM http://forum.xda-developers.com/showthread.php?t=1839900 use CWM to wipe data and format system.
Flash Nordic ROM (Odin), than CWM, go to http://androidsu.com/superuser/ and download binary only (ARM), now use CWM to install SU binary.
You need SU app from Play Store and you are rooted.
Click to expand...
Click to collapse
Basically the things you mentioned above are included in the package / guide already. Tbh this should not be dangerous. But I want more people to test it first because last time when I released the GB kernel, a lot of people complained about the things that do not occur on my phone.
oh btw about the zero free space in system space, I believe it is just a bug in the filesystem. You can fix it easily by using e2fsck, which is actually included in my kernel script.
This is just explanation about staying stock. Your work and effort is well above this. Thanks in name of all flash addicts
So after many times of tests, I guess it is safe to use the build already, just make sure you have everything backed up before updating (actually you should do this for any fimrnware update). If you have found any problem, just report the problem here. I will repack every stock firmware following the same method until Samsung acknowledge that the MMC_CAP_ERASE is removed from stock kernel.
If you have found your device bricked after using any ICS update (for example, unable to flash the device any more via odin protocol), please let me know via pm please so that I can guide you to fix your phone in IRC.
pudup said:
What happens if I don't use data wipe and factory reset? I didn't so it for the CWM installation while upgrading from GB. Is it really necessary?
Click to expand...
Click to collapse
When you are updating the ROM from GB to ICS better to wipe data or else you face some Force Closes and other issues....
pudup said:
What happens if I don't use data wipe and factory reset? I didn't so it for the CWM installation while upgrading from GB. Is it really necessary?
"I like spelling my name backwards"
Click to expand...
Click to collapse
The wiping cache part is actually a part of odin download process. Everytime when you flash a new firmware in odin, the odin bootloader will invoke some scripts stored in /cache within recovery mode, and then wipe out these scripts / the whole partition as they are no longer needed.
However the wiping /data part is actually an essential part of firmware update and you should do it on your own if you are using CWM based firmware. This is because if you flash a firmware via odin, the data partition gets wiped after the device rebooted.
tbh it should be safe if you didn't wipe the /cache partition but not for the /data partition. Just some usls scripts and T9DB left behind in /cache. But incompatible binaries may still stays in /data if you didn't wipe it.
Sent from my GT-I9103 using xda app-developers app

Newb Warning - I softbricked my P3110

I started experimenting with my old P3113 last night and ran into a bit of a problem. I successfully rooted using Odin 3.09, verified with root checker. I also successfully flashed TWRP 2.8.7.0 via Odin. All root and TWRP install/flashes were successful via Odin.
Following these instructions: http://forum.xda-developers.com/gal...m-dhollmen-lollipop-5-0-2-2015-02-02-t3020849
I downloaded the Dhollmen-P31xx-Kernel_20150215.zip and saved to the Download folder on the tab. From TWRP I ran a wipe and installed the .zip. I reboot the device and I am returned to TWRP recovery. TWRP tells me that the installation was successful however the log says "no MD5 file found". Does this have anything to do with why my device isn't booting properly? I've rooted other devices and flashed ROM's before but I don't understand what I missed on this one. Do I just need to try a different ROM? For reference I am still able to access download menu.
Any help would be appreciated!
Well, the "no MD5 file found" just means TWRP cannot verify the MD5 hash of the ZIP file - that's actually a security meassure to ensure the ZIP file didn't get damaged during download or transfer onto the tab.
Now ... once you flashed TWRP (which you obviously already successfully did) and flashed the Kernel (which you obviously also already successfully did) it would be about time to flash the actual Dhollmen ROM that goes along with the Kernel ... I doubt the Kernel will boot up your vanilla Samsung stock ROM.
In short (haven't read the ROM thread nor did I ever use Dhollmen, so check back to make sure it's about right): Download the ROM, download the GApps package for the ROM and download the Superuser package (if not already included in the ROM) of your choice. Put the files onto either a FAT32 formatted SD card (if you can't put them into the NAND "SD card" partition at the moment) or onto a FAT32 formatted USB stick (given you have a USB-OTG cable), plug it in (if you use a USB stick make sure your tablet is CHARGED!), boot into recovery and flash the files in one go ... ROM, Gapps, SU.
Run a wipe (Data and Cache) when everything is flashed to nuke any left-overs from the Stock ROM and reboot to system.
Keep in mind the first boot can take quite some time ... don't panic if the boot animation "just sits there" for 5<->15 minutes.
Easiest way would be to actually use a ROM that doesn't require a extra Kernel ... like Android-Andi's CyanogenMod 12.1 or Omni ROM 5.1 (use the 3110 versions for your 3113).

Please help: stock AOSP Download manager! REALLY NEED IT

Dear developers and xda member!
I flash cook rom to my Sharp 303SH, the developer of this rom is from China so he removed all component relative to Google services, included Stock Download Manager!!
Right now I cant down load anything from Google Play, it appear the downloading bar and continue suffering unlimitedly.
I had tried many Download manager from 3th party but it only does help on normal download from browser.
My phone is running Android 4.2.2, so I think stock AOSP download manager can help on this!! PLEASE, COULD SOMEONE PLEASE HELP ME EXTRACT STOCK AOSP 4.2.2 DOWNLOAD MANAGER and upload it to any host? Please help me I got only this phone and really need it work correctly
Any comment and help instruction pass by is highly appreciated!! Thanks in advance!!
[email protected] from Cambodia.
This is backup stock rom (rooted, TWRP ready):
https://www.fshare.vn/file/WF67ALSVUBSO
Prepare:
Download the zip file of Backup, extract it and copy folder content 1970-xx-... into your IMEI folder within BACKUPS folder of TWRP on SD card (TWRP\BACKUPS\YOUR_IMEI\1970-xx-...)
How to restore:
1. Boot into TWRP recovery
2. TWRP ==> Wipe => Advance Wipe (make sure that Dalvik cache, System, Data, Cache and Secure Android has been checked)
3. TWRP ==> Mount ==> uncheck "Only mount system read-only"
4. TWRP ==> Restore

[GT-I9505] Flash Stock-Custom Roms & Useful Links

THIS THERAD WILL NO LONGER BE UPDATED. TAKE A LOOK ON MY UNIFIED GUIDES/COLLECTION​
CLEAN & DIRTY FLASH STOCK OR CUSTOM ROM
Note: These guides have mostly specific links for the S4 GT-I9505 Roms TWRP, Modems & Bootloaders but the steps are the same for all other S4 Models - You just need to find specific Roms,TWRP, Modems & Bootloaders for your device model. You can take a look at "Usefull Links" section below.
THIS IS A COMPLETE GUIDE FOR THE BEST CLEAN INSTALL OF A CUSTOM OR STOCK ROM FROM THE SCRATCH:
1*. Download a stock LOLLIPOP Rom from here or here (doesn't really matter which country you will choose, just be sure to download one of the latests firmwares-recommend is QK1 or PK2) and recommend is latest QK1Modem / QK1Bootloader or PK2Modem / PK2Bootloader. For the all others Modems/Bootloaders, you can find them here. Also Download a windows program Odin. Next, move all your personal data such pictures,music etc from your internal storage to your external sd card or to your pc.*
2*. If you are going to flash a Custom Rom, Download the Custom Rom you want (Recommened any JDC Roms of your preference), Pico or Nano Gapps (or Super Gapps if you have a custom gapps-confg file) be sure you have choosed Platform: ARM and the proper android version of the rom you are going to flash) [If the Rom you want to flash include Gapps, no need to download and flash any Gapps at all] and the latest Magisk for root. After you finished with downloads move your Custom Rom,Magisk,Gapps to one folder in ur external sdcard. *
3. Reboot to Download Mode(power button+vol.down+home button) and Flash TWRP 3.3.1-1 or JDC TWRP 3.3.1-0 via Odin. (You put the .tar file in AP)
4*. Reboot to TWRP Recovery (power button+vol.up+home button) go to Advanced-File Manager-external_sd and delete all folders on ur ext sd card (For example you should delete: Android, .android_secure, LOST.DIR, DCIM, etc) except your personal files/folders and the folder with your custom Rom/Magisk/Gapps you want to flash. *
5. Now still on TWRP select Wipe-Format Data and type yes-then go back and press-Advanced Wipe-Select Dalvik / ART Cache, System, Data, Internal Storage, Cache and then Swipe to Wipe.
6. Now Boot to Download Mode(power button+vol.down+home button) and Flash Stock LOLLIPOP Rom via Odin. (You put the file in AP section)
7*. When Stock Rom is Flashed go to Odin again,
Reboot your device to Download Mode, connect it to PC and put Modem(CP Section) Untick Auto Reboot in options, flash it and reboot your device to system by holding Power Button.
Then Reboot to Download Mode again, put the Bootloader(BL Section) and do the same steps as before.
Check what Modem and BL you have, if Modem and BL didn't changed do the same steps again.
If for some reason Odin fail to flash, try to change USB Port in your PC and don't move the cable during flash. Also if you have Odin and the files on an External hard drive, move Odin and all the files you want to flash to your C: drive.*
8. Now Reboot to Download Mode once again and Flash TWRP 3.3.1-1 or JDC TWRP 3.3.1-0 via Odin. (You put the .tar file in AP)
9. Reboot to TWRP(power button+vol.up+home button) and do the steps 4. and 5. Then flash your Custom Rom--->Magisk--->Pico or Nano Gapps (or Super Gapps if you have a custom gapps-confg file) (If Rom doesn't include).
10. Let the Rom boot and Install Magisk Manager manually if it's not preinstalled. Enjoy!
1*For Stock Rom to have your WiFi working you need to have the same version of Modem/BL as your Firmware. For example if you have PK2 Stock Rom then you need to have PK2 Modem/BL.
On Custom Roms doesn't matter. You can have any of the latest Modem/BL you want but recommend is QK1.
If you want to use KitKat Rom custom or Stock you should flash the proper KitKat Modem/Bootloader. It will not work if you have Lollipop.
2*Skip the step 2. if you are going to flash only Stock Rom.
4*Each app on your phone with the WRITE_EXTERNAL_STORAGE permission may create files or folders in ur sdcard. Most of these folders have once been created by one of these apps and many of them may be deleted with a few exceptions (e.g. Android, .data, .android_secure, these contain important system or app data like a game's downloaded content):
.android_secure: apps installed and then moved to sdcard
Android: app data/cache
data: app data
.estrongs: ES file manager
LOST.DIR: sort of trash folder (collects recovered files after phone crashes)
DCIM: phone gallery's photos and previews
OTA-update: Over The Air update service
ppy_cross: an unknown third-party app's data.
So I recommend to delete them so you can put your phone/sdcard in a clean state and is guaranteed to be able to re-create these folders.
7*If you wanted only to flash stock Rom you done on step 7. If you have any problem with Force Close Apps etc go to Settings->Accounts->Backup and reset->Factory data reset.
***** You can follow the same steps for other variants too but you need to find and choose the proper Firmware-Rom/Modem-Bootloader/TWRP for your variant. *****
THIS IS A COMPLETE GUIDE FOR CLEAN INSTALL OF A CUSTOM ROM BUT NOT FROM THE SCRATCH:
1. Download the custom Rom you want (Recommened any JDC Roms of your preference), Magisk for root solution and Pico or Nano Gapps (or Super Gapps if you have a custom gapps-confg file)[If the Rom you want to flash include Gapps, no need to download and flash any Gapps at all], be sure you have choosed Platform: ARM and the proper android version of the rom you are going to flash. Then move all those files to one folder in ur sdcard.
2*.Reboot to Download Mode(power button+vol.down+home button) and Flash TWRP 3.3.1-1 or JDC TWRP 3.3.0-0 via Odin. (You put the .tar file in AP)*
3.Reboot to TWRP Recovery (power button+vol.up+home button), go to Advanced-File Manager-external_sd and delete all folders on ur ext sd card (For example you should delete: Android, .android_secure, LOST.DIR, DCIM, etc) except your personal files/folders and the folder with your custom Rom/Magisk/Gapps you want to flash.
4. Now still on TWRP select Wipe-Format Data and type yes-then go back and press-Advanced Wipe-Select Dalvik / ART Cache, System, Data, Internal Storage, Cache and then Swipe to Wipe.
5. Flash your Custom Rom--->Magisk--->Gapps.
6. Let the Rom boot and Install Magisk Manager manually if it's not preinstalled. Enjoy!
2*Skip the step 2 if you already have TWRP Recovery installed.
THIS IS A COMPLETE GUIDE FOR DIRTY INSTALL OVER YOUR CUSTOM ROM:
1. [Optional]Make a full nandroid backup., just in case something goes wrong. You can use TWRP to do that. (TWRP-->Backup-->Select everything)
2. Uninstall all Substratum overlays if you have any installed.
3. Remove previous root solution with Magisk Unistaller and optional UnSU to ensure all root remnants are gone. (TWRP-->Flash the unistaller.)
4. Reboot to TWRP and Wipe system, cache and art / dalvik.
5. Flash the Rom-->Magisk-->Gapps.
6. Reboot and Enjoy!
***** I've skipped some explanations, because if you are going to dirty flash, you already know for example how to boot to TWRP . *****
USEFUL LINKS (USB DRIVER, TWRP, ODIN, PIT FILES, ROOT-MAGISK, FIRMWARES, MODEMS AND BOOTLOADERS)
SAMSUNG USB DRIVER
If you have a problem while plug-in the device to your PC and PC can't recognize it, you may miss the Samsung USB DRIVER. To fix follow these steps:
1. Download SAMSUNG USB DRIVER.
2. Unzip it and install it to your PC.
3. Connect your device and done! Now should be ok.
TWRP
Download the TWRP version for your specific model of your device HERE.
Installation Process:
1. Without any custom recovery installed on your device: Download the .tar file of the version you choosed.
Reboot to Download Mode(power button+vol.down+home button) and Flash the TWRP version you choosed via Odin. (You put the .tar file in AP)
Done!
2. With TWRP already installed to your device (UPDATE to latest version): Download the .img file of the version you choosed.
Reboot to TWRP(power button+vol.up+home button) and press Install--->Install Image--->Navigate to .img file you downloaded before---->Flash.
Done!
ODIN
You can download ODIN HERE
PIT FILES
GT-I9505: You can find the link HERE. Flash it in Odin at PIT tab.
ROOT - MAGISK
You can root your device via MAGISK. Just download the .zip from HERE and flash it in TWRP.
SAMSUNG FIRMWARES
You can find all Samsung Firmwares HERE or HERE.
Just search for your device model.
MODEMS & BOOTLOADERS COLLECTION
GT-I9505:
Latest Modem QK1Modem
Latest Bootloader QK1Bootloader
You can find most of the Modems & Bootloaders HERE. Just search for your device model.
Steps:
1. Open Odin
2. Reboot your device to Download Mode, connect it to PC and put Modem(CP Section) Untick Auto Reboot in options, flash it and reboot your device to system by holding Power Button.
3.Then Reboot to Download Mode again, put the Bootloader(BL Section) and do the same steps as before.
4. Done! Check what Modem and BL you have, if Modem and BL didn't changed do the same steps again.
If for some reason Odin failed to flash, try to change USB Port in your PC and don't move the cable during flash. Also if you have Odin and the files on an External hard drive, move Odin and all the files you want to flash to your C: drive.
Some explanation:
- For Stock Rom to have your WiFi working you need to have the same version of Modem/BL as your Firmware. For example if you have QK1 Stock Rom then you need to have QK1 Modem/BL.
- On Custom Roms doesn't matter. You can have any of the latest Modem/BL you want but recommend is the latest QK1 for GT-I9505 or the latest for your variant.
Great Tutorial, thanks @Retrial!
I wanted to ask if you could add some additional hints, e.g. like you did in response to a question of @InTheY2K here:
https://forum.xda-developers.com/showpost.php?p=78100797&postcount=2175
Then I realized, you've already done so. Thanks again!
But I've got some additional questions:
In step 4 you describe how to clean external sd. In step 5 you advise to clean internal storage. But if you wipe internal storage, all personal data (e.g. downloaded files, music etc) is lost. Wouldn't it be sufficient to delete the same folders as on external sd card and leave the personal folders?
In step 6 you flash an actual lollipop rom, in step 7 modem and bootloader. I thought an actual stock rom comes with modem and bootloader, so that a separate flash of modem and bootloader would not be neccessary. Am I wrong?
As this is a guide for clean flash, one could not expect to find information about a dirty flash . But I think, this is the best place to at least leave a hint to a place where this information can be found. I remember @Buff99 has one for his roms. @Buff99, @Retrial - wouldn't it be a good idea to add this information directly or as a link to this description?
Additional question: When reading the post with my beloved i9505 and XDA Labs I can't see the colour difference in the asterisks, they all look the same. Perhaps you can replace them with additional ones (meaning *, **, ***) or list your remarks with the corresponding number from your main list (meaning 1), 2) etc.)
pocketrule said:
In step 4 you describe how to clean external sd. In step 5 you advise to clean internal storage. But if you wipe internal storage, all personal data (e.g. downloaded files, music etc) is lost. Wouldn't it be sufficient to delete the same folders as on external sd card and leave the personal folders?
We are doing the best clean install from the scratch so the internal storage must be wiped. You should move all your personal data in your sdcard before you wipe. I will add it as clue to the guide.
In step 6 you flash an actual lollipop rom, in step 7 modem and bootloader. I thought an actual stock rom comes with modem and bootloader, so that a separate flash of modem and bootloader would not be neccessary. Am I wrong?
That's not exactly true. If you have an old modem/bootloader and u flash for example PK2 firmware, you will not have same Modem/BL as ur firmware and then ur WiFi etc will not work. Flashing Stock Rom doesn't change them. You need to separate flash them.
As this is a guide for clean flash, one could not expect to find information about a dirty flash . But I think, this is the best place to at least leave a hint to a place where this information can be found. I remember @Buff99 has one for his roms. @Buff99, @Retrial - wouldn't it be a good idea to add this information directly or as a link to this description?
Hmm yeah this guide is for clean flash, but probably I will say something for dirty flash too.
Additional question: When reading the post with my beloved i9505 and XDA Labs I can't see the colour difference in the asterisks, they all look the same. Perhaps you can replace them with additional ones (meaning *, **, ***) or list your remarks with the corresponding number from your main list (meaning 1), 2) etc.)
Maybe the xda app has some issues. I've added numbers near asterisks, I guess it can help. Thanks for feedback.
Click to expand...
Click to collapse
Thanks mate, I've answered with green color under ur questions.
Up
Update:
Added recommendation for JDC Roms
Added JDC Roms Universe Link
Added JDC TWRP 3.3.0-0 Link
Updated Visual Color Titles for each guide
Updated some Links.
Updated some steps in the guide "clean install not from the scratch"
Update:
Added note that other S4 Models can follow the same steps.
Added Usefull Links Section with quick guides.
Visual changes on Titles
Update:
Added PIT Files section with links at "Usefull Links"
Minor general changes at steps.
Update:
Change the recommended Modem/ Bootloader to the latest QK1.
Added links for recommended Modem/Bootloader for GT-I9505 (latest QK1 links) at "Usefull Links" section.
Added steps with explanation how to flash Modems/Bootloaders at "Usefull Links" section.
Update:
Changed the steps of flashing Modem and Bootloader and added an additional tip.
Will this firmware work with T-Mobile Galaxy S4? (SGH-M919)?
varunkp said:
Will this firmware work with T-Mobile Galaxy S4? (SGH-M919)?
Click to expand...
Click to collapse
No, FQA1 should be the latest for your variant.
However, all the steps in my guide are the same for all variants. You just need to find the latest Firmware/Modem/Bootloader/TWRP for your variant.
Retrial said:
No, FQA1 should be the latest for your variant.
However, all the steps in my guide are the same for all variants. You just need to find the latest Firmware/Modem/Bootloader/TWRP for your variant.
Click to expand...
Click to collapse
Where can I find the latest FQA1 firmware other than SamMobile? The firmware from that website is only available for premium members.
EDIT: I couldn't find the FQA1 firmware in SamMobile. Where else can I find it?
varunkp said:
Where can I find the latest FQA1 firmware other than SamMobile? The firmware from that website is only available for premium members.
EDIT: I couldn't find the FQA1 firmware in SamMobile. Where else can I find it?
Click to expand...
Click to collapse
Try from here.
Retrial said:
Try from here.
Click to expand...
Click to collapse
Thanks. It's now downloading ?
Update:
Updated Firmware Links
Updated TWRP Links
Updated PIT File Link for GT-I9505
I am working to reform-rewrite from the scratch the guides these days. I will unified the guides with adding the latest "stuff", links for all variants, change some steps and more
EDIT: NEW UNIFIED THREAD HERE
Mod Edit
Thread closed at the request of the [OP]
malybru
Senior Moderator

Categories

Resources