Hands-On Guide

Android Hacking

Learn Android’s security model, rooting concepts, app testing, permissions and legitimate FRP or lockscreen recovery through an emulator-based lab.

CybersecurityFree Guide

Android security research starts with understanding apps, identities, permissions and data boundaries. You can learn a great deal using an emulator and a small app without rooting your everyday phone.

Rooting, bootloader unlocking, screen locks and Factory Reset Protection are different mechanisms. This guide explains their roles and uses official ownership-verification routes for recovery rather than treating anti-theft controls as a practice target.

Before You Start

  • Basic Linux and networking concepts.
  • Android Studio and an emulator, or a dedicated device you own and are authorised to test.
  • Synthetic test data and an app you wrote or an intentionally vulnerable training app.
  • Use Android Studio’s Kotlin Empty Activity template with Jetpack Compose. Set the package to com.example.labnotes and use a supported emulator. The app is a dedicated training project containing invented notes only.

YOUR PRACTICAL PROJECT

An Android App Security Notebook

Build LabNotes in Kotlin, inspect the debug app with ADB, map storage and exported components, add a constrained HTTPS experiment and fix an intentional synthetic-note logging mistake. Finish with a reproducible app-security notebook and retest.

SECTION 01

Understand the Android Security Model

Android builds on a Linux kernel and separates applications using identities and platform controls. An app normally runs in a sandbox and receives access to protected capabilities through defined APIs and permissions. SELinux adds mandatory access controls, while verified boot and signing help protect the software chain. These controls solve different problems and should not be collapsed into “the phone is secure”.

App security also depends on its backend, data handling and configuration. A sandbox does not prevent an app from sending data to its own server or mishandling credentials it legitimately receives. Begin by asking what data exists, who can access it and where it crosses a boundary.

Keep three kinds of boundary separate: app-to-app isolation, user-to-app permissions and app-to-server authorisation. Android can isolate the app’s files while the app itself sends them to an unintended endpoint or logs them carelessly. An exported activity can be legitimate when it is the launcher entry point; exposure becomes a problem when a sensitive operation lacks appropriate checks. Your review will connect a particular data flow to a requirement instead of treating every permission or debugging feature as a vulnerability.

Define the LabNotes Threat Model

Markdown
Asset: a fictional study note
Intended storage: LabNotes app-private files
Intended disclosure: only the learner's test app UI
Unwanted copies: debug logs, shared files or unrelated requests
Environment: owned emulator and our own debuggable app
Limits: no claim about a production device or other apps

Expected Result

Save this as android-review.md outside the Android project’s public or asset folders.

Build Your Project · Step 1

Draw your test app, its local storage, the operating system and a fictional API. Label which component checks each permission or identity.

  1. Identify the asset, intended reader and three possible unintended copies.
  2. Separate OS sandbox guarantees from choices made by your app.
  3. Write a requirement that notes must not be included in diagnostic logs.

Keep This Deliverable

A focused threat model for one app and one data type.

Common Mistakes and Fixes

  • An installed security tool does not prove a device is secure or vulnerable. Begin with a requirement and an observable behaviour.

Check Your Understanding

Can a sandboxed app still leak its own data?

Reveal the explanation

The platform can enforce file isolation while app code leaks the same data through a log or network request. Both boundaries need review.

Useful Links for This Step

SECTION 02

Create a Dedicated Emulator Lab

Use Android Studio’s Device Manager to create a virtual device appropriate for the app and your computer. Install a compatible system image through the official tooling. Emulator images and physical devices differ in hardware-backed features, root availability and attestation behaviour; record what you are actually testing.

Keep the lab separate from your personal Google account and real messages. Use snapshots or a resettable test state. Choose an OWASP MASTG training app or build a minimal app yourself, then read its setup instructions. A deliberately vulnerable app belongs in a controlled environment.

