Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

New answers tagged

0

First connect adb with usb then make connection in same network. Don't disconnect adb over usb. Now execute adb over tcp. If you are forwarding to some port means you have to disable firewall on that port. To disable firewall on port if you use linux. Open terminal or press ctrl+alt+t, Then try with these commands ufw allow port_number here replace this ...


0

adb push --sync /home/abc/ /sdcard/abc


1

You can use the overscan subcommand instead of size for achieving your objective. The syntax is adb shell wm overscan left,top,right,bottom, where left, top, right and bottom are the coordinates relative to the actual edges of the screen. So, in your case, you should write adb shell wm overscan 0,100,0,0, to get a resolution of 1080×1820, as you have ...


0

Better yet, check this link there root for Sharp Z3, only it is in Chinese language. The good thing is that I was able to download the files they use there because there is a link to do. Root Sharp Z3 Video Files Pass: uxcb


1

Is it technically possible to do a block-level (dd) backup of a file? - Yes Is it technically possible to do a block-level (dd) backup of a folder? - No


0

You can go to System settings⋙Apps, then click on the 3-dots ⋮ icon at the right-top corner of the title bar. Then, click on Reset app preferences, then click on OK.


0

I can not answer in comments nor edit previous answer, so i have to post here. If you already downloaded AdbWinApi.dll AdbWinUsbApi.dll fastboot_edl.exe and started EDL Mode with edl.cmd with no result, then try this 1) Turn off your phone. 2) Now plug one end of the USB Cable into the PC port and the other end does not connect to the phone. 3) Press the ...


0

If you have access only to fastboot you will need complete ROM (including BOOTLOADER and FULL SYSTEM) because ota upgrade can broke custom bootloader


0

You could use awk to spit out the answer you want. Here is a quick and dirty awk script I whipped up just now: adb shell dumpsys power | awk -F"[ =]" '/mWakefulness=/ { mw=$NF; } /mHoldingWakeLockSuspendBlocker=/ {mh=$NF;} END { print mw print mh }'


0

Well, the fastboot you are using is outdated. You need to install the latest platform-tools from Android SDK which has the latest fastboot binaries. This link will always give you the latest ADB & fastboot for Windows. For more information, here is how to install ADB and fastboot on Windows.


0

you have two problems. first, when bootloader is locked, you can not use fastboot. unlocking will wipe data. if bootloader is unlocked, you can just boot twrp without flashing (fastboot boot twrp.img). but then second, data partition is encrypted, and even if TWRP should be able to manage decryption, the pin is reqired. you have no other option than brute ...


0

Lol, I just set everything to 777 with su: x86_64:/ $ su x86_64:/ # chmod 777 /data/mi misc/ misc_ce/ misc_de/ x86_64:/ # chmod 777 /data/misc x86_64:/ # chmod 777 /data/misc/ adb/ cameraserver/ media/ ...


1

To manage the system and not give it root access, you neex to use a custom recovery. A custom recovery will allow you to backup your DATA & SYSTEM Partitions so thst you can restore everything easily and safely. The most common custom recovery in my opinion is TWRP or Team Win Recovery Project, this would be the newest most common in succession from ...


0

I had the same problem and solved it by changing the way of the connection between the phone and the PC. First I connected an old USB Extension cable between the USB cable from my phone to the PC, I tried it on a USB2 port and on a USB3 port. When entering fastboot devices it shows the number of the device and therefore an active connection, but trying to ...


0

Hardly It takes 2 days to find the answer and fixed. Error Reasons happened for me **OS some .dll files missing* *Os get erupted** I faced this type of error in my PC .So check and download the images file properly and install it. Now i currently working on the Android studios for the project. I do no the exact reason for the error . But tired this ...


5

I checked the Android source and the value shows your remaining battery capacity in microampere-hours. BATTERY_PROPERTY_CHARGE_COUNTER Added in API level 21 public static final int BATTERY_PROPERTY_CHARGE_COUNTER Battery capacity in microampere-hours, as an integer. Constant Value: 1 (0x00000001) Source - Developer.Android.com


2

You can accomplish with automation. Using Automate to demonstrate how to do it: Select the Broadcast Receive block. Click on it, in the Action section, select "Boot completed". Click Done. Select App Start block. Click on it, in the Package section, select the first app you wish to start at boot. Click Done. Select the Interact block. Click on it, in the ...


0

Android does have HTTP proxy support built-in that can be set through Settings and/or command line, but isn't global either and is regarded by proxy aware apps only. However there is no built-in support for SOCKS, so you can't set SOCKS5 proxy from adb shell or terminal emulator without using a third party tool / app. HOW PROXY WORKS: Proxification has two ...


0

You can achieve this using busybox inotifyd. Your kernel must be built with CONFIG_INOTIFY_USER=y for this to work. You can confirm with: ~# zcat /proc/config.gz | grep INOTIFY Or the existence of /proc/sys/fs/inotify directory. /proc/config.gz may not exist on all devices depending on kernel build configuration. Let's say /data/data/com.xyz/files/ is the ...


0

I found this(below) very helpful, also the app on Google play "network cell info" you will get all the details about what bands your phone uses, AND if there are cells compatible with it around you. Not all mobile operators are created equal... Big differences are to be expected. https://www.frequencycheck.com/carrier-compatibility/51zw4/vodafone-greece/...


1

Apparently there seems no reason for this, except the possible problem with line endings which often happens. On *NIX operating systems (including Android), lines end with Line Feed (LF; \n or 0x0A) while on DOS/Windows with Carriage Return + Line Feed (CRLF; \r\n or 0x0D0x0A). On Mac, only CR is the end-of-line marker. So some text editors may encode wrong ...


Top 50 recent answers are included