OSDN Git Service

android-x86/bootable-newinstaller.git
7 years agoinitrd: load drivers in debug or installation modes android-x86-6.0-r2
Chih-Wei Huang [Tue, 10 Jan 2017 03:59:23 +0000 (11:59 +0800)]
initrd: load drivers in debug or installation modes

On some machines the input devices may not be activated because
their drivers are not loaded yet in debug or installation modes.

The change tries to fix it by calling the auto_detect function.
Skip the display (kms) modules to avoid some potential issues.

7 years ago2-mount: allow to assign the data subdirectory
Chih-Wei Huang [Tue, 10 Jan 2017 02:04:54 +0000 (10:04 +0800)]
2-mount: allow to assign the data subdirectory

The change gives the users a method to specify the name of the data
subdirectory by the DATA variable in the kernel cmdline.

7 years agoinit: avoid error if mnt exists
Chih-Wei Huang [Mon, 9 Jan 2017 09:18:20 +0000 (17:18 +0800)]
init: avoid error if mnt exists

7 years agoinitrd: allow to specify ramdisk path
Chih-Wei Huang [Fri, 25 Nov 2016 09:48:07 +0000 (17:48 +0800)]
initrd: allow to specify ramdisk path

Now the ramdisk.img could be specified by the RAMDISK variable
in the kernel cmdline.

7 years agoAdd rules to build an rpm package
Chih-Wei Huang [Wed, 26 Oct 2016 15:54:21 +0000 (23:54 +0800)]
Add rules to build an rpm package

The rpm could be installed to an rpm based linux distribution.
Boot entries for android-x86 will be added. After installation,
reboot the system to android-x86.

To build the rpm, you need to install 'rpm-build' on a Fedora
based system, or 'rpm' on a Debian/Ubuntu based system.
Then do it by 'make rpm'.

Just install the rpm as a normal package on a Fedora based system.
On Debian/Ubuntu, you can use the 'alien' to install it:

$ sudo apt install alien
$ sudo alien -c -i android-x86-6.0-r1.i686.rpm

7 years ago1-install: support INSTALL_PREFIX
Chih-Wei Huang [Fri, 30 Sep 2016 04:44:45 +0000 (12:44 +0800)]
1-install: support INSTALL_PREFIX

This allows a variant build to specify another install prefix.

7 years ago1-install: making /system be read-write is not recommended
Chih-Wei Huang [Fri, 30 Sep 2016 02:52:33 +0000 (10:52 +0800)]
1-install: making /system be read-write is not recommended

Making /system be read-write is only useful for debugging purposes.
Don't recommend it to the end users.

7 years ago1-install: check which grub should be installed
Chih-Wei Huang [Fri, 30 Sep 2016 02:50:19 +0000 (10:50 +0800)]
1-install: check which grub should be installed

Originally we ask whether to install both legacy grub and efi grub.
This may confuse the users.

The patch checks if the device is EFI enabled and ask to install
the appropriate grub only.

7 years ago1-install: strip iso-scan/filename=* in cmdline
Chih-Wei Huang [Fri, 30 Sep 2016 02:09:10 +0000 (10:09 +0800)]
1-install: strip iso-scan/filename=* in cmdline

7 years ago1-install: add 6.0-r1 to the upgrade list
Chih-Wei Huang [Wed, 14 Sep 2016 06:20:55 +0000 (14:20 +0800)]
1-install: add 6.0-r1 to the upgrade list

7 years agoisolinux.cfg: let the user choose VESA mode android-x86-6.0-r1
Chih-Wei Huang [Fri, 9 Sep 2016 09:15:16 +0000 (17:15 +0800)]
isolinux.cfg: let the user choose VESA mode

The user should choose 1024x768 32-bit which is the best mode
for software rendering. However, it is non-standard so we are
unable to hardcode the mode number.

7 years ago1-install: add 6.0-rc2 to the upgrade list
Chih-Wei Huang [Fri, 26 Aug 2016 14:25:09 +0000 (22:25 +0800)]
1-install: add 6.0-rc2 to the upgrade list

