[Guide] Remove roaming clock on latest update - LG V50 ThinQ Guides, News, & Discussion

1. Download hxxps://play.google.com/store/apps/details?id=by4a.setedit22&hl=en (Sorry i cant post link, change hxxp to http)
2. Enable developer mode, grant write secure permission for the app:
Code:
adb shell pm grant by4a.setedit22 android.permission.WRITE_SECURE_SETTINGS
3. Open the app, change table to "Secure table", find "roaming_dualclock" setting and change the value to "1".

vanhoavn said:
1. Download hxxps://play.google.com/store/apps/details?id=by4a.setedit22&hl=en (Sorry i cant post link, change hxxp to http)
2. Enable developer mode, grant write secure permission for the app:
Code:
adb shell pm grant by4a.setedit22 android.permission.WRITE_SECURE_SETTINGS
3. Open the app, change table to "Secure table", find "roaming_dualclock" setting and change the value to "1".
Click to expand...
Click to collapse
Finally, I can remove the dual clock on Android 10. Thanks so much for the solution.

Could this method not be used to reactivate FASTBOOT on v450pm ?? remove the locksim ?? activate the dual sim ???

spa1978 said:
Could this method not be used to reactivate FASTBOOT on v450pm ?? remove the locksim ?? activate the dual sim ???
Click to expand...
Click to collapse
No...

Yeah its working on android 10, thanks mate!

Wait what? I'm confused, so I downloaded the app and granted all the permissions and developer mode was already enabled. I executed the code over there to system table inside the app but it doesn't seem to be working when I tried to change the value of roaming_dualclock. Any solutions?

Jimook99 said:
Wait what? I'm confused, so I downloaded the app and granted all the permissions and developer mode was already enabled. I executed the code over there to system table inside the app but it doesn't seem to be working when I tried to change the value of roaming_dualclock. Any solutions?
Click to expand...
Click to collapse
You should do the permission with adb command on pc not on your device

vanhoavn said:
1. Download hxxps://play.google.com/store/apps/details?id=by4a.setedit22&hl=en (Sorry i cant post link, change hxxp to http)
2. Enable developer mode, grant write secure permission for the app:
Code:
adb shell pm grant by4a.setedit22 android.permission.WRITE_SECURE_SETTINGS
3. Open the app, change table to "Secure table", find "roaming_dualclock" setting and change the value to "1".
Click to expand...
Click to collapse
Exactly what is the usefulness of this procedure???

spa1978 said:
Exactly what is the usefulness of this procedure???
Click to expand...
Click to collapse
Just to remove the annoying second clock in lock screen.

vanhoavn said:
Just to remove the annoying second clock in lock screen.
Click to expand...
Click to collapse
Ahhhhh it works .... on v50 sprint android 10 !!!!!!
very well
{
"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"
}

