Skip to content

Instantly share code, notes, and snippets.

View ijsf's full-sized avatar

Cecill Etheredge ijsf

View GitHub Profile
@ijsf
ijsf / README.md
Last active September 19, 2024 13:25
Full backup of Android apps + data using adb

Back Up Android Apps and Data in Modern Times (2024)

What happens to your apps if your phone breaks? Phones have become an essential part in our daily interactions with banks, social networks, entertainment, and what not. Losing or breaking a phone has never been more nervewrecking. Especially with apps that use local only storage with limited or no means of backup. Backing up data on Android is becoming harder, even for advanced users.

A decade ago, there were still viable options available for power users. Apps like Titanium Backup come to mind. But Android is being locked down tighter every year, because of financial regulations and trusted computing requirements. This mindset of turning phones into walled gardens where even a power user shall have no access is trickling down to forks such as LineageOS as well.

Modern versions of LineageOS, 18.1 as of the moment of writing, do no longer provide a practical way for applications to gain root. Backup applications such as Titanium Backup no longer work. T

@ijsf
ijsf / pdns-resolver.lua
Created May 19, 2019 20:10
PowerDNS recursor - on demand A record generator
--
-- PowerDNS on demand A record generator
--
-- Resolves any record with format A-B-C-D.yourdomain.com to an A record with ip address A.B.C.D.
--
pdnslog("pdns-recursor - on demand A record generator script loaded", pdns.loglevels.Warning)
domain = newDN("yourdomain.com")
/* autogenerated from gstaudiopack.orc */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <glib.h>
#ifndef _ORC_INTEGER_TYPEDEFS_
#define _ORC_INTEGER_TYPEDEFS_
/* autogenerated from gstaudiopack.orc */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <glib.h>
#ifndef _ORC_INTEGER_TYPEDEFS_
#define _ORC_INTEGER_TYPEDEFS_
/* autogenerated from gstaudiopack.orc */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <glib.h>
#ifndef _ORC_INTEGER_TYPEDEFS_
#define _ORC_INTEGER_TYPEDEFS_