yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S7 Guides, News, & Discussion] navis83:
Ok try v4
[Samsung Galaxy S7 Guides, News, & Discussion] :
[MENTION=2976080]navis83[/MENTION]

Root v4

C:\Users\Administrator\Desktop\sammy>Root.bat

C:\Users\Administrator\Desktop\sammy>adb wait-for-device

C:\Users\Administrator\Desktop\sammy>adb install -r SuperSU-v2.74-2.apk
4377 KB/s (6348638 bytes in 1.416s)
pkg: /data/local/tmp/SuperSU-v2.74-2.apk
Success

C:\Users\Administrator\Desktop\sammy>adb shell mount -o rw,remount /

C:\Users\Administrator\Desktop\sammy>adb push SuperSU-v2.74-2.img /data/su.img
6543 KB/s (33554432 bytes in 5.007s)

C:\Users\Administrator\Desktop\sammy>adb shell sync

C:\Users\Administrator\Desktop\sammy>adb reboot

C:\Users\Administrator\Desktop\sammy>adb wait-for-device

C:\Users\Administrator\Desktop\sammy>adb shell mount -o rw,remount /system

C:\Users\Administrator\Desktop\sammy>adb shell touch /system/xbin/su

C:\Users\Administrator\Desktop\sammy>adb shell chmod 0755 /system/xbin/su

C:\Users\Administrator\Desktop\sammy>adb shell chcon u:object_r:system_file:s0 /system/xbin/su

C:\Users\Administrator\Desktop\sammy>adb shell sync

C:\Users\Administrator\Desktop\sammy>adb reboot
error: device not found

C:\Users\Administrator\Desktop\sammy>adb wait-for-device

C:\Users\Administrator\Desktop\sammy>adb shell mount -o rw,remount /system

C:\Users\Administrator\Desktop\sammy>adb push launch_daemonsu.sh /system/etc/launch_daemonsu.sh

C:\Users\Administrator\Desktop\sammy>adb shell chmod 0700 /system/etc/launch_daemonsu.sh
error: device not found

C:\Users\Administrator\Desktop\sammy>adb shell chcon u:object_r:su_exec:s0 /system/etc/launch_daemonsu.sh
error: device not found

C:\Users\Administrator\Desktop\sammy>adb shell if [ `cat /system/etc/init.sec.boot.sh | grep daemonsu ; echo $?` -ne 0 ]; then 1>/dev/null 2>&1
The system cannot find the path specified.

It is almost the same version 3. The device restarted total of 5~6 times. The device continues without root.
[Samsung Galaxy S7 Guides, News, & Discussion] navis83:
Check if inside /system/xbin there is the su command
[Samsung Galaxy S7 Guides, News, & Discussion] :
There is no file for the SU in the folder.
[Samsung Galaxy S7 Guides, News, & Discussion] navis83:
I will try to make a script that verify each step status before proceeding. It should be slower but maybe useful. See you later ;)
[Samsung Galaxy S7 Guides, News, & Discussion] navis83:
Try this new one: as said, it should verify on each step if device is online, otherwise restart from current step.

https://mega.nz/#!PBN2mYhY!gXCB-yb0F5gFW_H29VadpbIl0F7XXU3V8pK2886O5_s

Thanks
[Samsung Galaxy S7 Guides, News, & Discussion] Benderis:
You guys are working on an official solution for root without KNOX, but if I got it right, this method will result in a reduction of the performance?
[Samsung Galaxy S7 Guides, News, & Discussion] navis83:
Where did you find that information? Within root you can manage completely your phones events, properties, whatever you would change, maybe improving performance and not decreasing that..
[Samsung Galaxy S7 Guides, News, & Discussion] Benderis:
Yeah, I know what root is... post #4, #5!
[Samsung Galaxy S7 Guides, News, & Discussion] navis83:
Sorry Benderis, it's better to open a new discussion to speak about Root Pro/Con, this is a development thread. Thanks
[Samsung Galaxy S7 Guides, News, & Discussion] *Detection*:
This thread is in the Guides, News, & Discussion forum, the development forum is here

