<feed xmlns='http://www.w3.org/2005/Atom'>
<title>system_core/init, branch replicant-6.0</title>
<subtitle>system/core
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/system_core/'/>
<entry>
<title>init: Fix possible open file pointer</title>
<updated>2016-11-13T12:03:50+00:00</updated>
<author>
<name>Michael W</name>
<email>baddaemon87@gmail.com</email>
</author>
<published>2016-11-13T12:03:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/system_core/commit/?id=656154a5b4127370f7317852e224a9121c6beed3'/>
<id>656154a5b4127370f7317852e224a9121c6beed3</id>
<content type='text'>
In error case the file is not closed properly.
Add close() before return

Change-Id: Ie1755987859a576045c786105404957d94f0b39d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In error case the file is not closed properly.
Add close() before return

Change-Id: Ie1755987859a576045c786105404957d94f0b39d
</pre>
</div>
</content>
</entry>
<entry>
<title>init: Allow devices to opt-out of fsck'ing on power off</title>
<updated>2016-05-16T09:25:36+00:00</updated>
<author>
<name>Christopher R. Palmer</name>
<email>crpalmer@gmail.com</email>
</author>
<published>2016-05-16T09:21:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/system_core/commit/?id=516d6913dc5acd695581b3999fab0b5192353022'/>
<id>516d6913dc5acd695581b3999fab0b5192353022</id>
<content type='text'>
On the zenfone2 the fsck code patch kills alls processes.  This causes
watchdogd to get killed which then causes the system to emergency reboot
instead of powering off.

Change-Id: Ibcc74825df6571caa70e2dde7766a72b7749581b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On the zenfone2 the fsck code patch kills alls processes.  This causes
watchdogd to get killed which then causes the system to emergency reboot
instead of powering off.

Change-Id: Ibcc74825df6571caa70e2dde7766a72b7749581b
</pre>
</div>
</content>
</entry>
<entry>
<title>Use fsck.f2fs -a instead of -f for faster boot</title>
<updated>2016-05-06T01:36:06+00:00</updated>
<author>
<name>Yusuke Sato</name>
<email>yusukes@google.com</email>
</author>
<published>2015-07-08T21:57:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/system_core/commit/?id=784c22c8388e50db243ac4ca3871747cd3eefadc'/>
<id>784c22c8388e50db243ac4ca3871747cd3eefadc</id>
<content type='text'>
and run fsck with -f on clean shutdown instead.

With -f, fsck.f2fs always performs a full scan of the /data
partition regardless of whether the partition is clean or not.
The full scan takes more than 2 seconds on volantis-userdebug
and delays the OS boot.

With -a, the command does almost nothing when the partition
is clean and finishes within 20-30ms on volantis-userdebug.
When the partition has an error or its check point has
CP_FSCK_FLAG (aka "need_fsck"), the command does exactly the
same full scan as -f to fix it.

Bug: 21853106
Change-Id: I126263caf34c0f5bb8f5e6794454d4e72526ce38
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and run fsck with -f on clean shutdown instead.

With -f, fsck.f2fs always performs a full scan of the /data
partition regardless of whether the partition is clean or not.
The full scan takes more than 2 seconds on volantis-userdebug
and delays the OS boot.

With -a, the command does almost nothing when the partition
is clean and finishes within 20-30ms on volantis-userdebug.
When the partition has an error or its check point has
CP_FSCK_FLAG (aka "need_fsck"), the command does exactly the
same full scan as -f to fix it.

Bug: 21853106
Change-Id: I126263caf34c0f5bb8f5e6794454d4e72526ce38
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Revert "init: Temporarily increase coldboot timeout to 5s""</title>
<updated>2016-04-11T19:36:23+00:00</updated>
<author>
<name>Gabriele M</name>
<email>moto.falcon.git@gmail.com</email>
</author>
<published>2016-04-11T19:35:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/system_core/commit/?id=0373c8deeb21f116354676116cf58e76a94d46a3'/>
<id>0373c8deeb21f116354676116cf58e76a94d46a3</id>
<content type='text'>
1 second might not be enough for some devices to complete
the coldboot phase, so bring the timeout back to 5 seconds.

This reverts commit c9e804ffd8d4108806eb8162fe7cf35f179b0596.

Change-Id: If10cd4bb1ea66d1c98cdd16f5bfbdae7a04b52e8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1 second might not be enough for some devices to complete
the coldboot phase, so bring the timeout back to 5 seconds.

This reverts commit c9e804ffd8d4108806eb8162fe7cf35f179b0596.

Change-Id: If10cd4bb1ea66d1c98cdd16f5bfbdae7a04b52e8
</pre>
</div>
</content>
</entry>
<entry>
<title>init: Fix derp in property name for rebooting to charger hook</title>
<updated>2016-03-13T19:06:20+00:00</updated>
<author>
<name>Christopher R. Palmer</name>
<email>crpalmer@gmail.com</email>
</author>
<published>2016-03-13T19:06:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/system_core/commit/?id=4d437e4e9a19c5e37b48cfdd95183a02fb626646'/>
<id>4d437e4e9a19c5e37b48cfdd95183a02fb626646</id>
<content type='text'>
Change-Id: Ibfee73723d778f16f8e407380083bf3a2667a7a4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ibfee73723d778f16f8e407380083bf3a2667a7a4
</pre>
</div>
</content>
</entry>
<entry>
<title>init: Add a hook to turn a shutdown into a reboot</title>
<updated>2016-03-12T20:41:07+00:00</updated>
<author>
<name>Christopher R. Palmer</name>
<email>crpalmer@gmail.com</email>
</author>
<published>2016-03-11T10:47:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/system_core/commit/?id=3cc2ca8b255cbc06a2977d44a7f53162de542908'/>
<id>3cc2ca8b255cbc06a2977d44a7f53162de542908</id>
<content type='text'>
Intel bootloaders have not yet been made android friendly.  When the
bootloader is told to shutdown it will shutdown.  Android expects the
bootloader to actually shutdown if there is no charger connected and
otherwise to enter charging mode.

Add a hook to init that allows healthd to determine what a shutdown should
do.  When the property is specified, any request to shutdown will instead
trigger a restart into the specified mode.

Change-Id: Ie96fb58ecb9a4e8ffe7e73e590483b5323e40b74
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Intel bootloaders have not yet been made android friendly.  When the
bootloader is told to shutdown it will shutdown.  Android expects the
bootloader to actually shutdown if there is no charger connected and
otherwise to enter charging mode.

Add a hook to init that allows healthd to determine what a shutdown should
do.  When the property is specified, any request to shutdown will instead
trigger a restart into the specified mode.

Change-Id: Ie96fb58ecb9a4e8ffe7e73e590483b5323e40b74
</pre>
</div>
</content>
</entry>
<entry>
<title>init: Add property_get_bool</title>
<updated>2016-03-12T20:41:00+00:00</updated>
<author>
<name>Christopher R. Palmer</name>
<email>crpalmer@gmail.com</email>
</author>
<published>2016-03-12T11:08:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/system_core/commit/?id=a41177ed09db230c5491f23f97a37668b94a9b7c'/>
<id>a41177ed09db230c5491f23f97a37668b94a9b7c</id>
<content type='text'>
Change-Id: I2bef1862f6126f79c64faa7080a00096e4f955c5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I2bef1862f6126f79c64faa7080a00096e4f955c5
</pre>
</div>
</content>
</entry>
<entry>
<title>init: Android.mk: don't build  libext4_utils_static twice</title>
<updated>2016-02-11T00:39:57+00:00</updated>
<author>
<name>kostoulhs</name>
<email>MrKostoulhs@gmail.com</email>
</author>
<published>2016-02-10T02:45:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/system_core/commit/?id=ca2298b112537b3364970b40b418f06474a3bb17'/>
<id>ca2298b112537b3364970b40b418f06474a3bb17</id>
<content type='text'>
Change-Id: I8ef939bcd060605a0d29fe73fbc01990b94a9b91
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I8ef939bcd060605a0d29fe73fbc01990b94a9b91
</pre>
</div>
</content>
</entry>
<entry>
<title>Add vendor hook to handle_control_message</title>
<updated>2016-01-01T16:54:54+00:00</updated>
<author>
<name>Aaron Kling</name>
<email>webgeek1234@gmail.com</email>
</author>
<published>2016-01-01T04:33:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/system_core/commit/?id=57f1debb3f1e615a4888fa83b9613920dd53ca6c'/>
<id>57f1debb3f1e615a4888fa83b9613920dd53ca6c</id>
<content type='text'>
This is needed for Nvidia Shield devices to handle a
'restart consolemode' request from a blobbed stock app.

The vendor function is expected to return non-0 if it did
not handle the message and 0 if it did (or wants it ignored).

Forward port of 119414.

Change-Id: Ia8e4ba0bbf561f29f72862cd986f1660d7b501da
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is needed for Nvidia Shield devices to handle a
'restart consolemode' request from a blobbed stock app.

The vendor function is expected to return non-0 if it did
not handle the message and 0 if it did (or wants it ignored).

Forward port of 119414.

Change-Id: Ia8e4ba0bbf561f29f72862cd986f1660d7b501da
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge tag 'android-6.0.1_r3' of https://android.googlesource.com/platform/system/core into HEAD</title>
<updated>2015-12-08T00:29:46+00:00</updated>
<author>
<name>Steve Kondik</name>
<email>steve@cyngn.com</email>
</author>
<published>2015-12-08T00:29:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/system_core/commit/?id=b1e86e2d1fc315a3b108c28a5ff6bc649ea584d5'/>
<id>b1e86e2d1fc315a3b108c28a5ff6bc649ea584d5</id>
<content type='text'>
Android 6.0.1 release 3

Change-Id: I8b65c0223e3444360432abd871a9d8f007831ba0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Android 6.0.1 release 3

Change-Id: I8b65c0223e3444360432abd871a9d8f007831ba0
</pre>
</div>
</content>
</entry>
</feed>
