yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S 4 General] mattgyver:
You should be able to use the Official TWRP Manager app to flash the downloaded img file.

1. Download Official TWRP Manager app

2. Run it (obviously)

3. Tap Backup existing recovery, choose a folder to back it up to, and tap Backup Recovery - not required, but seriously, backups are lifesavers when things go wonky.

4. Go back to the main screen and tap TWRP Flash

5. It should see your device as jflteatt, if not, tap Select Device, and find jflteatt in the list. It may prompt about downloading the latest twrp from them. safely ignore it.

6. Tap Select a File to Flash and navigate to, and choose the patched twrp img. Tap Select (1).

7. Tap Flash to Recovery.

That SHOULD work. I don't see why it wouldn't, since the recovery partition is the same partition, regardless of WHAT recovery resides on it. I'll make a flashable zip file up. It may be easier, and faster :D
[AT&T Samsung Galaxy S 4 General] mattgyver:
TWRP/CWM Flashable ZIP added to the OP.
[AT&T Samsung Galaxy S 4 General] imrananis:
How to flash this recovery through pc? As i am on stock rom and recovery
[AT&T Samsung Galaxy S 4 General] mattgyver:
I guess first thing first:

are you rooted?

are you on one of the aforementioned bootloaders (check the OP to see how to find out)?

which carrier variant S4 do you have (ATT, VZW, or other)?

Have you EVER taken an OTA from your carrier?
[AT&T Samsung Galaxy S 4 General] neilpatel99:
My bootloader is I337UCUFNB1. My phone's rooted . Can I still install this and flash optimised lineage 16.0?
[AT&T Samsung Galaxy S 4 General] mattgyver:
Nope (to this recovery, at least). If you aren't on one of the bootloaders I mentioned in the OP, you're SafeStrapped and there are limitations to what you can flash.

Read HERE for info on SafeStrap, and what you'll be able to flash. I'm almost positive (iirc) safestrap means you can only flash stock-based ROMs.

I'll add the link to the OP. I figured someone on a different bootloader would ask eventually.. :D
[AT&T Samsung Galaxy S 4 General] raydantheman:
Hi, I have an S4 SGH-I337Z. I am rooted with skyfall OS and TWRP 2.8.4.0 and my boot loader is I337ZTUUBND3. I tried to install TWRP 3.2.3.0(via the ZIP method and the IMG method) so that I could install AOSP Extended Pie ROM but it put me into download mode. I, then, had to use ODIN to put the old TWRP 2.8.4.0 back in place so I could get back into TWRP recovery. Can someone please help me out and point me in the right direction?

Thanks! :)
[AT&T Samsung Galaxy S 4 General] mattgyver:
You can't use the Pie ROMs. Unfortunately, you're on a safestrapped bootloader, so you're limited to touchwiz-based ROMs. Look at my post directly before yours so that you can get all the information you need.
[AT&T Samsung Galaxy S 4 General] raydantheman:
Are you sure I'm on a safestrapped bootloader? The reason I ask is that I am on a Cricket device and not AT&T...Not sure if that makes any difference. :confused:
[AT&T Samsung Galaxy S 4 General] mattgyver:
Yes.

The I337Z (AIO / CRICKET GALAXY S4 / jflteaio) is a variant of the I337. Cricket is owned by AT&T. The I337M (Canadian) doesn't have similar limitations from what I've seen over the last few years..

Have a look at this thread: https://xdaforums.com/showthread.php?t=2634367. I can't find any evidence to the contrary that you are safestrapped.
[AT&T Samsung Galaxy S 4 General] raydantheman:
Okay here's an update on my progress. I finally found the TWRP 3.2.3-0 that works with the Cricket/AIO variant! To be clear and forewarned, I have only tested this process on the SGH-I337Z.

My bootloader version is I337ZTUUBND3.

Here are the steps:

1. First, go to the TWRP website and click on "Samsung Galaxy S4 (Qualcomm) (jflte)"

2. On that page, scroll down to "International, Americas & China:" and under that choose the "Primary (Americas)"

3. Download the .img file and then follow steps from the OP to properly update TWRP.

4. Done!

Note: I was able to flash a Pie ROM by installing this latest version of TWRP! Thanks to the OP and all the Devs here at XDA for all the hard work put into these custom ROMs and recoveries! :D:D:D :good:

Cheers!
[AT&T Samsung Galaxy S 4 General] mattgyver:
Awesome! I'm glad you were able to find a twrp variant that worked for you! The S4 has so many variant, it's eye-crossing confusing!:silly:
[AT&T Samsung Galaxy S 4 General] sulpher:
You sir, are a hero. :D
[AT&T Samsung Galaxy S 4 General] timj3371:
OK att i337

