Root Exploit development - AT&T Samsung Galaxy S 4 General

Hello all! I am a small time developer, with extensive overall linux experience, looking to develop/discover a root exploit for the Samsung Galaxy S4 SGH-i337, running stock TouchWiz 5.0.1, baseband OC3, kernel 3.4.0-4408911, as none currently exist, without requiring the user downgrades to 4.4.2, roots, and reflashes 5.0.1 update package, while preforming an exploit to keep root. This feels like far too much effort for a root, and while i realize there has been heavy speculation lately as to whether this is how rooting will always be from now on, but i dont think it will, or should be. So I'm requesting help from any and all experienced Android Developers, hackers, modders, ROM creators, bug testers, and previous root exploit discoverers to aid me in this task, so that we may, hopefully, bring back easy rooting to owners of the Galaxy S4 who are running Android Lollipop 5.0!
P.S. I also currently posses a copy of the .su binary, as well as the SU xbin, and accompanying daemonsu file, in the event that they may be of any help, or anyone requires them.

Related

Root Prospects for LG Leon w 5.1.1?

I've managed to root my Samsung TabPro w TowelRoot w/o tripping KNOX, and subsequently changed the ROM to a different/later stock version and successfully re-rooted after that. I've rooted a simpler pre-KNOX Samsung w ODIN and TWRP. Pretty easy to follow the directions for both. BUT, for rooting my low-end LG Leon running 5.1.1, I haven't found any attractive options. Looking at KingRoot convinced me that I do NOT want to go that route. All that to say that I'm no expert on rooting, but can research things and follow directions.
I've really appreciated the value of a rooted device with respect to getting rid of unwanted built-in apps, or at least keeping them from nagging me to update them. I'd like to have the same options with my LG Leon, but am NOT finding any credible approaches for obtaining root.
Any suggestions? I understand that a prior exploit that worked w 5.0.2 was patched, and so can't be used w 5.1.1. But, that was true for Samsung, and swapping out the kernel for an older, vulnerable one allowed me to root my TabPro w TowelRoot, and then restore the latest kernel w/o losing root. Might something like that be possible with my LG? I don't know enough to know how to put together something that could do that, only enough to be curious enough to ask if it could be done.
Just wondering. I'd really like to find a way to root this phone. Any suggestions? Thanks.
OK. I KEPT looking and, lo and behold, to my surprise, the solution was right here in the forum. It involves NO KingRoot or other weirdness, and it WORKED first shot. So, if you've got a T-Mobile LG Leon (or some other LG models), hop over to to the thread titled: "[GUIDE] how to root US LG G Stylo on 5.1.1 and unbrick updated on 9/2/2015" and check it out. It was stunningly simple, especially after rooting my Samsung TabPro TM-325.
Again, I'm running 5.1.1, not an earlier version.

Exploit me baby! So many exploits, so little root....

So you often see coverage in the media about security bugs in Android, we saw quite a few cases in 2016. A lot of it is saying Android is insecure, your data isn't safe etc. Yet none of these 'exploits' or bugs seem to be used to help us get root access.
For example I want to root a family members Xperia M4 (locked bootloader) and there's a root method for 5.1 (although it does twrp as well which I don't want) but the Marshmallow firmware still has no root even though it is vulnerable to quadrooter and other exploits. I've also had a so far impossible challenge to root my Polaroid (RK3188) tablet on 4.4.
I'm just curious why we have multiple exploits but no-one has managed to make a root method or tool to actually use them?
This applies to lots of other phones as well, recent exploits include:
Quadrooter
Dirty Cow
Rowhammer

Root Options on a G930T (Snapdragon) running Nougat

I have spent the last two hours doing web searches to get this answer, and I deeply apologize if my search efforts have just been ineffective. That being said, I am looking for a way to root this device, temporarily, in order to execute a system installation of an application. Afterward, I intend to unroot the device. My goal is to keep Knox intact, if possible (in 2016 it was not), but if a Knox trip is unavoidable, I would prefer to have some way to be able to have fully functional S Health and Samsung Pay.
I saw there was some mention of the latter being possible through an upgrade from Marshmellow, but I didn't completely understand it, and the statement was vague.
Where are we on March 26th of 2017 on this issue?
And again, apologies if I missed a thread on this exact issue.
73 views and no one knows?
Don't believe what you're specifically looking for is possible. The only root I'm aware of is to flash via ODIN an engineering kernel. Doing so I guess you can then unroot, but you're stuck with the engineering kernel, which many complain about (lag, etc). This method won't trip knox, from what I read. Pay won't work. Closest match for root, check: https://forum.xda-developers.com/tm...eres-how-rooted-nougat-s7-edge-g935t-t3567502

