Themes / Apps / Mods (Depreciated) RAM PLUS FOR SAMSUNG GALAXY F62 - Samsung Galaxy F62 / M62

{
"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"
}
OFFICIAL TELEGRAM
Samsung Galaxy F62/M62 | Discussion
Official Global Discussion & Support group for Samsung Galaxy F62/M62. Our Official Channels: Updates: @SamsungGalaxyF62Updates Discussion: @SamsungGalaxyF62Discussion
t.me
Samsung Galaxy F62/M62 | OFFICIAL
Official Discussion group for ➤
Samsung Galaxy F62/M62
Official Channels & Groups ➤
• Updates : @SamsungGalaxyF62Updates
• Off-Topic : https://t.me/SamsungGalaxyF62Discussion
--++INTRODUCTION++--​
Users can enjoy enhanced performance for RAM-intensive games or photo and video editing mobile applications, and a smoother experience while running multiple mobile applications simultaneously thanks to virtual RAM Expansion.
Silently, the Korean tech giant has introduced the virtual RAM extension functionality, which brings up to 4GB of additional space to the smartphone. To be noted, the Galaxy A52s received Samsung RAM Plus feature along with a new firmware update, which makes RAM expansion possible. Makers are now extending it through software updates.
We had wondered at the time if RAM Plus would come to more Galaxy devices, and it looks like it will. RAM Plus was included in a software update for the Galaxy A52 5G recently, and while we thought it would only be available on the company’s mid-range and budget phones, that’s not the case. We can enable this feature now on this new bike device Samsung galaxy F62
After following this tutorial you can check if RAM Plus is available on your Galaxy device by opening the Settings app, going into the Battery and device care submenu, and tapping Memory.
REQUIREMENTS:​To Enable WRITE_SECURE_SETTINGS you will need a pc or if you are rooted you can follow root method .​For windows users = Working ADB and Usb Debugging Enabled.
For Rooted Users = Terminal Emulator (available in Google play store for free)
SetEdit (Settings Database Editor) - IMPORTANT APP (APP SHOULD NOT BE REMOVED AFTER MODDING)​
INSTRUCTIONS (ROOTED METHOD)​First steps you need to download and open the SetEdit Database editor app and open it.​Now as default it is “GLOBAL TABLE” and tap +ADD SETTINGS and you can see it is asking for WRITE_SECURE_SETTINGS permissions.
Now Download any Terminal Emulator and grant it necessary root permissions when asked.
*TYPE “SU” IN TERMINAL EMULATOR TO GRANT ROOT PERMISSIONS.
Copy the code below and paste it into terminal emulator to give it WRITE_SECURE_SETTINGS permissions.
Code:
pm grant by4a.setedit22 android.permission.WRITE_SECURE_SETTINGS
After applying this code open back the SetEdit App and now you can see it won’t ask for WRITE_SECURE_SETTINGS Permissions again.
Now tap the +Add New Setting button and name the setting as “ram_expand_size” and tap save changes and next it will show SETTINGS_VALUE remove this name and put this decimal “4096” now tap save changes that’s it. close the app and now by opening the Settings app, going into the Battery and device care submenu, and tapping Memory. ​
INSTRUCTIONS (WINDOWS METHOD “ADB")​1. Enable developer mode: go to android settings => about phone and look for the build number option. Touch it multiple times until developer mode is enabled.​2. Enable USB debugging: go to android settings => developer options and look for USB debugging and enable it​3. Install adb on your computer: check out this for a quick way to do this. At the bottom of the link you’ll find links for adb downloads for each system. Download it and extract it to “C:\adb”​4. Connect device with computer: connect your device with your computer and look at your phone. A prompt may show up asking you to allow debugging by your computer. Accept this.​5. Open command prompt: go to the fodler where you have extracted adb to and open your command prompt from within this folder. Simply open your command (press windows key, type cmd and press enter) and go to the folder where you have extracted adb to like following:​
Code:
cd C:\adb
6. Grant permission: Insert following command in the command prompt:​
Code:
adb shell pm grant by4a.setedit22 android.permission.WRITE_SECURE_SETTINGS
​Now tap the +Add New Setting button and name the setting as “ram_expand_size” and tap save changes and next it will show SETTINGS_VALUE remove this name and put this decimal “4096” now tap save changes that’s it. close the app and now by opening the Settings app, going into the Battery and device care submenu, and tapping Memory. ​​That’s it now you got the new Samsung Ram Plus Feature and don’t uninstall the SETEDIT App if u uninstall the app it will remove the ram expand string.​

I did everything as per your non rooted instructions. I know to use adb well. No errors occurred. The set edit app also shows my new setting added in the list but the memory still shows 8gb.
Is there anyone else who has managed to do this without root?

reis1996 said:
I did everything as per your non rooted instructions. I know to use adb well. No errors occurred. The set edit app also shows my new setting added in the list but the memory still shows 8gb.
Is there anyone else who has managed to do this without root?
Click to expand...
Click to collapse
It's virtual ram and DOSEN’T show up in actual ram. So your ram will be as like manufacturer but virtual ram is used when actual ram is filled

Hi RC, thank you so much for the info, it worked well.

I did this but not sure if its working or not. Any way to confirm this?
Btw cmd prompt gave me "adb.exe: no devices/emulators found" messages after writing down the secure setting string permission

KomitaMKD said:
I did this but not sure if its working or not. Any way to confirm this?
Btw cmd prompt gave me "adb.exe: no devices/emulators found" messages after writing down the secure setting string permission
Click to expand...
Click to collapse
rarely the extra ram plus is used btw. so the ramplus is only used when your ram gets filled up. you can download app called "Ram Fill Memory" and give it a try. or u can try apps like ram truth for ramplus usge

KomitaMKD said:
I did this but not sure if its working or not. Any way to confirm this?
Btw cmd prompt gave me "adb.exe: no devices/emulators found" messages after writing down the secure setting string permission
Click to expand...
Click to collapse
kill and restart adb server

Related

[TOOL] DirectoryBind - move data to external_sd (GameLoft, Shadowgun etc.) ROOT req.

Hi all !
This is my application to bind directories located on external_sd to directories on internal memory (/sdcard/). This way You can transfer large application data directories to external_sd. Could be usefull with ex.: games from Gameloft, other like Shadowgun, applications like CamScanner.
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"
}
Features:
* Requires ROOT !
* Aimed at specific functionality and features (not idiot-proof)
* You can create any number of Data -> Target directory pairs, mount them manually or choose to mount them on system boot (checkbox does that).
* On/Off switch controls whole mount-on-boot function.
* Diskette icon indicates if mount operation was successful, by taping it You can mount/umount entry.
* Icon changes if application is using mounted entry
* DirectoryBind can tell what application is using this entry (tap at entry in use)
* Long tap on entry (disabled) brings edit/delete window
* App auto umount all entries on USB connected and remount after USB disconnected (for now via BroadcardReceiver UMS_CONNECTED / UMS_DISCONNECTED)
* App shows notification and vibrates if auto umount on USB fails
* If mounting all checked entries (ex. on boot) app is waiting specified time (def. 60 sec) if data directory is not available (happens sometimes at boot)
* Tested sucessfully with Asphalt 6, Shadowgun, DeadSpace, CamScanner
Color statuses:
* GRAY - entry disabled
* RED - mount failed
* BLUE - waiting for data availability
* GREEN - mounted OK
version 0.2.0k
* fixed FC if screen orientation changes during copy/delete
* more extensive logging
version 0.2.0m
* ?? fixed problem with entries marked green on boot, but not mounted (repotred by stone_ship)
* ?? fixed problem with random FC on ICS (reported by Thomas)
version 0.2.0n
* auto create target directory action moved from "bind" action to "add/edit entry" action due to possible problems when data outside "/sdcard"
version 0.2.0o
* added option to control if mount service is run as sticky
*** for now older version kept in case I broke something ***
please do not test data transfer files features on sensitive data they seem to work OK but are not throughly tested
Compiled using API android 2.3.3. Attached as self-signed development apk package. No market link for now.
important info
* Remember ! All entries must be umounted before attempting to use MASS STORAGE MODE. Application will try to do it automatically on USB CONNECT. If it fails and You'll use MASS STORAGE MODE sdcard partition WILL CRASH and reboot will be required to restore normal operations ! Main cause of that is appplication using mounted folder. You have to close that application and retry to umount entry.
* This application requires *root privileges* so it has full control over entire system! Uses root privileges to invoke "mount", "umount", "lsof" and "grep" shell commands via su and it DOES NOT write anything on system partitions.
It DOES NOT apply any permanent changes to the OS, however I cannot guarantee it does not contain BUGS and security issues. I'm not responsible to any damage it can cause. Use it AT YOUT OWN RISK !
application permissions explained
WRITE_EXTERNAL_STORAGE - application automatically creates target path, copy existing files from target to data
RECEIVE_BOOT_COMPLETED - application can perform automatic bind on boot
VIBRATE - application creates notification alert with vibrations when cannot umount all locations on USB connect
READ_LOGS - dump own logcat to file
*ROOT* - invoking "mount", "umount", "lsof" and "grep" commands via su
BUGS REPORTING
As every program can contain bugs so this one too. I'm very grateful if someone find and report a bug. No report will go unattended and I'll look into each case. There is just one thing, often report even very detailed is not enough so application has built in logging (logcat) capability - it can be enabled in Preferences.
Logcat can be dumped to file from main app window: menu -> dump logcat to file
So when reporting bug please attach that file to Your post
Regards !
Slig
!!! IF YOU HAVE ISSUE WITH ENTRIES DISAPPEARING AFTER REBOOT !!!
1. In preferences check "alternate dbase mgmt" and try again
2. Report in this thread with informations
- does "alternate dbase mgmt" help ?
- are you using any taskkiller
- what ROM are you using
I need to know how many people have this issue, maybe it would be good to make "alternate dbase mgmt" default mechanism.
Sorry for that but I'm still learning and doing by best to make this app as much compatible and usable as possible. This is my first public app for android
Moved to "Themes and Apps" section.
Great Tool - but a bit too restrictive
Hi Slig,
I was just scanning the net for such a tool. Alread startet to write my on mounting script and using tasker to swich it on or off. But your tool is much more comfortable. (As a newbi I haven't got it right to unmount a binded directory - always got an error from script manager, maybe someone can explain this as well .. )
I just have an urgent question: I am using a SGSII (that sounds good) and the cyanogenmod 7. And here starts the problem: This mod is not mounting the external SD Card to /sdcard/external_sd.
So I want to mount /mnt/emmc/ to /sdcard/external_sd and some other things like the Gameloft folders as you did etc.
But I always get error "enter valid source directory" - probably because of your limitation to start every dir with /sdcard - so, can you implement an option for advanced users to turn this off?
Otherwise this tool can not be used by myself - which would be a pitty.
Kind regards and thank for the good job - even if it doesn't work with my configuration.
ret-law
I'll post next version with Your suggestions. There is one more problem I have to correct, sometimes mount on boot fails. Look like external sd card is not ready when app tries to bind. I'm on it now.
looks promising keep up the great job dude
Added version 0.1.3m. I'll add some more configuration options in next releases. Of course it is still in pre-pre-alpha state.
Just what i needed seems to be working perfectly so far. Great app mate, thanks.
Thank you!!!!
Finally I found a good app to move the data of gameloft games, thank you very much, great job!!!!!
Added another update - now appliction indicates by icon in list if entry is in use by some other application (requires busybox).
Another update Added preferences window, now several options are configurable plus some minor fixes and improvements.
slig said:
Another update Added preferences window, now several options are configurable plus some minor fixes and improvements.
Click to expand...
Click to collapse
This just keeps getting better, thanks slig. Gameloft and copilot moved so far. Gave me 5gb back
+ 1
Hey slig, any chance of an option to edit an entry on long press (along side delete) and an option to set the default paths. I.e I have mine in /sdcard/external_sd/sd-binds so it would save me from typing sd-binds/ each time.
Thanks for your time
OK, I'll add this in next release.
Thanks slig, appreciate it
Hi all !
New version posted. App has grown a little. Any bug reports appreciated
And HAPPY NEW YEAR
Regards !
Thanks again and cheers happy new year too. Just downloaded 0.1.7g
Edit: works great, just renamed my entries and changed default path and created new entry , nice one!
Is there auto recognize
( auto mount and dismount ) while usb mass storage connected or disconected
Added next version. This one introduces directory browser so no more need to manually enter path.
cloud596 said:
Is there auto recognize
( auto mount and dismount ) while usb mass storage connected or disconected
Click to expand...
Click to collapse
Yes, but application detects usb cable connect event (not enter mass storage mode) so all dismounts are performed on USB connect. Warning is displayed if application fails (read 1st post for more details).
Directory browser addition is bloody cool slig

[TOOL][ADB][ROOT] Windows Android Commander USB-WIFI File Manager built-in AUTO ADB

Android Commander - Windows ADB USB/WIFI FULL FEATURE ROOT EXPLORER
​This is the very finest full featured automatic ADB file explorer for your phone which allows you to access
and use all of the functions of your phone including ROOT directly from your windows computer.
You don't even need to know any ADB commands to use ADB functions since they are all automated​
No more need to flash ZIP files including ROMS and installing APK's using your phone.
Now it all can be done right from your Windows computer using Android Commander.​
If you would like to check it out, here is the direct download link: Android Commander
Check out this screen capture of what Android Commander looks like
{
"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"
}
NOTICE: This is NOT a flashable zip or an APK - This is a Windows application.
With some phone models you may need to download ADBD Insecure from the Play Store.
Here is the play store download link: https://play.google.com/store/apps/details?id=eu.chainfire.adbd
After it's installed open the app and click on "Enable insecure adbd" before using android commander.
If you like this program please consider giving the developer panpiotrm a PayPal donation.
Click HERE to donate and be sure to visit his website at: http://androidcommander.com
Please note: I am not the developer of this fine program.
Here is a list of all of the features and options​
Multi device support easy switching between devices
USB Mode
WiFi Mode
No Device Mode
create logcat
virtual input
Device Info window
android files/dirs properties window
change files and dirs permissions from properties window
toolbar search in maps and market on the phone
open url in phone browser
address tabs
bookmarks in extended window
search on web android market button in app info window
delete multiple files/dirs in win tab
sort by date in win tab and installer
remove apk association
signing files from context menu in win tab
customisable lists in program settings, you can change font size, colour position
progress bar on windows (win7/8)
copy multiple files/dirs between Device and PC
copy multiple files/dirs between Device folders
delete multiple files/dirs from Device
drag&drop multiple files/dirs from and to program
drag&drop files/dirs between program tabs
files/dirs properties
edit files/dir permissions
create bookmarks
new dir and rename options
batch/single apps install
install as private
install as update
install as system app
batch/single uinstall apps
uninstall system apps
uninstall and keep app data
batch/single apps backup to any dir on Device/PC
app details
search app on Web
full windows integration
search apps in device
search location on device Google Maps
open URL in device browser
device ROM partitions
battery checker
run any shell command
run sh script from PC
messages coloring
message type filter
flash any zip update/ROM/mod from PC
flash recovery/boot/system/userdata/cache image from PC
emulate device keys
send text to device text field
sign any zip file
sign any apk file
program explorer integration
reboot, reboot to recovery, reboot to bootloader, power off device
screenshots
Phone Requirements:
ADB ROOT Access
BusyBox
Settings->Applications->Development->USB debugging” must be enabled
USB Cable
Computer Requirements:
Windows XP/Vista/7/8
ADB USB Driver
Java JDK
-------------------------------------------------------------------------------------------------
Be sure to give the developer of this app a big thanks and
if you like his work please support him by give a donation.
I use to love the crap out of this thing and used it daily. Definitely legit and definitely a have to have item for people. Easy to use and beyond useful. Great stuff.
I'm glad to see it back. The website and it was gone for a little while.
re: Android Commander
ShinySide said:
I use to love the crap out of this thing and used it daily. Definitely legit and definitely a have to have item for people. Easy to use and beyond useful. Great stuff.
I'm glad to see it back. The website and it was gone for a little while.
Click to expand...
Click to collapse
I really like it too, I have never seen anything even similar to it.
Do you happen to know any other windows file explorers which are even somewhat similar?
(not counting the wifi apps from the playstore which uses internet for basic & slow file copy)
As far as anything close to ADB Commander? No I dont. I know of these, which more just an adb with a easy friendly ui. But nothing even close to AC and its file manager and ui
http://forum.xda-developers.com/showthread.php?t=2237530
http://forum.xda-developers.com/showthread.php?t=2448464
http://forum.xda-developers.com/showthread.php?t=2248920

[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

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.

How To Guide [HOW TO] Restore WiFi and Cellular Data in Quick Settings (Root Required)

Unhappy with the new Internet Settings Quick Settings tile?
You can restore the old WiFi and Cellular Quick Settings tiles by running the following adb command (root required):
Edit: Seems the November update broke this, however, credit to raimondas-rimkus who has found a workaround! Post here.
Inject this setting first:
adb shell settings put global settings_provider_model false
Then run this command:
adb shell settings put secure sysui_qs_tiles "wifi,cell,$(settings get secure sysui_qs_tiles)"
Enjoy!
Yeh, I'm not a fan of that new internet tile! Will be changing it via adb... Cheers
I'm rooted on my P6 Pro and this didn't work for me. Worked for me on my 4XL though.
Cares said:
I'm rooted on my P6 Pro and this didn't work for me. Worked for me on my 4XL though.
Click to expand...
Click to collapse
ditto and i didn't know how to revert, it f*d up my whole tile layout just reflashed.
Pixel 4a 5G here.
Did the update to Android 12, and immediately adb'd my tiles back, worked fine.
2 days later I got the November 5 Update, now the settings are gone.
Tried again, this time without any effect. Seems like Google strengthened their grip around their users ***** (phones).
I think I managed to bypass the "fix" that was introduced in November 5 update.
The code that removes the tiles: https://cs.android.com/android/plat...temui/qs/customize/TileQueryHelper.java;l=124
This checks for "settings_provider_model" feature flag in build.props. Overriding of these flags is allowed thru Developer Options -> Feature Flags. Sadly no feature flags are shown there as of now.
BUT, we can still inject this setting:
adb shell settings put global settings_provider_model false
Now running the original adb command will work:
adb shell settings put secure sysui_qs_tiles "wifi,cell,$(settings get secure sysui_qs_tiles)"
I used the following to get a Wifi tile using Tasker and some other tools: https://www.xda-developers.com/bring-back-wifi-toggle-quick-settings-android-12-tasker-project/
raimondas.rimkus said:
I think I managed to bypass the "fix" that was introduced in November 5 update.
The code that removes the tiles: https://cs.android.com/android/plat...temui/qs/customize/TileQueryHelper.java;l=124
This checks for "settings_provider_model" feature flag in build.props. Overriding of these flags is allowed thru Developer Options -> Feature Flags. Sadly no feature flags are shown there as of now.
BUT, we can still inject this setting:
adb shell settings put global settings_provider_model false
Now running the original adb command will work:
adb shell settings put secure sysui_qs_tiles "wifi,cell,$(settings get secure sysui_qs_tiles)"
Click to expand...
Click to collapse
I can confirm this worked for me.
raimondas.rimkus said:
I think I managed to bypass the "fix" that was introduced in November 5 update.
The code that removes the tiles: https://cs.android.com/android/plat...temui/qs/customize/TileQueryHelper.java;l=124
This checks for "settings_provider_model" feature flag in build.props. Overriding of these flags is allowed thru Developer Options -> Feature Flags. Sadly no feature flags are shown there as of now.
BUT, we can still inject this setting:
adb shell settings put global settings_provider_model false
Now running the original adb command will work:
adb shell settings put secure sysui_qs_tiles "wifi,cell,$(settings get secure sysui_qs_tiles)"
Click to expand...
Click to collapse
Thanks a lot! This worked. I will update the OP with this info and give you credit
This worked for me but I'm pretty sure I had to edit my Quick Navigation settings to actually add the toggle to the list.
For the longest time, I thought it never worked until I saw a video about an .apk that adds the Wi-fi toggle and they said to edit the Quick Navigation settings to actually add the Wi-Fi toggle to the Quick Navigation list. :/
Worked for me as well (after rebooting).
Note that you must have 'adb shell settings put global settings_provider_model false', otherwise it will not work.
It works immediate ! For 6 Pro
Perfect, this worked for me.
It works for me as well but Idk why I've got this error:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
asdor said:
It works for me as well but Idk why I've got this error:
View attachment 5471923
Click to expand...
Click to collapse
Use Command Prompt (CMD) instead of PowerShell. There's a way to get commands to work in PowerShell but I never remember how.
Hurray! Great. But I always used PowerShell for all my previous phones as well as for rooting my current Pixel 6 Pro and there were no issues.
Thank you!!!
asdor said:
Hurray! Great. But I always used PowerShell for all my previous phones as well as for rooting my current Pixel 6 Pro and there were no issues.
Thank you!!!
Click to expand...
Click to collapse
You're welcome! Glad it's something easy. Me too (ADB/Fastboot used to work as is in PowerShell). I think Microsoft changed PowerShell enough over the last several years that made regular old commands require some extra characters typed before the commands to get them working.
Maybe it was a security enhancement to PowerShell so that if you're meaning to type a PowerShell command and there's an executable in the same folder by the same name as the PS command, then it's not accidentally running the executable instead, and makes you type extra characters since that's far less likely to be an accident.
There's also the wonderfully neat official Microsoft Terminal app in their store. You can have mix and match of Command Prompt and PowerShell in separate tabs in the same window. I think it has other features as well.
roirraW edor ehT said:
You're welcome! Glad it's something easy. Me too (ADB/Fastboot used to work as is in PowerShell). I think Microsoft changed PowerShell enough over the last several years that made regular old commands require some extra characters typed before the commands to get them working.
Maybe it was a security enhancement to PowerShell so that if you're meaning to type a PowerShell command and there's an executable in the same folder by the same name as the PS command, then it's not accidentally running the executable instead, and makes you type extra characters since that's far less likely to be an accident.
There's also the wonderfully neat official Microsoft Terminal app in their store. You can have mix and match of Command Prompt and PowerShell in separate tabs in the same window. I think it has other features as well.
Click to expand...
Click to collapse
In powershell:
./adb shell settings put global settings_provider_model false
./adb shell settings put secure sysui_qs_tiles "wifi,cell,$(settings get secure sysui_qs_tiles)"
bouchigo said:
In powershell:
./adb shell settings put global settings_provider_model false
./adb shell settings put secure sysui_qs_tiles "wifi,cell,$(settings get secure sysui_qs_tiles)"
Click to expand...
Click to collapse
Ah yes, thank you. dot forward-slash. dot forward-slash. Hopefully, I remember.
I hope someone finds a way to do this fro non-rooted 6 Pro

Categories

Resources