Do I just but use Odin to flash custom recovery or do I need to root it first

I know att is a locked boot loader

Thanks
[AT&T Samsung Galaxy S 4 General] mattgyver:
You need to unlock the bootloader first. Go to Settings > About Phone. Somewhere in there will be software version. If you're on lollipop (5.x) you most likely are already limited to safestrap ROMs. There are steps in the OP to check your bootloader version..

Have you ever updated your s4 i337 via the OTA system updates pushed by ATT?
[AT&T Samsung Galaxy S 4 General] timj3371:
I need to check

I have not checked in a drawer

At work till later

What should it be on

I let you know and respond here

Thank you for helping a veteran

---------- Post added at 11:45 PM ---------- Previous post was at 11:38 PM ----------

I have to look

What version should it be on

I am at work

I will respond here

Thank you for helping me
[AT&T Samsung Galaxy S 4 General] mattgyver:
Easiest way is what I put in the OP (first post):

Download terminal emulator and type in:

Getprop ro.bootloader

That will return your bootloader version. If NOT on either MDB or MDL, you're going to need to look at the OP and look at the link for safestrap. I don't know much about it. I just know you're going to be limited to stock-based ROMs if your bootloader doesn't end in one of the aforementioned letter combos above!
[AT&T Samsung Galaxy S 4 General] grantd:
I have an SCH-I545 (Verizon Galaxy S4) with TWRP 3.0.2 on the MDK bootloader. I tried the ZIP to update to 3.2.3 and it gave me an unsupported software warning, so I downloaded the TWRP 3.2.3 from TWRP website, loki_patch it, and flashed that version and it just got to "BOOTING RECOVERY" and sits there but never loads. Same happens for 3.2.1. Am I doing something wrong?
[AT&T Samsung Galaxy S 4 General] mattgyver:
Sorry for not getting on here sooner... Lots of sick people under my roof at the moment....

Let's me do some digging into it.

On your older TWRP installs, were you using Loki'd variants? Also what versions from the main website did you try?
[AT&T Samsung Galaxy S 4 General] grantd:
No problem, thanks for responding.

I have had to Loki the TWRP myself for a while, not sure how long and have used these directions: https://github.com/djrbliss/loki: loki_tool patch recovery aboot.img cwm.img cwm.lok

And then wrote it with DD via: dd if=/sdcard/newrecovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery

One thing I didn't try was grabbing a fresh aboot.img. I can give that a test tomorrow if you think it will make a difference. The one I have I grabbed in 2016 it seems when I went from TWRP 2.8.7.0 (which was pre-Loki by TWRP) to 3.0.2-0 (which was not Loki'd).

The version I tried was 3.2.3-0 from here: https://dl.twrp.me/jfltevzw/

But I also already had 3.2.1-0 downloaded but never upgraded and tried that as well. They both just sat at "BOOTING RECOVERY" and never seem to load.
[AT&T Samsung Galaxy S 4 General] mattgyver:
Hmmmm... It probably wouldn't hurt to try. I wouldn't be able to test it since it wouldn't load on my att s4. If that does work for you, let me know!
[AT&T Samsung Galaxy S 4 General] grantd:
No change. Probably need to reach out to the TWRP team to see if there is an issue with the base image

Seems I am not the only one: https://xdaforums.com/showpost.php?p=77302644&postcount=3
[AT&T Samsung Galaxy S 4 General] mattgyver:
:eek: that looks like it's a vzw variant issue... I know I had an issue with the ATT twrp variant which is why I went with JFLTEXX. I wonder if anyone else had an issue with mine and didn't say anything.. :confused:

[MENTION=5965446]StoneyJSG[/MENTION] did my loki'd twrp work for your ATT s4? That'd definitely make me lean towards thinking it's something with the vzw twrp..
[AT&T Samsung Galaxy S 4 General] grantd:
Well, I loki patched the JFLTEXX TWRP 3.2.3 and flashed it and it works. I can provide the VZW loki patched TWRP of JFLTEXX to you if you want to make an install ZIP version to post
[AT&T Samsung Galaxy S 4 General] mattgyver:
Yeah, that would work! I bet there's some aboot issue between variants for why it would work for one and not the other..

Much appreciated!
[AT&T Samsung Galaxy S 4 General] mattgyver:
[MENTION=2480989]grantd[/MENTION], if you can, can you test this zip https://www.androidfilehost.com/?fid=1395089523397937920 to see if it flashes the recovery successfully in TWRP? All the zip does is check your device model/product, and installs the recovery appropriate to it.

