• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help Copy and Paste on Android

Thank you very much for your complete and clear answer. I've got another problem and I hope you won't be embarrassed. As you've mentioned, "there are about 20-25 other previously saved/copied items". Where can we see all these things at once? I mean how can we access the clipboard? Is it depend on the device model or the same method for all Android devices?

On my Samsung, I long press and tap clipboard.

Screenshot_2020-10-26-13-38-11.png


Screenshot_2020-10-26-13-38-25.png

Root Rooting device for full control - Solved

The ROOTING process for the Z1 Compact has been completed.

It did not work with the method of the video in the previous post because that method is not meant for Z1 Compact. I tried to used a method of a similar phone but it did not work. It caused the O/S to stop working completely.

I learned that Sony has provided official tools on their support websites that can unlock most if not all the Sony Xperia phones bootloader. They also provide tools that work on Flashmode which is used to restore any corrupted O/S but it only works if the bootloader is unlocked. I tested these methods on both of my Sony Xperia phones and it worked well.

The method that did work but also needed to find some of the requirements separately is in the below video.



Unlocking the bootloader did cause all the settings to reset.


Congratulations on a job well done @Johncoool ;)

ADB reverse and TCP communication

Hi

I have Android Studio 4.1, with ubuntu 18.04 in a VMWare Virtual Machine on a Windows 10 laptop. I have connected (using USB3) a Samsung Active 2 Tab up to the laptop (USB3) and Android Studio communicates with it. I can get an app to run on the device from Android Studio and with the help of ADB's command reverse, I can create a server in an Ubuntu terminal in the VM that the app on the device can then read from using Sockets.

First thing I do is:
Code:
mike@ubuntu:~$ adb reverse tcp:1234 tcp:1234

The client code on the device is simple:
Java:
Socket socket = new Socket(hostname, port);
InputStreamReader input = new InputStreamReader(ocket.getInputStream(), StandardCharsets.UTF_8);
BufferedReader br = new BufferedReader(input);
String msg = br.readLine();
Log.i("MESSAGE SAYS: ", msg);
input.close();

The server in the Ubuntu terminal is even simpler:
Code:
mike@ubuntu:~$ nc -l 1234
hello

logcat in Android Studio displays the response the client gets from the server:
Code:
MESSAGE SAYS: hello

So my question (whew, sorry about so much blabber above):, is this actually a TCP operation or is adb doing the actual bridging (listening and doing some sort of loopback) with the network traffic? In other words, can USB3 actually have a TCP connection?

Thanks...

Personal Ringtones on Nord

Hi

Just bought a Oneplus Nord, how can I upload my personal ringtones, they are present on the phone in Dropbox, but it can't see them to use.

I've plugged in to Windows via USB but only five files show

adb_config_Linux_0SX.sh
Androidfiletransfer(0SX).dmg
Autorun.inf
Oneplus_setup.exe
Oneplus_USB_drivers_setup.exe


None of which are any use to me.

My daughter has a different Oneplus and has no bother, she's looked at mine and it's different when plugged in.

So that's what the phone shows when you plug it into your PC? It looks like drivers for MacOS and Windows, that you might need to install to use with this phone when connecting by USB. If you're using Windows, try running the "USB_drivers_setup.exe" one.

If the files are in your Dropbox, think you need to download them first to the phone's local storage before they can be used as ringtones.

Feel Free to Delete- No longer Needed , Reset on Accident.

Sorry if I missed something, I only had time to skim these long walls of text...

In twrp have you gone to the "mount" menu then select "enable mtp"?

Apologies if that's not the exact wording but I haven't been in there in awhile and don't have twrp permanently installed to be able to check right now.

That's what I thought.

Paragraphs are your friend, that's what I tell my students. :thumbsupdroid:

Filter

Back
Top Bottom