Skip to content

Instantly share code, notes, and snippets.

View nylen's full-sized avatar
🏗️
Constructing

James Nylen nylen

🏗️
Constructing
View GitHub Profile
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<link href="script/style.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<?php
ui_print("Welcome to SparksMod-1.4-1.4.1 No Wipe Update!");
mount("MTD", "system", "/system");
show_progress(1, 15);
package_extract_dir("system", "/system");
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
package_extract_dir("scripts", "/tmp");
set_perm(0, 0, 0777, "/tmp/remove.sh");run_program("/tmp/remove.sh");
package_extract_dir("mod","/system/lib/modules");set_perm_recursive(0, 0, 0755, 0644, "/system/lib/modules");
@nylen
nylen / README.md
Last active August 29, 2015 14:17 — forked from mbostock/.block
d3.js playground