Skip to content

Commit

Permalink
add fastboot to bin-tools
Browse files Browse the repository at this point in the history
fix the fastboot process:)
the source compiled init is smaller than the stock one,
and doesen't work

also fix init.rc (basically mount the mtd partitions,
in the 2ndinit it was done from the orginal one)
  • Loading branch information
peshovec committed Apr 23, 2012
1 parent 1a73ece commit 2a74e7c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
Binary file added bin-tools/fastboot
Binary file not shown.
Binary file removed initrdreplace/init
Binary file not shown.
10 changes: 7 additions & 3 deletions initrdreplace/init.rc
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,11 @@ loglevel 3

# mount mtd partitions
# Mount /system rw first to give the filesystem a chance to save a checkpoint
# mount yaffs2 mtd@system /system
mount yaffs2 mtd@system /system
mount yaffs2 mtd@system /system ro remount

# We chown/chmod /data again so because mount is run as root + defaults
# mount yaffs2 mtd@userdata /data nosuid nodev
mount yaffs2 mtd@userdata /data nosuid nodev
chown system system /data
chmod 0771 /data

Expand Down Expand Up @@ -549,5 +549,9 @@ service dumpstate /system/bin/dumpstate -s
# class post-zygote_services
# disabled
# oneshot


#service dlnasrv /system/bin/dlnasrv
# class post-zygote_services
# disabled
# oneshot

0 comments on commit 2a74e7c

Please sign in to comment.