yashsingh1/xdaforums huggingface dataset:
[General Topics] GalaxyA325G:
That is strange indeed.

The reason it matters is that this brand new Android 12 Developer options Wireless debugging tile saves a LOT of time daily digging into the Android settings (because it takes you exactly where you need to be to find out what the current random port assignment is).

I guess we need a third person to test it as when I tap the new tile, it toggles from on to off and from off to on... but when I longpress it, I end up deep inside the Developer options Wireless debugging Activity (whether or not the tile was blue or white at the time that I longpressed it).

I even just now tested it for you with the Wi-Fi radio turned off, and again with the Wi-Fi radio turned on but with no access point being connected.

In summary, even though the Developer option for Wireless debugging won't work without BOTH the Wi-Fi radio being turned on AND the Wi-Fi being connected to an access point (mine being set to NOT auto-reconnect, for privacy reasons), longpressing on the Developer options Wireless debugging tile brought me, every time, to the Developer options Wireless debugging screen.

I'm on a Samsung Galaxy A32-5G, Android 12, non rooted.​

Would someone else kindly test it for us to break the tie? :)
[General Topics] GalaxyA325G:
I love the way you think!

Here are the possible solutions (thanks to you):

1. Keep the random port assignment static between adb connections

Or...

2. Determine the current random port assignment from the PC

Or...

3. Manually set the port assignment from the PC!

(Which is much like we used to do in the days of USB cable connections (where we would set it to 5555 and then disconnect once we set it to that static port).

I love how you think as you're trying to solve the same problem we all have, but you're using more tools to do it as you think outside the box by using all the methods available.

I will have to try this on the PC on the MSDOS command line (which is outside of Bash as I don't have Linux inside of the PC set up yet).
[General Topics] GalaxyA325G:
I'll try to follow in your footsteps on the Windows 10 MSDOS command line (which requires a different style of environment variables)...

This seems to be how to set Win10 user-specific environment variables...

C:\> setx [variable_name] "[variable_value]"​

And this is how to set Win10 system-wide environment variables:

Win+R > cmd {Ctrl+Shift+Enter} <-- admin window​

setx [variable_name] "[variable_value]" /M​

Which means I can use this in the MSDOS admin cmd window:

Win+R > cmd {Ctrl+Shift+Enter}​

setx ANDROID_ADB_SERVER_PORT "55555" /M​

I think I'm with you only up to this point... starting with...

a. Android has Wi-Fi turned on

c. Android has the Wi-Fi connected to an access point

d. Android has Developer options Wireless debugging = on

e. Which reports a static IP & random port of 192.168.0.2:41269

And then running these commands in your footsteps...

1. Win+R > cmd {Ctrl+Shift+Enter}

2. adb kill-server

3. setx ANDROID_ADB_SERVER_PORT "55555" /M

SUCCESS: Specified value was saved.

4. adb start-server

* daemon not running; starting now at tcp:5037

* daemon started successfully

5. adb devices

List of devices attached

adb-SERIALNUMBER._adb-tls-connect._tcp. offline

6. set ANDROID_ADB_SERVER_PORT

Environment variable ANDROID_ADB_SERVER_PORT not defined

(funny... I thought I had already defined it, system wide... oh well... )

7. set ANDROID_ADB_SERVER_PORT=55555

8. set ANDROID_ADB_SERVER_PORT

ANDROID_ADB_SERVER_PORT=55555

Notice I'm with you up to this point so far...

View attachment 5676993

I don't (yet) understand what that command is doing so I can't even figure out how to reproduce it in the Windows 10 MSDOS batch command line.

I remember seeing "setprop" stuff for adb when I had googled this, so we both need to look up what it does and what's the syntax.

View attachment 5676995

I like how you think, which is that we "should" be able to set the port from WIndows that adb will connect to Android... but....

Remember all that "old" stuff predates Android 11 Developer options Wireless debugging (which is designed to use a random port assignment).

All that "old" stuff assumed a USB cable connection to the Android phone... which we aren't using....

... so what we have to do is figure out how to change that old stuff to get around the fact we can't talk to the phone unless we can figure out what port the phone is listening on...

This is the best I can do (but it's cheating)

a. Android has Wi-Fi turned on

c. Android has the Wi-Fi connected to an access point

d. Android has Developer options Wireless debugging = on

e. Which reports a static IP & random port of 192.168.0.2:41269

These commands ALWAYS work (but I had to cheat!)...

1. Win+R > cmd

2. adb kill-server

3. adb connect 192.168.0.2:41269

4. scrcpy --tcpip=192.168.0.2:41269

5. up pops the mirror of Android in the scrcpy GUI

View attachment 5677027

While that works perfectly, the problem is that I have to KNOW the port before any of that works. :(
[General Topics] meiser:
Hi,

as adb announces the service via MDNS, you can use the value of "persist.adb.wifi.guid" to connect.

output of avahi-discover under Ubuntu 20.04:

Service Type: _adb-tls-connect._tcp
Service Name: "value of persist.adb.wifi.guid"
Domain Name: local
Interface: eth0 IPv6
Address: Android.local/192.168.1.223:41465
TXT v = ADB_SECURE_SERVICE_VERSION

Or you can use "adb mdns services" to show all found devices in the network, see https://source.android.com/devices/automotive/virtualization/tools

Regards,

meiser
[General Topics] GalaxyA325G:
I don't know if I'm supposed to openly admit I have no clue what "mdns" even means, but I did use the "adb mdns services" command in post #3 above because I found it on the net when I had googled for how to tell which port adb is using.

The problem I had with using 'mdns' was that it sometimes gave me good port information and it sometimes did not (more often than not, it reported absolutely nothing useful) - yet - I haven't been able to figure out why - so I simply gave up on it a while ago.

Maybe I need to re-visit mdns because sometimes it gave what I wanted.

Googling, I find it's actually labeled mDNS, which now I only need to figure out what the "m" stands for since we're all familiar with DNS name-to-ipaddress lookups.

Googling some more, I find the "m" stands for "multicast" which still doesn't tell me a thing about what it is yet...

What I'm guessing (at this point) is that Android will "announce" itself with a hostname of sorts using this "multicast DNS" protocol for the LAN, am I right?

You mentioned "avahi" below... (which I also never heard of)...

Now I see why you brought up "avahi" discover services...

The problem I've had with "adb mdns services" is sometimes it reports good information but other times it reports nothing.

If we can figure out the circumstances as shown below where mDNS are in service, then the "adb mdns services" command might actually be useful to us to determine the Android 12 random port assignment.

1. Start with Android 12 & desktop PC connected to the LAN

2. Turn on Android Developer options Wireless debugging

3. Query Android for the wireless debugging port

The problem to resolve is...

a. When adb hasn't been run, mdns doesn't report anything

b. Even with adb connected, often mdns doesn't report anything

Yet...

c. Sometimes mdns DOES report the port address we seek

Why?

Screenshot: Notice we've been using "adb mdns services" for a while now but it rarely reports anything at all, let alone the random port assignment (but sometimes it does!).
[General Topics] AlainCh2:
That's what I did for a living in small companies like Olivetti, SIP/TelecomItalia, MCIWorldcom.

🙃

I'm a strange human being: I learned to program Assembler and PL1 in IBM, Gwbasic and COBOL on Mainframes, Honeywell OS, Digital PDP OS., and at last on Cisco routers

.... all by myself - and never worked programming ( but to better understand what was happening to my people)

______________________________________________

Sorry to say: you didn't got my lead correctly.

3: >android side

IF > we can run the equivalent of a ".BAT" file every time wifi connect

we can try setting the ADB port variable Android side,

making no assumptions on PC

But I don't know enough on that side,

nor do I know enough on Linux that's the Android base.

( I'm still curious - but brain is not agile anymore to learn fast to my liking)
[General Topics] GalaxyA325G:
Yea, me too, where I worked in Silicon Valley startups for decades before retiring about 20 years ago...

Yup. I took Fortran (before there was a Fortran 77) on the IBM 1130 (as I recall) with tickertape just being phased out in favor of modern punch cards, and then moved on to PL/C (before there was a PL/1) and IBM Assembly Language and COBOL (which are just about the most divergent languages on the planet). Then the PDP 11, VAX/VMS, Masscomp, SunOS, Solaris, etc., until the PC grew up and I dropped all that 'nix stuff for Windows (and moved into management so I never did coding professionally - and I hate it - so I won't be doing it anytime soon).

But, like you, I do what I have to do in order to get the job done.

Yeah. I'm Aspergers. I don't get anybody's jokes. Not just yours. But everyone's. Ask my wife and kids and grandkids.

On this thread I'm just trying to do what I am sure can be done, which is:

a. Run a PC command that queries the Android phone on the LAN

b. To spit out the random port Wireless debugging is set to

c. WITHOUT having initially connected USING that port in the first place!

It may not even be possible (since Android developers may have made it impossible for security reasons perhaps).

But until I find out that it's impossible - I'm assuming it's possible.

1. Sometimes we don't know which commands to use, and,

2. Sometimes we don't have the command syntax just yet... and,

3. Sometimes it is impossible (but that's rare, is it not?)

We just have to figure out which commands/syntax give us that missing port information.
[General Topics] AlainCh2:
Hehehe !! A parallel story, I'm younger but beaten bad by life: at 66, I'm pretty locked in a bed from 2017.

Had to stop working in 2015, and finally got anticipated retirement in 2019.

Asperger too.

( oh, and I mean we are not brother for sure - but magnetic communication exists)

3) >>I proposed a closed command program continuously running in Android.

It was not a Joke!

But maybe we can reach the same result from PC,

if we can access telnet console on android
[General Topics] GalaxyA325G:
I do very much like how you think... as you don't give up when encountering a technical hurdle - and - better yet - and nearer to my heart and soul - you - like I - assume naturally there will be a solution.

Maybe there is... hmmmmmmmm......

Along the line of your "closed command program" running on Android, I am testing this option I just found out of the open source local android debug bridge (ladb APK) which is designed to run adb on the Android phone in order to mimic the PC.

I'm hoping I can get the PC to communicate with that free open source ladb app which is said to have more privileges than does Termix on Android.
[General Topics] antar243:
is there any app like LADB which can command phone through my phone with wireless debugging android 12 .I don't have any pc and LADB price is too high to afford.
[General Topics] trenwei:
Hello,

First is first, sorry, I'm not too sure if I'm allowed to post this, if not feel free to delete/move to trash or just let me know and I'll remove everything.

Otherwise....

Up for sale, I have a Rogers 8GB iPhone 3G.

Used for about 2 months, kept in excellent condition (I used BSE + case)

Condition is literally mint LNIB! Kept well handled in a case + the skins.

Comes with:

1. Phone

2. Box (everything except headphones, due to hygienic purposes)

3. Charger of course (usb cable and usb to ac adapter)

4. Extra USB cord

5. Warranty until Sept 09.

6. 2 brand new power support anti-glare screen protectors

7. And a Case with clip

Asking Price is $465 CDN. Located in Hamilton, Ontario Canada. Willing to ship if necessary.

Phone can come with either jb firmware or regular firmware!

Pics to be uploaded tonight!

Will provide other forum feedback, heatware and ebay upon request.

Reason I'm selling is because I just got a BB Bold (haven't used iPhone for about 2 weeks) which happens to suit my current needs better, HOWEVER

I did before this have a tilt, which I sold to someone here on the forums. Now however, I wanna get the fuuuuuuuuuuuuzeeee too:D

So please help me find a sale!

NOTE: If I'm taking pics, do you guys want it with the BSE on or without?

Thanks for looking!
[General Topics] mrvanx:
Come on now, this isnt ebay. ;)

Sorry thread closed.
[Samsung Galaxy Watch 3] Faakarna:
Hi everyone.

Just purchased a watch3, to find out that Samsung Health doesnt Work on rooted devices. Been installing dantes shm mod and IT works flawless. Just so annoying that IT aint possible, to use the health app. Been installing some patched Samsung apps, but cant connect the watch to the patched Samsung Health app. I have tried to use an old version and been trying to hide with magisk hide but simply cant fix it. Anyone with a fix for their rooted phone, and a working Samsung Health app? Cant get any data other than SHM mod, on phone.

Thanks..
[Samsung Galaxy Watch 3] ze7zez:
Thank you for confirming that Samsung Health's protection works effectively against the leakage of private data. (y)
[Samsung Galaxy S22 Ultra] Omar Taleb:
Hello there!

I have a Samsung Galaxy S22 Ultra with the model SM-S9080 (China). Unfortunately my S22 Ultra does not support all languages fully, I switched the language from English to Swedish and some stuff remained in English (settings and other things).

My phone's model is SM-S9080...... what would happen if I install the firmware for a european version of the firmware (SM-S908B) of the Galaxy S22 Ultra (SM-S908B) on my model (SM-S9080)?
[Samsung Galaxy S22 Ultra] ze7zez:
Try Morelocale 2, and if it doesn't work then use other similar apps.

Uploading another firmware will put you on a path with problems.
[Samsung Galaxy S22 Ultra] Omar Taleb:
Problems? Like what? Would it work?

Last time I installed a firmware for a phone it was the phone region's firmware and it works perfectly.
[Samsung Galaxy S22 Ultra] varcor:
You can't install any Exynos Firmware on a Snapdragon Variant. Best option is flashing Hong Kong Firmware (TGY).
[Samsung Galaxy S22 Ultra] Omar Taleb:
So it has to be the same processor, can I in this case install the USA version?

I saw a version called China (Open china), do you by any chance know what is meant by "Open China"?:

Samsung Galaxy S22 Ultra (SM-S9080) - CHC - S9080ZCU2AVF7 firmware

Fast download latest Samsung Galaxy S22 Ultra firmware SM-S9080 from China (Open China) with S9080ZCU2AVF7 and Android version 12

www.sammobile.com
[Samsung Galaxy S22 Ultra] pcriz:
It isn't just the same processor you should be worried about. Not every phone of the same processor have the exact same partition sizes, which could cause the flash to fail. They could also not support the same mobile radios. There are enough variables that I wouldn't feel comfortable assuming it would work based on processor and supported bands alone.

If it doesn't work, the best case is the flash fails. Worst case you brick it, I don't think this one is likely as it should just fail but also I'm personally not in a position to risk it.
[Samsung Galaxy S22 Ultra] varcor:
There's only one CHC Firmware, some refer to it as "Open". Your device is an outlier, only three versions of firmwares can be flashed on it, none are from the US. Only CHC, BRI and TGY.
[Sony Xperia 5 II Questions & Answers] bartek28124683:
I installed XQ-AS52_58.1.A.5.530_Customized EEA via NevFlasher and I have only information on the screen when I want to turn on the phone:

"You device is corrupt. It can't be trusted and will not boot". Somebody know how to fix this or what couses the problem?

I go back to android A12 (using NewFlasher) and phone is working but I want to install A11.

I have tried downloading ROM second time and use XQ-AS52_58.1.A.5.330, the same problem. I can't even boot to recovery in A11.
[Sony Xperia 5 II Questions & Answers] eliotcr712:
need to disable roll-back protection
[Sony Xperia 5 II Questions & Answers] bartek28124683:
It's the same as disabling Google verification (by removing google acount) or I have to do something else? I searched online but did not find anything specific.

​
[Sony Xperia 5 II Questions & Answers] eliotcr712:
you can learn how to do that in newflasher thread.
[Samsung Galaxy S20 / S20+ / S20 Ultra Questions & ] RenelQFlo:
Hello, I would like to ask if anyone has attempted to root their Samsung S20 and have come across this issue.

I have rooted a Samsung S8 with no issues, alongside an M62, but after rooting and granting SU acces to Gameguardian, the Speedhack function is broken, attempting to turn it on just causes the game to stutter extremely bad, and setting the game to higher speeds makes it go faster momentarily, but stutters as if it were running in one frame every few seconds

With all other phones, even 10/15x speed was possible smoothly.

I would appreciate if anyone had an explanation for this, and if it is fixable.
[Samsung Galaxy S22 Ultra] slight22:
I'm getting the S22 ultra in a few days, and i've never had an issue with the stock camera. What i would like is the sphere mode from the google tablet I had a while back. Is there a sphere mode app port for the s22 ultra? (NA so snapdragon)
[Samsung Galaxy S22 Ultra] Village_Idiot:
I'm not sure what you mean by 'sphere mode." Are you talking about "Android Photo Sphere"? If so, then no, Android Photo Sphere is not available or Samsung phones. The stock camera app does allow you to take a 360-degree panoramic though.
[Samsung Galaxy S22 Ultra] pattadons:
Do you mean the "Photo Sphere" feature? It is available in Street View app. Just tab the create button and select "Photo Sphere" 😊

Google Street View - Apps on Google Play

Create your own Street View imagery or virtually explore the world

play.google.com
[Samsung Galaxy S22 Ultra] slight22:
Thats what i'm looking for, but what a pain to have it in a mapping app.
[Samsung Galaxy S22 Ultra] Rohlajz:
@slight22 You can try send a feedback via native Samsung Members app. Maybe if they receive multiple requests about Photosphere mode, then they will implement it.
[Samsung Galaxy S10+ Questions & Answers] sekanodseke:
hi,

i have issue with installing new official rom on s10+. Now i have SIO - slovenia and i would like to install BTU - United Kingdom. I try about 3 times and always stuck on SIO rom. I install via ODIN and all the time i get PASS.

any help or sollution?!

best regards
[Amazfit] regepower:
Hello,

is there any possibility to activate PAI on an old Amazfit Verge?

regards

Rene
[Google Pixel 6 Pro] steven81ir:
Hello guys. I would like to have a question. I've got a Pixel 6 Pro device and I'm using a ROM from a closed thread coz of the OP retired(unfortunately).

I was wondering if anybody who have the knowledge could pick up that ROM and continue the development. Being honest I didn't like my phone until Evolution X came up.

For my needs it's just perfect. I'm offering some donation as well if someone could do anything with that ROM.

Thanks in advance
[Google Pixel 6 Pro] djclark25:
I don't know if anyone will take Evo over, but I switched from that to Spark OS and it's pretty much the same feature wise. The Dev who did the Evo ROM also does Derpfest and recently released Zephyrus OS as well

Can find them on the Telegram app.

Spark OS

Telegram: Contact @CravinRomsPixel6and6Pro

t.me

Derpfest and Zephyrus

No option to copy and paste link but it's

HURT COPAIN'S ANDROID EXTRAVAGANZA
[Google Pixel 6 Pro] fil3s:
Deleted
[Google Pixel 6 Pro] fil3s:
I'm using lineage OS 19.1 from this tg group

Google Pixel 6/6a/6 Pro | Updates

ℹ️ All about Google Pixel 6, 6 Pro and 6a | @Pixel6Chat	👥 Our Community	• Google Internal: @GoogleInternal	• MY Theme: @MaterialYouTheme	• Pixel Hub: @PixelHubUpdates	• Pixel 1: @Pixel1Updates	• Pixel 2: @Pixel2Updates	• Pixel 5: @Pixel5Channel

t.me

I had a horrible time on stock 🫤
[Google Pixel 6 Pro] steven81ir:
Thanls for the reply. I will take a look at it.
[Google Pixel 6 Pro] spinoza23:
I don't recommend this ROM... His maintainer is is official but he uses a lot of code from other roms without permission and is too rude with his users on Telegram.

I would not trust on SparkOs ROM...

If you want to use a well done ROM use

Project Zephyrus [OFFICIAL] [12.1_r11]

Available on official XDA Forum
[Introductions] mustafa ademler:
hi everyone, my name is mustafa from turkey, I agree with you, I am installing and repairing car audio systems, I like your page, I wish everyone a healthy life.

herkese selam ismim mustafa türkiye den katılıyorum oto ses sistemleri montaj ve tamir yapıyorum sayfanızı begendim herkese sağlıklı yaşamlar dilerim
[Android Head-Units] mustafa ademler:
android car audio

logo stays on and off

can you help me how can i draw a way

cpu and motherboard picture attached
[Touch HD General] tboy2000:
Anyone using their new HD with a 3 USIM card? How is it? This is my intention to get the phone - to use my existing 3 contract with the phone.

Any problem with network and internet settings like My3?

Many thanks!
[Touch HD General] dado66:
No problem at all!
[Touch HD General] tboy2000:
Man that is such a relief to hear. Phew!
[LG G8 Questions & Answers] wxfreak:
I'm messing around with a deactivated Sprint LG V8. I was thinking about rooting the phone, but if I could just freeze or deactivate apps that would probably be good enough. What's the easiest way to disable the apps I don't want to be active? I found the setting "inactive apps" in developer options but I have no idea what it does. I basically just use this phone as a WiFi only tablet at this point. Any ideas would be greatly appreciated.
[LG G8 Questions & Answers] ze7zez:
Use ADB AppControl.

https://xdaforums.com/t/tool-adb-appcontrol-1-7-5-ultimate-app-manager-debloat-tool-tweaks.4147837/
[Android Auto General] 93fuelslut:
is there a way to bypass the speed setting or in drive setting to do varies task? and even a way to cast movies from yt or from a 3rd party app?
[Android Auto General] marchnz:
Is it an android head unit
[Android Auto General] 93fuelslut:
Yes.

https://xdaforums.com/t/screen2auto...hone-mirroring-only-for-root-devices.4062787/

I tried this but doesn't work. I just keep going to the original pioneer os
[Android Auto General] rigattoni:
No, this is NO Android Radio, it just gives you the possibility to connect with Android Auto app, to get the screen of your smartphone mirrored on your Pioneer.

The Pioneer firmware is a closed software, you can´t change anything.

You need to post your questions in https://xdaforums.com/f/android-auto-general.3834/

Already informed the mods to move this thread.
[Android Auto General] 93fuelslut:
Well that sucks. I'm so limited and locked down
[Samsung Galaxy S20 FE Questions & Answers] Elitarform:
I'm in Poland, I just bought the SM-G781B/DS (XEO region) last week. Sometime after updating to latest FW the device stopped connecting to cellular. No outgoing, no incoming, no mobile data. It shows getting reception but doesn't show the carrier, just emergency service. I saw a thread about flashing XAA firmware with Odin but I don't know if it would work with the local bands.

I tried all the usual Vulcan nerve pinches (APN settings, SIM switching, using SIM2, jogging back and forth between 2G, 2G/3G, 2G/3G/LTE and so on. Anything I can try other than that?

I can attach some screenshots if it helps.
[Redmi Note 10] XibalbaM:
Hello, are theres tutoriels goods ?
[Redmi Note 10] Agent Lu:
This is what I used going away from MIUI 12.5.