yashsingh1/xdaforums huggingface dataset:
[Sony Xperia Z Ultra] tuliouel:
I think of rooting my phone, not to install CM, but just to delete some junk like Google+, Bloatware in general, and for installing XPosed Framework and use some root apps for privacy protection, like AFWall+. That means I want to do most of the things everybody do, except change the firmware, since I like some of the Sony apps.

The questions are:

1. Do I need to unlock the boot partition in order to do that?

2. Is there anything, beside installing a personalized firmware, that can only be done after unlocking the boot partition?

3. If I accept OTA updates from Sony, will I have to re-root the phone again?

4. If I unlock the boot but keep sony original firmware, will I risk my phone in accepting OTA updates?

5. I've read about limitations in rooting and/or unlocking the boot according to the firmware version: I got an Xperia Z Ultra: should I update it to kit kat before or after rooting? Same question for unlocking.
[Sony Xperia Z Ultra] control freak:
Bump! I also have same queries as tuliouel. Someone please answer.
[Sony Xperia Z Ultra] tuliouel:
Hi. I guess I got some of the answers:

1. Do I need to unlock the boot partition in order to do that?

No. In this phone, being root does not require unlocking the phone. It's strange for someone who has rooted and unlocked android phone since 2010, but still is NOT from the computer science area. But that's how it works in this phone.

2. Is there anything, beside installing a personalized firmware, that can only be done after unlocking the boot partition?

Yes. There are some bloatware that I managed to erase, but some (like the games) that I couldn't erase. This might have something to do with S-on and S-off. I don't know if I have to unlock the phone to change it, but I can tell you that just following tutorials about rooting the phone isn't enough to get rid of all the bloatware. I'm root. I use XPrivacy and AFWall+ to prevent Bejeweled 2, Sony Field, PS Video, Pants and Zombies and Monopoly Millionaire to use notifications and network resources. They don't get me mad just because of that, but I can't manage to get rid of them.

3. If I accept OTA updates from Sony, will I have to re-root the phone again?

Yes

4. If I unlock the boot but keep sony original firmware, will I risk my phone in accepting OTA updates?

No.

5. I've read about limitations in rooting and/or unlocking the boot according to the firmware version: I got an Xperia Z Ultra: should I update it to kit kat before or after rooting?

My Xperia Z Ultra was Kit Kat out of the box. If yours is not, I recommend you to upgrade it. Always assume the tutorials are made for the latest firmware available by the time they were written.

Enviado do meu C6843 usando XDA Forums
[Sony Xperia Z Ultra] control freak:
Thank you for your reply. I just had one confusion. It's said that OTA updates let the user to maintain root. Is this scenario xperia specific or every device? Or no device at all? Thanks!
[Sony Xperia Z Ultra] tuliouel:
I'm used with CyanogenMod 's OTA updates, and it maintains root. What I read about OTA updates from the makers of cell phones is that it usually requires re-rooting the device. And sometimes the method for that changes, witch is a pain.

Enviado do meu C6843 usando XDA Forums
[Sony Xperia Z Ultra] lenchina julias:
How to download towelroot v5

After downloading Towelroot v5 the app must be installed manually. Note that sometimes your phone settings might not allow you to install the app because the factory settings only allow you to install apps from Google Play Store. So you must go to Settings >Security >Enable installation from ”Unknown Source”

- Go to-WWW towelrootv5.com
[Sony Xperia Z Ultra] marcu989:
towelroot v5

Towelroot is just a standard rooting app which will only help you to root your android mobile phone and also It’s a lightweight app which comes with a clean, straightforward it. This is a stand-alone and works without being dependent on anything. Minimum requirements to use Towelroot are your phone should be running on Android 2.3 + and should have at least 200 MB free space in the internal memory to avoid any problems.

