yashsingh1/xdaforums huggingface dataset:
[Paid Software Announcement and Discussion] Surge1223:
Why are you typing as if you're writing a letter in the mail? That's weird man.

Sincerely,

Surge
[Paid Software Announcement and Discussion] Surge1223:
Actually, you should go ahead and report me lol. Do it. Also it's weird you're thanking my posts lol I guess thanks bro?
[Paid Software Announcement and Discussion] Surge1223:
Tyler, is it fair to say that your app depends on the coding I did? Coding which you yourself haven't been able to replicate?

No shame, it's hard to make adb play nice, it took me quite a while, I didn't charge 3 dollars or make a drama story about how broke I was though. I felt as if people should have this, for free without charge, I know I utilized a lot of others' work in making the free adb binary.
[Paid Software Announcement and Discussion] Surge1223:
Omg you had to adapt to new app regulations... Damn bro that's impossible, yeah adding ndk jni defines in the gradle is so f'ing hard.
[Paid Software Announcement and Discussion] arter97:
lol.
[Paid Software Announcement and Discussion] halilb1978:
It worked perfect on my galaxy a50 ( android11 ) so easy. I bought from playstore. It worth :)
[Paid Software Announcement and Discussion] Ryano89:
Silly question, but I'm assuming things like unlocking bootloader can't be done through the app?
[Paid Software Announcement and Discussion] sln45:
I am not using that part of the command (see the example.) Maybe I am misunderstanding something? I receive an error saying that any command I make is missing.
[Paid Software Announcement and Discussion] sln45:
Please stop. If you're going to harass someone do it privately instead of this public freakout.
[Paid Software Announcement and Discussion] 3mel:
no not with this.
[Paid Software Announcement and Discussion] 3mel:
he's a little bit distracted.
[Paid Software Announcement and Discussion] rossrosh007:
Under Wireless Debugging, the two options "Pair device with pairing code.” and "...With QR code" is not available.

How do I connect LADB?

I'm on Android 11 stock ROM on Samsung A50
[Paid Software Announcement and Discussion] zmag:
I am using a Motorola G Stylus (2020) on Android 11 (not rooted) - I have Wireless Debugging enabled under Settings - System - Advanced - Developer options

My problem is nowhere can I find the port or pairing code. Nothing appears when I enable/disable the Wireless Debugging toggle, and there isn't a separate option under Settings anywhere.

Is there a default port/pairing code I can try? Or just what am I doing wrong here..

Hopefully someone with a Moto G Stylus (2020) on Android 11 could help me navigate my way through this? Thanks in advance, zmag
[Paid Software Announcement and Discussion] tjdowns:
Dude take this private. Jesus!
[Paid Software Announcement and Discussion] tjdowns:
Great! Because you wanted to make a scene and show your prowess; we won't get any help or answers to our problems. Thanks Surge1223. Real mature!
[Paid Software Announcement and Discussion] dat7476:
don't know if you got this answered, but when toggle wireless debugging on then click on the writing that says wireless debugging and port code will show
[Paid Software Announcement and Discussion] zmag:
Thank you for your help. I am still having trouble getting LADB to accept the port and 6 digit code - but I am at least able to _see_ them.

For example:

I can get that part to show, but the only way for me to switch to LADB from this screen is to press the Recent Apps button (box on the bottom right) and once I do that and enter the info into LADB, it seems to disappear from the Settings screen and I have to press it again.

Btw that popup shows because I'm pressing "Pair with a new device with pair code" the other option is pair with QR Code.

I must be doing something wrong still but I can't figure it out... Thanks in advance - zmag
[Paid Software Announcement and Discussion] dat7476:
You need to have it open in split screen with developer mode open in split screen also, then you can type codes in
[Paid Software Announcement and Discussion] darkgimikero:
I hope the developer finds another way to use LADB without wireless debugging. It would be a huge hit if it happens. I will be checking this thread every now and then for new updates.
[Paid Software Announcement and Discussion] ewozniak86:
I had no clue as to how much of a dickhead the person who made this app was now i regret buying it also it has no use to me because it only works on android 11 it would be nice for it to work without wireless debugging with root or something
[Paid Software Announcement and Discussion] daemonspudguy:
I'm not sure how Tyler is being a douchebag here. As far as I can see, you're the one who is complaining about a derivative of Google's product under a license that lets Tyler relicense it to GPL3 and charge money for a binary. If you didn't want your binary to be modified like this, you probably should have relicensed it yourself under a more restrictive license that forbids the type of distribution Tyler is doing here.
[Paid Software Announcement and Discussion] Surge1223:
I meant using someone else's work for monetary gain, which is what I was giving him crap about. In any case, the matter is resolved now.
[Paid Software Announcement and Discussion] Raxinzane:
When everybody is done fighting, I have a query please ;)

