Switchroot Android - How to mount FAT32 partition in Android (Easy) - Nintendo Switch News, Guides, Discussion , Develop

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!

Related

IGO for Tattoo ?

I'm looking for IGO bun resolution on Tattoo is too low 240x320 and the application don't work properly. Is there IGO with properly resolution for Tattoo ?
best place to ask if you are a member is on ppcwarez.org as they alter screen resolutions to suit different hardware.
sygic is working on tattoo
CoPilot is also working on Tattoo. I tried Sygic, but I had some weird behaviour on the screen, so I decided to uninstall. Copilot has been working excellent; feels solid.
iGO works too,
see here:
http://forum.xda-developers.com/showpost.php?p=5742951&postcount=55
Hello,
Can you help me with my Igo because i'm a newbie and english is not my mother language, so i did not understand how to make my igo to work.
Thank's in advance.
i have windows 7 os and i've rooted my mobile and downloaded the data.gro too.
I've installed the iGo to my tattoo and killed it. Now how to run the commands in the cmd window? Can anyone here help me please?
djhancks said:
... Now how to run the commands in the cmd window? Can anyone here help me please?
Click to expand...
Click to collapse
I will help you my Greek brother
First, download Android SDK, from here. Unpack/unzip to your folder of choice.
Fire up CMD, and navigate to folder where you just unzipped Android SDK, and to subfolder „tools“. Eg:
Code:
cd C:\android-sdk\tools
Now, you just follow instruction you can find in that topic about iGO, like this:
Code:
adb.exe push C:\path\to\data.gro /data/local/bin/
adb.exe shell
$ su
# mv /data/local/bin/data.gro /data/data/com.navngo.igo.javaclient
Please note, you don't type the „$“ and „#“ signs, it's just what console looks like.
thanks a lot my greek brother, i owe you much
add me on msn so we can chat boy
can we replace data.gro without rooting the mobile manually? :/
You need root to access the directory, where the file is saved. Without root you'll just get "permission denied"
ok guys, i rooted my cellphone and tried to apply data.gro to the folder it's needed...
I reached this part
"# mv /data/local/bin/data.gro /data/data/com.navngo.igo.javaclient"
but then nothing happened... i started iGo but resolution was big as it was before.. :/
You have to start iGo (that it could create all needed settings folders and files), and then mv /data/local/bin/data.gro /data/data/com.navngo.igo.javaclient/data.gro
NForce25 said:
You have to start iGo (that it could create all needed settings folders and files), and then mv /data/local/bin/data.gro /data/data/com.navngo.igo.javaclient/data.gro
Click to expand...
Click to collapse
i ll start it again over from the beginning
iGo works but still too big..
Hi guys,
I just did what have to be done, and there.. iGo works.. well.. but not properly..
The data.gro here is still too big for Tattoo.. (pix are at the attachment)
Who can reduce this resolution, please? Or how can I edit the data.gro?
Thanks very much ,
Apex
{
"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"
}
it's my second try though i've done nothing...
I install iGo through the HTC Sync program (have ticked uknown sources from settings->apps)
I copy the iGo files into the SD
Open the iGo and see the languages option
kill it with taskkiller..
and fire up cmd
so commands commands commands...
afterh #mv... nothing!
what's wrong? :/
mv doesn't have to write anything out to console, are you sure that iGo doesn't work after that?
NForce25 said:
mv doesn't have to write anything out to console, are you sure that iGo doesn't work after that?
Click to expand...
Click to collapse
yes, when i say nothing there i don't mean that i'm waiting the console to write something. when i start iGO again it goes me to the languages option where i killed it before this whole thing happened with the resolution i don't want to.. the big one..
i also tried to adb reboot after doing the whole process but nothing happened too..
i'm really new to android, like ... i have tattoo for 2 days
so.. i have installed IGO on the device, by the language menu i've killed it, and now in the command window i typed this
C:\android-sdk\tools>adb.exe push c:\tato\data.gro data/local/bin
* daemon not running. starting it now *
* daemon started successfully *
error: device not found
device not found ... do i need a driver for this ?
ok, so i found drivers here
and now i have this:
C:\android-sdk\tools>adb.exe push c:\tato\data.gro data/local/bin
1300 KB/s (6302929 bytes in 4.732s)
C:\android-sdk\tools>adb.exe shell
$ su
su
su: permission denied
$ ^C
permission denied ? what do i have to do to have permission ?
ok, now i'm stuck here :
C:\android-sdk\tools>adb shell "cd /data/local/bin && chmod 755 ./m7
cd: can't cd to /data/local/bin

Nexus one bootscreen for Tattoo

Hi all,
Before you say something I just "ported" a boot screen from Nexus One to Tattoo (this included resizing the picture to our screen res). Here it is:
Nexus One Bootscreen for HTC Tattoo
Here is how you backup your old boot screens and how you set up the new one to be used (u must be root and I also think that Android 2.1 has a different location for these files, but I have only 1.6. If someone know how to do this on 2.1 tell me how and I will update my post!):
1. Unpack the zip file (a new folder named 'boot' should be created)
2.
Code:
adb shell
# cd /system/media/bootscreen
# mkdir /sdcard/bootscreen_backup
# cp /system/media/bootscreen/* /sdcard/bootscreen_backup
# rm *
# exit
3. Now perform
Code:
adb push pathtobootfolder\boot /system/media/bootscreen
That's it. If you're tired of the Nexus Onbe Bootscreen and you want the old one, do:
1. adb shell
Code:
rm /system/media/bootscreen/*
cp /sdcard/bootscreen_backup/* /system/media/bootscreen
Finito!
Have fun!
/Edit1: I have set Audio=0 in the xml-config because I'm tired of the boot sound...
/Edit2: Changed screenX to 0, thanks to coolbits for this
/Edit3: For those guys having problems understanding what to do - look at this post
Thanks for this
Also change:
screenX="0"
to not get empty first 40 pixels of the screen
Working
Good Work, it's all good on my Tattoo
to have this in my tattoo, it has to be rooted?
djhancks said:
to have this in my tattoo, it has to be rooted?
Click to expand...
Click to collapse
Yes! Root is required.
How to do this in Android 2.1? There is no /system/media/bootscreen folder.
aam.. because i'm a newbie here where do i have to unpack those files?
and where should i write those commands?
djhancks said:
aam.. because i'm a newbie here where do i have to unpack those files?
Click to expand...
Click to collapse
My dear fellow Tattoo user, you can unpack the zip file wherever you like, eg. Desktop.
djhancks said:
and where should i write those commands?
Click to expand...
Click to collapse
First, you need to have working connection from PC to your phone trough ADB. Those commands you must type in Terminal i.e. Command Line, like this (this is Terminal in Ubuntu, don't be confused - menu is localized in my native language):
{
"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"
}
thanks a lot m8
i think you should edit your first post and add this for all us newbies to understand
thanks again
dejandekic said:
My dear fellow Tattoo user, you can unpack the zip file wherever you like, eg. Desktop.
First, you need to have working connection from PC to your phone trough ADB. Those commands you must type in Terminal i.e. Command Line, like this (this is Terminal in Ubuntu, don't be confused - menu is localized in my native language):
Click to expand...
Click to collapse
Nice explanation
dejandekic said:
Yes! Root is required.
How to do this in Android 2.1? There is no /system/media/bootscreen folder.
Click to expand...
Click to collapse
Sorry, I don't have Eclair Tattoo build installed (will flash it when FM Radio and Camera are working). I have updated my 1st post with requirements and restrictions...
those commands work on windows cmd ???
sure they do, but you have to be in the same folder with adb.exe and type adb.exe instead of adb
NForce25 said:
sure they do, but you have to be in the same folder with adb.exe and type adb.exe instead of adb
Click to expand...
Click to collapse
thanks m8, i'm a lil' newbie for all that stuff, but thanks to this guide i can manage
to do this
nice bootscreen, biggest win is turning that F***ing sound off
havok123 said:
nice bootscreen, biggest win is turning that F***ing sound off
Click to expand...
Click to collapse
i like this sound
What am I doing wrong?
I've done a similar bootscreen, but I kept the proportions on the logo and it's oriented the right way (top left to bottom right: blue, red, yellow & green).
Also, I kept the green little buddy and its sound but I removed the annoying sound when the htc-logo should appear.
I attached the zip-file which contains everything (boot.gif, boot1.gif, boot2.gif, boot_bg.gif, boot_animation.xml and boot.mp3)
sheik_yerbouti said:
View attachment 319318
What am I doing wrong?
Click to expand...
Click to collapse
Did you remount RW?
worked for me great
same error by mine,
someone tell me how to "Did you remount RW?"
Greets
"adb remount"
in terminal...

[Q] Fix Missing Apps In Android Market

So I recently did 2 things on my Archos 32:
1) Installed the Android Market (link)
2) Did a permanent root on 2.3.26 (link)
Both worked great
My new query:
So Google Voice is missing in the Android Market for me, even when I get the link from Google: There are no matches in the Android Market for the search: pname:com.google.android.apps.googlevoice I'm pretty sure some other apps are missing as well (even after applying the fix in the link)
Is there any way (rooted options included) to get these missing apps in the Android Market? I've read some stuff about a market footprint
Any info would be helpful; thanks!
Take a look at the following thread.
Anyone have a Froyo Archos with full Market Protected App access
The market footprint you're referring to is in post 3. You have to edit the build.prop file and insert the described "footprint" so that the Market thinks your Archos is actually a Galaxy Tab. Word of warning though - even with this, I still couldn't see all apps in the Market. Plus, there have been reports that the Market fix doesn't work as well with the newer 2.3.26 firmware..
fisha21 said:
Take a look at the following thread.
Anyone have a Froyo Archos with full Market Protected App access
The market footprint you're referring to is in post 3. You have to edit the build.prop file and insert the described "footprint" so that the Market thinks your Archos is actually a Galaxy Tab. Word of warning though - even with this, I still couldn't see all apps in the Market. Plus, there have been reports that the Market fix doesn't work as well with the newer 2.3.26 firmware..
Click to expand...
Click to collapse
Thanks! Looks like I'll need to look at build.prop then.
I also tried MarketEnabler but it didn't seem to do anything on my Archos... maybe I was doing something wrong.
I tried going the SDK route to edit build.prop, but I couldn't get it setup; I might try it in Linux (x64) a little later; Windows 7 (x64) didn't get my anywhere
Thanks for the reply! I'll look into it
yellowsnow4free said:
So Google Voice is missing in the Android Market for me
Click to expand...
Click to collapse
Even if you get Google Voice installed, it won't get past the "Change call settings". Or that is what I found. Anyway, over in the Xoom forum they have an edited Voice apk you can install and I am using it.
http://forum.xda-developers.com/showpost.php?p=11955195&postcount=75
fisha21 said:
Take a look at the following thread.
Anyone have a Froyo Archos with full Market Protected App access
The market footprint you're referring to is in post 3. You have to edit the build.prop file and insert the described "footprint" so that the Market thinks your Archos is actually a Galaxy Tab. Word of warning though - even with this, I still couldn't see all apps in the Market. Plus, there have been reports that the Market fix doesn't work as well with the newer 2.3.26 firmware..
Click to expand...
Click to collapse
In my search for a tutorial, I found myself here
I've been able to do all of it, I just need help copying build.prop back over to my system directory. Here's my post from androidforums:
Step 4: Remount your phone's /system directory
Code:
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
This temporarily removes the restrictions on /system
Step 5: Overwrite build.prop
With adb shell open, type:
Code:
mv /sdcard/build.prop /system/build.prop
Click to expand...
Click to collapse
I'm stuck at Step 4. I keep getting a "permission denied" error:
{
"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"
}
In case it helps, I'm running Ubuntu 11.04 x64
Click to expand...
Click to collapse
here try this its much easier:
http://forum.xda-developers.com/showthread.php?p=14864470
yellowsnow4free said:
In my search for a tutorial, I found myself here
I've been able to do all of it, I just need help copying build.prop back over to my system directory. Here's my post from androidforums:
Click to expand...
Click to collapse
You aren't rooting correctly. After you type su and hit enter, the Archos should bring up a Super User request that you have to accept. Once you have rooted correctly, the cursor block will change from $ to #.

[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.

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