I m making xposed module that take settings or parm from preference.xml but my module changed parm in less than SDK 24 but cant change in SDK > 25 coz as we knw make prefs world readable not possible in SDK > 25 please help anyway to make preference.xml readable in above SDK 25
AndroidX said:
I m making xposed module that take settings or parm from preference.xml but my module changed parm in less than SDK 24 but cant change in SDK > 25 coz as we knw make prefs world readable not possible in SDK > 25 please help anyway to make preference.xml readable in above SDK 25
Click to expand...
Click to collapse
Have you found any solution for this ?
ksabri said:
Have you found any solution for this ?
Click to expand...
Click to collapse
yes i found and fix it
AndroidX said:
yes i found and fix it
Click to expand...
Click to collapse
Can you share your solution? I'm meet the same problem as you and I don't know what I need to do next. Thank you a lot.
nthp999 said:
Can you share your solution? I'm meet the same problem as you and I don't know what I need to do next. Thank you a lot.
Click to expand...
Click to collapse
Yah its pretty simple just make your target sdk 23 and it will bypass all selinux security and use MODE_WORLD_READABLE and don't forget to fix preference folder permission
AndroidX said:
Yah its pretty simple just make your target sdk 23 and it will bypass all selinux security and use MODE_WORLD_READABLE and don't forget to set folder preference permission
Click to expand...
Click to collapse
I'm wondering that by changing my target sdk, that means my Xposed module (uses Xsharepreference) cannot run on Android which is > sdk 23, such as sdk 30?
nthp999 said:
I'm wondering that by changing my target sdk, that means my Xposed module (uses Xsharepreference) cannot run on Android which is > sdk 23, such as sdk 30?
Click to expand...
Click to collapse
It will work easily on sdk 30 don't worry about that.
AndroidX said:
It will work easily on sdk 30 don't worry about that
Click to expand...
Click to collapse
Ok, thank you for your support, it works perfectly
Related
Hi,
new game called toonwarz came out and has mutitouch but ony on 2.0 devices is there any way to make the app think i running 2.0 on MoDaCo 3.0 ROM ??
Thanks
stickyasglue said:
Hi,
new game called toonwarz came out and has mutitouch but ony on 2.0 devices is there any way to make the app think i running 2.0 on MoDaCo 3.0 ROM ??
Thanks
Click to expand...
Click to collapse
you could try modifying build.prop and change ro.build.version.sdk to 5. Don't know if it will work.
please let us know if it worked
m0jo said:
please let us know if it worked
Click to expand...
Click to collapse
you can tell the app that you are on 2.0 but there is still no multitouch support in 1.5 so you only get errors.
multitouch in dolphin browser works on the 1.5 hero, if u change the build prop to say android version 2.1 and sdk 6 then it should work.
evilxhwnd said:
you could try modifying build.prop and change ro.build.version.sdk to 5. Don't know if it will work.
Click to expand...
Click to collapse
anyway to do that without using adb shell?
it worked for me changing the build.prop sdk to 6 and build to 2.1
since vi is unusable under adb shell.
I juste did this :
./adb remount
./adb pull /system/build.prop .
vim build.prop
-- Here I changed sdk and build version as it was said in this thread.
./adb push build.prop /system/build.prop
but no multi touch support, controls act very strangely.
"only tried with toon warz little"
would this method allow for 2.0 apps to be installed, like say....the new google maps with nav?
thazlett said:
would this method allow for 2.0 apps to be installed, like say....the new google maps with nav?
Click to expand...
Click to collapse
i can't imagine this to work. maybe you are able to install it, but there will be FC's when you try to start it, i'd guess it depends on more than just a string in some text file...
Hi. Does anyone know how to make the "Disable HW Overlays" option found on some ROMs permanently checked / persistent after reboot? I'm using JellyTime R13 on my DHD. Thanks.
I don't think that there's an option to do that. But ticking the option every boot isn't all that hard.
Sent from my Desire HD using xda app-developers app
Agreed...but if there is a better way then I'd be very keen to learn of it.
tedrogers61 said:
Agreed...but if there is a better way then I'd be very keen to learn of it.
Click to expand...
Click to collapse
+1 same question on Jellytime R15 !
jean019 said:
+1 same question on Jellytime R15 !
Click to expand...
Click to collapse
On the JT R15 developer thread, someone has noted that it is a known issue.
I'm not sure whether they mean it is a known issue that the HW Overlay box is unchecked after reboot, or whether the graphical issues with checking Disable HW Overlays solves is an issue.
However, people are talking about it, and that pleases me.
tedrogers61 said:
Hi. Does anyone know how to make the "Disable HW Overlays" option found on some ROMs permanently checked / persistent after reboot? I'm using JellyTime R13 on my DHD. Thanks.
Click to expand...
Click to collapse
+1 :'(
Also looking for a permanent solution for my Inspire 4G, is frustrating to run the camera or play a video and have the phone restart cause I forgot to switch the setting last boot.
This will work!
http://forum.xda-developers.com/showthread.php?t=1904827
Sorry wrong place
sorry wrong place
please remove
Anyone try this ?
Permanent Disable Hw overlays Enjoy Script
Disable Hardware Overlays permanently Using This Script Put into init.d Folder or else use Script manager or something like that which will run this script on boot
Code:
#!/system/bin/sh
(while :
do
sf=$(service list | grep -c "SurfaceFlinger")
if [ $sf -eq 1 ]
then
service call SurfaceFlinger 1008 i32 1
break
else
sleep 2
fi
done
) &
:fingers-crossed: enjoy
sgatechwork said:
Disable Hardware Overlays permanently Using This Script Put into init.d Folder or else use Script manager or something like that which will run this script on boot
Code:
#!/system/bin/sh
(while :
do
sf=$(service list | grep -c "SurfaceFlinger")
if [ $sf -eq 1 ]
then
service call SurfaceFlinger 1008 i32 1
break
else
sleep 2
fi
done
) &
:fingers-crossed: enjoy
Click to expand...
Click to collapse
Always make sure you give credit to the original dev. I wrote this script
titanic_fanatic said:
Always make sure you give credit to the original dev. I wrote this script
Click to expand...
Click to collapse
:laugh: opps!! Credit Goes To @titanic_fanatic :silly:
script didn't work on my TX 4.3. please help
shaktishekhar said:
Disable Hardware Overlays permanently Using This Script Put into init.d Folder or else use Script manager or something like that which will run this script on boot
:fingers-crossed: enjoy
Click to expand...
Click to collapse
Thanks man! i was just looking for the shell cmd but this works ! *on android 7.1.2 initd. d needed to be emulated....i dont beleive its the default "load on boot" protocol any longer but emulation via kernel auditor seems to do the trick. Doesnt matter as long as i dont have to manually set check the option. Appreciate the work.
titanic_fanatic said:
Disable Hardware Overlays permanently Using This Script Put into init.d Folder or else use Script manager or something like that which will run this script on boot
Always make sure you give credit to the original dev. I wrote this script
Click to expand...
Click to collapse
Dear @titanic_fanatic, can I kindly ask you if you can adapt your script to make the Skia GPU renderer on Android Oreo applied on boot without it resetting every time? Thank you for the original idea anyway, it was brilliant, I use always your script
Why should I do that? Can you please explain it? ?
remained said:
Why should I do that? Can you please explain it? ?
Click to expand...
Click to collapse
Please how can I enable 4x MSAA using a shell script on android?
titanic_fanatic said:
Always make sure you give credit to the original dev. I wrote this script
Click to expand...
Click to collapse
Still works on Galaxy S5 Lineage OS 16 SmartPack kernel (oc to 2.6gHz btw) and manager. Thanks! Bookmarked this notably good post .. :good:
Works fine on a Poco M3 running A11. I've attached a basic Magisk module with titanic_fanatic's script, since that'd probably be easier to use for most people.
I postet this App originally in the Android main general section, beacause I am searching for testers on other devices,
but I developed it using our phone so you can give it a try.
http://forum.xda-developers.com/showthread.php?p=42077109
Hi guys, I always wanted to change my Boot Splash Screen (that thing that shows before the Boot Animation)
So i tryed to write a simple app.This will work on every device, how ever I need testers to confirm.
This Application needs Root Access and CWM or TWRP in order to work.
So I didn't manage to get a working conversion from png to rle on the Android platform it self, however I wrote a windows Converter.
Get it :
Please not that this is a pre alpha, so don't be mad if you think it sucks.
There is much more to come but I need to test this feature now to resume developing it.
- alpha 1
Added a server to easily download the Converter to your PC
- Pre-alpha1: https://www.dropbox.com/s/z530xpgaw5cmrfq/pre-alpha-1.apk
- Converter for Windows : https://www.dropbox.com/s/x0sfxwx7deuqquh/PNG-2-RLE.exe
Click to expand...
Click to collapse
Instructions :
1. Resize the png file to your screen dimensions
2. place it in the same folder as the executabel Conveter
3. Copy the .rle on your phone
4. Run the App and choose the .rle
Click to expand...
Click to collapse
Help :
There is still a lot of work to do.Any help is appreciated.Please pm me.
You can help by :
-making an Icon [the current sucks but I am not good at graphics]
-port the Windows script to linux
-test it and report it back here
Click to expand...
Click to collapse
Click to expand...
Click to collapse
I also added some .rle file I allready made for this device. (they are in the zip.zip attachment).
12alex21 said:
I postet this App originally in the Android main general section, beacause I am searching for testers on other devices,
but I developed it using our phone so you can give it a try.
http://forum.xda-developers.com/showthread.php?p=42077109
I also added some .rle file I allready made for this device. (they are in the zip.zip attachment).
Click to expand...
Click to collapse
Thanks for making this great app !!
Successfully changed my boot screen !!:good:
Again , thanks !!!!
SplashInjectorsplash injector is a tool created by me based on the work done by @makers_mark . it is a basic command line interface but it gets the job done. it supports all oneplus devices so far except the oneplus x :crying: i can add support once someone gets me the logo.bin file from that device. The tool is pretty simple its based on the work here https://forum.xda-developers.com/oneplus-3/themes/mod-splash-screen-image-injector-t3441999 this is where i got this all from. i know it can be kinda hacky and only supports unix systems i think you can get it working by using git bash on windows. In its current state it can decode and encode all oneplus logo.bins (Including the OnePlus 5!) it can also pack flashable zips for you automatically. all you need to do is run the decode option edit the file you want in the output folder. Then you can run the encode command and it will pack it all back up. Then package it with the package command. Once again major credit to @makers_mark he did all the leg work. i just made it a little more friendly. lmk if there is any issues you find
Telegram: @ethanbanker if you need anything contact me here.
Now lets get to it
follow the instructions here located here
https://github.com/ethanbanker2428/SplashInjector
Updates:
1.52: Ok guys im not a windows expert...i barely use it so the tool does support windows now but it cant package files. it does give you all the tools and files you need to package one tho. you can use a tool such as this https://forum.xda-developers.com/android/software-hacking/tool-6-feb-android-flashable-zip-t3551772 this update also includes a completely revamped system. lmk about any bugs you find. for windows you need to install and use GIT bash. i also added a update function to easily update the tool. its simple but it works. heres my git again for you guys https://github.com/ethanbanker2428/SplashInjector
WARNING I AM NOT RESPONSIBLE FOR ANYTHING YOU DO. DO THIS AT YOUR OWN RISK
Excellent...... working great for OP5
Thanks
biohaz55 said:
Excellent...... working great for OP5
Thanks
Click to expand...
Click to collapse
Hi, I can't get it working on Windows. If I send you a PNG will you make me a zip?
Thanks! Here is the Windows binary and src for logoinjectorv1.52.
makers_mark said:
Thanks! Here is the Windows binary and src for logoinjectorv1.52.
Click to expand...
Click to collapse
thanks im gonna rebuild with the newest version and probably work on a windows version tonight :good:
Can you make a captain America one?
can u please make flashable zip i cannot get the method to flash . can u guide me please @bobglaus
freakzapster said:
can u please make flashable zip i cannot get the method to flash . can u guide me please @bobglaus
Click to expand...
Click to collapse
did u use option 3? package? that should make one after you edit the files
bobglaus said:
did u use option 3? package? that should make one after you edit the files
Click to expand...
Click to collapse
actually i dont know to edit files i am new to this thats why i am not understanding
freakzapster said:
actually i dont know to edit files i am new to this thats why i am not understanding
Click to expand...
Click to collapse
click the help option. i feel it explains it pretty well. to edit the png in the output folder use gimp or photoshop
Ok just an update windows support is finished and in the tool now. I'll push probably tomorrow it works and packs and unpacks fine just getting issues with packaging the zips. It corrupts them. Im gonna switch to 7zip and see if that works then I'll push
bobglaus said:
Ok just an update windows support is finished and in the tool now. I'll push probably tomorrow it works and packs and unpacks fine just getting issues with packaging the zips. It corrupts them. Im gonna switch to 7zip and see if that works then I'll push
Click to expand...
Click to collapse
Other option is to move the files to the output folder and ask the user to manually zip them, it's available on windows right click menu.
---------
I have a question, what's the BGR option for? I thought it was for op5 display but it only change the color of the pngs, so I switched it for RGB and now my logo looks good.
I share my mod, original was taken from CUSTOM BOOT LOGO PACK FOR OnePlus3.
badtzo said:
Other option is to move the files to the output folder and ask the user to manually zip them, it's available on windows right click menu.
---------
I have a question, what's the BGR option for? I thought it was for op5 display but it only change the color of the pngs, so I switched it for RGB and now my logo looks good.
I share my mod, original was taken from CUSTOM BOOT LOGO PACK FOR OnePlus3.
Click to expand...
Click to collapse
bgr does **** up the colors a bit or fixes it. its one of those things where you use it if you need it and you will know if you need it.
also update to anyone else that update will have to wait. im a perfectionist and im revamping the whole thing to alot cleaner code. windows should work tho and the oneplus x will be supported hopefully too
Update: Ok guys im not a windows expert...i barely use it so the tool does support windows now but it cant package files. it does give you all the tools and files you need to package one tho. you can use a tool such as this https://forum.xda-developers.com/android/software-hacking/tool-6-feb-android-flashable-zip-t3551772 this update also includes a completely revamped system. lmk about any bugs you find. for windows you need to install and use GIT bash. i also added a update function to easily update the tool. its simple but it works. heres my git again for you guys https://github.com/ethanbanker2428/SplashInjector
bobglaus said:
Update: Ok guys im not a windows expert...i barely use it so the tool does support windows now but it cant package files. it does give you all the tools and files you need to package one tho. you can use a tool such as this https://forum.xda-developers.com/android/software-hacking/tool-6-feb-android-flashable-zip-t3551772 this update also includes a completely revamped system. lmk about any bugs you find. for windows you need to install and use GIT bash. i also added a update function to easily update the tool. its simple but it works. heres my git again for you guys https://github.com/ethanbanker2428/SplashInjector
Click to expand...
Click to collapse
Hi, I created the zip but it won't flash in twrp. Is there a compression method to use? Using 7zip.
Bigs1985 said:
Hi, I created the zip but it won't flash in twrp. Is there a compression method to use? Using 7zip.
Click to expand...
Click to collapse
use the tool i linked in the post you qouted
bobglaus said:
use the tool i linked in the post you qouted
Click to expand...
Click to collapse
I thought it didn't package the zips correctly? Is that fixed?
Bigs1985 said:
I thought it didn't package the zips correctly? Is that fixed?
Click to expand...
Click to collapse
No this one https://forum.xda-developers.com/android/software-hacking/tool-6-feb-android-flashable-zip-t3551772
how can i pull LOGO.bin from my oneplus 5?
when i run:
adb shell dd if=/dev/block/sde17 of=/sdcard/partition/LOGO.bin
Click to expand...
Click to collapse
i get this error message:
dd: /dev/block/sde17: Permission denied
Click to expand...
Click to collapse
Please help
Thanks
spicemaster said:
how can i pull LOGO.bin from my oneplus 5?
when i run:
i get this error message:
Please help
Thanks
Click to expand...
Click to collapse
Of course you need root,The right command is
adb shell su -c dd if xxxx
Hi, I want to disable the High volume warning, I already have a solution, right now I use terminal shortcut pro and have created a shortcut to run the command
Code:
settings put global audio_safe_volume_state 0
it work great but doesn't survive a reboot so I have to run the shortcut after every reboot. I found an old thread on reddit that say adding the line
Code:
audio.safemedia.bypass=true
to build.prop can also disable the high volume warning, but the thread was so old, they were talking android 6.0
I plan to try to add this prop on boot using the magisk module MagiskHide Props Config, I know it work great because I already added a prop to reduce the media volume steps to 15 instead of 30, but i dont know if the prop
Code:
audio.safemedia.bypass=true
is still working on android 10
Another solution would be to have an app that run the terminal command
Code:
settings put global audio_safe_volume_state 0
automatically after boot, but I would prefer to add the prop line if anyone can confirm it still work on android 10
Thank you all !
Nice to know.... what's also wondering from time to time how to overcome the warning. let me know if you get it to a working solution.
Just for the last part: tasker would be the way to go.
Gesendet von meinem HD1903 mit Tapatalk
xe0r said:
Nice to know.... what's also wondering from time to time how to overcome the warning. let me know if you get it to a working solution.
Just for the last part: tasker would be the way to go.
Gesendet von meinem HD1903 mit Tapatalk
Click to expand...
Click to collapse
After 24 hours testing the audio.safemedia.bypass=true with MagiskHide Props Config, I have not seen the warning yet, but I need to test it longer to be sure it work
Just a quick update for future search, the prop
Code:
audio.safemedia.bypass=true
seem to work, I have not seen the high volume warning for the whole week, so problem solved !
Hey one question, how were you able to edit the build.prop file? Whenever I try to do so with Root Explorer, it doesn't save my changes. OnePlus 8 Pro Android 10
memocatcher said:
Hey one question, how were you able to edit the build.prop file? Whenever I try to do so with Root Explorer, it doesn't save my changes. OnePlus 8 Pro Android 10
Click to expand...
Click to collapse
Only with Magisk module MagiskHide Props Config
jacobyo7 said:
Just a quick update for future search, the prop
Code:
audio.safemedia.bypass=true
seem to work, I have not seen the high volume warning for the whole week, so problem solved!
Click to expand...
Click to collapse
Hello and thank you for finding a workaround for this stupid issue! Do you know if this is still working on android 11? After installing the module, how can I correctly set it? Thank you so much for your help
I tried setting it with termux but it's not working
addsfsds said:
I tried setting it with termux but it's not working
Click to expand...
Click to collapse
I still use it with 11 on my OP7T but I am unsure if this prop remove the audio warning or if there is no warning at all on my device. Never tried 11 wihtout the prop so IDK.
Another way you can try is the system UI tuner app on the play store, there is a setting to disable the warning under the audio & sound category. Good luck !
jacobyo7 said:
I still use it with 11 on my OP7T but I am unsure if this prop remove the audio warning or if there is no warning at all on my device. Never tried 11 wihtout the prop so IDK.
Another way you can try is the system UI tuner app on the play store, there is a setting to disable the warning under the audio & sound category. Good luck !
Click to expand...
Click to collapse
Thank you for your reply! I kept trying to no avail. Can't make it work unfortunately. When you upgraded to android 11, did you make the procedure again from scratch? Can you please explain what you did on termux?
Is the system ui app an app that it's aways on background?
Thank you so much!
addsfsds said:
Thank you for your reply! I kept trying to no avail. Can't make it work unfortunately. When you upgraded to android 11, did you make the procedure again from scratch? Can you please explain what you did on termux?
Is the system ui app an app that it's aways on background?
Thank you so much!
Click to expand...
Click to collapse
No the system UI tuner app just change some hidden android settings, it do not run in the background. The description of the app even state you can delete the app once you changed the desired setting. Read the whole description to understand how it work. Try it, I think this might be the best solution.
SystemUI Tuner - Apps on Google Play
PLEASE READ ENTIRE DESCRIPTION BEFORE INSTALLING
play.google.com
jacobyo7 said:
No the system UI tuner app just change some hidden android settings, it do not run in the background. The description of the app even state you can delete the app once you changed the desired setting. Read the whole description to understand how it work. Try it, I think this might be the best solution.
SystemUI Tuner - Apps on Google Play
PLEASE READ ENTIRE DESCRIPTION BEFORE INSTALLING
play.google.com
Click to expand...
Click to collapse
Thank you for your kind suggestion. I tried and again it didn't work, really don't know why.
addsfsds said:
Code:
settings put global audio_safe_volume_state 0
Thank you for your kind suggestion. I tried and again it didn't work, really don't know why.
Click to expand...
Click to collapse
i can confirm that no app does change the setting of safe volume limit.
All tests on rooted device from LOS14-LOS19. Tried different apps like systemuituner, safevolumelimitdisabler, volumesteps+, jamesdsp etc.
Tried to patch the global variable "safe_media_volume" like described here on a rooted device but no luck.
Just ran
[adb shell] settings put global audio_safe_volume_state 0
via adb, when the message popped up, afterits i had to confirm the nag-screen, to raise the volume. it's so weird..