yashsingh1/xdaforums huggingface dataset:
[Sprint Galaxy S 5 Android Development] get-Apache:
ok I got it working!!

Here is what happened. After failing to get the SU working following original instructions - the SuperSU was not recognizing the status of the rooting/post bootup condition. Showing that the binary is not present or constant refresh arrows.

So, I followed rlmiller's instructions but deviated by not starting over again as I had the NKD stock running properly, all functions. So all I did was:

1) power down

2) remove battery

3) Odin with 3.09 on a USB 2.0 port on my windows 8.1

4) AP slot select the file already downloaded: CF-Auto-Root-kltespr-smg900p.tar (use PDA slot with Odin 3.07)

5) flash with auto reboot checked - waited for phone to full reboot until up fully and sprint network connected - I saw the Samsung security warning that there was an insecure process running - ignore

6) power down and pull battery

7) in Odin 3.09 insert file openrecovery-twrp-2.8.0.1-gt-klte.tar

8) again with auto reboot checked, flash and wait until full reboot done - again get notification of insecure process - ignore

9) power down

10) boot into recovery - (press power up+home+power button)

11) in TWRP - I directly went into install and flashed the DrKetan_Multitool_AdvanceV6.zip (thanks for that tip rlmiller)

12) upon flash completion reboot normally - no wipe

13) upon booting completion - still get the Samsung insecure process notification - I take the security update (didn't know if I should have but what the hell)

14) go into the SuperSU app - yup it is stuck refreshing so following garwynn suggestion I reboot

15) reboot complete and go back into SuperSU - states no binary present you should re-root

16) download terminal Emulater app - run it and enter "SU" - then I get the SuperSU authorization for the Terminal Emulator app and approve and it works! I know I have root but next:

17) download Joey Krim Root Checker and run - get request from SuperSU to approve it and it completes - rooted - hooray!

Now if you are starting from scratch you would perform my steps after the initial Odin flashing of the NKD restore file then pulling battery after the phone gets to the first set up screen as rlmiller stated.

Good Luck!

Thanks garwynn, rwilco, rlmiller for all the info and work!
[Sprint Galaxy S 5 Android Development] ScottBroker:
Any luck with the hotspot mod???
[Sprint Galaxy S 5 Android Development] ram9200:
Nice, where's the sprint note 3 leak as I know it exists somewhere. Thanks Garwynn for being awesome!
[Sprint Galaxy S 5 Android Development] gtuansdiamm:
Moar lollipop is gonna be amazing

I can't wait to see what magic td and rompnit do on it

Thanks for posting the leak

And happy thanksgiving
[Sprint Galaxy S 5 Android Development] ScottBroker:
I got the supersu to install, I see TB listed as granted access when I start SSU, but when I try to start TB, says unable to obtain root....
[Sprint Galaxy S 5 Android Development] Maurylucha:
Once you install the auto root reboot your phome twice, download rom toolbox and freeze all the apps that have to do with knox INCLUDING the policy update one, i did that rebooted and SU working fine granting access to all my apps and the message disappeared. And so far everything works great even wifi calling, just waiting for someone to develop a hotspot mod or something, but thanks for the leak! Many thanks for postinf it and for your source, hats tipped to you good sir :highfive:
[Sprint Galaxy S 5 Android Development] Maurylucha:
here are the exact apps I froze 👍

Freeze these and restart even if the message on top goes away when theyre done freezing
[Sprint Galaxy S 5 Android Development] Maurylucha:
And some more screenies
[Sprint Galaxy S 5 Android Development] ab30494:
one thing i noticed.

Is it now uses Google's 2-step verification. Been trying to get in using an app password that you normally would need. finally figured it out
[Sprint Galaxy S 5 Android Development] MaLiXs:
Wow I can't wait to see lolipop on my device
[Sprint Galaxy S 5 Android Development] khpatel4991:
CAn someone write clear steps on how to root the device after flashing the rom??
[Sprint Galaxy S 5 Android Development] tdunham:
[MENTION=4194834]garwynn[/MENTION] or any other dev that may know...

Not sure but I think the bootloader may be locked for Android 5.0. I've been searching quite a while but can't find much info on this.

There is a new screen that comes up when you press and hold Power + Volume Down that I've never seen before. I have a feeling that this is also what is preventing a successful flash of a custom rom on the 5.0 bootloader.

Anyone know of a way to verify this? Fastboot does not appear to work on the S5 so I wonder if theres an access code that will show the status of the bootloader.
[Sprint Galaxy S 5 Android Development] rlmiller:
Sorry i wasn't clear. I reboot after each flash. I let it boot to first setup screen then pull battery and boot into download and odin next file.