Have superuser access but "-su: not found"

I have rooted my samsung galaxy s7 edge from sprint, G935PVPU4BQH1 with some engineering bootloader through odin. I am currently having trouble installing and running kali through the deploy apk. With some searching I found some help for setting up linux but I reached a dead end with a terminal emulator basically telling me I am not rooted with "/system/bin/sh: -su: not found" all I thought i know has been shaken and I see there is no spoon. Please help me root my galaxy s7 edge with the above software version or explain to me why I can't.
this is hard for a noob, any help is much apreciated
Please help ?
Sometimes a root doesn't take. You may have to retry as something could have gone wrong internally even if you followed instructions perfectly.
Araltd said:
Root Android 7.0 Nougat on Galaxy S7 & S7 Edge devices. YES! Supports all USA Qualcomm variants. T-mobile, AT&T, Verizon and *Sprint (*Note: Some people have reported problems with the Sprint device after root, while others have had success. As always, read the thread for detail and use at your own risk)
** THIS IS NOT FOR THE EXYNOS VERSION OF THE S7! **
Click to expand...
Click to collapse
Sprint version has reported problems.
However, I strongly advise against rooting the device due to this post. If Chainfire has issues rooting the S7 consistantly, a community expert, then any attempts at rooting are purely experimental. At this point you may be able to root the device with a real possibility of a hard brick and no logs to prevent the same for future users.
If you still would like to give it a shot, I recommend reading the links in this post and last few pages of the root thread.
TehZig said:
Sometimes a root doesn't take. You may have to retry as something could have gone wrong internally even if you followed instructions perfectly.
Sprint version has reported problems.
However, I strongly advise against rooting the device due to this post. If Chainfire has issues rooting the S7 consistantly, a community expert, then any attempts at rooting are purely experimental. At this point you may be able to root the device with a real possibility of a hard brick and no logs to prevent the same for future users.
If you still would like to give it a shot, I recommend reading the links in this post and last few pages of the root thread.
Click to expand...
Click to collapse
Thanks man I appreciate the link to that post, I still had the same error in my terminal emulator but then my dumbass figured out that there are multiple directories root can be installed in, I checked which one I had with root checker and had it fixed in the terminal, thank you

Question How to root Android 13?

Hi guys, I'm lookin to root my A525F with One UI 5.0
Also looking for necessary files to disable encryption.
Also I've received November Update for my country.
I have done root my A52 4G android 13 with magisk method.
llranga said:
I have done root my A52 4G android 13 with magisk method.
Click to expand...
Click to collapse
Nice.
Can you please share the exact method you carried on?
Follow the guide here to install TWRP and disable force encryption: https://forum.xda-developers.com/t/recovery-official-twrp-3-7-for-galaxy-a52-4g-and-a72-4g.4405751/
After that just flash Magisk.
Greetings to the XDA Team and all the other good people,
I want to root my Samsung Galaxy A52 4G, and just wanted to ask where should I start so I do it successfully, without upside-down moments. I already updated my phone to the latest, so now the phone is running Android 13.
I am a beginner in this, I educated myself from some videos online and on the XDA forum and saw that I can make my device more secure with root, I can disable system and apps trackers.
So my first question is, do I need to downgrade to Android 12 so the success rate becomes higher or I can stick with Android 13 and still get success for the end goal?
My second question is if what I wrote above this is a truth.
The third question is, how do I get my device running again if rooting fails?
The forth question is, can I unroot my device if I want it at some moment?
My fifth and last question is, is rooting worthy and needed so I can achieve my goals?
I still think I know nothing and want to expand my knowledge, so I ask people who are masters in this field to help me out with this, so I can become happier.
​Thanks for considering my request.
- your dear noobie user epeu.​
You can do root your phone. But you should not be panic. carefully read instructions and do it with patient without skipping none of the steps.
I'm also not an expert. but i have done rooting of more than 10 phones without failing.
you have to unlock your boot loader before rooting.
I doubt about your statement about device becomes more secure with root. it depends on what you do alter followed by root. yes you can improve privacy.
also your banking apps may stop work after rooting. so you have to apply necessary modules (security fixes) before get them start working again.
if rooting failed provided phone is not hard bricked, you can flash your original firmware to restore the phone. what i always do is keeping all the original firmware ready with me before doing any rooting.
yes. you can unroot by flashing original firmware.
last question is difficult to answer. majority of people use their phones without rooting. if you want to be different, it's up to you.

Categories

Resources