faust93
994539e94a
Bring multirom to M86
2016-12-18 14:13:41 +03:00
oshmoun
ed44721421
arm64: add more logging for loading dtb.img and exclude more places
...
where --dtb is passed with no parameter.
this causes arm64 kexec to error out.
2016-06-20 23:15:56 +02:00
Christian Oder
6b293c0d53
multirom: don't use --boardname and empty --dtb for arm64 devices
2016-06-20 23:15:50 +02:00
Zhuowei Zhang
426a08bc94
Add hook for modifying final command line before kexecing
2016-02-11 18:13:55 -08:00
Vojtech Bocek
1a5516466b
Fix double-free
2016-02-07 19:38:25 +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
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
4b3da31b90
Detect if kernel doesn't have kexec syscall enabled
2015-05-28 23:59:48 +02:00
Hashbang
dbb9fd2687
Remove unneeded function for arm64 compatibility
...
Change-Id: I19b3ad77fe916cbee7df6600970abefef32be5c2
2015-04-04 13:19:18 -04: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
5950f62218
Support linux-based ROMs with separate dtb.img
2015-03-19 18:40:14 +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
385bde5ebe
Fix multirom_get_bootloader_cmdline when running in secondary ROM
2015-03-08 19:49:09 +01:00
Vojtech Bocek
6b14068b8c
Fix some log messages missing newline at the end
2015-03-07 15:27:26 +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
Davide Pianca
977c3151bd
Fix kexec hardboot check
2015-03-06 09:43:21 +01:00
Vojtech Bocek
c12519f88a
Restore build
2015-03-05 16:42:50 +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
Vojtech Bocek
34ab37c6cb
Update kexec-tools
2015-03-04 01:08:18 +01:00
Vojtech Bocek
f8b29eebe7
Add cmdline_remove_bootimg_part hook
2015-03-04 01:03:44 +01:00
Vojtech Bocek
dcbea313ba
Add "close on exec" flag to all open() calls
2015-03-03 19:46:19 +01:00
Vojtech Bocek
ab9ba11467
Move brightness setting to framebuffer.c
2015-03-03 19:36:14 +01:00
Vojtech Bocek
da7f743d6b
Merge remote-tracking branch 'origin/master' into encryption
2015-02-27 14:59:07 +01:00
Vojtech Bocek
959b76d08a
Move bootimg injecting to the lib, trampoline now has --inject=boot.img
2015-02-26 15:30:18 +01:00
Vojtech Bocek
534f92078d
Use also ctime_nsec when checking if /dev/block/ has changed
2015-02-19 12:52:36 +01:00
Vojtech Bocek
7db8f34697
Move drawing, input and utils code into separate library
2015-02-16 21:01:06 +01:00
Vojtech Bocek
c31bc3cc8b
Create .layout_version with '3' for Lollipop ROMs
2015-02-08 20:12:59 +01:00
Vojtech Bocek
33b44d71aa
[m31][t15] Add support for multiple entries per path in fstab
2015-02-08 18:45:32 +01:00
Vojtech Bocek
0ccb204e90
Set is_second_boot also if mrom_kexecd=1 is present in /proc/cmdline
2015-01-14 11:15:13 +01:00
Dan Pasanen
4ca2667caf
multirom: add support for setting a default brightness for a device
...
* Some devices don't do well at 40. Allow for a device maintainer to
specify a default brightness.
Change-Id: Id76eb3d12313cbb81418b0dbc07e65f4a2cb3328
2015-01-03 14:51:28 -06:00
Vojtech Bocek
7b7834a9f6
Write fstab for fw_mounter as version 2
2014-11-21 15:58:58 +01:00
Vojtech Bocek
aa2f670576
Fix klog saving and text size on emergency reboot screen
2014-11-21 15:25:20 +01:00
Vojtech Bocek
e239ab5811
Bind mount /realdata to /data for rom quirks to work properly
2014-10-21 20:08:35 +02:00
Vojtech Bocek
74ecf0bbf2
Set .layout_version to 2 only if it is lower
2014-10-21 19:55:46 +02:00
Vojtech Bocek
d6fa2885ea
Merge branch 'master' of github.com:Tasssadar/multirom
2014-10-05 19:03:21 +02:00
Vojtech Bocek
0c26d5fd2d
Add device hook to allow incomplete fstab file
2014-10-05 19:02:29 +02:00
Captain Throwback
246e71e754
multirom: updates to support installing to external SD
2014-09-29 10:41:21 -04:00
Vojtech Bocek
3e41df3a41
Fix multirom_get_klog() returning char * without ending \0
2014-08-14 16:06:27 +02:00
Vojtech Bocek
65f07d0233
Rewrite list_* API to make more sense
2014-08-11 23:15:44 +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
9dd9fe9b80
Fix saving of anim_duration_coef config option
2014-08-03 21:43:28 +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
97e5449776
Properly use DT_DIR macro in readdir
2014-07-30 13:44:46 +02:00