I used ODIN 3.07

To fix SU & root... do the following and report back ..

Once you flash all files .... go through and setup phone

Now download this file https://www.dropbox.com/s/mt37d3q6aif0agk/DrKetan_MultiTool_AdvanceV6.zip?dl=0

And flash in recovery. The file will open in aroma......In aroma, the only selection you need to change is knox...at the end.... only change remove knox.

Full instructions are here. http://tinyurl.com/nhzs6bl

This will finish and reboot.

You may still have some Knox left behind. ..but NOW SU should act right

Now update SU .

Use rootchecker. You should get the following.

---------- Post added at 08:58 AM ---------- Previous post was at 08:57 AM ----------

PM me if you dont get it
[Sprint Galaxy S 5 Android Development] kachhh:
What apk did u use to freeze this security policies
[Sprint Galaxy S 5 Android Development] tdunham:
That would be the app manager included with Rom Toolbox.

I am working on a flashable Knox removal script for Android 5.0 since I've been fighting with establishing proper root along with a lot of other folks.

Flashing full tarball (again :rolleyes:) and will post a new guide for root if it all works out. :)
[Sprint Galaxy S 5 Android Development] davesbest:
Just an FYI: the latest version of Root Explorer will allow you to write to the external sd card without root. It works good and might help some people as we patiently wait for a good solution.

Thanks TD for all your help on this.
[Sprint Galaxy S 5 Android Development] garwynn:
I haven't even started looking at that yet - if you can, send me some details by Hangouts and I'll take a peek.
[Sprint Galaxy S 5 Android Development] vinman12:
Can you keep me in the loop I'm curious about this.
[Sprint Galaxy S 5 Android Development] garwynn:
Will do once I get a peek.
[Sprint Galaxy S 5 Android Development] GalaxyHD:
Someone is working on porting to g900f??
[Sprint Galaxy S 5 Android Development] muniz_ri:
If you are able to continue running a custom recovery on 5.0 then your BL remains unlocked.
[Sprint Galaxy S 5 Android Development] tdunham:
I'm busy fussing around with root and knox.

You know how Power + Volume down normally would reboot the phone (from anywhere, even recovery & download mode)? Now a new screen pops up that I've never seen before. Maybe someone can get a proper pic of this.

It displays, top left:

'You kept pressing power key over 7 seconds long!

: 0x0

Wait...

Done!

UDC START

And displays, dead center:

(pic of little green android guy with text bubble)

HARDWARE RESET

UPLOAD MODE
[Sprint Galaxy S 5 Android Development] vinman12:
That's interesting. Is there any way maybe to get a log of that in action.
[Sprint Galaxy S 5 Android Development] muniz_ri:
It looks like sammy may have implemented their "secured" bootloader. If that is the case then the BL is not locked and you can continue to have custom recoveries, kernels, etc. but flashing things like custom kernels will trip the warranty bit, i.e. 0x1.
[Sprint Galaxy S 5 Android Development] tdunham:
Its not a problem screen but I would like to know what it is.

If you want to see it, power off the phone (no point in doing this while the rom is running) and then hold pwr + volume down.

---------- Post added at 06:07 PM ---------- Previous post was at 06:06 PM ----------

That's along what I was thinking too.

I'm sure most of us have already tripped the bit anyway. ;)

---------- Post added at 06:09 PM ---------- Previous post was at 06:07 PM ----------

And if the BL was secure, I'm sure I'd have had problems flashing back to the prior bootloader which I was able to successfully do.
[Sprint Galaxy S 5 Android Development] muniz_ri:
Downgrading on a secured BL depends on the aboot qfuse counter. If you were able to downgrade that means the qfuse counter is the same on the leak as that in the previous firmware.
[Sprint Galaxy S 5 Android Development] electricallew:
I pressed power and power up from that screen and some more text popped up. I attached a pic.
[Sprint Galaxy S 5 Android Development] electricallew:
edit: volume up
[Sprint Galaxy S 5 Android Development] tdunham:
I'm glad someone here is versed in this. I'm a little bootloader challenged. ;)

Yes, pressing other keys will bring that additional dialogue up too.
[Sprint Galaxy S 5 Android Development] muniz_ri:
I have not seen that screen on any of my locked BL devices but the 0x0 does look like the warranty bit.
[Sprint Galaxy S 5 Android Development] vinman12:
This is really interesting stuff to me. Lol I'm bootloader noobish myself
[Sprint Galaxy S 5 Android Development] muniz_ri:
Locked BL's take the fun out of all of this. But my guess is worst case Sammy/Sprint implement a secured BL and not a full locked BL.
[Sprint Galaxy S 5 Android Development] evo bryan:
Back in my HTC days the one leak we had had a testing boot loader could this be like that
[Sprint Galaxy S 5 Android Development] Mustangmatt1966:
Been running this for a day now and i have to say its been great. Everything is stable and fully functioning. I have both root and cwm recovery. Attempted to flash the hotspot hack but got a bootloop so I'll have to wait for that.

Thanks for the leak and the great tips posted in the thread. For anyone questioning if its worth the flash, it's definitely worth it!
[Sprint Galaxy S 5 Android Development] tdunham:
Rooting & Knox Removal for Android 5.0 SM-G900P

BACKUP YOUR ROM

- while this may work for an already running rom, no guarantees...

Prerequisites

:

Odin (link in the guide, save to pc)

Custom Recovery (link in the guide, save to pc)

Knox removal tool (D/L bottom of post, save to SD)

SuperSU Flashable Zip (D/L bottom of post, save to SD)

- This is the latest Android L compatible SuperSU by Chainfire

- SuperSU home thread --> [STABLE][2014.11.27] SuperSU v2.xx

Installation

:

Note:

If rom is already running skip to step #3.

1. Install the full tar from the OP with Odin allowing the phone to install all necessary updates.

2. After the phone settles, reboot the phone once more to make sure all updates have been installed.

3. POWER OFF the phone, enter download mode by holding Power + Home + Volume down

4. Odin a custom recovery, either Philz or TWRP.

Odin and the latest Philz (philz_touch_6.57.8-klte.tar) or TWRP (openrecovery-twrp-2.8.1.0-klte.tar) can be found here:

Recoveries & Odin

5. If rebooting after the custom recovery install, power off the phone again, enter recovery by holding Power + Home + Volume up

Important note:

If recovery asks, DO NOT install root.

6. Flash the Knox Removal Tool attached at the bottom of this post in custom recovery.

Important note:

If recovery asks, DO NOT install root.

7. Reboot and make sure everything is running ok.

8. POWER OFF the phone, enter custom recovery by holding Power + Home + Volume up

9. Flash the SuperSU Installer in custom recovery and reboot.

10. Install Joey Krims Root Checker from the Play Store and verify root access.

Root Checker

Other notes

:

- If root is not established yet, reboot and run the Root Checker app again.

It helps to wait a couple of minutes to let the phone boot fully before opening the app after a reboot.

- It took a couple of reboots for me before the SuperSU binary took.
[Sprint Galaxy S 5 Android Development] rlmiller:
Thansk [MENTION=1042140]tdunham[/MENTION] .... awesome work to get this knox free. Yoa have made this much easier
[Sprint Galaxy S 5 Android Development] vinman12:
Very nice td. Ty
[Sprint Galaxy S 5 Android Development] tdunham:
Dude, it took me like an entire day to get rooted but in my defense, I've been working on other stuff at the same time too. The main issue I think was knox kept blocking everything so it had to go. ;)

SuperSU is a wip for Android L and still has its quirks. I believe we will see some more efficient updates to it as Chainfire gets a handle on things.
[Sprint Galaxy S 5 Android Development] lingowistico:
Is it possible to run this on KLTE with a KLTE kernel or via some other mod?
[Sprint Galaxy S 5 Android Development] tdunham:
No. Android 5.0 bootloader required and so far this is for G900P only.
[Sprint Galaxy S 5 Android Development] Gunraykilla:
Uhh... im pretty sure i just bricked my phone.

Everything went fine in Odin... but i cant get to recovery or anything. it just sits on Recovery Booting... and does nothing the whole time.

used Odin in Admin mode and everything.. :(

Yes my phone is a Sprint GS 5
[Sprint Galaxy S 5 Android Development] lingowistico:
I was thinking thinking about how the AT&T Galaxy S2 Skyrocket and the T-Mobile S2 roms were intercompatible with only kernel and some buttonbinds being different.. Hoping it was the same here :good:
[Sprint Galaxy S 5 Android Development] tdunham:
Pull the battery for a minute and see if you can get back to download mode.
[Sprint Galaxy S 5 Android Development] Gunraykilla:
Thank you! Yeah i'm able to DL mode now.
[Sprint Galaxy S 5 Android Development] rlmiller:
You're not bricked all you need to do is start the process over like [MENTION=1042140]tdunham[/MENTION] said pull your battery before going into download mode you cannot use your power buttons to power down you have to pull your battery and start Odin mode with power+home+vol down.....then flash
[Sprint Galaxy S 5 Android Development] tdunham:
Oh goodie, we have a FLASHABLE bootable odexed version now.

Working through some kernel issues right now. Stay tuned.
[Sprint Galaxy S 5 Android Development] rlmiller:
[MENTION=1042140]tdunham[/MENTION].....Dude you're awesome thank you for all your help and time. Surly appreciated by the whole communiy
[Sprint Galaxy S 5 Android Development] Gunraykilla:
Alrighty awesome! Now it works. I dont know what happened the first time i flashed, but now it works great!
[Sprint Galaxy S 5 Android Development] JoeFCaputo113:
As I'm sure most of you know on Lollipop you can now screen record WITHOUT root needed! And there are already plenty of apps implementing it! Just wanted to share :D
[Sprint Galaxy S 5 Android Development] kidallstar95:
Any updates on the Hotspot mod? Im still trying on my end.
[Sprint Galaxy S 5 Android Development] tdunham:
It would help greatly if someone could let us know how to deodex some of these new system files.
[Sprint Galaxy S 5 Android Development] Gunraykilla:
One thing i noticed coming from a non stock rom is Battery Drain lol.. omg.
[Sprint Galaxy S 5 Android Development] tdunham:
There is always big battery drain just from rebooting frequently and any rom has to run for a day or two for battery stats to average and settle.

Edit: But you could be right, its just too soon to say for sure. ;)
[Sprint Galaxy S 5 Android Development] evo bryan:
Don't think it will let you don't you need them for art to run
[Sprint Galaxy S 5 Android Development] tdunham:
Yes, but we wont be able to modify the necessary files for things like hotspot if we cant decompile them first. :)

Its a small price to pay.
[Sprint Galaxy S 5 Android Development] drewiskee:
Update SU

Update SU

I had to ODIN Tar 5.0 again and flashed Auto root aswell once booted I saw SU had a update for today.

after updated I didnt need to do anything else! it didnt lag and found my root.

P.S i use Root Unistaller to take away KNOX crap and notifications..
[Sprint Galaxy S 5 Android Development] muniz_ri:
[MENTION=4315551]Ticklefish[/MENTION] was looking for an odex'd 5.0 ROM so that he can get his TMA tool to deodex. You may want to send him your ROM. He and TMA rock!: http://xdaforums.com/showpost.php?p=57086574&postcount=3167
[Sprint Galaxy S 5 Android Development] tdunham:
I was just cruising through his thread earlier and I saw he was planning on updating his tools to lollipop.

I'll make sure he gets a copy when its ready.
[One (M8) Q&A, Help & Troubleshooting] MaggiMag363:
Hi guys. I have a problem with my M8 (international).

Start topic was here http://xdaforums.com/att-htc-one-m8/help/htc-m8-phone-boots-fastboot-factory-t2952954#post57042833 but I took an advice and open the same topic in general theme.

Could you help me with advices? Thanks.
[One (M8) Q&A, Help & Troubleshooting] Darknites:
I'm taking a bit of a guess but some how system has got wipe but that seems a bit off for a locked phone but since it's locked I would take it back to where you got it from and get them to sort it.
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
I would normally say the same. But the OP mentioned in another thread posted in the wrong forum section (linked in his post) that he bought from Canada but lives in Ukraine, so I think warranty is not valid. It would have been helpful for the OP to give all the relevant details in this new post.

I agree, it looks like his OS and possibly recovery have somehow become wiped, corrupted, or damaged. Not common for a stock device, but not unheard of, either.
[One (M8) Q&A, Help & Troubleshooting] scollie:
Hi

I had a similar problem to you where I was stuck in fastboot mode and the only command it would execute was POWER DOWN and when switched back on it returned to fastboot mode. However I ended up in that state due to making a mistake in trying to unlock and root my phone. Also I believe my display showed the RADIO and OpenDSP details rather than the INVALID_VER_INFO that your's is showing.

I thought I had deleted the rom and recovery on my device and I had bricked my phone however I was able to recover my phone by getting a new unlocktoken from HTC and flashing it.

Once I had successfully unlocked my phone I had access to my rom and recovery.

I see from your first image that you tried to unlock your phone and it shows that 'unlock token check successful' but images 2 and 3 show that the phone is still 'LOCKED' so it may be worth going to the HTC site, get a new unlock token and try again.

If it doesn't work, it shouldn't do anymore harm either!

Best of luck.
[One (M8) Q&A, Help & Troubleshooting] MaggiMag363:
Yes, I did this :( And in consol I saw that everything was fine, but on device I didn't see standart notification about unlocking.

A found some topics about "INVALID_VER_INFO" - and they said that it can be ok for some devices (guys checked this on their worked devices, booted to fastboot and saw the same).

http://xdaforums.com/showthread.php?t=2715056 here is the topic about "INVALID...".

btw - I tried unlock phone after another man. He did the same - receive .bin from dev. HTC site etc. I did the same, but from another HTC dev. account and result was the same :( Phone didn't unlock.
[One (M8) Q&A, Help & Troubleshooting] Darknites:
It could be that the recovery has got messed up because I believe recovery is used to do it since unlocking will wipe data. The only things I can think of is a real ruu as in it full rom and firmware exe (good luck with that) or you could try just firmware ruu, riff box or HTC themselves.
[One (M8) Q&A, Help & Troubleshooting] MaggiMag363:
I have the riff box but without needed pin-outs (http://i01.i.aliimg.com/wsphoto/v0/...x-Flex-font-b-cable-b-font-for-Samsumg-LG.jpg I'm talking about these pin-outs). And my previous experience with riff box and Samsung S3 was not very good)))) I had been fixing it during 2 months :)
[One (M8) Q&A, Help & Troubleshooting] Venomtester:
https://www.dropbox.com/s/oqygsy7ku7o37j5/M8-DEBUG.doc?dl=0

Pin out.
[One (M8) Q&A, Help & Troubleshooting] elawady.2014:
i have the same problem my device is htc m8_TL

and it still in fastboot

but i have cwm

can anyone help me ?
[One (M8) Q&A, Help & Troubleshooting] Darknites:
Does cwm boot?
[One (M8) Q&A, Help & Troubleshooting] elawady.2014:
[/COLOR]

yes it's boot

and now i install stock rom via it

i think it's for inernational

so camera not work and wifi not work ??

please help me i can't find any solve
[One (M8) Q&A, Help & Troubleshooting] Darknites:
Not sure of good place for stock roms sorry.
[One (M8) Q&A, Help & Troubleshooting] elawady.2014:
but how can i work wifi and camera ?
[One (M8) Q&A, Help & Troubleshooting] Darknites:
Not sure but you could give twrp a try to wipe and flash.
[One (M8) Q&A, Help & Troubleshooting] elawady.2014:
ok thanks but i can't install other custom recovery

i have 3 backup by cwm and nandroid to my old rom

but when i restore it it not restore

do u know why ?

if other way to restore backup ?
[One (M8) Q&A, Help & Troubleshooting] MaggiMag363:
Hey man. Sorry but your problem not the same. You installed custom OS and it could be the reason of this. I install nothing. I have full stock device. And my problem not the same with your problem. Could you create new topic please?
[One (M8) Q&A, Help & Troubleshooting] MaggiMag363:
Thanks. But my skill too low for soldering these small parts :( I talked about completed pin-out connectors for JTAG. I tried to find them on EBAY and other JTAG stores, and failed :( (look at screenshot with these pin-outs higher).
[One (M8) Q&A, Help & Troubleshooting] MaggiMag363:
Could anyone help with RUU process? What information I should have for correct RUU update? I found this post http://xdaforums.com/showthread.php?t=2729173 but I'm not sure that I have SPRINT device.

I need an information, how I can be sure, that I use correct file for RUU my HTC? Is it bootloader version, or operator version (Sprint, Verison etc.) or something else? As I wrote, I can open information about my phone in Fastboot (I can check my SN, CID, bootloader version etc.)
[One (M8) Q&A, Help & Troubleshooting] Darknites:
For a ruu to work it needs to have matching cid, guess mid and has to be same version or higher than what's on the phone. You can't flash the wrong one it won't let you.

Edit, also the one you linked to won't work.
[One (M8) Q&A, Help & Troubleshooting] MaggiMag363:
Ok. And Can I flash version with unlocked bootloader and custom recovery, for example? (I said that there are a lot of recovery but they are custom. Is it ok for me or I should find pack with all stock?)

It's unknown letters for me. Would you describe what did you mean? Thanks.
[One (M8) Q&A, Help & Troubleshooting] Darknites:
If I remember right you have to have a locked bootloader for ruu to work unless s-off and also good idea to have stock recovery but can since I had the same issue as you and couldn't get recovery working but did make sure to flash stock just in case it helps. Not sure what mid really is other than it kinda like cid.