Developer of the Towelroot V5 APK was Geo Hot. Initial release was on July 2014 and the latest release was APK V3 / 16 December 2016. Development status is Active and this app is available in English and most importantly the operating system of this towelroot V5 is Android 4.1 or Later
[Sony Xperia Z Ultra] uknowmyid:
i am using the same phone C6802 , but towelroot said this phone is not supported. i wonder why ?
[Sony Xperia Z Ultra] Omni Oath:
Dude, this may sound moral but don't let money be the motivation to learn. Money is just an exchange of value that you put your time and effort in. Coz say you make enough then what? Does your coding stop there? Did you know that the Indians call "dev" to the creator (god) and in the coding world its developer another word for creator in the digital world. Don't ruin that with involving money. Believe this make a solution that solves 10 people's problems and you will see money running towards you it's the easiest way people can value you.

I am no developer or a tech wiz but I do have great respect for them.

Cheers and stay sharp,stay well.
[Java for Android App Development] nannaniel:
Hi there,

For getting straight to point : I want to create apps that can execute linux chrooted command but i can't figured out how the hell i can do that things :(. It is possible ?

thks
[Java for Android App Development] tschmid:
Sure, there are libraries like roottools or rootcommands. just search github for them

thomas

Gesendet von meinem K00C mit Tapatalk
[Java for Android App Development] Wolverine2@gmx.at:
execute su

with these code you can execute commands as root

Process proc = Runtime.getRuntime().exec("su");
BufferedWriter writer = new BufferedWriter(
new OutputStreamWriter(proc.getOutputStream()) );

String message = "ls";
writer.write(message); //write other commands
[Verizon Galaxy S 5 General] GoBears:
Just an FYI that the build prop edit "qemu.hw.mainkeys=0" works to enable the soft keys for anyone interested.
[Verizon Galaxy S 5 General] kprice8:
Not to be that guy who's new. But what are soft keys?

Sent from the S5 with FoxFi freedom
[Verizon Galaxy S 5 General] moah9998:
The buttons that you cant physically press. (Back and multitasking button)
[Verizon Galaxy S 5 General] l34rn:
What does this build prop specifically do?
[Verizon Galaxy S 5 General] GoBears:
Basically the on-screen keys like you'll find on Nexus devices. I personally like them, but they're not for everyone.
[Verizon Galaxy S 5 General] kprice8:
And how does one make this change?

Sent from the S5 with FoxFi freedom
[Verizon Galaxy S 5 General] l34rn:
Ok I get it..can you auto hide this with build prop edit ? I mean I can do it with exposed but installing expose module right now is making my device laggy
[Verizon Galaxy S 5 General] jcollier:
Make the change in the OP in the build.prop files using a text editor on the device.
[Verizon Galaxy S 5 General] Syn Ack:
This worked fine and I was able to turn off the lights on the capacitive keys. Is there a way to disable the capacitive keys?
[Verizon Galaxy S 5 General] LxDroid:
does anyone know how to make the left hard key menu and long press for open apps? (Swap its default setup)
[Verizon Galaxy S 5 General] Syn Ack:
Nvm figured it out.

If you're rooted:

Go to system > usr > keylayout, and open generic.kl with a text editor, find keys 158 and 254 and put a "#" sign in front of both. Save the file and reboot phone. Then go to settings and disable the light.
[Verizon Galaxy S 5 General] aholeinthewor1d:
Hey I have been looking around/edited some files in /system/use/keylayout but have not had any luck so far.

I am trying to switch the function of the soft keys. I want a single press to be the "menu" key like it always was and make the long press be the apo switcher. I found App_switch and Menu assigned to button numbers and switched them but all it did was disbale to button. If you have any ideas please respond in here or PM me. I plan to make a guise with pictures etc once I figure it out. Thanks
[Verizon Galaxy S 5 General] GoBears:
Yeah, I've never really altered the softkeys through build prop edits. I know there are some Xposed modules to alter the softkeys. Might want to check that out.
[Verizon Galaxy S 5 General] Syn Ack:
Put a # in front of keys 158 and 254 once you enable soft keys, This compltely disables the back button and recent buttons at the bottom of the phone. I also disabled the lights for them in settings too.

