Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Module] silent-debugging #321

Closed
Gouster4 opened this issue Feb 13, 2025 · 6 comments
Closed

[Module] silent-debugging #321

Gouster4 opened this issue Feb 13, 2025 · 6 comments
Assignees
Labels
approved Modules that have been approved module A module submission

Comments

@Gouster4
Copy link

ID

silent-debugging

Name

Silent Debugging

Description

Enable USB & Wireless Debugging in way it should bypass most detections

Module repository link

https://github.com/Gouster4/silent-debugging/

Source code link (for compiled binaries/APKs)

No response

Anti-Features

No response

@Gouster4 Gouster4 added the module A module submission label Feb 13, 2025
@Atrate
Copy link
Member

Atrate commented Feb 14, 2025

Why does your module do what it does in an infinite loop? Would it not be enough to just do it once per boot?

@Atrate Atrate added the feedback required Waiting for feedback label Feb 14, 2025
@Gouster4
Copy link
Author

Gouster4 commented Feb 14, 2025

It sets adeveloper setrings usb and wireless debugging to value 2. Each 60 seconds.

There are two reasons for loop.
1: My issue with timing. It was being run too early and didnt had effect. My intention was to find out perfect timing but it would depend on phone speed i guess. I had an attemp to delay it by reading props that can detect finished boot cycle. But here is 2nd reason, thats why i gave up on timing.
2: after connecting/reconnecting to any Wifi network, wireless debugging resets to 1 so its detectable again.
So this one was when i definetly decided that running it in loop would be solution. Maybe temporary, if i would find out better way. But right now i dont have better idea. Ans with loop its actually working. Tested it using IAmNotADeveloper app.

@Atrate Atrate removed the feedback required Waiting for feedback label Feb 14, 2025
@Atrate
Copy link
Member

Atrate commented Feb 14, 2025

That's acceptable. In the future I'd recommend trying to find some better way, but such a lightweight script should not impact battery life too much.

@Atrate Atrate self-assigned this Feb 14, 2025
@Atrate
Copy link
Member

Atrate commented Feb 14, 2025

Please add a disclaimer about security to your module's README.

Also, please indent your code and fix issues identified by shellcheck:

In service.sh line 2:
i=0
^-- SC2034 (warning): i appears unused. Verify use (or export if used externally).

For more information:
  https://www.shellcheck.net/wiki/SC2034 -- i appears unused. Verify use (or ...

@Gouster4
Copy link
Author

Gouster4 commented Feb 14, 2025

Please add a disclaimer about security to your module's README.

Also, please indent your code and fix issues identified by shellcheck:

In service.sh line 2:
i=0
^-- SC2034 (warning): i appears unused. Verify use (or export if used externally).

For more information:
  https://www.shellcheck.net/wiki/SC2034 -- i appears unused. Verify use (or ...

Thank youbfor feedback. Already done.
i=0 was left from prevous loop attemp and is not needed in current state.

@Atrate Atrate added the approved Modules that have been approved label Feb 16, 2025
Copy link

Hey @Gouster4,

your module submission has been approved!
The module will likely be available at https://github.com/Magisk-Modules-Alt-Repo/silent-debugging.

Check your e-mail inbox for an invite to your new repository and remember to 'Watch' your repository on Github to have new issues in it show up in your feed.

Make sure to change your local repository's push URLs or configure 2 parallel push URLs.

Best regards,
The MMAR Team

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Modules that have been approved module A module submission
Projects
None yet
Development

No branches or pull requests

2 participants