Font Manager Permission Denied in termux - General Questions and Answers

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
My device is Redmi note 7 pro.
I installed Font Manager module. But I can't access it. It showing permission denied. What should I do?

Make the Font Manager executabe.

xXx yYy said:
Make the Font Manager executabe.
Click to expand...
Click to collapse
How

I have the same issue after downgrad the Magisk.
Executable doesn't help
chmod +x /system/bin/manage_fonts
Code:
~ $ su -c manage_fonts
/system/bin/sh: manage_fonts: can't execute: Permission denied
~ $ su
chmod +x /system/bin/manage_fonts <
:/data/data/com.termux/files/home # manage_font
/system/bin/sh: manage_font: inaccessible or not found
anage_fonts <
/system/bin/manage_fonts[2]: /data/adb/modules/fontrevival/tools/bash: inaccessible or not found
anage_fonts <
/system/bin/manage_fonts[2]: /data/adb/modules/fontrevival/tools/bash: inaccessible or not found
127|:/data/data/com.termux/files/home #

The permission deined has been fixed on the latest release 5.5.6(108)
Magisk Modules Repository - Best and #1 Magisk Modules
This is the Androidacy Magisk Modules Repository, where you can search, browse, and download your favorite Magisk modules right now.
www.androidacy.com

akha666 said:
I have the same issue after downgrad the Magisk.
Executable doesn't help
chmod +x /system/bin/manage_fonts
Code:
~ $ su -c manage_fonts
/system/bin/sh: manage_fonts: can't execute: Permission denied
~ $ su
chmod +x /system/bin/manage_fonts <
:/data/data/com.termux/files/home # manage_font
/system/bin/sh: manage_font: inaccessible or not found
anage_fonts <
/system/bin/manage_fonts[2]: /data/adb/modules/fontrevival/tools/bash: inaccessible or not found
anage_fonts <
/system/bin/manage_fonts[2]: /data/adb/modules/fontrevival/tools/bash: inaccessible or not found
127|:/data/data/com.termux/files/home #
Click to expand...
Click to collapse
Only curl exist in folder /data/adb/modules/fontrevival/tools, no bash found here, wield.

Related

[MOD] More space for recent apps of Keyboard Launcher

Title says everything - some of Z4T users should notice there is unnecessary image when you are using keybord... and I removed it for more spaces.
Before:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
After:
Note: This needs root (How to root with unlocked bootloader)
Download
This apk is made for SGP771, but it may work on SGP712.
How to install:
Run this command within same folder you saved systemKeyboardLauncher.apk
Code:
adb push systemKeyboardLauncher.apk /data/local/tmp
adb shell
busybox mount -o remount,rw /system
dd if=/data/local/tmp/systemKeyboardLauncher.apk of=/system/priv-app/KeyboardLauncher/systemKeyboardLauncher.apk
chmod 644 /system/priv-app/KeyboardLauncher/systemKeyboardLauncher.apk
mv /system/priv-app/KeyboardLauncher/arm64 /system/priv-app/KeyboardLauncher/arm64OLD
mv /system/priv-app/KeyboardLauncher/systemKeyboardLauncher.apk /system/priv-app/KeyboardLauncher/KeyboardLauncher.apk
AndroPlus said:
Title says everything - some of Z4T users should notice there is unnecessary image when you are using keybord... and I removed it for more spaces.
Before:
View attachment 3434476
After:
View attachment 3434477
Note: This needs root (How to root with unlocked bootloader)
Download
This apk is made for SGP771, but it may work on SGP712.
How to install:
Run this command within same folder you saved systemKeyboardLauncher.apk
Code:
adb push systemKeyboardLauncher.apk /data/local/tmp
adb shell
busybox mount -o remount,rw /system
dd if=/data/local/tmp/systemKeyboardLauncher.apk of=/system/priv-app/KeyboardLauncher/systemKeyboardLauncher.apk
chmod 644 /system/priv-app/KeyboardLauncher/systemKeyboardLauncher.apk
mv /system/priv-app/KeyboardLauncher/arm64 /system/priv-app/KeyboardLauncher/arm64OLD
mv /system/priv-app/KeyboardLauncher/systemKeyboardLauncher.apk /system/priv-app/KeyboardLauncher/KeyboardLauncher.apk
Click to expand...
Click to collapse
thank you !!!
Is there anyway to make pc style keyboard work with Tablet Z2 or Tablet Z?

[SELinux] Devices Xperia

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
welcome to this new tutorial
such as changing the state of SELinux on xperia devices
Requirements:
- Devices Xperia
- Root Access
- Installed busybox
- Support init.d
- Root Explorer (optional)
Process:
1.- with root explorer locate the following directory /system file in search of build.prop
2.- add the following line so that we can afford to view the status of SELinux on our device
Code:
ro.build.selinux=1
3.- save changes
4.- reset your device and settings on the phone will appear to them the status of SELinux
- attached screenshot
5.- within the init.d folder create a script with the name 88SELinux and add the following code
Code:
#!/system/bin/sh
chmod 0644 /sys/fs/selinux/disable
setenforce 0
setprop ro.boot.selinux disable
echo 0 > /sys/fs/selinux/enforce
echo 0 > /sys/fs/selinux/disable
exit 0;
6.- 88SELinux file take permission octal 0755 can use root explorer and enter the number 0755 attached screenshot
7.- restart the terminal and the status of SELinux should appear as in the screenshot
8.- finally if you do not change the status of SELinux it is because their init.d support is not working
Good work bro lml

[SOLVED] Mount System partition with write permissions on Android 10?

I am trying to mount my System partition with write partitions on my Google Pixel (fully rooted with Magisk).
I have tried the following commands:
$ su
# mount -wo remount /
and I got the error
Code:
'/dev/root' is read-only
I also tried:
$ su
# mount -wo remount /system
And I got the error:
Code:
'/system' not in /proc/mounts
Also after flashing things in TWRP I get failed to mount /system
And failed to mount /vendor
Is there any way I can remount the partition with write permissions?
If not is there a Magisk module that can edit it Systemlessly?
EDIT: I've done some research and I found out that you can't mount the partition as rw so to edit the files you have to make a Magisk module that replaces the files with the modded versions.
Here is the solution to your problem my friends. Enjoy!
Works like a charm in Android 10 and later. Now my system, vendor and product partitions are read-write!
Use at your own risk!
https://forum.xda-developers.com/t/script-mount-system-as-read-write-android-10.4240703/
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
lebigmac said:
Here is the solution to your problem my friends. Enjoy!
Works like a charm in Android 10 and later. Now my system, vendor and product partitions are read-write!
Use at your own risk!
https://forum.xda-developers.com/t/script-mount-system-as-read-write-android-10.4240703/
Click to expand...
Click to collapse
while trying to flash your zip , I'm getting an error. I have Redmi k20 pro with Corvus Android v11 flashed. But it worked for many others...
@warhawk971 I just responded to you in the project thread. Please try installing it manually and report back any errors. Thanks!
lebigmac said:
@warhawk971 I just responded to you in the project thread. Please try installing it manually and report back any errors. Thanks!
Click to expand...
Click to collapse
Thanks. I'll report you further...

Help for enabling a permission for an app !!!

I want to enable a special permission for an app using ADB Shell. My phone is non-rooted & locked bootloader & Device name: Xiaomi MI A3, Code name: laurel_sprout. Apk name: Pokemod Espresso.
I've used this code but failed:
Code:
adb shell pm grant com.pokemod.espresso android.permission.QUERY_ALL_PACKAGES
ADB Shell says this is an unknown code. I found the permission name on another third party permission checker app from Google play store. Here's the photo where I found the permission name.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Please help me as soon as possible. Thanks in advance, May Allah bless you .
Always enquote the command that adb shell should perform
Code:
adb shell "pm grant com.pokemod.espresso android.permission.QUERY_ALL_PACKAGES"
jwoegerbauer said:
Always enquote the command that adb shell should perform
Code:
adb shell "pm grant com.pokemod.espresso android.permission.QUERY_ALL_PACKAGES"
Click to expand...
Click to collapse
Still now it says error.
Exception occurred while executing:
java.lang.IllegalArgumentException: Unknown permission: android.permission.QUERY_ALL_PACKAGES
at com.android.server.pm.permission.PermissionManagerService.grantRuntimePermission(PermissionManagerService.java:2109)
at com.android.server.pm.permission.PermissionManagerService.access$900(PermissionManagerService.java:122)
at com.android.server.pm.permission.PermissionManagerService$PermissionManagerServiceInternalImpl.grantRuntimePermission(PermissionManagerService.java:3058)
at com.android.server.pm.PackageManagerService.grantRuntimePermission(PackageManagerService.java:6075)
at com.android.server.pm.PackageManagerShellCommand.runGrantRevokePermission(PackageManagerShellCommand.java:1955)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:230)
at android.os.ShellCommand.exec(ShellCommand.java:104)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:22273)
at android.os.Binder.shellCommand(Binder.java:881)
at android.os.Binder.onTransact(Binder.java:765)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4860)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4339)
at android.os.Binder.execTransactInternal(Binder.java:1021)
at android.os.Binder.execTransact(Binder.java:994)
Do you know how to fix it ?
You were told the reason why it failed
Code:
Exception occurred while executing:
java.lang.IllegalArgumentException: Unknown permission: android.permission.QUERY_ALL_PACKAGES
THE PERMISSON YOU WANT TO GRANT DOESN'T EXIST IN THE APP.
Contact app's developer.

Android 8.1 Custom Init Scripts

Alright guys, I have a generic tablet with android 8.1it has an mtk armv7 processor... I'm trying to write a oneshot init that executes a shell script from /system/xbin but when I add it it doesn't seem to execute my script. Can someone help me with how to add it? The code I'm using is as follows:
# Run init.d scripts
service bsleep /system/bin/bsleep.sh
class late_start
seclabel u:r:shell:s0
user root
group root
oneshot
Click to expand...
Click to collapse
#!/system/bin/sh
(until [ "$(getprop sys.boot_completed)" == "1" ]; do
sleep 1
done
input keyevent SLEEP
Click to expand...
Click to collapse
If supported by kernel so-called init.d scripts must be located in directory /system//etc/init.d to get detected at boottime and run - scripts must be RWX. To push init.d scripts to this location elevated rights ( AKA ROOT permission ) is required.
On devices with non-rooted Android a workaround is possible: Using an App that emulates the Init.d function, e.g. Universal Init.d
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Note: Universal Init.d app is no longer available in the Google Play Store. Please, download the Universal Init.d APK instead.

Categories

Resources