To enable soft keys you have to type in that line the OP listed at the bottom of the text file.

(You can actually type it anywhere as long as it's on a new line and doesn't have a # in front of it)

Here's my new screen.
[Verizon Galaxy S 5 General] GoBears:
Looks great! How did you change the colors and add the transparency?
[Verizon Galaxy S 5 General] Syn Ack:
You can change your soft keys with the Xposed mod "Xperia/AOSP NavBar Buttons"
[Verizon Galaxy S 5 General] GoBears:
Yeah I was using that on my M8. I just haven't installed Xposed yet. I'm kind of waiting for SafeStrap so I can make a nice Nandroid without too much crap haha.

Edit: Oh yeah I changed my DPI to 460 and it helped with the overlap in the camera app and others.
[Verizon Galaxy S 5 General] joshw0000:
Check Android Development section. There's a thread for it.
[Verizon Galaxy S 5 General] Syn Ack:
I just did 470, 460 looked good for the buttons but the black edges are a bit much. Thanks though.
[Verizon Galaxy S 5 General] Eris _2.1_2010:
How can I fix this? I'm running MOAR.

Sent From My Galaxy S5 Far Far Away
[Verizon Galaxy S 5 General] elliwigy:
lol probably hafta edit apk or change dpi? im not sure as i usually dont mess with that stuff
[Verizon Galaxy S 5 General] jpnestel:
Sorry for the dummy question but what do I edit it to? 0 to 1?
[Verizon Galaxy S 5 General] jpnestel:
Do I add that line to build prop or is it an edit?

---------- Post added at 12:13 AM ---------- Previous post was at 12:11 AM ----------

Never mind I found it. Sorry
[Verizon Galaxy S 5 General] GoBears:
Cool, glad you got it. Soft keys are fun to play around with.
[Verizon Galaxy S 5 General] jpnestel:
Totally. That was one of my favorite parts about the nexus.
[Verizon Galaxy S 5 General] GoBears:
If you have xposed installed, install the module xperia/aosp navbar module to further customize the buttons.
[Verizon Galaxy S 5 General] Asmodeus6:
This x1000!

As someone coming from an s3 then an s4... completely annoying. I want my damn menu button...
[Verizon Galaxy S 5 General] maxpower7:
It works, but there are a couple issues.

1) The Samsung camera app doesn't resize to accommodate the onscreen keys. You end up with less than half a shutter button. It still works, but it's annoying as hell.

2) The onscreen keys don't appear when you're in landscape mode, but you still end up with an empty black bar on the side of the screen where the keys should be. For example, let's say you're watching a YouTube video. You'll have less than your full screen real estate to watch the video because of the empty black space, but you have to rotate the phone to portrait mode to use the back/home/recents keys since they don't appear onscreen. This was a dealbreaker for me. I'd post a couple screenshots to show what I mean, but I'd rather not deal with enabling them again and then switching back.
[Verizon Galaxy S 5 General] GoBears:
I've had the same issues as you so yeah it's definitely not perfect it's just something to play around with. As far as the bar covering up part of some apps, that is why I lowered my dpi to 460 or 470. The landscape thing I just hit the hardware back button. If you figure out any solutions just post them up because I'd love to have them all the time.
[Verizon Galaxy S 5 General] bruderhood15:
Works great
[Verizon Galaxy S 5 General] gypsy214:
Anybody knows if SoftKeyz work with this?
[Galaxy S 5 General] io585:
Seems like he made it!!

Working for me !!

Root working and KNOX 0x0!!

http://xdaforums.com/showthread.php?t=2783157
[Galaxy S 5 General] exge:
just wondering, is your model sm-g900f?
[Galaxy S 5 General] io585:
Yes!

Is an Italian (European) model!
[Galaxy S 5 General] exge:
Ok cool my model number is the same.. But I am nowhere near Europe lol..

