yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Sem3ane:
hello, i flashed the systemless devbase, i dont have magisk, i have superSU app, and xposed on sm-g900f, im trying to install a modded app systemless as u mentioned [MENTION=5150393]_alexndr[/MENTION] but when i enter the folder /data, it's empty what would u suggest?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] guta12:
How i can install this rom without super su, and only with magisk i need twrp or not?

Enviado desde mi SHIELD Tablet mediante Tapatalk
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] _alexndr:
Thread has been updated some time ago -> v1.5 (I just re-uploaded file due to some minor improvements)

You probably got older MOD named v4.1, I re-uploaded MODs since I introduced Magisk support (check MD5 as files are named as previous ones)

Probably best solution for you will be full ROM, not overlay:

https://xdaforums.com/s7-edge/development/rom-dqd1-devbase-v4-1-multi-csc-safe-t3591647
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] supreme01071:
Unroot2ota work but after unroot Ota doesn't work.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] supreme01071:
Please help.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] supreme01071:
And Safe-Debload not working on SM-G901f
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] _alexndr:
OTA will work only with stock recovery. Have you tried if you have proper stock recovery before trying ot receive OTA? Have you read carefully post #4? There is a possibility that stock recovery will not be restored successfully (even without error message). In such case you need to restore stock recovery manually.

Another reason may be if you (maybe unintentionelly) modified your /system partition (it is enough to mount it rw only ONCE, even without changes in files to break OTA!)

Safe debloat works well in case of all devices I tested it (including G900F which is very similar to G901F). I'm not sure if you properly understand expected effect. You need to uninstall app's updates (as these are stored on /data/app), then reboot device.

Another reason may be that AFTER installing SYSTEMLESS DevBase - flashed a custom kernel and in result you have lost su.d / post-fs-data.d feature
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] _alexndr:
Does /system/csc_contents/enforceskippingpackages.txt file exists in your system?

If not - does /system/etc/enforceskippingpackages.txt file exists in your system?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] supreme01071:
I can not find this file.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] _alexndr:
Could you give me the link to your stock, original firmware (e.g. @ Sammobile)?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] supreme01071:
https://www.sammobile.com/firmwares/galaxy-s5/SM-G901F/NEE/download/G901FXXS1CQC1/127036/
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] _alexndr:
Indeed... It does not exist. It is the first FV I have seen without enforceskippingpackages.txt file. I will try to include a solution for such case in future SYSTEMLESS DevBase versions
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] supreme01071:
Thanks man your the best!
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] _alexndr:
Try this and give me a feedback, please:

https://www.androidfilehost.com/?fid=673368273298949660
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] supreme01071:
This work thanks

Изпратено от моят SM-G901F с помощта на Tapatalk
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] _alexndr:
Thread has been updated :cool:

v1.6 (see changelog)
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Galactus:
Does encryption work?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] _alexndr:
Starting from Nougat it still DOES NOT work :(
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Galactus:
That's a shame. I may be done with Samsung for now, I really just want to be able to root my phone without all of the things involved, no encryption with TWRP etc. May grab a OnePlus 3t temporarily, kind of bored of my S7 Edge now.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] nestade:
Hi,

CF Autoroot got updated today.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] _alexndr:
SYSTEMLESS DevBase has been updated to v1.7 :cool: (see changelog)

BTW: At this moment this is possible to use root & encryption with Nougat. As it is not easy to explain how to achieve it - for more details please read @Chainfire's CF-Auto-Root thread starting from post #978:

https://xdaforums.com/showthread.php?p=72204306
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] earth08:
Does

SPay, SHealth, SPass, Private Mode, my Knox, secure folder works with this.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] _alexndr:
Only Knox related apps doesn't work with stock kernel (like My Knox & Secure Folder), other things should work with MagiskSU as root solution & Magisk Hide enabled in settings. Private Mode & SHealth should work in any case (even with SuperSU as root solution)
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] guta12:
It possible add init.d support?

Enviado desde mi SHIELD Tablet mediante Tapatalk
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] supreme01071:
unroot2ota don't work with Magisk
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] earth08:
No more with root detected many of SApps had stopped working like

SHealth, SPass.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] _alexndr:
Oh, it may be.. it require qunzip (busybox applet) which is not natively present in Magisk. On the other side - enabling busybox in xbin (in Magisk settings) will cause that unroot2ota will detect /system modifications. I will try to find a solution :good:

If we are talking about pure stock, just rooted then YES, you are right!

But not here :cool: SYSTEMLESS DevBase contains systemless workaround for SHealth (ro.config.tima=0 in /data/devbase/system/build.prop)

See screenshots :cool:

NOTE: I can't check Samsung Pass & Samsung Pay as these apps are not available and does not work in my country
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] supreme01071:
Thanks for your hard work!
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] alwafy33f:
i have G930F and flash SYSTEMLESS DevBase v1.7 manytimes but its say some file not found ..how can i solve this problem please
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] _alexndr:
What do you exactly mean? Is this recovery's message or intaller's? Could you post here recovery.log ?? Are you trying to install it over pure stock or custom ROM??
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] _alexndr:
Fixed :) SYSTEMLESS DevBase has been updated to v1.8 :cool: (see changelog)

Restoring the kernel works fine with unroot2ota & Magisk but note that restoring the stock recovery depends on /system/bin/install-recovery.sh script. If it does not work as expected - you need to restore stock recovery manually (unroot2ota will not return an error if restoring stock recovery has failed)
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] loripino13:
Hi!

I am trying to override the stock touchwiz to use the new S8 one.

But if I copy TouchWizHome_2017 to /data/devbase/system/priv-app and set correct permissions it doesn't work.

/data/devbase/last_boot.log says /data/devbase/system/priv-app/TouchWizHome_2017 <- bind mount failed.

Can you help me? thanks
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] :
hello i don't have encrypted data because i had to decrypts it.

But having data decrypted is a risk for me in case of losing the phone. (No Google verification at first boot)

If i flash this file and untick "oem unlock" Will it boot anyway? or it bootloops?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Proglin:
Thanks for your hard work!

I'm using v1.8 and it is working nice. Do you have an step-by-step how to use OTA on it? I'm a little lost about pre-actions/apps/dowloads need to before/after use unroot2ota
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] _alexndr:
Thread has been updated :cool: (see changelog)

>> SYSTEMLESS_DevBase_v1.9.zip <<
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] HJarausch:
Lost root

Hi,

I had a running rooted system with devbase 1.8

Today I was asked to upgrade to Magisk 13.1

I tried this, it failed and made my system unbootable.

I've tried to run the Magisk-12 Uninstaller but that didn't help either. Then I copied Devbase 1.9 to the device (using Twrp), flashed that. But I had to wipe the data partition before since it had been damaged.

Now I could reboot but I've lost root and I don't see magisksu anywhere.

What can I do to regain root?

Many thanks for a hint,

Helmut
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] 1stichiban:
hi, re-flash magisk zip file to gain root
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] _alexndr:
Thread has been updated (see changelog) :cool:
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] MrShock:
Hello, I'm a noob so there are something that I wanted to ask. My phone has already tripped knox, means the knox-based feature won't work even if I'm on the stock firmware. So if I do those step:

+Flash the stock firmware through Odin.

+Flash TWRP then enter recovery.

+Tick on the checkbox on the TWRP warning screen then swipe right.

+Install root app like Magisk, not reboot to system, then install your Systemless devbase, then reboot system.

If I do like so, my phone will have a fake knox, the annoying securitylogagent won't show up, the knox-based things would work (I don't care for Samsung pay), right?

Going with custom rom is much easier exept the fact that I have SM-930L so all the Touchwiz-custom rom have a bug on my device which is annoying (as their kernel is based on F model).
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Calvin.manneson:
hi bud.

good choice to use this rom.still benches the highest...with stock kernel :D

you can install using flashfire app also.

...after you flash TWRP,boot directly into recovery,not system.

enter wipe menu and 'format' data. (prompt to type 'yes').you can wipe other partitions also

you should be able to install Dev-base hereafter.

by default,installer will keep existing csc and root with Magisk.read op if you need to make changes.

use prime kernel.lots features and stable as stock.made for your variant.

edit..apologies just realised this is for Dev-base zip and not full rom..

your method looks good.

root then flash dev-base,is correct

custom kernel will give fake knox.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] MrShock:
So after install TWRP, format data, as what I read I still have to flash a root app like Magisk, then flash the SDevbase, right? Then reboot system and the knox would be fake to 0x0 right? (I know it's only fake to trick apps to work, a tripped knox is no reversible).

And about custom rom and kernel, most of them are based on one source kernel so anytime I tried to flash another rom or kernel (haven't tried AOSP), one weird things happen: everything works, BUT the hardware touch back and recent key (I've already tried Prime kernel, and some others kernel, always the same problem). Only way for them to work is to flash back to stock, that's why I want to use this method because my phone is Korean model so it has annoying things like limited sms length, can't turn off camera shutter sound... and many stuff refuse to work cause of tripped knox. And if I root the stock rom the stupid securitylogagent keep on showing which irritate me.

So can you tell me about your experience with this rom? Do you flash root app before SDevbase, or just flash the SDevbase only? Do you get knox faked to 0x0? Can stuff like SHealth work?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Calvin.manneson:
OK. I understand.

this is not a rom.i use this dev's full rom and includes those few mods you mentioned . incidentally you can find those mods on his afh site.

for custom kernel, prime kernel is your best shot.the developer is Korean and helpful. post your issues on his thread.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Proglin:
gunzip not found while using unroot2ota. See image attached. Any help? Magisk14.3 systemdev1.10
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] lvnatic:
Alexandr is there anyway you can make a normal flaahable ROM based on your Dev base?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Many40:
[MENTION=5150393]_alexndr[/MENTION] I was playing a little recently on your systemless DevBase (see my set up in the signature) with system files modifications and just want to share my observations with you on that (if you don't mind of course :)).

Firstly I tested a mod based on framework files and after implementing them into /data/devbase/system/framework -> everything worked as expected.

Then I tried making a mod based on SystemUI.apk. I did exactly what you wrote in post #4 Example 2 and it seemed that the new modded SystemUI.apk virtually replaced /system/priv-app/SystemUI/SystemUI.apk. Unfortunately I made a mistake in the mod (SystemUI crashed) and wanted to come back to the original apk. What I did was: deleted SystemUI folder with SystemUI.apk from the /data/devbase/system/priv-app/ and rebooted device.

Surprisingly the situation didn't change -> SystemUI was still crashing so it looked like original SystemUI.apk didn't take over properly its function.

Finally I got the phone working by restoring /data partition from my nandroid backup

Are you aware of that, or maybe I did something wrong?

Thanks!
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] _alexndr:
Seems like data of SystemUI.apk have been corrupted during your test with modified apk. In some cases restoring original apk will not help. Some time ago I had similar case with modified Messages app
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] _alexndr:
Thread has been updated :cool: (see changelog in post #3)

>> SYSTEMLESS_DevBase_v1.11.zip <<

I could not reproduce your issue.. but maybe try v1.11 which contains potential fix for your issue
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Many40:
Thanks for the info. Good to know that I was not only one facing this issue ;) By the way I am very curious what still was causing SystemUI crashing after reverting back to the original apk.

Any hints for the future for any easier workaround if the problem happens again? Thanks
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] angello2299:
here you can find a workaroud

How to fix a SystemUI.apk fc after flashing a bad SystemUI.apk and no SystemUI.apk helps
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] Many40:
Short update on trying systemless SystemUI modification on the latest devbase -> good modded SystemUI.apk doesn't work when placed into: /data/devbase/system/priv-app/SystemUI/ but works when placed into original location: /system/priv-app/SystemUI/. Tried many times with proper permissions etc and no luck so far.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] p1zza:
Hello [MENTION=5150393]_alexndr[/MENTION],

I'm sorry to bother you, but I'm close to going insane...

My only goal is to take the most current stock ROM and root it myself without breaking OTA.

I've read multiple guides, multiple posts about encrypted data, systemless root etc. (also the one from Chainfire)

Still I'm failing to keep my SM-G930F in the "unmodified" state to receive OTA Updates.

How am I supposed to root my phone without breaking the OTA state?

Currently testing with stock firmware (all of them Android 7.0):

"G930FXXU1DQJ1" Region: DBT

Also tried it with:

"G930FXXS1DQHM" Region: DBT

"G930FOXA1DPLT" Region: BTU

"G930FXXS1DQIN" Region: DTM (Provider Branded)

I tried it in the following order:

1. flash stock via Odin 3.12.5 (incl. CSC for full wipe), then going through the start-wizard

2. check if OEM-unlock is enabled

3. go to download/fastboot mode, flash TWRP via Odin 3.12.5 ("Auto Reboot" unticked); hard reset by pressing volume down and power button for about 10 secs

4. go into recovery manually and "keep read only"

At this point, data partition is already unreadable( 0 bytes). Formatting it will give me the ota fail message in the software updater.

But without having a writeable /data partition, systemless binaries won't be able to install properly or not?

Still I tried both ways:

5.

- keeping data unformatted will give me errors for either magisk or your systemless DevBase v1.11 (that it couldn't be installed, which seems obvious to me)

- format data with TWRP by typing "yes" -> then installing magisk and then systemless DevBase -> Installation successful, but of course - OTA warning.

- Also FlashFire didn't seem to flash systemless DevBase properly when I tried rooting via TWRP first, then going for systemless DevBase via FlashFire. Screen went black after flashing, and the system just rebooted. build-number is not showing your nick. So even out of android and having root-permissions from magisk -> no successful flash.

My device was encrypted and non-rooted before. Isn't reinstalling stock and using CSC enough to wipe the encryption from /data? Or is there another approach to have access via TWRP without formatting it?

Am I missing something obvious?

Many thanks in advance!
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] _alexndr:
I just remembered that in the past (about 6-8 months ago) I also had a problem with SystemUI (modified by @ambasaadi) when I tried to replace it systemlessly. The reason is still unknown for me and it is the only one apk I know which makes trouble "replaced" that way..

Unfortunately, starting from official Nougat for Samsung devices there is no way to update via OTA in case of rooted devices (even if we unroot device temporarily). The main reason is that it is not possible to boot with stock-encrypted /data partition if kernel and/or recovery has been modified (NOT signed by Samsung). Of course, you can re-encrypt device with modified kernel and/or recovery, but you will get "custom" status in Settings -> About phone -> Status (even if you restore stock kernel AND recovery).

Here are my experiments and observations:

https://xdaforums.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133/post70805494#post70805494

...and here you will find insights and conclusions of [MENTION=631273]Chainfire[/MENTION]:

https://xdaforums.com/s7-edge/development/sm-g935-exynos-cf-auto-root-t3337354/post72204306
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] p1zza:
Damn...

Okay. The alternative way would be reflashing and re-rooting with newer stock images? (AP and BL only?)

Is there a way to keep my internal data (photos, apps and their settings, etc.) if I have to format /data it for each magisk.zip via TWRP?

Thank you for your answer!
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] _alexndr:
You should always flash stock firmware with all packages (even if you plan to use same CSC version because you e.g. got a newer BL+AP+CP from other country's FW). The reason is that AP package will overwrite entire /system partition (not containing /system/csc/... directory inside).

E.g. If your native CSC is DBT and for example tomorrow Samsung will release G930FXXU1DQK7 firmware for SER - you can simply get BL+AP+CP from that FW and add HOME_CSC_G930FDBT1DQJ1_*****.tar.md5 as CSC package (currently the newest CSC package for DBT, HOME_CSC_*** named package will NOT wipe your /data)

EDIT: (@p1zza, I forgot to mention next recommended steps) Then, you should let phone to go to stock recovery (after first auto-reboot) to complete CSC operation but after next (second) auto-reboot you should go directly to DM (do not let the phone boot normally), then re-flash TWRP, then re-flash Magisk (using OTG or extSdCard). IMO you DO NOT need to format /data every time this way... but I'm not sure and can't test it, please perform full backup before, just in case ;)
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] p1zza:
The problem is, that the current firmwares seem re-encrypt /data automatically again - so I'm only able to install magisk or any other root solution once, when formatting /data with TWRP.

So I'm not able to root again without loosing anything stored in /data... Or am I getting it wrong?

Edit:

Okay now I get it - there are parameters which can be passed to fstab to stop re-encrypting it, like force-encrypt and encryptable.

The thing is - I rather have the device encrypted.

I noticed that external_sd is not encrypted by default.

TWRP in Systemless Mode installs itself automatically to external_sd (I can see the .TWRP folder)

Which makes me think: Can't we install any root-solution to external_sd instead of data?

Just using the external sdcard as root/twrp/busybox and not so sensitive files and then leave internal data encrypted?

Do you think that it's technically possible?

I tried to tinker around with 3 scripts included in the latest magisk 14.5 beta, changing paths in all the scripts from /data to /external_sd or /external_sd/data.

Didn't work out.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] _alexndr:
Last time I tested it worked fine (it was enough to avoid first normal boot & re-root immediately)... But it was a few months ago ;)

So... probably the only acceptable solution for you is to flash this ROM:

[ROM][G930F/FD][ALEXNDR] * DQK1 * DevBase v4.3 * Multi CSC, Safe De-Bloat

Physically completely unmodified (100% original stock framework & apps + stock kernel), only slightly debloated (removed ONLY some rarely used apps - available in Play Store). A few modifications are 100% reversible because these are systemless (by removing modified files from /data/devbase/system/...) - these modifications are just performed by SYSTEMLESS DevBase from this thread :)
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] _alexndr:
Thread has been updated :cool:

>> SYSTEMLESS_DevBase_v1.12.zip <<
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] _alexndr:
I just realized that there was a bug with combination Magisk v15+ & SYSTEMLESS DevBase if we are trying to install one by one directly after wipe/format data. I just fixed it :cool:

>> SYSTEMLESS_DevBase_v1.13.zip <<
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] _alexndr:
Thread has been updated :cool: (see changelog)

>> SYSTEMLESS_DevBase_v1.14.zip <<
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] orifori:
Excuse me, is there a version (or something similar) for Galaxy S8?

And does it have to be uninstalled in order for a newer version to be installed? And how this could be done - except for reflashing firmware and rooting (I saw some sort of uninstaller mentioned but the link is broken)?
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] _alexndr:
This is on my TODO list :)

Unfortunately, in case of S8 there is a new location of CSC files /system/omc instead of /system/csc, also some changes in the xml and other files structure (related to CSC and other features). I will introduce support for S8 as fast as I get a similar device for tests

BTW: You can install over previous version
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] orifori:
Thank you. However I have problems installing the latest version. Then I tried installing almost all previous versions but unfortunately without any luck (I get a message - Applying (systemless) CRC... Failed!... files not found - or something like that).
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] _alexndr:
SYSTEMLESS DevBase v1.14 has been re-uploaded

>> SYSTEMLESS_DevBase_v1.14.zip <<

No changes except external (borrowed) "magiskboot" binary (included in previous version did not detect root solution properly during install)

As I mentioned already - it will not work as intended in case of S8 until I introduce support for /system/omc
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] efx7n:
You are kingman thank you bro.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] orifori:
I am talking about S7 edge here.
[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] _alexndr:
1. Have you tried re-uploaded version (#167)?

2. Are you using pure stock or close to stock ROM?

3. Does /system/csc/feature.xml or /system/csc/other.xml file(s) exist in your ROM? (only one of both mentioned is required)