7 years ago0-auto-detect: disable modules auto loading
Chih-Wei Huang [Sun, 14 Aug 2016 05:00:46 +0000 (13:00 +0800)]
0-auto-detect: disable modules auto loading

Now we use ueventd to load modules. It more cleaner and reliable.
If you'd like to keep using the original modules auto loading,
add AUTO_LOAD=old to the kernel cmdline.

7 years agoAdd otion noatime to improve performance
Chih-Wei Huang [Thu, 11 Aug 2016 11:31:14 +0000 (19:31 +0800)]
Add otion noatime to improve performance

This option avoids unnecessary writing on the file system.
It's suggested by Majian.

7 years ago1-install: deprecate installing to a whole disk
Chih-Wei Huang [Thu, 21 Jul 2016 16:00:29 +0000 (00:00 +0800)]
1-install: deprecate installing to a whole disk

If choose a whole disk to install, it causes problems to
install the bootloader.

7 years ago0-auto-detect: keep module loading order as before
Chih-Wei Huang [Thu, 21 Jul 2016 15:22:32 +0000 (23:22 +0800)]
0-auto-detect: keep module loading order as before

Commit bdf2b690 uses 'sort -u' which changes module loading order.
It causes some issues. For example, on a device with two graphic
cards, the driver of the discrete graphic card may be loaded first
that causes black screen issue.

Use the simple awk script to remove duplicate items but keep the
order unchanged.

7 years ago1-install: add 6.0-rc1 to the upgrade list
Chih-Wei Huang [Mon, 27 Jun 2016 09:12:02 +0000 (17:12 +0800)]
1-install: add 6.0-rc1 to the upgrade list

7 years agoinit: fix localtime_r not work in /init
Ma Jian [Sun, 12 Jun 2016 07:25:43 +0000 (15:25 +0800)]
init: fix localtime_r not work in /init

There is no ANDROID_ROOT environment variable set in /init so that
localtime_r doesn't work because it cannot find the correct tzdata
file under /system.

NO_REF_TASK
Tested:
1) make sure persist.rtc_local_time is 1
2) make sure sysclktz 1 in init.rc
3) set local time in android and reboot to bios, bios should have
   local time
4) reboot back to android, the system time should be correct in
   local time (even network time sync is not available)

Change-Id: I762b8d9a8923e4a4bf58fcafe347b2708a1c8736

7 years ago1-install: remove formatting to ext2/3
Chih-Wei Huang [Tue, 7 Jun 2016 04:56:56 +0000 (12:56 +0800)]
1-install: remove formatting to ext2/3

The ext2/3 filesystem causes issue on Android 6.0.
Do not support them now.

7 years ago1-install: convert ext2/3 to ext4 by request
Chih-Wei Huang [Mon, 6 Jun 2016 16:47:16 +0000 (00:47 +0800)]
1-install: convert ext2/3 to ext4 by request

When upgrade from an older version using ext2/3 filesystem,
the installer will ask if the user wants to convert it to ext4.

7 years agoisolinux.cfg: change VESA mode to be 32-bit
Chih-Wei Huang [Thu, 2 Jun 2016 05:45:29 +0000 (13:45 +0800)]
isolinux.cfg: change VESA mode to be 32-bit

7 years agoAndroid.mk: use AOSP's mksquashfs
Chih-Wei Huang [Tue, 31 May 2016 03:37:59 +0000 (11:37 +0800)]
Android.mk: use AOSP's mksquashfs

Build mksquashfs from the source of AOSP.

7 years agoAdd Mac keyboard driver for installer
Li Xin [Thu, 26 May 2016 11:11:53 +0000 (19:11 +0800)]
Add Mac keyboard driver for installer

7 years agoisolinux.cfg: disable llvmpipe software renderer in VESA mode
Chih-Wei Huang [Fri, 6 May 2016 14:43:39 +0000 (22:43 +0800)]
isolinux.cfg: disable llvmpipe software renderer in VESA mode

8 years ago0-auto-detect: use MODALIAS in uevent to detect modules
Qin Shaohui [Thu, 3 Mar 2016 09:48:34 +0000 (17:48 +0800)]
0-auto-detect: use MODALIAS in uevent to detect modules