Will Installing twrp after rooting still trip Knox?
[Galaxy S 5 General] angryelpresidente:
According to GeoHot, the counter shouldn't trip, but no guarantees
[Galaxy S 5 General] ffchampmt:
whoa... bootloaders still locked so custom recovery will trip Knox.

Sent from Tapatalk on my rooted Verizon NC5 Galaxy S4
[Galaxy S 5 General] cnn888:
Will it work for g900h?
[Galaxy S 5 General] jamm513:
I can confirm: Samsung Galaxy S5 G900M, root it and Knox still 0/0.

Enviado desde mi SM-G900M mediante Tapatalk
[Galaxy S 5 General] neilcezar:
Nice!!! Great job by geohot!
[Galaxy S 5 General] cnn888:
am really curious if this will work on exynos g900h.

anyone can confim this?

thanks.
[Galaxy S 5 General] Hellscythe:
Will flashing a custom kernel/ROM trip KNOX?
[Galaxy S 5 General] johan81:
Yes, that will definitely trip KNOX.
[Galaxy S 5 General] Hellscythe:
I am guessing a custom recovery will also trip KNOX? Sorry, I forgot to ask before lol
[Galaxy S 5 General] johan81:
Yes, that is correct.
[Galaxy S 5 General] exge:
But I'm using 900f which already has unlocked bootloader. I didn't want to root previously as I thought any flashing using Odin will trip knox
[Galaxy S 5 General] babygau:
Now, just looking forward to KNOX reset breakthrough
[Galaxy S 5 General] OGroteKoning:
Not that it is a real issue for me, but I echo your sentiment
[Galaxy S 5 General] arghness:
Does anyone know if using a CSC changing app (which requires root) will trigger Knox after getting root via this method?
[Galaxy S 5 General] nafitte:
Why we need to make knox 0..? Is there any advantage?
[Galaxy S 5 General] bimmerdriver:
Anyone try this on a SM-G900W8?
[Galaxy S 5 General] andrewk2x:
If writes 1 you dont have anymore warranty
[Galaxy S 5 General] jsr84:
I can confirm that on my Rogers SM-G900W8 the root was successful and Knox state is 0x0. however, try it at your own risk!

First thing I did is installed SD Fix: Kit Kat, now I can wright to my SD card again. Screw you Google!
[Galaxy S 5 General] nick323:
Same here for my G900W8. Status is still Official and state is 0x0. Running Titanium Backup with no problem.
[Galaxy S 5 General] Reechings:
Just ordered my TELUS S5 and thought I would be stuck completely stock until I was ready to void my warranty!

Tapped it!
[Galaxy S 5 General] finndo:
Having problems on sprint with the G900p super su fails to update the binary. Tried it 5 times now.
[Galaxy S 5 General] ravenofdoom:
Is there an apk that will modify (and revert back if needed) the wifi tether provisioning bit of data so that native tether works?
[Galaxy S 5 General] kgyirhj:
SM-G900F was rooted without any problem. Thank you for sharing this amazing program.
[Galaxy S 5 General] tydiamond11:
look up chain fires website for a updated su lol it has been said all over the place he just updated it for the fix for this root
[Galaxy S 5 General] DJayRage:
Was able to finally root my AT&T Galaxy S5. Installed Xposed Framework and AdAway with no problems.
[Galaxy S 5 General] jsr84:
Not exactly sure where to look on his site.
[Galaxy S 5 General] cbomb101:
Thanks mate rooted my g900i australian optus model. Woo had to install newer supersu the playstore 1 plays up. Can we use xposed without voiding knox?
[Galaxy S 5 General] rock4mayo:
Anyone tried it on g900h?
[Galaxy S 5 General] neilcezar:
Rooted!! Thanks
[Galaxy S 5 General] adie1234:
Yes....ur warranty is still valid if anything happens to the phone
[Galaxy S 5 General] zic1:
Hi,

I have same model 900F, can you check your knox status after rooting?

Thank you in advance
[Galaxy S 5 General] maharajah12:
Its perfect I have got same model and its all good Knox is 0x0.

If I helped you please press THANKS button.
[Galaxy S 5 General] zic1:
Great! Thank you for quick answer!
[Galaxy S 5 General] riddle13:
it does not work for me, it reads only the galaxy s4 active is supported. Any ideas?
[Galaxy S 5 General] oswade:
G900H and some other exynos devices not rooting through towelroot at the moment it seems :(.
[Galaxy S 5 General] finndo:
I did, it gives you a link that either gives you a flashable zip, no custom recovery, so can't use it, or a link that takes you directly to the play store, which is what I used. FYI it still works, but cannot update to the new binary. probably tonight, I'll take the time to DL the new version on my PC, rip it apart and adb push the updated binary to my phone. no big deal, I am happy it works. I've been waiting since launch for root, without breaking Knox. as I might need Knox for my job to allow me to use the phone instead of a 2005 Nokia Matrix slider...

I read 70+ pages of the main thread trying to find info, I've never successfully gotten search to work on XDA, even through tapatalk to find posts in a specific thread, I searched G900 on the main thread as a test and it came back "no results found"..

I'm happy as is, and now that I am not working 100% via the phone I can get on my PC and wreak some havoc...

So, for everyone with the same issue and reading this, it is ok if the SU binary does not update. you still have root.
[Galaxy S 5 General] tydiamond11:
ok so you are not understanding the part about the zip that just needs to be unzipped and you will see a su apk just install that. after you have Uninstaller the other su.
[Galaxy S 5 General] finndo:
the only thing I had to open the zip is RTB, and it tries to flash it and prompts for the type of recovery you have... I need to wait till I can get on a computer to do the work. can't use anything at work, so would be tonight.
[Galaxy S 5 General] Imriela:
Not sure how to check my Knox counter, but I can say that my Verizon Galaxy S5 (SM-G900V) is successfully rooted.
[Galaxy S 5 General] koolboyztn:
yes, you can install xposed, it will not tripped your Knox.
[Galaxy S 5 General] neilcezar:
If I install the binaries of SU and disable knox will it trip my knox count?

Thanks
[Galaxy S 5 General] dkreventon:
Has anyone rooted the international SM-G900F on NEE rom with knox 0x0?

ANE4 build was just released. Please give feedback if rooting works on that firmware too.

http://www.sammobile.com/firmwares/3/?download=30983
[Galaxy S 5 General] nexy33:
https://play.google.com/store/apps/details?id=org.vndnguyen.phoneinfo

will show the status of the knox counter
[Galaxy S 5 General] reg66:
haven't got the phone yet to try, but will this work on galaxy s4 i9505? i've read that it should work on anything pre june 2014
[Galaxy S 5 General] cbomb101:
On super su I disabled knox as when that option popped up. Knox trigger still 0x0.
[Galaxy S 5 General] adie1234:
Tried and didnt work...
[Galaxy S 5 General] lostunsunghero:
Boot into download mode, you can see the knox info there on the top left of the screen.
[Galaxy S 5 General] slikr:
Will s5 ota update still work after root?
[Galaxy S 5 General] neilcezar:
Once knox is disabled can you still re-enable it? Does private mode works even if its disabled?
[Galaxy S 5 General] gasoau:
Will it ever be possible to reset knox
[Galaxy S 5 General] bimmerdriver:
Today, I met with my service provider to receive a replacement GS5 for my GS5 that failed. I asked him about knox, specifically if the warranty is void if the knox flag is tripped and whether the knox flag can be reset. He said that Samsung Canada does not consider warranty violated if knox is tripped and that it is possible to reset the flag, although he thought it can only be done with hardware, such as a JTAG. I asked him how sure he was about these items. He said he is quite sure about both, although he will make some inquiries to confirm both items. I will update this thread when I hear back.

---------- Post added at 11:47 PM ---------- Previous post was at 11:40 PM ----------

When I received my replacement phone, I was wondering what the build date of android would be installed on it, since it is a brand new phone. Luckily, it has an April 11, 2014 build date, so that's good.

I have some noob questions, which I hope it's okay for me to ask in this thread.

I have to run Citrix Xenmobile software on my phone that will not run if the phone is rooted. Can I root the phone using towelroot and then unroot it after I de-bloat the phone? I would like to be able to root and unroot as required, if that's possible.
[Galaxy S 5 General] Hellscythe:
It should be fine as long as you don't run any apps that REQUIRE root. But if you run OTA updates, it might redownload the bloat that you previously debloated.
[Galaxy S 5 General] drakester09:
There is an Xposed Module that conceals your rooted status to apps, but I don't know if it is able to trick Xenmobile.

Might wanna try that before going to the hassle of unrooting.

If you delete the APKs then the debloating will work, regardless. It's riskier though.
[Galaxy S 5 General] Hellscythe:
If I already rooted my device with this, and then i do an OTA update, do I lose root?
[Galaxy S 5 General] ducutu:
You will loose root after OTA or Kies update.

Does TowelRoot work on latest NE4 (NEE) firmware ?
[Galaxy S 5 General] cAase:
Is it just to install updates from Samsung like always? No need to unroot etc?

Skickat från min SM-G900F via Tapatalk
[Galaxy S 5 General] jebuchanan:
Where is the SD Fix?

Search didn't find it
[Galaxy S 5 General] cAase:
Updated my European model with Kies today. Rooted again afterwards and Knox is still untouched

Skickat från min SM-G900F via Tapatalk
[Galaxy S 5 General] DJayRage:
Update: ROOT is working great, but the S Fitness app no longer works.
[Galaxy S 5 General] ogremount:
ES Explorer has SD Fix, works great.
[Galaxy S 5 General] cbomb101:
Yeah I think so I froze knox apps to. Private mode popped up when I pressed the quick setting tab for it. I dont use it though so I never fully went into it. On super su I original clicked disable knox but my phone was getting lots of force closes so I reset phone installed su then didnt diable knox using su. Only froze it using anroid tuner.
[Galaxy S 5 General] spud_work:
Is S Fitness working for anyone else after rooting? Just wondering here if it is the rooting or the xposed framework that has been installed that has broken it?

** edit **

This post here has a fix for s-health and xposed - so I'm guessing that this isn't a problem caused by rooting

http://xdaforums.com/showpost.php?p=53434373&postcount=1205
[Galaxy S 5 General] rindertb:
Dutch (PHN) G900FXXU1ANE2 rooted :good: KNOX trigger 0x0, status official, OTA, Private Mode, S-Health work.

Ad edit:

Lonski in post #74 reports: '... Ive found that doing the SD fix changes the phone status to "Custom" stopping any OTA updates ...'

I did start using Root Explorer which writes to SD automatically. Perhaps that's what caused the status change.

edit 2:

Disabling SuperSU and restarting reverts to unrooted with official status. I did not allow SuperSU to disable KNOX btw.
[Galaxy S 5 General] sitimber:
i only rooted on saturday damn it now there this lol
[Galaxy S 5 General] Hellscythe:
Supposedly works on any kernel built before June 3rd.
[Galaxy S 5 General] jsr84:
When I first rooted it broke Shealth, but all I had to do was wipe app data in Titanium Backup and its been working ever since.

Are you talking about enabling write permission?

Also, there was an update for SuperSU yesterday that fixes the Binary update issue.
[Galaxy S 5 General] jebuchanan:
I got the update yesterday from the Play Store, updated the binary also.

Somehow I ran into a post saying the SD Fix was on Play Store.

Found it, installed and ran it.

Titanium Backup is functional again ☺

Thank you
[Galaxy S 5 General] YoshiNurijumi:
So will this work with the T-Mo G900T???? Will it bypass the Knox trip?!??
[Galaxy S 5 General] zeu569:
Will rooting make secured apps useless? Eg I use junos to VPN to my work account and it states Knox is used.

What about banking apps?