[Module] NFC Screen Off - Magisk

NFC Screen Off
Read NFC tags when screen is off.
Disable NFC tagging sound.
Tap to pay when screen is off.
ALWAYS include Magisk installation logs when posting an issue.
Useful integrations: NFC Card Emulator Pro - Tasker
Installation metrics: Grafana dashboard
How does it work?
The NFC app is patched during installation into a `modded` version. This `modded` version is injected at boot time by service.sh so that the phone thinks the screen is always on and unlocked.
This patch only applies to NFC Service so it does not impact any other functionality of the phone that involves screen state detection.
The `modded` app was generated using this method.
Help section
MY NFC IS NOT DETECTED ANYMORE
If you did not unlock your device since last boot, unlock it and wait 30 seconds for the module to be loaded.
After that time, if NFC does not start automatically or manually, it means that the patch does not work for your device. You can uninstall the module and create an issue.
I AM STUCK IN A BOOTLOOP
Remove the module manually.
1. Boot into TWRP
1. Advanced -> File Manager
1. Delete /adb/modules/NFCScreenOff
1. Reboot
THE MODULE IS NOT WORKING SINCE LAST UPDATE
Perform a clean reinstallation.
1. Uninstall the module
1. Reboot
1. Install the module
1. Reboot
If it does not solve your problem, you can create an issue.
I LIKE THE MODULE

Only for rooted devices ok?

lapwat said:
NFCScreenOff
Enable NFC pooling while phone is locked and screen is off for Android 9 and above.
Make it work for host card emulator to pay in stores
Ask me
Click to expand...
Click to collapse
It broke my nfc payments. Any fixes ?
Should it work normally with Google pay ?

maujogue said:
It broke my nfc payments. Any fixes ?
Should it work normally with Google pay ?
Click to expand...
Click to collapse
Not yet. It's on the To-Do list.

Thanks for enabling this option.
It may not necessarily be a bad thing that it breaks safety net.
Enabling mobile payments while phone is locked is NOT a good idea. Your phone will be vulnerable to money theft with some special NFC devices. They can get close to your phone while it is in your pocket or purse and that is enough for them to steal your money.

crime_of_heart said:
Thanks for enabling this option.
It may not necessarily be a bad thing that it breaks safety net.
Enabling mobile payments while phone is locked is NOT a good idea. Your phone will be vulnerable to money theft with some special NFC devices. They can get close to your phone while it is in your pocket or purse and that is enough for them to steal your money.
Click to expand...
Click to collapse
Yes, that's a bad idea. I just want it to not brake payments, as I couldnt use Google pay even if I unlocked with this module

@lapwat Hi, awesome module. It is not working for me since the path (and app name) for nfc app is system/app/NxpNfcNci/NxpNfcNci.apk
Android 10.3.0
Oneplus 6
Stock ROM
Edit:attach log

maujogue said:
It broke my nfc payments. Any fixes ?
Should it work normally with Google pay ?
Click to expand...
Click to collapse
Yes it should continue to work normally with Google Pay.
What I meant in the description of the module is:
For now, it only works for reading NFC tags. For payments in stores, the phone still needs to be at least on. If the module is working for tags but breaks your payments, leave a comment.
Is it the case for you? The module works for NFC tags but the payments are broken?
What are your specs (device, rom, android version)?

marcozpaulo said:
Only for rooted devices ok?
Click to expand...
Click to collapse
Yes, only for devices rooted with Magisk.

lapwat said:
Yes it should continue to work normally with Google Pay.
What I meant in the description of the module is:
For now, it only works for reading NFC tags. For payments in stores, the phone still needs to be at least on. If the module is working for tags but breaks your payments, leave a comment.
Is it the case for you? The module works for NFC tags but the payments are broken?
What are your specs (device, rom, android version)?
Click to expand...
Click to collapse
Now I get it regarding Google Pay.

lapwat said:
Yes it should continue to work normally with Google Pay.
What I meant in the description of the module is:
For now, it only works for reading NFC tags. For payments in stores, the phone still needs to be at least on. If the module is working for tags but breaks your payments, leave a comment.
Is it the case for you? The module works for NFC tags but the payments are broken?
What are your specs (device, rom, android version)?
Click to expand...
Click to collapse
Exactly. I tried paying but nothing happens, like if nfc didn't exists on my phone. I desinstalled the module and I could pay again. Paying is more important than reading nfc tags for me !

maujogue said:
Exactly. I tried paying but nothing happens, like if nfc didn't exists on my phone. I desinstalled the module and I could pay again. Paying is more important than reading nfc tags for me !
Click to expand...
Click to collapse
That's good to know. Will wait for further development.

SatanicShanker666 said:
@lapwat Hi, awesome module. It is not working for me since the path (and app name) for nfc app is system/app/NxpNfcNci/NxpNfcNci.apk
Android 10.3.0
Oneplus 6
Stock ROM
Edit:attach log
Click to expand...
Click to collapse
Thanks for the logs. Can you send those files to me:
/system/app/NxpNfcNci/NxpNfcNci.apk
/system/framework/framework-res.apk
I will do a version for people with NxpNfcNci app (I guess it is OnePlus customized NfcService).
My stock Xiaomi ROM had a NQNfcNci app.

lapwat said:
Thanks for the logs. Can you send those files to me:
/system/app/NxpNfcNci/NxpNfcNci.apk
/system/framework/framework-res.apk
I will do a version for people with NxpNfcNci app (I guess it is OnePlus customized NfcService).
My stock Xiaomi ROM had a NQNfcNci app.
Click to expand...
Click to collapse
Ok nice, thanks! Here you go:
http://www.mediafire.com/file/2zcmud0i2z8y0vy/framework-res.apk/file
http://www.mediafire.com/file/fys9ee6s308qmy9/NxpNfcNci.apk/file

SatanicShanker666 said:
Ok nice, thanks! Here you go:
http://www.mediafire.com/file/2zcmud0i2z8y0vy/framework-res.apk/file
http://www.mediafire.com/file/fys9ee6s308qmy9/NxpNfcNci.apk/file
Click to expand...
Click to collapse
I've done it! Try installing the module and tell me if it works!

lapwat said:
I've done it! Try installing the module and tell me if it works!
Click to expand...
Click to collapse
Not the same guy, but also using Oneplus. It installed successfully but doesn't seem to be working.

Is it possible to modify the installation script to account for ncinfc with other names? For instance on the Razer phone 2 it is named NQNFCnci so the script can't find it

virseph said:
Not the same guy, but also using Oneplus. It installed successfully but doesn't seem to be working.
Click to expand...
Click to collapse
2me3 said:
Is it possible to modify the installation script to account for ncinfc with other names? For instance on the Razer phone 2 it is named NQNFCnci so the script can't find it
Click to expand...
Click to collapse
From what I understand from feedbacks, the apk app can have several names:
NfcNci
NQNfcNci
NpxNfcNci
Those names do not depend of the device but depend of the ROM.
Two apk with the same name will in fact be different. They are very related to the framework of the ROM.
Loading an APK from another ROM even if it is the same Android version will have little chance to work.
I cannot detect all the specs of the device. Magisk only gives me the Android SDK Version that's all.
I could make an apk for every ROM.
2 possibilities:
- Zip framework.apk + (NQ/Npx)NfcNci.apk, send it to a server. The server will return a custom apk just for your ROM. This is the one that Magisk will use.
- Build the custom APK directly on the phone, but I cannot find how to run apktools, jarsigner, etc on Android (because there is no JAVA env on Android)

Hi, on my first try a few days ago it didn't install i think it was because the path too, but now it works perfect. Thanks dev:good:
oneplus 6
Android 10 OB 33
xXx magisk on stock rom
Blu spark kernel
Sent from my OnePlus6 using XDA Labs

lapwat said:
From what I understand from feedbacks, the apk app can have several names:
NfcNci
NQNfcNci
NpxNfcNci
Those names do not depend of the device but depend of the ROM.
Two apk with the same name will in fact be different. They are very related to the framework of the ROM.
Loading an APK from another ROM even if it is the same Android version will have little chance to work.
I cannot detect all the specs of the device. Magisk only gives me the Android SDK Version that's all.
I could make an apk for every ROM.
2 possibilities:
- Zip framework.apk + (NQ/Npx)NfcNci.apk, send it to a server. The server will return a custom apk just for your ROM. This is the one that Magisk will use.
- Build the custom APK directly on the phone, but I cannot find how to run apktools, jarsigner, etc on Android (because there is no JAVA env on Android)
Click to expand...
Click to collapse
Yes I extracted the zip and modified the customize/service.sh scripts to properly work with my rom and as you stated it did not work. as soon as the script killed the nfc service it triggered a reboot to recovery.
I PM'd you a gdrive link to the stock apk's from the razer phone 2 Pi stock rom. If you have some time would please build it for me? I tried to do it myself a while ago but ran out of steam before i even got all the dependencies running on my computer lol. I can modify your magisk package to work with it myself.
I like your idea of a server that automatically runs the process to patch the apk. Would every use need to upload both the framework.apk and nfcnci or just the nfc? The only concern I would have is bandwithd as the framework apk is 30+ MB's. If you could build the server into a docker container I think it would be easy enough for others to host you could probably find some people willing to host it for free. Another option could be using a google drive account to allow people to upload the apk's for their phone then batch process them all and sort them by model/build # or something to cover most phones/roms . I have a gapps for business account with unlimited storage I could probably lend for this purpose
Once again thanks for all your work! If you have a bitcoin address i'd like to buy you a beer

Related

Any way to make Android Pay actually work?

I've always loved the idea of being able to pay (at a lot of places, now) using NFC technology. Unfortunately, root access, xposed, and now a custom rom (Props to the EpicROM team!) have always out prioritized the NFC payment feature.
I've read a great deal about Magisk, and so I know how it works, but afaik EpicROM is packaged with SuperSU and so there isn't a straightforward way to use one of the compatible superuser apps. So, my question is (and the custom rom issue might be a bit much to tackle, but it's worth asking), has ANYONE managed to get Android Pay working on their Mix?
Also, I searched around for a good bit, only to find the answer elude me: Are there acceptable substitutes for Android Pay that do the same thing (NFC payment, "tap and go"?) and are accepted by most point of sale setups?
bigcc32 said:
I've always loved the idea of being able to pay (at a lot of places, now) using NFC technology. Unfortunately, root access, xposed, and now a custom rom (Props to the EpicROM team!) have always out prioritized the NFC payment feature.
I've read a great deal about Magisk, and so I know how it works, but afaik EpicROM is packaged with SuperSU and so there isn't a straightforward way to use one of the compatible superuser apps. So, my question is (and the custom rom issue might be a bit much to tackle, but it's worth asking), has ANYONE managed to get Android Pay working on their Mix?
Also, I searched around for a good bit, only to find the answer elude me: Are there acceptable substitutes for Android Pay that do the same thing (NFC payment, "tap and go"?) and are accepted by most point of sale setups?
Click to expand...
Click to collapse
To pass safety net you need to
1. Be unrooted
2. Have an official rom, which is stable (not developer)
3. Have a locked bootloader
So most probably, Magisk will not help you on this
Sent from my MI MIX using Tapatalk
Nikos2k said:
To pass safety net you need to
1. Be unrooted
2. Have an official rom, which is stable (not developer)
3. Have a locked bootloader
So most probably, Magisk will not help you on this
Sent from my MI MIX using Tapatalk
Click to expand...
Click to collapse
Yeah the three things you listed there are things I think I'd rather have than the slight inconvenience of having to actually pull out my wallet to pay for things.
In an ideal world we'd all be able to pay with PayPal using NFC technology, but oh well.
There is a kernel patch which fakes a verifiedboot state; you can try that.
https://github.com/sultanxda/androi...bc05b16bbd33521c2fffaf491c5657a94bfcfc5.patch
Which you can apply to: https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/scorpio-m-oss
adwinp said:
There is a kernel patch which fakes a verifiedboot state; you can try that.
https://github.com/sultanxda/androi...bc05b16bbd33521c2fffaf491c5657a94bfcfc5.patch
Which you can apply to: https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/scorpio-m-oss
Click to expand...
Click to collapse
I'm usually pretty technologically literate, but I'm not sure what I'm looking at. Part of the first URL you linked includes the words "oneplus," suggesting to me that it might not be as simple as just running that command line script. I don't expect to be spoon-fed information, but links to any related threads would be much appreciated.
I relocked my bootloader after I installed the official Global rom. I can add my credit cards but I can't get it to pay for anything at a terminal. It just doesn't launch at all.
Instead of flashing patched kernel, I would recommend flashing resurrection rom instead.

App Settings Module for Magisk?

hello,
i used the xposed module "app settings" version 1.13 with android marshmallow before i updated to nougat. this module enables you to change DPI, font scale, locale, force fullscreen, persist in memory, etc. on a per app basis.
here is a link to the module:
https://forum.xda-developers.com/xp...2014-05-14-t2437377/post63835421#post63835421
i have not found any possibility to get this working on nougat as there is no xposed for nougat and it seems there is no more custom rom with these options.
is it possible to get this module working with magisk?
satand said:
hello,
i used the xposed module "app settings" version 1.13 with android marshmallow before i updated to nougat. this module enables you to change DPI, font scale, locale, force fullscreen, persist in memory, etc. on a per app basis.
here is a link to the module:
https://forum.xda-developers.com/xp...2014-05-14-t2437377/post63835421#post63835421
i have not found any possibility to get this working on nougat as there is no xposed for nougat and it seems there is no more custom rom with these options.
is it possible to get this module working with magisk?
Click to expand...
Click to collapse
Downgrade to marshmallow or write xposed for nougat. The first is easy, the second will make many people happy over here.
Sent from my ONEPLUS A3003 using Tapatalk
satand said:
is it possible to get this module working with magisk?
Click to expand...
Click to collapse
Just to clarify on the above response: No.
Thanks Op, I also would love to have App Settings equivalent on Magisk or stand alone. Turns my 6.44" Mi Max into a desktop chrome browser almost
cobram3 said:
Thanks Op, I also would love to have App Settings equivalent on Magisk or stand alone. Turns my 6.44" Mi Max into a desktop chrome browser almost
Click to expand...
Click to collapse
It would be just ultra hard to code that, or just impossible.
years ago (before xposed got famous) some custom roms (paranoid,...) had these functions.
i would go back to marshmallow only because of this missing features but there is no marshmallow rom for my new oneplus 5.
is it really impossible to get it working with magisk? the code itself (version 1.13) worked without any problems on marshmallow.
satand said:
years ago (before xposed got famous) some custom roms (paranoid,...) had these functions.
i would go back to marshmallow only because of this missing features but there is no marshmallow rom for my new oneplus 5.
is it really impossible to get it working with magisk? the code itself (version 1.13) worked without any problems on marshmallow.
Click to expand...
Click to collapse
You'll need to manually edit files and apps and Magic Mount them with Magisk. Alternatively you could possibly do some things with some cumbersome scripts. Magisk can't change code of running apps, just replace/add already modified files and run scripts at boot.
In other words: No, IMO it's not worth the extreme hassle and you won't get the same thing as you would with Xposed.
Didgeridoohan said:
You'll need to manually edit files and apps and Magic Mount them with Magisk. Alternatively you could possibly do some things with some cumbersome scripts. Magisk can't change code of running apps, just replace/add already modified files and run scripts at boot.
In other words: No, IMO it's not worth the extreme hassle and you won't get the same thing as you would with Xposed.
Click to expand...
Click to collapse
thanks for your answer!
do you have more information about these "cumbersome scripts"? maybe it would work with tasker and a script per app.
i would be very happy...i like my smartphone much more with these features.
satand said:
thanks for your answer!
do you have more information about these "cumbersome scripts"? maybe it would work with tasker and a script per app.
i would be very happy...i like my smartphone much more with these features.
Click to expand...
Click to collapse
I wasn't gonna open up that can o' worms, but since you brought it up... :laugh:
Look up how to work with shell scripts. Tasker can run those (among other things). You could probably do some stuff with the resetprop tool as well (look here for details and syntax).
Don't expect miracles though...
Didgeridoohan said:
You'll need to manually edit files and apps and Magic Mount them with Magisk. Alternatively you could possibly do some things with some cumbersome scripts. Magisk can't change code of running apps, just replace/add already modified files and run scripts at boot.
In other words: No, IMO it's not worth the extreme hassle and you won't get the same thing as you would with Xposed.
Click to expand...
Click to collapse
Didgeridoohan said:
I wasn't gonna open up that can o' worms, but since you brought it up... :laugh:
Look up how to work with shell scripts. Tasker can run those (among other things). You could probably do some stuff with the resetprop tool as well (look here for details and syntax).
Don't expect miracles though...
Click to expand...
Click to collapse
thanks...but that is too high for me
Do we have a petition to develop this form? hahaha
I would like to have app settings on magisk too. I just wanted to change the app local instead of globe settings.
bush911 said:
I would like to have app settings on magisk too. I just wanted to change the app local instead of globe settings.
Click to expand...
Click to collapse
"App Locale 2" for Xposed can help you
And you can get Xposed systemlessly with Magisk.
Thank you so much for the advice.
My phone is 1st generation Pixel with latest android, mgaisk installed. I will try to figure it out.
daniel_m said:
"App Locale 2" for Xposed can help you
And you can get Xposed systemlessly with Magisk.
Click to expand...
Click to collapse
Anybody have a suggestion - I'm looking to change the dpi of chrome app (8.1) without Xposed
Maybe this could help
https://joyofandroid.com/change-screen-resolution/

[Module] Magisk DRM Disabler

https://gitlab.com/Atrate/magisk-drm-disabler
READ THIS FIRST
Some (quite a few) users have reported various breakages due to this module. It is not really possible to fix them, since it seems that DRM might be integrated to tightly into some ROMs. You have been warned.
Description
A Magisk module designed to disable DRM (Digital Restrictions Management) completely on Android devices using Magisk, for reasons of security or ethics (see: Opposing Digital Rights Mismanagement and Examples of proprietary DRM).
Installation
Install through Magisk Manager
OR
Download the module from the releases
Flash the module through Magisk Manager or TWRP/OrangeFox
Grab the newest release on GitLab or GitHub
THIS IS NOT A MODULE THAT WILL HELP YOU BYPASS DRM PROTECTION
Quite the contrary, it will make you unable to watch any DRM-restricted content.
This is an alpha release
I am not responsible for any damage done to your device by this module, so flash at your of discretion
LOOKING FOR TESTERS!
If you're interested in helping the project by being a tester, please refer to CONTRIBUTING.md
Credits
topjohnwu for magisk
Changelog
License
This project is licensed under the GPL-3.0-or-later.
sad to say but after flashing your module on my device my volumes are not working. even set low its still got sounds or music! Removed module on magisk manager then issue is gone! ?
problemathic said:
sad to say but after flashing your module on my device my volumes are not working. even set low its still got sounds or music! Removed module on magisk manager then issue is gone! ?
Click to expand...
Click to collapse
All device sounds or just music in some apps?
Atrate said:
All device sounds or just music in some apps?
Click to expand...
Click to collapse
all devices sounds! i set it to mute but still got a sounds! removing the modules fixed it. hopes you get a fix
problemathic said:
all devices sounds! i set it to mute but still got a sounds! removing the modules fixed it. hopes you get a fix
Click to expand...
Click to collapse
Wonder what this could be caused by. Let's see if anyone else has a similar issue. What device and ROM do you use?
Atrate said:
Wonder what this could be caused by. Let's see if anyone else has a similar issue. What device and ROM do you use?
Click to expand...
Click to collapse
i have redmi note 5 pro (whyred) china variant. any rom i used same issue.
Atrate said:
Wonder what this could be caused by. Let's see if anyone else has a similar issue. What device and ROM do you use?
Click to expand...
Click to collapse
Odd request. Anyway you can make a module that actually adds all this stuff to a device that doesn't currently have it?
RLKirk said:
Odd request. Anyway you can make a module that actually adds all this stuff to a device that doesn't currently have it?
Click to expand...
Click to collapse
Unfortunately no, it would have to be device-specific, better to ask a custom ROM maintainer for that device
Atrate said:
Unfortunately no, it would have to be device-specific, better to ask a custom ROM maintainer for that device
Click to expand...
Click to collapse
It's a joying headunit for a car and sadly has no custom ROMs. I would attempt it myself but have no clue where to start on making a ROM for a device with no source code lol. But thanks for the reply.
Two things, what the scope of this module what is it supposed to allow you to do?
Also why not a backup or the original files of one have to go back to the original files
Darkcast said:
Two things, what the scope of this module what is it supposed to allow you to do?
Also why not a backup or the original files of one have to go back to the original files
Click to expand...
Click to collapse
It's a simple module that removes DRM components (services and libraries) from your device for reasons of ethics or security. See the OP for links about that.
Works great!
and now on latest update im having no sounds at all! im on redmi note 5 pro codename: whyred
problemathic said:
and now on latest update im having no sounds at all! im on redmi note 5 pro codename: whyred
Click to expand...
Click to collapse
Seems to be a device-specific issue, got a logcat woth any errors?
Atrate said:
Seems to be a device-specific issue, got a logcat woth any errors?
Click to expand...
Click to collapse
let me try matlog. ill post it here as soon as i get the logs
edit: latest release fixed the issue. what did you do? got the volume properly working now. high, low and mute! thank you
Great to know it's working for you!
I have released v0.2.0 today, let's hope it didn't break it again.
Alarms without sound, aslo no IU sounds - no that I miss them, but alarms would be nice to have. Since first release to the latest version v0.2.0.
Xiaomi mi 9t, xiaomi eu 11.0.4.
View attachment logcat_04-29-2020_11-24-56.txt
hovnonium said:
Alarms without sound, aslo no IU sounds - no that I miss them, but alarms would be nice to have. Since first release to the latest version v0.2.0.
Xiaomi mi 9t, xiaomi eu 11.0.4.
View attachment 5007359
Click to expand...
Click to collapse
Can't reproduce and the logcat doesn't seem to show anything useful. Try rebooting, I've heard from someone that their sound was broken on first reboot but fixed itself on second. (Don't ask me why it works ¯\_(ツ)_/¯ )
Oneplus 6t havoc 3.4 here without gapps.
This module detached all controls over screen brightness so I dumped ot for now.
The idea ia nice though
darfri said:
Oneplus 6t havoc 3.4 here without gapps.
This module detached all controls over screen brightness so I dumped ot for now.
The idea ia nice though
Click to expand...
Click to collapse
Hmm, wonder what causes it. Must be an OP-specific issue, since I have tested the module on a gappless G6 with Havoc 3.4 and didn't experience that issue. Also, have you tried rebooting twice?

Help to de-google my phone

G'day
I'm sick of google and everything they are about. Don't be evil my arse. I already do the simple stuff like using brave browser and duck duck go search. I'm hoping someone can advise me on how to strip my phone of as much google as possible and replace with aosp alternatives. Or even just point me towards some guides on it.
I am using a Samsung galaxy a22 5g rooted with magisk stock rom.
Thanks
I think you might want to flash a custom ROM, then use something like MicroG Magisk, NanoDroid or FOSSApps. Ungoogling an already Googled stock ROM might be more pain than flashing something community developed.
I'm currently running Lineage with Magisk GApps (so I can remove them anytime) and I'm slowly getting ready for the transition. So I'm also looking for more information.
I set up a VPS for myself (might be an overkill for you, but inspiration nonethelss) and I'm hosting OnlyOFFICE Community there and using their apps, I also host my own BitWarden password storage and a mail server (was kinda pain to set it up with all the methods for spam verification). This way some of my most sensitive data is kept on an encrypted drive on a server I myself control.
Then there's getting apps which are mainly available through Google Play - I found that uptodown does host apks, but that's far from an actually viable option (considering you really have to trust them when you're downloading apps there). Alternative stores providing the same apps as Google Play are always kinda worrying to use & trust.
So that's my two cents worth and a starting point, I'll also gladly accept some tips & tricks to accomplish this entirely, it's a long-lasting dream to leave Google altogether.
Champdroid said:
de-google
Click to expand...
Click to collapse
i think it's better to use a custom aosp rom with no gapps
if you still want stock rom :
make a recovery backup of "system" just in case
mount system
the folders that have apps are :
system/app
system/priv-app
system/product/app
system/product/priv-app
(if you use A11+ check also system-ext/app and priv-app)
delete anyhing related to google
if you don't want to delete use lucky patcher or titanium backup to freez them
if you choose freezing, make a recovery backup of "data"
hajdulak said:
I found that uptodown does host apks
Click to expand...
Click to collapse
do not !
site : apkpure or apkmirror
app : Aurora Store
loopypalm said:
do not !
site : apkpure or apkmirror
app : Aurora Store
Click to expand...
Click to collapse
Nice, thanks for that! ♥
hajdulak said:
I think you might want to flash a custom ROM, then use something like MicroG Magisk, NanoDroid or FOSSApps. Ungoogling an already Googled stock ROM might be more pain than flashing something community developed.
I'm currently running Lineage with Magisk GApps (so I can remove them anytime) and I'm slowly getting ready for the transition. So I'm also looking for more information.
I set up a VPS for myself (might be an overkill for you, but inspiration nonethelss) and I'm hosting OnlyOFFICE Community there and using their apps, I also host my own BitWarden password storage and a mail server (was kinda pain to set it up with all the methods for spam verification). This way some of my most sensitive data is kept on an encrypted drive on a server I myself control.
Then there's getting apps which are mainly available through Google Play - I found that uptodown does host apks, but that's far from an actually viable option (considering you really have to trust them when you're downloading apps there). Alternative stores providing the same apps as Google Play are always kinda worrying to use & trust.
So that's my two cents worth and a starting point, I'll also gladly accept some tips & tricks to accomplish this entirely, it's a long-lasting dream to leave Google altogether.
Click to expand...
Click to collapse
Hey thanks for the reply and info. Flashing an aosp custom rom would be my usual go to. However I've been on an oppo with unlockable bootlader for last 18 months and now I got this samsung I find there is zero rom dev on this phone. The only options I can find are GSI which is a new concept to me and I'm a little uncertain about going that route.
loopypalm said:
i think it's better to use a custom aosp rom with no gapps
if you still want stock rom :
make a recovery backup of "system" just in case
mount system
the folders that have apps are :
system/app
system/priv-app
system/product/app
system/product/priv-app
(if you use A11+ check also system-ext/app and priv-app)
delete anyhing related to google
if you don't want to delete use lucky patcher or titanium backup to freez them
if you choose freezing, make a recovery backup of "data"
Click to expand...
Click to collapse
Cheers for this. Agree on the first statement but having been on an oppo with unlockable bootlader for last 18 months and now I got this samsung I find there is zero rom dev on this phone. The only options I can find are GSI which is a new concept to me and I'm a little uncertain about going that route.
Do you think I should go with a GSI rom? If safe and stable I'm happy to do the research because I'd love to get a custom aosp rom going on this.
Afaik this samsung can't even access fastboot gotta use the Samsung flashing software instead and the only thread on twrp for this phone is experimental and doesn't seem to be confirmed as working by anyone.
Hence why so far I've stuck with stock and magisk
I used to flash heaps of roms and kernels on older devices but this whole GSI thing is new to me. If it's dicey I'll go the TB route with the folders you pointed me to. Cheers
Champdroid said:
Do you think I should go with a GSI rom?
Click to expand...
Click to collapse
if yo can backup system/vendor/boot/dtbo/data then go for it
if not , you will have to reflash the stock if anything goes wrong ...
Champdroid said:
Afaik this samsung can't even access fastboot gotta use the Samsung flashing software instead and the only thread on twrp for this phone is experimental and doesn't seem to be confirmed as working by anyone.
Click to expand...
Click to collapse
looks like your options are risky , google the app name before freezing ...
don't freez :
"google Extservice" or something like that
"settingintelligencegoogle" and "modulemetadatagoogle"
Champdroid said:
Hence why so far I've stuck with stock and magisk
Click to expand...
Click to collapse
sell it and get a device with good devlopment ...
loopypalm said:
if yo can backup system/vendor/boot/dtbo/data then go for it
if not , you will have to reflash the stock if anything goes wrong ...
looks like your options are risky , google the app name before freezing ...
don't freez :
"google Extservice" or something like that
"settingintelligencegoogle" and "modulemetadatagoogle"
sell it and get a device with good devlopment ...
Click to expand...
Click to collapse
Cool cheers for your help mate. Touche on the last point. New job with nice pay bump coming so that will be the go I think.
I use Graphene OS on my Pixel 6 and CalyXOS on the 4a. Both are very good degoogled ROMs.
I built a Magisk module for this some time ago. However, it's very likely that it won't work anymore and will probably cause a bootloop. I'm only posting it in case someone wants to use the repo as inspiration.
Kermina Awad / DeGoogle · GitLab
Google? A Magisk module which removes, Google?
gitlab.com
MartK87 said:
I use Graphene OS on my Pixel 6 and CalyXOS on the 4a. Both are very good degoogled ROMs.
Click to expand...
Click to collapse
you forgot to mention that both GrapheneOS and CalyXOS are available ONLY for the Pixel phones
and the Pixels have a unique feature - the bootloader can be locked back AFTER flashing a custom ROM
Well I stand corrected ( said the man in the orthopaedic shoes)
want de-google? buy and iphone and done

Question new information regarding custom or globalrom?

I wanted to ask if there is any new information regarding a global rom or a custom rom? I would definitely be flashing it right away.
Best hope for that will be when the S version is released. According to available information it is virtually identical to the X, so the firmware might be transferable.
can't wait!
Hopefully.
I’m not sure how things will go. I would much prefer working with aosp to get a booting gsi rom personally
TBH I've got the X working so well now that I don't really see a huge need for a new ROM. If someone gets it working and shows a benefit then...
Yes, of course it works and doesn't cause any problems, but I would like only the voice assistants from Google
and android auto, all the rest is ok
Android auto is dead in the game bro'
Are there any new advances?
i suppose nothing, there is trouble with Vivo and unsecure Boootloader. Nobody seems interested by solid and friendly solution to unlock then after port a rom on this baby !
lesscro said:
i suppose nothing, there is trouble with Vivo and unsecure Boootloader. Nobody seems interested by solid and friendly solution to unlock then after port a rom on this baby !
Click to expand...
Click to collapse
that's a shame. I would really appreciate a custom rom or at least a European supported rom
A multilingual ROM (like Global) who can be really adapted to our market can be nice. Anyway X Fold S is just a small update and not a global phone market.
My magisk module for Android Auto and Google Assistant should work on vivo X Fold too.
[MIX Fold 2][MAGISK] Global ROM-ify module collection [Add translations, Google Assistant, Android Auto]
I decided to create a module sharing thread here. If Magisk is enabled, all modules will continue to work after the OTA update. (use "Install to Inactive Slot" method) If Magisk is disabled, the module also loses its effectiveness. Add official...
forum.xda-developers.com
AndroPlus said:
My magisk module for Android Auto and Google Assistant should work on vivo X Fold too.
[MIX Fold 2][MAGISK] Global ROM-ify module collection [Add translations, Google Assistant, Android Auto]
I decided to create a module sharing thread here. If Magisk is enabled, all modules will continue to work after the OTA update. (use "Install to Inactive Slot" method) If Magisk is disabled, the module also loses its effectiveness. Add official...
forum.xda-developers.com
Click to expand...
Click to collapse
I can confirm this works perfectly Google assistant works.
Haven't tried Android auto but I would be stunned if it didn't work
domineus said:
I can confirm this works perfectly Google assistant works.
Haven't tried Android auto but I would be stunned if it didn't work
Click to expand...
Click to collapse
You install Magisk ? With boot.img did you use ?
I install magisk and he ask me to choose an img...
I use magisk long time ago on custom rom, it was more easy...
I need to download official rom and extract boot.img ?
lesscro said:
You install Magisk ? With boot.img did you use ?
I install magisk and he ask me to choose an img...
I use magisk long time ago on custom rom, it was more easy...
I need to download official rom and extract boot.img ?
Click to expand...
Click to collapse
You can extract boot.img in two ways:
1. What you described
2. Use DSU Loader and pull the file out using the following commands in adb:
adb shell
su
dd if=/dev/block/by-name/boot of=/data/local/tmp/boot.img
chown shell.shell /data/local/tmp/boot.img
(After the end of adb shell)adb pull /data/local/tmp/boot.img
Click to expand...
Click to collapse
RR-99 said:
TBH I've got the X working so well now that I don't really see a huge need for a new ROM. If someone gets it working and shows a benefit then...
Click to expand...
Click to collapse
Can you share your experience with us as to what you did to get rid of Chinese and bloat sw?
domineus said:
You can extract boot.img in two ways:
1. What you described
2. Use DSU Loader and pull the file out using the following commands in adb:
Click to expand...
Click to collapse
Thx for your feedback.
Does this install will wipe all data ?
lesscro said:
Thx for your feedback.
Does this install will wipe all data ?
Click to expand...
Click to collapse
When I rooted it didn’t. When I BLU I think it did
kanf77 said:
Can you share your experience with us as to what you did to get rid of Chinese and bloat sw?
Click to expand...
Click to collapse
I haven't removed any Chinese bloatware, since I didn't find it was slowing down the phone or using too much memory. Quite happy to have it just sit there instead of risking removing too much.

Categories

Resources