Ethan Yonker a60c78602d Remove busybox modprobe to fix slow performance for some devices
bionic process initialization calls personality
(specifically personality-8)
personality wants to load a kernel module
loading a kernel module calls /sbin/modprobe
loading /sbin/modprobe is a bionic process initialization
bionic process initialization calls personality
personality wants to load a kernel module
loading a kernel module calls /sbin/modprobe . . .

Before you know it, it takes 0.5 seconds to do anything.
Note: modprobe is still technically available, but the symlink
has been removed, so you can still call it directly by running
busybox modprobe if you like.

From what I can tell, this issue only affects 32 bit devices
with CONFIG_MODULES=y in the defconfig. The problem can be also
patched out of the kernel by commenting or otherwise removing
the block of code in kernel/exec_domain.c inside the CONFIG_MODULES
ifdef block

It is also possible to patch the problem in bionic libc by commenting
out or otherwise removing the __initialize_personality in bionic/libc/
bionic/libc_init_common.cpp file.

Change-Id: Iebac314616080ac18320d73b087980ac1b98b951
2016-02-29 15:22:48 +01:00
2014-12-18 22:50:08 +00:00
2016-02-15 09:27:02 -06:00
2016-01-19 23:24:47 +01:00
2013-03-07 13:34:24 -08:00
2015-12-23 09:58:04 -06:00
2016-01-25 23:59:17 +01:00
2016-02-19 03:58:06 +01:00
2015-06-20 15:57:56 -05:00
2014-11-12 11:03:50 -06:00
2014-08-09 07:49:35 -05:00
2015-10-09 11:15:29 -05:00
2016-02-15 09:27:02 -06:00
2014-04-04 13:48:33 -07:00
2016-02-15 09:27:02 -06:00
2015-11-05 20:58:39 +02:00
2016-02-03 16:05:56 -06:00
2013-10-10 14:19:19 -07:00
2015-04-29 21:14:56 -07:00
2014-11-04 15:34:19 +01:00
2015-01-28 12:09:05 -08:00
2015-05-18 21:02:47 +02:00
2014-04-25 15:47:34 -07:00
2015-10-09 11:15:29 -05:00
2015-10-09 11:15:29 -05:00
2015-12-19 08:31:01 -06:00
2015-04-10 13:59:19 -07:00
2015-10-09 11:15:29 -05:00
2012-09-05 15:24:31 -04:00
2012-09-05 15:24:31 -04:00
2015-10-09 11:15:29 -05:00
2012-09-05 15:24:31 -04:00
2015-10-09 11:15:29 -05:00
2013-02-07 08:21:17 -05:00
2015-01-27 15:07:19 +01:00
2015-01-27 15:07:19 +01:00
2015-10-15 16:15:09 +02:00
2015-12-19 08:31:01 -06:00
2015-12-19 08:31:01 -06:00
2015-12-19 08:31:01 -06:00
2016-01-22 05:29:04 +01:00
2013-10-22 14:25:12 +00:00
2015-10-09 11:15:29 -05:00
2015-04-13 13:04:32 -07:00
2016-02-05 14:16:43 -06:00
2014-11-06 09:49:25 -06:00

Team Win Recovery Project (TWRP)

You can find a compiling guide here.

S
Description
No description provided
Readme
102 MiB
Languages
C++ 50.2%
C 43.6%
Makefile 1.9%
Java 1.8%
Roff 1%
Other 1.4%