Installing TWRP - AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin

So I know this place isn't really active anymore for obvious reasons but I have been trying get this phone to work better.
Android Version: 4.4.2
Carrier: ATT
Baseband: NB1
Locked Bootloader
I used odin to install this package: ALL_ATT_I337UCUFNB1_I337ATTFNB1_505595_REV06_user_low_ship_MULTI_CERT.tar
I rooted with towelroot and have verified the ability to use root applications
My question is whether or not I can install twrp or do i have to use safestrap.
My end goal is to install a custom rom. https://forum.xda-developers.com/galaxy-s4-att/orig-development/rom-team-octos-oct-n-t3532663
Although at the end of the day I will be more than willing to settle for any stock rom if its easier to attain. i.e. 4.4.2 - 7.1
There are so many threads with differing information, some accounting for "loki" or something. im not really sure what's going on. Another issue is that most of the devs aren't even active on xda anymore. I think the only active one from here is @jd1639 So i'm asking you for help specifically since you don't accept pms. Thank you
Edit: I tried to install twrp with the twrp manager and although it flashed, I get an unauthorized software error from ATT. I will use odin to fix it but I still am asking if there is a solution for the twrp issue.

Man, it's been a long time since I answered any questions on the S4, and I never did own the device. But to my recollection you can not use twrp. You need to use safestrap. I don't know if you found this, https://forum.xda-developers.com/showthread.php?t=2926642. I'm also not sure if @guut13 is still active but he was the real expert. @audit13 can also help.
Sent from my [device_name] using XDA-Developers Legacy app

If the phone sgh-i337 is running a stock 4.3 ROM or newer, the bootloader will be locked which means the phone cannot use any custom recovery other than SafeStrap. This also means that the phone cannot run a custom ROM unless the custom ROM is based on a stock s4 ROM.

Related

[Q&A] [RECOVERY LOCKED] Safestrap Recovery v3.71/v3.72 [2014-04-02 KK Beta]

Q&A for [RECOVERY LOCKED] Safestrap Recovery v3.71/v3.72 [2014-04-02 KK Beta]
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer. Thanks for understanding and for helping to keep XDA neat and tidy! :smile:
HELP!!!
I'm disabled & have a hard time typing. Please bear with me.
I have a Galaxy S4 Smart(DUMB) AT&T connected piece of crap cell phone that I hate.
I've installed towel root & when I try to make it rain I get a window saying that it is not supported on this phone. I've also got a message from a root checker saying that the GD phone is "not properly rooted"!!!
I have NO PATIENCE with Computer Syntax & I don't own or want a computer.
I'm barely able to follow 1/10th of the postings that I've read!
Look, I just want to jailbreak & FREE-UP this F%#King phone so I can get rid of the constant pop-ups & 300+ apps that R running in the background!
CAN SOMEBODY PLEASE HELP ME!!!
What are the use for the rom slot? Can I flash aosp roms in it? Thanks.
Removing SELinux
Once I've installed SS 3.75, is it safe to remove SELinux Mode changer?
kujo1b09 said:
Once I've installed SS 3.75, is it safe to remove SELinux Mode changer?
Click to expand...
Click to collapse
The ss app may force close if you remove it. But you no longer need mode changer at all if using the latest ss v3.75-A01.
Thanks!
Which Safestrap for Bell/Virgin Galaxy S4 NE1 4.4.2
I have a Galaxy S4 SCH-I337M with stock 4.4.2 LUFNE1
I rooted with towel root and installed super user.
I want to install safestrap (I assume my bootloader is locked bc is says write protected when in download mode)
I dont see any versions for NE1 just NB1,MK2,MF3, not sure where to proceed from here.
safestrap i337 nj4
Does safestrap work on i337 on nj4? If so, which version? I have never rooted and am on latest 4.4.4 nj4.
Safestrap on NE2(Telcel Mexico)
I didnt notice the automatic updates on my new S4 and it upgraded over the night while i was sleeping, so now im stuck with 4.4.2 (KOT49H.I337MUMUFNE2) ... I was wondering if there is support for safestrap with this rom, or is there a way to downgrade without loosing 4G and WiFi.
Thanks.
Edit:
Greetings, i have installed safestrap 3.72 and succesfully made a rom slot in my phone, saddly, when i try to install a ZIP file with a custom ROM, it says it succescully installed the ROM and then when i try to restart, it boots with a clone of the main stock ROM ... Any idea why this is happening?. Also i must point out that im trying to install Cyanogen Mod 11, the lastest nightly for the jflte ... Im wondering if i should try with the version for the jflteatt.
any updates for this thread on using 4.4.4 NJ4?
Hey first great work this is my first post so i apologize if this has been answered or if this thread is no longer valid. My question is does SafeStrap work for NJ4 4.4.4?
Yes...I'm on ss 375 with 444
Lollipop support?
I know that it might be a huge effort, but what is required to support lollipop?
Looks like users with TWRP can flash some kernels as long as they are based in the stock kernel and still in locked bootloader.
Looking at this thread: http://forum.xda-developers.com/showthread.php?t=2292341, ktoonsez was able to to provide kernel for AOSP lollipop using CWM or TWRP. Can this also be done for Safestrap?
This might also require ROM modifications to support safestrap, but again, what is required.
I have some basic-medium programming skills and relatively new to Android but willing to collaborate for whatever is required, just point me to the info I need to learn and I'll do my best to help.
memo_droid said:
I know that it might be a huge effort, but what is required to support lollipop?
Looks like users with TWRP can flash some kernels as long as they are based in the stock kernel and still in locked bootloader.
Looking at this thread: http://forum.xda-developers.com/showthread.php?t=2292341, ktoonsez was able to to provide kernel for AOSP lollipop using CWM or TWRP. Can this also be done for Safestrap?
This might also require ROM modifications to support safestrap, but again, what is required.
I have some basic-medium programming skills and relatively new to Android but willing to collaborate for whatever is required, just point me to the info I need to learn and I'll do my best to help.
Click to expand...
Click to collapse
If you have true TWRP, that means you have an exploitable bootloader, even if it's still locked. The only way you could get lollipop on a stock kernel for Safestrap users is if we get an official Lollipop stock kernel. If you've got evidence to say otherwise, sharing would be good. Otherwise, Safestrap doesn't allow the flashing of kernels since they won't work, and the only other possibility is using a kexec module to load an alternate kernel from disk after the phone starts up. This module is actually being worked on, and if you want to ask about it go to the verizon S4 General section and look for the "if we are serious" thread.
Bootloop when using ROM slots?
I've attempted to use the recovery several times now. If I use the Stock ROM slot to flash the ROM (Goldeneye v49.2) I can't get back into SS recovery once it flashes. If I use the ROM slots, I get stuck in a very laggy bootloop. PLEASE HELP?
I'm using Galaxy s4 SGH-I337 on 4.4.2
Baseband version UCUFNB1
NK1 wi-fi modules.zip (Safestrapped Hyperdrive MOD installed) which one?
Hi, I've got an sch-i545 verizon gs4 with Hyperdrive Rom running on it (yay!) but need the Modules.zip file for NK1, which seems to be the least used version of Verizon's locked bootloader phones.
If you or someone could point me towards a modules.zip for NK1?
THANK YOU FOR ALL YOUR WORK!!!
J
Timelourd said:
Hi, I've got an sch-i545 verizon gs4 with Hyperdrive Rom running on it (yay!) but need the Modules.zip file for NK1, which seems to be the least used version of Verizon's locked bootloader phones.
If you or someone could point me towards a modules.zip for NK1?
THANK YOU FOR ALL YOUR WORK!!!
J
Click to expand...
Click to collapse
Best place to start would be the Verizon S4 forums and not the AT&T S4 section. Look for any index type threads or something there.
Guys. I need some help. I just installed Safestrap 3.75 on my S4 but when I boot into recovery the time is all wrong its off by like an hour and 20 min. Time zone is correctly set. Anyone have any ideas?
safestrap splash screen is too big
I download safestrap successfully and when I reboot the system safestrap splash screen pops up. But I don't see the menu key on the splash screen. Also I noticed that splash screen is too big and to my phone and I'm stuck on the splash screen. I can't do any thing. If I go into recovery it will goes into moto boot screen and stay there forever.
Please help me.
My phone is rooted Razr HD
Thanks.

[Q] Some fairly Noob Clarifications (TWRP/CWM/MDL Related)

Purchased my S4 at launch, only rooted it and never really got around to tweaking it much. It has slowed down a bit so now is the time.
I'm on MDL, stock 4.2.2, and rooted with TWRP 2.5.0.2 On to the questions/clarifications, hopefully these aren't egregious. I know the info is out there but for actually finding specific information, the xda forums are a bit overwhelming and sometimes conflicting...
1) Recovery - Latest/preferred recovery for the s4 (on MDL) with auto-loki baked in? Are any of the latest versions of TWRP/CWM dangerous/incompatible or can I just install the latest/greatest with ROM Installers and go from there?
2) Modem - Flashing an updated modem, regardless of ROM/OS # should not break anything and/or lock down the bootloader any more so than it already is at MDL, correct? Updating the baseband will have no effect on the build # and thus loki is still and option (versus safestrap)? Preferred modem at this time? (ATT, SF Bay Area)
3) ROMS - Any ROM, followed by loki patch or flashed via an auto-loki capable recovery should be fine, correct? Is a ROM specifically built for safestrap applications and thus would not work with MDL, or are ROMs noted as being safestrap ready just able to be used via safestrap, but loki as well?
4) Hard to keep track of all the ROMs and the builds and branches etc - Can anyone point me in the right direction of either a) the latest stock touch-wiz 4.4.4 ROM that can be flashed over MDL without essentially updating past MDL? b) the best/most recent pure google (Play Store S4 Edition) ROM, same story with not breaking MDL?
Again, I apologize I am sure the info is all buried in here somewhere, it just gets to a point where pointed questions rather than multiple 500+ post threads are hopefully less likely to brick my phone. Ideally I just want to get on the latest software (and enable screen casting, for one). Assuming it comes quick enough, once I get this process down I will probably make the jump to 5.0 when it is ready, anticipate a couple months? Who knows.
Thanks, much appreciated.
Norcalz71 said:
Purchased my S4 at launch, only rooted it and never really got around to tweaking it much. It has slowed down a bit so now is the time.
I'm on MDL, stock 4.2.2, and rooted with TWRP 2.5.0.2 On to the questions/clarifications, hopefully these aren't egregious. I know the info is out there but for actually finding specific information, the xda forums are a bit overwhelming and sometimes conflicting...
1) Recovery - Latest/preferred recovery for the s4 (on MDL) with auto-loki baked in? Are any of the latest versions of TWRP/CWM dangerous/incompatible or can I just install the latest/greatest with ROM Installers and go from there?
2) Modem - Flashing an updated modem, regardless of ROM/OS # should not break anything and/or lock down the bootloader any more so than it already is at MDL, correct? Updating the baseband will have no effect on the build # and thus loki is still and option (versus safestrap)? Preferred modem at this time? (ATT, SF Bay Area)
3) ROMS - Any ROM, followed by loki patch or flashed via an auto-loki capable recovery should be fine, correct? Is a ROM specifically built for safestrap applications and thus would not work with MDL, or are ROMs noted as being safestrap ready just able to be used via safestrap, but loki as well?
4) Hard to keep track of all the ROMs and the builds and branches etc - Can anyone point me in the right direction of either a) the latest stock touch-wiz 4.4.4 ROM that can be flashed over MDL without essentially updating past MDL? b) the best/most recent pure google (Play Store S4 Edition) ROM, same story with not breaking MDL?
Again, I apologize I am sure the info is all buried in here somewhere, it just gets to a point where pointed questions rather than multiple 500+ post threads are hopefully less likely to brick my phone. Ideally I just want to get on the latest software (and enable screen casting, for one). Assuming it comes quick enough, once I get this process down I will probably make the jump to 5.0 when it is ready, anticipate a couple months? Who knows.
Thanks, much appreciated.
Click to expand...
Click to collapse
I will try to help with a few of these questions, but others I am not familiar with very much. On that note DO NOT update your bootloader!!! It will be locked down further and Loki will NOT WORK. And you could NOT flash any kernels with safestrap. So with safestrap ONLY the stock kernel can be used. Now on to your questions...
1) I am using TWRP 8.1 if I remember correctly. You can find it in the Original Android Development section. It does NOT Auto Loki, so keep the loki-doki flashable zip on your sdcard OR use Roms that already have/use the boot.Loki kernels like ShoStock-i 8.1
2) Modem flashing will NOT lock anything up further as far as the bootloader. You can flash ANY or ALL of them from my modem thread. See which works BEST FOR YOU in YOUR AREA. I am in So Cal and the best for me has been either MDL. But I have and do test ALL of them. You can always flash back to whichever one works best for you.
3.) Like I said I use ShoStock-i 8.1 because it has and does EVERYTHING I need my phone to do and does it without any issues. I have NOT tried to use a Safestrap modified ROM so I have very little experience with that. Normally most devs will have two separate versions, one for safestrap compatible and one for us without safestrap. ShoStock-i is already built with Loki in the kernel so you do not NEED to flash Loki-Doki patch.
4) there are NO Touchwiz 4.4.4 Stock Roms for ATT yet. But I did try out one of the Touchwiz 4.4.4 T-Mobile based Roms and it worked perfectly. You can either get it from the ATT forums and I believe it is already lokified, or get it from the T-Mobile forum and make sure to flash Loki-Doki patch before booting up phone after flashing the ROM. Again the will NOT update your bootloader past your MDL bootloader, so you are good as you are with no worries. By the way on ShoStock-i 8.1 the screen casting to Chromecast works PERFECTLY without having to flash any other .apk's or mess with ANYTHING
This is the exact same boat I'm in. Trying to track down the answers as well. Will keep an eye here as well to watch for answers.
awesome reply thanks RockRatt, that just about covers it. I will maybe give the ShoStock ROM a go and see how I like it. As long as all the normal features are working fine, I should be good.
One last thing I forgot - Odin. I have the stock odin firmware files from when my phone was new (The MDL package). As long as I dont update the bootloader, I should be able to Odin back to the brand new in box state should something go awry or not dig the other ROMs, correct?
Thanks again,
Norcalz71 said:
awesome reply thanks RockRatt, that just about covers it. I will maybe give the ShoStock ROM a go and see how I like it. As long as all the normal features are working fine, I should be good.
One last thing I forgot - Odin. I have the stock odin firmware files from when my phone was new (The MDL package). As long as I dont update the bootloader, I should be able to Odin back to the brand new in box state should something go awry or not dig the other ROMs, correct?
Thanks again,
Click to expand...
Click to collapse
Yep. Just don't update the bootloader...So no flashing newer firmware that contains the bootloader files. Most if not all custom Roms do not have the bootloader files in them. So no problem flashing back to MDL stock if the need never arises. I still in fact have the original MDB bootloader installed that came with the phone before the MDL firmware update.

New to I337 somewhat confused

New to the I337. AT&T with NC1. Android 4.4.2. Stock ROM with the 3.4.0-1125940 kernel. Rooted, SE Linux permissive, Safestrap installed. Compared to other phones I have owned, rooted and installed custom ROMS for this one is way more complex.
Today I tried to Safestrap flash a couple of different ROM's- the Goole Play edition (jflte GPE) and the Lollipop 5.1 ROM 2015061jflte both times using Safestrap. Neither worked. In the case of the Google Play edition, it wanted to install a new kernel as well, I tried with the recommended kernel on the install GUI (wow an install GUI on Android). Both times stuck in a boot loop. I ended up using for the second time, the excellent information here
http://forum.xda-developers.com/galaxy-s4-att/general/guide-odin-to-stock-updating-rooting-t2926642
to get back to stock NC1 (thanks again guut13 for the excellent guide and links to resources) and restored via Safestrap the present stock configuration.
My questions are as follows (I am posting this after a LOT of reading here)
1)Can I use LokiDoki ? I understand it resolves problems with the locked boot loader where one can flash pretty much any S4 ROM on the I337.Is this true?
2) I wanted to give the two ROMS I mentioned today a try. Neither worked although I followed the instructions carefully (wipe, install and reboot). I also would like to try the Phoenix ROM. Is it compatible with Safestrap? Are the two I tried today compatible with Safestrap?
3) I am on 4.4.2. I understand that 4.4.4 is out there as well as 5 but when I check either via Kies or OTA I am told this is the latest firmware for my phone. Any way to update this?
As I said earlier this phone is a lot more complex from a modding standpoint than any other I have experience with. I am unclear on which ROM's will work with the NC1. Before I knew about Safestrap and the boot loader problem I tried installing TWERP and ended up having to rebuild things with guut13's excellent thread.
With NC1 am I stuck on the stock ROM ? Can kernels be updated on NC1 using LokiDoki?
Any light or advice to be shed on my confusion wold be very much appreciated.
Expat
Look at this other excellent thread started I by guut13,î answers all.
http://forum.xda-developers.com/showthread.php?t=2616221
Loki doki is not an option for you, and you can only install tw based roms.
Cats_PJ's
Thanks for the link. Have seen this thread. So I am on 4.4.2. So can I flash a 5.x ROM on the phone provided its TW --or does the phone have to be updated via OTH or another method to 5.x first? Or am I stuck on the ROMS specifically available on 4.4.2?
Thanks again very much for your interest and the link. Wish I had shopped more carefully and bought a non AT&T phone, one of the 5xxx models but I couldn't find anything other than the AT&T ones here in Ecuador.
Expat
http://forum.xda-developers.com/gal...-to-update-to-i337oc3-5-0-1-keeproot-t3075814
That will get you to 5.0.1. You can flash the lollipop roms after that.
I wish I had known more before I bought my phone too. Live and learn, I'm about do for an upgrade though. Good luck.
Cats_PJs said:
http://forum.xda-developers.com/gal...-to-update-to-i337oc3-5-0-1-keeproot-t3075814
That will get you to 5.0.1. You can flash the lollipop roms after that.
I wish I had known more before I bought my phone too. Live and learn, I'm about do for an upgrade though. Good luck.
Click to expand...
Click to collapse
Again many kind thanks for the help. This is the most complicated chain of BS to go through just to update a ROM thanks to the locked boot loader I have ever seen..... however you and others here deserve a lot of credit for finding workarounds...... the phone has been made needlessly complex with the BL and efforts by Google and AT&T to "protect" their turf and monetise the user. I would upgrade today were I not in Ecuador where everything costs double what it does in the US. The phone thief crop here is thick- this is the fourth phone in 2 years although the Galaxy Grand Prime I bought after the last robbery I still have. Broke the screen on that one and it was repaired improperly, I get a blank white screen on startup so can't get into recovery so its worthless to me for what I want it for..... so I have the S4 AT&T. Ah well.
Many thanks and enough of my *****ing.
Expat

Help! Verizon gs5 lollipop recovery

I just got the Verizon variant of the Galaxy S5 (SM-G900V). I rooted it very easily using odin without tripping knox; that was easy.
I then began looking for ROMs; which for this phone, isn't easy with the locked bootloaders.
I came across a custom ROM, forgot off the top of my head but may go back to retry loading it.
Because these devices have locked bootloaders, any ROM flashed to it will need to have a separate bootloader flashed as well. The aforementioned ROM had one and I understood why, but after I odin flashed the new bootloader, i kept getting a black screen. OK no biggie, factory flash, re-root look for another ROM, except this time, I'm looking for a pre -rooted factory ROM. I came across a lollipop one, 0A8, was hoping for 0G5, but will deal with that later. Of course the ROM had to have, I guess for lack of a better word, a custom bootloader, or index, to tell the phone it's okay to use this software right? So now have lollipop, but have lost TWRP on boot. I'm not sure as to why this has happened, but it's a real pain I want to install and use ROMs on this phone. If I need to downgrade to have TWRP, that's no big deal. So here I am a lollipop stock ROM, rooted wihout TWRP, ugh.
Is there anyone who can help me find a solution to this, it's driving me mad. I just want to have a recovery installed and the klte version won't install. It must be a lollipop thing, but I would love to have cm12.1 when it comes out. And why does this stupid script keep popping up while I'm trying to type this. Just thought I'd share my frustrations or see if there is a way to get TWRP on lollipop?
Thanks in advance.
Hello,
Welcome to XDA.
To better assist you, your thread will be moved to your device Q&A forum linked below.
http://forum.xda-developers.com/verizon-galaxy-s5/help
The experts there may be able to help. Good luck.
U cannot load into twrp or safestrap above the n12 kernal.
If you want to access your recovery, you could try loading the n12 kernal via odin. Then use your recovery. Then reflash the right kernal for your rom via Odin to return to loading status.
That's what I hear is possible- you sound like you can rebuild if u get in trouble.
As for CM - we don't have an unlocked bootloader so that's unfortunately killing it at this time. We are stuck on stock rooted TW roms, or slight variations of TW roms.
Sent from my SM-G900V using XDA Free mobile app

Rooted, but cant get further, it seems we have reached an impasse.

Hi guys, (sorry for the poor usage and terminology as I'm still getting acquainted with the rooting and custom rom culture)
BACKGROUND; I downgraded to Android 4.4.2 KitKat Baseband NB1, and from there rooted using towel root. This is an AT&T
SGH I337.
As stated above I'm running a rooted at&t s4 and I am trying to flash a custom rom on it. However after reading many tutorials and struggling, I've came to the conclusion that my MDL is preventing this from happening. I cannot seem to flash a rom no matter what application I use (I've tried Flashfire and TWRP with no luck) and on my most recent attempt to flash with TWRP the phone booted back to the same 4.4.2 kitkat interface and when I tried to access bootloader with home+volume up combo, a warning popped up and said secure fail kernel in the top right and in the center of the screen said "System software not authorized by AT&T found on phone." This made me come up with the conclusion that the MDL is preventing me from flashing custom roms. I've looked around and tried to find something to block the MDL, and the most common thing that pops up in the s4 forums is called Loki Doki, but I have yet to find a link that is not dead. So here I am with an s4 running KitKat which really sucks as I'm sure you guys can imagine.
That being stated, I would like some help on this and eventually be able to run a custom ROM. Any help is appreciated, Thanks !
Read the first few posts of this thread https://forum.xda-developers.com/showthread.php?t=2616221. It will give you information on what is possible and what isn't.
Sent from my ONEPLUS A3000 using Tapatalk

Categories

Resources