http://xdaforums.com/galaxy-s7/development
[Samsung Galaxy S7 Guides, News, & Discussion] navis83:
*Detection*, did you add value with this comment in this discussion or are you just making noise as Benderis?

If you would give support to thread discussion, try the latest provided Root script: as said, it should verify on each step if device is online, otherwise restart from current step.

https://mega.nz/#!PBN2mYhY!gXCB-yb0F5gFW_H29VadpbIl0F7XXU3V8pK2886O5_s

Thanks
[Samsung Galaxy S7 Guides, News, & Discussion] *Detection*:
Correcting your incorrect and pointless post, and considering you are not a mod, or even senior member, and only joined in this thread on page 8, I don't think you have the right to tell others not to post in it
[Samsung Galaxy S7 Guides, News, & Discussion] navis83:
I tried to execute script with errors, so I will try to fix them as I can.
[Samsung Galaxy S7 Guides, News, & Discussion] :
C:\Users\Administrator\Desktop\sammy>Root.bat

C:\Users\Administrator\Desktop\sammy>adb wait-for-device
* daemon not running. starting it now on port 5037 *
* daemon started successfully *

C:\Users\Administrator\Desktop\sammy>SET CMD=noLoop

C:\Users\Administrator\Desktop\sammy>IF ÔÇ£noLoopÔÇØ == ÔÇ£error: device not foundÔÇØ adb wait-for-device

C:\Users\Administrator\Desktop\sammy>SET CMD=ÔÇ£adb install -r SuperSU-v2.74-2.apkÔÇØ
install was unexpected at this time.

Ah, ok. :)
[Samsung Galaxy S7 Guides, News, & Discussion] navis83:
I tried to make the script, if someone want help me he is welcome :)!

Version 6

https://mega.nz/#!eR9iiSbB!jA3_1910s781BIWJyChxO7BY2YXbud4hQcpJDjJbl-4

To execute the script, make it by cmdline, starting windows shell through command cmd /V
[Samsung Galaxy S7 Guides, News, & Discussion] navis83:
Ok, until the latest output, you had all steps completed, except the su finalisation. I have to check why latest command has been not properly execute.

Is there anyone that know something of batch scripting and can verify if the script is correct?
[Samsung Galaxy S7 Guides, News, & Discussion] davkpl:
Im ready for testing
[Samsung Galaxy S7 Guides, News, & Discussion] Kevin1003:
Not work.. S7 SM-g930F

Not work on my s7 g930f

1. Phone stucked at "Samsung Galaxy S7 Powered by Android"

2. Root.bat freeze??? It stands at :

C:\Users\kevin\Pictures\Samsung_Root_All_S7_EX_models>adb wait-for-device
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
[Samsung Galaxy S7 Guides, News, & Discussion] navis83:
This new version doesn't verify if daemonsu script has been included already in init script, but it should avoid the missing file exception. Let me know

https://mega.nz/#!3FEGlDJI!81FaHKi13xmwbBsXHTlVnAzZuELxVJu2YYRC173_AZM
[Samsung Galaxy S7 Guides, News, & Discussion] :
Hey, look this script for root on note 7:

http://xdaforums.com/showthread.php?t=3447202

Enviado de meu SM-G935F usando Tapatalk
[Samsung Galaxy S7 Guides, News, & Discussion] navis83:
The script make the same, but direcly from phone.. It just requires that you make it by your own on phone, not directly from windows within a .bat file, but the steps are the same. If you want I can provide you the sunS7.zip, and you follow the same steps..
[Samsung Galaxy S7 Guides, News, & Discussion] :
You could do it? I would like to test directly on device.

Enviado de meu SM-G935F usando Tapatalk
[Samsung Galaxy S7 Guides, News, & Discussion] navis83:
I've prepared something like a merge between two methods: currently, we have not the complete ROM to flash, we have only the Kernel, so we have to work during boot and cannot work directly when phone is started. So I created a script that launch the root.sh command directly by Root.bat, hoping that works ;). Read the readmi.txt file inside the folder to know at which step you are: you should already have the tar flashed, so you have only to startup Root.bat and boot the phone until adb found it.

