User Tools

Site Tools


techs:software:android-hacking-tricks

Android Hacking Tricks

Upload photos using Pixel+Sychthing

Set up hardware

  • Bought a cheap Pixel from ebay.
  • Unlock bootloader.
  • Install TeamWin recovery, TWRP.
    • For this I have to do a full re-flash to the factory ROM, otherwise I got stuck at reboot loop somehow. I guess the ebay seller did something to the phone.
  • Root vis Magisk.
    • New way is to patch a boot.img extracted from factory ROM and then flash with TWRP.
  • Install AccA to save the battery from dying.
    • Settings are from acc repo READE.md: roughtly, shutdown phone at 10%, resume charging at 43%, stop charging at 45$, max current 500mA, max voltage 3920mV.

(Tested and it works.)

Useful resources:

Set up software

Install Syncthing.

Creast this file under the photos directory that is to be synced:

# filename: .stglobalignore
Add details

Include the above file in the actual .stignore file to filter files:

# include .stglobalignore

Note: syncthing's ignore syntax is different from git's.

techs/software/android-hacking-tricks.txt · Last modified: 2022/02/24 22:52 by foreverph