Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

mogami-common: switch to a cleaner two-stage boot method

this let's us have two separate real ramdisks which is more cleaner than having
a combined ramdisk.

on boot there will be decided which one of the ramdisks (android or recovery) gets unpacked and fired up.

Ported from: http://review.cyanogenmod.org/#/c/26441/
Author: codeworkx <codeworkx@cyanogenmod.com>
Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: I9c0a7e484d063e3e020fdc032472f5541a9015d6
  • Loading branch information...
commit b013e0bd1b22e57146983b798dde6e4b81453bdd 1 parent 86556de
@codeworkx codeworkx authored mikeNG committed
Showing with 2 additions and 4 deletions.
  1. +2 −4 prebuilt/init.semc.rc
View
6 prebuilt/init.semc.rc
@@ -2,11 +2,9 @@ import init.semc.usb.rc
on early-boot
#Run pre_hw_config.sh before entering charge only mode.
- exec /sbin/sh /system/etc/pre_hw_config.sh
+ exec /system/bin/sh /system/etc/pre_hw_config.sh
#offline charging
exec /system/bin/chargemon
- # Boot into recovery
- exec /sbin/bootrec
on post-fs-data
mkdir /data/misc/wifi 0770 wifi wifi
@@ -191,7 +189,7 @@ on early-boot
# Start touch firmware loader
exec /system/bin/clearpad_fwloader
-service hw_config /sbin/sh /system/etc/hw_config.sh
+service hw_config /system/bin/sh /system/etc/hw_config.sh
class main
user root
oneshot
Please sign in to comment.
Something went wrong with that request. Please try again.