OSDN Git Service

android-x86/bootable-newinstaller.git
10 years ago0-auto-detect: fix hardware acceleration disabled issue ics-x86
Chih-Wei Huang [Mon, 1 Jul 2013 08:05:42 +0000 (16:05 +0800)]
0-auto-detect: fix hardware acceleration disabled issue

The bug may occur in a device with multiple framebuffer drivers.

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

11 years ago1-install: change default values of some dialogs
Chih-Wei Huang [Fri, 11 Jan 2013 05:16:30 +0000 (13:16 +0800)]
1-install: change default values of some dialogs

* Do you want to install boot loader GRUB? => default no
* Do you want to install /system directory as read-write? => default yes

11 years agoinitrd: move find_network_dev_name after post_detect.
Chih-Wei Huang [Mon, 24 Dec 2012 09:19:23 +0000 (17:19 +0800)]
initrd: move find_network_dev_name after post_detect.

11 years agoinitrd: determine HWACCEL by /proc/fb
Chih-Wei Huang [Tue, 10 Jul 2012 00:57:08 +0000 (08:57 +0800)]
initrd: determine HWACCEL by /proc/fb

Currently only inteldrmfb and radeondrmfb support OpenGL hardware
acceleration. So set HWACCEL according to /proc/fb.

11 years ago1-install: remove fake SD card support
Chih-Wei Huang [Sat, 7 Jul 2012 07:56:22 +0000 (15:56 +0800)]
1-install: remove fake SD card support

This is replaced by the internal storage support.

12 years agoinitrd: support mounting ROOT filesystem via NFS
Gernot Hillier [Fri, 27 Apr 2012 06:46:43 +0000 (08:46 +0200)]
initrd: support mounting ROOT filesystem via NFS

Add mount option "nolock" and a remount workaround to support
NFS roots in our limited Busybox environment.

Signed-off-by: Gernot Hillier <gernot.hillier@siemens.com>
12 years ago1-install: allow to customize grub menu.lst
Chih-Wei Huang [Thu, 26 Apr 2012 16:42:14 +0000 (00:42 +0800)]
1-install: allow to customize grub menu.lst

12 years agoAndroid.mk: show the iso path on building successfully
Chih-Wei Huang [Thu, 9 Feb 2012 09:49:00 +0000 (17:49 +0800)]
Android.mk: show the iso path on building successfully

12 years agoinitrd: delay the stage of setup_dpi
Chih-Wei Huang [Wed, 8 Feb 2012 09:53:46 +0000 (17:53 +0800)]
initrd: delay the stage of setup_dpi

Move setup_dpi after detect_hardware so that a target can customize dpi
based on the detection result.

12 years ago3-tslib: fix incorrect chown honeycomb-x86
Chih-Wei Huang [Mon, 9 Jan 2012 05:55:51 +0000 (13:55 +0800)]
3-tslib: fix incorrect chown

The incorrect chown results in several issues like wifi cannot be turned on.

12 years ago1-install: do not create hdpi boot item
Chih-Wei Huang [Sun, 1 Jan 2012 15:52:40 +0000 (23:52 +0800)]
1-install: do not create hdpi boot item

Since honeycomb-x86 we don't use hdpi anymore.

12 years agoMake iso file hybrid so they can be used on a usb stick
Silvere Lestang [Wed, 14 Dec 2011 07:59:34 +0000 (08:59 +0100)]
Make iso file hybrid so they can be used on a usb stick

12 years agoisolinux.cfg: update for ics-x86
Chih-Wei Huang [Mon, 28 Nov 2011 03:54:36 +0000 (11:54 +0800)]
isolinux.cfg: update for ics-x86

Most tablets/netbooks should use mdpi now.

12 years agoinit: update for honeycomb-x86
Chih-Wei Huang [Mon, 5 Sep 2011 06:46:49 +0000 (14:46 +0800)]
init: update for honeycomb-x86