Make sure you have your loki'd img ready, just in case it doesn't, but it should work fine.
[AT&T Samsung Galaxy S 4 General] StoneyJSG:
[MENTION=4062149]mattgyver[/MENTION] I haven't tried it yet, I'm still on the old CWM recovery. If I could backup and revert back to CWM at will, I would give the loki TWRP a test run. However, I don't know how to do that.
[AT&T Samsung Galaxy S 4 General] mattgyver:
V2 zip throws an "invalid zip format" error for me.

If you have an ATT S4, you can use V1 zip and be fine. I'll get a zip solely for VZW around tomorrow. I'm still going to try to get my unified zip working, though, so it's a one-and-done download..

Heh heh....... stupid Windows. it zipped the folder and not the folder contents, so the zip was wrong. I'm going to reupload the corrected one shortly.
[AT&T Samsung Galaxy S 4 General] mattgyver:
Uploaded fixed zip. It was definitely my bad - zipping a folder instead of the content only... Whoooops :D

[MENTION=2480989]grantd[/MENTION] - at some point, please be my VZW S4 guinea pig and let me know how it goes. <3

[MENTION=5965446]StoneyJSG[/MENTION] - I would think the only way to go back and forth would be to have the CWM recovery zip and the TWRP zips on your phone. Then, you should be able to just flash the CWM zip from TWRP, and vice versa (TWRP zip from CWM).
[AT&T Samsung Galaxy S 4 General] grantd:
[MENTION=4062149]mattgyver[/MENTION] Flashed the 3.0.2-0 TWRP, rebooted to it, and then updated it using the ZIP and it worked. Back to 3.2.3-0
[AT&T Samsung Galaxy S 4 General] mattgyver:
And it told you your device and bootloader version fine?
[AT&T Samsung Galaxy S 4 General] grantd:
Yup
[AT&T Samsung Galaxy S 4 General] mattgyver:
Awesome! Thanks for your help testing that for me, and for getting it lokied for your variant! It never occurred to me about the aboot differences, but that had to be what got it working!
[AT&T Samsung Galaxy S 4 General] mattgyver:
So, right now, V2 zip works for both models. You CANNOT flash this a second time - it will fail because JFLTEXX twrp sets device model (only in recovery) to JFLTEXX obviously, so the check for jflteatt and jfltevzw will fail. I might remove the check for device model and just leave the bootloader check, since that will suffice to keep anyone from bricking anything!
[AT&T Samsung Galaxy S 4 General] jerryspring:
Mod Edit:. Please do not quote the entire OP.

Thank you.

How would I go about flashing a TWRP to my s975l? Is the bootloader locked?
[AT&T Samsung Galaxy S 4 General] Aqua1ung:
Would you consider building a LOKIed 3.3.1 version (the latest as of this writing)?
[AT&T Samsung Galaxy S 4 General] mattgyver:
I can do that. You'll have to give me a week. I'm at cub scout summer camp this week with my one boy, and my S4 is at home.
[AT&T Samsung Galaxy S 4 General] mattgyver:
That's the straight talk variant. I don't have any knowledge of that one. The best I can say is to look around the S4 Unified Development forum, and possibly just the i9505 forums and see if anyone posted about your variant there. I don't want to guess at steps and cause you to brick it.

---------

OP updated with 3.3.1-0 ATT IMG and ZIP files. The ZIP will check against your bootloader to determine which variant to install. Right now, only the ATT version is updated as I have the att s4 aboot.img. If someone gets me a link to the vzw aboot.img, I can update the VZW one as well.
[AT&T Samsung Galaxy S 4 General] Manjeet milak:
Hii
[Asus ROG Phone Questions & Answers] iStasis:
I currently have the Razer Phone v1 and want to purchase the ROG Phone but trying to filter and through the helpful and positive comments and the not so helpful ones but hard to get any.

Priority Stuff

1) Nice clear easy to read screen indoors and out

2) Bluetooth needs to be reliable as I am running high quality headphones and Android watch which can stay connected without dropping out. Range would be nice but not needed.

3) 4G Data connection is something I require so this needs to be good and provide decent speeds, I know its down to the phone and provider which isn't a problem on the current Razer phone but needs to be as good on my carrier in the UK.

3) Wifi Connection (5Ghz Supported and stable) my home is setup with a 5ghz network and get between 400mb to 866mb connection around the home.

4) Software needs to be smooth as from reading up someone people are having slow down and this isnt clear if its while using the phone in daily task's or just while gaming. I do not think that I will miss the 120FPS from the Razer to the Asus as my view is the ROG is amoled so brighter than RP1 but i hear the RP2 is a little better now and better for media which is what id prefer over gaming.

