Article View: comp.sys.mac.advocacy
Article #1519Re: FM radio, or streaming radios.
From: Maria Sophia
Date: Sun, 29 Nov 2026 17:39
Date: Sun, 29 Nov 2026 17:39
612 lines
26329 bytes
26329 bytes
Carlos E.R. wrote:
> On 2026-11-29 10:15, Chris in Makati wrote:
>> On Sat, 28 Nov 2026 21:34:47 +0100, "Carlos E.R."
>> <robin_listas@es.invalid> wrote:
>>
>>> The Internet radio app that I like best, puts up intrusive, full screen,
>>> adds (often from tik-tok) that actually impede using the app: I can not
>>> change station, for instance. I have to kill the app (using the system
>>> menu, then applications, then kill this app) to start it again and hope
>>> I get a different add that plays nicer and I can switch the station.
>>>
>>> The app is "Simple Radio".
>>
>> Is that with the free version? I believe there's a premium version
>> which doesn't have ads.
>
> Yes.
>
>>
>> I've considered Simple Radio before and I thought it was expensive for
>> the paid version for the amount of use I'd get from it.
>
> I asked Google:
>
> Q: how much costs the paid version of Simple Radio app for Android?
>
> Simple Radio on Android doesn't have a single fixed price¡Xit is free to
> download with optional in-app upgrades that vary by region and billing
> plan (typically ranging from around $3.99 per month up to $39.99 per
> year or a one-time option, depending on your store and country).
>
>
> Monthly... no way I'd pay 4$ a month or more for an app that use maybe 4
> hours a month.
>
>>
>> Many years ago my favourite radio app used be TuneIn, but so many
>> stations disappeared from it that I stopped using it.
>
> That's the problem with other tools that work, finding the stations.
> Strema is good at it.
>
>>
>> Chris
I invested a few hours last night in a response but decided to write the
code instead, so I'm writing code to strip out the ads from apps now.
But I do want to say that first I had to get this "Simple Radio" app.
And that's when I found out there are a few apps with that name in it.
<com.streema.simpleradio> Simple Radio: Live AM FM Radio
<com.simpleonlineradio> Simple Radio
<com.shazlycode.pro_radio> Simple Radio
<com.gatsensoft.everyradio> Simple Radio - Live FM Radio
<com.haydenwatson.radiostrean> Simple Radio Stream
<com.sillent.radiousa> Simple Radio - Live FM & AM
<io.vietts.sonara> Simple FM Radio: Live Stations
Yes, I know, now, you guys are talking about the first app.
I had assumed that when I started to strip out the adware inside it.
Simply because it seemed like the best of the "simple radio" apps.
But as a rule, folks should list the unique package name when
they discuss apps, so that the rest of us don't have to hunt.
Anyway, moving on, what I wrote below was yesterday, as I gave up on
sending that post below 'cuz I'm gonna write a program to strip ads.
===< cut here for the post I was gonna send last night >===
(but then I decided to write code to strip out ads)
Here's what I did after installing com.streema.simpleradio just now.
adb shell pm path com.streema.simpleradio
package:/data/app/~~F3dAAPB_3rmx74jKOE-eZA==/com.streema.simpleradio-xVRFqarwI0sXufN6TEjbbA==/base.apk
package:/data/app/~~F3dAAPB_3rmx74jKOE-eZA==/com.streema.simpleradio-xVRFqarwI0sXufN6TEjbbA==/split_config.arm64_v8a.apk
package:/data/app/~~F3dAAPB_3rmx74jKOE-eZA==/com.streema.simpleradio-xVRFqarwI0sXufN6TEjbbA==/split_config.en.apk
package:/data/app/~~F3dAAPB_3rmx74jKOE-eZA==/com.streema.simpleradio-xVRFqarwI0sXufN6TEjbbA==/split_config.xhdpi.apk
mkdir manual_scan
cd manual_scan
adb pull /data/app/~~F3dAAPB_3rmx74jKOE-eZA==/com.streema.simpleradio-xVRFqarwI0sXufN6TEjbbA==/base.apk
C:\app\archiver\7zip\7z.exe l base.apk > apk_contents.txt
findstr /i /g:..\scanads_patterns.txt apk_contents.txt
(slower)
java -jar "C:\app\editor\android\apk\apkeditor\APKEditor.jar" d -r base.apk -o simpleradio_decoded
Unknown option: '-r'
C:\app\editor\android\scrcpy\manual_scan> java -jar "C:\app\editor\android\apk\apkeditor\APKEditor.jar" d -i base.apk -o simpleradio_decoded
00.000 I: [DECOMPILE] Using: APKEditor version 1.4.9, ARSCLib version 1.3.9
-t = xml
-load-dex = 3
-dex-lib = internal
-comment-level = basic
-i = base.apk
-o = simpleradio_decoded
________________________________________
00.053 I: [DECOMPILE] Loading ...
00.486 I: [DECOMPILE] Decompiling to xml ...
01.098 I: [DECOMPILE] Initializing android framework ...
01.099 I: [DECOMPILE] Loading android framework for version: 36
01.365 I: [DECOMPILE] Initialized framework: android-36 (16)
01.426 I: [DECOMPILE] [SANITIZE]: Sanitizing paths ...
01.429 I: [DECOMPILE] [SANITIZE]: [WIN/MAC] Checking duplicate case insensitive paths ...
01.461 I: [DECOMPILE] Validating resource names ...
01.682 I: [DECOMPILE] All resource names are valid
01.683 I: [DECOMPILE] Decode: archive-info.json
01.691 I: [DECOMPILE] Decode: uncompressed-files.json
01.730 I: [DECOMPILE] Decoding: AndroidManifest.xml
01.935 I: [DECOMPILE] public.xml: com.streema.simpleradio -> package_1
02.059 I: [DECOMPILE] Res files: resources
08.358 I: [DECOMPILE] Ignore non bin xml: res/raw/firebase_common_keep.xml
08.361 I: [DECOMPILE] Ignore non bin xml: res/raw/firebase_crashlytics_keep.xml
09.786 I: [DECOMPILE] Dex files: 7
14.365 I: [DECOMPILE] Baksmali: v035<7373> classes.dex
01:47.733 I: [DECOMPILE] Baksmali: v035<7188> classes2.dex
02:57.896 I: [DECOMPILE] Baksmali: v035<7303> classes3.dex
05:58.881 I: [DECOMPILE] Baksmali: v035<7543> classes4.dex
09:25.794 I: [DECOMPILE] Baksmali: v035<7273> classes5.dex
12:15 I: [DECOMPILE] Baksmali: v035<8563> classes6.dex
14:51 I: [DECOMPILE] Baksmali: v035<1743> classes7.dex
15:15 I: [DECOMPILE] Extracting root files ...
15:17 I: [DECOMPILE] Dumping signatures ...
15:17 I: [DECOMPILE] Saved to: simpleradio_decoded
(faster)
java -jar "C:\app\editor\android\apk\apktool\apktool_2.8.1.jar" d -r base.apk -o simpleradio_decoded2
I: Using Apktool 2.8.1 on base.apk
I: Copying raw manifest...
I: Copying raw resources...
I: Baksmaling classes.dex...
I: Baksmaling classes2.dex...
I: Baksmaling classes3.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
I: Copying META-INF/services directory
dir /s /b simpleradio_decoded\smali*\*.smali > smali_classes.txt
dir /s /b simpleradio_decoded2\smali*\*.smali > smali_classes2.txt
dir /s /b simpleradio_decoded2\*.smali > smali_classes2.txt
findstr /i /g:..\scanads_patterns.txt smali_classes.txt
powershell -NoProfile -Command "(Get-Content smali_classes.txt) -replace '\\','/' | Set-Content smali_classes_slash.txt"
findstr /i /g:..\scanads_patterns.txt smali_classes_slash.txt
etc.
Drat. I need a newer version of apktool to get all 7 DEX levels.
curl.exe -L -o apktool_3.0.3.jar https://github.com/iBotPeaches/Apktool/releases/download/v3.0.3/apktool_3.0.3.jar
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
100 14.7M 100 14.7M 0 0 882k 0 0:00:17 0:00:17 --:--:-- 1228k
java -jar apktool_3.0.3.jar -version
3.0.3
At this point, I decided to just write code to strip out the ads
that are inside of any given APK (if that's even possible).
Starting with this particular APK.
:: 1. Disassemble DEX only (-r skips resources)
java -jar "C:\app\editor\android\apk\apktool\apktool.jar" d -r base.apk -o out_apktool
:: 2. Collect all .smali file paths
dir /s /b out_apktool\*.smali > classes_apktool.txt
:: 3. Normalize backslashes (\) to forward slashes (/) for pattern matching
powershell -NoProfile -Command "(Get-Content classes_apktool.txt) -replace '\\','/' | Set-Content classes_apktool_slash.txt"
:: 4. Search for ad and tracker SDK classpaths
findstr /i /g:..\scanads_patterns.txt classes_apktool_slash.txt > matches_apktool.txt
type matches_apktool.txt
Here are the ad SDKs that the script will look for inside of APKs.
com/adcolony/sdk
com/amazon/device/ads/AdRegistration
com/applovin/mediation
com/appodeal
com/bytedance/sdk/openads
com/chartboost/sdk
com/digitalturbine
com/facebook/ads/AdManager
com/fyber
com/google/ads/mediation
com/inmobi/ads
com/ironsource/mediationsdk
com/liftoff
com/mintegral/msdk
com/mopub/mobileads
com/ogury
com/smaato
com/startapp
com/tapjoy/TJAdUnit
com/unity3d/ads/android
com/vungle/publisher
Here are the trackers that the script can optionally also look for.
com/adjust/sdk
com/appsflyer
com/kochava
com/singular/sdk
io/branch/referral
Note: I haven't finished writing the code, but here's the scanner
in a very beta version, just so you know I'm working on it off & on.
This just scans.
Once it finds apps, then we can strip out the ads from the APK.
:: ------------------------------------------------------------------
:: scanads.bat
:: scanads.bat > full_console_output.txt 2>&1
:: Scans non-rooted Android 10+ to look inside all apps to look for
:: apps with advertising SDKs or tracking SDKs
:: 1. connects to Android via ADB on the Windows desktop
:: 2. lists installed apps on the Android device
:: 3. extracts APK paths for each Android app on the device
:: 4. pulls each APK to the host and extracts classes*.dex with 7z e
:: 5. searches DEX class descriptors for known ad and tracker SDKs
:: 6. counts apps containing specific ad SDKs and tracker SDKs
:: 7. prints a summary and writes separate ad and tracker reports
:: Written in response to reading this in early August 2026
:: <https://www.eff.org/deeplinks/2026/07/developers-beware-ad-libraries-betray-your-users-location-privacy>
:: ------------------------------------------------------------------
:: v2p8 20261129 Anchored WORKDIR and pattern paths to %~dp0, replaced
:: "type nul >" (which caused "The system cannot find the
:: drive specified") with "break >", switched from 7z l
:: archive listing to 7z e classes*.dex DEX scanning, and
:: split scanning/reporting into scanads_sdk_ads.txt and
:: scanads_sdk_trackers.txt. Also fixed SaveDebug naming.
:: v2p7 20261129 Replaced unzip with 7z throughout
:: Now uses C:\app\archiver\7zip\7z.exe l
:: v2p6 20261129 Step 4 moved to the host. The device shell cannot read
:: /data/app/*/base.apk on non-rooted Android 10+, so listing
:: on the device always failed with "The system cannot find
:: the drive specified." Now we adb pull each APK and list
:: its contents on Windows instead.
:: Also: pattern file is the only source of truth, match
:: lines are echoed whole, debug copies are named by package
:: so they stop overwriting each other.
:: v2p5 20261129 Broke scanads_patterns.txt into 21 adware SDKs
:: com/adcolony/sdk
:: com/amazon/device/ads/AdRegistration
:: com/applovin/mediation
:: com/appodeal
:: com/bytedance/sdk/openads
:: com/chartboost/sdk
:: com/digitalturbine
:: com/facebook/ads/AdManager
:: com/fyber
:: com/google/ads/mediation
:: com/inmobi/ads
:: com/ironsource/mediationsdk
:: com/liftoff
:: com/mintegral/msdk
:: com/mopub/mobileads
:: com/ogury
:: com/smaato
:: com/startapp
:: com/tapjoy/TJAdUnit
:: com/unity3d/ads/android
:: com/vungle/publisher
:: And 5 tracker SDKs
:: com/adjust/sdk
:: com/appsflyer
:: com/kochava
:: com/singular/sdk
:: io/branch/referral
:: Ad networks and ad tech
:: appodeal (ad mediation)
:: digitalturbine (app monetization/install ads)
:: fyber (ad exchange)
:: liftoff (mobile ad network)
:: ogury (ad network, notably the one the EFF article is about)
:: smaato (ad exchange), startapp (ad network)
:: Attribution and analytics (not ad networks, but they're the SDKs
:: that do the location tracking the EFF piece describes.
:: adjust, appsflyer, kochava, singular, branch (io/branch/referral)
:: Google's mediation adapter, a special case, google/ads/mediation is the
:: AdMob mediation package. It appears in any app that brokers other
:: networks through AdMob, so it's a strong signal that ads are present
:: even when no single network package shows up.
:: v2p4 20260806 Had to force Windows to rewrite files with CRLF line endings
:: because Android uses LF but Windows expects CRLF instead
:: Had to move the subroutine as cmd interpreted lables wrong
:: v2p3 20260806 Had to move the trimming logic OUTSIDE the parentheses
:: because: for (...) do (...) blocks cannot contain :labels
:: and: goto cannot jump into or out of a parenthesized block
:: therefore: the trimming loop must be a subroutine
:: v2p2 20260806 Replaced extract APK powershell with Stefan's suggestion
:: v2p1 20260806 debugging galore (with help from Stefan Ram on Usenet)
:: v2p0 20260806 Created scanads_patterns.txt file containing SDKs
:: Because these strings only appear in apps that actually embed ad SDKs.
:: They are all genuine ad networks or ad mediation layers.
:: com/facebook/ads/AdManager
:: com/mopub/mobileads
:: com/applovin/mediation
:: com/unity3d/ads/android
:: com/ironsource/mediationsdk
:: com/bytedance/sdk/openads
:: com/chartboost/sdk
:: com/inmobi/ads
:: com/vungle/publisher
:: com/mintegral/msdk
:: com/tapjoy/TJAdUnit
:: com/adcolony/sdk
:: com/amazon/device/ads/AdRegistration
:: v1p9 20260806 added "setlocal enabledelayedexpansion"
:: v1p8 20260805 List APKs with ad SDKs in the summary and into a file
:: v1p7 20260805 Cleaned up minor errors and strengthened the summary
:: v1p6 20260805 Changed to match SDK classpaths, not metadata filenames
:: v1p5 20260805 Tightened grep from "ads" to a list of known ad packages
:: v1p4 20260805 Added result summary for packages found with ad SDKs
:: v1p3 20260805 Set temporary file names via easily-modified variables
:: v1p2 20260805 Added separate output folder and consistent file names
:: v1p1 20260805 Added checks to make sure adb is working first
:: v1p0 20260805 Scans all Android apps for ad-related packages
:: ------------------------------------------------------------------
:: This program connects to an Android device over ADB, collects the
:: full list of installed apps, extracts the file paths of their APKs,
:: and then scans each APK for known ad-network and tracker SDKs. For
:: every APK, it pulls the package to the host, uses 7z e to extract
:: classes*.dex, and searches those DEX files for specific SDK classpaths.
:: At the end, the script prints a summary and saves separate reports
:: for ad SDKs and tracker SDKs.
:: ------------------------------------------------------------------
@echo off
setlocal enabledelayedexpansion
echo Android APK Ad and Tracker SDK Scanner (v2p8)
echo.
REM Working directory and filenames and counters
:: v2p8: Anchor paths to the directory where scanads.bat resides
set "SCRIPT_DIR=%~dp0"
:: Define the directory name for temp working files
set "WORKDIR=%SCRIPT_DIR%scanads"
:: v2p8: Scratch directory for extracted classes*.dex files
set "DEXDIR=%WORKDIR%\dex_scratch"
:: Define the file name for the list of package names and APK paths
set "RAWPKG=%WORKDIR%\scanads_1packages_raw.txt"
:: Define the file name for the list of APKs scanned
set "APKPATHS=%WORKDIR%\scanads_2apkpaths.txt"
:: v2p8: Ephemeral files for ad-SDK and tracker-SDK classpath matches
set "ADSMATCHES=%WORKDIR%\scanads_3ads_matches.tmp"
set "TRACKERMATCHES=%WORKDIR%\scanads_4trackers_matches.tmp"
:: Define the files where we save APKs that contain ad or tracker SDKs
set "ADSOUT=%WORKDIR%\scanads_5adsfound.txt"
set "TRACKERSOUT=%WORKDIR%\scanads_6trackersfound.txt"
:: Define the file where we note packages we could not pull
set "SKIPOUT=%WORKDIR%\scanads_7skipped.txt"
:: v2p8: Separate pattern files for ad SDKs and tracker SDKs
set "PATTERNS_ADS=%SCRIPT_DIR%scanads_sdk_ads.txt"
set "PATTERNS_TRACKERS=%SCRIPT_DIR%scanads_sdk_trackers.txt"
:: Define the scratch copy of the APK we pull down from the device
set "PULLED=%WORKDIR%\scanads_8current.apk"
:: Define the archiver used to extract DEX files from APKs
set "ARCHIVER=C:\app\archiver\7zip\7z.exe"
:: Start counters at zero
set COUNT_TOTAL=0
set COUNT_ADS=0
set COUNT_TRACKERS=0
set COUNT_BOTH=0
set COUNT_CLEAN=0
set COUNT_SKIP=0
REM Create working directory if missing
if not exist "%WORKDIR%" mkdir "%WORKDIR%"
REM Check both pattern files exist
if not exist "%PATTERNS_ADS%" (
echo Ad pattern file %PATTERNS_ADS% not found.
exit /b
)
if not exist "%PATTERNS_TRACKERS%" (
echo Tracker pattern file %PATTERNS_TRACKERS% not found.
exit /b
)
REM Check ADB connection
adb get-state > nul 2>&1
if errorlevel 1 (
echo No device detected. Connect Android and enable USB debugging.
exit /b
)
REM Check 7z.exe on the host, not on the device
if not exist "%ARCHIVER%" (
echo 7z not found at %ARCHIVER%
exit /b
)
REM Dump package list
echo Pulling package list...
adb shell pm list packages -f > "%RAWPKG%"
:: Need to convert Android LF into Windows CRLF
powershell -NoLogo -NoProfile -Command "(Get-Content -LiteralPath '%RAWPKG%') | Set-Content -LiteralPath '%RAWPKG%'"
echo Package list saved.
echo.
REM Extract APK paths
echo Extracting APK paths...
> "%APKPATHS%" (
for /f "usebackq delims=" %%L in ("%RAWPKG%") do (
call :ExtractPath "%%L"
)
)
echo APK paths saved.
echo.
REM Scan APKs
echo Scanning for ad networks and trackers...
echo.
:: v2p8: clear output files using ">" instead of "type nul >"
> "%ADSOUT%" echo Ad SDKs found in these APKs:
> "%TRACKERSOUT%" echo Tracker SDKs found in these APKs:
> "%SKIPOUT%" echo Packages that could not be pulled:
:: begin scan loop
for /f "usebackq delims=" %%A in ("%APKPATHS%") do (
set /a COUNT_TOTAL+=1
echo Scanning %%A
:: v2p6: pull the APK down, then inspect it on the host
if exist "%PULLED%" del /f /q "%PULLED%" >nul 2>&1
adb pull "%%A" "%PULLED%" >nul 2>&1
if not exist "%PULLED%" (
echo [skip] could not pull this APK
echo %%A >> "%SKIPOUT%"
set /a COUNT_SKIP+=1
) else (
:: v2p8: extract classes*.dex so compiled SDK class descriptors can be searched
if exist "%DEXDIR%" rd /s /q "%DEXDIR%" >nul 2>&1
mkdir "%DEXDIR%" >nul 2>&1
"%ARCHIVER%" e "%PULLED%" "classes*.dex" -o"%DEXDIR%" -y >nul 2>&1
:: v2p8: clear match files safely with "break >"
break > "%ADSMATCHES%"
break > "%TRACKERMATCHES%"
:: v2p8: search binary DEX string tables for ad and tracker classpaths
if exist "%DEXDIR%\*.dex" (
findstr /i /m /g:"%PATTERNS_ADS%" "%DEXDIR%\*.dex" > "%ADSMATCHES%" 2>nul
findstr /i /m /g:"%PATTERNS_TRACKERS%" "%DEXDIR%\*.dex" > "%TRACKERMATCHES%" 2>nul
)
set "HAS_ADS=0"
set "HAS_TRACKERS=0"
for %%S in ("%ADSMATCHES%") do if %%~zS gtr 0 set "HAS_ADS=1"
for %%S in ("%TRACKERMATCHES%") do if %%~zS gtr 0 set "HAS_TRACKERS=1"
if "!HAS_ADS!"=="1" (
echo [ADS] %%A
echo APK: %%A >> "%ADSOUT%"
for /f "usebackq delims=" %%P in ("%PATTERNS_ADS%") do (
findstr /i /m /c:"%%P" "%DEXDIR%\*.dex" >nul 2>&1 && (
echo %%P
echo %%P >> "%ADSOUT%"
)
)
echo. >> "%ADSOUT%"
set /a COUNT_ADS+=1
call :SaveDebug "%%A" "ads" "%ADSOUT%"
)
if "!HAS_TRACKERS!"=="1" (
echo [TRACKERS] %%A
echo APK: %%A >> "%TRACKERSOUT%"
for /f "usebackq delims=" %%P in ("%PATTERNS_TRACKERS%") do (
findstr /i /m /c:"%%P" "%DEXDIR%\*.dex" >nul 2>&1 && (
echo %%P
echo %%P >> "%TRACKERSOUT%"
)
)
echo. >> "%TRACKERSOUT%"
set /a COUNT_TRACKERS+=1
call :SaveDebug "%%A" "trackers" "%TRACKERSOUT%"
)
if "!HAS_ADS!"=="1" if "!HAS_TRACKERS!"=="1" (
set /a COUNT_BOTH+=1
)
if "!HAS_ADS!"=="0" if "!HAS_TRACKERS!"=="0" (
set /a COUNT_CLEAN+=1
)
del /f /q "%PULLED%" >nul 2>&1
if exist "%DEXDIR%" rd /s /q "%DEXDIR%" >nul 2>&1
)
)
:: end scan loop
echo.
echo Scan complete.
echo.
echo Summary:
echo Total APKs scanned: %COUNT_TOTAL%
echo APKs containing ad SDKs: %COUNT_ADS%
echo APKs containing tracker SDKs: %COUNT_TRACKERS%
echo APKs containing both ad and tracker SDKs: %COUNT_BOTH%
echo APKs with neither: %COUNT_CLEAN%
echo APKs that could not be pulled: %COUNT_SKIP%
echo.
:: v2p8: show the files containing detailed ad-SDK and tracker-SDK results
echo Detailed ad list saved to: %ADSOUT%
echo Detailed tracker list saved to: %TRACKERSOUT%
if %COUNT_SKIP% gtr 0 echo Skipped list saved to: %SKIPOUT%
echo.
gvim "%ADSOUT%" "%TRACKERSOUT%"
pause
:: This exit /b ends the main script
exit /b
REM Subroutine: ExtractPath
REM Input: %1 = raw line from pm list packages -f
REM Output: trimmed APK path (echoed)
:ExtractPath
setlocal enabledelayedexpansion
set "line=%~1"
REM Strip leading "package:"
if /i "!line:~0,8!"=="package:" (
set "line=!line:~8!"
)
REM Trim everything after the last "="
set "tmp=!line!"
:trimloop
if "!tmp:~-1!"=="=" (
set "tmp=!tmp:~0,-1!"
goto :trimdone
)
set "tmp=!tmp:~0,-1!"
if not "!tmp!"=="" goto :trimloop
:trimdone
echo !tmp!
endlocal
goto :eof
REM Subroutine: SaveDebug
REM Input: %1 = full APK path, %2 = tag (ads/trackers)
REM Writes a per-package matched SDK list in WORKDIR
:SaveDebug
setlocal enabledelayedexpansion
set "apk=%~1"
set "tag=%~2"
REM v2p8: Extract parent directory name (e.g. com.streema.simpleradio-hash==)
for %%F in ("!apk!") do set "folder=%%~dpF"
if "!folder:~-1!"=="\" set "folder=!folder:~0,-1!"
for %%N in ("!folder!") do set "pkg=%%~nxN"
if "!pkg!"=="" set "pkg=unknown"
REM Sanitize characters invalid in Windows filenames
set "pkg=!pkg: =_!"
set "pkg=!pkg:/=_!"
set "pkg=!pkg:\=_!"
set "pkg=!pkg::=_!"
set "pkg=!pkg:*=_!"
set "pkg=!pkg:?=_!"
set "pkg=!pkg:"=_!"
set "pkg=!pkg:<=_!"
set "pkg=!pkg:>=_!"
set "pkg=!pkg:|=_!"
set "patfile=%PATTERNS_ADS%"
if /i "!tag!"=="trackers" set "patfile=%PATTERNS_TRACKERS%"
break > "%WORKDIR%\matches_!tag!_!pkg!.tmp"
for /f "usebackq delims=" %%P in ("!patfile!") do (
findstr /i /m /c:"%%P" "%DEXDIR%\*.dex" >nul 2>&1 && (
echo %%P >> "%WORKDIR%\matches_!tag!_!pkg!.tmp"
)
)
endlocal
goto :eof
:: This exit /b prevents CMD from falling into the label
exit /b
:: ------------------------------------------------------------------
:: end of scanads.bat
:: ------------------------------------------------------------------
--
Some people 'invest' seconds in USenet posts, where I add hours of value.
Technical Details
Message-ID:
<11eho0c$11lm$1@nnrp.usenet.blueworldhosting.com>Path:
mbox-mo1.pugleaf.net!news-wdc.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED.public-nat-02.vpngate.v4.open.ad.jp!not-for-mailReferences:
<11dic55$oell$1@dont-email.me> <11didmg$27mh$1@nnrp.usenet.blueworldhosting.com> <11diehk$2n1h$1@nnrp.usenet.blueworldhosting.com> <11djmev$15a87$1@dont-email.me> <11dkgh4.172o.1@ID-201911.user.individual.net> <11dknsv$2lg$1@nnrp.usenet.blueworldhosting.com> <11dmedj$23pvn$1@dont-email.me> <h32ptmxt76.ln2@Telcontar.valinor> <6b0a041e$5$84039$882e4bbb@reader.netnews.com> <11ee7de$2e1nf$2@dont-email.me> <7gqrtmxfcc.ln2@Telcontar.valinor> <e5rngld7antf14fsg892du9f0p732ag2ug@4ax.com> <3sdttmxp3p.ln2@Telcontar.valinor>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-wdc.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED.public-nat-02.vpngate.v4.open.ad.jp!not-for-mail From: Maria Sophia <mariasophia@comprehension.com> Newsgroups: misc.phone.mobile.iphone,comp.mobile.android,comp.sys.mac.advocacy Subject: Re: FM radio, or streaming radios. Date: Sun, 29 Nov 2026 12:39:25 -0500 Organization: BWH Usenet Archive (https://usenet.blueworldhosting.com) Message-ID: <11eho0c$11lm$1@nnrp.usenet.blueworldhosting.com> References: <11dic55$oell$1@dont-email.me> <11didmg$27mh$1@nnrp.usenet.blueworldhosting.com> <11diehk$2n1h$1@nnrp.usenet.blueworldhosting.com> <11djmev$15a87$1@dont-email.me> <11dkgh4.172o.1@ID-201911.user.individual.net> <11dknsv$2lg$1@nnrp.usenet.blueworldhosting.com> <11dmedj$23pvn$1@dont-email.me> <h32ptmxt76.ln2@Telcontar.valinor> <6b0a041e$5$84039$882e4bbb@reader.netnews.com> <11ee7de$2e1nf$2@dont-email.me> <7gqrtmxfcc.ln2@Telcontar.valinor> <e5rngld7antf14fsg892du9f0p732ag2ug@4ax.com> <3sdttmxp3p.ln2@Telcontar.valinor> Reply-To: pusvul@getTjewytR4so+mqe2.invalid Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sun, 29 Nov 2026 17:39:26 -0000 (UTC) Injection-Info: nnrp.usenet.blueworldhosting.com; posting-account="l//KxG3Ge2LojWvwJg0Igv8F0ChK8RUC9RtOxMPUo3U"; posting-host="IfCZz72xNNlHXBkfV9B6WJEa9xVhaehMJfhAC6fCwnM"; logging-data="34486"; mail-complaints-to="usenet@blueworldhosting.com" User-Agent: Mojibake v24p7 Cancel-Lock: sha1:EVjDG2jLJT6ZklrDLY3x2GZA9dg= sha256:0f2Whb/FnfBMtfkphm+XnF1XMVanh+IeVQeIusmU9UQ= sha1:GAHvNrSzMmKhCBGrjOAiWYVtS9I= sha256:iuutU8w/ldwHBHi2N82DvkPE9dbeJQInmPganH67k2Y= Content-Language: en-GB