Commit Graph

510 Commits

Author SHA1 Message Date
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
Vojtech Bocek
539d04bb5d Add option to shutdown the device from trampoline_encmnt 2015-03-06 23:04:29 +01:00
Vojtech Bocek
9b0fc947fd Hide "boot internal" button in trampoline_encmnt on second boot 2015-03-06 21:12:35 +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
6d492ff870 Merge branch 'encryption' of github.com:Tasssadar/multirom into encryption 2015-03-06 12:44:38 +01:00
Vojtech Bocek
4c72c0c199 Update kexec-tools 2015-03-06 12:44:26 +01:00
Vojtěch Boček
be67b6c274 Merge pull request #51 from KINGbabasula/patch-4
Fix kexec hardboot check
2015-03-06 11:02:51 +01:00
Davide Pianca
977c3151bd Fix kexec hardboot check 2015-03-06 09:43:21 +01:00
Vojtech Bocek
ec81a7890e [m32][t18] Bump versions for testing release 2015-03-05 18:36:26 +01:00
Vojtech Bocek
d6e8ff40b4 Try to mount /data first before trying encryption
* This is the same way Android does it.
2015-03-05 18:33:10 +01:00
Vojtech Bocek
91ecea32fa Fix snprintf missing size argument in lib/inject.c 2015-03-05 18:24:28 +01:00
Vojtech Bocek
7acfe47db9 Fix kexec-hardboot check 2015-03-05 17:51:54 +01:00
Vojtech Bocek
c12519f88a Restore build 2015-03-05 16:42:50 +01:00
Vojtěch Boček
48ea00fd79 Merge pull request #49 from KINGbabasula/patch-2
Fix ifneq typo
2015-03-05 12:12:18 +01:00
Vojtěch Boček
38c1f23af4 Merge pull request #50 from KINGbabasula/patch-3
Fix framebuffer overlay compilation
2015-03-05 12:11:56 +01:00
Davide Pianca
e05b103561 Fix framebuffer overlay compilation 2015-03-05 10:27:21 +01:00
Davide Pianca
f7dd8eee9d Fix ifneq typo 2015-03-05 10:10:25 +01:00
Vojtech Bocek
b788d88d2c Remove variants from make_updater_script.sh, use MR_DEVICE_VARIANTS
Closes #48
2015-03-04 15:01:38 +01:00
Vojtech Bocek
35af45727f Implemet has_kexec() device hook 2015-03-04 14:55:25 +01:00
Vojtech Bocek
1cb2f48e15 Support for last_kmsg in pstore filesystem 2015-03-04 14:39:38 +01:00
Vojtech Bocek
69871f298a Re-work bootimg cmdline hooks and remove FLO_CMDLINE_HACK 2015-03-04 11:14:18 +01:00
Vojtech Bocek
efdb6c5a52 Remove extra debugging call 2015-03-04 01:21:53 +01:00