Just rooted and the whole purpose was to install secure settings with superuser permissions so I can toggle GPS using tasker.
I have granted it superuser permissions but in the secure settings app the 'helper' file needed for GPS toggle wont install
The error whilst installing it is: Unable to mount partition rw
I then tried to go into CWM in recovery mode and select the zip file manually, but that failed also, Im stuck! any ideas?
Hello
I got a lenny 3 and rooted it with supersu v2.78
Now i got the app supersu.
but if i want for example a firewall i need to open the firewall app and after that i need to open supersu before i get a popup to access it as a su
so my question is how to use supersu without starting it everytime manualy
I installed the su addon from Lineage extras.
Root Permissions are set to 'Apps & ADB'
"Manage root accesses" is greyed out.
How can I assign root permission to AFWall?
z0m8i3 said:
I installed the su addon from Lineage extras.
Root Permissions are set to 'Apps & ADB'
"Manage root accesses" is greyed out.
How can I assign root permission to AFWall?
Click to expand...
Click to collapse
If something needs root access it will ask you. It is not something you can give to an app before it is needed. Once you have granted permission to one or more apps the "Manage root access" will no longer be greyed out.
Sent from my Nexus 6 using Tapatalk
SteveYoungs said:
If something needs root access it will ask you.
Click to expand...
Click to collapse
I uninstalled AFWall & reinstalled, it never asked for root. When I launch it, it gives me the "Make sure it has su permissions" notice. Is there any way to trigger it?
Not sure if its related, but when I go to AFWall Preferences -> Log -> Turn on log service:
"Unable to start log service.LogTarget is not empty or LogService not enabled."
z0m8i3 said:
I uninstalled AFWall & reinstalled, it never asked for root. When I launch it, it gives me the "Make sure it has su permissions" notice. Is there any way to trigger it?
Not sure if its related, but when I go to AFWall Preferences -> Log -> Turn on log service:
"Unable to start log service.LogTarget is not empty or LogService not enabled."
Click to expand...
Click to collapse
I'm not familiar with AFWall, sorry. Launching it should have triggered the request to grant su perms, at least to my mind it should have.
Sent from my Nexus 6 using Tapatalk
z0m8i3 said:
I installed the su addon from Lineage extras.
Root Permissions are set to 'Apps & ADB'
"Manage root accesses" is greyed out.
How can I assign root permission to AFWall?
Click to expand...
Click to collapse
Late reply but I just had this problem, so in case it could help someone else : I made a mistake to install the addonsu in its last version, on my Lineage 14.1. Big mistake... everything seemed to be ok, except this unability to give root permissions to app (they weren't asking me for at all) and this "greyed out" symptom described here.
I just uninstalled this addonsu to reflash it with the 14.1 version corresponding to my Lineage and... here we goooo....
You can now get privileged access to AppOpps without using shell commands for individual apps. You do NOT need root access, but you do need ADB.
1. Download and install AppOps by Quxingchen. Open the app and select 'privileged mode' when prompted and select next. Install the manager via the install button in the app.
2. Open the Manager App and read the instructions. To start the server to manage app access to information, you will need to run the ADB code provided every time you reboot your phone IF you want to manage permissions on a live basis.
3. Run the script in ADB:
Code:
adb shell sh /sdcard/Android/data/moe.shizuku.privileged.api/files/start.sh
4. If successful at starting the server, the box at the top of the manager app will turn green. Now go back to the AppOps app and select next to finish the installation.
5. You now have access to all app permissions and you don't need root. Reboot for permissions to take effect. They will hold without restarting the manager server, but you'll need to start it again in order to further edit app permissions.
Handy tips:
-Disable notifications in SystemUI. If you don't care about the annoying notifications from this app, this is a lifesaver.
-Disable Android System notifications. Again, most of these are annoying. It will halt the messages about USB connected to low power charger, ADB and media transfer from appearing in the statusbar. Drop down the bar to see them and toggle the settings.
Thanks for sharing
Hello,
These are instructions for making GPS work for users who did not choose to install Google Play Services (GAPPS).
Please note that the following steps worked for me, and I am posting here in case they help someone. They may not work for you, and I do not bear any responsibility if you damage your phone in any way while following this guide. Proceed at your own risk!
Note: you'd need adb tools set-up on your system. The following commands I ran on a Linux system.
==
Some Background Info:
On a vanilla install of this ROM, we get the UnifiedNlp (GAPPS) system pre-installed as a system app.
You can confirm if you have this in your phone, by running this command:
Code:
adb shell pm list packages org.microg.nlp
SatStat and OsmAnd don't get GPS lock, and in Settings => Security Location => Location => Advanced => UnifiedNlp Settings => Self-Check you probably get the following:
The system did not bind the UnifiedNlp service
Click to expand...
Click to collapse
Now, if you look at F-Droid, you'll see another package called UnifiedNlp (no GAPPS), which, does sound like the right system for a No GAPPS phone.
However, if you try to install it from F-Droid, you'll get an error (Error -112) saying you are:
attempting to define a permission that is already defined by some existing package.
Click to expand...
Click to collapse
Here are the steps that worked for me:
First deleted the ROM's pre-installed system app UnifiedNlp (GAPPS):
Code:
adb root
adb shell
mount -o rw,remount /system
rm -rf /system/app/UnifiedNlp/UnifiedNlp.apk
rm -rf /data/data/org.microg.nlp
exit
adb reboot
Next, installed the UnifiedNlp (no GAPPS):
* Download the apk from F-Droid and save on your computer.
Code:
adb root
adb remount
adb push ./com.google.android.gms_20187.apk /system/app/UnifiedNlp/
adb shell chmod 644 /system/app/UnifiedNlp/com.google.android.gms_20187.apk
adb reboot
And finally when we reboot to system, we can go ahead and configure the UnifiedNlp system, and install and set Mozilla Location Service as your location backend (or other(s) of your choice).
Thanks!
I repeated the steps with a newly installed RC4 and in UnifiedNlp's Self Check, the "UnifiedNlp registered in system" check button would not be active.
While UnifiedNlp was listed in the apps drawer, it did not show up as a location provider in "Settings / Location / Location Services". I got that by installing the APK using the package manager after completing the steps you described:
Code:
adb root
adb shell
pm install --user 0 /system/app/UnifiedNlp/com.google.android.gms_20187.apk
reboot
This is also a good moment to remove Qualcomm's dodgy location service:
$ pm disable com.qualcomm.location.XT
Edit: Disabling com.qualcomm.location is not a good idea, since it provides Android's "LocationService". But disabling com.qualcomm.location.XT does the trick.
Edit2: After one day of testing and several reboots, I am pretty sure that com.qualcomm.location is not of use, because com.android.location.fused is the system-wide location provider that combines GPS and Nlp queries.
$ pm disable com.qualcomm.location
I still have some problems with RC4.
● Telephone calls are interrupted with the announcement "The number is not assigned, please call the operator". This happens randomly and you never know when the problem occurs.
● Tethering is no longer possible. At 5 GHz, the SSID is not displayed. I can connect with 2.4 GHz, but have no access to the Internet. A ping (from laptop to smartphone) sometimes goes through a few times. Then the connection is interrupted again. Disabling firewalls etc. is to no avail.
● From the laptop I can not access the smartphone via USB since RC4. The laptop recognizes the cellphone, I can choose File Transfer, but I can not mount the it or access it.
● Are the earplugs plugged in when receiving a call, I can't hear anything. Though the other side hears me. To use earplugs I have to plug them during a conversation only.
Kalimohan said:
I still have some problems with RC4.
● Telephone calls are interrupted with the announcement "The number is not assigned, please call the operator". This happens randomly and you never know when the problem occurs.
● Tethering is no longer possible. At 5 GHz, the SSID is not displayed. I can connect with 2.4 GHz, but have no access to the Internet. A ping (from laptop to smartphone) sometimes goes through a few times. Then the connection is interrupted again. Disabling firewalls etc. is to no avail.
● From the laptop I can not access the smartphone via USB since RC4. The laptop recognizes the cellphone, I can choose File Transfer, but I can not mount the it or access it.
● Are the earplugs plugged in when receiving a call, I can't hear anything. Though the other side hears me. To use earplugs I have to plug them during a conversation only.
Click to expand...
Click to collapse
Please repost that to the developer's thread.
Sorry!
[email protected] said:
Please repost that to the developer's thread.
Click to expand...
Click to collapse
Sorry, this was my fault. I opened different tabs and this was the wrong one.
Can you please delete it?
arslanon.e said:
Hello,
These are instructions for making GPS work for users who did not choose to install Google Play Services (GAPPS).
Please note that the following steps worked for me, and I am posting here in case they help someone. They may not work for you, and I do not bear any responsibility if you damage your phone in any way while following this guide. Proceed at your own risk!
Note: you'd need adb tools set-up on your system. The following commands I ran on a Linux system.
==
Some Background Info:
On a vanilla install of this ROM, we get the UnifiedNlp (GAPPS) system pre-installed as a system app.
You can confirm if you have this in your phone, by running this command:
Code:
adb shell pm list packages org.microg.nlp
SatStat and OsmAnd don't get GPS lock, and in Settings => Security Location => Location => Advanced => UnifiedNlp Settings => Self-Check you probably get the following:
Now, if you look at F-Droid, you'll see another package called UnifiedNlp (no GAPPS), which, does sound like the right system for a No GAPPS phone.
However, if you try to install it from F-Droid, you'll get an error (Error -112) saying you are:
Here are the steps that worked for me:
First deleted the ROM's pre-installed system app UnifiedNlp (GAPPS):
Code:
adb root
adb shell
mount -o rw,remount /system
rm -rf /system/app/UnifiedNlp/UnifiedNlp.apk
rm -rf /data/data/org.microg.nlp
exit
adb reboot
Next, installed the UnifiedNlp (no GAPPS):
* Download the apk from F-Droid and save on your computer.
Code:
adb root
adb remount
adb push ./com.google.android.gms_20187.apk /system/app/UnifiedNlp/
adb shell chmod 644 /system/app/UnifiedNlp/com.google.android.gms_20187.apk
adb reboot
And finally when we reboot to system, we can go ahead and configure the UnifiedNlp system, and install and set Mozilla Location Service as your location backend (or other(s) of your choice).
Click to expand...
Click to collapse
hello I have a fresh install of lineage on my XZ1 compact, and GPS doesn't fix.
I have follow what you describe,
when I try to tick "mozilla location service" under confirguration of unifiedNlp settings I got message "erro initializing backend"
before making this I can tick it ( but gps doesn't work)
ticking nominatim works.
I try to uninstall reinstall mozillaNlpbackend , but this don't change anything .
ok, gps doesn't ask me for permissions.
I grant permission for unifiedNlp and mozilla unifiedNlp backend and now all works fine !
great, thanks !
hazote said:
hello I have a fresh install of lineage on my XZ1 compact, and GPS doesn't fix.
I have follow what you describe,
when I try to tick "mozilla location service" under confirguration of unifiedNlp settings I got message "erro initializing backend"
before making this I can tick it ( but gps doesn't work)
ticking nominatim works.
I try to uninstall reinstall mozillaNlpbackend , but this don't change anything .
ok, gps doesn't ask me for permissions.
I grant permission for unifiedNlp and mozilla unifiedNlp backend and now all works fine !
great, thanks !
Click to expand...
Click to collapse
Hello and thanks for your guide, I've succeed on uninstalling UnifiedNlp (gappas version) and reinstall UnifiedNlp (no gapps version), thanks to your adb codes . I'm running Lineage OS 17.1 and it works fine except that I can't get no location on Osmand, nor GPS coordinates on GPS test or Statsat apps. I'm trying to use the localisation option (only gps ) as i would need to be totally offline using it... Is there a way To make the Gps coordinates usable and visible ? Is this a matter of configuration ( i would need wifi or connection ?)
On Osmand~ it just says "unknown position, GPS-A updated at ... ( moment of the try) " But if I'm pointing on the map, it says the exact distance from it... Is ther a way to test GPS hardware and coordinate (like the #*#*SERVICE*#*# on stock firmware ) ?
Thank a lot for your help.
everything fine ater updating "gps.conf" file in "/vendor/etc folder... Hat do put "XTRA Searc" on 1 to find satelitte signals. tx xda for all the resource
seven hole said:
XTRA Searc
Click to expand...
Click to collapse
What? Can you show your changes in your gps.conf, I'm not understanding what you changed.