Games

Hearthstone

PokemonGo

Arena of Valour.

more than likely Diablo Immmortal when it comes out but spec should be fine.

Apps

General Google Suite including Youtube and Google Music (hense why i need stability on 4G)

Netflix

Various Social Media apps

If anyone has any good experience or positive feed back it would be appropriated as witin the UK its £100 off the 128GB model but need to get some advice on the above 1st along with talking to my network provider ThreeUK and Asus over connection and bands used and supported.

Not so fussy about the camera as long as it takes an ok picture but then again its a phone not and high end camera.
[Asus ROG Phone Questions & Answers] kgptzac:
i don't live in the UK and I have not tried razer phones, but if your current phone as working volte, and if you value volte as a service then you should be very careful with the rog phone, as it is very likely will not have working volte. Overall i think the rog phone will be a very incremental upgrade for you from your existing device, and unless you are really into buying the accessories from asus in the near future, I really see no reason you'd fork a fortune and get this phone.
[Asus ROG Phone Questions & Answers] iStasis:
For me and the way i use the phone its the screen quaility/brightness, speakers, battery and

the performance on day to day apps.

The bluetooth v5 is a huge difference with an improvement to the camera all compared to the RP1

I dont care about the sd card as 64GB is enough for someone with 1-4 games and apps only taking up a bit of space and im still left with 41GB as everything i do is in google drive or streamed which for me is how i work between the devices i have.

Its a little about the look and as i use other ROG products the phone does look amazing but this is very low on the scale for me. Ill wait back to hear about some technical concerns with asus and will more than likely pre order and give it a good 15 days test as my concerns are with the lack of LTE support right now. Hopefully ill hear back from them tomorrow.
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] pbk14:
Is there any ported oxygen os for vince?, I recently saw a video in which there is a ported oxygen os for note 5 pro so is there any for vince please tell me
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] goldbeard:
Good question. I would like to know as well
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] hussein1:
yes!
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] pbk14:
Can you link me pls
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] foxmonter:
I think is this one ...

https://xdaforums.com/redmi-note-5/development/rom-nitrogenos-pie-t3862742
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] goldbeard:
Oxygen is O2 and Nitrogen is N2 :D:D

Looking for the OxygenOS from OnePlus phones ported to vince.
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] Totone56:
As an ex Redmi 5 Plus user, and a new OnePlus 6 user, i agree, OxygenOS would be amazing. It's the best ROM i ever used, and i've been rooting and changing ROMs for 8 years, that means something !

Some things look very device-specific though, and RAM management is one of a kind (New feature on the 6T uses available RAM to store app data like a Ramdisk, but for this, you need huge amounts of it) but if a Pixel ROM can be ported to vince, why an Oxygen one couldn't haha !
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] hussein1:
OnePlus OS Phone:

Oxygen OS 8.1 Fully Stable for vince!!:D

Download Link:

https://drive.google.com/file/d/1SKgtKuLOP1uPENEzQ9CQXNi1FJBogNVx/view
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] hussein1:
Hahahahaha:mad:

---------- Post added at 01:39 PM ---------- Previous post was at 01:30 PM ----------

Do you need Huawei EMUI as well?

So:

Huawei EMUI 8.2 Fully Stable for vince!!!

Download Link:

https://mega.nz/#!NmJy1KRA!5fTVNRno0lMAzyyRclbesi7_N-4-1Kmxd6i_33sjNeY

First install this ROM

Based Treble ROM.

https://cloud.mail.ru/public/2b4a/s1PCxhxUa
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] goldbeard:
Awesome to hear :o:o how do i install the file :confused::confused:
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] hussein1:
1-Install MIUI 10

2-Install this rom https://cloud.mail.ru/public/2b4a/s1PCxhxUa

3-Download & Extract Oxygen os rom and copy to storage

3-go to twrp recovery and restore and selected oxygen folder

4- reboot system:good:
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] pbk14:
Thanks bro
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] Totone56:
Well, amazing haha !
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] XenaMoon:
gestures tab in settings menu keeps crashing any ideea what to do?
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] SubwayChamp:
Fist of all thanks for share these links, Can you explain the exact process to install:

- Emui

- OxygenOs

Emui is not booting, or stay in Android generic bootanimation or it redirects me to fastboot.

What I did.

- Flashed AOSP vendor treble based and rebooted to android.

- Rebooted to TWRP, deleted system (in other try not deleting it) and restored backup of system.

- Mount vendor and flashed patch-1 then patch-2, rebooted.

- it stays in Android and if I wipe dalvik and cache it redirects me to fastboot.
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] ibbi.ir7:
Can we try it with cardinal Aosp which we were using for pie gsi ?

