Some reverse engineering for an Android calculator using AllWinner A50.

Overview

Calculator AllWinnerA50

This is a repository stored some reverse engineering for an Android calculator using AllWinner A50.

Install

  • Force-stop the original calculator app.

  • Download the APK file from Releses, then install it via adb.

  • Go to 'System'-'Auto run', allow 'KeyboardService' to run in background.

Usage

Now pull down the settings panel and add the 'Keyboard' tile, then 'KeyboardService' will be working. Click the tile to toggle its status.

Key Map

  • Number Mode

  • DPad Mode

  • Maimemo Mode (same as DPad Mode but those following buttons added)

Misc

  • Hide the navigation bar

    > adb shell wm overscan 0,0,0,-58
  • Some applications you may want to install

    Launcher3: apk/launcher3.apk

    Gboard: https://www.apkmirror.com/apk/google-inc/gboard

    Wallpaper-9: https://www.apkmirror.com/apk/google-inc/google-wallpaper-picker/google-wallpaper-picker-9-5526574-release

    Coolapk-v7: https://t.me/fuck_coolapk/119

    Netease Music: https://t.me/fuck_coolapk_chat/43149

  • Unnecessary applications that can be disabled

    > adb shell pm disable-user [packagename]
    com.allwinnertech.gmsintegration
    com.android.bips
    com.android.bookmarkprovider
    com.android.calendar
    com.android.companiondevicemanager
    com.android.contacts
    com.android.cts.ctsshim
    com.android.cts.priv.ctsshim
    com.android.dreams.basic
    com.android.email
    com.android.gallery3d
    com.android.inputmethod.latin # use gboard
    com.android.location.fused
    com.android.mms.service
    com.android.music
    com.android.musicfx
    com.android.onetimeinitializer
    com.android.printservice.recommendation
    com.android.printspooler
    com.android.providers.blockednumber
    com.android.providers.calendar
    com.android.providers.contacts
    com.android.provision
    com.android.quicksearchbox
    com.android.server.telecom
    com.android.simappdialog
    com.android.soundrecorder
    com.softwinner.dragonfire
    com.softwinner.fireplayer
    com.softwinner.update
    com.sohu.inputmethod.sogou # use gboard
    org.chromium.webview_shell
  • Unlock the OEM locking

    > adb reboot bootloader
    > fastboot oem unlock
  • Mount the root partition as read-write

    > adb shell
    > su
    > mount -o remount -o rw /
  • Dump raw images

    It is highly recommended to do this to backup your device. Since Adbd may return unauthenticated on Linux on my side, use macOS instead.

    > adb reboot recovery
    > adb root
      timeout expired while waiting for device
    > adb ls /dev/block/by-name
      000041ed 00000140 63902b01 .
      000041ed 000003c0 63902a1a ..
      0000a1ff 00000015 63902a1a media_data
      0000a1ff 00000015 63902a1a dtbo
      0000alff 00000015 63902a1a empty
      0000a1ff 00000015 63902a1a frp
      0000a1ff 00000015 63902ala private
      0000a1ff 00000015 63902a1a metadata
      0000a1ff 00000014 63902a1a cache
      0000a1ff 00000014 63902a1a recovery
      0000a1ff 00000014 63902a1a misc
      0000a1ff 00000014 63902a1a vendor
      0000a1ff 00000014 63902a1a boot
      0000a1ff 00000014 63902a1a env
      0000a1ff 00000014 63902a1a bootloader
      0000a1ff 00000014 63902a1a UDISK
    > adb pull /dev/block/by-name/[partition] [filename]
    > img2simg [filename] [filename] # convert raw img to android sparse img that can be flash in fastboot mode
  • TWRP/Fastboot images

    Download from here, or see 'Dump raw images'.

    Touch screen doesn't work in TWRP now, use OTG devices. Fastboot driver may be missing on Windows and macOS, finally I tested Fedora 37 and it works.

    > adb reboot bootloader
    > fastboot flash recovery twrp.img
    > fastboot reboot
    > adb reboot recovery

  • Allwinner FEL mode

    Power off the device, press on the 'UPDATE' button, then connect to PC and click the 'POWER' button 5-10 times, your device will go to FEL mode. Use Sunxi-tools to perform further steps.

