yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S 4] xxMAGICxx:
Will this work if I'm on a mac?
[T-Mobile Samsung Galaxy S 4] :
You'll have to use Heimdall instead of Odin

http://xdaforums.com/showthread.php?t=2118100
[T-Mobile Samsung Galaxy S 4] laseroxstar:
sghm919n

Would this method work for the sghm919n?
[T-Mobile Samsung Galaxy S 4] Biker1:
The N model which is on Metro? is the M919?

If this is correct, than the CF-AUTO-ROOT for the M919 will work, since tthey are the same model but with a different carrier..... Imo....

Advice to wait for confirmation in case I'm wrong ;)
[T-Mobile Samsung Galaxy S 4] laseroxstar:
Thanks I'll wait then. Didn't want to risk bricking my device. ?
[T-Mobile Samsung Galaxy S 4] :
They're literally down to a T the same device except branding, the model number, and metro apps. You're even running on the same/our network
[T-Mobile Samsung Galaxy S 4] xxMAGICxx:
How do I install a custom recovery and roms after I have done this?
[T-Mobile Samsung Galaxy S 4] Biker1:
Depends which Recovery you want to install.

For example:

TWRP with Goo Manager from the Playstore

Philz Touch Recovery via ODIN (My recommendation ;))

Other Recovery Installations can be found in their specific threads, including the above.

For Philz, take a look at the link in Red in my sig.

Download the tar, and install with ODIN.

But whichever custom recovery you install, read the threads and ask any questions when in doubt, prior to flashing.

Edit:

I forgot about the ROMs question.

Always read the specific thread for the ROM you want to flash.

In general, you would download the ROM zip file.

Match the md5 checksum between the file and the download, to be sure you have a good good download. You can install md5 checker from the Playstore to use from your device.

There is also an app for your pc.

Flash the ROM from your Custom Recovery.

As mentioned, always read the ROM threads regarding installation pertaining to what to wipe prior to flashing the ROM.

A ROM will usually have a Kernel which installs at the same time as the ROM.

Sometimes you will have multiple Kernels to choose from, which you flash with Recovery.

The modem/radio is not included in the ROM, as the modem/radio that you need to use is device specific. So the modem that is currently installed on your device will stay the same.

If you ever have to ODIN back to Stock, the Samsung Stock Firmware will include everything, the ROM, kernel and Radio, just as the device came from the factory when you took it out of the box.

Anyway, just some basic info above, But Always read about what you're gonna flash, and Always Search for and Ask any questions you may have Prior to installing/flashing.

Happy Flashing:cool:

Very Important:

Always have a Nandroid backup ready, in case a flash doesn't go right, and you need to restore your device to a point prior to the issue occurring. A Nandroid backup is like a 'picture' of Everything on your device except for your extSdCard.

Prior to flashing your Custom ROM, make a Nandroid Backup from within Recovery.

Here are a couple of links explaining what a Nandroid Backup is:

http://xdaforums.com/wiki/Nandroid

http://tutorialfor-android.blogspot.com/2012/08/what-is-nandroid-backup.html?m=1
[T-Mobile Samsung Galaxy S 4] bluecluenj:
Does anyone know if this still works since the new kernel? I want to try at at work tomorrow thanks!
[T-Mobile Samsung Galaxy S 4] :
What mdl? Yea
[T-Mobile Samsung Galaxy S 4] tech9iner:
Well and alas; ended up just doing the 'linux unforgiven' and booting windblows 7 on my laptop to complete this. Could not seem to get either version of Odin to see my S4 from my Viao VPCEJ. Wouldn't rooted at all sans this thread though..

thus thanks all for the assist

!
[T-Mobile Samsung Galaxy S 4] robcop19:
here goes

well im about to do it right now so ill get back to you guys on it and tell you if i had an expensive paperweight

---update

I GOT FAILED on Odin and it shows the bar halfway done on the s4

should i unplug the phone or click start again? or both? or has anything happened?

after a couple times i got error failed to fill download bar

--- nope i bricked the phone shaaaaaaat

i found a stock odin file for the m919n on xda so now the phone is back to new but CF root does not work at all and i dont want to try it again honeslty but i keep seeing everyone else gettring root on theirs
[T-Mobile Samsung Galaxy S 4] EvoRocker:
Checking for a friend's S4, will I be able to use this on the MDL build of the T Mobile S4?
[T-Mobile Samsung Galaxy S 4] baseballfanz:
Yes this is what i used to root my MDL GS4

☞ Sent from here☜???
[T-Mobile Samsung Galaxy S 4] EvoRocker:
Thanks bro :)
[T-Mobile Samsung Galaxy S 4] robcop19:
how

how did you do that? im trying to root the way you didi it

HAS ANYONE ELSE ROOTED THE M919N METRO PCS WITH CF AUTO ROOT?
[T-Mobile Samsung Galaxy S 4] RazoE:
Flash TWRP via Odin, then boot into recovery. You'll get a message saying "Root not detected, install Superuser?" Or something like that. Very simple.
[T-Mobile Samsung Galaxy S 4] robcop19:
??

and your s4 has root access liek that?? holy balls

the only bad thing is twrp doesnt support the metro varient yet and cwm is down righ tnow
[T-Mobile Samsung Galaxy S 4] Skipjacks:
Yeah TWRP has had that ability for a while. You don't even have to seek out that feature. It scans the ROM automatically and propts you to install SU.

And if you'd rather do it manually you can do that too and just flash SU or SuperUser scripts.
[T-Mobile Samsung Galaxy S 4] f10a:
I want to install TWRP. Is there a special method to do this with CF autoroot or is another root method needed?
[T-Mobile Samsung Galaxy S 4] Skipjacks:
You don't really need CF Auto Root to install TWRP. In fact CF Auto Root doesn't install a recovery at all (well it does temporarily, but then it gives the stock recovery back)

But you can use it. The first way is to use CF Auto Root as directed. You will then have a Stock Rooted rom. Then use GooManager app from Play to install TWRP.

That will work just fine.

Or, you can use Odin to flash TWRP directly.

Get the .tar file from here...

http://techerrata.com/browse/twrp2/jfltetmo

Flash it in Odin. And then you will have a non rooted Stock ROM but a custom recovery. TWRP will ask you if you want it to install Superuser to root the stock rom.

If you want to flash a different ROM after installing TWRP, this is the better way to go. It saves a step. You just flash TWRP, boot to recovery, full wipe and flash your new ROM. The new ROM will already be rooted.
[T-Mobile Samsung Galaxy S 4] flying_pigs:
Just flashed 4.3 everything via ODIN.

Can I run this?
[T-Mobile Samsung Galaxy S 4] GSXeclipsePSI:
Since I am now running the OTA update to 4.3, what are my rooting options. I see a few Roms I wanna try that used the new ROM and added to it so I'd still like to go back to a rooted device. I had to update with my desktop with Kies just to get the 4.3 update.
[T-Mobile Samsung Galaxy S 4] Armen1er:
I want to download the 4.3 update via OTA but does anyone know if I can still root after the 4.3 update? I have a t-mobile s4. I found this website that says you can root 4.3 but I can't trust everything I read, this is the site http://honai-android.blogspot.com/2013/11/how-to-root-galaxy-s4-t-mobile-sgh-m919.html?m=1
[T-Mobile Samsung Galaxy S 4] interaser:
it seems that we can get root on 4.3 http://xdaforums.com/showthread.php?p=47840856#post47840856 I would love to gain root but I do not want to lose my insurance :(
[T-Mobile Samsung Galaxy S 4] Armen1er:
Hold on.... how would you lose insurance? Don't we have the flash counter reset app? Obviously if you brick the phone then that's different but then again you can tell the insurance company that you "lost" your phone and pay the deductible unless you meant your factory warranty. Anyways thanks for the link. I just found this way of using 4.3 and not voiding your warranty (a Knox free setup). http://xdaforums.com/showthread.php?t=2546024
[T-Mobile Samsung Galaxy S 4] Lolento:
Anyone know a custom recovery that doesn't mess up the CF Auto Root for 4.3?

I can flash stock Rom and CF Auto Root via Odin and everything is fine but after flashing a recovery, root is messed up...and I have to reflash CF Auto Root.