Create a fresh emulator in Device Manager and record the selected system image. Create an Empty Activity Kotlin project named LabNotes with package com.example.labnotes. Let Android Studio finish its Gradle sync before changing source. Run the generated app once; this establishes that the SDK, emulator and project work before you introduce your own code. Use only synthetic input and avoid signing into a personal account inside the lab image. Emulator access and the debug build are explicit testing prerequisites, not assumptions about a normal installed app.

Record the Environment Before Testing

Text
Project: LabNotes
Package: com.example.labnotes
Build: debug
Device: [your emulator identifier]
System image: [the image you selected]
App source: owned training project
Test data: invented study notes
Baseline: generated app launches successfully

Expected Result

Fill the bracketed fields from Android Studio and adb devices -l. Keep the record with the review.

Build Your Project · Step 2

Record the emulator model, Android API level, image type and training-app source. Create a baseline snapshot before testing.

  1. Install the official SDK Platform Tools and start one dedicated emulator.
  2. Run the generated app successfully before editing it.
  3. Record the package ID and emulator identifier; preserve a clean snapshot if your setup supports it.

Keep This Deliverable

A reproducible emulator baseline and project inventory.

Common Mistakes and Fixes

  • Gradle or SDK errors occur before the security exercise. Resolve the specific missing package or compatible JDK through Android Studio’s guidance instead of downloading random tool bundles.

Check Your Understanding

What can an emulator baseline fail to establish about a real device?

Reveal the explanation

The emulator makes the experiment repeatable, but its debugging, root and hardware-security behaviour can differ from a production device.

Useful Links for This Step

SECTION 03

Build a Small Notes App You Can Inspect

Replace MainActivity.kt in the generated package with this complete Compose activity. Keep the template’s Gradle configuration and manifest entry for MainActivity. The UI stores a short note in the app’s private files directory, loads it and deletes it. Those operations deliberately stay small so you can follow the data flow. Production apps should also plan background I/O, lifecycle state and robust persistence.

The Save handler intentionally copies the synthetic note into a debug log. That is the learning defect you will demonstrate and fix; type invented text only. A debugger’s ability to inspect your own debuggable app is not itself the vulnerability. The requirement is that diagnostic output should not contain the note’s content.

MainActivity.kt - Training App

Kotlin
package com.example.labnotes

import android.os.Bundle
import android.util.Log
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.rememberScrollState
import androidx.compose.foundation.verticalScroll
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.padding
import androidx.compose.material3.*
import androidx.compose.runtime.*
import androidx.compose.ui.Modifier
import androidx.compose.ui.unit.dp
import java.io.File

class MainActivity : ComponentActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        val noteFile = File(filesDir, "note.txt")
        setContent {
            var note by remember { mutableStateOf("") }
            var status by remember { mutableStateOf("Use invented notes only") }
            MaterialTheme {
                Scaffold { padding ->
                    Column(Modifier.padding(padding).padding(16.dp)
                        .verticalScroll(rememberScrollState())) {
                        Text("LabNotes")
                        TextField(value = note, onValueChange = { note = it.take(200) },
                            label = { Text("Fictional note") })
                        Button(onClick = {
                            try {
                                noteFile.writeText(note)
                                Log.d("LabNotes", "Saved note: " + note) // Intentional lab defect.
                                status = "Saved"
                            } catch (error: Exception) { status = "Save failed" }
                        }) { Text("Save") }
                        Button(onClick = {
                            try {
                                note = if (noteFile.exists()) noteFile.readText() else ""
                                status = if (noteFile.exists()) "Loaded" else "No saved note"
                            } catch (error: Exception) { status = "Load failed" }
                        }) { Text("Load") }
                        Button(onClick = {
                            val removed = !noteFile.exists() || noteFile.delete()
                            if (removed) note = ""
                            status = if (removed) "Note removed" else "Delete failed"
                        }) { Text("Delete") }
                        Text(status)
                    }
                }
            }
        }
    }
}

Expected Result

Run the debug app. Save “SYNTHETIC-ALPHA”, change the text, then Load to restore it. Delete removes the app file. The next steps inspect the intentionally unsafe logging behaviour.