12 years agoinit: allow to specify the android partition by ROOT gingerbread-x86
Chih-Wei Huang [Fri, 9 Sep 2011 08:51:15 +0000 (16:51 +0800)]
init: allow to specify the android partition by ROOT

12 years agoinit: avoid kernel panic by ensuring system/bin/ln is executable
Chih-Wei Huang [Fri, 2 Sep 2011 07:41:40 +0000 (15:41 +0800)]
init: avoid kernel panic by ensuring system/bin/ln is executable

12 years agoinit: move detecting root partition to check_root()
Chih-Wei Huang [Thu, 18 Aug 2011 03:21:58 +0000 (11:21 +0800)]
init: move detecting root partition to check_root()

12 years agoMerge branch 'froyo-x86' into gingerbread-x86
Chih-Wei Huang [Tue, 24 May 2011 01:40:28 +0000 (09:40 +0800)]
Merge branch 'froyo-x86' into gingerbread-x86

12 years agoinit: ensure keyboard driver is loaded in debug or installation mode froyo-x86 android-x86-2.2-r2
Chih-Wei Huang [Mon, 23 May 2011 10:19:03 +0000 (18:19 +0800)]
init: ensure keyboard driver is loaded in debug or installation mode

12 years ago0-auto-detect: add back find_network_dev_name
Chih-Wei Huang [Fri, 13 May 2011 02:25:49 +0000 (10:25 +0800)]
0-auto-detect: add back find_network_dev_name

In android 2.3.4 the service of dhcpcd is renamed to combine with
interface name, just like we did in donut-x86.

13 years agoremove prebuilt v86d
Chih-Wei Huang [Wed, 20 Apr 2011 09:36:31 +0000 (17:36 +0800)]
remove prebuilt v86d

We have added an Android porting of v86d, so remove the prebuilt one.

13 years agoMerge branch 'froyo-x86' into gingerbread-x86
Chih-Wei Huang [Fri, 15 Apr 2011 01:22:55 +0000 (09:22 +0800)]
Merge branch 'froyo-x86' into gingerbread-x86

13 years agoinit: use mdev as the hotplug tool
Chih-Wei Huang [Fri, 25 Feb 2011 07:58:00 +0000 (15:58 +0800)]
init: use mdev as the hotplug tool

13 years agoeditdisklbl: add missing LOCAL_MODULE_TAGS
Chih-Wei Huang [Sun, 16 Jan 2011 17:04:37 +0000 (01:04 +0800)]
editdisklbl: add missing LOCAL_MODULE_TAGS

13 years ago0-auto-detect: detect wmi drivers in /sys/devices/virtual/wmi
Chih-Wei Huang [Mon, 24 Jan 2011 09:17:07 +0000 (17:17 +0800)]
0-auto-detect: detect wmi drivers in /sys/devices/virtual/wmi

The patch also reverts previous commit. It changes the order
of modules loaded which causes more problems.

13 years ago0-auto-detect: find all modalias files in /sys
Chih-Wei Huang [Thu, 20 Jan 2011 03:11:43 +0000 (11:11 +0800)]
0-auto-detect: find all modalias files in /sys

This is a suggestion from Corentin Chary to fix
auto-detect issue of eeepc-wmi driver.

13 years ago1-install: set default to no for confirm overwrite dialog android-x86-2.2
Chih-Wei Huang [Thu, 13 Jan 2011 06:52:25 +0000 (14:52 +0800)]
1-install: set default to no for confirm overwrite dialog

13 years ago1-install: handle errors more properly
Chih-Wei Huang [Sun, 9 Jan 2011 07:32:05 +0000 (15:32 +0800)]
1-install: handle errors more properly

13 years ago1-install: fix a bug of installing grub
Chih-Wei Huang [Fri, 7 Jan 2011 10:12:32 +0000 (18:12 +0800)]
1-install: fix a bug of installing grub

13 years agoinit: create a symlink /src for the source
Chih-Wei Huang [Fri, 7 Jan 2011 10:09:52 +0000 (18:09 +0800)]
init: create a symlink /src for the source

13 years agoinit: change debug shell to be mksh
Chih-Wei Huang [Sat, 1 Jan 2011 13:06:27 +0000 (21:06 +0800)]
init: change debug shell to be mksh

13 years agoAndroid.mk: fix an improper dependency
Chih-Wei Huang [Sat, 1 Jan 2011 13:05:15 +0000 (21:05 +0800)]
Android.mk: fix an improper dependency

13 years ago1-install: use the cpio from android-x86 system
Chih-Wei Huang [Thu, 23 Dec 2010 03:31:25 +0000 (11:31 +0800)]
1-install: use the cpio from android-x86 system

There are two busybox in android-x86. One is static linked and the other
is linked with bionic. The prior is older version and only used in boot
stage and installer, the later is newer and can be used after booted
into android-x86.

It seems the prior busybox cpio is buggy to copy files with set-user-ID bit.
Using /system/xbin/cpio solves the issue.

13 years agoinit: add post_detect callback
Chih-Wei Huang [Tue, 21 Dec 2010 08:12:56 +0000 (16:12 +0800)]
init: add post_detect callback

13 years ago1-install: avoid umount failure
Chih-Wei Huang [Tue, 21 Dec 2010 08:12:19 +0000 (16:12 +0800)]
1-install: avoid umount failure

13 years ago2-mount: avoid binding sdcard dir twice
Chih-Wei Huang [Mon, 20 Dec 2010 03:11:58 +0000 (11:11 +0800)]
2-mount: avoid binding sdcard dir twice

If the sdcard.img is located in data dir, it should not be bound again.

13 years agoinstaller: several improvements
Chih-Wei Huang [Sat, 18 Dec 2010 19:15:20 +0000 (03:15 +0800)]
installer: several improvements

* better support of installation to ntfs and vfat
* provide a way to create a fake sdcard after installation

13 years agoinstaller: support read-write installation
Chih-Wei Huang [Sat, 18 Dec 2010 12:47:03 +0000 (20:47 +0800)]
installer: support read-write installation

The user now can decide whether to install /system as read-write.
Easier for debugging but needs more disk space.

13 years ago2-mount: add more methods to mount /data
Chih-Wei Huang [Fri, 17 Dec 2010 09:45:12 +0000 (17:45 +0800)]
2-mount: add more methods to mount /data

The additional methods are

* mount /data to a filesystem image.
* a callback device_mount_data so a target can decide its mount strategy.

13 years agoavoid an ignored warning
Chih-Wei Huang [Thu, 16 Dec 2010 10:26:58 +0000 (18:26 +0800)]
avoid an ignored warning

13 years agoauto-detect: disable hardware acceleration if no kms driver found
Chih-Wei Huang [Thu, 9 Dec 2010 09:51:10 +0000 (17:51 +0800)]
auto-detect: disable hardware acceleration if no kms driver found

13 years agolet the target decide whether to show hdpi and mdpi menu
Chih-Wei Huang [Wed, 1 Dec 2010 07:59:02 +0000 (15:59 +0800)]
let the target decide whether to show hdpi and mdpi menu

If a target has defined ro.sf.lcd_density, hide the
hdpi or mdpi item accordingly.

13 years agomenu.lst: support both hdpi and mdpi for usb_img
Chih-Wei Huang [Fri, 26 Nov 2010 08:48:13 +0000 (16:48 +0800)]
menu.lst: support both hdpi and mdpi for usb_img

13 years agoisolinux.cfg: do not define SDCARD
Chih-Wei Huang [Fri, 26 Nov 2010 08:42:09 +0000 (16:42 +0800)]
isolinux.cfg: do not define SDCARD

Let the targets decide whether to define SDCARD variable.

13 years ago2-mount: do not mount sdcard
Chih-Wei Huang [Thu, 18 Nov 2010 04:05:47 +0000 (12:05 +0800)]
2-mount: do not mount sdcard