I'm very new to ADB and my experience is limited to copying files and installing APKs over USB (long story why APK installation is blocked natively).

If I don't auto-launch into the shell, it can't access any of my files (and APKs). If I launch into the shell, the 'install' command insists on two parameters. When I do this over USB it just asks for one.

Could you give me an example of the syntax please, and which parameter I'm supposed to add, besides the path to my APK file?

Thanks :)
[Paid Software Announcement and Discussion] monkeyboy16:
Thank you so much Ryano89 for that tip. Spent hours trying to get clip stack to work with their workaround thru lady app.

adb -d shell appops set com.catchingnow.tinyclipboardmanager SYSTEM_ALERT_WINDOW allow;

adb -d shell pm grant com.catchingnow.tinyclipboardmanager android.permission.READ_LOGS;

adb shell am force-stop com.catchingnow.tinyclipboardmanager;

Instead typed one at a time:

appops set com.catchingnow.tinyclipboardmanager SYSTEM_ALERT_WINDOW allow ....etc. Leaving shell CMD out of each. Worked yeah!
[Paid Software Announcement and Discussion] halilb1978:
Is it possible to uninstall system apps via adb from Samsung secure folder?? I tried pm uninstall -k --user 150 com.android.chrome

It does not works. 150 is secure folder user
[Paid Software Announcement and Discussion] Shanks:
Anyone with a pixel 6 pro? I can't get this to work no matter what i do
[Paid Software Announcement and Discussion] Ryano89:
I've got a OnePlus 9 that actually has the wireless debugging option, but DOESN'T have wireless adb debugging. Anyone else seen that?
[Paid Software Announcement and Discussion] tytydraco:
Hey, sounds confusing. Mind sending a screenshot? I'll reply quickest on telegram or email, but if you quote me, I'll be able to check back sooner. Thanks!
[Paid Software Announcement and Discussion] tytydraco:
{Mod edit: Quoted post deleted}

I believe I understand what you're saying. Your input does not recognize until you perform a large enough gesture, yes? This might vary from device to device, and it might even be a physical limitation of the touchscreen. I don't know any adb commands that can help change that off the top of my head though :(

Maybe try asking on some realme forums <3
[Paid Software Announcement and Discussion] richaardvark:
lol, hi! I'm just a random end-user down the line here trying to find support for a couple of steps with this app and although I realize this is an old thread I just had to step in to say you really came off like such a jackass. The OP/myself/anyone can write in whatever structure or format they want and can include as many f*cking exclamation points as they want also lolol (your favorite expression, lol, man why do you include so many lols? lol! That's weird man.)!!!

Reading through your posts/responses, I initially understood your frustration but when you randomly started going off on sentence semantics and writing structure and choice of punctuation it really started to feel like your argument was built on very little substance and you were just looking for anything to grumble about. Thank you for doing whatever coding you did with Google's code or whatever and thank you other dude for making your UI or container or whatever. At the end of the day, we, the end-user don't really give a f*ck about any of it and just want to use whatever tool we can get from wherever to do whatever we need to do but thank you for your time - lol!
[Paid Software Announcement and Discussion] lapmv86:
Hi everyone, i want to transfer file hosts to system/etc. How can i do?. Thanks
[Paid Software Announcement and Discussion] KitsuneFoxy:
Does this not work on android 6?
[Paid Software Announcement and Discussion] lekiaM:
after connection, adb shell is frozen in app. Cannot use the command bar. Please solve this @tytydraco

p.s i saw allready on github that other users experience this.

Thnx in advance
[Paid Software Announcement and Discussion] mangoman:
did not work here, tried an android 12. Checked ad devices command, and it came back connected.

so tried the betterbatterystats commands, and it just returned no device connected .

adb -d shell pm grant com.asksven.betterbatterystats_xdaedition android.permission.PACKAGE_USAGE_STATS
[Paid Software Announcement and Discussion] GalaxyA325G:
Use adb push or adb pull (depending on the direction).

For example, I use this when on the PC to pull the hosts file off my unrooted Android phone...

C:\> adb pull /system/etc/hosts .\hosts.txt

As far as I know, you must be rooted to go the other way for protected files such as the hosts file... so, since I'm not rooted, here's what I do to push other files onto my unrooted Android phone...

C:\> adb push "C:\path-to\filename.apk" /sdcard/Download

That should copy the named file from Windows to Android &

(in this case) put it in your internal storage "Download" folder.

Note that each phone OEM "can" use a different filespec for

internal & external sdcards (e.g., /storage/emulated/0/Download).

For example, on my unrooted Android phone...

C:\> adb push C:\path\apk_archive\ /sdcard/Download/apks

That should create a folder named "apks" in the Android phone's

internal storage "Download" folder and then copy all the files

from the Windows "apk_archive" folder into that new "apks" folder.
[Paid Software Announcement and Discussion] GalaxyA325G:
I didn't ask the question of why there is "Wireless debugging" and not "adb Wireless debugging" on Android 11 or 12, and I don't even have that question, but I have screenshots of what my Galaxy A32-5G shows, which is "Wireless debugging".

As far as I know, there is no such thing as "adb Wireless debugging" on Android 11 or Android 12 (but that fact never confused me so I'm just providing the screenshots for the guy who had asked the question).

It's just "Wireless debugging"... on my Galaxy anyway... where I've been using it since it was introduced in Android 11 and updated with new convenient tiles in Android 12 (mostly for mirroring with scrcpy or vysor).
[Paid Software Announcement and Discussion] GalaxyA325G:
OK. I read every post in this four page thread (backward so as to not miss updates) where the question that brought me here has not been asked....

My question came up yesterday over in this thread...

[adb] [Wireless debugging] [Wi-Fi] Is there an updated XDA tutorial yet on setting up adb COMPLETELY wirelessly as of Android 11+ (no USB cable!)?

In that question I noted that everything works fine

AFTER

an "eyeball grep" of the random port assignment for the "adb connect" command over Wi-Fi...

But...

The question for @tytydraco is whether ladb can be used along with the PC command line to programatically determine the random port assignment [WITHOUT that eyeball grep].

If ladb can be the middleman in that quest, EVERYONE would benefit as every single person I know wants this capability.

CAPTION: Some failed attempts before finding out about ladb are screenshotted below...
[Paid Software Announcement and Discussion] elswerky:
How you managed to work ??
[Paid Software Announcement and Discussion] badmania98:
I dont remeber. I dont have the phone anymore.
[Paid Software Announcement and Discussion] sosimple:
Hi. I'm trying to copy the file background_cache to folder /data/local/tmp

I readed somewhere that the command (from pc) is: adb push background_cache /data/local/tmp

How to do this with Ladb? Which folder should i put the file background_cache?

Ladb is giving me:

adb: error: cannot stat 'background_cache': No such file or directory

Edit. Ok i finally find it out. This work:

adb push storage/emulated/0/download/background_cache /data/local/tmp
[Paid Software Announcement and Discussion] usnbrendon:
Let's be abundantly clear here:

Nowhere within LADB app (including description on Google Play), neither in GitHub source code, nor in various user guides & 'tutorials' I've read online is there ANY REFERENCE whatsoever to LADB pairing with wireless debugging using QR CODES!

Since QR is NOT an option in LADB, logic dictates you'll choose the other option which is mentioned in copious detail:

PAIR USING PORT NUMBER & PAIRING CODE

Sidenote

for all those uninclined to RTFM...

YOU WILL NEED the LADB app positioned in SIDE-BY-SIDE MODE(or split window / dual app view), directly alongside the SETTINGS » DEVELOPER OPTIONS window under which WIRELESS DEBUGGING is enabled and paired. If you aren't certain how to perform this function, now is the time to figure it out as it is fairly easy but does differ a bit between Android versions and with custom overlays, launchers and OEM UIs like Samsung's One UI versus stock vanilla Android on Pixel.

This Dev is obviously very helpful, but we can't expect him to do our homework for us.

Thus, I encourage everyone first & foremost, RTFM in all cases and when in doubt, do it once more for good measure.

Well-reasoned LOGIC is your friend, so PLEASE use it!

(That is, unless you have none; in which case you probably shouldn't be modding your device at all--period.) 😉

Cheers
[Paid Software Announcement and Discussion] Surge1223:
I've seen this come up a few times, so I'm just letting everyone know, this was settled and handled ages ago, no animosity exists.

Sorry it clogged up the thread, and yes it was handled poorly on my part, so again sorry about that as well my fellow forum lurkers.
[Paid Software Announcement and Discussion] lebigmac:
Oh hi there @tytydraco nice ladb tool! (y) Is it possible to do the magic without the pairing process? :unsure:

Oh hello @Surge1223 you did a great job compiling those static adb binaries! Not everyone has the skillset that's required to compile these AOSP modules from scratch. Kudos (y)

Hey @usnbrendon if you want to write another essay like that about copyright infringement please feel free to do so in this thread (y)

Sadly there's also quite a few immoral cyber pirates out there lurking in the forums...
[Paid Software Announcement and Discussion] tytydraco:
You'll need root to do this, sadly LADB can't do this
[Paid Software Announcement and Discussion] tytydraco:
You'll need at least Android 11, or 10 if it supports wireless debugging. Unless you want to do a workaround, but you need a PC, and that usually isn't what you want if you're using LADB haha.
[Paid Software Announcement and Discussion] tytydraco:
Is it still an issue as of now?
[Paid Software Announcement and Discussion] tytydraco:
Same issue nowadays or solved?
[Paid Software Announcement and Discussion] tytydraco:
That's a tough one. I think somehow Shizuku figured this out. I was actually considering having us use that because quite frankly, they did the pairing so much better. Plus, we might even be able to ditch the static adb binary which means we can get it working on 32-bit ARM! Plus, I'm sure the Shizuku dev(s) are gonna be updating it more than we could.
[Paid Software Announcement and Discussion] tytydraco:
Actually I'd help, I just suck at getting back over XDA lol. But I appreciate you sending instructions here
[Paid Software Announcement and Discussion] tytydraco:
God I wish. I mentioned using Shizuku in the previous reply actually, could be doable
[Paid Software Announcement and Discussion] tytydraco:
:)

Also guys I don't really reply over XDA too often, If you need support shoot me a message over telegram @tytydraco or an email (check the play store page for contact info).

And as surge was saying, we're all good, there's no drama or hard feelings, we got our own stuff we're working on now :)
[Paid Software Announcement and Discussion] mangoman:
solved today thanks
[Paid Software Announcement and Discussion] sosimple:
After connecting, i run

Adb devices, and get this:

Entered adb shell

error: more than one device/emulator

List of devices attached

192.168.1.103:35215 offline

192.168.1.103:5555 device

emulator-5554 device

Can i fix it somehow? Do i need to fix it?
[Paid Software Announcement and Discussion] tytydraco:
Are you running that from LADB or a PC
[Paid Software Announcement and Discussion] sosimple:
Ladb. I also have installed shizuku, app manager, tasker, system ui tuner. I don't know if any of those app create this problem..
[Paid Software Announcement and Discussion] tytydraco:
Shizuku conflicts as of now, you'll have remove the wireless debugging connection and reboot.
[Paid Software Announcement and Discussion] Slypnslyde:
Hey I was having the same issue with battery guru. What fixed it was not putting (adb - d shell). Instead put (pm grant....) first at the beginning
[Paid Software Announcement and Discussion] Mlb302:
LADB is awesome 😎 thank you all for this ... Just curious if we could somehow add fastboot or does anyone have a good flasher for non root ? It would be great to flash without PC or root but you know ....🤣
[Paid Software Announcement and Discussion] oldflattop:
Hello, thank you for such a great app. One question: Is it possible to convert an app to a system app with this tool? If so, what are the commands? Thx
[Paid Software Announcement and Discussion] rodken:
You will need root access.
[Paid Software Announcement and Discussion] Mlb302:
How to Send ADB Commands to Your Own Phone Without a Computer or Root

There are three tiers to Android customization: things you can do by default, things you can do with ADB, and things you can do with root. While root is still pretty tricky to get, ADB mods just got a lot easier. Back in Android 9, Google added a feature that allowed you to wirelessly send ADB...

android.gadgethacks.com

Read this article it explains a lot
[Paid Software Announcement and Discussion] DudeWaffle:
I'm running LADB on a Samsung Galaxy S10e. I think I'm successfully pairing (Android notifies that pairing succeeded), but the app never progresses to the command entry screen, it stays on the pairing screen. Any tips?
[Paid Software Announcement and Discussion] rodken:
Reboot your device and make another attempt at pairing.
[Paid Software Announcement and Discussion] Arealhooman:
By the way, I can’t get this to work automatically I need to manually use Adb connect. If this App does not work for you, try this.
[Paid Software Announcement and Discussion] lucfig:
Hi,

I keep receiving the more than one device error and was not able to use any command yet.

I have a galaxy s22 and used shizuku and also connected to my PC wifi debug before. Removed them both from paired devices, rebooted, toggled airplane, nothing seems to work.

When I run adb devices, I see 2 of them, one being an emulator.

Does anyone has an idea how to fix this?

Entered adb shell
error: more than one device/emulator
List of devices attached
adb-RQCT804KS3H-CDeIyw._adb-tls-connect._tcp.device
emulator-5554device
[Paid Software Announcement and Discussion] q1pa:
I've successfully paired my devices via wifi but i cant type anything. Already tried reconnecting and relaunching the app and still have no luck. :(
[Paid Software Announcement and Discussion] sevenoverthree:
Hey there- I am trying to pair, but it seems I can only enter numbers. Without decimal or colon, I can't enter the ip. Suggestions?
[Paid Software Announcement and Discussion] Slypnslyde:
You only need to enter the numbers after the colon
[Paid Software Announcement and Discussion] sevenoverthree:
Oh got it. I feel like such an idiot LOL thanks a lot :-)
[Paid Software Announcement and Discussion] GalaxyA325G:
Given the ladb apk on Google Play can't be downloaded or installed on an Android phone which is set up for privacy (i.e., when no Google account is set up on the phone)....