Build Your Project · Step 3

Create the same small data flow you will assess.

  1. Replace only MainActivity.kt and build through Android Studio.
  2. Verify Save, Load and Delete with synthetic text.
  3. Draw UI → private file and UI → log as two separate flows.

Keep This Deliverable

A working owned training app and its data-flow sketch.

Common Mistakes and Fixes

  • Unresolved Compose imports usually mean a non-Compose template was chosen or Gradle sync has not completed. Keep the package declaration aligned with the project.

Check Your Understanding

Why should the report distinguish an app-private file from a diagnostic log copy?

Reveal the explanation

They have different access paths and lifetimes. Appropriate private storage does not justify creating an unnecessary copy in logs.

Useful Links for This Step

SECTION 04

Inspect the Device with ADB

Android Debug Bridge connects development tools to an authorised device or emulator. Its client, server and device daemon coordinate commands. On a physical device, debugging normally requires enabling the developer setting and authorising the computer; a locked or unauthorised device is not something ADB should be assumed to unlock.

Start with read-only inspection. Select the correct serial when multiple devices are connected. The emulator serial shown below is an example; use the one reported by your own adb devices output. Avoid collecting a full log dump from a personal device because logs can contain sensitive data.

Choose the emulator explicitly with -s so commands cannot accidentally address another connected device. The examples use emulator-5554 as a sample identifier; replace it with the exact one from adb devices -l. The run-as command switches to your own debuggable app’s identity when the platform allows it. A release build normally rejects that operation. This is a supported development capability, not a method for reading unrelated app data.

Inspect the Owned Debug App

Shell
adb devices -l
adb -s emulator-5554 shell pm path com.example.labnotes
adb -s emulator-5554 shell run-as com.example.labnotes ls files
adb -s emulator-5554 shell run-as com.example.labnotes cat files/note.txt

Expected Result

After saving a synthetic note, the package path is listed and the last command prints that note from your own debug app. Replace the sample emulator identifier first.

Build Your Project · Step 4

Add these observations to your notebook. If the device is unauthorised, resolve the normal development-authorisation prompt on your own device or use the emulator.

  1. Record the actual device identifier and package path.
  2. Save a new synthetic note, then compare app UI and run-as output.
  3. Explain why this observation cannot be generalised to another app or a non-debuggable build.

Keep This Deliverable

A small ADB transcript with explicit test prerequisites.

Common Mistakes and Fixes

  • “More than one device” means a target was not selected. “Package not debuggable” means run-as is not available for that build; do not describe that as a test failure or weaken a real device.

Check Your Understanding

What prerequisites make run-as work for this exercise?

Reveal the explanation

ADB access, a chosen device and a debuggable owned app are prerequisites. run-as does not imply general access to other app sandboxes.

Useful Links for This Step

SECTION 05

Review Permissions, Storage and Network Use

Inspect the app’s manifest and the permissions it requests. Ask whether each permission supports a visible feature and whether the app still behaves reasonably when permission is denied. Review exported components and the checks protecting operations that other apps may invoke.

Map sensitive data to its storage and transport. Preferences, databases and logs are not automatically appropriate places for secrets. Use platform-supported secure storage and key management for the app’s actual threat model. Network security requires correct TLS use and server-side authorisation; a hidden API endpoint is not an access-control mechanism.

The baseline LabNotes app needs no camera, contacts or shared-storage permission to write its own internal file. Inspect the merged manifest rather than only the source file, because libraries and build variants can contribute entries. Ask what visible feature explains each permission. Do not call a normal permission declaration a confirmed leak; follow the actual code and runtime behaviour. If an optional feature is denied a permission, it should explain the limitation without crashing or blocking unrelated work.

Inspect Package Declarations

Shell
adb -s emulator-5554 shell dumpsys package com.example.labnotes

Expected Result

Read the sections for requested/granted permissions and activities. Output varies by Android version and can be long; retain only the relevant synthetic app details.

