fix HEAD~1

This commit is contained in:
Nick Chan committed 2023-01-30 19:16:53 +08:00
1 parent 6ba000ca8e
commit 09b7e7ea53
2 files changed
+7 -4

No files matched your search

+5 -2
View File
@@ -30,7 +30,7 @@
#define FORMAT_KEY_VALUE 1
#define FORMAT_XML 2
#define NOHOME (info->cpid == 0x8015 || (info->cpid == 0x8010 && (info->bdid == 0x08 || info->bdid == 0x0a || info->bdid == 0x0c || info->bdid == 0x0e)))
#define NOHOME (cpid == 0x8015 || (cpid == 0x8010 && (bdid == 0x08 || bdid == 0x0a || bdid == 0x0c || bdid == 0x0e)))
int spin = 1;
uint64_t ecid_wait_for_dfu = 0;
@@ -88,6 +88,10 @@ static bool conditional(uint64_t ecid) {
void* connected_recovery_mode(struct irecv_device_info* info) {
int ret;
uint64_t ecid;
uint32_t cpid, bdid;
cpid = info->cpid;
ecid = info->ecid;
bdid = info->bdid;
if (!cpid_is_arm64(info->cpid)) {
LOG(LOG_WARNING, "Ignoring non-arm64 device...");
return NULL;
@@ -105,7 +109,6 @@ void* connected_recovery_mode(struct irecv_device_info* info) {
else
step(4, 2, "Hold Home + Power Button", NULL, 0);
ecid_wait_for_dfu = info->ecid;
ecid = info->ecid;
ret = exitrecv_cmd(info->ecid);
info = NULL;
if (ret) {
+2 -2
View File
@@ -45,8 +45,8 @@ void *pongo_usb_callback(void *arg) {
issue_pongo_command(handle, palerain_flags_cmd);
if (enable_rootful)
{
issue_pongo_command(handle, rootfs_cmd);
issue_pongo_command(handle, dtpatch_cmd);
issue_pongo_command(handle, "rootfs");
// issue_pongo_command(handle, dtpatch_cmd);
}
upload_pongo_file(handle, **ramdisk_to_upload, ramdisk_dmg_len);
issue_pongo_command(handle, "ramdisk");