The SDCARD variable is now handled by the new vold except SDCARD=premount.

Do not use SDCARD=premount unless absolutely necessary. It is left only
for backward compatibility and may be removed in the future.

13 years agoupdate initrd.img when system.img changed
Chih-Wei Huang [Fri, 22 Oct 2010 06:36:25 +0000 (14:36 +0800)]
update initrd.img when system.img changed

13 years agoupdate installer
Chih-Wei Huang [Thu, 14 Oct 2010 08:38:55 +0000 (16:38 +0800)]
update installer

* Support both hdpi and mdpi
* Add Windows entry in menu.lst

13 years agoinit: use the default shell (mksh) for console
Chih-Wei Huang [Mon, 13 Sep 2010 08:06:06 +0000 (16:06 +0800)]
init: use the default shell (mksh) for console

13 years agoupdate messages
Chih-Wei Huang [Fri, 20 Nov 2009 07:19:19 +0000 (15:19 +0800)]
update messages

13 years ago0-auto-detect: always loads bluetooth and 3G modules
Chih-Wei Huang [Mon, 6 Sep 2010 11:14:14 +0000 (19:14 +0800)]
0-auto-detect: always loads bluetooth and 3G modules

13 years ago0-auto-detect: remove find_network_dev_name
Chih-Wei Huang [Wed, 4 Aug 2010 09:47:05 +0000 (17:47 +0800)]
0-auto-detect: remove find_network_dev_name

Now libnetutils/dhcp_utils can pass the interface to the service,
so no need to define different services for different interfaces.

13 years agoadd editdisklbl to fix usb_img target
Chih-Wei Huang [Wed, 21 Jul 2010 03:14:04 +0000 (11:14 +0800)]
add editdisklbl to fix usb_img target

We removed the obsolete diskinstaller from froyo-x86 tree.
However, editdisklbl is necessary to build usb_img. So
import it from diskinstaller.

13 years agoredirect detect_hardware stderr to log as well
Chih-Wei Huang [Wed, 21 Jul 2010 02:10:05 +0000 (10:10 +0800)]
redirect detect_hardware stderr to log as well

13 years agochange /sdcard to /mnt/sdcard as froyo style
Chih-Wei Huang [Wed, 7 Jul 2010 06:17:54 +0000 (14:17 +0800)]
change /sdcard to /mnt/sdcard as froyo style

14 years ago0-auto-detect: correct dhcpcd options eclair-x86
Chih-Wei Huang [Wed, 3 Feb 2010 06:52:01 +0000 (14:52 +0800)]
0-auto-detect: correct dhcpcd options

Add options to avoid forking and request domain_name_servers.

14 years ago3-tslib: create symlinks for ts_calibrate and don't modify ts.env
Chih-Wei Huang [Fri, 15 Jan 2010 12:13:53 +0000 (20:13 +0800)]
3-tslib: create symlinks for ts_calibrate and don't modify ts.env

14 years ago3-tslib: run ts_calibrate to generate pointercal
Chih-Wei Huang [Wed, 13 Jan 2010 08:47:03 +0000 (16:47 +0800)]
3-tslib: run ts_calibrate to generate pointercal

If BOARD_USES_TSLIB is true and a system-wide pointercal doesn't exist,
run ts_calibrate to generate /data/system/tslib/pointercal.

14 years ago0-auto-detect: change uvesafb default option (ywrap -> redraw)
Chih-Wei Huang [Tue, 29 Dec 2009 09:13:17 +0000 (17:13 +0800)]
0-auto-detect: change uvesafb default option (ywrap -> redraw)

It seems ywrap doesn't work well at all for Android.

14 years agoadd support of tslib
Chih-Wei Huang [Fri, 11 Dec 2009 07:43:12 +0000 (15:43 +0800)]
add support of tslib

14 years agoUpdate for multiple x86 platforms support
Chih-Wei Huang [Thu, 10 Dec 2009 07:43:32 +0000 (15:43 +0800)]
Update for multiple x86 platforms support

A target should define its own detect_hardware function
in TARGET_INITRD_SCRIPTS.

14 years ago0-auto-detect: load bluetooth later to avoid race conditions android-x86-1.6
Chih-Wei Huang [Tue, 10 Nov 2009 11:19:56 +0000 (19:19 +0800)]
0-auto-detect: load bluetooth later to avoid race conditions

14 years ago0-auto-detect: enable bluetooth for other platforms
Chih-Wei Huang [Fri, 6 Nov 2009 12:21:19 +0000 (20:21 +0800)]
0-auto-detect: enable bluetooth for other platforms

14 years ago2-mount: check mount result
Chih-Wei Huang [Fri, 16 Oct 2009 07:52:28 +0000 (15:52 +0800)]
2-mount: check mount result

Only set storage state to mounted if mount successfully.

14 years ago2-mount: fix mount state bug and simplify the rules
Chih-Wei Huang [Fri, 16 Oct 2009 03:41:51 +0000 (11:41 +0800)]
2-mount: fix mount state bug and simplify the rules

14 years agoadd bluetooth modules for Eee PC
Chih-Wei Huang [Fri, 9 Oct 2009 11:47:34 +0000 (19:47 +0800)]
add bluetooth modules for Eee PC

14 years agoadd vold support
Yi Sun [Wed, 30 Sep 2009 18:46:48 +0000 (11:46 -0700)]
add vold support

14 years agoadd Eee PC 8G (model name 702)
Chih-Wei Huang [Fri, 18 Sep 2009 01:15:24 +0000 (09:15 +0800)]
add Eee PC 8G (model name 702)

14 years agoset date correctly on creating iso
Chih-Wei Huang [Fri, 11 Sep 2009 04:53:30 +0000 (12:53 +0800)]
set date correctly on creating iso

14 years agoavoid to use pseudo device node with dhcpcd
Yi Sun [Tue, 1 Sep 2009 03:01:11 +0000 (20:01 -0700)]
avoid to use pseudo device node with dhcpcd

14 years agoadd new dhcpcd service for different interfaces
Yi SUn [Wed, 26 Aug 2009 17:06:53 +0000 (10:06 -0700)]
add new dhcpcd service for different interfaces

14 years agoavoid installing grub to /boot/grub
Chih-Wei Huang [Thu, 27 Aug 2009 09:47:15 +0000 (17:47 +0800)]
avoid installing grub to /boot/grub

14 years ago* fix cmdline issues
Chih-Wei Huang [Fri, 21 Aug 2009 10:07:36 +0000 (18:07 +0800)]
* fix cmdline issues
* do not show Run Android-x86 after installation for vbox

14 years agoadd grub4dos for live usb menu selection
Chih-Wei Huang [Wed, 19 Aug 2009 11:28:04 +0000 (19:28 +0800)]
add grub4dos for live usb menu selection

14 years agoThe new installer. Supported filesystems are
Chih-Wei Huang [Mon, 17 Aug 2009 11:25:41 +0000 (19:25 +0800)]
The new installer. Supported filesystems are
* ext2
* ext3
* ntfs
* fat32

You can also install to an existing partition. No need to format it.

14 years agoset DATE to be the date of generating iso
Chih-Wei Huang [Mon, 3 Aug 2009 10:31:42 +0000 (18:31 +0800)]
set DATE to be the date of generating iso

14 years agoadd symlink /sbin/hotplug in non-debug mode
Chih-Wei Huang [Mon, 3 Aug 2009 07:20:10 +0000 (15:20 +0800)]
add symlink /sbin/hotplug in non-debug mode

14 years agochanged based on review feedback
Yi Sun [Fri, 31 Jul 2009 16:43:43 +0000 (09:43 -0700)]
changed based on review feedback