https://mega.nz/#!6cFwTRKa!cCxWug8-YKfM6zEKPiSA3XjHwRX9iipo-p4hCCDzQoY
[Samsung Galaxy S7 Guides, News, & Discussion] :
The device is not booting. The phone stays on the screen "samsung galaxy s7 edge powered by android".

The notification light does not turn on, I cleaned the cache, I unplugged the cable but nothing happens.

PS: I updated yesterday to an August update.
[Samsung Galaxy S7 Guides, News, & Discussion] navis83:
No logs in your windows shell?
[Samsung Galaxy S7 Guides, News, & Discussion] :
Nops. Only "adb is started".

---------- Post added at 04:21 PM ---------- Previous post was at 03:21 PM ----------

@navis83

Apparently this kernel does not work on august update.
[Samsung Galaxy S7 Guides, News, & Discussion] :
[MENTION=2976080]navis83[/MENTION]

So, the phone restarted but the supersu app is not installed. I installed the app, but the phone still without root. :crying:

---------- Post added at 06:33 PM ---------- Previous post was at 05:57 PM ----------

I realized something: the cause of not being able to access as super user, is because the su file is not present in the system folder.

Look:

root@hero2lte:/data/local/tmp # su
su
/system/bin/sh: su: not found

There is no way to copy the file as super user to the system folder? :confused:

Forget what I said. I was in the wrong directory. Check it out now:

root@hero2lte:/ # cd /data/local/tmp/su
cd /data/local/tmp/su
root@hero2lte:/data/local/tmp/su # ls
ls
SuperSU-v2.74-2.APK
SuperSU-v2.74-2.img
launch_daemonsu.sh
root.sh
root@hero2lte:/data/local/tmp/su # ./root.sh
./root.sh
/system/bin/sh: ./root.sh: can't execute: Permission denied

The problem is to get the damn permission.
[Samsung Galaxy S7 Guides, News, & Discussion] :
Ok. I have tried again and get stuck here:

C:\Users\Administrator\Desktop\sammy>Root.bat

C:\Users\Administrator\Desktop\sammy>adb wait-for-device

C:\Users\Administrator\Desktop\sammy>adb push sunS7 /data/local/tmp/su
push: sunS7/SuperSU-v2.74-2.img -> /data/local/tmp/su/SuperSU-v2.74-2.img
push: sunS7/SuperSU-v2.74-2.APK -> /data/local/tmp/su/SuperSU-v2.74-2.APK
push: sunS7/root.sh -> /data/local/tmp/su/root.sh
push: sunS7/launch_daemonsu.sh -> /data/local/tmp/su/launch_daemonsu.sh
4 files pushed. 0 files skipped.
5106 KB/s (39908635 bytes in 7.631s)

C:\Users\Administrator\Desktop\sammy>adb shell chmod 0777 /data/local/tmp/su/*

C:\Users\Administrator\Desktop\sammy>adb shell sh /data/local/tmp/su/root.sh
pkg: /data/local/tmp/su/SuperSU-v2.74-2.apk

The phone froze for a few minutes, restarted 2x before then a full boot on the system, but still no root. The still stucked on "pkg: /data/local/tmp/su/SuperSU-v2.74-2.apk".

@

@

EDIT 2: Now su is not found ¬¬

C:\Users\Administrator\Desktop\sammy>adb shell
root@hero2lte:/ # su
su
/system/bin/sh: su: not found
127|root@hero2lte:/ #

@

@

EDIT 3: Now I managed to run root.sh directly by the ADB, the phone was rebooted but still no root.

I give up! It is impossible to obtain root with the dm-verity enabled. Many thanks to all of you who contributed extensively with the scripts. :highfive:
[Samsung Galaxy S7 Guides, News, & Discussion] navis83:
Ok it's time to work directly with my phone as I've time, because I've a Mac and I need make boot camp to properly execute odin :(. By the way I'm not sure that root.sh script is correctly executed..
[Samsung Galaxy S7 Guides, News, & Discussion] timonoj:
Ok, I might give this a try tonight. 930FD should theoretically work, right?

Once rooted, can I hide the root or unroot again? I don't want to lose access to apps such as HSBC. But I need root due to the MVNO roaming bug, that at this point can only be fixed via Xposed.
[Samsung Galaxy S7 Guides, News, & Discussion] hw13:
I've got a fresh SM-G930F and would like to try it.

Can you give me the newest update and instructions on how to do it?
[Samsung Galaxy S7 Guides, News, & Discussion] navis83:
As I know, it should have no consequences on g930f and g935f, but it may trip knox on g935fd or make unusable the second sim. I suggest to first make it working on g930f and g935f, then we investigate other.

---------- Post added at 03:13 PM ---------- Previous post was at 03:11 PM ----------

This is the latest version

http://xdaforums.com/showthread.php?p=68761621

But follow all the discussion to be sure about steps to be realised. I tried to summarise them into readme file
[Samsung Galaxy S7 Guides, News, & Discussion] timonoj:
Thanks. I'll wait then.

Just in case... I think it might be worth a shot to use linux. Since this script seem to depend on a fast response. Reason: In Windows, in order to be able to reach the phone at all, first Windows detects the USB connection (that's once the device identifies itself as a Samsung S7), loads the appropiated driver, then it exposes the API to the user, so you can finally get a response in ADB. In linux...well, the USB is all the time active. It's just there, if there's some response, the console will get it on the spot. So, better chances of catching the phone right after a reboot, IMHO.
[Samsung Galaxy S7 Guides, News, & Discussion] nitrous²:
Hey, [MENTION=2976080]navis83[/MENTION] Really appreciate your work. Don't want to distract you but I'd like to understand this from a semi-technical viewpoint. As you might have seen, recognized developer jcadduono commented on this issue claiming that this attempt will not work. How are you trying to achieve root with dm-verity? How is your script any different from the one [MENTION=7119432]lucadalba[/MENTION] created?
[Samsung Galaxy S7 Guides, News, & Discussion] navis83:
The steps performed are completely the same, I'm not disabling system verification at moment. The point is that it seems not all the required steps are performed, not for such verification, but just because connection with phone go down or something happens. So I need to be sure that first all steps are performed as in script, then at which step we have been kicked out. Finally we have to verify however that modifications continue to be inside the phone after restart
[Samsung Galaxy S7 Guides, News, & Discussion] navis83:
I tried to flash on my updated S7 Edge the available engKernel and the result was that the phone did not complete the boot phase, remaining at startup Samsung S7 Edge information. I think that it depends on which is the Bootloader installed on the phone, so I've to try to download a previous version of my firmware and try to use it as Base for this activity.
[Samsung Galaxy S7 Guides, News, & Discussion] :
EngKernel work only on July update or bellow.
[Samsung Galaxy S7 Guides, News, & Discussion] navis83:
I will flash old s7 edge firmware as I download it
[Samsung Galaxy S7 Guides, News, & Discussion] noob924:
Should I try this root method still?

Also, what files should I download? As I see a bunch floating around this thread.

I have a G930W8.
[Samsung Galaxy S7 Guides, News, & Discussion] :
Read the thread

This is only for 935F and 930F.

http://xdaforums.com/showthread.php?p=68204186

If you make this on your G930W8, you trip Knox "0x1".
[Samsung Galaxy S7 Guides, News, & Discussion] navis83:
Ok guys, latest news, today I tried the whole procedure on my g935f: I arrived to push the launch_daemon script inside system with success, but just restarting after that, dm-verity restored the system to original status. I also tried to modify the fstab file on root / folder, but restarting as for system, there is the restore of original rootfs. So, I tried to use updated adb with dm-verity disable command, but no improvements. I had to finally restore the original firmware due to unstability.. I think that with this kernel we cannot achieve the permanent root :(
[Samsung Galaxy S7 Guides, News, & Discussion] :
But you managed to root the system? You have access with SuperSU?
[Samsung Galaxy S7 Guides, News, & Discussion] navis83:
In such way you can arrive to have the whole procedure completed, but on restart the bootloader will reset / and /system, because the boot partition contains fstab with verify flag on both partitions
[Samsung Galaxy S7 Guides, News, & Discussion] nitrous²:
[MENTION=2976080]navis83[/MENTION] So we're back to "disable dm-verity" which, as far as we know, is impossible with engKernel only? I'm so annoyed by ads, I might just go ahead an root it via cf-auto.
[Samsung Galaxy S7 Guides, News, & Discussion] navis83:
I think I've not the sufficient esperience in android modding to fix this method
[Samsung Galaxy S7 Guides, News, & Discussion] noob924:
Thanks for the clarification!

I just thought it would work because it's an Exynos model, running the oldest firmware.
[Samsung Galaxy S7 Guides, News, & Discussion] ninohs:
Is there now any way to root using engkernel?
[Samsung Galaxy S7 Guides, News, & Discussion] tetsuo55:
So you confirm that you have achieved /temporary/ root until reboot?

If we can have a script on the device that i can manually run after boot to root until next reboot then that would be good enough for me.
[Samsung Galaxy S7 Guides, News, & Discussion] navis83:
It's possible to modify system temporary until phone doesn't freeze or automatically restart, but you can for a while. Once you get it, after restart, /system and / will be restored to original one.

---------- Post added at 08:46 PM ---------- Previous post was at 08:44 PM ----------

The flashable tar is not the bootloader, it's the boot.img, so it means we cannot use different recovery as for s6. We need sboot.bin ( bootloader, BL ), it's not sufficient to have the boot.img
[Samsung Galaxy S7 Guides, News, & Discussion] nitrous²:
I can see why a temporary root is not an optimal solution. Basically, any root app that requires you to reboot your device is not going to work with this root method.
[Samsung Galaxy S7 Guides, News, & Discussion] albert107:
Can this temporary root be used to run adaway, replece hosts file and after rebook there will be still no ads?
[Samsung Galaxy S7 Guides, News, & Discussion] nitrous²:
No. The hosts file is in the /system partition and any changes will be reverted back by dm-verity. It'll block only as long as you don't reboot. That's how I understand this to work.
[Samsung Galaxy S7 Guides, News, & Discussion] Velogr1992:
It would be good to release the working (temp ) root for those who want it ^_^ thanks
[Samsung Galaxy S7 Guides, News, & Discussion] navis83:
The procedure is the same, you have to perform all the steps, but phone is unstable at the end and usually restart. So I think is not usable solution
[Samsung Galaxy S7 Guides, News, & Discussion] Velogr1992:
ok thanks for letting me know :D
[Samsung Galaxy S7 Guides, News, & Discussion] tight13:
are there no logs where we can see why it is restarting ?
[Samsung Galaxy S7 Guides, News, & Discussion] navis83:
Guys I'd like to continue to support the evolution, but I think that the main problem is in the missing eng bootloader. I hope that [MENTION=293193]billa[/MENTION] will give us it as for boot.img, otherwise it is only waste time
[Samsung Galaxy S7 Guides, News, & Discussion] danny19901:
Silly question but what about systemless root and systemless xposed would these trip Knox I have S7 SM-G930F
[Samsung Galaxy S7 Guides, News, & Discussion] shegeloaf:
i agree 100%
[Samsung Galaxy S7 Guides, News, & Discussion] nitrous²:
It's not a silly question. Systemless root won't work either since it requires a modified boot.img. Modified boot.img, aka custom kernel = tripped Knox.
[Samsung Galaxy S7 Guides, News, & Discussion] ayamgoreng:
another noob question, what's the different between eng boot exynos and verizon qualcomm ?

since verizon qualcomm is able to gain root without tripping knox.
[Samsung Galaxy S7 Guides, News, & Discussion] nitrous²:
Qualcomm devices have an engineering bootloader. We only have an engineering kernel.
[Samsung Galaxy S7 Guides, News, & Discussion] spike2:
No way to permanent root the G930f?
[Samsung Galaxy S7 Guides, News, & Discussion] crash44:
Hello,

i have a Samsung G930F with latest firmware update G930FXXS1BPI8.

I would like to keep unaltered knox (0x0) but I need a temporary root just to read the decryption key of the sd card.

This key is contained in the folder /data/misc/vold/ accessible only with root.

It is possible, in my condition, do this?

Thank you
[Samsung Galaxy S7 Guides, News, & Discussion] navis83:
Currently I think it's not feasible: in order to flash eng kernel to obtain temporary root you have to downgrade to last July firmware, leaving all available data inside your phone, and also key in your case.
[Samsung Galaxy S7 Guides, News, & Discussion] 1jn14r:
Magisk

Couldn't you use something like Magisk to root the phone systemless-ly. It also has some options to disable verity but I think that would trip KNOX
[X Style (Pure) Q&A, Help & Troubleshooting] Draco_Red:
I know that I'm in the vast minority here, but I would really rather have the 4x4 launcher grid, so I was hoping that someone might have a copy of system\app\LauncherConfig.apk from the stock rom so that I could see if that would allow me to restore that setting in the custom roms. I know that removing LauncherConfig.apk from stock allows the google now launcher to display a 5x5 grid, so I'm hoping that by restoring it I can get it back to 4x4.

Otherwise, if anyone has a way to do it a different way in to change that setting for the google now launcher I'd be happy to try, I just think that 16 apps per page is a lot more manageable than 25 per page. I don't want to switch launchers, so if it can't be done I guess I'll have to get used to it.

Thanks :)
[X Style (Pure) Q&A, Help & Troubleshooting] BandzTFM:
Do you still need/want this?
[Tilt, TyTN II, MDA Vario III General] MHC48:
In VPG's 8525 ROMs he included a folder in Programs to Enable and Disable the Proxy (so that one could easily use WiFi instead of GPRS).

I found cabs for restore hidden proxy and remove hidden proxy, thinking those were the same. However after installing the cabs, I can't find them anywhere on my Tilt.

Does anyone know how to make them visible or where they might have gone to or especially how to create a new folder in programs to install them to
[Tilt, TyTN II, MDA Vario III General] mr_skot_a:
Proxy Cab

I am not sure about it working for the Tilt and am actually looking for the cab for proxy settings for my 8525. Do you think you could attach them for me? Or even better attach the link where you found it. Thanks.
[Tilt, TyTN II, MDA Vario III General] BobLoblaw:
I'm bringing this back to life because I've got the same problem.

I wiped all the ATT crap off of my Tilt. Then it seemed that the proxy was still enabled, so I downloaded the cabs here for remove/restore hidden proxy. The problem is, after I installed the cabs, I can't find where to launch the programs from.

Any help?
[Tilt, TyTN II, MDA Vario III General] kyphur:
Installing the enable Cab file enables the hidden proxy.

Installing the disable Cab file disables the hidden proxy.

There is no program installed.
[Tilt, TyTN II, MDA Vario III General] BobLoblaw:
haha, I feel retarded for asking that... I just opened the cab and looked in the XML and realized that the cabs are just registry changes.

Thanks for the reply tho!
[Tilt, TyTN II, MDA Vario III General] cincy1020:
Okay, dumb question. I have both enable proxy, and disable proxy in my Windows directory. Is there a way I can add these to HTC Home, so I will have a quick easy way to use them? I also have SPB Pocket Plus, is there a way to add it there?

Thanks!
[Tilt, TyTN II, MDA Vario III General] Ray_jai:
Hi, where can i get this for my wizard? thanks!
[Tilt, TyTN II, MDA Vario III General] udgn:
Explain.

Hi I have AT&T Tilt. :confused:

I accidentaly activated "Disable Proxy" CAB, and it said it was installed succesfully.

Can anyone explain for what is used Disable and Restore Proxy?

What is its function in my phone and what does that have to do with Tom Tom?
[Tilt, TyTN II, MDA Vario III General] kareeem:
Has nothing to do with Tomtom. If you enable the proxy, you shouldn't be on wifi but rather ATT's network. The proxy is used to access some stuff off the ATT network, not wifi.
[Mate 8 Q&A, Help & Troubleshooting] jopa7:
First of all let me say that this is a fantastic phone. Have a lot of phones and i can say Huawei is making a fantastic job. Need help with installed apps. On my s7 edge and other marshmallow phones i can transfer them to sd card. On Mate 8 cant find this option. Many thanks
[Mate 8 Q&A, Help & Troubleshooting] thekermit:
Yeah, same here. Just got it a few days ago and trying to figure out how to move apps to sd card. Any help is very much appreciated! :fingers-crossed::fingers-crossed: