Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
Magisk
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Magisk
Commits
0ccc92dc
Commit
0ccc92dc
authored
Dec 09, 2016
by
topjohnwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor restructure
parent
c9157cc1
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
6 deletions
+7
-6
Android.mk
jni/Android.mk
+1
-1
bootimg.h
jni/bootimgtools/bootimg.h
+0
-0
extract.c
jni/bootimgtools/extract.c
+1
-1
hexpatch.c
jni/bootimgtools/hexpatch.c
+1
-1
main.c
jni/bootimgtools/main.c
+1
-1
repack.c
jni/bootimgtools/repack.c
+1
-1
magiskhide.c
jni/magiskhide.c
+2
-1
No files found.
jni/Android.mk
View file @
0ccc92dc
...
...
@@ -12,7 +12,7 @@ include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_MODULE := bootimgtools
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := bootimgtools
.c extract.c repack.c
hexpatch.c
LOCAL_SRC_FILES := bootimgtools
/main.c bootimgtools/extract.c bootimgtools/repack.c bootimgtools/
hexpatch.c
LOCAL_CFLAGS += -std=gnu11
include $(BUILD_EXECUTABLE)
...
...
jni/bootimgtools.h
→
jni/bootimgtools
/bootimg
.h
View file @
0ccc92dc
File moved
jni/extract.c
→
jni/
bootimgtools/
extract.c
View file @
0ccc92dc
...
...
@@ -9,7 +9,7 @@
#include <assert.h>
#include <string.h>
#include "bootimg
tools
.h"
#include "bootimg.h"
void
dump
(
uint8_t
*
ptr
,
size_t
size
,
char
*
filename
)
{
unlink
(
filename
);
...
...
jni/hexpatch.c
→
jni/
bootimgtools/
hexpatch.c
View file @
0ccc92dc
...
...
@@ -7,7 +7,7 @@
#include <stdlib.h>
#include <string.h>
#include "bootimg
tools
.h"
#include "bootimg.h"
int
hex2int
(
char
c
)
{
int
first
=
c
/
16
-
3
;
...
...
jni/bootimgtools.c
→
jni/bootimgtools
/main
.c
View file @
0ccc92dc
#include <getopt.h>
#include <stdio.h>
#include "bootimg
tools
.h"
#include "bootimg.h"
/********************
Patch Boot Image
...
...
jni/repack.c
→
jni/
bootimgtools/
repack.c
View file @
0ccc92dc
...
...
@@ -9,7 +9,7 @@
#include <assert.h>
#include <string.h>
#include "bootimg
tools
.h"
#include "bootimg.h"
off_t
file_size
(
char
*
filename
)
{
struct
stat
st
;
...
...
jni/magiskhide.c
View file @
0ccc92dc
...
...
@@ -150,7 +150,8 @@ void quit_pthread(int sig) {
pthread_exit
(
NULL
);
}
void
*
monitor_list
(
void
*
listpath
)
{
void
*
monitor_list
(
void
*
path
)
{
char
*
listpath
=
(
char
*
)
path
;
signal
(
SIGQUIT
,
quit_pthread
);
int
inotifyFd
=
-
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment