Most of what you need:
sudo apt install android-sdk android-sdk-platform-23
If you can't find it, just download Android Studio and abandon this guide.
git clone https://github.com/Shadowstyler/android-sdk-licenses.git
void | |
gimp_label_set_attributes (GtkLabel *label, | |
...) | |
{ | |
PangoAttribute *attr = NULL; | |
PangoAttrList *attrs; | |
va_list args; | |
g_return_if_fail (GTK_IS_LABEL (label)); |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#define JSON_OBJ '{' | |
#define JSON_ARR '[' | |
#define JSON_STR 's' | |
#define JSON_NUM 'n' | |
#define JSON_END_OBJ '}' |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#define JSON_OBJ '{' | |
#define JSON_ARR '[' | |
#define JSON_STR 's' | |
#define JSON_NUM 'n' | |
#define JSON_END_OBJ '}' |
QuerySizeOfTransparentMemory | |
Require data phase == 0x40 bytes | |
struct { | |
uint8_t size; | |
char name[16]; | |
uint32_t res0; | |
} |
// From gphoto ptp.h | |
#define PTP_OC_FUJI_InitiateMovieCapture 0x9020 | |
#define PTP_OC_FUJI_TerminateMovieCapture 0x9021 | |
#define PTP_OC_FUJI_GetCapturePreview 0x9022 | |
#define PTP_OC_FUJI_StepZoom 0x9023 | |
#define PTP_OC_FUJI_StartZoom 0x9024 | |
#define PTP_OC_FUJI_StopZoom 0x9025 | |
#define PTP_OC_FUJI_LockS1Lock 0x9026 | |
#define PTP_OC_FUJI_UnlockS1Lock 0x9027 | |
#define PTP_OC_FUJI_GetDeviceInfo 0x902B |
// Xpro-1 | |
#define FIRM_USB_SCREEN 0x00457d98 | |
#define FIRM_IMG_PROPS 0x00438fbc | |
#define FIRM_RST_CONFIG1 0x00432574 | |
#define FIRM_RST_CONFIG2 0x0045d250 | |
#define FIRM_RST_WRITE 0x00455aec |
#include <stdio.h> | |
#include <stdint.h> | |
#include <stdlib.h> | |
#include <string.h> | |
// #include <camlib.h> | |
// #include <ptpbackend.h> | |
// #include <ptp.h> | |
// #include <operations.h> |
NSTUB(get_flash_section, 0x005f563c) | |
// foo | |
NSTUB(flash_load, 0x0063e03c) | |
#include <stdio.h> | |
#include <string.h> | |
#include <stdint.h> | |
#include <fujifilm.h> |