This method can detect more modules than before.

8 years ago1-install: add more to the upgrade list
Chih-Wei Huang [Wed, 2 Mar 2016 13:49:31 +0000 (21:49 +0800)]
1-install: add more to the upgrade list

8 years agoMerge remote-tracking branch 'x86/kitkat-x86' into marshmallow-x86
Chih-Wei Huang [Sat, 6 Feb 2016 06:04:34 +0000 (14:04 +0800)]
Merge remote-tracking branch 'x86/kitkat-x86' into marshmallow-x86

Conflicts:
initrd/scripts/0-auto-detect

8 years agoAndroid.mk: refine the rules to build iso_img kitkat-x86
Chih-Wei Huang [Fri, 5 Feb 2016 08:58:23 +0000 (16:58 +0800)]
Android.mk: refine the rules to build iso_img

The original rules may fail at some situations.

Reported-by: Jaroslav Penaska <j.penaska@gmail.com>
8 years agocheck efi partition can mount before installing grub2
Luke [Tue, 19 Jan 2016 01:24:25 +0000 (14:24 +1300)]
check efi partition can mount before installing grub2

8 years agoSearch for efi partition
Luke [Tue, 19 Jan 2016 01:20:18 +0000 (14:20 +1300)]
Search for efi partition

8 years ago1-install: add 4.4-r4 to the upgrade list
Chih-Wei Huang [Wed, 27 Jan 2016 13:51:32 +0000 (21:51 +0800)]
1-install: add 4.4-r4 to the upgrade list

8 years ago0-auto-detect: a hack to avoid loading brcmfmac
Chih-Wei Huang [Sat, 23 Jan 2016 15:01:36 +0000 (23:01 +0800)]
0-auto-detect: a hack to avoid loading brcmfmac

The driver brcmfmac usually doesn't work if loaded by the
auto_detect function. Skip the driver and let it be loaded
by Android ueventd.

8 years agoMerge remote-tracking branch 'x86/kitkat-x86' into marshmallow-x86
Chih-Wei Huang [Sat, 23 Jan 2016 12:13:44 +0000 (20:13 +0800)]
Merge remote-tracking branch 'x86/kitkat-x86' into marshmallow-x86

8 years agoAndroid.mk: fix an error to build efi_img
Chih-Wei Huang [Sat, 23 Jan 2016 11:44:05 +0000 (19:44 +0800)]
Android.mk: fix an error to build efi_img

8 years agoMerge remote-tracking branch 'x86/kitkat-x86' into marshmallow-x86
Chih-Wei Huang [Mon, 18 Jan 2016 17:08:54 +0000 (01:08 +0800)]
Merge remote-tracking branch 'x86/kitkat-x86' into marshmallow-x86

8 years ago1-install: remove the 2047MB limitation of data.img
Chih-Wei Huang [Mon, 18 Jan 2016 17:03:00 +0000 (01:03 +0800)]
1-install: remove the 2047MB limitation of data.img

This is an old limitation that is not needed now.

8 years agoMerge remote-tracking branch 'x86/kitkat-x86' into marshmallow-x86
Chih-Wei Huang [Sun, 17 Jan 2016 19:03:33 +0000 (03:03 +0800)]
Merge remote-tracking branch 'x86/kitkat-x86' into marshmallow-x86

Conflicts:
boot/boot/grub/grub.cfg
initrd/scripts/0-auto-detect
install/scripts/1-install

8 years agoAndroid.mk: remove dead code
Chih-Wei Huang [Sun, 17 Jan 2016 18:57:01 +0000 (02:57 +0800)]
Android.mk: remove dead code

8 years agoAndroid.mk: add missing dependencies
Chih-Wei Huang [Sun, 17 Jan 2016 18:56:01 +0000 (02:56 +0800)]
Android.mk: add missing dependencies

The EFI support introduced more files which should be added
to the dependencies of $(boot_dir).

8 years agoupdated grub.cfg install location
Luke [Thu, 14 Jan 2016 14:12:37 +0000 (03:12 +1300)]
updated grub.cfg install location