martin_yo said:
You should do the permission with adb command on pc not on your device
Click to expand...
Click to collapse
haha thx i didn't know
But omfg it worked anyways!!! I spent more than a year to solve this problem lol
Also how do I move the clock to the center lol why is it at the left side (It's available in Android 9 but not in Android 10)

Jimook99 said:
haha thx i didn't know
But omfg it worked anyways!!! I spent more than a year to solve this problem lol
Click to expand...
Click to collapse
Wait... WHAT?
" I spent more than a year to solve this problem "
REALLY?
BTW, How to enable split-screen multitasking in Android 10 on LG V50 (Korean)?

beboylqt said:
Wait... WHAT?
" I spent more than a year to solve this problem "
REALLY?
BTW, How to enable split-screen multitasking in Android 10 on LG V50 (Korean)?
Click to expand...
Click to collapse
Recent button > Tap and hold icon of the app you want to view in Multi window mode > Select Multi window > Select the 2nd app

beboylqt said:
Wait... WHAT?
" I spent more than a year to solve this problem "
REALLY?
BTW, How to enable split-screen multitasking in Android 10 on LG V50 (Korean)?
Click to expand...
Click to collapse
Haha technically yeah, my first attempt was done from about a year ago and was keep trying with different methods. For your question, the person above has answered it so you may check that.

quantan said:
1. Download hxxps://play.google.com/store/apps/details?id=by4a.setedit22&hl=en (Sorry i cant post link, change hxxp to http)
2. Enable developer mode, grant write secure permission for the app:
Finally, I can remove the dual clock on Android 10. Thanks so much for the solution.
Click to expand...
Click to collapse
You dont need any app for removing it
You can use adb
shell settings put secure roaming_dualclock 1
You can also check it here:
https://forum.xda-developers.com/android/help/lg-korean-variant-t3970883

jTunes said:
You dont need any app for removing it
You can use adb
shell settings put secure roaming_dualclock 1
You can also check it here:
https://forum.xda-developers.com/android/help/lg-korean-variant-t3970883
Click to expand...
Click to collapse
Thanks for this, it also works on my V30 Pie LG U+

Spent ages trying to get this and every other method to work, turns out on SKT you have to change "skt_roaming_dualclock" to 1 rather than "roaming_dualclock"

Metalligator said:
Spent ages trying to get this and every other method to work, turns out on SKT you have to change "skt_roaming_dualclock" to 1 rather than "roaming_dualclock"
Click to expand...
Click to collapse
Thats for SKT
roaming_dualclock is for LG-U+ and KT

Thanks! Working on my LG G7 running android 10.

vanhoavn said:
1. Download hxxps://play.google.com/store/apps/details?id=by4a.setedit22&hl=en (Sorry i cant post link, change hxxp to http)
2. Enable developer mode, grant write secure permission for the app:
Code:
adb shell pm grant by4a.setedit22 android.permission.WRITE_SECURE_SETTINGS
3. Open the app, change table to "Secure table", find "roaming_dualclock" setting and change the value to "1".
Click to expand...
Click to collapse
Finally manage to remove the second clock on my V50 on Android 10. Thanks for this guide.

Related

[HOWTO]Fix the "keyboard missing" problem for Android apps in Windows 10 Mobile 10512

[HOWTO]Fix the "keyboard missing" problem for Android apps in Windows 10 Mobile 10512
Just install (using adb shell pm install) "MicrosoftInputMethod.apk" from attachment, and you're done.
Reboot the device after installation (I don't know if it's really needed)
Installation method:
adb push "C:/path/to/MicrosoftInputMethod.apk" /sdcard/MicrosoftInputMethod.apk
adb shell
pm install /sdcard/MicrosoftInputMethod.apk
Notes:
-Make sure to always use forward slashes ( / ) in every path.If you use backward slashes ( \ ), you'll get an error;
-if you use adb install "C:/path/to/MicrosoftInputMethod.apk", you will get [INTERNAL_AGENT_ERROR] error.Use adb shell pm install "C:/path/to/MicrosoftInputMethod.apk";
-If the attachment is downloaded as a .zip file, change its extension to .apk
Troubleshooting:
You can check if it's installed using some application that shows installed apps (i.e.: Shortcut Master (Lite))....
{
"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"
}
If it's installed but keyboard doesn't appear, try the following:
-Install "Shortcut Master (Lite)" (attached to this very post) using adb install "C:/path/to/org.vndnguyen.shortcutmaster.lite-0.apk" . DON'T use pm install to install an application with an User Interface that should be available from menu;
-Open it, and touch the three dots in the upper right corner;
-Choose "Search";
-Click on "Enter text to search", and see if keyboard appears;
If yes, open the application where keyboard wasn't appearing, and see if it appears after that;
Best regards
i Will test ....now
Edit 1 : not working....i reboot
Édit 2 : after rebooting...not working topo
Édit 3 : i t'y with adb
This message
pkg: /data/local/tmp/MicrosoftInputMethod.apk
Failure [INTERNAL_AGENT_ERROR]
, ArgumentNullException, at Microsoft.Arcadia.Marketplace.PackageObjectModel.Apk.ApkResourceHelper.GetResource(ManifestStringResource manifestValue, IDictionary`2 resources)
at Microsoft.Arcadia.Marketplace.Converter.Portable.ImageAssetsConverter.LoadAndCacheApkImages()
at Microsoft.Arcadia.Marketplace.Converter.Portable.ImageAssetsConverter.WriteImageAssets()
at Microsoft.Arcadia.Marketplace.Converter.Portable.PortableApkToAppxConverter.GenerateOneAppxDirectory(AppxPackageConfiguration packageConfig)
at Microsoft.Arcadia.Debugging.AdbAgent.Portable.ApkInstallJob.<ConvertApk>d__15.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Microsoft.Arcadia.Debugging.AdbAgent.Portable.ApkInstallJob.<InstallAppAsync>d__5.MoveNext()
kwanice said:
i Will test ....now
Edit 1 : not working....i reboot
Édit 2 : after rebooting...not working topo
Édit 3 : i t'y with adb
This message
pkg: /data/local/tmp/MicrosoftInputMethod.apk
Failure [INTERNAL_AGENT_ERROR]
, ArgumentNullException, at Microsoft.Arcadia.Marketplace.PackageObjectModel.Apk.ApkResourceHelper.GetResource(ManifestStringResource manifestValue, IDictionary`2 resources)
at Microsoft.Arcadia.Marketplace.Converter.Portable.ImageAssetsConverter.LoadAndCacheApkImages()
at Microsoft.Arcadia.Marketplace.Converter.Portable.ImageAssetsConverter.WriteImageAssets()
at Microsoft.Arcadia.Marketplace.Converter.Portable.PortableApkToAppxConverter.GenerateOneAppxDirectory(AppxPackageConfiguration packageConfig)
at Microsoft.Arcadia.Debugging.AdbAgent.Portable.ApkInstallJob.<ConvertApk>d__15.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Microsoft.Arcadia.Debugging.AdbAgent.Portable.ApkInstallJob.<InstallAppAsync>d__5.MoveNext()
Click to expand...
Click to collapse
Hmmmm....What phone?
Nokia Lumia 930?
Are you just doing
adb install path\to\MicrosoftInputMethod.apk
?
Can you check if "Microsoft Input Method" is running?
Best regards
alb3530 said:
Hmmmm....What phone?
Nokia Lumia 930?
Can you check if "Microsoft Input Method" is running?
Best regards
Click to expand...
Click to collapse
How Can i check if its running?
kwanice said:
How Can i check if its running?
Click to expand...
Click to collapse
For the last error you posted (Failure [INTERNAL_AGENT_ERROR]), you couldn't install it.
Have you tried to install any other apk to see if apk installation isn't messed up for your phone?
Have you tried the Google Play stuff?If yes, chances are it corrupted something in your phone.
Best regards
i have several app Install on m'y phone and they are working...but without Keyboard
edit : i try Install annoter App. its working
kwanice said:
i have several app Install on m'y phone and they are working...but without Keyboard
Click to expand...
Click to collapse
But can you try to install any other apk, just to make sure installation error won't happen?
Best regards
i 'Ve told u...
i Install Moon reader just now ans its working
Edit :
If i try to Install Ur apk with apktow10m i have no error...but not working..
If i try to Install manally with adb, i have This error...
i try this but get same error my phone is Lumia 1520
is any one try soft reset after update to new build for fix problem
Didn't work for me either. Same error.
Hard resetting now. This sucks.
MOHSEN-UNIQUE said:
i try this but get same error my phone is Lumia 1520
is any one try soft reset after update to new build for fix problem
Click to expand...
Click to collapse
Probably some installation has affected your phone.
http://forum.xda-developers.com/showpost.php?p=62367177&postcount=423
If you happen to reset the phone, try to install microsoftinputmethod as the first apk...
Best regards
alb3530 said:
Probably some installation has affected your phone.
http://forum.xda-developers.com/showpost.php?p=62367177&postcount=423
If you happen to reset the phone, try to install microsoftinputmethod as the first apk...
Best regards
Click to expand...
Click to collapse
but i can install other app just i can't install this only and i don't know why?
i try to resat my phone tomorrow i will see what happens:good:
MOHSEN-UNIQUE said:
but i can install other app just i can't install this only and i don't know why?
i try to resat my phone tomorrow i will see what happens:good:
Click to expand...
Click to collapse
I've updated the first post with the method I used to install: push file to device, and then install from shell.
Check the first post.
Best regards
alb3530 said:
I've updated the first post with the method I used to install: push file to device, and then install from shell.
Check the first post.
Best regards
Click to expand...
Click to collapse
what Can we do if we dont have sdcard ??
On Nokia 930....im not sure IT Will work..
i test now... and : IT SEEM TO WORK
i Install other to Sée
EDIT : CONGRAT ! its work !
kwanice said:
what Can we do if we dont have sdcard ??
On Nokia 930....im not sure IT Will work..
Click to expand...
Click to collapse
Yes, sdcard is only a mount point....I have a Lumia 1020, and tested on it....
kwanice said:
...i test now... and : IT SEEM TO WORK
i Install other to Sée
EDIT : CONGRAT ! its work !
Click to expand...
Click to collapse
Cool
WOW this is so great! You are my HERO! Now i don't have to reset my phone. The Keyboard is working again in android apps.
alb3530 said:
Just install (using adb shell pm install) "MicrosoftInputMethod.apk" from attachment, and you're done.
Reboot the device after installation (I don't know if it's really needed)
Installation method:
adb push "C:/path/to/MicrosoftInputMethod.apk" /sdcard/MicrosoftInputMethod.apk
adb shell
pm install /sdcard/MicrosoftInputMethod.apk
Note: if you use
adb install "C:/path/to/MicrosoftInputMethod.apk"
, you may get the [INTERNAL_AGENT_ERROR] error
Best regards
Click to expand...
Click to collapse
the attachment isn't a .apk its a .zip file with no .apks in it ??
scottyost said:
the attachment isn't a .apk its a .zip file with no .apks in it ??
Click to expand...
Click to collapse
It's a working apk....I've just downloaded it and comparated it byte-to-byte with the one I had installed before: no difference between both files
Best regards
it's worked on my Nokia Lumia 930
@alb3530 thank you so much. I would buy you a beer if I could afford to.

[How to]Root Project Astoria

Root section #​Hello guys,
after 45564564165 hours of research (joke but this took me about 1 week ._.) I finally rooted Project Astoria
Images
{
"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"
}
Current issues​Apps can't request root because of limit of project astoria. I'm working on it.
Procedure​Perform an Hard reset first.
After settings up, deploy Root Tool.
Go to Lumia Registry Editor, click on navbar > templates and then select all.
Close the app and go to settings > Update and security > For developers.
Enable developer mode and click on Discovery. It should show to you the pin.
Download Astoria Tools.rar
Extract it.
Open that extracted folder.
You should see wconnect and so on.
On the "void" area, make SHIFT + Right click, and then click to "Open Command prompts here".
Write wconnect usb and write the pin.
After this, download AOW shortcut.7z in the attachment, extract it, copy that in your phone, example "Phone\Documents"
Now, go to your phone and open File Explorer. Open Documents and click on Aow shortcut
Go to RootFS directory and delete the file init.
Warning, there are 2 files, you need to delete "init.rc", it has about 20-19 KB.
Restart now your phone.
Keep it plugged on computer and wait about 5 minutes. it should you show "Windows Phone" device connection.
Open it and go to: Data\Users\DefApps\APPDATA\Local\Aow\RootFS
Download from Astoria folder link, the latest Rootkit & Gapps version.
Extract it.
Copy ALL Files to the phone (Data\Users\DefApps\APPDATA\Local\Aow\RootFS).
It ask you if you want to replace/merge files. Say Yes.
Press yes if it show this to you:
After you finished you need to set MTP to the standard path.
Download CustomPFD and deploy it.
Open that app.
Navigate to TWEAKS PAGE and click to General tweaks.
Navigate to UTILITIES: check FULL FS ACCESS and uncheck again.
Restart your phone.
Download Superuser.rar and extract it on Astoria tools folder.
After boot, connect to your pc and install superuser.apk (adb install superuser.apk)
After installation, you can launch the command "adb shell" and as you can see you are a root user
I'm really destroyed but at the same time happy
THANKS​djamol and ngame for his Interop Unlock method/app.
Marocco2 for his help.
snickler for his help.
Pasqui industry for making CustomPFD.
(I forgot someone?)
And all member of XDA and the world itself
Download​
Astoria Folder (Astoria Tools - AOW shortcut - Rootkit & gapps): http://astoriafolder.adeltax.com (Redirect to mediafire)
Attached some files because of problem with mediafire (stupid block)
-- EDIT --
If you have problem with installing APK after root, go to your phone and delete packageinstaller.odex using Aow shortcut and going to RootFS > System > app folder (The lowest size, approx 153 KB)
GAPPS Section​
Not yet, still working on it.
Here will be my "research"
Changelog:
v0.72
First version.
I will make GUI Installer/Package manager or something like this.
You are a monster, on fire!
\o/.
U are my hero o/
Happy rooting
Ah so you actually have to delete the init.rc files and wait for them to reproduce? That's why! Awesome job. I can't wait to test this out @ADeltaX
Hello there,
I can then the Google Play Store etc. properly use and also
Install Android applications on the Store from Google?
HannHenne said:
Hello there,
I can then the Google Play Store etc. properly use and also
Install Android applications on the Store from Google?
Click to expand...
Click to collapse
Not yet. For now it's very hard to resolve an "issue".
@ADeltaX, have you tried Insecure root or insecure su binary? The su binary that doesn't rely on a root management app like SuperSU? Because we can get direct root access on an app instantly if it requests for root with that...
Sent from Ponyville
Can we get a custom android with root now?
Got to final Stage now im getting an error code 14 Problem booting Astoria
Using Lumia Icon (929) on OS 10166
Lanex777 said:
Can we get a custom android with root now?
Click to expand...
Click to collapse
Nope, you need to edit Hyper-v library (and this is impossible)
darkcroc said:
Got to final Stage now im getting an error code 14 Problem booting Astoria
Using Lumia Icon (929) on OS 10166
Click to expand...
Click to collapse
Some files are missing on AOW folder.
Retry and replace the folder again.
mrchezco1995 said:
@ADeltaX, have you tried Insecure root or insecure su binary? The su binary that doesn't rely on a root management app like SuperSU? Because we can get direct root access on an app instantly if it requests for root with that...
Sent from Ponyville
Click to expand...
Click to collapse
Nope, Sincerely I never heard about insecure SU binary.
The SU version is a modded one, because if I use the SuperSU version, on invoking SU it say "segmentation fault" --> mean something doesn't work like shared object (library aka .so).
Someone can compile strace binary for armeabi/armeabi-v7a?
At this time Virtual Box doesn't want to start (I have Linux Mint in VM with AOSP source).
ADeltaX said:
Nope, Sincerely I never heard about insecure SU binary.
The SU version is a modded one, because if I use the SuperSU version, on invoking SU it say "segmentation fault" --> mean something doesn't work like shared object (library aka .so).
Click to expand...
Click to collapse
Some Chinese tablets I fix had insecure su... How did I know? When I adb shell it's already # . Or those only work with adb and not apps requiring su permission?
Sent from Ponyville

[APP][CM] Install Location - choose where to install apps

#Henkate said:
For me, the weather widget works, also in notification drawer.
Regarding install location, take a look here, as a alternative: http://android.stackexchange.com/questions/43517/installing-to-sdcard-by-default
Run in terminal:
(0 auto, 1 internal and 2 external sd card)
PHP:
pm set-install-location 0/1/2
EDIT:
@samiblm : if you want, i can make a small app with Tasker which ask you where you want to install everytime you are in Package Installer ( the menu after you click to install an .apk). The app would work like this: when it see that you are in Package Installer ( you want to install an app), a small popup appears and ask you where you want to install, you choose and then you can install.
Click to expand...
Click to collapse
Pirex69 said:
That would be nice ��
Enviado do meu SM-J500FN através de Tapatalk
Click to expand...
Click to collapse
Alright. I've made a small app using Tasker for CM which will show a popup with option to choose where to install the app you want. The app run in background and the popup appears when you are in Package Installer (when you want to install an app). I hope you'll find it useful as the setting regarding it is gone in latest cm release.
I called it Install Location.
To run that pm set-install-location commands we need root, so the app need root too because that.
Please read the below informations.
HOW IT WORKS?
Upon first run, it run su command to get root access. If you decline the access, the app won't work, so it will ask for su again after you open it again. If you allow the access, then it will turn a profile on which shows a popup to choose install location when it detect that you are in Package Installer. The Package Installer it's the trigger. You choose your choice, then the popup dissapear and then simply install the app you want.
NOTES
1) If you want to cancel the popup, just press back button (phone button).
2) If you want to stop this app from showing the popup, then simply force close it in settings.
3) If you greenify / hibernate the app, then it stop working.
4) There shouldn't be any battery drain.
5) BUG: when you uninstall an app, the popup will appear too since uninstalling apps is done by Package Installer too. I don't think there's any way to fix this, at least I don't have any idea.
6) The app should work on other phones/ROMs as long the command pm set-install-location is supported.
DOWNLOAD
APK is attached to this post.
SCREENSHOT
{
"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"
}
PROJECT SOURCES
Download source: http://www.mediafire.com/?x45maikt876f7kk
It is Tasker code. You must install Tasker and then copy the file Install_Location.prj.xml to Tasker folder > projects, then open Tasker, press on home icon, choose import and choose the .prj file you copied. Then you got the source and can edit it as you like. To build app with Tasker, you need to install it's plugin named App Factory (Google play store). You can find basic informations like how to import project on Google or i think even on Tasker website.
Reserved
@samiblm said that isn't working for him, but for me is working fine. Can someone else confirm this?
Anybody can confirm whether is working for you or not? lol
Sorry that i didnt have time to reply earlier than this, but here is the thing; when i type the command in the termonal i get this error :
And since the app uses this same command, it will obviously fail to complete the task
samiblm said:
Sorry that i didnt have time to reply earlier than this, but here is the thing; when i type the command in the termonal i get this error :
And since the app uses this same command, it will obviously fail to complete the task
Click to expand...
Click to collapse
Write "su" (without quotes) and press "enter", then write the pm command.. My app does run su command before pm command too when you choose your option in the popup, to make sure that the command will work.
It works for me, but I don't understand why doesn't work for you.
So, write su command before that and let me know if there's any error.
#Henkate said:
Write "su" (without quotes) before the command with pm. My app does run su command before pm command too when you choose your option in the popup, to make sure that the command will work.
It works for me, but I don't understand why doesn't work for you.
So, write su command before that and let me know if there's any error.
Click to expand...
Click to collapse
Seems to work fine under root
---------- Post added at 06:29 PM ---------- Previous post was at 06:26 PM ----------
ajislav said:
Seems to work fine under root
Click to expand...
Click to collapse
Edit, I should clarify..
Running su first and then "pm set-install-location 2" works fine, but "su pm set-install-location 2" ends with an error as there is no user pm
ajislav said:
Seems to work fine under root
---------- Post added at 06:29 PM ---------- Previous post was at 06:26 PM ----------
Edit, I should clarify..
Running su first and then "pm set-install-location 2" works fine, but "su pm set-install-location 2" ends with an error as there is no user pm
Click to expand...
Click to collapse
I meant that you have to write "su" and press "enter". Sorry for the misunderstanding.
Does the app work for you?
#Henkate said:
Does the app work for you?
Click to expand...
Click to collapse
It asks for root when I run it from the launcher, but it does not ask for install location when installing an app...
ajislav said:
It asks for root when I run it from the launcher, but it does not ask for install location when installing an app...
Click to expand...
Click to collapse
I don't understand what's wrong. I've tested it myself and it is working fine for me When you want to install an app, the pop-up should appear (like in the screenshot from first post), before touching "install".
I'll try to make a new one and I'll remove the su check at first run.
#Henkate said:
I don't understand what's wrong. I've tested it myself and it is working fine for me When you want to install an app, the pop-up should appear (like in the screenshot from first post), before touching "install".
I'll try to make a new one and I'll remove the su check at first run.
Click to expand...
Click to collapse
Not sure if it is su related.
I changed root access from always ask to allowed but it did not make a difference.
I can test for you, if you want.
Btw, j500F with CM 20160821 version here
I did what you suggested and no error is given this time, but it's still not working and the apps are still getting installed in the internal sdcard ..