And the procedure would be

1. Installing the Base rom (ur suggested or Cardinal Aosp)

2. And restoring the oxygen os backup (can we use orangefox recovery or only twrp treble)

3. Then rebooting to system

Is the above steps right ?
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] carpediemrf:
bug: on oxygen os, the headphone no detect in music player, any solution?
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] goldbeard:
I was never able to get this rom installed...i couldnt do the point 3, i dont see the oxygen folder listed when i try to restore...using Orange Fox recovery
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] SubwayChamp:
It´s a backup made with TWRP so only this recovery will detect the files
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] ibbi.ir7:
Emui doesnt boot, without flashing patches it ended up in boot loop and after flashing patches ( patch 1 always fail) it ended up in fastboot, dont know how the dev was able to boot it.

For Oxygen Os

* Battery hungry Rom

* Wired Headphones dont work

* Offscreen gestures dont work

* One plus camera dont work

But still i loved the Oxygen OS hopefully dev will give bug fixes.:svetius:
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] Pruthvish_pruthvi:
Fix for the bug is in the thread, go through it.

https://xdaforums.com/project-trebl...ly-roms/gsi-oxygen-os-5-1-6-boos4721-t3859240

---------- Post added at 06:45 PM ---------- Previous post was at 06:40 PM ----------

You can use any 3rd party app like footej camera but gcam takes only photos. There is a fix for wired headphones go through below link. for battery flash any kernal like universe kernal etc.

https://xdaforums.com/project-trebl...ly-roms/gsi-oxygen-os-5-1-6-boos4721-t3859240
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] July626:
its backup made on OrangeFoxRecovery. I know because I'm the author. I adapted this oxygen gsi for vince.
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] Ak8531526:
can u plz tell me the exact step by step procedure to install it ?
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] July626:
Download

Unzip in twrp backup folder

Go to twrp(ORWP or other) and restore system, boot, vendor

???

success
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] SubwayChamp:
Well, maybe you are the author of the GSI, (it´s a nice rom with a few bugs, I´m not using it actually) but the backup linked in the post #8 to which I referred before was made through TWRP, for this reason Orange Fox doesn´t detect it.

Originally backuped with TWRP:

I copied the files to Fox folder/BACKUPS directory:

And doesn´t appear (so it can´t) for OrangeFox (I have backuped Mi-Globe Rom)
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] DarthJabba9:
It doesn't appear in OrangeFox because it is still in the wrong directory. You need to move it into your "2ba..." directory (i.e., /Fox/BACKUPS/2ba36dd39905).
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] July626:
Sdcard/Fox/Backup/serial_number/ put in folder
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] SubwayChamp:
Good to know, was a little strange that your recovery can't restore a backup made it from other recovery.

Just a question a little off topic, installing a miui rom we need to format data to can reboot, is cause miui comes encrypted by default or there are something more that we can do. Thx for your work.
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] DarthJabba9:
It can restore it, if it is the place where OrangeFox looks for backups - and if the partitions being restored are compatible with OrangeFox partitions.

You only need to format data if:

1. You are returning to MIUI from a Treble ROM, or

2. You want to remove encryption (if your device is already encrypted)
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] SubwayChamp:
Very clear, Thanks again.
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] Mo Better Blues:
Oxygen OS

Do I need to be rooted in order for this to work for me .
[Xiaomi Redmi Note 5 / 5 Plus Questions & Answers] ecrudragon:
How to flash this? Is this a TWRP backup or system. Img?

A full procedure will be appreciated, thanks.
[LeEco Le 2 Questions & Answers] stivakos:
Currently owning a X526 with Lineagos 15.1 but looking for a solid (as it can be) Pie custom ROM.

It is my one an only phone and I use it all the day to accomplish all sort of tasks.

I have some annoying hiccups with Lineage and I wonder if there is a ROM, working at least as good as Lineage.
[LeEco Le 2 Questions & Answers] hardziol:
I recommend arrowOS, pixysOS, pixel experience. I have now arrowOS and its good, smooth rom
[LeEco Le 2 Questions & Answers] joens23:
I am using now Pixel Experience and its working fine, it has many options and GCam integrated.
[LeEco Le 2 Questions & Answers] ch@ts:
I've been using Lineage 16 since October and it's working really well for me. Stable, practically bug free, camera works fine (I'm using Footej Cam), great battery life, fast fingerprint scanner. I'm still on the first release though there have been 4 updates since.

What hiccups are you facing?
[LeEco Le 2 Questions & Answers] edan lkr:
Havoc 2.0 is the most stable pie rom