Commit Graph

63 Commits

Author SHA1 Message Date
HashBang
20a0889dac fix build with android-6.0 tree
Change-Id: Ia1126b186f77875868e417efeb121ba894580aa0
2016-02-10 20:19:16 -08:00
Vojtech Bocek
c61c3a4ebf SELinux-related 6.0 fixes
* Run restorecon on /data/.layout_version
* Fix firmware image mounting, remove obsolete fw_mounter
* Add mechanism to append things to rc files
2016-02-06 20:51:50 +01:00
Vojtech Bocek
385bde5ebe Fix multirom_get_bootloader_cmdline when running in secondary ROM 2015-03-08 19:49:09 +01:00
Vojtech Bocek
30f5316b7b Reboot when trampoline can't mount /data on second boot
* On second boot, we have secondary ROM's kernel running and don't
  want to boot the primary ROM with it.
2015-03-06 21:05:23 +01:00
Vojtech Bocek
ab9ba11467 Move brightness setting to framebuffer.c 2015-03-03 19:36:14 +01:00
Vojtech Bocek
7db8f34697 Move drawing, input and utils code into separate library 2015-02-16 21:01:06 +01:00
Vojtech Bocek
a45c2730b5 Implement "autoboot if no key pressed" 2014-09-27 17:53:08 +02:00
Vojtech Bocek
2f1fd9270d Save screenshots as PNG, use power+volume down to take screenshots
* Screenshots are now saved as
  /sdcard/Pictures/Screenshots/mrom_screenshot_XXX.png
* You _have_ to press power button first
2014-08-08 02:14:33 +02:00
Vojtech Bocek
3229eac1b0 Fix mounting of radio.img on Android L preview
* Workaround SELinux stuff
* Use fstab "class" for changing the fstab instead of separate code
2014-08-06 17:48:38 +02:00
Vojtech Bocek
85cfc83f05 Animation duration is now changeable with a coeficient from config 2014-08-03 21:18:42 +02:00
Vojtech Bocek
57e4e5e583 Rewrite framebuffer drawing code to use truetype fonts 2014-07-01 16:21:03 +02:00
Vojtech Bocek
81bcd75b51 Merge branch 'master' into png 2014-04-20 22:09:52 +02:00
Vojtech Bocek
ce5b9f1050 Save debug logs to no-root-required folder 2014-04-20 21:11:23 +02:00
Vojtech Bocek
9575484add Show icons in the ROM list 2014-04-20 01:20:26 +02:00
Vojtech Bocek
f3c32e8655 Add config option to force using generic fb implementation 2014-03-08 15:26:40 +01:00
Vojtech Bocek
040743f43f Refactor kexec loading, add support for standalone dtb.img 2014-02-08 18:57:32 +01:00
Vojtech Bocek
c2d29a88b5 Move containers to standalone file 2014-01-02 17:25:05 +01:00
Vojtech Bocek
075cd3aa36 Properly store current_rom if it is internal ROM 2014-01-01 05:55:27 +01:00
Vojtech Bocek
1eb2fe13a0 Support booting ROMs via --boot-rom cmdline argument 2013-12-29 19:41:07 +01:00
Vojtech Bocek
3ea6682030 Support firmware images in secondary ROMs 2013-12-14 20:00:56 +01:00
Vojtech Bocek
b6e870793f Add tramp_hook_before_device_init hook, move hooks to their own header 2013-12-09 18:53:02 +01:00
Vojtech Bocek
641c37077c Implement "boot the last ROM" auto boot type 2013-12-08 18:01:16 +01:00
Vojtech Bocek
be7b7363e6 Add hook mrom_hook_before_fb_close() 2013-12-07 01:07:25 +01:00
Vojtech Bocek
369b8f1e9a Add device-specific hooks mechanism 2013-09-27 17:18:58 +02:00
Vojtech Bocek
c12a29c608 Use only bootloader's cmdline instead of complete cmdline 2013-09-24 18:08:16 +02:00
Vojtech Bocek
d42a893cdc Use libbootimg in ZIPs and to update trampoline in bootimgs 2013-09-23 19:10:07 +02:00
Vojtech Bocek
a527521639 [m14][t6] Improve fstab seeking code 2013-09-22 20:03:40 +02:00
Vojtech Bocek
b0f7ebc095 Use fstab to get /data device path 2013-09-12 18:16:31 +02:00
Vojtech Bocek
e563da9b91 Update trampoline in secondary ROM's boot images on boot if needed 2013-09-08 20:58:54 +02:00
Vojtech Bocek
5e096df5ab Remove unused multirom_dump_boot() 2013-09-08 13:09:17 +02:00
Vojtech Bocek
8844b119e3 Move adb from multirom to trampoline, use same util.c for both, cleanup 2013-08-26 15:23:05 +02:00
Vojtech Bocek
ee160226b2 Implement run-on-boot scripts support
* Scripts placed in /sdcard/multirom/roms/*rom*/run-on-boot are ran
  on boot. They must have have .sh suffix.
  Passed arguments:
      $1: Path to busybox
      $2: Path to ROM folder (e.g. /realdata/media/multirom/roms/rom)

  Scripts _have_ to use supplied path to busybox to run any commands,
  as there are no busybox links installed.
2013-08-26 14:02:32 +02:00
Vojtech Bocek
e8ad384867 Modify fstab.<board-name> file instead of modifying *.rc files
* This fixes partitions like /firmware, which has to be always
  mounted. It won't work with devices which don't use mount_all
  init command, but all new devices do, I hope.
2013-08-13 01:57:24 +02:00
Vojtech Bocek
5a088281c1 License MultiROM under GNU GPLv3 2013-07-27 17:42:34 +02:00
Vojtech Bocek
14e1e07123 [m12] Implement screen rotation, add 1280x800 theme 2013-07-16 17:03:27 +02:00
Vojtech Bocek
8a02261a31 Add option to rename or hide Internal ROM 2013-06-02 22:46:16 +02:00
Vojtech Bocek
f0c106ae89 Implement ADB daemon 2013-04-04 02:10:01 +02:00
Vojtech Bocek
cf06cbe514 Add brightness setting 2013-04-02 17:40:34 +02:00
Vojtech Bocek
4700837865 Fix "colors" datatype in multirom_status 2013-04-01 15:57:37 +02:00
Vojtech Bocek
5f4ff525d2 Add battery status to misc tab 2013-04-01 00:52:09 +02:00
Vojtech Bocek
731bdf5897 [m10] Add more color themes 2013-03-17 22:38:29 +01:00
Vojtech Bocek
7e75af8aa0 [7] Remove direct support for Ubuntu, it is handled as "generic linux" 2013-01-30 02:46:22 +01:00
Vojtech Bocek
8b4f2b10a5 Print last 50 lines from klog to emergency reboot screen 2013-01-06 16:22:08 +01:00
Vojtech Bocek
09a8081a6f Add possibility to set root path from root of /data 2013-01-05 00:28:52 +01:00
Vojtech Bocek
20e794c482 [m5] Implement booting of kexec-based ROMs with configuration in text file
* Can handle at least ubuntu and webOS, but potentially anything
  without changing a single line in the code. See rom_info.txt.
2013-01-04 22:40:05 +01:00
Vojtech Bocek
2e3f91d7f9 Revert "Initial webOS support"
This reverts commit 813f77514d.
2013-01-04 16:31:18 +01:00
Vojtech Bocek
813f77514d Initial webOS support 2013-01-03 02:59:14 +01:00
Vojtech Bocek
f7f2173f05 Add "set_quiet_ubuntu" cfg; fix kexec support check 2012-12-18 16:26:25 +01:00
Vojtech Bocek
17a2551c9b Fix booting android kernels without kexec patches 2012-12-12 19:35:52 +01:00
Vojtech Bocek
f6ef123362 Move boot_img_hdr structure to it's own file 2012-12-12 00:11:09 +01:00