小青瑶's Blog and Technical Guides

website·Indexed 29 days ago

https://xxx252525.github.io

A collection of technical tutorials and blog posts covering Android reverse engineering, Linux fundamentals, and system administration. Key topics include Android rooting, ADB, APK modification, Linux file and process management, and guides for tools like OhMyZsh and Oh-my-posh.

Tokens
54.4K
Snippets
294
Records
421
Agent score
75%

What's inside 小青瑶

  1. Overview of Markdown support in VuePress

    VuePress generates pages primarily from Markdown files, allowing developers to create documentation or blog sites based on the file structure. It uses markdown-it for parsing, which enables the use of markdown-it plugins for syntax extensions.
  2. Overview of Android Debug Bridge (ADB)

    Android Debug Bridge (ADB) is a command-line tool used to communicate with Android devices. It provides access to a Unix shell for running commands on the device. ADB consists of three components: a Client (sends commands from the PC), a Daemon (adbd, runs on the device to execute commands), and a Server (manages communication between the client and daemon). Key capabilities include device control, app installation/debugging, file transfer, shell execution, system status monitoring, and root access.
  3. Understand the role of Operating Systems (OS)

    An Operating System is system software that manages computer hardware and software resources, providing an interface for users and other software to interact with the hardware. Common examples include:

    • Windows: Developed by Microsoft.
    • macOS: Developed by Apple for Mac computers.
    • Linux: An open-source OS based on Unix, widely used in servers, embedded systems, and supercomputers (e.g., Ubuntu, Arch).
    • Android: An open-source system based on the Linux kernel.
    • iOS: Developed by Apple for mobile devices.
    • RTOS (Real-Time Operating System): Designed for real-time computing needs (e.g., FreeRTOS, RTLinux).
  4. Identify red flags of pyramid schemes and psychological manipulation

    Pyramid schemes often use emotional manipulation and social engineering to lure victims. Key red flags include:

    • Social Media Patterns: Group members with identical profile pictures, synchronized posts about wealth, luxury travel, or 'success' quotes.
    • Emotional Blackmail: Phrases like "I only trust you," "If you don't help me, I'll lose out," or claims that the project "changed countless lives."
    • Pressure Tactics: Encouraging victims to ignore their parents' advice or promising that the organization will help recruit others if the victim cannot.
    • Suspicious Claims: Legitimate companies do not need to "desperately emphasize their legality."
  5. Understand Linux Shell basics and types

    The Linux Shell is a command-line interface (CLI) and script interpreter that acts as a bridge between the user and the Linux kernel. It interprets user commands and sends them to the kernel for execution. Common Shell types include:

    • Bash (Bourne Again SHell): The most common shell in most Linux distributions.
    • SH (Bourne SHell): The original Unix shell.
    • C Shell (csh): Uses syntax similar to the C language.
    • Korn Shell (ksh): An extension of SH with more features.
    • Z Shell (zsh): A powerful interactive shell, default in Kali Linux.
  6. Understand the basics of Computer Programs and Machine Language

    A program is a set of instructions that tells a computer exactly what to do. To be considered a program, it must consist of both instructions and data for complex calculations.

    Machine Language is the lowest-level language that a CPU can directly interpret and execute. It consists of binary (0s and 1s), as CPUs cannot natively understand human languages like English or Chinese.

  7. Understand Linux root and home directories

    In Linux, the root directory (/) is the highest-level directory and the starting point of the entire file system tree. It is distinct from the /root directory, which is the private home directory for the superuser (root user). Regular users have their own home directories located under /home/username (e.g., /home/miui).
  8. Understand basic computer hardware architecture

    Modern computers generally follow the Von Neumann architecture, consisting of these core components:

    1. Central Processing Unit (CPU): The 'brain' that executes instructions and performs calculations.
    2. Memory (RAM): Temporary storage for data and programs currently running. Data is lost when power is removed.
    3. Storage Disk (Disk): Long-term non-volatile storage (e.g., SSD, HDD, TF cards).
    4. Input Devices: Hardware used to provide data and instructions (e.g., keyboard, mouse, camera).
    5. Output Devices: Hardware that presents processed results to the user (e.g., monitor, printer).
  9. Understand the program execution lifecycle

    Programs are stored in memory and executed by the CPU through a series of stages:

    1. Compilation/Interpretation: High-level languages (Python, Java, C++) are converted to machine language via a compiler or an interpreter (for languages like Python and JavaScript) that executes code line-by-line.
    2. Address Mapping: The OS loads instructions into memory and provides a virtual address for each process. The Memory Management Unit (MMU) translates these virtual addresses into physical addresses using page tables.
    3. Data Retrieval: The CPU checks multi-level caches (L1, L2, L3) for data. If not found, it retrieves data from the main memory, which is slower.
    4. Data Transmission: Data moves from memory to the CPU via system buses (data and memory buses), controlled by the memory controller.
    5. CPU Processing: Data is loaded into registers. The Arithmetic Logic Unit (ALU) performs calculations based on the Instruction Set Architecture (ISA), such as ARM or x86_64.
    6. Data Write-back: Results are written back to the CPU cache and eventually to the main memory based on cache consistency protocols.
  10. Customize theme layout components

    The theme layout consists of several configurable components that can be customized globally through theme options or on a per-page basis using frontmatter.

    Global layout components include:

    • Navbar
    • Sidebar
    • Footer

    Page-specific elements include:

    • Breadcrumbs (Path navigation)
    • Page titles and information
    • Table of Contents (TOC)
    • Page meta-information (contributors, update time, etc.)
    • Comments section

    Interface elements include:

    • Dark mode toggle
    • Back-to-top button
    • Print button