8 years agoEFI support for ISO
Luke [Thu, 14 Jan 2016 09:56:00 +0000 (22:56 +1300)]
EFI support for ISO

8 years agoinit: remove find_network_dev_name
Chih-Wei Huang [Sun, 17 Jan 2016 18:07:44 +0000 (02:07 +0800)]
init: remove find_network_dev_name

It is not used now.

8 years agoefi: don't be in favor of Windows 8
Chih-Wei Huang [Thu, 29 Oct 2015 06:11:37 +0000 (14:11 +0800)]
efi: don't be in favor of Windows 8

8 years ago0-auto-detect: do not load extra 3G modules
Chih-Wei Huang [Wed, 21 Oct 2015 08:00:50 +0000 (16:00 +0800)]
0-auto-detect: do not load extra 3G modules

The modules are built-in or could be auto-loaded on demend.
No need to pre-load them anymore.

8 years agoAdd the lndir script
Chih-Wei Huang [Sun, 26 Jul 2015 11:29:53 +0000 (19:29 +0800)]
Add the lndir script

The script can make hard links of files in a directory
to another one.

8 years ago1-install: add 4.4-r3 to the upgrade list
Chih-Wei Huang [Sun, 26 Jul 2015 07:53:55 +0000 (15:53 +0800)]
1-install: add 4.4-r3 to the upgrade list

8 years agoRevert "0-auto-detect: set correct permission for bluetooth nodes"
Chih-Wei Huang [Sun, 26 Jul 2015 07:52:31 +0000 (15:52 +0800)]
Revert "0-auto-detect: set correct permission for bluetooth nodes"

The related code was moved to init.sh.

This reverts commit 454d76b2b125e5a55fd38d58396866e37ea923a2.

8 years agoefi: don't be in favor of Windows 8 lollipop-x86
Chih-Wei Huang [Thu, 29 Oct 2015 06:11:37 +0000 (14:11 +0800)]
efi: don't be in favor of Windows 8

8 years agoinit: avoid using init modprobe
Chih-Wei Huang [Fri, 23 Oct 2015 08:32:15 +0000 (16:32 +0800)]
init: avoid using init modprobe

The init modprobe should not be used before the porting is finished,
otherwise the system suddenly reboots.

Also remove the obsolete way to load modules.

8 years agoinit: re-hash the commands table
Chih-Wei Huang [Wed, 21 Oct 2015 11:58:10 +0000 (19:58 +0800)]
init: re-hash the commands table

8 years ago0-auto-detect: do not load extra 3G modules
Chih-Wei Huang [Wed, 21 Oct 2015 08:00:50 +0000 (16:00 +0800)]
0-auto-detect: do not load extra 3G modules

The modules are built-in or could be auto-loaded on demend.
No need to pre-load them anymore.

8 years agoinitrd: remove v86d and load_uvesafb
Chih-Wei Huang [Tue, 20 Oct 2015 08:20:24 +0000 (16:20 +0800)]
initrd: remove v86d and load_uvesafb

Now v86d is built from source (thanks to pstglia to make it work)
and the function of load_uvesafb is moved to init.sh.

8 years ago1-install: we support ext4 now
Chih-Wei Huang [Mon, 5 Oct 2015 15:50:34 +0000 (23:50 +0800)]
1-install: we support ext4 now

8 years agoinit: avoid using some busybox executables
Chih-Wei Huang [Mon, 5 Oct 2015 14:15:24 +0000 (22:15 +0800)]
init: avoid using some busybox executables

It fixes the unable to format ext3 issue.

8 years agoUse gfxterm for grub-efi
Chih-Wei Huang [Sat, 3 Oct 2015 16:17:20 +0000 (00:17 +0800)]
Use gfxterm for grub-efi

It fixes ASUS T100 garbled console mysteriously.

8 years agoMerge remote-tracking branch 'x86/kitkat-x86-new-grub' into lollipop-x86
Chih-Wei Huang [Fri, 2 Oct 2015 05:33:47 +0000 (13:33 +0800)]
Merge remote-tracking branch 'x86/kitkat-x86-new-grub' into lollipop-x86

8 years agoUse mksh in the DEBUG mode
Chih-Wei Huang [Sun, 26 Jul 2015 18:21:15 +0000 (02:21 +0800)]
Use mksh in the DEBUG mode

8 years agoAdd the lndir script
Chih-Wei Huang [Sun, 26 Jul 2015 11:29:53 +0000 (19:29 +0800)]
Add the lndir script

The script can make hard links of files in a directory
to another one.

8 years ago1-install: add 4.4-r3 to the upgrade list
Chih-Wei Huang [Sun, 26 Jul 2015 07:53:55 +0000 (15:53 +0800)]
1-install: add 4.4-r3 to the upgrade list

8 years agoRevert "0-auto-detect: set correct permission for bluetooth nodes"
Chih-Wei Huang [Sun, 26 Jul 2015 07:52:31 +0000 (15:52 +0800)]
Revert "0-auto-detect: set correct permission for bluetooth nodes"

The related code was moved to init.sh.

This reverts commit 454d76b2b125e5a55fd38d58396866e37ea923a2.

8 years agoMerge remote-tracking branch 'x86/kitkat-x86' into lollipop-x86
Chih-Wei Huang [Sun, 26 Jul 2015 07:43:50 +0000 (15:43 +0800)]
Merge remote-tracking branch 'x86/kitkat-x86' into lollipop-x86

8 years agoinstall: upgrade to TrustedGRUB 1.1.5
Chih-Wei Huang [Thu, 16 Jul 2015 09:06:31 +0000 (17:06 +0800)]
install: upgrade to TrustedGRUB 1.1.5

8 years agosupport GPT disks android-x86-4.4-r3
Chih-Wei Huang [Thu, 7 May 2015 17:04:33 +0000 (01:04 +0800)]
support GPT disks

* allow to create GPT partitions
* allow to install to a GPT partition
* allow to install grub2-efi to the ESP partition

Based on the nice work of hatharry <hatharry@gmail.com>.

9 years agoinit: do not mount /cache directly
Chih-Wei Huang [Fri, 9 Jan 2015 17:12:27 +0000 (01:12 +0800)]
init: do not mount /cache directly

Let /cache be mounted in fstab.

9 years ago1-install: support formatting ext4 partition
Chih-Wei Huang [Thu, 8 Jan 2015 07:45:45 +0000 (15:45 +0800)]
1-install: support formatting ext4 partition

Note our legacy grub can't support booting from an ext4 partition.
You need to install a bootloader supporting ext4 manually.

9 years agoinit: remove find_network_dev_name
Chih-Wei Huang [Thu, 8 Jan 2015 07:35:27 +0000 (15:35 +0800)]
init: remove find_network_dev_name

It may be unnecessary now.

9 years agoMerge remote-tracking branch 'x86/kitkat-x86' into lollipop-x86
Chih-Wei Huang [Mon, 5 Jan 2015 12:36:47 +0000 (20:36 +0800)]
Merge remote-tracking branch 'x86/kitkat-x86' into lollipop-x86

9 years ago1-install: add 4.4-r2 to the upgrade list
Chih-Wei Huang [Mon, 5 Jan 2015 12:34:47 +0000 (20:34 +0800)]
1-install: add 4.4-r2 to the upgrade list

9 years ago1-install: fix direct run mode after installation android-x86-4.4-r2
Chih-Wei Huang [Thu, 1 Jan 2015 10:39:54 +0000 (18:39 +0800)]
1-install: fix direct run mode after installation

9 years agoadd a new goal: efi_img
Chih-Wei Huang [Wed, 31 Dec 2014 22:09:29 +0000 (06:09 +0800)]
add a new goal: efi_img

Make efi_img will generate an image that can be
dd to a usb stick and bootable from a UEFI device.

9 years agoinitrd: support iso-scan/filename in cmdline
Chih-Wei Huang [Wed, 31 Dec 2014 09:21:08 +0000 (17:21 +0800)]
initrd: support iso-scan/filename in cmdline

By specifying the iso-scan/filename to the iso file and
using bootloader support loopback device (e.g., grub2),
we can now boot from an iso file directly.

9 years agoMerge remote-tracking branch 'x86/kitkat-x86' into lollipop-x86
Chih-Wei Huang [Tue, 16 Dec 2014 08:46:10 +0000 (16:46 +0800)]
Merge remote-tracking branch 'x86/kitkat-x86' into lollipop-x86

9 years agoAndroid.mk: support 64-bit targets
Chih-Wei Huang [Thu, 6 Nov 2014 15:26:59 +0000 (23:26 +0800)]
Android.mk: support 64-bit targets

9 years agoinitrd: re-enable android executables for lollipop-x86
Chih-Wei Huang [Sat, 25 Oct 2014 16:24:35 +0000 (00:24 +0800)]
initrd: re-enable android executables for lollipop-x86

Fortunately we can use the executables of Android 5.0 now.

9 years agoUse a grub device map so that e.g. virtio disks will boot
Oliver Henshaw [Fri, 12 Dec 2014 12:44:10 +0000 (12:44 +0000)]
Use a grub device map so that e.g. virtio disks will boot

grub seems to detect sda and hda disks fine but needs a little guidance
to find vda disks.

9 years agoMake installation work with virtio disks
Oliver Henshaw [Fri, 12 Dec 2014 12:44:09 +0000 (12:44 +0000)]
Make installation work with virtio disks

Note that the install_to change merely avoids an infinite loop,
allowing installation to complete. Further grub surgery is required to
boot the system.

9 years agoFail more gracefully if pathname expansion fails
Oliver Henshaw [Fri, 12 Dec 2014 12:44:08 +0000 (12:44 +0000)]
Fail more gracefully if pathname expansion fails

9 years ago1-install: add 4.4-r1 to the upgrade list
Chih-Wei Huang [Wed, 5 Nov 2014 14:21:49 +0000 (22:21 +0800)]
1-install: add 4.4-r1 to the upgrade list

9 years agoinitrd: derive SRC from BOOT_IMAGE android-x86-4.4-r1
Chih-Wei Huang [Fri, 8 Aug 2014 18:28:35 +0000 (18:28 +0000)]
initrd: derive SRC from BOOT_IMAGE

If SRC is not set, assume the system image locates in
the same directory as the kernel.

9 years ago1-install: allow to install read-write mode on ntfs and vfat
Chih-Wei Huang [Wed, 30 Jul 2014 16:57:36 +0000 (00:57 +0800)]
1-install: allow to install read-write mode on ntfs and vfat

If the user chooses read-write mode installation and the filesystem
is ntfs or vfat, install system.img instead of system.sfs.

Mount system.img to be read-write in the init script.

9 years agoinitrd: remove the obsolete mkdir path
Chih-Wei Huang [Wed, 28 May 2014 06:10:46 +0000 (14:10 +0800)]
initrd: remove the obsolete mkdir path

/mnt/sdcard is now a symlink to the internal storage.

9 years ago1-install: add 4.4-RC1 to the upgrade list
Chih-Wei Huang [Mon, 19 May 2014 13:48:14 +0000 (21:48 +0800)]
1-install: add 4.4-RC1 to the upgrade list

10 years agoinitrd: extend the pattern to match more disk nodes
Chih-Wei Huang [Tue, 8 Apr 2014 17:03:11 +0000 (01:03 +0800)]
initrd: extend the pattern to match more disk nodes

The new pattern could match nodes like:
* /dev/mdXXX
* /dev/vdaX

10 years ago1-install: try to upgrade from previous versions
Chih-Wei Huang [Thu, 6 Feb 2014 08:09:52 +0000 (16:09 +0800)]
1-install: try to upgrade from previous versions

Check if some known versions exist. If yes, move
the old directory to the new one.

10 years agoupdate busybox for installer in kitkat-x86
Chih-Wei Huang [Wed, 15 Jan 2014 14:08:40 +0000 (22:08 +0800)]
update busybox for installer in kitkat-x86

Known issue: ext3 filesystem is not supported

10 years agoinitrd: mount device under /dev/block/ instead of /dev/ jb-x86
Chih-Wei Huang [Wed, 15 Jan 2014 07:21:08 +0000 (15:21 +0800)]
initrd: mount device under /dev/block/ instead of /dev/

