[GUIDE] Viper4Android Driver Installation Error Fixed on A11/12/12.1 AOSP/OOS/COS ROMs - OnePlus 8 / 8 Pro & 8T Cross Device Themes, Apps &

1. Method
2. Method
Use Latest Unofficial Magisk Delta (if only 3. method didn't work.) and continue with 3. Step.
3. Method
Found this thread.
First install V4A apk, let it install the module and reboot once and then, basically copy these commands;
Code:
#!/system/bin/sh
# Kill audioserver PID if it was initialized already
SERVERPID=$(pidof audioserver)
[ "$SERVERPID" ] && kill $SERVERPID
mount -o bind /vendor/etc/audio_effects.xml /odm/etc/audio_effects.xml
magiskpolicy --live 'allow audioserver audioserver_tmpfs file { read write execute }'
magiskpolicy --live 'allow audioserver system_file file { execmod }'
magiskpolicy --live 'allow mediaserver mediaserver_tmpfs file { read write execute }'
magiskpolicy --live 'allow mediaserver system_file file { execmod }'
magiskpolicy --live 'allow audioserver unlabeled file { read write execute open getattr }'
magiskpolicy --live 'allow hal_audio_default hal_audio_default process { execmem }'
magiskpolicy --live 'allow hal_audio_default hal_audio_default_tmpfs file { execute }'
magiskpolicy --live 'allow hal_audio_default audio_data_file dir { search }'
magiskpolicy --live 'allow app app_data_file file { execute_no_trans }'
magiskpolicy --live 'allow mtk_hal_audio mtk_hal_audio_tmpfs file { execute }'
Into the file in "/data/adb/modules/ViPER4AndroidFX/post-fs-data.sh" and then reboot. Your V4A driver will start working, enjoy!
{
"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"
}
Make sure to install AML if you are using other sound mods. Also here is another guide based on AML post fs file.

I followed these steps but it didn't work, it keeps asking me to install the V4A driver every time I enter the App. Did I do something wrong?
Can you help me? It's too bad not to use V4A

thibassinger said:
I followed these steps but it didn't work, it keeps asking me to install the V4A driver every time I enter the App. Did I do something wrong?
Can you help me? It's too bad not to use V4A
Click to expand...
Click to collapse
Replace your file with this and reboot. It works fine for me

gsser said:
Replace your file with this and reboot. It works fine for me
Click to expand...
Click to collapse
It worked here! Thank you

thibassinger said:
It worked here! Thank you
Click to expand...
Click to collapse
It was due to xda messing up while importing codes. Edited it back, should work fine as it is same with the sh file now

Well if you find out a method for oos 12.1 then i will be grateful because this was working on oos 12 but they changed the locations of the files to this in oos 12.1
/odm/etc/audio_effects.xml and
/vendor/odm/etc/audio_effects.xml
If you have any ideas how to fix this driver loop on oos 12.1 then I'm all ears OnePlus 10 pro needs viper4android

Has anyone managed to install V4A on a A12 Custom ROM?

Extreme_Ninja2099 said:
Has anyone managed to install V4A on a A12 Custom ROM?
Click to expand...
Click to collapse
It works if you do it right...

HessNL said:
Well if you find out a method for oos 12.1 then i will be grateful because this was working on oos 12 but they changed the locations of the files to this in oos 12.1
/odm/etc/audio_effects.xml and
/vendor/odm/etc/audio_effects.xml
If you have any ideas how to fix this driver loop on oos 12.1 then I'm all ears OnePlus 10 pro needs viper4android
Click to expand...
Click to collapse
Then you only need to change them to new path

Thanks. I confirm it is working with evo a12 rom.

gsser said:
Then you only need to change them to new path
Click to expand...
Click to collapse
I already tried it but it doesn't seem to work

HessNL said:
I already tried it but it doesn't seem to work
Click to expand...
Click to collapse
just updated to 12.1 today, i'll let you know if i find a way to fix it

gsser said:
just updated to 12.1 today, i'll let you know if i find a way to fix it
Click to expand...
Click to collapse
also on 12.1 but first time in years not able to install driver properly
curious what you gonna find out

Not working for me oxygenos 12 oneplus 10 Pro still drivers not installed

If anyone having issues with v4a on latest oos
Try this
Extract the content and replace the original one. And ser proper permissions.
I had severe issues getting it to work. So I'm not sure if the odm File was the issue or if the modified system/etc config File solved it. I just edited the original odm/etc and added v4a info same with system/etc files.
The above mod didn't help fully so hope this help
Just noticed i used my broken file in /vendor/ linked to odm/etc which don't include the uuid so it seems to be the system/etc that's needed

ko_hi said:
If anyone having issues with v4a on latest oos
Try this
Extract the content and replace the original one. And ser proper permissions.
I had severe issues getting it to work. So I'm not sure if the odm File was the issue or if the modified system/etc config File solved it. I just edited the original odm/etc and added v4a info same with system/etc files.
The above mod didn't help fully so hope this help
Just noticed i used my broken file in /vendor/ linked to odm/etc which don't include the uuid so it seems to be the system/etc that's needed
Click to expand...
Click to collapse
You saved me tysm I was struggling to install v4a on my gt neo 2 because every time I rebooted I got the "no driver found" message and now it's working !!

IgnisGuardian said:
You saved me tysm I was struggling to install v4a on my gt neo 2 because every time I rebooted I got the "no driver found" message and now it's working !!
Click to expand...
Click to collapse
Yes i might fix a zip for this

Here's a magisk module repack
Just install the APK and flash this zip after don't let the APK install the driver it'll fail!
Flash this after installing app or before
It'll work without any hassle!
Enjoy!

IgnisGuardian said:
You saved me tysm I was struggling to install v4a on my gt neo 2 because every time I rebooted I got the "no driver found" message and now it's working !!
Click to expand...
Click to collapse
Yes OOS had this issue too.
But after *ODM* Fix it was installed but didn't work until you enabled legacy mode.
And even then it would just stop the service after 10 seconds.
I've tested several method but only this worked for me.
But at least it works! (For now) until things are changed again

Okay so I know this is OOS thread but has anyone tried this on MIUI 13?!
Edit: Will try this soon and report back.

Related

[PORT/MOD] SmartActions app Port 12/13/12 v0.2.4

The very first Smart Actions Port v0.1.2(12/13/12)
Ported from Droid Razr MAXX VRZ_XT912_6.7.2-180_DHD-16_M4-31_1FF
Requires ICS
Has not been tested on JB. (Should work)
All rooted devices should work.
Miui doesn't seem to work, you can try it
{
"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"
}
Install:
1. Download Here
2. Do a nandroid backup
3. Extract and run bat file in windows
4. Enjoy
Alternate method:
1. Open command prompt
2. Do a Nandroid backup
3. Extract zip
4. In Command Prompt explore to adb location and type:
Code:
adb remount
5. Then:
Code:
adb push [drag and drop system folder from extraction location] /system
ex.: adb push C:\Users\Joe-Acer\Desktop\SmartActions\bin\system /system
6. Reboot
Code:
adb reboot
Do not update from market, WILL BREAK IT
Known Bugs, Not working:
1. Location conditions
Code:
Change log:
v0.1.0:
Initial Release
v0.2.3
Released to Public
v0.2.4:
Fixed wallpaper (Only limited to RAZR wallpapers)
Added:
homescreen
LiveWallpapers.apk
MagicSmokeWallpapers.apk
NetworkLocation.apk
SocialShare.apk (not tested, more like public test)
How to use SmartActions:
PM me questions
If you want to integrate this into your rom be sure to PM and credit me.
Hmm what's this?
(First...)
from my E3D
tatnai said:
Hmm what's this?
(First...)
from my E3D
Click to expand...
Click to collapse
Heard of tasker, like that but more reliable, in my opinion anyway
How do I install this from my phone...
donbudafuko said:
How do I install this from my phone...
Click to expand...
Click to collapse
copy the files from bin/system to /system... need a root file explorer to copy the files... then reboot
Would it be possible to get some screenies?
Sent from my PG86100 using Tapatalk 2
Many people don't understand this.
Would be great if you do a "How To" w/Review video.
That would be great.
Looks very interesting thanks for this
Sent from my PG86100 using Tapatalk 2
joekp said:
copy the files from bin/system to /system... need a root file explorer to copy the files... then reboot
Click to expand...
Click to collapse
What root explorer do you use? I tried Astro and it did not let me write the files to the directories, gave me errors every time, and when I tried individually it said could not write also.... Going to look for another root explorer
Redneckhightech said:
What root explorer do you use? I tried Astro and it did not let me write the files to the directories, gave me errors every time, and when I tried individually it said could not write also.... Going to look for another root explorer
Click to expand...
Click to collapse
Esfilexplorer and go to settings and check all three checkmarks under root
joekp said:
Esfilexplorer and go to settings and check all three checkmarks under root
Click to expand...
Click to collapse
You may need to make sure that the permissions are set right. ES will change them. Just long press the files, go to properties, then change the permissions.
So we copy each of the files in the /system directory of the smartactions folders into their respective folders in the phones /system?
for instance there is a folder for the app, all of those files go into the /system/app folder of our phones?? etc...
Roxxas049 said:
So we copy each of the files in the /system directory of the smartactions folders into their respective folders in the phones /system?
for instance there is a folder for the app, all of those files go into the /system/app folder of our phones?? etc...
Click to expand...
Click to collapse
Yes
As soon as I set up a rule it force closes, and then continues to do so each time. I'm using a standard PA JB rom.
Roxxas049 said:
As soon as I set up a rule it force closes, and then continues to do so each time. I'm using a standard PA JB rom.
Click to expand...
Click to collapse
OP clearly states "requires ICS".
ZWYATT said:
OP clearly states "requires ICS".
Click to expand...
Click to collapse
To be fair, it also says "Has not been tested on JB. (Should work)".
ramjet73
ZWYATT said:
OP clearly states "requires ICS".
Click to expand...
Click to collapse
Check the play store for update
Roxxas049 said:
As soon as I set up a rule it force closes, and then continues to do so each time. I'm using a standard PA JB rom.
Click to expand...
Click to collapse
Check the play store for update might fix it
Update worked for me... No fc so far
there is another app in the play store that basically operates the same way. https://play.google.com/store/apps/details?id=AutomateIt.mainPackage&feature=search_result#?t=W251bGwsMSwxLDEsIkF1dG9tYXRlSXQubWFpblBhY2thZ2UiXQ.. its called automateit. Good job with the port.

Convert from "S Health" to GPX (v1.1 2015.10.16)

Hi!
1) Pull from phone file /opt/usr/apps/com.samsung.shealth/data/.shealth.db
2) Open this file in SQLiteStudio
3) Open editor (Alt+E)
4) Add in editor the following:
Code:
select exerciseId, datetime(substr(startTimeStamp,1,10), 'unixepoch') as startTime from shealth_exercise_history order by startTimeStamp;
Select all (Crtl+A) and execute (F9).
You'll see all your trainings. Remember the value "exerciseId" of the desired training. For example "5".
5) Replace the contents of the editor by doing the following:
Code:
select '<?xml version="1.0" encoding="UTF-8" standalone="no" ?><gpx xmlns="http://www.topografix.com/GPX/1/1" xmlns:gpxx="http://www.garmin.com/xmlschemas/GpxExtensions/v3" xmlns:gpxtrkx="http://www.garmin.com/xmlschemas/TrackStatsExtension/v1" xmlns:wptx1="http://www.garmin.com/xmlschemas/WaypointExtension/v1" xmlns:gpxtpx="http://www.garmin.com/xmlschemas/TrackPointExtension/v1" xmlns:gpxpx="http://www.garmin.com/xmlschemas/PowerExtension/v1" creator="Samsung Gear S with Barometer" version="1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd http://www.garmin.com/xmlschemas/GpxExtensions/v3 http://www8.garmin.com/xmlschemas/GpxExtensionsv3.xsd http://www.garmin.com/xmlschemas/TrackStatsExtension/v1 http://www8.garmin.com/xmlschemas/TrackStatsExtension.xsd http://www.garmin.com/xmlschemas/WaypointExtension/v1 http://www8.garmin.com/xmlschemas/WaypointExtensionv1.xsd http://www.garmin.com/xmlschemas/TrackPointExtension/v1 http://www.garmin.com/xmlschemas/TrackPointExtensionv1.xsd http://www.garmin.com/xmlschemas/PowerExtension/v1 http://www.garmin.com/xmlschemas/PowerExtensionv1.xsd"><metadata><link href="http://www.index3.ru"><text>iNDEX3</text></link><time>'||strftime('%Y-%m-%dT%H:%M:%SZ', datetime(substr(gh.startTimeStamp,1,10), 'unixepoch'))||'</time></metadata><trk><name>'||datetime(substr(gh.startTimeStamp,1,10), 'unixepoch')||' Auto</name><extensions><gpxx:TrackExtension><gpxx:DisplayColor>Cyan</gpxx:DisplayColor></gpxx:TrackExtension></extensions><trkseg>' as gps
from shealth_exercise_history gh where gh.exerciseId=XX
union all
select
'<trkpt lat="'||g.latitude||'" lon="'||g.longitude||'"><ele>'||g.altitude||'</ele><time>'||strftime('%Y-%m-%dT%H:%M:%SZ', datetime(substr(g.timeStamp,1,10), 'unixepoch'))||'</time><extensions><gpxtpx:TrackPointExtension><gpxtpx:hr>'||h.heartrate||'</gpxtpx:hr></gpxtpx:TrackPointExtension></extensions></trkpt>' as gpx
from shealth_exercise_gps_info g
left join (
select gt.timeStamp as g_timeStamp
, (select max(ht.timeStamp) from shealth_exercise_hrm_logging ht where ht.timeStamp<=gt.timeStamp and ht.exerciseId=gt.exerciseId) as h_timeStamp
, gt.exerciseId
from shealth_exercise_gps_info gt
) tsm on tsm.g_timeStamp=g.timeStamp and tsm.exerciseId=g.exerciseId
left join shealth_exercise_hrm_logging h on h.timeStamp=tsm.h_timeStamp
where g.latitude <> 200 and g.exerciseId=XX
union all
select '</trkseg></trk></gpx>';
Find in text "exerciseId=XX" and replace to value ("XX") to the value of your exerciseId ("5").
Select all (Crtl+A) and execute (F9).
6) Save result in txt file with extension ".gpx".
Enjoy
I have collected all scripts into one package:
{
"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"
}
1) Unzip and run "0.start.bat"
2) Enjoy x2
Update:
v1.1 Added option "Save all trainings"
[DOWNLOAD v1.1]
iNDEX3 said:
Hi!
1) Pull from phone file /opt/usr/apps/com.samsung.shealth/data/.shealth.db
2) Open this file in SQLiteStudio
3) Open editor (Alt+E)
4) Add in editor the following:
Code:
select exerciseId, datetime(substr(startTimeStamp,1,10), 'unixepoch') as startTime from shealth_exercise_history order by startTimeStamp;
....
Click to expand...
Click to collapse
Dear iNDEX3,
Would you mind explaining what GPX does, what are the benefits in comparing with S Health...etc.
--------------
PS: I'm a huge fan of 4pda.ru, although I know just a little Russian (enough to read the captcha when login, lol). I see that you guys have this cool tool called 'RogersTools' - allowing us to backup Gear S, but I don't understand it well (due to my limited understanding of Russian).
Would you guys mind sharing this awesome tools to us here at XDA? :good::good::good:
This is very interesting. Thanks for sharing.
hadobac said:
Would you mind explaining what GPX does, what are the benefits in comparing with S
Click to expand...
Click to collapse
For example, I load my tracks in strava. This is the first time.
hadobac said:
Would you guys mind sharing this awesome tools to us here at XDA?
Click to expand...
Click to collapse
I conveyed the request of the developer RogersTool
iNDEX3 said:
I conveyed the request of the developer RogersTool
Click to expand...
Click to collapse
Thanks bro. Way to go!
Also, is running this tool here as easy as ClockWorkMod, or TitaniumBackup?
hadobac said:
Also, is running this tool here as easy as ClockWorkMod, or TitaniumBackup?
Click to expand...
Click to collapse
Yes, it is very easy to use and reliable application. All actions are done in one click.
It pull .shealth.db file from the phone.
Instead, you can use commands SDB (Smart Development Bridge):
Code:
>sdb root on
>sdb pull /opt/usr/apps/com.samsung.shealth/data/.shealth.db
iNDEX3 said:
Yes, it is very easy to use and reliable application. All actions are done in one click.
It pull .shealth.db file from the phone.
Click to expand...
Click to collapse
The question was about the BACKUP, RESTORE (not only) for smart HOURS SAMSUNG GEAR S WITH ROOT FIRMWARE.
Shum Channel said:
The question was about the BACKUP, RESTORE (not only) for smart HOURS SAMSUNG GEAR S WITH ROOT FIRMWARE.
Click to expand...
Click to collapse
I did not understand the question
But I use this utility for backup. And it's brilliant!
Add package in the first post
how to use the script
Hi,
is there any way to get .shealth.db from the phone? I don't want to root the watch.
Sorry, i don't know how to get .shealth.db from the phone without root
.shealth.db file
Hello,
I have rooted note2 phone with root explorer, but cannot find .shealth.db file.
There is no directory: /opt/usr/apps/com.samsung.shealth/data/.shealth.db
I found /Android/data/com.sec.android.app.shealth/files but there is no database file.
Where can I find it on Kitkat 4.4.2?

[Mod]ViPER4Android+sound settings+disable DTS Asus Rog Phone 2 Android 10

{
"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"
}
*** Disclaimer ***
These modifications use root access privileges to modify the system files, you must use it at your
own risk you are the only responsible.
Requirements:
- Root Access
- Android 10
- Stock Firmware and Kernel
- compilation required 17.0240.2007.27
- a file manager with root access (Root Explorer)
- Terminal Android
Installation process:
- You need to download this file and you need to unzip it
step 1
- you will see the following folders
- inside the folder 01 ViPER4Android System-app another folder comes that you must move to the path /system/app
- the folder must be given permission 0755 and the application permission 0644
step 2
warning: installing these settings permanently disable the DTS equalizer
- inside the folder 02 Mod Audio System Asus There are several files including a custom installer so you can do it quickly, these files should be
moved to the path /data/local/tmp
- now change the permissions of the installer_audio.sh file to 0755
- open your terminal and grant root permissions and type the following command
Code:
sh /data/local/tmp/installer_audio.sh
- just enter to run the script
- select option 1 for installation
- Once the installation is finished, you must close the terminal and turn off and on your device
step 3
- Now open your application it will ask you to install the driver click on accept
-then it asks for root permissions, gives it to accept and automatically the phone reboots
- After the restart open the application again and it is activated now, it only remains to install a module
step 3
- go to magisk manager in settings and select the modules option
- in the folder 03 Module magisk Audio library this is the module oh although they prefer it they can
download it from the repository
- they just need to flash it
- to finish they must give you restart and wait for your device to start
step 4
to enable the equalizer you must activate the master limit and with that it would be activated and enjoy your new audio
system that I made for you.
- in magisk modules it should look like this if you have any problem with the audio just delete the Audio Modification Library file
- and you just have to restart and go
Faqs:
Does it work on a different compilation than Android 10?
R= I would need to test yourself since I don't have that compilation on my device
/17.0235.2004.1/17.0230.2004.60/17.0230.2002.32/17.0225.2001.13'
Works on tencent and republic variants
R= Yes
support telegram support [ES]
support telegram support [IN]
so, let's say if we wanna restore the original dts audio wizard, is there any way to revert the process?
dvijetrecine said:
so, let's say if we wanna restore the original dts audio wizard, is there any way to revert the process?
Click to expand...
Click to collapse
Of course, you only need to make a backup of the files that are going to be replaced, you can see within the installer files which files are the ones you need to backup
kaiiori said:
Of course, you only need to make a backup of the files that are going to be replaced, you can see within the installer files which files are the ones you need to backup
Click to expand...
Click to collapse
there are a few dozen files that need to be backed up.
it would be easier for everyone if you made the backup option in the installer.
also, it doesn't install. says that files are not found.
this seems like a great mod but i would like to know if this will work on kirisakura kernel , i don't want to revert to stock kernel just to ejoy this mod while losing out better functionality of the kernel than stock.
applets not found and no such file or directory...
how fix it?
After installation, I get update notification in Magisk. Can I make update

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

Themes / Apps / Mods [Close].Treble GSIs overlay

Overlay uses with all GSI ​
...and what does this solve? What is the purpose of this? I don't see this answered in the first post.
nirogu325 said:
...and what does this solve? What is the purpose of this? I don't see this answered in the first post.
Click to expand...
Click to collapse
Fixed
tom.android said:
Fixed
Click to expand...
Click to collapse
That's actually great info. How do I get the SM-T220 files so I can do the same for the T220?
nirogu325 said:
That's actually great info. How do I get the SM-T220 files so I can do the same for the T220?
Click to expand...
Click to collapse
Extract from stock ( system.img) AP file
Copy to linux
(/system/framework/framework-res.apk )​
tom.android said:
Extract from stock ( system.img) AP file
Copy to linux
(/system/framework/framework-res.apk )​
Click to expand...
Click to collapse
Attached is the T220's framework extracted from the AVE1 firmware. The rest of the instructions are...kinda advanced for me. Although the only difference between the T220 and T225 is SIM card capabilities so perhaps your file also works for the T220. I shall test in a moment.
Edit: Tested your file and my T220 does not boot.
Edit #2: Also uploaded the vendor file called framework-res__auto_generated_rro_vendor.
nirogu325 said:
Attached is the T220's framework extracted from the AVE1 firmware. The rest of the instructions are...kinda advanced for me. Although the only difference between the T220 and T225 is SIM card capabilities so perhaps your file also works for the T220. I shall test in a moment.
Edit: Tested your file and my T220 does not boot.
Edit #2: Also uploaded the vendor file called framework-res__auto_generated_rro_vendor.
Click to expand...
Click to collapse
Will try to patch your framework.
tom.android said:
Will try to patch your framework.
Click to expand...
Click to collapse
I managed to compile one but the ROM gets stuck at the boot screen. I'm using CherishOS, one that says secure. Maybe that's why it bootloops when something is modified?
nirogu325 said:
I managed to compile one but the ROM gets stuck at the boot screen. I'm using CherishOS, one that says secure. Maybe that's why it bootloops when something is modified?
Click to expand...
Click to collapse
Try
CherishOS_v415-arm64-bgS-lite_20220816.img.xz
1.16GB
tom.android said:
Try
CherishOS_v415-arm64-bgS-lite_20220816.img.xz
1.16GB
Click to expand...
Click to collapse
I'm on
CherishOS_v415-arm64-bgS_20220816.img.xz
1.21GB
But not yet success (autobringthness slide shown up with not auto adjustment ).
tom.android said:
Try
CherishOS_v415-arm64-bgS-lite_20220816.img.xz
1.16GB
Click to expand...
Click to collapse
Yes, that's the one I've just flashed and same result. ROM does not finish booting.
nirogu325 said:
Yes, that's the one I've just flashed and same result. ROM does not finish booting.
Click to expand...
Click to collapse
Oh forgot to tell you , can't changes framework
{
"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"
}
tom.android said:
Oh forgot to tell you , can't changes framework
Click to expand...
Click to collapse
I see. Well, I tried. Right now I'm modifying a script to remove the file cuz I don't want to reflash the ROM.
Howto easy create home shotcut.
MOVE ICON TO HOMESCREEN from App Drawer.
2.1 Disable locked layout
2.2 Enable Suggestion on Home screen
Delete
Auto ScreenBrightness working now. @niroku325
Tested your new file on my T220 and can confirm Auto Brightness is now working!
Could you do them for 225N
Attached framework res ,
Thanks for doing or not doing(thanks your old posts)
Civil123y said:
Could you do them for 225N
Attached framework res ,
Thanks for doing or not doing(thanks your old posts)
Click to expand...
Click to collapse
On your device, in adb or Termux app use this command: getprop ro.vendor.build.fingerprint
and tell me
tom.android said:
On your device, in adb or Termux app use this command: getprop ro.vendor.build.fingerprint
and tell me
Click to expand...
Click to collapse
I was about to ask you about the fingerprint you used for the T220 files. For the A12 file, did you use the following one?
Code:
ro.system.build.fingerprint=samsung/gta7litewifixx/gta7litewifi:12/SP1A.210812.016/T220XXU1BVGB:user/release-keys

Categories

Resources