14 years agoremove the code to collect module path
Yi Sun [Fri, 31 Jul 2009 00:29:18 +0000 (17:29 -0700)]
remove the code to collect module path

14 years agoadd symlink /lib/firmware
Chih-Wei Huang [Fri, 31 Jul 2009 07:56:16 +0000 (15:56 +0800)]
add symlink /lib/firmware

14 years agosimplify find_wifi_dev_name to correct some issues
Chih-Wei Huang [Wed, 29 Jul 2009 13:26:12 +0000 (21:26 +0800)]
simplify find_wifi_dev_name to correct some issues

14 years ago* use BOARD_KERNEL_CMDLINE as the default cmdline
Chih-Wei Huang [Wed, 29 Jul 2009 12:24:39 +0000 (20:24 +0800)]
* use BOARD_KERNEL_CMDLINE as the default cmdline
* modify isolinux.cfg on making
* add usb_img target

14 years agoadd wifi support in init script
Yi Sun [Fri, 24 Jul 2009 23:50:24 +0000 (16:50 -0700)]
add wifi support in init script

14 years agoadd experimental Asus A6VM support
Chih-Wei Huang [Mon, 27 Jul 2009 06:07:35 +0000 (14:07 +0800)]
add experimental Asus A6VM support

14 years agoadd busybox if DEBUG=1 or BUSYBOX=1 cupcake-x86
Chih-Wei Huang [Thu, 23 Jul 2009 09:40:45 +0000 (17:40 +0800)]
add busybox if DEBUG=1 or BUSYBOX=1

14 years agoadd AUTO option, set it to 1 to force auto-detect
Chih-Wei Huang [Thu, 23 Jul 2009 05:11:09 +0000 (13:11 +0800)]
add AUTO option, set it to 1 to force auto-detect

14 years agoCompress squashfs to system.sfs to avoid confused.
Chih-Wei Huang [Thu, 23 Jul 2009 04:03:09 +0000 (12:03 +0800)]
Compress squashfs to system.sfs to avoid confused.

14 years ago* add uvesafb support
Chih-Wei Huang [Wed, 22 Jul 2009 12:59:32 +0000 (20:59 +0800)]
* add uvesafb support
* add auto detect (kinneko)

14 years agomount source as read-only, and remount read-write later if necessary
Chih-Wei Huang [Wed, 22 Jul 2009 11:03:03 +0000 (19:03 +0800)]
mount source as read-only, and remount read-write later if necessary

14 years agoupdate busybox to use right modprobe. Test with Virtualbox and 901
Yi Sun [Wed, 22 Jul 2009 07:32:34 +0000 (00:32 -0700)]
update busybox to use right modprobe. Test with Virtualbox and 901

14 years agoModify EXTERNAL_STORAGE_STATE in init.rc and mountd.conf
Chih-Wei Huang [Tue, 21 Jul 2009 14:41:13 +0000 (22:41 +0800)]
Modify EXTERNAL_STORAGE_STATE in init.rc and mountd.conf
to support sdcard auto mount

14 years agofixed typo that causes init to fail
Yi Sun [Tue, 21 Jul 2009 07:50:10 +0000 (00:50 -0700)]
fixed typo that causes init to fail

14 years agoadd auto mount for sdcard
Yi Sun [Tue, 21 Jul 2009 01:20:13 +0000 (18:20 -0700)]
add auto mount for sdcard

14 years agoextend DATA, SDCARD syntax
Chih-Wei Huang [Mon, 20 Jul 2009 06:42:38 +0000 (14:42 +0800)]
extend DATA, SDCARD syntax

14 years ago* support vbox audio (issue #7)
Chih-Wei Huang [Mon, 20 Jul 2009 02:14:01 +0000 (10:14 +0800)]
* support vbox audio (issue #7)
* add vmware support (issue #10)

14 years agoadd auto detect & install scripts
Chih-Wei Huang [Fri, 17 Jul 2009 11:00:08 +0000 (19:00 +0800)]
add auto detect & install scripts