It avoids the data lost issue on poweroff.

10 years agoEnable to choice drives for editing partitions.
Masaki Muranaka [Wed, 11 Sep 2013 02:26:36 +0000 (11:26 +0900)]
Enable to choice drives for editing partitions.

10 years agoisolinux.cfg: disable mode setting in VESA
Chih-Wei Huang [Thu, 25 Jul 2013 17:25:08 +0000 (01:25 +0800)]
isolinux.cfg: disable mode setting in VESA

10 years agoinitrd: revert back load_uvesafb
Chih-Wei Huang [Thu, 25 Jul 2013 16:03:08 +0000 (00:03 +0800)]
initrd: revert back load_uvesafb

The bionic linked v86d doesn't work with new kernel.
Add back the prebuilt v86d until I find a solution.

10 years ago1-install: disallow to install read-write mode on ntfs
Chih-Wei Huang [Tue, 23 Jul 2013 02:14:58 +0000 (10:14 +0800)]
1-install: disallow to install read-write mode on ntfs

It doesn't work with Android 4.3.

10 years ago0-auto-detect: set correct permission for bluetooth nodes
Chih-Wei Huang [Tue, 23 Jul 2013 02:06:16 +0000 (10:06 +0800)]
0-auto-detect: set correct permission for bluetooth nodes

10 years agoAdd boot menu entires
Masaki Muranaka [Wed, 10 Jul 2013 02:02:11 +0000 (10:02 +0800)]
Add boot menu entires

They will help us to avoid blank screen issue.

Signed-off-by: Masaki Muranaka <monaka@monami-ya.jp>
10 years ago0-auto-detect: do not load bluetooth modules
Chih-Wei Huang [Wed, 10 Jul 2013 01:58:06 +0000 (09:58 +0800)]
0-auto-detect: do not load bluetooth modules

These modules are not compatible with bluedroid.

11 years agoinitrd: remove unnecessary modprobe
Chih-Wei Huang [Wed, 27 Feb 2013 04:01:22 +0000 (12:01 +0800)]
initrd: remove unnecessary modprobe

Now most drivers are loaded by ueventd or init.sh.

There is still an issue for uvesafb. We must load it before running
ts_calibrate. This should be removed once I find a way to run
ts_calibrate in android init.

11 years agoinitrd: move dhcpcd services to init.x86.rc
Chih-Wei Huang [Mon, 25 Feb 2013 12:14:21 +0000 (20:14 +0800)]
initrd: move dhcpcd services to init.x86.rc

11 years agoAndroid.mk: remove obsolete usb_img rules and files
Chih-Wei Huang [Mon, 25 Feb 2013 05:05:12 +0000 (13:05 +0800)]
Android.mk: remove obsolete usb_img rules and files

Now usb_img is an alias of iso_img.

11 years agoinitrd: enable different DEBUG levels
Chih-Wei Huang [Mon, 25 Feb 2013 04:50:40 +0000 (12:50 +0800)]
initrd: enable different DEBUG levels

* DEBUG=0: log all booting message to /tmp/log in initrd and
           start logcat in android, but no debug shell.
* DEBUG=1: except DEBUG=0 behavior, enter debug shell when android
           filesystem detected.
* DEBUG=2: except DEBUG=1 behavior, ender debug shell before
           chroot to android -- the same behavior as before if
           DEBUG is not empty.

11 years agoAndroid.mk: ensure busybox be built for installer
Chih-Wei Huang [Wed, 13 Feb 2013 17:26:38 +0000 (01:26 +0800)]
Android.mk: ensure busybox be built for installer

The installer requires cpio of busybox to work properly.

11 years agofix fallback to normal boot if installer not available
Chih-Wei Huang [Wed, 13 Feb 2013 17:25:25 +0000 (01:25 +0800)]
fix fallback to normal boot if installer not available

11 years agoisolinux.cfg: do not set DPI in jb-x86
Chih-Wei Huang [Tue, 5 Feb 2013 15:44:12 +0000 (23:44 +0800)]
isolinux.cfg: do not set DPI in jb-x86