[CMD][A11]ADB Shell Commands For Blurred SystemUI, Pixel Signal Bars & Animation/Transition Speed 0.25 - Sony Xperia 1 Themes, Apps, and Mods

Hello People
Since a couple of days we have finally Android 11 for our xperia 1,
I searched the last days some on the internet and found these usefull ADB Shell Commands
# Blurred SystemUI
# Pixel signal bars
# Animation/Transition speed
What you need:
CMD window on your pc
Termux on your phone
(download in playstore)
Root
1: Blurred SystemUI
Open termux
Type: su
Grant root permissions
Type: resetprop ro.surface_flinger.supports_background_blur 1
Then type: pkill -TERM -f com. android.systemui
Then your device will reboot
Tadaa there you have Blurred SystemUI
(See attachment)
2: Pixel Signal Bars
Open cmd window on your pc
(hold shift + left mouse click)
Type:
1: adb shell cmd overlay enable com.android.theme.icon_pack.circular.systemui
2: adb shell cmd overlay enable com.android.theme.icon_pack.circular.settings
3: adb shell cmd overlay enable com.android.theme.icon_pack.circular.android
Reboot
3: Animation & Transition 0.25 speed
Open cmd window on your pc
(hold shift + left mouse click)
Type:
1: adb shell settings put global window_animation_scale 0.25
2: adb shell settings put global transition_animation_scale 0.25
3: adb shell settings put global animator_duration_scale 0.25
Reboot
Credits: Reddit & Niaboc79

res

:사랑:

Related

Uninstalling an APK via command prompt?