I have not been able to find a recovery that works. All of the recovery I tried detects root is broken but either fixing or not fixing it messes it up....

Anyone? I need the ability to create a nandroid...or is there a way to nandroid via odin?
[T-Mobile Samsung Galaxy S 4] baseballfanz:
Try downloading/updating SuperSu app from Play Store and update the binary or go to chainfire's website and download SuperSU zip file and flash in recovery

☞ Sent from here☜???
[T-Mobile Samsung Galaxy S 4] Lolento:
Thanks, I do have the latest SuperSU app and even have the Pro license but I don't see a update binary option.

Also, flashing the latest SuperSU.zip in recovery messes up root as well.

No one else seeing this issue with Stock Rom and CF Auto Root? Problem is that without CF Auto Root, the Knox security block SuperSU. CF Auto Root is hidden from Knox and worked fine. So I used CF Auto Root to gain root and then disabled Knox but still, no other rooting method work on MK2 (which is fine because CF Auto Root worksO but also no other custom recovery work without breaking root.

Hope someone can look into this! Thanks.
[T-Mobile Samsung Galaxy S 4] KRZ-2pa:
Try KingoApp (Google it) to root & unroot the device.
[T-Mobile Samsung Galaxy S 4] uresh.kuruhuri:
BusyBox might help !!!

Hi Lolento,

If I understand correctly, you may have updated to 4.3 Stock ROM. However, if you are having CF AutoRoot and is not working properly or if you are not able to update the binaries, try installing the BusyBox and re-try updating the binaries for CF AutoRoot.

In my case, though different from your situation (I am on CM 10.2) and CM also has in-built Super User but that was not working properly for the Titanium Backup. Then I had to install the CF SuperSU and the binaries were not getting updated. Then I checked some forums and installed BusyBox and from then on the CF SuperSu working fine.

It is my 2 cents, thought to let you know to give a try with BusyBox. Hope it helps.
[T-Mobile Samsung Galaxy S 4] Lolento:
Thanks for the suggestions!

Unfortunately, it wasn't the solution. Am I the only one that flashed stock then root? (I need to do this because I want to maintain screen mirroring function)

So I have tried the following:

- Yes, busy box is installed in my system.

- I have tried flashing custom recoveries from Odin and from Rom Manager...in both cases, the CF Auto Root is broken after I have custom recoveries install.

- The custom recoveries does detect root may be broken, but either "fixing" or "not fixing" still break root.

- I also tried flashing SuperSU 1.80 zip in the custom recoveries, in this case, the custom recovery does not detect the root as being broken but when my M919 boot ups, the system throw an error saying "SuperSU has stopped" and also I can no longer find the SuperSU icon in the App Drawer...

Appreciate any further help on this.
[T-Mobile Samsung Galaxy S 4] POQbum:
Does this rooting method work for all Android firmware version for this T-Mobile Model of the Galaxy S4?
[T-Mobile Samsung Galaxy S 4] baseballfanz:
Yes but keep in mind if you're on the 4.3 firmware, it will trip Knox voiding your warranty.

☞ Sent from here☜???
[T-Mobile Samsung Galaxy S 4] Darealshht:
do u know if you have JUMP does tmobile still take a phone in for a trade in if the warranty is voided?
[T-Mobile Samsung Galaxy S 4] POQbum:
I've just tried rooting this method and was able to get root installed, but there is no recovery!

Upon pressing the hotkeys on boot, I get a message in blue text "recovery loading..." then another vibrate happens, the same samsung logo appears but with no text, and the phone boots as normal.

There seems to be no recovery on my phone, and I have flashed and reflashed this many times.
[T-Mobile Samsung Galaxy S 4] andymetoo28:
I'm also curious to know the answer to this.

I really love my Samsung phone but if future releases are going to continue to be locked up like, well, Fort Knox, then I might have to weigh my alternatives in the future. But yeah, it would be nice to know if I could still mess around in the mean time!
[Java for Android App Development] pwannell:
Good afternoon,

I'm trying to work out if an app is feasible. I can hear the difference between a few music apps such as winamp and poweramp but wondered with the galaxy s3 and 4 having dedicated high quality audio DACs is it possible to bypass any processing and send data directly to the DAC. On Windows if you have an external USB DAC you can use kernel level hooking to bypass any Windows drivers that may get in n the way of to the the audio signal to the USB DAC. Is that type of thing possible on android to improve on the Sonics, or could someone advise on a must do in the coding to make the app playback audio as best it can?

Thank you
[Member-Found Deals] neudof:
[MENTION=2052713]rakuten[/MENTION].com with promo code GETSOME

http://www.techbargains.com/news_displayItem.cfm/351398

just ordered mine :D
[Member-Found Deals] DROID3R:
Showing $52.48 for me

iSheep... iSheep... Meowww that's Apple VZW GSIII
[Member-Found Deals] leezrd:
Getting same thing here
[Member-Found Deals] nechmadi:
no option to enter coupon code ..
[Member-Found Deals] neudof:
You have to go to the last step in processing the order to enter the coupon
[Member-Found Deals] Greg1964:
Is it a class 10?
[Member-Found Deals] irule9000:
Great deal but I'd be hesitant to purchase from ratuken . They have had many issues with stolen ccs and fraud. Make sure the cc you use is not tied to something important.
[LG Optimus 4X HD] jonnya70:
I also found a way to make the audio come from headphones as opposed to the speaker.

Set Left HP Mixer INB2 and set it on

Set Right HP Mixer INB2 and set it on

then the audio will come out from the headphones
[LG Optimus 4X HD] zicoxx:
yes..i want to write a new guide for use also headset using HP Mixer INB2..

So now we have FM Radio working ,audio and tuning, in headset or speaker..

Tne Only thing that remains to make is to switch audio only in headset when you plug jack and viceversa..infact now with these tricks audio works in headset and in speaker at the same time..But i think that with other test we can to have also the correct switching audio from headset to speaker..
[LG Optimus 4X HD] :
thanks OP for the tip. alot of users here would probably benefit from it.

But as a rule of thumb when it comes to posting such guide, and since you wrote that you found this on op 2x's thread,

it will be good if you place a link to that thread.

One you are acknowledging this guide to the proper dev

And two you are proving that your guide works without you spending any effort ;)

If you simply can't find or link the thread, or if you think what you wrote came from you,

posting a proof-of-concept would be good, since of course people would think twice before doing anything.

Hope you understand.:o

Tip: Adding a [GUIDE] tag to your title will help in letting people know what kind of thread this is.
[LG Optimus 4X HD] juanacevedo:
How do you set those options to on in Alsa?
[LG Optimus 4X HD] zicoxx:
Yes i undestand,so i edit my discussion..thanks..:)

and i finally find original thread so i can write original credit..

I write also in discussion of spiritfm to report it so maybe mikereidis could be add these tricks to next version of spiritfm..

However the tip rocks,the only problem is that it's no possible by now to switch audio from speaker to headset when you plug headset jack..infact audio remains on in speaker and in headset at the same time..but imho it's no a great problem,almost audio now works and this is the important thing..

[MENTION=3504881]juanacevedo[/MENTION]

you must install ALSA MIXER from Market,and open it,install bin files and set these settings..then go spiritfm and listen music..Remember that on every reboot settings lost so you can create a script for ScriptManager or you can set it every time you can listen fm radio..
[LG Optimus 4X HD] laufersteppenwolf:
nice work :)

can you provide the bin files and their destination, so that we can implement them into the roms?

i'd do it myself, but i'm messing around with bootloops ATM :D

thanks in advance
[LG Optimus 4X HD] juanacevedo:
[MENTION=3387751]zicoxx[/MENTION] Yeah, I already have everything installed but how do I actually set the settings? There are no options to set them to on just a prompt where I can type something in.
[LG Optimus 4X HD] zicoxx:
[MENTION=4716493]laufersteppenwolf[/MENTION]

Yes,these are the xbin files for alsa mixer..

And then i upload also alsa mixer my conf where there are the correct settings (mine are also for loud speaker volume)..

So now you can use for roms..

OT However THANKS for your kernel and your roms..generally Thanks for you job for LGO4X..:)

[MENTION=3504881]juanacevedo[/MENTION]

uhmm..it's strange..

Do you have a custom rom ? Do oyu have root permissions?

When you launch alsa mixer what appair on screen?nothing?black screen?

You can try to copy alsa mixer xbin files in xbin folder (system/xbin) and set as permission 755..The you relaunch alsa mixer from drawer and see if something appairs..

IF again nothing something do not work well,maybe you must tell us what kind of rom you use,kernel,etc..so we can help you..
[LG Optimus 4X HD] juanacevedo:
[MENTION=3387751]zicoxx[/MENTION] I just get to this part and I don't know what to type in. (screenshot below)

I'm on CM10.1 with the standard CM kernel.
[LG Optimus 4X HD] tool_king:
Just type "on" in it. It's really that easy.
[LG Optimus 4X HD] juanacevedo:
That's the very first thing I typed In after I imstalled the app. I get no sound at all and yes I'm on the right settings
[LG Optimus 4X HD] zicoxx:
it's so strange..

the four parameters that you write in alsa mixer should be ok for spiritfm audio..2 for speaker (SPK) and 2 for headset (HP)..

Do you have install on your rom some audio app (sony walkman,beataudio or similar)?

You use DSP Manager?Any Music Effect in Settings Audio of CM10.1?

What kind of Cm10.1 version you have?Nightly or RC?

I use now CM10.1 20130519 by arararagi..And i use also Volume+ as Music FX and no problem..But i don't use DSP Manager..And i use the last SpiritFM lite build..

What version of SpiritFM you use?

Try with the last if possibile..

And you can set also in --Settings-->Debug ALSA PCM OPEN and in Settings--> Audio set on Samsung Broadcom (audio 'll be very very low but stable..)

And the last thing,you can hear FM audio in headset?..
[LG Optimus 4X HD] soelvar:
Thanks for the tips....I have one problem though. When I switch off my screen, the as o uh and disappears..... Anyone else experience this?
[LG Optimus 4X HD] snekler:
So can someone confirm that this is working?
[LG Optimus 4X HD] tool_king:
Yes, it's working for me.
[LG Optimus 4X HD] snekler:
thanks man i think i will switch to cm when stable version will be out ,i think its not over the mountains :D
[LG Optimus 4X HD] r3dd0g:
grazieeeeeeee

Thank you very much! I can finally listen the radio with CM, LG goodbye!
[LG Optimus 4X HD] hippow:
thanks! i searched for it a long time ago and now i finally found it^^ works really great!
[LG Optimus 4X HD] zicoxx:
hey guys,i'm happy that this trick works!..

Next step:

i think that now it's the time to make something so everyone can enable audio for fm radio in simple mode,maybe flashing zip on CWM or TWRP..Or i'm thinking to create a simple apk that make this trick..

So if Someone,developer or everyone wants to help us for developer these things,i'm appreciate much..

in every case i'm try to simple these tricks..

So stay tuned..
[LG Optimus 4X HD] Lagkage:
[MENTION=3575078]mikereidis[/MENTION] has uploaded a version of Spirit FM with experimental support for LG Optimus 4X here: http://xdaforums.com/showpost.php?p=42364680&postcount=6201
[LG Optimus 4X HD] zicoxx:
Very Thanks,

I test it on my rom (mokeeOS 08062013 baseCM10.1 RC5) but unfortunaly no audio..nothing..i'm sorry..

Also when i select in Audio Settings LG P880 (or automatically) no audio..

So only when i use the alsa conf "trick" (enabling INB2) audio works..

I report it also on Spirit FM Thread..

I hope that Mike can try others test to enable audio configuration native on spirit..
[LG Optimus 4X HD] mikereidis:
Might as well discuss it here, so we can get feedback from some other people.

The code I use for headset looks like this:

void p880_alsa_headset () {

ssd_run ("4 1 'Left HP Mixer INB2 Switch' 1");

ssd_run ("4 1 'Right HP Mixer INB2 Switch' 1");

}

Using the directory name of the Light version I posted, the same from adb shell would be:

/data/data/com.mikersmicros.fm_li/files/ssd 4 1 'Left HP Mixer INB2 Switch' 1

/data/data/com.mikersmicros.fm_li/files/ssd 4 1 'Right HP Mixer INB2 Switch' 1

I don't have this phone, but I tested and saw those commands run.

Perhaps enabling Debug-> Silent Loop and restarting Spirit would help ?

If you're running Spirit, and hear audio, does using the Mute or Headset/Speaker buttons do anything ? I assume Audio-> Method is set to "LG P880".
[LG Optimus 4X HD] zicoxx:
Hey MIkereidis,thanks for your time..

I try to test adb shell commands

/data/data/com.mikersmicros.fm_li/files/ssd 4 1 'Left HP Mixer INB2 Switch' 1

/data/data/com.mikersmicros.fm_li/files/ssd 4 1 'Right HP Mixer INB2 Switch' 1

/data/data/com.mikersmicros.fm_li/files/ssd 4 1 'Left SPK Mixer INB2 Switch' 1

/data/data/com.mikersmicros.fm_li/files/ssd 4 1 'Right SPK Mixer INB2 Switch' 1

but nothing

Audio not work

I also restart with Silent Loop checked

IF i launch my script for enable alsa mixer trick audio works...

Tell me what i do to help you..

I attach a screen..in screen you can read that i use command /data/data/com.mikersmicros.fm_li/files/ssd 4 1 'Right SPK Mixer INB2 Switch' on but it's a second stupid test..also with /data/data/com.mikersmicros.fm_li/files/ssd 4 1 'Right SPK Mixer INB2 Switch' 1 nothing to do..

*Other thing that i want report to you using alsa mixer trick:

When i plug headset i hear audio in headset but if i switch ,with headset plugged, in speaker mode i can't hear anything..audio work always in headset..if i unplug headset audio return in speaker (but signal is not so good)..
[LG Optimus 4X HD] mikereidis:
Thanks. The "ioctl errno: 2" made me realize the ALSA control device is the 2nd (/dev/snd/controlC1) and not the most common first (.../controlC0).

I'll build a new test release tonight with this for headset:

/data/data/com.mikersmicros.fm_li/files/ssd 4 1 'Left HP Mixer INB2 Switch' 1 /dev/snd/controlC1

/data/data/com.mikersmicros.fm_li/files/ssd 4 1 'Right HP Mixer INB2 Switch' 1 /dev/snd/controlC1
[LG Optimus 4X HD] zicoxx:
Yes,now it works..

finally..thanks mike..

Your command is only for headset

/data/data/com.mikersmicros.fm_li/files/ssd 4 1 'Left HP Mixer INB2 Switch' 1 /dev/snd/controlC1

/data/data/com.mikersmicros.fm_li/files/ssd 4 1 'Right HP Mixer INB2 Switch' 1 /dev/snd/controlC1

and i use these commands

/data/data/com.mikersmicros.fm_li/files/ssd 4 1 'Right SPK Mixer INB2 Switch' 1 /dev/snd/controlC1

/data/data/com.mikersmicros.fm_li/files/ssd 4 1 'Left SPK Mixer INB2 Switch' 1 /dev/snd/controlC1

to enable also speaker...that works very well..

so please, enable speaker command in spirit fm not only for headset..

and i report to you that on speaker i hear audio when enable LEFT channel,RIGHT channel no audio..same thing for headset and for speaker..

so i think that is mono?
[LG Optimus 4X HD] mikereidis:
Spirit Light June 11: http://d-h.st/i5I

Using /dev/snd/controlC1 instead of /dev/snd/controlC0.

Speaker/headset should work.

The ALSA switches are set to off for Mute and turning off.

Speaker is always mono.

Are you getting mono on headset ? If so, maybe Right needs to use INB1, INA1 or INA2 instead of INB2.
[LG Optimus 4X HD] zicoxx:
uhmm..i know..i test it with INB1 or INA1 or 2 to enable it on speaker..

test new version of spirit and report it..

however THANKS!!!..

EDIT :

It wooorks..

Switching headset/speaker without problems..

So thanks Mike..