And given the official Github ladb repo for Tyler Nijmeh (aka tytydraco) provides only the source code (which needs to be compiled by someone who knows how compile it)...

Can someone who knows more than I do please explain whether the green-banner (i.e., not blue banner) LADB "app-debug.apk" file on the ladb "hyperio546" Github repository is a sanctioned build?

<https://github.com/hyperio546/ladb-builds/releases/tag/v2.2.1>

<https://github.com/hyperio546/ladb-builds/releases/download/v2.2.1/app-debug.apk>
[Paid Software Announcement and Discussion] besher zeino:
I'm using the app but when I want to execute a command it gives me an error
[Paid Software Announcement and Discussion] tahayparker:
noob here. how do i compile this app? really interested in compiling apks for foss apps, and i thought of starting with this because i know a few non-technical people who need this app
[Paid Software Announcement and Discussion] GalaxyA325G:
I agree with you that it would be nice if someone who knows how to compile code can give us the steps to compile local adb (ladb) from the source code.

Is there a walk-thru step by step tutorial yet for compiling existing "real" Android FOSS src (found on Github) that is on this XDA-Developers' forum?​
[Paid Software Announcement and Discussion] kierah:
I can't uninstall any bloatware apps help please

Exception occurred while executing 'uninstall':

java.lang.NullPointerException

at java.util.Objects.requireNonNull(Objects.java:220)

at com.android.server.appop.AppOpsService.checkPackage(AppOpsService.java:3364)

at android.app.AppOpsManager.checkPackage(AppOpsManager.java:9001)

at com.android.server.pm.PackageInstallerService.uninstall(PackageInstallerService.java:1175)

at com.android.server.pm.PackageManagerShellCommand.runUninstall(PackageManagerShellCommand.java:2227)

at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:266)

at com.android.modules.utils.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:97)

at android.os.ShellCommand.exec(ShellCommand.java:38)

at com.android.server.pm.PackageManagerService$IPackageManagerImpl.onShellCommand(PackageManagerService.java:6198)

at android.os.Binder.shellCommand(Binder.java:1054)

at android.os.Binder.onTransact(Binder.java:882)

at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4313)

at com.android.server.pm.PackageManagerService$IPackageManagerImpl.onTransact(PackageManagerService.java:6182)

at android.os.Binder.execTransactInternal(Binder.java:1290)

at android.os.Binder.execTransact(Binder.java:1249)
[Paid Software Announcement and Discussion] htc-8925:
what comes around, goes around, I'm gonna decompile and recompile this app and host ii for free off my mega serverspace
[Paid Software Announcement and Discussion] sosimple:
I think someone already done it in github but i don't remember the link.

Edit, here it is. But you are welcome to give a 2nd solution if you like.

GitHub - hyperio546/ladb-builds: Compiled builds for LADB for free instead of paying in the Play Store

Compiled builds for LADB for free instead of paying in the Play Store - hyperio546/ladb-builds

github.com