*make no mistakes*(don't overuse cloud space and also be fas...
Prompt
*make no mistakes*(don't overuse cloud space and also be fast and percise))https://www.mediafire.com/file/pjtw29qwfgythe4/ShonenZ-0.1.5-arm64-PERSONAL-SIGNED.apk/file download and study this app and finish the task given in the prompt to the last extent with no stopping and go all the way and follow every prompt text : SHONENZ+ — MASTER V2 UPGRADE & REBUILD PROMPT OBJECTIVE Download, inspect, analyze, and understand the existing Android APK and its available source code, dependencies, and repositories. Use REA (reverse-engineering and analysis tools, such as JADX, Apktool, and other suitable tools) to understand its architecture, reader engines, download manager, extension systems, and media player. Build a completely new Android application named ShonenZ+, with a new application ID, unique app branding, and a new signing key. Do not merely reskin the original APK. Rebuild and upgrade its core functionality, repair existing bugs, and integrate all improvements into one stable application. 1. APK ANALYSIS & REBUILD - Inspect the APK, manifest, permissions, activities, services, dependencies, and available source repositories.- Analyze existing implementations before modifying or replacing components.- Recover and reuse legitimate functionality where source code and licensing permit.- Prefer native source-level modifications over fragile binary patching.- Preserve compatible user data and settings where technically possible, without compromising security.- Generate a new signing keystore and sign the final ShonenZ+ APK with it.- Keep the keystore secure and provide instructions for safely backing it up.- Do not claim an APK is successfully rebuilt or functional until it has actually been compiled, installed, and tested. 2. READER ENGINE — MIHON / WEBTOON / OFFLINE Comprehensively fix the manga reader: - Repair Webtoon and long-strip scrolling modes, image stitching, image scaling, page transitions, and reading direction.- Fix blank pages, broken images, loading failures, chapter navigation, progress tracking, and reader crashes.- Repair offline reading so downloaded chapters open without an internet connection.- Fix page caching, image decoding, memory usage, and large-chapter performance.- Ensure reading progress, bookmarks, and last-read chapters remain synchronized.- Support both paginated manga and continuous vertical Webtoon reading. 3. UNIFIED DOWNLOAD SYSTEM Create one unified download manager for manga and anime. Every downloaded chapter or episode must be linked to its actual title, source, season, chapter or episode number, and metadata. Requirements: - Opening a downloaded manga title must display its downloaded chapters directly.- Opening a downloaded anime title must display its downloaded episodes directly.- Tapping a chapter or episode must open it immediately in the appropriate reader or player.- Eliminate unnecessary queues, duplicate offline-file listings, and confusing navigation.- Maintain download status, progress, retry, pause, resume, deletion, and storage management.- Support offline access without requiring the original source to remain available.- Prevent duplicate downloads and reconcile downloaded files with title metadata after app restarts or updates. 4. 1DM DOWNLOAD INTEGRATION Integrate compatible downloads from 1DM into the same title-based library. Anime: - Detect and import eligible video downloads initiated through supported 1DM workflows.- Associate episodes with the correct anime, season, and episode number.- Make imported episodes accessible from the anime title page, alongside normal in-app downloads.- Support subtitle files and embedded subtitles, including matching external subtitle files to their corresponding episodes.- Where technically and legally supported, combine compatible subtitle tracks with downloaded video using safe remuxing or supported playback features. Do not re-encode videos unnecessarily.- If subtitles cannot be merged, preserve them as associated selectable tracks or sidecar files. Manga: - Add compatibility for importing manga chapter archives and image files downloaded through 1DM.- Recognize ZIP/CBZ archives and supported image formats, preserve page order, and associate chapters with their titles.- Allow users to import files through Android's Storage Access Framework or supported share/open-with workflows.- Handle incomplete files, unsupported formats, duplicates, and missing metadata gracefully. Use documented integration methods and user-authorized file access. Do not assume 1DM exposes a public API if one is unavailable. 5. MIHON / ANiyomi EXTENSION ENGINE Upgrade the extension compatibility layer to support the relevant Mihon and AniYomi extension formats and APIs. Priorities: - Investigate Kagane and Atsumaru source compatibility, including their actual extension implementations and dependencies.- Fix extension loading, initialization, source discovery, search, title matching, chapter indexing, episode indexing, and content retrieval.- Repair download IDs, chapter identifiers, episode identifiers, source identifiers, and metadata mapping.- Ensure chapter lists remain complete, correctly ordered, and stable across refreshes.- Support pagination, lazy-loaded content, retries, rate limits, redirects, and source-specific request requirements where appropriate.- Improve extension error reporting and compatibility diagnostics.- Isolate failing extensions so one broken source cannot crash the entire application.- Maintain compatibility with legally accessible sources and their applicable terms. Do not fake compatibility or hardcode sample chapters. Test each supported source using real extension responses and verify that titles, indexes, identifiers, and downloads work end to end. 6. MATCHING & METADATA ENGINE V2 Replace the existing slow or unreliable matching engine with a faster, more accurate system designed for both AniYomi anime sources and Mihon manga sources. Implement: - Normalized title matching, aliases, alternate titles, season detection, and episode/chapter numbering.- Stable source IDs and canonical internal title IDs.- Confidence-based matching with ambiguity handling.- Cached metadata and search results with sensible expiration rules.- Concurrent source queries with configurable limits and timeouts.- Deduplication of results across extensions.- Efficient indexing and database queries.- Automatic fallback to the next prioritized extension when the preferred source lacks a title or chapter.- Prioritized extension cycling when searches or chapter retrieval fail.- Persistent source preferences and transparent error messages. Never silently associate a download with the wrong title. Allow manual correction when confidence is insufficient. 7. MVP ANIME PLAYER Fix all performance issues and glitches in the existing MVP-based anime player. - Investigate frame drops, stuttering, audio desynchronization, buffering, black screens, subtitle delays, and playback crashes.- Optimize hardware decoding, buffering, seeking, and memory management.- Preserve stable playback across supported codecs and containers.- Improve subtitle rendering, track selection, synchronization, and styling.- Repair playback state restoration and resume position.- Ensure downloaded episodes play directly from local storage.- Avoid unnecessary software-decoder fallbacks when hardware decoding is supported.- Provide a controlled fallback for unsupported formats instead of crashing.- Test long playback sessions and repeated seeking. Do not sacrifice playback stability or battery efficiency for superficial performance improvements. 8. GLOBAL BUG FIXES & UI POLISH Audit the entire application and resolve: - UI freezes, crashes, broken navigation, blank screens, and rendering glitches.- Incorrect loading indicators and permanently stuck operations.- Duplicate library entries, broken images, and stale metadata.- Database inconsistencies and corrupted download records.- Lifecycle issues involving background downloads and app restarts.- Memory leaks, excessive CPU usage, and unnecessary network requests.- Accessibility, screen-size, and dark-theme inconsistencies. Use a consistent, modern ShonenZ+ interface while retaining familiar navigation where useful. Add clear loading, empty, error, retry, and offline states. 9. ARCHITECTURE & IMPLEMENTATION - Inspect the existing stack first; preserve viable components and replace defective ones only when justified.- Prefer Kotlin, modern Android APIs, modular architecture, coroutines, and lifecycle-aware components when compatible with the project.- Use Room or an equivalent persistent database for titles, chapters, episodes, download records, source mappings, and playback progress.- Use WorkManager or an appropriate foreground service for reliable background tasks.- Respect scoped storage and Android's permission model.- Use transactional metadata updates and recoverable download states.- Keep the extension system, matching engine, reader, player, and download manager modular and independently testable.- Never expose API keys, signing credentials, or private repository tokens. 10. TESTING & RELEASE Before declaring the project complete: 1. Build and install the new ShonenZ+ application.2. Verify clean installation and application startup.3. Test paginated manga, Webtoon scrolling, and offline chapter reading.4. Test title-based anime downloads and direct episode playback.5. Test authorized 1DM manga and anime imports, including subtitles.6. Test extension loading, search, complete chapter indexes, and actual downloads.7. Verify Kagane and Atsumaru individually if their accessible implementations support the required features.8. Test matching, extension fallback, duplicate prevention, and metadata recovery.9. Test MVP playback, seeking, subtitles, and extended sessions.10. Run regression tests, inspect crash logs, and fix reproducible defects. Deliver: - Complete ShonenZ+ project source code.- A successfully built and newly signed APK.- Reproducible build instructions.- A clear changelog.- A list of supported and verified extensions.- Test results, known limitations, and remaining issues.- Instructions for installing the APK and backing up the signing key. EXECUTION RULES Work directly with the actual project files and available tools. Inspect first, create a technical implementation plan, and then execute the changes in small, verifiable stages. Do not stop after producing a plan, mockup, or partial implementation. Do not replace working functionality with placeholders. Do not claim success based solely on compilation. If source code, dependencies, or external services are unavailable, identify the exact blocker and implement the best verified alternative. Prioritize a stable, fully working application over a large collection of unfinished features. FINAL GOAL: ShonenZ+ must provide a unified, reliable manga and anime experience with repaired readers, title-synchronized offline downloads, 1DM import compatibility, improved Mihon/AniYomi extension support, accurate source matching, and smooth anime playback — all packaged as a separate Android app with its own signing key.*dont stop at any cost complete the task assigned to you*