yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S 4 Android Development] justinhforsyth:
Has anyone encrypted their data partition on their S4?

If so, are you able to decrypt using TWRP?

I'm not able to. I've tried over and over again.

I'm assuming this is an issue with the bootloader encryption? Anyone have a clue?
[AT&T Samsung Galaxy S 4 Android Development] cjkacz:
On Verizon S4 anyone know how I can get TWRP backups to save to my SD card? It appears to save right to the phone even though when I go to Rootexplorer it shows up under SD Card
[AT&T Samsung Galaxy S 4 Android Development] hyghonryce:
Theres a SD card and a " SD card "

One's the internal "SD card " the other one is the external .
[AT&T Samsung Galaxy S 4 Android Development] CPA Poke:
I'm having the strangest thing happen...I pushed the original build (xxxx.1) via the instructions in the OP, and then I downloaded the newer version (xxxx.2) and installed via GooManager. The next time I booted into recovery, I had the newer version as expected. But then the next time I went into recovery, it had reverted back to the previous build.

I think I may have restored a nandroid backup in between, is it possible that the nandroid included the first build of the recovery? Or am I just going insane?
[AT&T Samsung Galaxy S 4 Android Development] cjkacz:
how can i get them to save to the external sd card. It's like 4gb per nandroid.
[AT&T Samsung Galaxy S 4 Android Development] hyghonryce:
dont know but you can just move it manually.
[AT&T Samsung Galaxy S 4 Android Development] cjkacz:
actually it's easier than I thought! In twrp there is an option for internal sd card and micro sd card. Thanks for the help!!
[AT&T Samsung Galaxy S 4 Android Development] scott14719:
You should have the option to save to SD card on the interface. It should break the file up as needed (different archives) to fit the storage requirements of a Fat32 SD card.
[AT&T Samsung Galaxy S 4 Android Development] jawonder:
When you select backup in TWRP do see under "Set Backup Names " and "Refresh Sizes" the word "Storage" ?, if so click on Storage and select "Micro SDCard" the backups would then be on your SD Card .
[AT&T Samsung Galaxy S 4 Android Development] antde201:
After flashing this recovery I seem to have lost the ability to connect to wifi. Scanning does show wifi sources, but it doesn't appear to be able to obtain IP addresses from any source. Anyone else run into this issue or know of a fix?
[AT&T Samsung Galaxy S 4 Android Development] geoldr:
The recovery is on a separate partition and shouldn't ever affect your ROM.
[AT&T Samsung Galaxy S 4 Android Development] antde201:
Yea I thought it was odd as well. Can't be too sure what ultimately caused it, but under scrutiny it would appear that this was the only change made at the time. I'll research some connectivity troubleshooting.
[AT&T Samsung Galaxy S 4 Android Development] jawonder:
I just want to let you know that Backup is restored ok , i just flashed AOKP then wiped and retored my stock Backup .
[AT&T Samsung Galaxy S 4 Android Development] scott14719:
Thank you.
[AT&T Samsung Galaxy S 4 Android Development] Will822:
I am unable to restore my app thru Titanium. Keeps telling to go into settings and check off unknown sources or something like that.
[AT&T Samsung Galaxy S 4 Android Development] scott14719:
Did you do it?
[AT&T Samsung Galaxy S 4 Android Development] Will822:
yes. i found the setting.
[AT&T Samsung Galaxy S 4 Android Development] jawonder:
Seems Titanium has backuped you apps on the stock rom in a different location from where the rom you are using would back it up, go into Tianium settings/backup/location and click on search entire device . Then it should find where your backup is, if that does work then use a file explorer i use root explorer and go into - mint/extSdCard and copy the Titanium folder over to your sdcard then open titanium and see if it finds it, if not then point it to the sdcard in backup location . You might have to do a reboot before it finds the Titanium . When it finds it click on use the folder or location .
[AT&T Samsung Galaxy S 4 Android Development] Norcalz71:
took awhile to download when I clicked install openrecovery script. When it did finish, it paused for a second and then gave an error message that "unfortunately goo manager has stopped". I tried again and got the same error (although the download was much faster).

I then went to "reboot recovery" and when it rebooted, I was in TWRP...so I assume all is well? I am in the process of doing a nandroid right now, hopefully despite the "goo manager stopped" error, I am good to go? Thoughts?

EDIT: Nandroid says complete, backup size is 2.92GB and I have installed NOTHING with the exception of goo manager and root checker, taken maybe 10 pictures. and logged into my google account. Nothing else other than calls texts. Sound about right?
[AT&T Samsung Galaxy S 4 Android Development] alacrify:
It's your phone, but considering that stock takes over 6 GB off the 16 GB space, sounds about right with compression...
[AT&T Samsung Galaxy S 4 Android Development] russiandivxclub:
Amazing work guys and Custom Recovery without unlocked bootloader !

One question, what is primary diffirence between having bootloader unlock + custom recovery vs what we have now ? I mean what limitations we have right now that out bootloader is locked. Out Device is rooted and Custom recovery installed. With custom recovery we can install Custom Roms that are "modified" (aka LOKI) to work with out locked bootloader, I see already CM available to install for ATT i337.

Anyone can explain ?
[AT&T Samsung Galaxy S 4 Android Development] mocsab:
It happened to me today - I flashed a rom - made a backup and then flashed a different rom - I got an error message saying I did not have Superser installed - and asked me if I wanted to install it - I realize now that I should have said no - but I said yes - and it apparently tried and failed - then it rebooted and I had lost the ability to get into recovery and I could not boot the phone - it got stuck on the "Unlocked Screen" with custom under it,.

I had to odin back to original - reroot - reinstall Loki - and start over. I know better now if it happens again - I will also try to keep flashing to a minimum - to avoid problems.
[AT&T Samsung Galaxy S 4 Android Development] Easton999GS:
We can do about anything i believe except screw with radios and custom bootloaders.
[AT&T Samsung Galaxy S 4 Android Development] karelson:
Hey,

what is the difference between OP and what romracer posted?
[AT&T Samsung Galaxy S 4 Android Development] Underst8:
OP is easier. you just click a menu item in Goo. However for many including myself it was not a sure thing. I tried several times, rebooting between, and never got twrp. Romracer's method is a sure thing but not as easy and you could mess something up.

What I ended up doing is just repeatedly installing it in Goo without restarting in between. Eventually I noticed a difference. Before, it would install and then a small toast at the bottom of the screen saying recovery is installed appeared and i'd reboot and twrp wouldn't be there.

In repeatedly tapping install, I noticed that before that toast you need to see a larger notification in the middle of the screen that actually says "installing recovery" or similar. Then the toast. Then you actually know it worked.
[AT&T Samsung Galaxy S 4 Android Development] Moose0704:
Just wanted to let everyone know, I lost my IMEI today and still without it, trying now to find a way to get it back, not looking so good. From what I have been reading it may have been caused by the recovery so wanted to give a heads up and make sure everyone backs up their efs folder! I screwed up and do not have a backup to go back to so I am looking all over the place right now to find a way to fix this, again not looking good for me, do not make my mistake :(
[AT&T Samsung Galaxy S 4 Android Development] devlmaycry81:
Any plans to add auto loki in the next release?
[AT&T Samsung Galaxy S 4 Android Development] hamzer11:
Please be more specific what you did in steps so no one else lose it. Was it working and then you lost the IMEI? I flashed recovery and an give for now but can you tell me the location of what to back up so I can, just in case. Also would a nandroid restore that?

Edit: found the folder and saved a copy to my extSD. Still curious what steps you took.
[AT&T Samsung Galaxy S 4 Android Development] justinhforsyth:
Fair warning:

TWRP 2.5.0.2 cannot decrypt a data partition encrypted by the stock Samsung ROM. I can't speak for other ROMS.

I had to reflash stock with ODIN to get around this issue. I couldn't just factory reset, because wiping was impossible with TWRP without data access.
[AT&T Samsung Galaxy S 4 Android Development] budeone:
This is really cool.. I am getting ready to root a s4 and I have my fav recovery here also.. This day just got better!
[AT&T Samsung Galaxy S 4 Android Development] Norcalz71:
Curious before I potentially mess something elde up, what is the data encryption/decryption you reference here? I assume its something I would have manually done prior to flashing the new recovery?

Also, how does one "lose" their IMEI? How do you know when its lost? Do you just need to do a twrp backup including thr EFS section to protect yourself
[AT&T Samsung Galaxy S 4 Android Development] Rotary Parts:
Hey this does have the loki in it so you flash it right from goo manager!! the release you talk is this release!! :cool:
[AT&T Samsung Galaxy S 4 Android Development] Thermalwolf:
That was not the question... The question was does TWRP auto loki files like OUDHS Recov. The answer is NO, it does not auto loki. All kernels and recovs flashed from TWRP must be loki patched. Are there plans? No idea...
[AT&T Samsung Galaxy S 4 Android Development] Rotary Parts:
oh ok i see yeah i don't know if dees- troy will do that or not. good question sorry thought you were talking about something else!! :cool:
[AT&T Samsung Galaxy S 4 Android Development] Thermalwolf:
Wasn't even my question but I included who did ask it in the reply so they will see it but in any case it should help you understand better as well so you will be able to help the next person along :D
[AT&T Samsung Galaxy S 4 Android Development] dxwilliams40:
My nandroid was over 4 gbs. Wow.
[AT&T Samsung Galaxy S 4 Android Development] nacos:
It happened to me as soon as I have installed the root (Motochopper exploit), which also injects the Superuser (CWM) - although, obviously it was installed. I thought something may have gone wrong during the installation so I did it again - but with the same result. I have ignored the error and installed the SuperSU (chainfire). Once the newly installed SuperSU was given superuser access (by the currently installed Superuser), I have uninstalled the original. Never had any problems since and I have installed/wiped/restored a few times now with TWRP 2.5.0.0, then 2.5.0.1. Keep in mind, though that I'm using the Canadian SGH-I337M, which originally came with an unlocked bootloader. It seems it makes a whole load of difference.

---------- Post added at 07:37 PM ---------- Previous post was at 07:33 PM ----------

Can you provide more details? Would you recall what may have caused losing your IMEI? How did you figure out you lost it?

Most importantly, if the EFS and Preload partitions are also included in backups, can they do any harm when restored? Should they be included, anyway?

Thanks!

---------- Post added at 08:11 PM ---------- Previous post was at 07:37 PM ----------

As far as installing the latest TWRP 2.5.0.2, same here. It took really long to download (about 3-4 min) but it installed right away, without any problems.

As for the size of a backup, I have installed about 200 apps and the total size of a backup (Boot + System + Data) = 3.4GB. That's why I have NEVER considered the HTC One or any other phone not having external SD support. Only 3 nandroid backups = 10-12 GB. Go figure!!
[AT&T Samsung Galaxy S 4 Android Development] metlmangreg:
I installed TWRP through Goo Manager this evening and it is working very well, but now I am a little worried about my imei. Loving my new S4, although my Cappy was doing pretty good too running The Collectives Aocp 5.6.:)
[AT&T Samsung Galaxy S 4 Android Development] Moose0704:
The option to backup the efs folder is not checked by default like the old TWRP I am use to from my Galaxy Note II so it did not back it up so I had no way to restore and fix my issue, I was able to take it back and exchange it for a new one so I am good now, but make sure you ahve that checked so this does not happen to you in the future!
[AT&T Samsung Galaxy S 4 Android Development] karelson:
Will auto loki option be available for this recovery?
[AT&T Samsung Galaxy S 4 Android Development] Norcalz71:
Is the twrp backup of the efs partition (is it actually a partition?) What one would need to prevent an imei problem, or is there just an efs folder accessed via root that should be copied to a safe place as regular files?
[AT&T Samsung Galaxy S 4 Android Development] yungskeeme:
I just rooted using the MotoChopper method. When I go into GooManager and hit OpenRecovery Script it closes and message says "No recoveries where found for your device".
[AT&T Samsung Galaxy S 4 Android Development] KroniK187:
I'm having the same problem....
[AT&T Samsung Galaxy S 4 Android Development] metlmangreg:
I installed through twrp and when I hit Open Recovery it asked if I wanted to download from Play Store.
[AT&T Samsung Galaxy S 4 Android Development] yungskeeme:
I've tried to go to the goomanager site through the Internet and tried to download the recovery in the op. Nothing. Starting to think the site is down. Anyway someone can post the img file and instructions on how to flash manually?
[AT&T Samsung Galaxy S 4 Android Development] KroniK187:
Tried it again just now and the app is currently downloading the openrecoveryscript. Looks like it's back up and running.
[AT&T Samsung Galaxy S 4 Android Development] hyghonryce:
Working great
[AT&T Samsung Galaxy S 4 Android Development] padlockedtight:
Hey there:D

I have the previous version of twrp and judging by the size of the change log:eek:would like to upgrade. Could someone give me any advice as to how to achieve this? Thanks:)

Sent From The Dark Side
[AT&T Samsung Galaxy S 4 Android Development] geoldr:
Really dude? Read like 2 posts back...

Root. Goo manager from play store. Menu key. Install open recovery script.
[AT&T Samsung Galaxy S 4 Android Development] padlockedtight:
Point taken.
[AT&T Samsung Galaxy S 4 Android Development] sk8trix:
I keep having an issue where every time I try to backup my whole stock ROM the back up fails.....any ideas why?
[AT&T Samsung Galaxy S 4 Android Development] Intellectua1:
Thanks for the heads up.. Just made a fresh backup with the efs folder included... Wish I would've known about this before I installed Xposed, now I will no longer have a fresh Stock Root backup, my new backup will include the changes I've made with Xposed settings.. Do you know if I can just make a backup of the efs and flash it after I flash my original stock root backup.. sorta like you do with ROM and GAPPS??
[AT&T Samsung Galaxy S 4 Android Development] padlockedtight:
Found upgrade in goomanager app and downloaded, got popup telling me new version installed. Rebooted into recovery, still have 2.4.. Although new version now in goo manager folder in file explorer it doesn't show in recovery. If I try and install open recovery in goo, I get no recovery found. I have read previous posts but my noobiness isn't helping:( Apologies if this has already been asked. I now have to reboot twice before keys work. Please tell me what I'm doing wrong

Many thanks.

Sent From The Dark Side
[AT&T Samsung Galaxy S 4 Android Development] freebee269:
if you want a fresh backup of stock efs, use kies to go back to stock and then do the OTA update to umdl. (assuming you're at&t)
[AT&T Samsung Galaxy S 4 Android Development] padlockedtight:
Sorted it.

Sent From The Dark Side
[AT&T Samsung Galaxy S 4 Android Development] RiNo808:
I got a question, has there been a new update making TWRP auto Loki now?
[AT&T Samsung Galaxy S 4 Android Development] reup247:
Yes, you should be fine just restoring the efs partition after restoring your original backup (if you need to do so).
[AT&T Samsung Galaxy S 4 Android Development] spectrumfox:
I would like to know this, too. OUDHS 1.0.3.4 auto-Loki's and I would love it if this recovery would as well.
[AT&T Samsung Galaxy S 4 Android Development] djmouse:
is anyone else having problems with twrp recovery im on version 2.5.0.2 having problems backing up told me my data was 483 gbs not enough space then i had it tell me superuser wasnt installed , keeps freezing ,when ever i flash something and reboot it sticks on the custom icon screen sometimes for ten minutes then it will boot sometimes it wont boot anyone esle having these issues?
[AT&T Samsung Galaxy S 4 Android Development] SkipKelley:
I was having similar problems, but cleared caches, fixed permissions then rebooted and has been fine.
[AT&T Samsung Galaxy S 4 Android Development] sholsten:
I have the Loki'd recoveries but they don't seem to install non-Loki'd roms. What is the proper way to do this?

I also cannot install the Task 650 Rom with anything.
[AT&T Samsung Galaxy S 4 Android Development] wonner:
I'm not 100%, but flash the ROM then flash a Loki´d kernel immediately after. (Like Gapps)
[AT&T Samsung Galaxy S 4 Android Development] sholsten:
I can't get that far. It fails as soon as I start the flash.
[AT&T Samsung Galaxy S 4 Android Development] wonner:
You have the AT&T S4 , I337?
[AT&T Samsung Galaxy S 4 Android Development] sabre31:
For task650 rom you need to use this recovery to do it.

http://xdaforums.com/showthread.php?t=2291956

Doesn't work with twrp :silly: I agree but the dev does not Loki his rom and said it only works with the above recovery.

I wish twrp would do auto Loki best recovery out there.
[AT&T Samsung Galaxy S 4 Android Development] djmouse:
version 2.5.0.2 is auto loki
[AT&T Samsung Galaxy S 4 Android Development] sholsten:
Yes Its in my sig.
[AT&T Samsung Galaxy S 4 Android Development] wonner:
Sorry, I can't see sigs in tapatalk.

Are you on the latest version of TWRP?
[AT&T Samsung Galaxy S 4 Android Development] djmouse:
i just restored a back up,as soon as i booted i went right to goo manager booted to recovery, just did a reboot from there and boom **** froze?

---------- Post added at 05:05 PM ---------- Previous post was at 05:02 PM ----------

there isnt any non loki roms for att yet that i know of i guess you could install one change the kernels and apns and all of that build props whatever but then you gonna run into problems i can garunteee im having problems with a loki recovery and a loki rom
[AT&T Samsung Galaxy S 4 Android Development] sholsten:
I had that recovery on it for 2 days. It would go a little farther but then it failed on it too.
[AT&T Samsung Galaxy S 4 Android Development] djmouse:
how do you uninstall twrp ? ive never had to do this before but i have to
[AT&T Samsung Galaxy S 4 Android Development] sholsten:
OK. Sorry I didn't realize. :highfive:

Yes, I installed the latest TWRP through goomanager.
[AT&T Samsung Galaxy S 4 Android Development] RiNo808:
So is it confirmed that the latest TWRP is auto Loki?
[AT&T Samsung Galaxy S 4 Android Development] mocsab:
I had the same problems with TWRP the only fix I was able to do is to install the OUDDS recovery with Auto Loki - it has worked every well for me ever since - I don't have any of the issues I was having with TWRP - (I also got error messages about No Super user when I was on Twrp - when I was finished flashing a ROM and trying to boot the phone again)

I believe you can usually install a different recovery over the one you have installed already but I don't know if that will work in this situation - To be honest, I actually started over - I went back to full stock using Odin - then re-rooted and using adb installed OUHDS recovery. I wish TWRP had AUTO LOKI too - but to my knowledge, that has not happened yet.

Good Luck...
[AT&T Samsung Galaxy S 4 Android Development] sabre31:
It does not have auto loki as far as I can tell which sucks. I don't think it will have auto loki.
[AT&T Samsung Galaxy S 4 Android Development] Kasdarack:
Can't we as end users just run the Loki patched on ROMs ourselves and then install?
[AT&T Samsung Galaxy S 4 Android Development] sabre31:
Yes you can if you wanted. The Loki thread had steps on how to do it.
[AT&T Samsung Galaxy S 4 Android Development] scott14719:
attn1 posted this. I have not tried it, but it seems it might simplify things.
[AT&T Samsung Galaxy S 4 Android Development] topdawg661:
Goomanager doesnt want to find the recovery?
[AT&T Samsung Galaxy S 4 Android Development] pokedroid:
so... is it taking anyone else a really really really long time to make a backup? I'm over 30 minutes and it's still not done yet :/

update: I just looked at the timestamp it's at 00:37 (time is off), but is now showing 01:57 on the clock at the top of the screen now so I'm over an hour and this thing is still backing up :(. can I just turn the phone off and reboot? Now that i have my EFS file backed up I want to go back to cmw but I'm afraid to stop the backup process.
[AT&T Samsung Galaxy S 4 Android Development] geoldr:
It takes a while. For me system data and boot took around half an hour. Creates a 1.5 GB file
[AT&T Samsung Galaxy S 4 Android Development] russiandivxclub:
I have rooted ATT i337 device and I installed custom recovery with GooManager. With that in mind I have few questions.

1. Will I be able to upgrade/update my custom recovery ? Right now I have TWRP can I install CWM ?

2. What is this LOKI thing ? Do I have it with my TWRP ?

If there a quick tutorial with this question answered ?

Thx guys
[AT&T Samsung Galaxy S 4 Android Development] scott14719:
Yes, you should be able to flash one over the other as long as it is a custom recovery that is made to work with your phone.

Using the search function would probably be the best way to find more information about this. Many issues you might encounter have already been discussed so you will be better off reading as much as you can before you try anything and run into similar issues.
[AT&T Samsung Galaxy S 4 Android Development] karelson:
This recovery has auto loki for roms, but no auto loki for karnels. That is why some roms faill flushing. Unless the karnel is lockied. The other recovery auto loki both the rom and karnel. Correct me if I am wrong?
[AT&T Samsung Galaxy S 4 Android Development] scott14719:
From what I understand:

1. At this point and time TWRP will not auto-loki anything. It just doesn't.

2. Only the recoveries and kernels need to be loki-fied. ROMs do not need it unless a kernel is included in the ROM.

3. OUDHS CWM does auto-loki.

4. Flashables, such as Loki-Doki, make it all easier if usingTWRP.
[AT&T Samsung Galaxy S 4 Android Development] Bigtjmc:
So is it OK to delete the factory back up since I backed up my custom ROM ? Or good idea to keep both?
[AT&T Samsung Galaxy S 4 Android Development] padlockedtight:
Id keep both ;) never know, you might have to revert back to stock One day.
[AT&T Samsung Galaxy S 4 Android Development] russiandivxclub:
All right in this case I see reason to go to special CWM version. How do I go from what I have TW. to CWM ?
[AT&T Samsung Galaxy S 4 Android Development] stevehkim:
Just go to the oudhs recovery thread. Theres a zip file containing the auto loki recovery in the OP of that thread. Flash it in recovery as you would any zip file. Reboot recovery and your gtg.

ATT S4 Rooted. Beastin.

4.2.2
[AT&T Samsung Galaxy S 4 Android Development] Jonnyredcorn:
I'm running TWRP and flashed a TMobile ROM wicked and then flashed Ktoonez's kernel immediately after. I believe ktoonez's kernel is Loki'd so if you're on twrp you can flash any ROM as long as you flash Ktoonez's kernel afterword. His kernel is already awesome for this phone. Even with stock settings I'm getting awesome battery life and performance.

Sent from my Galaxy S4
[AT&T Samsung Galaxy S 4 Android Development] apascual89:
There's a 2.5.0.3 available. Anyone know the change?