Build Your Project · Step 5

Verify that saving an internal note needs no shared-storage permission, then check that Delete removes that note. The baseline app requests no dangerous runtime permission, so mark permission-denial testing as not applicable unless you deliberately add such a feature.

  1. Compare the merged manifest with the package dump.
  2. List every declared permission and its actual purpose in this app.
  3. Record that internal note storage works without broad shared-storage access.

Keep This Deliverable

A permission inventory tied to features.

Common Mistakes and Fixes

  • Do not run permission-grant commands just because an app request failed. First determine whether the feature should need that permission at all.

Check Your Understanding

Does a declared permission prove that data was collected?

Reveal the explanation

A permission is a capability request, not evidence that data was collected or transmitted. Review the implementation and observe the relevant behaviour.

Useful Links for This Step

SECTION 06

Trace Storage and Fix Sensitive Logging

The private note file and the debug log contain separate copies of the same text. After saving a distinctive synthetic marker, inspect only LabNotes-tagged logs. Modern Android restricts ordinary apps’ access to system logs; your authorised development connection has different capabilities. State those prerequisites when describing impact instead of claiming that every installed app can read the note.

Remove the note content from the log statement, rebuild and repeat with a new marker. Old log entries may remain in the buffer, so search for the new marker rather than treating old evidence as a failed fix. Removing a file also does not prove that all backups or previous copies have been erased. Keep storage, logging, backup and deletion claims separate.

Observe the Intentional Log Copy

Shell
adb -s emulator-5554 logcat -d -s LabNotes:D "*:S"

Expected Result

After saving SYNTHETIC-ALPHA in the original debug app, the LabNotes log includes that synthetic value. The command reads logs; it does not execute their contents.

Replace the Unsafe Log Statement

Kotlin
Log.d("LabNotes", "Note saved")

Expected Result

Replace the single Log.d line in the Save handler. Rebuild and save SYNTHETIC-BETA. New messages describe the operation without including the note content.

Build Your Project · Step 6

Fix the specific data-flow defect and retest it.

  1. Record the before-fix log with invented content.
  2. Replace the logging statement and rebuild the debug app.
  3. Save a new marker, check the new logs and confirm Save/Load still works.

Keep This Deliverable

A before/after logging finding with realistic access prerequisites.

Common Mistakes and Fixes

  • Old entries survive an app rebuild in some setups. Use a unique new synthetic marker and a fresh observation window instead of deleting unrelated device logs.

Check Your Understanding

Does being able to read a debug log prove that an ordinary app can read it?

Reveal the explanation

No. The access path and build context matter. The unnecessary sensitive copy is the defect; the report must state who could access that copy in the tested environment.

Useful Links for This Step

SECTION 07

Add an Explicit HTTPS Experiment

The baseline app has no network feature, so record network testing as not applicable until you add one. For a controlled extension, add the INTERNET permission directly under the manifest root, create the network configuration below and add android:networkSecurityConfig="@xml/network_security_config" to the existing application element. Keep the rest of the generated manifest intact.

The optional button makes one ordinary HTTPS request to example.com and displays only its status. It sends no note, token or personal data. Network work runs off the main thread and updates the UI on the main thread. Default certificate validation stays enabled. A successful response checks this one path; it does not establish that every endpoint or custom networking library follows the same policy.

res/xml/network_security_config.xml

XML
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
    <base-config cleartextTrafficPermitted="false" />
</network-security-config>

Expected Result

Create the xml resource directory if needed and reference this file from the existing application element. Add <uses-permission android:name="android.permission.INTERNET" /> under manifest for the optional request.

Optional Button Inside the Existing Column

Kotlin
Button(onClick = {
    status = "Checking HTTPS"
    Thread {
        var connection: javax.net.ssl.HttpsURLConnection? = null
        val result = try {
            connection = java.net.URL("https://example.com/")
                .openConnection() as javax.net.ssl.HttpsURLConnection
            connection.connectTimeout = 3000
            connection.readTimeout = 3000
            "HTTPS status: " + connection.responseCode
        } catch (error: Exception) { "Request failed; inspect the lab setup" }
        finally { connection?.disconnect() }
        runOnUiThread { status = result }
    }.start()
}) { Text("Check HTTPS") }

Expected Result

Add the button inside Column where note and status exist. With internet access and valid TLS, it displays the HTTP status. With networking unavailable, it reports failure without sending the note.

Build Your Project · Step 7

Map one deliberate network flow and its limits.

  1. Confirm the app did not need INTERNET before the extension.
  2. Add the configuration and button, then test success and disconnected networking.
  3. Record that the note never enters the request and that no trust-all certificate code was added.

Keep This Deliverable

A network-policy note with one optional controlled HTTPS observation.

Common Mistakes and Fixes

  • Check the permission, config reference and network access before changing TLS settings. Do not disable certificate verification to make an example appear successful.

Check Your Understanding

Does blocking cleartext traffic replace server-side authorisation?

Reveal the explanation

No. Transport protection and object permissions solve different problems. A secure connection can still carry an unauthorised request if the server policy is wrong.

Useful Links for This Step

SECTION 08

Review Exported Components and Entry Points

Android activities, services, receivers and providers are entry points with different purposes. exported determines whether other applications can reach a component through the platform’s component mechanisms, subject to other controls. A launcher activity normally needs to be reachable by the launcher; an internal data operation often does not need external exposure. Exposure must be evaluated together with permissions, input handling and the operation it performs.

For LabNotes, inspect the final manifest and explain why MainActivity is the launcher. It should not expose a provider that lets arbitrary callers read note.txt. This exercise does not invent a provider flaw simply because the app has an exported activity. If you later add sharing or deep links, define the allowed inputs and required caller or user checks before implementing them.

Launch the Owned App Explicitly

Shell
adb -s emulator-5554 shell am start -n com.example.labnotes/.MainActivity

Expected Result

The app opens when the package and component names match the generated manifest. This verifies the expected entry point, not a bypass of app or account security.

Build Your Project · Step 8

Document the app’s actual component boundary.

  1. Use Android Studio’s merged manifest or APK Analyzer to list components.
  2. Explain the launcher intent filter and each exported setting.
  3. Write a requirement for any future sharing or deep-link feature before adding it.

Keep This Deliverable

A component inventory with purpose and exposure rationale.

Common Mistakes and Fixes

  • Activity class does not exist usually means the package or manifest name differs. Read the generated manifest before guessing component names.

Check Your Understanding

Is every exported activity a security vulnerability?

Reveal the explanation

No. Some are intended public entry points. A finding needs a sensitive action or data flow that can be reached without the required checks.

Useful Links for This Step

SECTION 09

Rooting and Bootloader Unlocking Are Different

Rooting gives software elevated authority within Android. Bootloader unlocking changes whether the device accepts certain software images and often resets user data. A device may support neither, one or both through manufacturer-specific mechanisms. Neither concept is a universal way to remove account ownership checks or decrypt locked data.

Root can make some research tasks easier, but it changes the environment and may weaken protections or cause apps to behave differently. Many app tests can be performed on an unrooted device. If advanced research needs a modified device, use a spare owned device, follow its manufacturer’s documented options and record the resulting limitations. Do not assume instructions for one model apply to another.

Compare the shell identity with your debug app identity using read-only commands. Neither requires rooting this lab. Root access changes what the tester can inspect and therefore changes the assumptions behind a finding. A bug demonstrated only after granting the tester elevated access may have a different impact from a remotely reachable app flaw. Record those prerequisites instead of presenting all successful observations as equivalent compromises.

Compare Two Testing Identities

Shell
adb -s emulator-5554 shell id
adb -s emulator-5554 shell run-as com.example.labnotes id

Expected Result

The first reports the shell identity; the second reports the owned debug app identity when run-as is permitted. Exact numeric IDs vary. Neither command requests bootloader unlocking or device rooting.

Build Your Project · Step 9

Write a decision note: which test needs elevated access, whether a normal emulator can answer it and what changes root would introduce.

  1. Record which identity read the private note file.
  2. Explain how a rooted test device would change your threat model.
  3. Keep the main project on the standard emulator and mark unsupported hardware claims as untested.

Keep This Deliverable

An environment-limitations paragraph tied to observed identities.

Common Mistakes and Fixes

  • Do not treat run-as as proof of root. It is a controlled debugging facility for eligible applications.

Check Your Understanding

How do root access and bootloader unlocking differ?

Reveal the explanation

Bootloader unlocking changes boot-image acceptance; root changes runtime authority. They are different operations with device-specific prerequisites and consequences.

Useful Links for This Step

SECTION 10

FRP and Lockscreen Recovery

Factory Reset Protection is an ownership-protection mechanism. After a protected device is reset, setup may require a Google account previously associated with it or another supported ownership credential. A factory reset is not a guarantee that this check disappears. Screen-lock recovery is a separate issue, and erasing a device can remove local data that is not backed up.

For your own device, use Google’s account-recovery process and the manufacturer’s official support instructions. For a second-hand phone, have the previous owner remove the device from their account using the supported process. For an organisation-managed phone, contact its administrator. If ownership cannot be verified, avoid third-party “universal bypass” claims and credential-sharing services.

Treat recovery as an ownership workflow, not an app-testing technique. A forgotten screen lock, a Google Account problem and Factory Reset Protection refer to different checks. Begin with the official recovery instructions for the actual device and account. Some recovery actions erase local data; read their consequences before proceeding on a personal device. For this course, write a decision table only-there is no need to reset or unlock a real phone to finish the app review.

Distinguish Recovery Problems

Text
Forgotten screen lock -> device manufacturer's supported reset/recovery guidance
Forgotten Google Account password -> official account recovery
Ownership check after reset -> use the required legitimate owner credentials/support
Managed device -> contact the organisation's authorised administrator
Lab app bug -> fix and retest the app; device recovery is unrelated

Expected Result

Add this as a conceptual appendix. It does not perform any account, lockscreen or FRP operation.

Build Your Project · Step 10

Create a recovery plan for a fictional device: account recovery, backup status, proof of ownership and the manufacturer’s support route. Do not reset your daily phone for this exercise.

  1. Explain which problem each official route addresses.
  2. Record potential data loss before any real recovery action.
  3. Keep recovery claims separate from the LabNotes vulnerability report.

Keep This Deliverable

A recovery-reference appendix with official links.

Common Mistakes and Fixes

  • Avoid services promising a universal bypass for every build. Recovery conditions depend on the owner account, device and management state.

Check Your Understanding

Does a factory reset necessarily remove ownership verification?

Reveal the explanation

A factory reset and an ownership check serve different purposes. Erasing local data does not necessarily remove the requirement to prove legitimate ownership.

Useful Links for This Step

SECTION 11

Choose Security Tools by the Question

Android Studio, ADB and the emulator provide a good starting toolkit. OWASP MASVS describes mobile security requirements; MASTG explains testing methods and provides training material. Static-analysis tools such as MobSF can help identify leads, but automated findings need manual verification and context.

Dynamic instrumentation tools can help advanced app research on authorised lab apps, but they change execution conditions and are not proof that a normal user can reproduce the same effect. On a personal device, platform updates, sensible permissions, trustworthy app sources and account security usually matter more than collecting apps labelled “hacking tools”.

Use a question-first tool table. Android Studio helps trace source and builds, ADB observes the owned debug environment, APK Analyzer shows the packaged manifest, JADX can help inspect your own compiled code, and MobSF can suggest static-analysis leads. Instrumentation tools such as Frida require a compatible, authorised setup and are optional later study. A scanner finding becomes useful only after you understand the relevant code path and reproduce the claimed behaviour.

Build the Debug APK for Inspection

Shell
./gradlew assembleDebug