I found this website: http://www.androidkit.com/steps-to-install-and-uninstall-apk-file-on-android-g1-device
Section 3: Uninstalling the .apk file from the G1 device before installing the same .apk again.
1. In the G1 Phone, Go to Applications Menu ->Settings->Manage Applications.
2. Select the application which you want to Uninistall, and click on the ‘Uninstall’ button.
3. Follow steps 6 and 7 of Section 1.
Section 4: Uninstalling the .apk file (from the Device or Emulator) using adb shell.
There is an adb uninstall command which always shows Failure!!!
Using adb shell :
Important: The device has to be unplugged from USB if you are trying to uninstall from the emulator, else emulator should not be open and device needs to be plugged in the USB of the PC if you are trying to uninstall from the G1 Device. If either of them are not connected the adb shell command will not work
Go to the shell and making sure adb is in PATH:
Go to shell (from cmd->adb shell or directly through a terminal)
#
#cd data
#cd app
#cd ls
You will get a list of installed application with the complete package name of the package containing the main activity. e.g com.company.product.apk
#rm com.company.product.apk
#cd ls
You will not find the application – you just removed it!.
Click to expand...
Click to collapse
So, when I type:
Cd Data
Cd App
Cd ls
in my command prompt I get:
cd: can't cd to ls
$
as a prompt feedback.
----
I found an .APK to enable my headphone adapter working ( see this thread: http://forum.xda-developers.com/showthread.php?t=575534 ) via this board ( see this thread: http://forum.xda-developers.com/showthread.php?t=511704 ), and if it doesn't work, I'm taking precautions on how to uninstall it.
Anyone know why it's doing this?
Thanks people.
Minifig said:
I found this website: http://www.androidkit.com/steps-to-install-and-uninstall-apk-file-on-android-g1-device
So, when I type:
Cd Data
Cd App
Cd ls
in my command prompt I get:
cd: can't cd to ls
$
as a prompt feedback.
----
I found an .APK to enable my headphone adapter working ( see this thread: http://forum.xda-developers.com/showthread.php?t=575534 ) via this board ( see this thread: http://forum.xda-developers.com/showthread.php?t=511704 ), and if it doesn't work, I'm taking precautions on how to uninstall it.
Anyone know why it's doing this?
Thanks people.
Click to expand...
Click to collapse
the command should be "ls" not "cd ls"
also, if you know the package name you could use adb: adb uninstall <package_name>
and if you're just trying to install an app that you already have (such as updating the app) you could use adb and not have to uninstall first with: adb install -r app_name.apk
OK.
I'm just going to make sure before I even install this thing:
http://code.google.com/p/toggleheadset/downloads/detail?name=ToggleHeadset.apk&can=2&q=
This is just a widget, so it won't replace anything in my phone..
If I can't find it on the shell command, I'll be able to uninstall it via the phone like the Date widget I have as well?
Right?

[Q] Install < install_parse_failed_no_certificates > Solved

Hello every one,
I am using the latest nightly bild from CM10.1 and I am trying to install GPSCountryOptimizer app with adb but all the time it give me error INSTALL_FAILED_INVALID_APK ?
Can anyone please explain me what do I need to do? Also tried to wipe devlik after copying the same app in system folder and setting permissions as well but no use.
Thanks.
sPEADy said:
Hello every one,
I am using the latest nightly bild from CM10.1 and I am trying to install GPSCountryOptimizer app with adb but all the time it give me error INSTALL_FAILED_INVALID_APK ?
Can anyone please explain me what do I need to do? Also tried to wipe devlik after copying the same app in system folder and setting permissions as well but no use.
Thanks.
Click to expand...
Click to collapse
check settings in Developer Options about adb. may be you do not have some check point there...
also uncheck <verify application> and check <unknown sources> and try again
gtdaniel said:
check settings in Developer Options about adb. may be you do not have some check point there...
also uncheck <verify application> and check <unknown sources> and try again
Click to expand...
Click to collapse
Thanks for your quick reply. I have checked USB Debugging, Debugging over network is unchecked, Apps over USB checking is unchecked.
It should be right or maybe I am wrong.
With the Following Process it worked out how to install the unsigned apps.
Here are a couple of different options to try.
For both options you will need to put the gallery apk into the same directory as your sdk install. (if you don't know what this is try to pull a file from your device and see where it ends up. Mine is /AndroidSDK/tools because I installed the SDK in the /AndroidSDK directory on my PC)
with all of the commands to type below ignore the single quotes (')
*Install from PC*
1) connect your phone and make sure adb can detect it.
- Launch command prompt
- Navigate to your sdk directory
- type 'adb devices' - you should now see your device listed.
2) Go back to the command prompt and type 'adb install [apk name.apk]
3) You should now see a success message, if you it fails try my other option below.
*Manually place APK into /system/app*
1) connect your phone and make sure adb can detect it.
- Launch command prompt
- Navigate to your sdk directory
- type 'adb devices' - you should now see your device listed.
2) push gallery apk to your sd card.
-type 'adb push [apk name.apk] /sdcard/[apk name.apk]
3) Launch a second command prompt
-type 'adb shell'
-type 'su'
-type 'mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system'
4) go back to first command prompt
-type 'adb shell'
-type 'su'
-type 'cd /system/app'
-type 'cp /sdcard/[apk name.apk] [apk name.apk]'
-command prompt will show 'cp /sdcard/[apk name.apk] [apk name.apk]'
-type 'exit' (this will get you out of su)
-type 'exit' again (this should get you out of adb shell)
-type 'exit' again (this should close the command prompt)
5) go back to first command prompt
-type 'exit' (this will get you out of su)
-type 'exit' again (this should get you out of adb shell)
-type 'adb reboot' (this will reboot your phone)
-type 'exit' again (this should close the command prompt)
You may not need to do this in 2 command prompts, but for some reason I've had issue using just one before.
one of these should work.
Thanks to ezun for so detailed post.
Having the same problem here with the PwnMyMoto rooting file. Thing is, the Droid maxx does not have a sd card. Should I just type "System" instead of sdcard in the command?

[Q] How Enable Hidden Languages ??

I tried to do what in http://forum.xda-developers.com/showthread.php?t=2281254
but my current default.xml file had all languages , but i only see 13 in settings
is there anyway to do it ?
am runing android 4.2.2 stock rom
Anyone ?
!!!!!!!!!!!! really ? no one !!!!!!!!!!!!!!!
enable hidden languages
mjrshark said:
!!!!!!!!!!!! really ? no one !!!!!!!!!!!!!!!
Click to expand...
Click to collapse
phone has to be rooted -- tested and working with HTC One X
1. boot in FASTBOOT and check CID , start cmd type
Code:
fastboot getvar all
2. start phone normally, enable usb debugging
3. start CMD type:
Code:
adb pull system/customize/CID/default.xml
4. rename saved file "default.xml" to "your_cid.xml" // my cid was HTC__Y13 so it will be HTC__Y13.xml
5. start CMD type:
Code:
adb push your_cid.xml/sdcard/
6. start CMD type:
Code:
adb shell
su (tap grant access on your htc screen)
mount -o remount,rw /system
cat /sdcard/your_cid.xml > /system/customize/CID/your_cid.xml
exit
exit
7. do factory reset
artur223 said:
phone has to be rooted -- tested and working with HTC One X
1. boot in FASTBOOT and check CID , start cmd type
Code:
fastboot getvar all
2. start phone normally, enable usb debugging
3. start CMD type:
Code:
adb pull system/customize/CID/default.xml
4. rename saved file "default.xml" to "your_cid.xml" // my cid was HTC__Y13 so it will be HTC__Y13.xml
5. start CMD type:
Code:
adb push your_cid.xml/sdcard/
6. start CMD type:
Code:
adb shell
su (tap grant access on your htc screen)
mount -o remount,rw /system
cat /sdcard/your_cid.xml > /system/customize/CID/your_cid.xml
exit
exit
7. do factory reset
Click to expand...
Click to collapse
thanks for answer after a year dont have HTC anymore , but maybe someone will read your answer and learn from it

Run Shell for Carrier Label

I'm running Dirty Unicorns ROM. It has an option for custom carrier label. When I run shell for "settings list system" the line custom_carrier_label=Verizon Wireless shows. I want to hide all notifications from the lock screen and have my carrier label show %SMS (variable for unread SMS) Message if %SMS>0. My code settings put system custom_carrier_label=%SMS Message in run shell doesn't work. If this is possible what am I doing wrong?
Sent from my Nexus 6P using Tapatalk
You probably need to restart systemui for the change to take effect.
To do that, run this shell command as root:
Code:
pkill -l TERM -f com.android.systemui
If your screen is on when this command runs, whatever you are doing well get interrupted by your lock screen.
To avoid being interrupted, add this action before the shell command:
Code:
Wait Until
%SCREEN ~ off
Also, your 'settings put ...' shell command needs to be run as root.
Depending on your ROM broadcasting
Code:
android.intent.action.CUSTOM_CARRIER_LABEL
might also work.

[GUIDE] [Termux | Linux | WSL | Mac OS] Network Unlock and Enable OEM Unlocking for the OnePlus Nord N100

Moderator Announcement: THREAD CLOSED as duplicate of
OnePlus Nord | N10 | N100 [TMO/MPCS] Network Unlock & Enable OEM Unlocking (April 19th, 2021)
1.) ADB access must be enabled -Tap build number 7 times until Developer Options are enabled 2.) Enable USB Debugging -For PC-less enable Wireless Debugging Optional if PC-less 3.) Go to Play Store or F-Droid and download Shizuku 4.) Tap...
forum.xda-developers.com
***********************
1.) ADB access must be enabled
-Tap build number 7 times until Developer Options are enabled
2.) Enable USB Debugging
-For PC-less enable Wireless Debugging
Optional if PC-less
3.) Go to Play Store or F-Droid and download Shizuku
4.) Tap Shizuku in Terminal Apps and configure the shizuku file reflect the terminal package is "com.termux" and Start Shizuku
5.) Navigate to where the shizuku and shizuku.dex files are andn enter
cat shizuku > $PREFIX/bin/shizuku && chmod 755 $PREFIX/bin/shizuku
cat shizuku.dex > $PREFIX/bin/shizuku.dex && chmod 755 $PREFIX/bin/shizuku.dex && shizuku sh
TADA Now you have an ADB Shell locally on your OnePlus. One last command to enter.
settings put secure device_provisioned 0
Either nothing is returned or one word 'Success'is the only way to confirm the command was executed properly.
If with computer :
adb shell settings put secure device_provisioned 0
Congratulations your phone is now Network Unlocked. But wait, there's more to this groundbreaking method.
To enable OEM Unlocking in the Developers Menu this is where things get chipote-cray
In your terminal (termux, bash) enter this command
git clone {Mod edit} ESGN && cd ./ESGN/;mkdir -p lists;mv '0 - Pending.sh' Asus.sh Google.sh LG.sh Motorola.sh OnePlus.sh Samsung.sh Xiaomi.sh AOSP.sh Carriers.sh Huawei.sh Miscellaneous.sh Nokia.sh Oppo.sh Sony.sh zte.sh ./lists && bash detox.sh
Enter accordingly to onscreen prompts and then exit the script.
For finalization of effects Enter
adb reboot-bootloader
Toggle for the Start option.
Go to Network and Sim and there is confirmation that the Network Unlock is persistent. Go to Developer Options and viola, the Enable OEM Unlock button is enabled again. This is also persistent. Make sure to leave enabled in case of accidental/intentional factory reset. Good job everyone.
To get unlock code for the OnePlus.com/unlock_token form Enter
adb reboot-bootloader && fastboot oem get_unlock_code
0day from Jay . This isn't cosmetic, this directly impact's the kernel and is thus persistent.
Support for this is located
{Mod edit}

Categories

Resources