yashsingh1/xdaforums huggingface dataset:
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] TheDevelopper:
You can't flash the official stock firmware through Odin? Me too I have a SM-G935V USA running on U firmware, I got a lot of issues using root trying to get "special features", I got the pink warning screen from Qualcomm secure boot and the phone can not be booted unless I flash the stock firmware, and i flashed the stock firmware for almost 100 times (maybe more) but I didn't get any kind of issues with the flashing process, and the phone back to normal with stock firmware
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] shadowmoses:
my apologies yes like you said stock firmware, and the flashing process itself had no issues, but for some reason i get dark screen unless the device has low battery it seems ive yet to see the setuo wizard or boot animation. but what i have seen now is the splash screen and the 0percent battery screen thats it. i mean i even get working leds and the screen backlight but its as if the brightness has been turned all the way down. but not just within the os but even for download mode and recovery. all dark screen but can be accessed.

---------- Post added at 11:46 PM ---------- Previous post was at 11:09 PM ----------

can anyone post the pit file for the g935v?
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] jrkruse:
The pit file is in the csc tar file just extract it did you use the regular csc in odin and did you try to reboot to recovery and wipe data
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] shadowmoses:
well i tried to wipe data but i cant see the screen even in recovery.
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] wacky_35016:
I Just realized that I was having that problem myself. I Backed up, Reinstalled using CSC not HOME, Rooted, then restored. Copy is FIXED. Thanks for your time.
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] shadowmoses:
would anyone be so kind to tell me the exact buttons i have to push in what order while im in recovery to perform a data wipe. or is there a way to wipe data without doing it in recovery blind? lol.
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] stang5litre:
Odin CSC. Not home CSC as it doesn't wipe data.

stang5litre 5.0 Edition Roms
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] jrkruse:
You may have a screen issue. If flashing stock Verizon firmware using the regular csc file and pit file dont fix your problem then it may be a hardware problem
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] shadowmoses:
i did what u said no luck there.
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] stang5litre:
Get a log pls. Use adb to get one. That wipes data so should have worked. Have you tried flashing all the files in Odin back to stock?

stang5litre 5.0 Edition Roms
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] jrkruse:
What odin files are you using what version of firmware are you trying to flash?
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] jrkruse:
He aint going to be able too because he can't enable USB debugging
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] jrkruse:
I guess he could flash engboot.img then he could pull one
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] shadowmoses:
[MENTION=225390]jrk[/MENTION]use you are correct sir im unable to adb debugging. and the firmware i am using is the one you posted op and then im using this stock firmware SM-G935V_1_20180528104640_86kmj7gv8d_fac. also yes i have tried flashing every file in odin and the only screens im able to see is the bootsplash screen the entire time its up and then for the boot animation it shows it spelling sam and then it goes black. but its booting to setup wizard the reason i know is because i was able to enable tts using the power button. i can boot to everything fine i just cant see anything affter a few seconds of the device being powered on.

btw thanks for everyones feedback helping with this issue.

---------- Post added at 04:48 PM ---------- Previous post was at 04:46 PM ----------

should i flash the one intended for this device from the first post. if so i will and then let me know what adb commands to type to get the log file.

---------- Post added at 04:50 PM ---------- Previous post was at 04:48 PM ----------

also i reflashed the odin files from op just the 4 needed to run the stock unrooted rom. so thats what my system is currently flashed to.
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] jrkruse:
That doesn't tell me what stock firmware you are trying. Too flash. I would download fresh firmware from updato use the pit file use regular csc not home csc and in options in odin choose nand erase
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] shadowmoses:
apologies jrkuse heres the file name for the ap file in the stock firmware im tryin to get working AP_G935VVRU4CRE5_CL13527029_QB18290732_REV02_user_low_ship_MULTI_CERT_meta.tar.md5

as i said odin flashes everything succesfully and everything works just the screen isnt displaying but im going to try what you said about updato. and the nand erase i hadnt tried yet.
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] shadowmoses:
ok, so ive got some type of progress i flashed the stock firmware and did the nand erase and i got nothing just still everything active but dark. so i used my wifes phone thank god we have the same phone and i managed to wipe data and cache rom recovery finally. heres where it gets interesting. so now no bootsplash or animation but when the phone boots i can see the screen is like super dim with like a yellow tint but its light enough for me to see what im doing but only within the os. so i tried another wipe and got nothing back to square oone so im like wtf. went back into recovery and wiped again and slowly but surely it is giving me the dim screen again. also when i power off the off animation plays in full light and i can see it for the whole animation. so now that ive got atleast the ability to get developer settings on if need be. any ideas..... ?
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] jrkruse:
Did you flash a zip to change your Samsung s7 logo by chance
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] shadowmoses:
no only the oreo volt hotspot icon fix and after i flashed that is actually when the rom started acting up. but since then ive only been odin flashing firmware files.
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] abyss7:
Hello

Is it possible to determine via adb if we are in engineering recovery or in engineering kernel? cat and grep something...

I just want implement universal patching script, but at the end reboot to bootloader if it is engineering recovery or just reboot if it is engineering kernel.
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] jrkruse:
You cant boot the phone with combo bootloaders and eng recovery so it pretty easy too tell. If you have them flashed the only thing you can boot too is recovery plus you will see the pink writing on the s7 logo screen and thats is far as it will go if you try and boot
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] abyss7:
I mean another thing... At the end of script lets say xxx_FlashSystem.cmd there is a command

adb reboot bootloader

It is valid if we are in combo bootloader. We need odin mode next to continue the process.

If user plan to use root, to apply the same patch he do not need combo recovery, he can modify the system directly via engineering kernel, because of that I need simple reboot at the end.

I do not want to ask user "Press 1 to reboot to bootloader or press 2 to just reboot". It is not user friendly. I want to do the choose automatically in script.

Is it possible to determine programmatically via adb where we? In combo bootloader or in engineering kernel?
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] jrkruse:
Im not sure what you are trying to do. If your verizon i posted 2 new easy root unroot roms for s7 and s7 edge. If your trying to root the older unrooted roms with safestrap then just root it with zip from this thread at no point during root do you ever flash engbootloaders so im not sure what you are trying too do and there is no way to root without eng boot.img flashed so it sounds like you are wanting script to magically read your mind and know if you want to wipe data or not. You realize new root zip does not require you to wipe data
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] stang5litre:
He's got to be confused as we don't have a eng Bootloader for snap models s7 and s7 edge. We have eng boot.img which is a Kernel. Maybe that will clear up some of his confusion. Also if you don't like Aroma then you will have to make your own script. There is no point though as [MENTION=1949695]jrkruse[/MENTION] has already provided this for you. But we are not getting the whole story here. I have flashed my phone.....I don't know how many times and Odin fixes normally anything. Maybe hardware related. But def nothing to do with the root process or thread.

stang5litre 5.0 Edition Roms
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] abyss7:
May be it is not very relayed to this thread, but you have written tones of scripts related to this, I hoped to your help. Thanks anyway. I found the solution myself.

@echo off
FOR /F "tokens=* USEBACKQ" %%F IN (`adb get-state`) DO (
SET var=%%F
)
IF /I var EQU "device" (
adb reboot
) ELSE (
adb push Images/deletecache.img.ext4 /dev/block/sda21
adb reboot bootloader
)

Thanks for your work, here is suggestion totally related to this topic:

In V11 firstly you asks

If user answered 2 it is meaningless to ask again

Because only 1 fits to Oreo. I believe it is possible do not ask it second time.
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] jrkruse:
If you take a real hard look at script you will see that by answering the question determines what fstab.qcom file gets flashed. If you want to rewrite script and make it better i will post it we are all open to improvements. You just never made it clear if you was talking about root or installing my non rooted roms as they are the only thing that uses eng bootloaders
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] jrkruse:
Also for this question as asking a second time. The first time you choose oreo or nougat is if you choose nougat you get offered choice to flash fingerprint fix the second time it ask for system or systemless is because you can use either on nougat if you choose
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] pyveswebsud:
Hello everyone, first a big thank you for your work, I have an S7 935a and I managed to update with your program. All is well until I update the SU binaries. I read in the forum that we should not do it and in the procedure we can do it 1st page. my S7 bootloop on samsung after updating. Same with wipe data and wipe partition. How to make?

I look my phone is better with no root? Why? Is right?

Sorry y speek french end my english is not good.

Have a good day
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] abyss7:
My fault I did not mentioned it https://xdaforums.com/showpost.php?p=77339159&postcount=602

My idea is to make patch universal for applying on non rooted roms via eng recovery and on rooted via eng kernel. In the second case user does not need to do that long process with fourth time odin...

Here it is if you want take a look https://yadi.sk/d/qdljzVGK3aVdfe
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] stang5litre:
This is not a solution my friend. Thats aroma. Like I said before, seems you just don't like Aroma. So we will see what you come up with in scripting wise. [emoji106] Good luck. [emoji41]

The 2nd option was just a selection of what root someone wanted. System or systemless. Even though one is used the script is for more then just this build like Nougat etc. Which you can use both on.

stang5litre 5.0 Edition Roms
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] abyss7:
lt looks like fire cannons at sparrows. I just want to push a couple of folders via adb, but make user experience a bit more friendly. I do not want to ask him about script can check itself.
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] tylerhole:
But but...it is user friendly?
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] stang5litre:
Ok so use adb push with the eng kernel. Thats simple bud
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] jrkruse:
So this script is too basically add Russian language support to the SM-G935U firmware. It looks like nice script maybe post this over in my rom threads
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] abyss7:
Actually for both 930 (in another archive) and 935. It is more important (for me) that it installs adapted customization to Russian networks (it is really different from all US), that enables VoLTE/WFC, some usual settings and other features.

Back to the topic...

Just finished investigation...

After Installing stock firmware and root everything works like a charm. But! As soon you load to recovery, system understands that it is modified (dm-verity verification failed) and modem becomes unstable.

It can be noticed in NSG (Network Signal Guru) application, if you try to lock LTE band or something system totally crashes. (screen like with kernel panic, you should know ;)

The solution is do the process (trick with dm-verity) from unrooted rom. One note, do not try flash eng boot on the last odin

It is needed to do it after this

After wiping cache you need reboot to odin mode and only here flash eng boot.
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] TheDevelopper:
Please, anyone can be give me the right permissions for /system/xbin/zipalign, is it 660/rw-rw----? Or full or 755/rw-xr-x?
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] jrkruse:
0755
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] TheDevelopper:
Thank you so much
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] TheDevelopper:
THIS WORKS ONLY WITH V10, TESTED ON V11 & V6 AND THE RESULTS FAILED, SO, THIS IS ONLY FOR V10 USERS WITH BUSYBOX FULLY INSTALLED

"00service" Script link: https://www.mediafire.com/file/i5cnhlw0iie94a8/1service/file

Busybox link:

https://play.google.com/store/apps/details?id=stericson.busybox

Ram Truth link:

https://play.google.com/store/apps/details?id=sa.ramtruth

Directions:

1_Download Busybox applets (link above) then install it to your device.

2_Download the "00service" Script (link above) and push it in /system/su.d and give it full permissions (0777) then your phone will fly, it will run at boot once you restarted your device.

3_In /system/su.d edit the [MENTION=1949695]jrkruse[/MENTION] "90Entropiness" Script from echo "10" to echo "0", hit save then delete the "90Enropiness.bak" file.

4_Download the Ram truth app (link above) from Google Play store and open it before setting the changes (before restarting the phone) to view how many swap you're using before executing the script. Once you restarted your phone, after the execution it should be on "0" for the both swap (total) and (used). (The Ram Truth app doesn't do anything, it just displays the amount of your device's ram).

5_You can change the I/O governor to deadline, and you can also change the Entropy read/write values to the mentioned values showed in the Attached Thumbs by editing the [MENTION=1949695]jrkruse[/MENTION] "90Entropiness" script, then delete the SEfix app if you want.

Note: this is not a Samsung Galaxy S9+, I just edited the build.prop so it looks like that, the NavBar I enabled it using Xposed with Gavitybox module and also by adding some framework lines to /system/etc/floating_feature.xml ported from the Galaxy S9+ floating_feature.xml file, it's my Galaxy S7 edge SM-G935V running on U firmware.
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] mario6714:
After reboot or shutdown i need execute the script right?
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] TheDevelopper:
I have updated the script, you don't need to EXCUTE it at all, it will run at boot
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] mario6714:
I need just follow instructions or just download again?
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] TheDevelopper:
Delete the previous script and download the new one then push it to /system/su.d and give it full permissions
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] mario6714:
Where is the new?

And how give full permissions?
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] TheDevelopper:
Using any root explorer set 0777, long press on that script then click on the three dots on the top right corner depending on which root explorer app you're using then choose permissions and set the value mentioned above
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] mario6714:
Here, is working?

Or i need reboot?
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] mario6714:
Not working...
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] TheDevelopper:
Have you restarted your phone?
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] mario6714:
Yes

And the app ram truth dont change still the same
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] mario6714:
Here
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] TheDevelopper:
Edit the [MENTION=1949695]jrkruse[/MENTION] 90Entropiness file as it's shown in the Attached thumb
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] mario6714:
Can you share the file please?
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] Craz Basics:
Someone posted on Reddit :)
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] jrkruse:
Systemless root issues should be fixed with V4 in the OP it may reboot to upload mode a couple of times during first boot ups just force reboot the phone it should reboot fine after that. Also have root.bat delete the Chameleonapp for the reboot problem on sprint if you can not run the root.bat because it reboots too soon then you will have too find a way to disable the Chameleon app.

Nothing has changed since nougat or any other root. There is no way to pass safetynet. Your pokemon go is a pokemon gone app snapchat there are ways to get to work namely install it before you root. Magisk option is still system root on this so it does nothing that regular magisk root does. There are methods to reduce the lag just read a little bit.
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] Mr_Andross:
Do you have any info on the Chameleon app? I'm not able to find it on my phone at all. Is it a system app or something?
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] Syngravez:
Yea so for example: Staying on Stock_Oreo_Hybrid then do my thing to make it work then Root with your new method after ?

The root.bat should get rid of that!
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] TheDevelopper:
[MENTION=1949695]jrkruse[/MENTION], should we change the CPU governor from interactive to ondemand using kernel auditor to fix the lags? Any answer will be really helpful and appreciated
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] EnumC:
Xposed framework working

Xposed framework tested working on Oreo after flashed on FlashFire with the V4 script. Yet to try out any modules, but no boot loops so far! :)

[MENTION=1949695]jrkruse[/MENTION] Thanks for everything you do for this community!
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] Syngravez:
Just play around with the cores freqs. I set it too low Limit-mb instead of the higher ones. Set to either ondemand or powersave.
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] jrkruse:
For you guys with all the questions about lag. There are literally hundreds of pages on how too fix lag. Take the initiative and read and figure it out. The lag has been there since marshmallow root
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] JEROOD:
Secure Folder not working

Secure Folder no longer working.

Was wondering if there's anyway to fix this?

Thanks.
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] jrkruse:
Too fix what?
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] orgulloso4202:
Use this app http://m.apkhere.com/app/com.mrbimc.selinux

---------- Post added at 09:56 PM ---------- Previous post was at 09:38 PM ----------

Here is one thread that will help with lag

https://r.tapatalk.com/shareLink?ur...share_tid=3441715&share_fid=3793&share_type=t

Like [MENTION=1949695]jrkruse[/MENTION] says look for threads they are out their, if not Google.
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] JEROOD:
My bad,

Corrected my previous comment.
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] thebatfreek:
do i still get into safestrap via directions in hybrid op?
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] S2thejar:
Alright I'm about ready to try this on my SM-G935T. Hope it works! Thank you so much as well for all the work put into this. I know so many people have been waiting for this as well as me.
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] jrkruse:
the latest zip v4 removes safestrap
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] thebatfreek:
10-4
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] Gregbmil1:
I did none of this. All I did was wait about 20 minutes, now no lag at all. During that time I did install BusyBox, so maybe that did it. I I did System Mode with no CPU Tweaks. I did however have no SuperSU app after root process. Guess how I knew it was rooted though? The System UI on the lock screen, lol. Warning me that the device is rooted :laugh: as if it was a bad thing, or even an accident, lol. Oops, I accidentally rooted my phone again :laugh:

Anyways I went to the play store, downloaded SuperSU, opened it up and is working great. It tells me to update the binary but I'm scared, lol. Thank you for sharing this with us and and being so helpful. It's got to be a great feeling being the first to get root on S7 Oreo:)
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] jrkruse:
If you don't use supersu stuff provided here you will have a phone in bootloop. Do not update the binaries with any supersu app other than the one in my zip
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] Gregbmil1:
Actually, I did it again using V4, systemless SU, No CPU tweaks. It is running perfectly, thank you!!

BTW, I'm on a G930T.

I'm not so worried about bootloops so much. I now have two rooted phones, which neither have any service. I like to mess around with them is all. My daily driver is a G965U and we all know that won't have root anytime soon. I was thinking about selling it because of that reson alone.
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] Gregbmil1:
Ok guys I must warn you, DO NOT install Xposed. I reset 4 times now, I made certain it was the correct Xposed Framework. After a normal boot up I get this screen. The only thing I can do from there is bring up the volume slider. I even reflashed ENG_BOOT only to get the same result. Someone may have reported this earlier but being the way I am, I flash things then ask questions later?

But never have I hard bricked a phone to the point it's unrecoverable. Will the G930T be my first?
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] TheDevelopper:
You will find it in /system/su.d if you're rooted with [MENTION=1949695]jrkruse[/MENTION] root method
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] mario6714:
And now?

Reboot?
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] TheDevelopper:
Now push the 00service script in /system/su.d and give it full permissions 0777 then restart your phone, once booted check the Ram truth app and you should find everything as expected, if it's not, just wait for a few moment then check the app again and the values should be as mentioned
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] mario6714:
Question, just dalete service.sh and put 00service in is place?
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] TheDevelopper:
Yup
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] mario6714:
Here, is working or not?
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] TheDevelopper:
Yeah, in just a few moment the swap (total) should also be on "0"
[Verizon Samsung Galaxy S7 Edge Guides, News, & Dis] mario6714:
Aftet 7 hours still not working, can you shared your file 90Entropyness?

Here my files