Delete hacker in Android core - Security Discussion

Good day, dear forum!
For long time i tried to clean my hacked samsung smartphone. But no luck.
I perfomed FRP in Samsung service center in my town. Situation the same.
Symptoms of hacking:
1. Gmail account hacked. I registered from my email but in registration form i see completely different email, not mine.
2. In my smartphone I see to apps with the same name ("email" and so on).
3. All my apps got all possible permission to acsess my data (network, sd card, system etc). Some of my important files is deleted and destroyed by hacker.
4. When i take affort for defend from hacker (for example, using privacy guide etc), privacy guide panels and factory reset panel become untouchable after 20 min,
although they work well in first minutes after installing OS.
5. I blocked wi-fi and bluetooth connections. I have no wi-fi connection at home. But i see that NFC is running, all my apps connected to wi-fi, phone working very slowly.
I see that phone maked 5 calls during 30 min when it was turned off (!). I think, my phone use hacker's wi-fi.
What i did:
1. Performed FRP in samsung service center. No luck.
2. I installed 4 files service firmware via Odin. The same.
3. I did FRP and installed TWRP, SuperSu, LineageOS v.14. During installation i cleaned Dalvik/ART Cache, Data, Internal Storage, System, Cache.
Also i skiped google and samsung verification. But also no luck.
Finally, i understand that hackers files, apps, peaces of code etc exist not in firmware, but deeper in core.
I think there is another one superuser and he has much more permissions in system then mine.
So, my question is:
-- where i can find and delete extra superuser on my phone,
-- where i can find and delete dangerous app permissions, added by hacker,
-- where i can find and delete dangerous changes (apps, files, pieces of code) added by hacker,
-- what extra actions i can perfom to deleted hacker from my phone (exept FRP and custom OS/firmware)?
There is similar post but i don't see decisions for me
https://forum.xda-developers.com/general/security/trojan-infected-recovery-phone-partition-t3762962
Sorry for long post and my English mistakes. I will be greatly appriciated for any advice!
Yours sencerely, Olga

I cleaned partitions and installed Lineage OS again. Phone changed MAC address Wi-Fi and now use NFC connection and wi-fi. I can't block NFC and Wi-Fi, button is not working. Can you explain me how phone can be hacked if dring the installation i didn't use sim-card or wi-fi? How i can change core settings/use custom core?

OlgaMar said:
I cleaned partitions and installed Lineage OS again. Phone changed MAC address Wi-Fi and now use NFC connection and wi-fi. I can't block NFC and Wi-Fi, button is not working. Can you explain me how phone can be hacked if dring the installation i didn't use sim-card or wi-fi? How i can change core settings/use custom core?
Click to expand...
Click to collapse
it is possible that the hacker installed the software on a partition and updating will not help that. You would need to check all the partitions their size and what are their permissions and compare it to stock, wiping the phone with dd if you have a full software image (the entire hard drive image) will also work but it is a take no chances command.

Related

[SOURCE] RootTracker

Root Tracker is source code for a super-simple Android 2.2+ device tracking system that responds to SMS messages with embedded control passwords.
Root Tracker is designed to be installed on a rooted device in /system/app, so it can survive a hard reset. Root Tracker has no user interface, all the better for hiding it from a thief. The code must be customized for the particular user and device, as passwords and other configuration items are hard coded, and each user should change the package name and other details to make it sound like a system package, in order to even better hide the package from a thief. Don't use the current values in the source, as a smart thief (there aren't many, I expect, but there may be some). Plus, I expect that different users will have different requirements.
After customizing and installing, go to your system Settings and set Root Tracker's device admin class as a Device Administrator.
Actions available:
gps
wipe
lock (locks screen [if set as Device Administrator; otherwise, sets screen timeout to a very short value to make device very hard to use], turns off adb, disables NoLock)
unlock
root shell command (output returned via SMS).
I wrote Root Tracker because I was uncomfortable about having my phone tracked and potentially wiped by a closed source app, like the various anti-theft trackers currently available. A crucial design principle was to make RT simple enough that one can easily verify from the source code what exactly it is doing.
The passwords are plain text in the apk. You can replace this with hashing if you like, but I didn't bother.
Also, instead of invoking the Android system's data wiping, which is known to be of problematic quality on some devices, it uses dd to overwrite the data partition, which may be more reliable (but of course, you have to ensure RT is installed in /system/app). Moreover, this means that the wipe works even if the thief is clever enough to go to the device settings and revoke Root Tracker's device administrator status. I don't know how well this works. This is a feature I did not test since I don't want to deal with restoring a backup. I worry that wiping the data partition will cause a reboot at some point. (Still, I have deleted the contents of /data before, and restored them via tar, and the device did not reboot while deleting.)
The gps command responds instantly with last cached GPS and Network location, then turns on GPS (even if disabled) and Network location (this one may show a dialog, so I recommend keeping Network location on in your Settings, or else disabling the Network location code). Then it waits for a GPS fix. If while waiting for a GPS fix, it gets a new Network location value, it sends that, but keeps on waiting for a GPS fix. If it gets a GPS fix before getting a Network fix, it quits looking for the Network fix (you can change that in the source code).
Note: Installing this on a device that isn't yours (unless you're law enforcement with an appropriate warrant) is likely illegal and is certainly not nice. This is designed for one's own use.

[ROOT][GUIDE] Permanently Disable WiFi

When you buy a new phone for your child. You want it must be a cool phone, but you also don't want your child uses WiFi function.
I have seen many people wondering here and there to Disable the WiFi permanently in their device. So i thought to make a thread regarding this.
I have seen many posts asking to remove or rename the WiFi Modules to Disable the WiFi but when i tried that unfortunately it failed to delete the Module.
So i moved on for another step and found easy steps to Disable WiFi permanently
Tested & worked in HTC M8 (4.4.2) & Nexus 5 (5.1)
This is a simple trick played in Build.prop which can disable the WiFi of your device for ever.
All you need is :
Rooted Device
ES File Explorer
RB Text Editor
First of all i recommend you to make a system backup with TWRP
here we go :
1. Open ES File Explorer and get Root access
2. Go to system folder and open Build.prop using RB Text Editor (i recommend you to backup original file)
3. Remove the below mentioned lines in Build.prop
Code:
[COLOR="red"]wifi.interface=
wifi.supplicant_scan_interval=[/COLOR]
4. save it and reboot!!
You can notice that WiFi buttons are no longer in use
Warning!
Im not responsible for any damage caused. Always Make Backup
Disclaimers:
PM me before you post!​
#Reserved
Does this cause problems with broadcasting a Hotspot?
olearius said:
Does this cause problems with broadcasting a Hotspot?
Click to expand...
Click to collapse
No i guess
did not test that yet
please before i install new version of cm 12 how i can edit wifi to not turn on auto
Is there any Way to Disable Mobile Network Internet also ? Like 2G Edge , 3G ,4G etc.,
There is manual option to Disable Data Usage.
Is there any permanent Solution ?
Yes you can disable data permanently....
ashu55 said:
Is there any Way to Disable Mobile Network Internet also ? Like 2G Edge , 3G ,4G etc.,
There is manual option to Disable Data Usage.
Is there any permanent Solution ?
Click to expand...
Click to collapse
From my experience you have three options: 1. go into settings and disable your data that way, 2. download an app that allows for easy data on/off switching or 3. which I'm going to do myself when I buy a new (used ebay) phone in the next couple weeks for someone: contact my prepaid carrier and ask them to "disable the data". They can do this at the carrier-level. This will prevent a child for example from re-enabling the data just by clicking a button on their phone. I just verified with my carrier today that they can in fact do this. Good luck!
Hello .. sir ... I had seen that file in that text editor .. i dont found that coding... Nw what i can do.. pls tell me...
[email protected]
This did not work for my phone, as those program lines are not present in my build.prop folder, but I found a solution for my Samsung Galaxy S5 Neo (6.0.1) that I know many others are looking for, it will probably work for all the galaxy models or at least some of them. Here it is:
1. Root your phone using "oneclickroot.com", they will do everything for you, including installing TWRP and SuperSU. Be sure to pay attention to how to access TWRP (Team Win Recovery Project)... for me it was by holding down the volume up, home, and power keys simultaneously and then releasing the power key on seeing red letters. It might vary phone to phone.
2. Make a system backup with TWRP after rooting by accessing TWRP and simply clicking "backup" and then swipe. In the event that you need to restore just access TWRP and click and swipe "restore".
3. Use a file managing app like "Root Browser" by JRummy from google play to go into these file folders: "system/etc/wifi"
4. In the Wifi folder delete the first four files:
bcmdhd_apsta.bin
bcmdhd_ibss.bin
bcmd_mfg.bin
bcmd_sta.bin
4. Now reboot your phone by simply turning it off and back on again.
5. All done, your phone's wifi will no longer work.
6. If for whatever reason you don't want to be able to get it back ever again, just go delete your system backup in TWRP and you won't be able to get it back.
If you don't see these files in your phone after rooting, don't be discouraged. I figured it out with a little experimentation and I knew absolutely nothing about programming or androids... I still don't. Just make a system backup with TWRP and experiment by deleting different files that have "Wifi" in their name. Only delete one at a time or a small group of files at a time, and restart the phone every time as programming changes will not take effect until you do. Every time you brick (disable) the phone, just use TWRP to restore your OS (Operating System) using your TWRP backup. It only takes about 2 minutes to restore every time. I bricked my phone about 4 times in the process of figuring this out. Very simple and easy.
Also, your carrier will usually be willing to apply a "data block" to your account if you call them. For $2/month Koodo will apply a data block that makes it impossible to access data.
Hello,
I couldn't find neither the file "Build.prop"
neither these files.
I have an intel tab with android 5.0
me too
I have android 6.. didn't find any of them...
Jasmin74 said:
Hello,
I couldn't find neither the file "Build.prop"
neither these files.
I have an intel tab with android 5.0
Click to expand...
Click to collapse
And to enable it whats the number Code ?? I have lenovo Vibek4 note , my wifi configured interface is Disable, Please help
If I did this to disable wi-fi on my child's phone, could they simply undo it by doing a factory reset of the phone?
Disable Wifi on Moto G6 / Pie
I recently had to do the same thing with my child's phone. She was just too good at circumventing the usual child protections and getting on the internet to surf adult material and chat with random stalkers halfway around the planet.
She has a Moto G6 with Android 9.0 PIE.
1. Rooted it
2. Loaded a file manager and after much trial and error found that wifi could be disabled with name changes on:
/vendor/lib/modules/wlan.ko -> wlan.bak
/vendor/lib/modules/pronto_wlan.ko -> pronto_wlan.back
Then, reboot the phone.
The user can attempt to start wifi, but it fails. No boot issues.
thedude06 said:
If I did this to disable wi-fi on my child's phone, could they simply undo it by doing a factory reset of the phone?
Click to expand...
Click to collapse
Yes, they could. That's why I also used Google Family Link to set up a minor child account for her and made it the main account for the phone after I changed the file names above, but before rebooting. GLF prevents a factor reset from within the phone or changing the user. She could try to boot into recovery and perform a factory flash, but then it's going to want the same google account as before....and she doesn't have the password. Fastboot is locked as well. The only issue you might have is that google somehow thinks all 14 yr-olds should be independent enough to remove supervision, but I guess you could do the same thing that the kids do to get around age limits - change the birth date.
I also shut off data at the wireless provider.
Now, she's got a smart phone that calls and texts, but can't get on the internet or play store. Also, without the internet, no updates that will wipe out these changes.
Does not work for me
Hi
I have a Samsung Galaxy Grand Prime with LineageOs, rooted. I didnt find the files you were speaking about.
Except build.prop, but the mentioned lines didnt even exist in my phone files. Is there any other way to disable wifi permanently ?
Thanks
Sorry for the bump, but I really need to disable wifi in a Android 10 LineageOS based rom, but none of this solutions works...
How can I do this?
How to find Driver Files to disable the Wifi
There were a couple of bumps on this thread regarding driver files for wifi and how people weren't able to find these files on their phone.
The answer is that if you don't see the driver files mentioned in the thread above, it's because they're called something else, if they exist at all.
For the Moto 6, I spent a fair amount time doing trial and error renaming of system files until something worked. It took me some time and research to determine that for PIE, the .ko files represented some sort of driver files. Then, I went searching for .ko files with wifi in them, and then finally, I located the two files mentioned in the thread above. For your phone, they may be in a completely different directory, or named something different.
I knew that I had figured it out when I booted the phone, and was unable to get the wifi to work or even detect any signal.
Maybe there's a parameter file on your phone that controls the wifi settings, or maybe you rename driver files like I did.
I've done this a couple of times now on my kid's phones, and for each phone, the driver files were different. The last phone I did, I went ahead and posted to this forum so maybe someone else can get some benefit.
Best of luck!
-Oldguy51
An alternative solution for this issue is to assign a wrong universal local IP address for all wifi connections and the final user cant change it... Just Saying.
Wrong Universal Local IP Address
Orbitv said:
An alternative solution for this issue is to assign a wrong universal local IP address for all wifi connections and the final user cant change it... Just Saying.
Click to expand...
Click to collapse
That's in interesting concept. How would you do this on an Android phone?
etienne_9000 said:
Does not work for me
Hi
I have a Samsung Galaxy Grand Prime with LineageOs, rooted. I didnt find the files you were speaking about.
Except build.prop, but the mentioned lines didnt even exist in my phone files. Is there any other way to disable wifi permanently ?
Thanks
Click to expand...
Click to collapse
mdio said:
Sorry for the bump, but I really need to disable wifi in a Android 10 LineageOS based rom, but none of this solutions works...
How can I do this?
Click to expand...
Click to collapse
Well Well Well, I'm just 2 years late bumped on this thread .
It's Andoid 11 minimum in these times or even 12 & now 13 is also available.
But I managed to keep Wifi off while keeping Bluetooth Pairing & BT file transfers On, Hotspot On & Data On specially because Flight Mode no longer Disables WiFi, Bluetooth & Hotspot (only keeps Data off) since andoid 9 i think.
------------------ Worked on Andoid 11 GSI, Galaxy M-Series -----------------
I] If you just want WiFi disabled permanently, then Here are the steps that worked :
> Install Magisk or SuperSU And Optionally TWRP/Any Custom Recovery
> Install any Root Exploration app & grant it Root permissions
> Create a Backup (nandroid or anything that can backup your data)
> Using the Root Exploration app navigate to (vendor/etc/wifi)
> Look for the file ( wpa_supplicant_overlay.conf ), Tap and select Text Editor option
> Change to this -> [ p2p_disabled=0 ] , [ update_config=0 ], [ pmf=0 ] then tap Save.
> Reboot.
> Go to Settings >> Apps >> Bluetooth MIDI Service >> Reset the app
> Go to Settings >> Apps >> Bluetooth >> Reset the app
> Reset Network Settings (Settings >> System >> Reset Options >> Reset WiFi, Mobile & Bluetooth)
> Reset Firewall Settings(AFFirewall+, Netguard etc.)
> Reboot to Recovery
> Wipe Dalvik/ART Cache & Cache
> Reboot to System
Now WiFi & Location should be permanently disabled but you can still connect BT wireless & send/receive BT files (mp3, jpeg etc. but not apk, exe etc.) also Hotspot, Data , Manual Location (Not GPS Location) works.
#BUGS: Windows does not Connect Automatically to phone Hotspot, manual reconnect needed everytime. GPS Location breaks but Manual Location entry can be picked-up by apps like Opera Browser etc.
II] There is also another same way to get WiFi, BT, Hotspot Disabled while keeping ONLY Data Enabled but that was not the original question on this post so no need I guess.

[Completed] Can't change/delete wifi network in marshmallow.

Hi,
I don't know exactly where to look for help. Because, it could be a CM13 problem, a Oneplus One problem, a Titanium Backup Problem or a general Marshmallow problem. Please guide me in the right direction, where I could ask! (Or if you know the answer, I would be even happier).
///(writing this after everything followingWow, I really wrote A LOT. tl;dr: I can’t edit/delete my wifi connections on Marshmallow. I think, it’s because a new rule of Android 6, which prevents other apps (in my case my network settings) to change stuff (See paragraph 6). I have 2 assumptions (paragraph 7+8) but I still don’t know, how to change/delete my wifi connections. help!///
I also want to say, that I already asked in some german boards (hence I'm from germany), where I was immediately dismissed, because quote: "It's your fault if you install nightlies. You don't get help, if you are so stupid". Well I can't understand this point of view to some extend, but I still don't know, if its really a "nightly problem" or one of the other suspects. Please don't dismiss me directly. If you have a clue, please point it out.
Please also note, that I have under 10 posts, which prevent me to post links. I really don't want to spam and I hope I don't break any rules, but I included links to pictures in my posts. Not to spam, but because I think it's helps understanding my problem.
So lets get to it:
The used status: I was on the official CM12.1 nightly and have done updates 1-2 times a week. At university I use a TTLS/PAP connection with a certificate and my credentials (eduroam -> eduroam. org/index.php?p=faq#technology). At home and work I used a normal WPA2 connection.
What I did: I updated yesterday to official CM13 nightly with OpenGapps for Android 6. Not via the updater, but via Recovery. I did a full system backup beforehand with Titanium Backup. Booted into recovery (TWRP), wiped the usual stuff (factory reset + system partition), installed CM13 and OGapps, rebooted and setup the phone. Then I did a full restore (all data + missing apps, cause I didn't want titanium to overwrite the new Gapps). Everything worked out great. Phone runs great, my daily apps run great, no crash so far. Quite nice for such an early nightly.
Now my problem: I went to my university library 2 hours ago to work on some things in the evening. My phone is was not able to connect to the wifi (authentication problems). Than I tried to edit the network and saw, that the settings were lost (as well as the certificate). I downloaded and installed the certificate and set everything up in the edit network panel. On save, it just gave me the message: Couldn't save network (imgur. com/fBDctvE.png). So I tried to delete the network, to set it up from scratch, but I can't delete it (imgur. com/2I29bSR.png).
I did some research I found people who had (It looked like at that moment) the same problem, of not be able to edit or delete a wifi connection. So one pointed out, to settings -> backup and restore -> and reset all network connections to factory state. I did that, but all the saved connections are still there. It can't delete them. Then somebody else with such a problem, said, he couldn't delete his network setups, but with an external app (WiFi Manager) he was able to delete the networks.
Which brings me to my current point in time: I tried the app, it was not able to edit or remove my networks, but it gave me one valuable information, which is maybe the key to my problem: imgur.com/ t2JmYml.png . It says, that: "Under Android 6 only the application, which created the network, is able to edit and to remove it."
Now I have 2 assumptions:
1) It’s a problem because I restored my data via Titanium Backup. If I look at my saved networks, than I also see, that the „owner app“ is now indeed Titanium Backup (imgur. com/I44ys5s.png) and NOT network settings. Which, if I understood correctly would prohibit network settings to change or delete networks, because of: "Under Android 6 only the application, which created the network, is able to edit and to remove it.“
2) It has nothing to do with Titanium, but instead is a problem, because the networks were created with the older version of Network settings (Gapps for Lollipop). And I did a fresh install of Gapps for Marshmallow. So maybe „new“ Network settings thinks, that it didn’t create the networks, but instead they were created by „old“ Network settings.
Either way, thats it. I really don’t want to install Lollipop again just to delete the networks and than again install Marshmallow and recover everything and setup stuff.
Did I miss something? Do you have different ideas, what I could try? I have root and busybox installed, could I maybe delete the networks „manually“ via Terminal Emulator, or could I adb into my phone and search and delete these settings? I was not able to find them, but honestly: Without somebody here pointing me at the right direction, where the network profiles are stored, I would not mess around on my own. Can you help me?
Thank you!!!
Hi,
To better assist you, please post your device model number and I will guide you to where you may find your answer.
Thank you.

Android security, My smartphone hacked by someone

Hi
Before I have Samsung s5 smartphone, I fight with my friend, He was loaded trojan in my mobile phone when i talk with him he knows everything than I suspected him I was thinking he loaded Trojan than I downloaded network monitoring app I saw connections from Google dns 8.8.8.8 and 4.4.4.4 ip number. I got Trojan in my mobile phone,
After I did factory reset/formatted smartphone (I don't remember I erased sd-card or not) Before I wasn't know that factory reset not able to erase everything I supposed Trojan was deleted by factory reset. After he is still know everything.
Final decision; I bought new Samsung S3 tablet, I used this tablet approximately 4 months ,When I turn back to my country, he is still know my location, he is still know browser history, and all of them. I am becomes crazy I did factory reset my S3 tablet, and I created new Google account, I switched off my location, I checked Google account history everyday;but I couldn't see any suspicious situation ,I changed all account password, After i read some text they are explaining about this issue they are saving to us "factory reset not able to erased everything"
"You have to load new rom" and then I downloaded New Rom, I loaded new Rom in my mobile phone I replaced everything , I created new google account i didn't use old one I went Vodafone and I changed my SIM card with new one but Phone number is same He is professional hacker and Android developer.
I Bought new phone, I bought new sim card (same phone number),I loaded new Rom, I changed Google account,I removed sd card I didn't put back, I checked my device with antivirus app several times. I closed device manager (find my mobile), I did data limit for all applications. Shortly, I did everything;but He has accessed again
I didn't connect to my home wi-fi, He was hacked my computer before.
I am using only 4.5 G now I checked two-There times my Ip number,
When I disconnected from internet, my ip number was changing;but only last 6 numbers changing.
I think he can find again my ip address, because my device is very rare He can find easly my device and he can attack again. Also I supposed he found me again today. I opened developer options And I put limit for background apps work I put no any operations background , but when I put this one, it is changing itself it's turning back standard limit. I think he access again
Now, I need your help !!! How can I save with him, How is he find me easly, and how can I know he is access or not I don't have any idea My knowledge very pour especially Android Please help me I don't want to buy again one more phone Google saying Android is the best secure os but Now I am not sure about security

Deleting Hardware files leads sometimes to brick the phone

Hey there,
I started recently to look up for a way to permanently disable my wifi, bluetooth, NFS, Network and GPS. Unfortunately I didnt find a proper method to do that. There was the option to physically break the hardwares, but I didnt want to risk that, if I get something wrong there I wouldnt have a 2nd chance. Except of that, there was only some ways to disable the wifi but it was easy to re-enable it again.
Anyways I figured out, that I need to root my device in order to remove hardware files, but the problem is I dont know WHICH files would be okay to remove.
I'm using a samsung galaxy s8 with Android 9 Pie
Till now I rooted my device twice and deleted hardware files,
the first time I deleted wifi hardware files from the system/etc/permissions folder. That lead to brick my phone.
The second time I deleted hardware files of bluetooth and nfc from:
system/lib
system/lib64
system/vendor/etc/init
system/vendor/etc
system/vendor/lib64
system/vendor/permessions
surprisingly it worked, I totally disabled bluetooth and nfc.
Then I wanted to proceed to remove gps (I figured out S8 aint using gps but gnss) so I removed the gnss files and folders. But this time, it bricked my phone, so I had to reinstall the samsung firmware again and now I rooted my device again.
Before I start trying again, I would like to ask you, if any of you have some knowledge about this and if there is any no-go files, which I should never remove or smth.
I dont really just want to try out over and over, it is taking much time to do all this... I hope somebody can help me out.
Additionally, do any of you know how the network hardware is called? basically the hardware which lets you call people or just the hardware which connects to a network provider.
--------------------------------------------------------------------------
The reason why I want to do this shouldnt be important right? but if you want to know why:
I want to keep my privacy. I want to be able to connect to the internet only via ethernet cable and also I want to use my device more as a map to plan routes, camera, calc etc.
ALOT of other people want to do this too, but nobody (after searching for over 20 hours) had the right solution. Every way I found, it was possible to reenable it easily.
Thank you for taking your time and reading my issue! I hope you can help!!
I will give an update about this anyways!
I'm using a samsung galaxy s8 with Android 9 Pie
Model: SM-G950F
Update:
----------------------------------------------
I found a way to disable the following hardware:
(disclaimer: there is probably tons of methods to permanently disable hardware, but this is how it worked for me)
Ofc you need to root you device, I used TWRP as boot loader.
MAKE A BACKUP OF YOUR DEVICE
you could loose your data forever!! and dont do the same mistake I did, not backing up the contacts.
Contacts are NOT in the internal storage, therefore you need to do a back up while rooted!!!
Tip: every file you edit or delete, make a backup of the original one and name it differently. If your android bricked, then you can use TWRP and delete the modified file and rename the backup again to the original name. This would help you to prevent wasting much time.
Bluetooth:
Delete the following file:
/system/vendor/lib64/hw/[email protected]
WiFi:
Delete the following file:
/system/vendor/lib64/[email protected]
GPS:
Delete the following file:
/system/vendor/etc/gnss/gps.xml
Some files I just edited them, these are permissions file, if you delete them completely, android wont work anymore.
You need to delete everything between <permissions></permissions>
You can edit the files using text editor
GPS:
Edit the following file:
/system/vendor/etc/permissions/android.hardware.location.gps.xml
NFC:
Edit the following file:
/system/vendor/etc/permissions/android.hardware.nfc.xml
Telephony:
I tried to dial emergency numbers, which should be actually possible with or without a sim card, but it didnt work.
Edit the following file:
/system/vendor/etc/permissions/android.hardware.telephony.gsm.xml
And that's it, now just restart your android and it should work with no problems.
I would recommend to download everything you want to have on your phone, before you get rid of wifi.
WARNING:
Most google applications like google map wont work, after you get rid of the gnss/gps. Google doesnt like it, if you turn off your location lol
The network data (LTE, 4G ...etc) is not tested and I am not sure if it is even disabled, I have the feeling that Telephony is not the same. I dont use a sim card anyways, so yeah. But if I found out a solution for that too, I will post it here for sure!
have fun!!

Categories

Resources