You might also like...
Build your first Android app - a tip calculator!
Build your first Android app - a tip calculator!

Tippy - A Simple Tip Calculator for Android Build Tippy as your first Android app! Follow the YouTube walkthrough video Author: Rahul Pandey Features:

A Simple Calculator For Android With Java .

Installation Open Aide : Please at the first open AIDE app on your mobile . Create XML files : Copy XML files from the [ Res ] folder and paste them i

An educational android app that provides services like notes, online videos and visualization calculator to learn and understand deep concepts of DSA.
An educational android app that provides services like notes, online videos and visualization calculator to learn and understand deep concepts of DSA.

Aldo ALDO is a free education app for the young programmers who are desiring to master the concepts of Data Structure and Algorithms. ALDO offers prac

Solution code for the Android Basics in Kotlin: Tip Calculator app

Tip Calculator - Solution Code Solution code for the Android Basics in Kotlin: T

QCalc - A lightweight semi-scientific calculator for Android

QCalc A lightweight semi-scientific calculator for Android. Written from scratch

A tip calculator (for Android)!
A tip calculator (for Android)!

Tippy - A Simple Tip Calculator A tip calculator (for Android)! Author: Jakob Rössner Features: Pure Kotlin Single screen No libraries Language suppor

A calculator for quick simple calculations with a nice user interface and no ads
A calculator for quick simple calculations with a nice user interface and no ads

Simple Calculator A calculator with the basic functions and a customizable widget. You can copy the result or formula to clipboard by long pressing it

A Simple Calculator developed in Kotlin
A Simple Calculator developed in Kotlin

Calculator developed in Kotlin This was my first contact with mobile programming using Kotlin. The calc is basic, but it was the first project I did.

Owner
lz差不多是条咸鱼了
selfish saltfish.
lz差不多是条咸鱼了
Math World is an Android Application specialized in mathematics, where the application includes some sections related to arithmetic, unit conversion, scientific math laws and constants, as well as some mathematical questions that need some intelligence to reach the solution.

Math World is an Android Application specialized in mathematics, where the application includes some sections related to arithmetic, unit conversion, scientific math laws and constants, as well as some mathematical questions that need some intelligence to reach the solution.

null 7 Mar 12, 2022
Calculator - A Simple Calculator for android

SimpleCalculator Calculator for android

Midoriya 0 Feb 12, 2022
Calculator is a simple 4 function calculator

Calculator Calculator is a simple 4 function calculator, with a panel that has more advanced functions when you need them. It includes history, real t

Will 207 Jan 8, 2023
Kotlin-basic-calculator - Basic calculator to understand syntax and the methods of Kotlin

KotlinBasicCalculator I always love to create a calculater for understand the sy

Onur Serbes 1 Mar 8, 2022
BigNumber-Calculator - Big Number Calculator in Kotlin Tornadofx

BigNumber-Calculator Big Number Calculator in Kotlin Tornadofx

null 10 Dec 9, 2022
Tip Calculator- Add extensions to this tip calculator.

Add extensions to this repository- Here are some ideas: Change the color scheme of the app, e.g. the background/primary/secondary color. Modify the th

null 2 Oct 21, 2022
Android application with the announcements board of the Information and Electronic Engineering department of International Hellenic University.

Android application with the announcements board of the Information and Electronic Engineering department of International Hellenic University.

Raf 6 Jul 29, 2022
Helper tool for calculating scales for Teenage Engineering Pocket Operator PO-33/133 & PO-35/137 series.

I heard you like Pocket Operators, so I made Pocket Scale Calculator for your Pocket Operator. This console app is a helper tool for calculating scale

null 9 Dec 6, 2022
Don't know what to do next? Don't worry, NEG or NotEnoughGoals will give you some help by giving you some goals to achieve to make skyblock less boring.

NotEnoughGoals Don't know what to do next? Don't worry, NEG or NotEnoughGoals will give you some help by giving you some goals to achieve to make skyb

UpFault 0 Dec 26, 2021
Application that allows to search some products and display them in a list, also allows to add some product to the shopping cart and remove it

Application that allows to search some products and display them in a list, also allows to add some product to the shopping cart and remove it

Victor 3 Aug 18, 2022