How To Root OPPO A78 5G - Android Q&A, Help & Troubleshooting

Can Any One Help Me To Root OPPO A78 5G i have tried all methods in yt i have rested my phone 4 times if any one can help

Hello World, eEase all data from the phone, take out the sim card l. Restart first time setup without adding account, don't accept any user experience program or backup. Connect the wifi and enter the home page, enable the developer options. Do not allow OEM unlock! If it's on, press and restart as smart android requires. SECOND STEP From skill developer options : Stay active when loading Developer quick tiles, enable wireless debugging in top panel Allow overlay on settings Usb connection type MTP file transfer Enable freeform window # activate all row of that sector and disable permission check Debug log level - 999999999 - 999999999 . Use the phone cleaner and restart your device.
THIRD STEP Download a File Explorer ( I use fx ) install the file Explorer and don't open it. Go to settings - apps - Select file explorer and give all permissions, repeat the same thing with shell, storage manager, android system, mtp. Open the file explorer and leave it in the background. On the phone dialer dial *#9434# ( don't copy it from here ) Key imported ok *#803# *#899# Reboot the device.
FOURTH STEP : Download from GitHub Shizuku - Hail- Appops- Ashell -Sai Installer. Install and configure Shizuku via wifi Debug, open other apps, grant all Shizuku permissions. Open appops and add all optional permissions. grant all permissions to all shizuku Apps using their API. Allowed all permissions to Shell, Storage etc as in the previous step. Close all apps. Clean cache. restart the device.
{
"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"
}
FIFTH STEP : Download the GitHub Termux and all its support apps.
Enable Shizuku Always manage with file explorer! IMPORTANT . Open Ashell cat getenforce getenforce set -o set -o sh set # FOLLOW THE GUIDE . which $PATH export $PATH = $PATH"#SELUSER" . Restart. Press the physical key if necessary.
SIXTH STEP : Open Termux and all the apps of the Termux family already with all the required permissions. Run the following command and check your choices carefully: COPY HUMAN!!! termux-setup-storage && termux-wake-lock && pkg update -y && pkg upgrade -y && termux-change-repo && termux-reload-settings && exit RESTART TERMUX COPY apt update && apt upgrade -y && apt install binutils proot proot-distro python python-pip -y && termux-reload-settings && exit RESTART THE APP AND COPY proot-distro install fedora reset exit Open Termux and run the command proot -0 nano fd 1 Line : #!/bin/sh 2 Line: proot-distro login fedora CTRL+X IMPORTANT select the name .fd confirm and exit RESTART THE APP and run proot -0 chmod 777 .fd chmod +x .fd cd .. cd usr copy the bin directory in the home directory of termux. termux-reload -settings && apt update && apt upgrade -y reset clear termux-setup-storage bash .fd
SEVENTH STEP: Open Fx file explorer and check the green box / open folders starting with my_ eg: my_engineer etc. peek into plugin subfolders and any folder and install all secret apps, important to install battery secret plugin and athena_oplus. Grant all appops permissions to new apks and restart your deviceEIGHTH STEP : You are already an advanced user and have access to a greater volume of classes. For the next 3 steps that will get you root and install Magisk, Busybox contact me privately. Bye Bye World

Related

[Q] Detailed instructions for this program [R]

http://rwiki.sciviews.org/doku.php?id=getting-started:installation:android
This page describes how to install a program on android based devices, but I am not able to understand the (rather short) instructions. I hope that anyone here can further elaborate on the steps required to run this program on a tablet.
I don't know that much about linux/android but I think enough to help you.
First of all, you need to have a rooted Tab and Busybox installed on your Tab. If you don't have that, wel.. You should try to figure that out first.
Then you need some knowledge of ADB or have a Terminal Emulator installed on your Tab.
You can pm me in Dutch if you need help.
Actually, is really simple to install. There's no need to use adb (root is needed to create /data/local/gcc), the only requisite is a terminal emulator and busybox. I'm using Better Terminal Emulator Pro, but a free alternative with "all included" is Terminal IDE.
Following the guide, first get the 3 files, do this from the tab (in my case, sometimes the default browser doesn't work with mediafire, use Opera if this happens to you).
Now open your terminal emulator (for moving the files and create the folder a file manager can be used, but in my opinion that's cumbersome). All the following commands are executed from the terminal.
First, get root:
Code:
su
(A prompt dialog will request root permission)
Now, create the directory:
Code:
mkdir /data/local/gcc
From this point, root isn't required, so you can do it as a normal user. To change from root to user:
Code:
exit
Create the directory:
Code:
mkdir /data/local/gcc
Now move the downloaded files (change the path "/sdcard/Download" according to your case)
Code:
mv /sdcard/Download/android_gcc_r2a.tar.bz2 /data/local/gcc
Code:
mv /sdcard/Download/android_gcc_supplement.tar.bz2 /data/local/gcc
Code:
mv /sdcard/Download/android_R_r1a2.tar.bz2 /data/local/gcc
Move to the directory
Code:
cd /data/local/gcc
Extract the downloaded files
Code:
tar xjf android_gcc_r2a.tar.bz2
Code:
tar xjf android_gcc_supplement.tar.bz2
Code:
tar xjf android_R_r1a2.tar.bz2
Now you need to "tell" to the system where R is installed so it can be recognized by the system.
Code:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/data/local/gcc/lib
Code:
export PATH=$PATH:/data/local/gcc/bin
You can (and you ought to) put this lines in your ~/.bashrc. If you are using Terminal IDE, is very easy, do
Code:
nano ~/.bashrc
and write the two lines.
That's it. In the terminal type
Code:
R
And you can start using it (I can't tell you about how to use R as I don't use it, but I guess you already know how to).
{
"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"
}
First of all great thanks for this post. I have now been able to make progress, although I run aground in the move part, I get a permission denied when I try to create the directory /data/local/gcc on the main system (i.e. my files are in mnt/sdcard/blabla and I want to create the target directory.
Might this be due to not being rooted? - I think I am rooted (Titanium backup runs ok)
SDBoss said:
First of all great thanks for this post. I have now been able to make progress, although I run aground in the move part, I get a permission denied when I try to create the directory /data/local/gcc on the main system (i.e. my files are in mnt/sdcard/blabla and I want to create the target directory.
Might this be due to not being rooted? - I think I am rooted (Titanium backup runs ok)
Click to expand...
Click to collapse
Sorry, my bad. I forgot that very important part. You need root only for that part.
All the other steps are the same, just start with root:
First, get root:
Code:
su
(A prompt dialog will request root permission)
Now, create the directory:
Code:
mkdir /data/local/gcc
From this point, root isn't required, so you can do it as a normal user. To change from root to user:
Code:
exit
Now move the downloaded files (change the path "/sdcard/Download" according to your case)
Code:
mv /sdcard/Download/android_gcc_r2a.tar.bz2 /data/local/gcc
.
.
.
.
All the other steps.
In case you get a "permission denied", keep doing the steps as root.
That was really helpful, thanks again. I can now run the program, that part is clear. Tithe only thing I cannot get done is writing the exports in the bashrc, I see the text but cannot save in this, I guess I need to use the ^X sort of commands but how does that work from a soft keyboard?
SDBoss said:
I guess I need to use the ^X sort of commands but how does that work from a soft keyboard?
Click to expand...
Click to collapse
That's ctrl+x (^ means the key ctrl or control), use another keyboard like this one: https://play.google.com/store/apps/details?id=org.pocketworkstation.pckeyboard
Don't forget to activate it in settings>language & input.

[GUIDE] ChromeOS in GPD POCKET

{
"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"
}
every time i post it at reddit it gets removed, so was getting difficult sharing it
What works
audio
video
wifi
keyboard
trackpoint
touch
android apps
linux
What doesn't work yet
acpi (needs linux people help to make a kernel to chrome os)
bluetooth (easy fix)
battery level
What do you need
one 16gb pendrive
one 8gb pendrive or higher
one gpd pocket (duh)
a lots of patience and free time
First step
Go to CrOS page and download pyro
Download EmydeOS
Download SWTPM.tar and chromefy script
Second step
use a linux or mac pc and dd EmedyOS image to a 16gb pendrive
List all disks:
Code:
in linux: lsblk
in mac : diskutil list
sudo dd if=/path to emedy os/ of=/dev/sdx (where x is your pendrive disk nummber)
Third Step
Boot the flashed pendrive in dev mode
enter in shell pressing press ctrl + alt+fn + f2
type in chronos
in shell follow this:
Code:
sudo su
lsblk (find your drive , usually its mmcblk0)
sudo /usr/sbin/chromeos-install --dst YOURDRIVE (Ex: /dev/mmcblk0)
wait and check if boots
fourth step
download mate ubuntu
flash it into 8gb usb using the mentioned dd command
boot in live usb
open gparted
delete mmcblk0p5
extend mmcblk0p3 to 4gb
fifth step
format ubuntu mate pendrive to extfat
extract pyro image and copy the bin file to pendrive
copy chromefy sh and swtpm to pendrive
boot emedyos pendrive
press ctrl fn alt f2
enter chronos
Code:
sudo su
sudo mkdir /home/chronos/tempfolder
lsblk ( find the 8gb with pyro files, mine was sdb)
sudo mount /dev/YOURDRIVEHERE /home/chronos/tempfolder
cd /home/chronos/tempfolder
sudo bash /home/chronos/temfolder/chromefy.sh /dev/mmcblk0p3 /home/chronos/tempfolderNAMEOFpyro.bin /home/chronos/tempfolderswtpm.tar
sudo mkfs.ext4 /dev/mmcblk0p1
Sixth step
boot into chrome os and boot into shell again
Code:
sudo su
cd /usr/share/vboot/bin/ ./make_dev_ssd.sh --remove_rootfs_verification --f --partitions 2 reboot
Upon reboot go back into shell
Code:
sudo su -
mount -o remount,rw /
mount -o remount,exec /mnt/stateful_partition
download [URL="https://fedorapeople.org/~jwrdegoede/brcmfmac4356-pcie.txt"]this[/URL] file and copy to 8gb pendrive
mount the pendrive
sudo su
sudo mkdir /home/chronos/tempfolder
lsblk ( find the 8gb with file, mine was sda)
sudo mount /dev/YOURDRIVEHERE /home/chronos/tempfolder
cd /home/chronos/tempfolder
cp /home/chronos/tempfolder/brcmfmac4356-pcie.txt /lib/firmware/brcm
reboot into dev mode and complete steup
seventh step
to get sound working
press ctrl alt t into chrome
Code:
type shell
sudo su
mkdir /usr/share/alsa/ucm/chtrt5645 directory and copy the 2 .conf files from here into that dir.
What needs to be done
with the help of linux fans we need to patch the kernel
Kernel patches needed:
MAX17047 Fuel Gauge
BATTERY_MAX17042
BQ24190 Charger
CHARGER_BQ24190
GPIO for Fan Control
GPD_POCKET_FAN
Intel Graphics
CONFIG_DRM_I915
UEFI Framebuffer
CONFIG_FB_EFI
ALSA Sound Card Support
CONFIG_SND_SST_ATOM_HIFI2_PLATFORM_ACPI
eMMC Block Device (ACPI SDIO)
CONFIG_MMC_SDHCI
CONFIG_MMC_SDHCI_ACPI
Wireless
CONFIG_B43
CONFIG_BRCMFMAC
CONFIG_BRCMFMAC_SDIO
CONFIG_BRCMFMAC_PCIE[/INDENT]
References
https://hansdegoede.livejournal.com/17445.html
https://forum.xda-developers.com/ha...talling-official-chrome-os-pc-t3865697/page92
https://github.com/imperador/chromefy
https://wiki.gentoo.org/wiki/GPD_Pocket
thank you so much for taking the time to write a tutorial!
I'm going to try it on my gpd pocket as soon as possible that at the moment is running this build https://kmyers.me/blog/computers/public-preview-chromiumos-for-the-gpd-pocket-1/ .
By chance, in the meanwhile, are there any news about a new kernel with working acpi/bluetooth/battery meter?
Thanks again for the great work you did!

Switchroot Android - How to mount FAT32 partition in Android (Easy)

Hello,
I've finaly find a way to mount "hos_data" FAT32 partition into Android, usable with all android apps (after 1 week )
You need Root (Magisk), enable "Global Namespace" in Magisk Manager.
After that i use Tasker to mount at startup :
All you need, is to create "Profile" into Tasker, and theses tasks :
{
"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"
}
You can now share your Roms/Thumbails between Horizon / Android
I hope it can help some peoples ... If people have better solution, without Tasker, please share
Bye
This doesnt help
This has 0 instructions, and isnt self explanitory because because its not even in english like the poat itself is.
Skilarmbabcock said:
This has 0 instructions, and isnt self explanitory because because its not even in english like the poat itself is.
Click to expand...
Click to collapse
You're an idiot. 0 instructions? Really? Instructions are clearly there. Isn't self explanatory, really? 100% self explanatory. Not in English? Can you not read? Everything needed to make this work is written in English. Because because poat blah blah, go learn some English.
thx , and n1 job. and i have found a way to switch the sdcard without turning off.
its tricky , and you must be fast. because when you reboot to hekate when the firat time blackscreens apear, ,, screen turns off ,, in that moment you have to put out the sd card and put in the other one. , but the touchlayout is missing , then you can load any payload with out any dongle or something else.
I followed everything checked it 4 times and it still doesn't show up the only diffrence is I couldn't find device start so I put it as device boot
Have you activate "Global Namespace" in Magisk, your Android is rooted ?
Try to install "Termux" or other terminal emulator, and try to enter same commands manually first.
Go to Magisk, look if Tasker root is actived.
For me these command work fine. It can depend of your SDCard, for me it's mmcblk0 and p1 for partition 1 = mmcblk0p1
I don’t understand can anyone help me getting this to work
Unfortunately, Tasker is a paid app, is there any free alternative ?
Probably just look for a root compatible shell application and run the commands every time manually.
Works great. Thx!!
Hello i finally found tasker and begin this tutotrial but i have an issue at the task 2 "mkdir /mnt/switch-sd" when i launch the task tester in tasker.
I confirmed Root & Global Namespace are activated.
Any idea ?
For those that don't want to pay for/use Tasker, you can run a script in Terminal instead.
Creating a script file in Android OS:
In X-plore (or use what ever file manger you want), go to Internal shared storage "/sdcard". Make sure you are on the root of the sdcard.
In the middle option pane touch "New text file" and a file namer will pop up. Save name as "switchsd.sh" (without the quotations).
Enter the following:
#!/system/bin/sh
mkdir /mnt/switch_sd
chmod 777 /mnt/switch_sd
mount -o bind /dev/block/mmcblk0p1 /mnt/switch_sd
mount -o remount,rw /dev/block/mmcblk0p1 /mnt/switch_sd
echo "Fat32 mounted"
Hit save in the upper right and exit app. (This will be the script file)
Go to the built in LineageOS Terminal emulator and type the following commands.
su
mount -o rw,remount /system
cp sdcard/switchsd.sh /system/bin/switchsd
chmod 555 /system/bin/switchsd
This moves the file to your system/bins folder so you can easily run the script without entering a path.
Now in Terminal emulator run the script by typing, "su" to change user. Then type "switchsd" to run the script, wait a sec and it should now say "Fat32 mounted".
Walla! Enjoy. Do this every time you boot into Android.
Credit:
https://www.pctips4u.com/2016/03/writing-shell-scripts-in-android.html
Karcus said:
Go to the built in LineageOS Terminal emulator and type the following commands.
su
mount -o rw,remount /system
cp sdcard/switchsd.sh /system/bin/switchsd
chmod 555 /system/bin/switchsd
Click to expand...
Click to collapse
It sounds great but i didn't find any LineageOS Terminal emulator in SwitchRoot
keriam said:
It sounds great but i didn't find any LineageOS Terminal emulator in SwitchRoot
Click to expand...
Click to collapse
LineageOS by default does not enable the Terminal app.
If you haven't already, enable developer options.
Then, if you go into the Settings app and search for 'terminal', there will be a "Local terminal" option which says "Enable terminal app that offers local shell access".
However, by many accounts the built-in terminal app is awful, so you may prefer to use another terminal app from the Play Store. (I use this one, but Termux looks like a more popular option lately.)
Hello and thank you for the helpful information.
I found a solution to automatically mount the partition on startup. I use the App App2SdPro. Whit this app you can start a Script as su on boot. Works great for me and the App is free.
Personally I just let XPosedEdge run this script on each keyguard unlock.
init.d might also work.
Great job on this finding!
Forgive me if I'm wrong, but if you're rooted, isn't the SD already accessible from /mnt/vendor/factory ?
urherenow said:
Forgive me if I'm wrong, but if you're rooted, isn't the SD already accessible from /mnt/vendor/factory ?
Click to expand...
Click to collapse
This path may be just added from Android 10 build? This old topic should talking about the past year build?
Has anyone tried doing this on the official new release to mount the partition at a user-accessible location?
urherenow said:
Forgive me if I'm wrong, but if you're rooted, isn't the SD already accessible from /mnt/vendor/factory ?
Click to expand...
Click to collapse
Might not be relevant to this thread but thank you for posting anyway. I didn't know this path existed for Android 10, it makes this process much easier!

How to backup apps INCLUDING their respective data?

Is it really possible that the build in backup function of our phone DOES NOT backup the app data, only the APKs or am I missing here something?
I just bought this phone new, logged into my Google account and was already wondering why Google didn't restore all my apps automatically. Was annoyed but continued to install everything manually again. Took me 3 days...
Now that I'm done I wanted to create immediately a backup just in case and was shocked when I saw this screen.
{
"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"
}
Using ADB ( Android Debug Bridge ), you can easily backup apps and app data as a single file to your computer with just a single line of command. Once backed up, you can restore that backup file as and when needed to get back all your apps and their data.
jwoegerbauer said:
Using ADB ( Android Debug Bridge ), you can easily backup apps and app data as a single file to your computer with just a single line of command. Once backed up, you can restore that backup file as and when needed to get back all your apps and their data.
Click to expand...
Click to collapse
Thank you for your fast reply. I have seen many phones though, including my latest one, a Huawei mate 9, that had the option of backing up app data. I know that you need root access for that, so no external backup apps can do that without root, but the installed system apps of every phone obviously do have root access. Further I have found online a screenshot of that same page where it said APPS WITH DATA. It was for a previous model though.
Anyway, as you have been so kind of answering, maybe you can quickly teach me how to use ADB on this device?
Last time I used ADB commands was when I had my Nexus 4 and that is long time ago, so I forgot everything...
Thank you very much
1. Install ADB on your Windows PC: you may use this installer to accomplish this.
2. You on your phone enable USB-Debugging, if not done yet.
3. When Windows PC and phone got restarted after the 2 steps listed above are done then
Connect phone and Windows PC via USB-cable that came with your phone
On Windows PC open command prompt and enter this sequence of commands
Code:
mkdir %TEMP%\PHONE-BACKUPS 2>nul >nul
adb devices
adb backup -f %TEMP%\PHONE-BACKUPS\all-%DATE%.ab -all -apk -obb -nosystem
4. The created backup ( .AB-file ) is to be found in Windows PC's %TEMP%\PHONE-BACKUPS directory
Code:
cd %TEMP%\PHONE-BACKUPS
dir /B *.ab
jwoegerbauer said:
1. Install ADB on your Windows PC: you may use this installer to accomplish this.
2. You on your phone enable USB-Debugging, if not done yet.
3. When Windows PC and phone got restarted after the 2 steps listed above are done then
Connect phone and Windows PC via USB-cable that came with your phone
On Windows PC open command prompt and enter this sequence of commands
Code:
mkdir %TEMP%\PHONE-BACKUPS 2>nul >nul
adb devices
adb backup -f -all -apk -obb -nosystem %TEMP%\PHONE-BACKUPS\%DATE%
4. The created backup ( .AB-file ) is to be found in Windows PC's %TEMP%\PHONE-BACKUPS directory
Code:
cd %TEMP%\PHONE-BACKUPS
dir /B *.ab
Click to expand...
Click to collapse
Thank you very much!!
Is there by chance also another way how to backup all apps with data but not into one single file? That way I could restore only the apps I need and not the whole system
Would require a Windows batch script like this draft
Code:
@ echo off & setlocal ENABLEDELAYEDEXPANSION
pushd "%~dp0"
adb devices
for /f "tokens=*" %%a in ('adb shell "pm list packages -e --user 0 "') do (
set "pkg=%%a"
if NOT [!pkg!]==[] (
set "pkg=!pkg:package:=!"
adb backup -f %TEMP%\PHONE-BACKUPS\!pkg!.ab -all -apk -obb !pkg!
)
)
popd
endlocal & exit
what backs up all installed apps and their data one by one.
FYI: Haven't tested it, it's on you to fix bugs.
jwoegerbauer said:
Would require a Windows batch script like this draft
Code:
@ echo off & setlocal ENABLEDELAYEDEXPANSION
pushd "%~dp0"
adb devices
for /f "tokens=*" %%a in ('adb shell "pm list packages -e --user 0 "') do (
set "pkg=%%a"
if NOT [!pkg!]==[] (
set "pkg=!pkg:package:=!"
adb backup -f %TEMP%\PHONE-BACKUPS\!pkg!.ab -all -apk -obb !pkg!
)
)
popd
endlocal & exit
what backs up all installed apps and their data one by one.
FYI: Haven't tested it, it's on you to fix bugs.
Click to expand...
Click to collapse
Wow, you're amazing. Thank you. I will try it out later

How To Guide How to give any app WRITE_SECURE_SETTINGS without a computer or root

DISCLAIMER: This guide works on any phone with Android 11 or newer. Previous versions do not have wireless debugging so this is not possible.
Hey all! In this short guide, I will be showing you how to give any app the permission "WRITE_SECURE_SETTINGS" without needing to connect to a computer.
For this guide, I will be using System UI Tuner by Zachary Wander as my example app.
First, download and install Shizuku. This is a wonderful app that allows system API access directly without needing to root your phone.
Once you've installed Shizuku, follow the steps to start it through the wireless debugging method. You will only need to pair once as long as you don't reinstall the app.
DISCLAIMER: Shizuku will need to be restarted if you restart your phone but it's just a matter of re-enabling wireless debugging and then clicking "Start" in the Shizuku app.
Next, we're going to install Termux by Fredrik Fornwall. Simply open the app once, wait for it to finish installing, then leave the app.
Now, re-enter Shizuku, and click the button that says "Use Shizuku in terminal apps".
{
"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"
}
Then click "Export files".
Afterwards, make a new folder, and call it "Shizuku".
Finally, click "Use this folder".
Almost there!
Head over to Termux, and type:
Code:
pkg install nano
This installs a text editor that we will use to edit our Shizuku config file.
While it's installing, go to Termux's app info, and change the permissions to allow it access to all files. This will allow it to see the folder we made earlier.
Go back to Termux, and after nano is done installing, type the following:
Code:
cd /sdcard/Shizuku
nano shizuku
Once inside the text editor, press the CTRL key on Termux's key bar, and press the "\" key on your keyboard.
Now, type "PKG", press Enter, then in the next field, type "com.termux".
Now, tap "a", tap Ctrl+X, tap "y", and you're done!
Whenever you want to authorize an app with "WRITE_SECURE_SETTINGS" simply open Termux, cd to "/sdcard/Shizuku", and type:
Code:
sh shizuku pm grant <package name here> android.permission.WRITE_SECURE_SETTINGS
You will only have to do this once per app as long as you do not uninstall it.
Have fun!
So this broke my brain just a bit (it's been one of those days) however if I am reading it correctly this will give some apps a pseudo root.
alarmdude9 said:
So this broke my brain just a bit (it's been one of those days) however if I am reading it correctly this will give some apps a pseudo root.
Click to expand...
Click to collapse
Sort of, it's the highest permission you can give an app without rooting your phone.
Does it allow you to say debloat the phone or things like that?
alarmdude9 said:
Does it allow you to say debloat the phone or things like that?
Click to expand...
Click to collapse
I'm not sure I haven't tested it that far but you can access all app data folders with it so maybe?
alarmdude9 said:
Does it allow you to say debloat the phone or things like that?
Click to expand...
Click to collapse
I'm not sure I haven't tested it that far but you can access all app data folders
Hmmm have to get some time to try this. Adulting sucks.
Hello, so I'm stuck on the /sdcard/
I dont have one is just on internal storage Shizuku folder... How do im supposed to type it
Does Shizuku still work with the N200 after the November update?
I was able to get everything setup to the last step where I grant packages write permissions, but every package I name returns 'pm: no such file or directory'.
If I use Termux to try to navigate to /SD card/Android/data i get 'cannot open directory: permission denied'. I'm wondering if Termux can even access the apps to give them elevated permissions?
Finnzz said:
Does Shizuku still work with the N200 after the November update?
I was able to get everything setup to the last step where I grant packages write permissions, but every package I name returns 'pm: no such file or directory'.
If I use Termux to try to navigate to /SD card/Android/data i get 'cannot open directory: permission denied'. I'm wondering if Termux can even access the apps to give them elevated permissions?
Click to expand...
Click to collapse
I have same error

Categories

Resources