[ROOT][SHV-E300L]How to obtain root permissions on 4.4.2 NG8 or higher [9-27-14] - Galaxy S 4 General

Ok, I've been searching a lot on how to root these device and haven't found a single working root method for the latest firmware on the Korean variant specifically [L] variants. I haven't tested on other devices, so i can't guarantee that it will work on yours too.
So I spent hours experimenting on my Phone, good thing I didn't bricked it and no side effects received from rooting.
DISCLAIMER: Rooting your phone will void your warranty, and can be dangerous. Root at your OWN RISK!
Note: this will tick ur KNOX counter!
Things you needed are: (Links added)
1. Cofface S4 recovery: http://d-h.st/TLT
2. Odin (Already Included in cofface s4 recovery)
3. SuperSU flashable zip (For Permanent Root) : http://download.chainfire.eu/supersu
Steps:
1. Copy the flashable supersu zip on your memory card. (i put mine on /android/obb since the recovery cant see it in other folders.)
2. Flash cofface s4 recovery.tar via Odin, flash it as PDA or AP on latest versions of Odin.
3. After flashing the recovery.tar it will automatically reboot to the recovery (dont use the root/unroot method included in the recovery. IT WILL NOT WORK ON LATEST FIRMWARES!)
4. while in recovery choose install from sd card and flash the supersu zip that you downloaded.
5. Wipe Dalvik (just to make sure)
6. Reboot & Enjoy.
Other variants, if you try this method please do report back so we will know if it works on your phone models too.
Thanks To:
Cofface for the recovery
Chainfire for SUPERSU

Related

[ROOT] [T230NT] - Tab 4 - Latin American (WIFI+DTV) - Philz Advanced CWM Method

This is my first post so... be gentle with me and my english.
CONFIRMED WORKING ON MY TAB 4 7"
SM-T230NT (WIFI + DTV) - Brazil
What you need:
A SM-T230NT with Firmware version - T230NTVJU1ANE3 or T230NTVJU1ANJ1
@moonbutt74 Philz Advanced CWM port
http://forum.xda-developers.com/tab-4/development/recovery-philz-smnu-t2980094
Latest SuperSU CF-Root:
http://download.chainfire.eu/396/supersu/
Let's begin!
1. Put the Latest SuperSU CF-Root into your SD Card.
2. Download Philz Advanced CWM and follow the flashing instructions:
BUT: In odin uncheck the "Auto reboot" option.
3. Reboot into recovery manually (Power+home button+Volume up).
4. Once in recovery go to "Install zip", find the CF-Root file and confirm the installation.
5. Click Reboot System Now.
6. Once back into the System open SuperSU you are going to be prompted to disable Knox. Click yes to disable.
5. Once finished reboot you Tablet.
6. All Done!
Big thanks to @moonbutt74 for compiling a Philz Advanced CWM Recovery
and @thisisapoorusernamechoice for providing the Firmware
Firmware files for both versions mentioned in the OP: T230NTVJU1ANJ1 and T230NTVJU1ANE3 in case anyone needs. Congrats and good work on getting this rooted, it's always best when everyone is able to root their devices :good:
Thanks!!!!
Works fine on firmware version T230NTVJU1ANJ1_T230NTZTO1ANJ1
Ola...poderia me enviar uma custom recovery, twr ou cwm para o modelo, galaxy tab 4 sm-t230nt ?
The Files for SM-T230nt Philz 6.59 [QCOM/MSM] is unavailable
Erus Tyrannus said:
This is my first post so... be gentle with me and my english.
CONFIRMED WORKING ON MY TAB 4 7"
SM-T230NT (WIFI + DTV) - Brazil
What you need:
A SM-T230NT with Firmware version - T230NTVJU1ANE3 or T230NTVJU1ANJ1
@moonbutt74 Philz Advanced CWM port
http://forum.xda-developers.com/tab-4/development/recovery-philz-smnu-t2980094
Latest SuperSU CF-Root:
http://download.chainfire.eu/396/supersu/
Let's begin!
1. Put the Latest SuperSU CF-Root into your SD Card.
2. Download Philz Advanced CWM and follow the flashing instructions:
BUT: In odin uncheck the "Auto reboot" option.
3. Reboot into recovery manually (Power+home button+Volume up).
4. Once in recovery go to "Install zip", find the CF-Root file and confirm the installation.
5. Click Reboot System Now.
6. Once back into the System open SuperSU you are going to be prompted to disable Knox. Click yes to disable.
5. Once finished reboot you Tablet.
6. All Done!
Big thanks to @moonbutt74 for compiling a Philz Advanced CWM Recovery
and @thisisapoorusernamechoice for providing the Firmware
Click to expand...
Click to collapse
The files for "SM-T230nt Philz 6.59 [QCOM/MSM]" are unavailable, could someone send a valid link to me ??
Sorry, I no longer have the files or the tablet.

Installing 3.1 OTA update with custom recovery

Ran into this issue as I'm running a custom recovery and couldn't flash the update. Took the time to figure out how to do this properly as I couldn't find any existing set of instructions and I'm sure some people will want them.
WARNING: Flashing this update WILL reset root and the recovery partition. These steps restore both. Restoring custom recovery will require a PC with ADB installed as I was only able to find the raw .img file and not a flashable .zip.
1). Download full update zip by navigating to Settings > About tablet > System updates > Check full update (http://i.imgur.com/ozGBzKZ.png)
2). After update is finished downloading, navigate to /data/data/com.nvidia.ota/files/ROM (I used Root Explorer) and move the downloaded update to either your internal or external storage card. DO NOT TAP THE NOTIFICATION THAT SAYS TAP HERE TO INSTALL UPDATE!
3). Download flashable SuperSU.zip from http://download.chainfire.eu/supersu
4). Download CWM recovery.img from http://forum.xda-developers.com/shi.../recovery-cwm-recovery-nvidia-shield-t2848064
5). Reboot recovery
6). Make a nandroid backup in recovery first before doing anything
7). Flash full update archive (DO NOT REBOOT AFTERWARDS)
8). Flash SuperSU archive (this will restore root)
9). Follow instructions at http://forum.xda-developers.com/shield-tablet/development/root-root-lollipop-t2945044 to use dd to restore custom recovery through adb shell.
10). Wipe cache/dalvik
11). Reboot!
In the off chance that you screw something up and need to force your tablet back into recovery mode manually, the button combo is Power + Volume Down. Also, I was able to dirty flash (not wipe data first) and everything seems to be working fine. As far as the update goes, audio/wifi is working without issue and if anything, the tablet seems more responsive (doesn't slow down/lock up as much). I literally pounded out these instructions after getting my tablet updated so I haven't had a chance to mess around with it much yet.

[GUIDE] Install custom ROM without computer

Hello everyone. I have come up with a lazy way to install custom ROM (such as Cyanogenmod) in *most* phone (I tried this on S3mini and Galaxy MEGA). Please note that this method moght not work on your phone and I am not responsible for bricking your phone.
Things you need:
-Your phone, fully charged
-Your precious time (About 30-60minutes)
-One click root app (I use Kingroot, download it with apk) (You may use other apps, of course)
-TWRP manager from playstore
-ZIP file of TWRP in latest version (V3?)
-ZIP file of the custom ROM matching the version of your device
-ZIP file of GApps matching the version of the custom ROM (Google for gapps and download it)
Steps:
1. Backup your personal information
Copy your personal information such as music, photo, documents out of your phone (e.g.: Cloud drive, USB, SD card). Safety first.
2. Root your phone
Download Kingroot and install the apk with package installer. Run the app and follow the instruction in the app to root.
3. Install TWRP manager
After rooting, install TWRP manager. In the app, install TWRP that match your device.
4. Create a backup for your phone
Boot your phone into recovery (Every phone have different method, so please google about this). In TWRP, press 'Backup' to create the backup.
5. Flash the latest version of TWRP
As the TWRP manager does not offer the latest version of TWRP, you have to flash the latest version by installing ZIP. The latest version of TWRP can install ROM with higher success rate.
To do this, press 'Install' in TWRP. Find the ZIP file of TWRP in latest version and install it.
6. Reboot your device to Recovery mode
7. Wipe your device
In TWRP, press 'Wipe'. Select Cache, Dalvik Cache, System and Data partition and wipe them.
8. Flash custom ROM
In TWRP, press 'Install'. Select the Custom ROM ZIP and install it.
9. Flash GApps
Most custom ROM does not have Google apps such as play stote, so you have to install it.
In TWRP, press 'Install'. Select the GApps ZIP and install it.
10. Wipe Cache and dalvik cache
In TWRP, press 'Wipe'. Select Cache and Dalvik Cache partition and wipe them.
11. Reboot your device
Now the ROM should be properly installed. First boot might take longer, so please wait patiently.
Shall you brick your phone, try to recover by using backup created in step 4.
PS: I am a newbie here and this is my first guide
While you have to wipe your device to flash the custom rom, it will wipe your data, including the actual Gapps and rom. This shows that your method won't work.

Root SM-G361F / NOT PRE-ROOTED FIRMWARES

I found this method while messing around and found it actually works!​
So you want to download this TWRP provided, and although it says 'sm-g361h' it will work for 361f
Instructions:
1. Download odin and connect phone.
2. In the AP file put the twrp tar file
3. Once installed transfer the update.zip to your sd card.
4. Reboot into TWRP and flash update.zip
Done! You are completed.
Sorry that this might not be the best looking thread.
does this actually work to install TWRP on the 316F ?
no download link ?
I have tried all the possible methods, and I have not yet managed to complete the root on the aforementioned phone. why is it so hard?

[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