Immersive mod activation for certain apps with adb shell without root

Hello!
Is' it possible to activate immersive mode for certain apps over adb shell but without root access?
Did somebody tried this?
I'm asking this primary because of "issue" with status bar and Google Chrome (it's not hidden like it should be, at least for me).
Thank You all on reading and answer!
Here is shell list:
adb shell settings put global policy_control immersive.full=com.android.chrome
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
Security exception: Permission denial: writing to settings requires:android.permission.WRITE_SECURE_SETTINGS
java.lang.SecurityException: Permission denial: writing to settings requires:android.permission.WRITE_SECURE_SETTINGS
at com.android.providers.settings.SettingsProvider.enforceWritePermission(SettingsProvider.java:1793)
at com.android.providers.settings.SettingsProvider.mutateGlobalSetting(SettingsProvider.java:974)
at com.android.providers.settings.SettingsProvider.insertGlobalSetting(SettingsProvider.java:948)
at com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:359)
at android.content.ContentProvider$Transport.call(ContentProvider.java:401)
at com.android.providers.settings.SettingsService$MyShellCommand.putForUser(SettingsService.java:387)
at com.android.providers.settings.SettingsService$MyShellCommand.onCommand(SettingsService.java:285)
at android.os.ShellCommand.exec(ShellCommand.java:96)
at com.android.providers.settings.SettingsService.onShellCommand(SettingsService.java:51)
at android.os.Binder.shellCommand(Binder.java:597)
at android.os.Binder.onTransact(Binder.java:495)
at android.os.Binder.execTransact(Binder.java:700)
I have found a solution!!!
Answer in this particular case is that to be able to change permissions man must change option in developer menu to allow granting permissions!
Getting same error.. it required write permission...
You can try this commands
adb shell pm grant com.android.chrome android.permission.WRITE_SECURE_SETTINGS
adb shell settings put global policy_control immersive.full=com.android.chrome
Enable write permission and then run immersive command.
Let me know if it works.
You can use tasker/automagic, which has been granted write secure permission. Then create a profile/trigger with the app Chrome, action turn on the immersive mode. I use Automagic and the example is here
{
"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"
}
When you scroll up, the url bar also hidden. If you swipe from top or bottom, the status bar and navbar appear as in the right one. You can choose to hide the statbar only, navbar only or both.
SunilSuni said:
Getting same error.. it required write permission...
You can try this commands
adb shell pm grant com.android.chrome android.permission.WRITE_SECURE_SETTINGS
adb shell settings put global policy_control immersive.full=com.android.chrome
Enable write permission and then run immersive command.
Let me know if it works.
Click to expand...
Click to collapse
Nope!
Didn't worked!
Here is the shell list:
adb shell pm grant com.android.chrome android.permission.WRITE_SECURE_SETTINGS
Operation not allowed: java.lang.SecurityException: grantRuntimePermission: Neither user 2000 nor current process has android.permission.GRANT_RUNTIME_PERMISSIONS.
Desmanto said:
You can use tasker/automagic, which has been granted write secure permission. Then create a profile/trigger with the app Chrome, action turn on the immersive mode. I use Automagic and the example is here
When you scroll up, the url bar also hidden. If you swipe from top or bottom, the status bar and navbar appear as in the right one. You can choose to hide the statbar only, navbar only or both.
Click to expand...
Click to collapse
First let me thank You!
Second, my intention is to enable this on system level, without any kind of utility. If this is not possible, then i will probably give up, on my shame :silly:
Jehonan said:
Nope!
Didn't worked!
Here is the shell list:
adb shell pm grant com.android.chrome android.permission.WRITE_SECURE_SETTINGS
Operation not allowed: java.lang.SecurityException: grantRuntimePermission: Neither user 2000 nor current process has android.permission.GRANT_RUNTIME_PERMISSIONS.
Click to expand...
Click to collapse
Ok, we all want to achieve the solution with the minimum footprint. Xiaomi's phones all have additional security for the usb debug. You have to enable the USB debugging (security settings) first (below the USB debugging) to be able to grant write secure permission, adb input and similar command. To enable it, you have to login first using your Mi Account, then pass thru the 3 times prompt and OK. Then try your adb shell command again, it should works fine now (command successful, or no error shown).
Desmanto said:
Ok, we all want to achieve the solution with the minimum footprint. Xiaomi's phones all have additional security for the usb debug. You have to enable the USB debugging (security settings) first (below the USB debugging) to be able to grant write secure permission, adb input and similar command. To enable it, you have to login first using your Mi Account, then pass thru the 3 times prompt and OK. Then try your adb shell command again, it should works fine now (command successful, or no error shown).
Click to expand...
Click to collapse
Heh, sadly after reboot all changes are history
So at least for now, no luck
Jehonan said:
Heh, sadly after reboot all changes are history
So at least for now, no luck
Click to expand...
Click to collapse
It seems my post yesterday vanish...
Your last resort is Automation app. You can try most of them first to see if it fits your need. I personally use Automagic. A simple flow with App Task Started : Chrome and Action Set Immersive Mode - without navigation. And another flow to reset it.
I have used about 40+ active flows, and still managed to get about 10+ hours SOT. So the app almost doesn't drain any battery. But it has helped throughout my daily activities, can't imagine my daily life without it anymore.

[MAGISK]Notch Killer - Videos and Apps ignores the notch

I couldn't find a working module for the 7T so I created one.
What it does?
In apps like Netflix and Full-screen games the screen stretches only until it reaches the notch.
This module basically allows to ignore the notch and stretch the display around it.
Netflix example:
Before:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
After:
Click to expand...
Click to collapse
Instructions:
Download the attached zip and extract the NotchKillerOOS Directory.
Move the NotchKillerOOS directory into your phone.
Using ROOT explorer like "ES file explorer" move the folder into /data/adb/modules
Reboot your device
Go to the Developer options, click on "Display cutout" and choose "Notch killer!"
Please report any bugs.
Enjoy
Not working for me.
QbaxPl said:
Not working for me.
Click to expand...
Click to collapse
You got any error?
Wrong behavior?
Happens on a specific app?
Please explain the issue you're having.
I dont have option to choose Notch killer in Dev options.
I followed your instructions and now I have a Notch Killer Magisk module enabled and after a reboot I went to developer settings--> display cutout
There wasn't any option like Notch Killer
Please see attached screenshot
QbaxPl said:
I dont have option to choose Notch killer in Dev options.
Click to expand...
Click to collapse
MrGimpGrumble said:
I followed your instructions and now I have a Notch Killer Magisk module enabled and after a reboot I went to developer settings--> display cutout
There wasn't any option like Notch Killer
Please see attached screenshot
Click to expand...
Click to collapse
Hi please try the following steps:
1. Uninstall the NotchKillerOOS module.
2. Download the new zip that is attached to this message.
3. Extract the zip and move it to your phone.
4. Move the NotchKillerOOS directory to /data/adb/module
5. Make sure that the file structure is like the following "/data/adb/modules/NotchKillerOOS/system/product/overlay/DisplayCutoutEmulationTall/DisplayCutoutEmulationTallOverlay.apk"
and NOT like:
"/data/adb/modules/NotchKillerOOS/NotchKillerOOS/system/product/overlay/DisplayCutoutEmulationTall/DisplayCutoutEmulationTallOverlay.apk"
6. Go to Magisk manager and make sure that the module is enabled.
7. Reboo the phone and try again.
If you still have problems, please send me your "DisplayCutoutEmulationTallOverlay.apk" file that is located under /product/overlay/DisplayCutoutEmulationTall.
(The one that is on your phone, not the one that came with the module).
Let me know if it works.
yaaria said:
Hi please try the following steps:
1. Uninstall the NotchKillerOOS module.
2. Download the new zip that is attached to this message.
3. Extract the zip and move it to your phone.
4. Move the NotchKillerOOS directory to /data/adb/module
5. Make sure that the file structure is like the following "/data/adb/modules/NotchKillerOOS/system/product/overlay/DisplayCutoutEmulationTall/DisplayCutoutEmulationTallOverlay.apk"
and NOT like:
"/data/adb/modules/NotchKillerOOS/NotchKillerOOS/system/product/overlay/DisplayCutoutEmulationTall/DisplayCutoutEmulationTallOverlay.apk"
6. Go to Magisk manager and make sure that the module is enabled.
7. Reboo the phone and try again.
If you still have problems, please send me your "DisplayCutoutEmulationTallOverlay.apk" file that is located under /product/overlay/DisplayCutoutEmulationTall.
(The one that is on your phone, not the one that came with the module).
Let me know if it works.
Click to expand...
Click to collapse
Yeah bro, I can confirm it works. But there's a slight problem, the icons on the status bar tends to hide behind the notch, any way to make them hide as they reach towards the notch? (like they do in the default notch mode)
Minimilised_MR said:
Yeah bro, I can confirm it works. But there's a slight problem, the icons on the status bar tends to hide behind the notch, any way to make them hide as they reach towards the notch? (like they do in the default notch mode)
Click to expand...
Click to collapse
Unforchently for now, I cannot change the location of the status bar icons and text.
So you can switch between the mods whenever you need them.
yaaria said:
Unforchently for now, I cannot change the location of the status bar icons and text.
So you can switch between the mods whenever you need them.
Click to expand...
Click to collapse
I think it is possible to automatically set it on/off with the desired apps using Tasker. But I didn't test it yet, just thinking it'll work.
Sent from my OnePlus7T using XDA Labs
Sharing in case people who use this module would like to automate using tasker.
Use following shell command:
Enable
Code:
cmd overlay enable --user 0 com.android.internal.display.cutout.emulation.tall
Disable
Code:
cmd overlay disable --user 0 com.android.internal.display.cutout.emulation.tall
Enjoy fullscreen!
Is there any way I can use it without root (magisk) by ADB?
Thank you bro it works on my Rooted OP7T.
side note....
If you download systemuituner and turn on immersive mode it makes ur module PERFECT!!
Again thank u.... @yaaria
ryantf420 said:
Thank you bro it works on my Rooted OP7T.
side note....
If you download systemuituner and turn on immersive mode it makes ur module PERFECT!!
Again thank u.... @yaaria
Click to expand...
Click to collapse
Good to know, thank you
I have followed instructions but no way to see option notch killer in developer options under cutout...
Magisk see module, properly extracted files like u adviced...
Any ideas? Want to watch Netflix without notch
Posted using OnePlus 7T via Tapatalk
the bottom option translates to high notch. select the bottom option should be good if followed file instructions...
Oh... I was looking for "Notch Kill" not translated to Polish hehe. I selected very bottom which means like "high cutout" option and it's working. Thank you so much.
Posted using OnePlus 7T via Tapatalk
Riski3Run said:
Oh... I was looking for "Notch Kill" not translated to Polish hehe. I selected very bottom which means like "high cutout" option and it's working. Thank you so much.
Posted using OnePlus 7T via Tapatalk
Click to expand...
Click to collapse
no problem ?
---------- Post added at 02:27 PM ---------- Previous post was at 02:25 PM ----------
I personally enjoy using "systemuituner" app immersive mode "full" with this module. Its a really good combo!!! ?
Systemuituner is just app or another Magisk module?
Posted using OnePlus 7T via Tapatalk
Riski3Run said:
Systemuituner is just app or another Magisk module?
Posted using OnePlus 7T via Tapatalk
Click to expand...
Click to collapse
App located here on Xda....
These are some example screenshots of notch killer and Systemuituner immersive mode on together.. No status bar until u touch top.
I love it.
all screen!!! ?

Categories

Resources