Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Perfection is achieved only on the point of collapse. -- C. N. Parkinson


computers / alt.internet.wireless / Re: How to use "local" adb wireless-debugging ladb to spoof a PC connection

Re: How to use "local" adb wireless-debugging ladb to spoof a PC connection

<u0sk27$1d3rv$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=537&group=alt.internet.wireless#537

  copy link   Newsgroups: comp.mobile.android alt.comp.microsoft.windows alt.internet.wireless
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: Silvano@noncisonopernessuno.it (Silvano)
Newsgroups: comp.mobile.android,alt.comp.microsoft.windows,alt.internet.wireless
Subject: Re: How to use "local" adb wireless-debugging ladb to spoof a PC connection
Date: Sat, 8 Apr 2023 22:50:33 +0200
Organization: A noiseless patient Spider
Lines: 155
Message-ID: <u0sk27$1d3rv$1@dont-email.me>
References: <u09pbv$2gb7r$1@paganini.bofh.team>
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 8 Apr 2023 20:50:15 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="ae0d28c0225503c2ebf4aa56519fd6a8";
logging-data="1478527"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18aIcJxB59bllzCCXae3pBs"
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1
Cancel-Lock: sha1:qqI6Nv8neUKdrzOs8zi13lPM4/Q=
X-Antivirus-Status: Clean
X-Antivirus: Avast (VPS 220813-4, 13.8.2022), Outbound message
 by: Silvano - Sat, 8 Apr 2023 20:50 UTC

Andy Burnelli hat am 02.04.2023 um 05:24 geschrieben:
> How to use "local" adb wireless-debugging ladb to spoof a PC connection.
> <https://i.postimg.cc/436FCYFX/adb31.jpg> Local adb runs on Android
> <https://i.postimg.cc/7YLhtcZL/adb32.jpg> ladb eliminates the PC
>
> The topic came up how to uninstall Google apps without being rooted
> where the simplest solution is to delete them from Android using a PC.
> *Remove Google Apps from Android?*
> <https://groups.google.com/g/comp.mobile.android/c/7qLXTRuzHCU>
>
> Where, one solution to that problem set is to use adb over Wi-Fi or
> over USB between the Android phone and the PC (Windows, MacOS or Linux).
> C:> adb shell
> pm disable-user --user 0 com.package.name (disables named package)
> pm enable --user 0 com.package.name (enables prior disabled package)
> pm uninstall --user 0 com.package.name (wipes out package data/cache)
> pm uninstall -k --user 0 com.package.name (keeps package data/cache)
> cmd package install-existing com.package.name (re-installs package)
>
> For example, this uninstalls for the non-root user these Google packages:
> C:\> adb shell pm list packages | findstr /i com.google.android
> C:\> adb shell pm uninstall --user 0 com.google.android.chrome
> C:\> adb shell pm uninstall --user 0 com.google.android.youtube
> C:\> adb shell pm uninstall --user 0 com.google.android.gm
> C:\> adb shell pm uninstall --user 0 com.google.android.apps.maps
> C:\> adb shell pm uninstall --user 0 com.android.vending
> etc.
>
> Perhaps after replacing the uninstalled apps with their FOSS replacements.
> 1. A far better YouTube FOSS replacement is *NewPipe* by Schabi
> <https://newpipe.net/>
> 2. Chrome FOSS replacements are *Bromite*, *Chromium* or *Ungoogled Chromium*
> <https://github.com/bromite/bromite/releases>
> <https://www.bromite.org/chromium>
> <https://github.com/ungoogled-software/ungoogled-chromium-android>
> 3. A Google Maps offline FOSS adjunct might be OSMAnd+ (aka OSMAND~)
> <https://f-droid.org/en/packages/net.osmand.plus/>
> 4. A GMail FOSS MUA replacement might be FairEmail or Mozilla K-9 Mail
> <https://email.faircode.eu/>
> <https://k9mail.app/>
> 5. A far better Google Play Store FOSS replacement client is Aurora
> <https://auroraoss.com/>
> etc.
>
> But some people don't have adb running on their PC (I'm not sure why as
> adb provides sound and screen mirroring with use of the keyboard & mouse).
>
> Others might not even have a PC.
>
> Luckily, there is a "hack" that works, albeit it's a bit buggy in my
> humble opinion - but it does work and it has been improving since
> Android 9 where it relies on spoofing the wireless connection of a PC.
>
> Local adb (ladb, by Tyler Nijmeh, aka tytydraco) uses "wireless debugging"
> to put you at Android to a local adb shell prompt of "adb shell"
> (without needing to establish a real connection of a PC via adb to Android).
> <https://i.postimg.cc/cL55tfvF/ladb01.jpg> App purchase N/A anonymously
> <https://i.postimg.cc/c47S3kWX/ladb02.jpg> Github LADB v2.2.1 build avail
> <https://i.postimg.cc/MTL4kVSc/ladb03.jpg> Wireless debugging pairing code
> <https://i.postimg.cc/hGYWnH8P/ladb04.jpg> LADB is a bit flaky at times
> <https://i.postimg.cc/xdwxtYyH/ladb05.jpg> This is the debugging process
> <https://i.postimg.cc/B6d0Tdtw/ladb06.jpg> LADB will eventually work
>
> Since I care greatly about interoperability between platforms, I've read
> almost everything on the Internet about ladb, but most people have not.
>
> Hence I will first warn you that it may seem like you can't get a bona-fide
> free version of the APK if all you look at is the Google Play Store offering.
> *LADB* Local ADB Shell by tytydraco (aka Tyler Nijmeh)
> $3, ad free, requires gsf, 3.7star, 683 reviews, 10K+Downloads
> <https://play.google.com/store/apps/details?id=com.draco.ladb>
>
> While the code is FOSS, the developer has "made a side deal" with us that
> he will provide the source but not a build of the APK, at least not directly.
> <https://github.com/tytydraco/LADB>
>
> If you read the XDA-Developers' thread authored by Tyler Nijmeh, you'll
> see that he has provided a way to get it, for free, from Google Play Store,
> but I won't say more about that here (you'll have to read what he says).
>
> Of course, this being Android, you can certainly get it from the many
> unofficial APK archives, but most of us shy away from them if possible.
> <https://m.apkpure.com/local-adb-android-11/com.draco.ladb.free>
> <https://aapks.com/apk/ladb/version/59594160/>
> <https://drive.google.com/file/d/1PS_YONimWguXNkaHcJbFCyBhfXlIY7A7/view>
> But often these are not timely builds (the latest release being v2.2.1).
>
> And, given it's FOSS software, anyone can (and people do) build APKs.
> <https://youtu.be/6UO5tb_eKxY?t=156>
> <https://dlsharefile.com/file/2018065248>
> <https://dlupload.com/FileDetail/2018065248>
> But sometimes, as shown above, they make it hard to find the download.
>
> Luckily, kind-hearted people make timely builds available such as this one.
> <https://github.com/hyperio546/ladb-builds>
> <https://github.com/hyperio546/ladb-builds/releases/tag/v2.2.1>
>
> In summary, the official ladb can legitimately be obtained for free
> by a variety of sanctioned & unsanctioned methods, which, since I happen
> to know some of them, my kind-hearted soul wants others to benefit from
> my hard-earned knowledge.
>
> One bit of hard-earned experience, by the way, was learned because I
> do not have a Google Account on my Android devices, and yet I have no
> problem downloading, saving, installing & updating _free_ APKs without
> ever needing to use the Google Play Store repository (I use a better
> client to the exact same Google Play Store repository instead).
>
> My point of view is that if you're intelligent, there will never
> (or almost never for most people but never for me) be a need to pay
> for software on any adult OS platform, whether it's Windows or Android.
>
> However...
>
> A minor problem I found out was you can't use anonymous accounts for
> Google Play Store client payware, which has never, in all my years
> using Android, stymied me but it's a point to note since many people
> also have their no-rooted phones set up for privacy like I do
> (which almost always means there is no Google Account set up on it).
> <https://i.postimg.cc/Bnyr9fP1/account01.jpg> Works better w/o Google
> <https://i.postimg.cc/NG5pHyBx/aurora10.jpg> No need for a Google Account
> <https://i.postimg.cc/cL55tfvF/ladb01.jpg> App purchase N/A anonymously
>
> REFERENCES:
> <https://www.androidpolice.com/2020/12/23/this-app-gives-you-a-local-adb-shell-no-need-for-root/>
> <https://groups.google.com/g/comp.mobile.android/c/udGDxJVcvxo/m/V3Vs_sjXBQAJ>
> <https://groups.google.com/g/comp.mobile.android/c/5-nzRG-xM4E/m/FORkwNFDCAAJ>
> <https://www.xda-developers.com/debloat-your-phone-run-adb-shell-commands-no-root-no-pc/>
> <https://forum.xda-developers.com/t/say-hello-to-ladb-a-local-adb-shell-without-needing-root-or-a-computer.4204855/>
> <https://forum.xda-developers.com/t/psa-using-the-new-android-12-tile-for-developer-options-wireless-debugging-to-establish-adb-connection-over-wi-fi-without-usb.4469339/#post-87250539>
> <https://krispitech.com/how-to-use-adb-command-on-your-smartphone-without-a-pc/>
>
> For example, here are the krispitech instructions from that last URL.
> a. After we open up LADB, bring the recent page to your smartphone.
> b. Tap on the LADB icon at the top and enable split screen mode.
> c. Then, tap on the settings application and open it at the bottom
> in the split screen mode.
> d. In the settings app, scroll down to the bottom and navigate
> to developer options.
> e. In developer options, scroll down and navigate for the
> wireless debugging option.
> f. By default the wireless debugging option is disabled.
> Tap on the toggle next to it to enable the option.
> g. Tap on the Wireless debugging option to open a new window
> where we can find the Pair device with pairing code option.
> h. Tap on Pair device with pairing code option to see the
> pairing code, IP address, and port number.
> i. Just type the WI-Fi pairing code on the LADB window in
> the box where it says pairing code.
> j. Next, type the port number in the LADB window.
> The Port number is the number after the colon below the
> IP address in the wireless debugging option and tap on
> Okay in the LADB window.

Wouldn't it just be easier to use regular adb on a computer?

SubjectRepliesAuthor
o How to use "local" adb wireless-debugging ladb to spoof a PC connection

By: Andy Burnelli on Sat, 1 Apr 2023

3Andy Burnelli
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor