Commit Graph

531 Commits

Author SHA1 Message Date
Vojtech Bocek
1a5516466b Fix double-free 2016-02-07 19:38:25 +01:00
Vojtech Bocek
da50856bd5 [m33][t27] Bump versions 2016-02-07 18:45:56 +01:00
Vojtech Bocek
d63b4e9132 Fixups for fw_mounter-less mounting 2016-02-07 18:45:29 +01: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
cae487184e Restore build in omni 6.0 tree 2016-01-10 21:43:44 +01:00
Vojtech Bocek
64d0205c45 Update kexec-tools 2015-06-03 17:57:22 +02:00
Vojtech Bocek
6af69527e8 Update kexec-tools 2015-06-02 02:26:35 +02:00
Vojtěch Boček
69b43e1e48 Merge pull request #62 from CaptainThrowback/master
Initialize adb via usb_function_switch
2015-06-01 20:12:34 -04:00
Captain Throwback
0f1c246dec Initialize adb via usb_function_switch 2015-06-01 20:05:47 -04:00
Vojtech Bocek
982e54556a Re-add "Boot primary ROM" button to trampoline_encmnt
* We can do that now because we don't need /data mounted
  to workaround restorecon_recursive in init.rc
2015-05-31 21:17:31 +02:00
Vojtech Bocek
e6594408d4 Use different method to workaround "restorecon_recursive /data"
* Inject entries for MultiROM folders into /file_contexts
  instead of editing *.rc files.
* Thanks nkk71 for the suggestion.
2015-05-31 20:55:42 +02:00
Vojtech Bocek
0ff3e9988e [t26] Backport some ueventd fixes
e2d63af  Move sprintf to snprintf.
d1d9602  init: refactor firmware loading locations into table
d1d9602  init: refactor firmware loading locations into table
1225a61  init: consider all platform devices for find_platform_device
2015-05-29 21:00:47 +02:00
Vojtech Bocek
68561d8e98 Add some more O_CLOEXEC 2015-05-29 20:57:41 +02:00
Vojtech Bocek
21ec010d5c [t25] Properly clean-up in trampoline (fixes M preview boot) 2015-05-29 00:19:59 +02:00
Vojtech Bocek
df3d66a473 Revert "[t22] Don't move /main_init to /init before executing it"
This reverts commit d3147e465c.

Conflicts:
	version.h

SELinux in Android M preview needs it to be called /init.
2015-05-29 00:18:38 +02:00
Vojtech Bocek
4b3da31b90 Detect if kernel doesn't have kexec syscall enabled 2015-05-28 23:59:48 +02:00
Vojtěch Boček
d8daf27d8d Merge pull request #55 from joshuabg/master
Remove unneeded function for arm64 compatibility
2015-04-07 11:13:40 +02:00
Vojtech Bocek
249441ebde [t24] Fix pattern encryption password recognition if it overlaps itself 2015-04-07 09:20:32 +02:00
Hashbang
dbb9fd2687 Remove unneeded function for arm64 compatibility
Change-Id: I19b3ad77fe916cbee7df6600970abefef32be5c2
2015-04-04 13:19:18 -04:00
Vojtech Bocek
3f9f0dbc11 Remove obsolete support for resolution-specific themes 2015-04-02 17:01:56 +02:00
Vojtech Bocek
efb0603e41 Update kexec-tools 2015-04-01 00:33:59 +02:00
Vojtech Bocek
60bb45bb7a Always use fw_mounter to mount secondary ROM's firmware.img
* Mounting the image as /firmware in multirom can clash with real
  /firmware mounted for encryption support
2015-03-31 14:29:42 +02:00
Vojtech Bocek
1d9e5587b8 Merge branch 'master' of github.com:Tasssadar/multirom 2015-03-28 14:43:38 +01:00
Vojtech Bocek
ef90e19ece [m32] Bump version 2015-03-28 14:43:15 +01:00
Vojtěch Boček
4a14446acb Merge pull request #54 from KINGbabasula/master
Silence warnings from unused variables
2015-03-23 15:36:12 +01:00
KINGbabasula
55600f4acc Use a macro for unused variables
Change-Id: I491bea842274029feb965b71c3a62b5953c2ce5c
2015-03-23 14:57:20 +01:00
KINGbabasula
5f73cc6c99 Silence warnings from unused variables
Change-Id: I4bebc7947770a26467f3435a4249fa34c94c266b
2015-03-22 10:38:36 +01:00
Vojtech Bocek
c34c410c9f [t23] Fix keyboard having only upper-case letters
* Caused by buttons automatically doing strtoupper()
* Bump trampoline version because keyboard is used in trampoline_encmnt
2015-03-19 19:21:46 +01:00
Vojtech Bocek
5950f62218 Support linux-based ROMs with separate dtb.img 2015-03-19 18:40:14 +01:00
Vojtech Bocek
419f73393c Minor UI improvements
* Make text on buttons uppercase and in Roboto-Medium
* Add shadow to buttons on misc page
* Add inactive effect to tab names
2015-03-17 13:05:18 +01:00
Vojtech Bocek
f4bfddc840 Fix off-by-one error in 180 degree framebuffer rotation 2015-03-17 13:04:48 +01:00
Vojtech Bocek
e1efd54b14 Remove leftover debugging log 2015-03-15 17:34:46 +01:00
Vojtech Bocek
7e890abeb3 Set PATH in mr_system() 2015-03-15 17:33:35 +01:00
Vojtech Bocek
f617104c60 Add wrapper for calling our busybox sh -c "command" 2015-03-15 17:22:39 +01:00
Vojtech Bocek
b13a8812ab Set user-friendly permissions to multirom_log.from emergency crash 2015-03-14 10:46:56 +01:00
Vojtech Bocek
05c1f08e32 Remove hardcoded sleep() from qcom overlay when vsync is disabled 2015-03-12 18:22:59 +01:00
Vojtech Bocek
2015141a97 Don't inject boot.img only if versions are the same (instead of >=) 2015-03-11 21:00:34 +01:00
Vojtech Bocek
8c6ade4f3d Merge branch 'encryption' 2015-03-11 15:47:17 +01:00
Vojtech Bocek
4b87f60c75 Change ueventd and watchdogd symlinks to ../main_init in inject.c 2015-03-11 15:46:13 +01:00
Vojtech Bocek
d3147e465c [t22] Don't move /main_init to /init before executing it
* This causes "Device or resource busy" when remounting rootfs as RO
  on hammerhead with encryption and thus causing bootloop because...
  why the fuck exactly? Only on this device and only with encryption?
  I don't care at this point, already took several hours to debug,
  hopefuly SELinux won't mind.
2015-03-11 02:17:08 +01:00
Vojtech Bocek
885f69452a Use execve instead of execvpe, which is not available in <= 4.4 trees 2015-03-09 21:43:53 +01:00
Vojtech Bocek
95b0b3c342 [t21] Bump trampoline version 2015-03-08 20:27:35 +01:00
Vojtech Bocek
3a1035f985 Fix mrom_is_second_boot not checking the last kmsg 2015-03-08 19:54:11 +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
1c4a4bb382 Use 3 buffers and improve vsync in qcom overlay 2015-03-08 16:05:08 +01:00
Vojtech Bocek
2a81cc38c7 [t20] Remove "boot primary ROM" button from trapoline_encmnt
* We can't do that, MultiROM has to run rom_quirks on the primary
  ROM, because otherwise it can bork all secondary ROMs with
  restorecon_recursive /data.
2015-03-08 14:18:32 +01:00
Vojtech Bocek
7b120f0fec Fix logging in inject.c 2015-03-08 14:13:49 +01:00
Vojtech Bocek
0e53467082 Fix framebuffer blanking with qcom overlay 2015-03-07 16:25:42 +01:00
Vojtech Bocek
222af62472 [t19] Improve cleanup after decryption in trampoline 2015-03-07 15:30:45 +01:00
Vojtech Bocek
6b14068b8c Fix some log messages missing newline at the end 2015-03-07 15:27:26 +01:00