Expected Result

Run from the Android project root on macOS/Linux. On Windows use .\gradlew.bat assembleDebug. Open the resulting app/build/outputs/apk/debug/app-debug.apk in Android Studio’s APK Analyzer.

Build Your Project · Step 11

Map three checks from your notebook to relevant MASVS areas such as storage, network or authentication. Identify the observation each tool would provide.

  1. Inspect the final manifest in your own APK rather than an unrelated application.
  2. Check whether the synthetic logging defect is present in the source/build under review.
  3. Map one observation to a relevant MASVS requirement and MASTG test; avoid claiming complete MASVS compliance.

Keep This Deliverable

A tool-to-question table and one manually verified observation.

Common Mistakes and Fixes

  • Static warnings can be false positives or build-variant dependent. Record the artifact and corroborating runtime evidence.

Check Your Understanding

What must you do before treating a scanner lead as a finding?

Reveal the explanation

A tool reports evidence or a hypothesis. The reviewer must connect it to a security requirement and a reachable, reproducible behaviour.

Useful Links for This Step

SECTION 12

Report and Retest One App Issue

Choose one finding from a training app or explicitly label a fictional example as simulated. State the app and environment, data involved, exact behaviour, prerequisites and realistic impact. Include emulator or root requirements so the reader understands reachability. Suggest a fix at the component that owns the security decision.

Retest both the attack condition and the legitimate workflow. If you remove sensitive logging, confirm the secret no longer appears while useful diagnostics remain. If you change a permission, check the feature with permission granted and denied. Finish by restoring the lab baseline and retaining only sanitised evidence.

Finish with the logging issue you actually reproduced. Include the debug-build and ADB prerequisites, the synthetic marker, the relevant code statement and the retest with a different marker. Explain what remained untested: production logging, backup behaviour, hardware-backed keys or a physical device. A clear limited conclusion is more valuable than a broad claim that the app is “fully secure” after one line changed.

Complete the Android Review

Markdown
Finding: synthetic note content copied into diagnostic logs
Requirement: note text stays out of logs
Environment: owned emulator, debug build, authorised ADB
Before: Save SYNTHETIC-ALPHA -> LabNotes log contains that marker
Fix: log the operation without the note content
After: Save SYNTHETIC-BETA -> no new log includes that marker
Regression: Save, Load and Delete still behave as expected
Limits: production build, backup and physical-device protection not established

Expected Result

Replace template observations with the results you actually saw. If a test was not run, mark it untested rather than inventing evidence.

Build Your Project · Step 12

Produce a short report with one positive and one negative retest. Add an environment limitation and a next learning goal.

  1. Repeat the full data flow after the fix, including Save/Load/Delete.
  2. Check that the optional network request still sends no note data.
  3. Archive only synthetic evidence and stop the emulator or restore the clean lab state when finished.

Keep This Deliverable

An Android app review with setup, inventory, finding, fix, retest and limitations.

Common Mistakes and Fixes

  • A passing scanner score does not replace your regression checks. Verify the exact build you are reporting on.

Check Your Understanding

What makes an app review reproducible?

Reveal the explanation

The report is complete when another reviewer can reproduce the specific issue and verify the fix under the same stated prerequisites.

Useful Links for This Step

Check Your Finished Project

  • The lab contains synthetic data and an authorised app.
  • Root, bootloader state, screen lock and FRP are distinguished correctly.
  • Automated findings are verified with actual behaviour.
  • The report states emulator or modified-device limitations.
  • Follow the numbered project tasks and retain the named deliverable from each step.
  • Record actual example results, failed cases and any environment-dependent tests you could not perform.

Access and Offline Reading

The complete guide is free to read here. Linked providers may require accounts or offer paid features; check their own access conditions.

The guide text, examples and illustrations are included in this website’s local copy. External documentation, platform accounts, downloads and hosted labs need an internet connection.

References and Further Learning

HACKTRONIAN_CLI // COMMAND PALETTE
QUICK_EXEC: