[APP][5.0+][ROOT][2020.12.21] LiveBoot (Logcat/Dmesg Boot Animation) v1.84

Search This thread

Chainfire

Moderator Emeritus / Senior Recognized Developer
Oct 2, 2007
11,441
87,703
www.chainfire.eu
Buy pro button is broken. I press it and nothing happens

If you're using v1.10, that won't work until the Play store also has v1.10.

@Chainfire same result as 1.05 test works fine but when I reboot I get a couple of seconds of it working before the normal boot animation takes over,

Nexus 4 Android 4.4.4 SuperSu 2.41
https://drive.google.com/folderview?id=0B4M1eQ8oIVUoTndzZDJwUk4xajg&usp=sharing

Same result with the audit.txt,contains an error about no such file/directory

Unfortunaly the logcat is too late to get any useful information from it. I wish I could get this reproduced, it'd probably be a 5 minute fix :/
 

hiratafabio

Senior Member
Feb 10, 2012
119
23
São Paulo
Just tested on my Moto X 1st Gen 4.4.4.

It works, but the "issue" with bootanimation persists. It shows quickly then LiveBoot kicks in, shows the code and everything, then it goes back to bootanimation after a while. I don't know if this is really an issue as it seems to me that LiveBoot shows all the code (too fast to follow) and then goes back to the bootanimation.

Enviado de meu XT1058 usando Tapatalk
 

dan-htc-touch

Senior Member
Dec 6, 2007
688
148
calgary
Just tested on my Moto X 1st Gen 4.4.4.

It works, but the "issue" with bootanimation persists. It shows quickly then LiveBoot kicks in, shows the code and everything, then it goes back to bootanimation after a while. I don't know if this is really an issue as it seems to me that LiveBoot shows all the code (too fast to follow) and then goes back to the bootanimation.

Enviado de meu XT1058 usando Tapatalk

It can never show all the code, as long as your device is running there will be more code

Sent from my HTC One_M8 using Tapatalk
 
  • Like
Reactions: hiratafabio

TNSMANI

Senior Moderator
Staff member
  • Jan 8, 2014
    5,197
    6,574
    Chennai
    Installed ver. 1.10. The test runs ok. During actual boot, after the Google animation, Liveboot runs for 5 seconds and then the usual boot animation shows up for the balance boot time. The overall time is exactly the same as without Liveboot. I have timed it and it is working perfectly.
    Nexus 4 rooted running stock 4.4.4
     

    Chainfire

    Moderator Emeritus / Senior Recognized Developer
    Oct 2, 2007
    11,441
    87,703
    www.chainfire.eu
    Just uploaded v1.11 to the first post, found a crash issue that could be the cause of the problem. Please let me know if this one works better.

    @Chainfire same result as 1.05 test works fine but when I reboot I get a couple of seconds of it working before the normal boot animation takes over,

    Nexus 4 Android 4.4.4 SuperSu 2.41
    https://drive.google.com/folderview?id=0B4M1eQ8oIVUoTndzZDJwUk4xajg&usp=sharing

    Same result with the audit.txt,contains an error about no such file/directory

    Just tested on my Moto X 1st Gen 4.4.4.

    It works, but the "issue" with bootanimation persists. It shows quickly then LiveBoot kicks in, shows the code and everything, then it goes back to bootanimation after a while. I don't know if this is really an issue as it seems to me that LiveBoot shows all the code (too fast to follow) and then goes back to the bootanimation.

    Enviado de meu XT1058 usando Tapatalk

    Installed ver. 1.10. The test runs ok. During actual boot, after the Google animation, Liveboot runs for 5 seconds and then the usual boot animation shows up for the balance boot time. The overall time is exactly the same as without Liveboot. I have timed it and it is working perfectly.
    Nexus 4 rooted running stock 4.4.4
     

    Chainfire

    Moderator Emeritus / Senior Recognized Developer
    Oct 2, 2007
    11,441
    87,703
    www.chainfire.eu
    Was there anything useful in the liveboot.log I posted ?

    No, the app cannot log its own crash, because it already crashed :)

    I tried 1.11/2 and the test run works now but unfortunately the real boot didn't work, I tried liveboot.Log option and didn't get log so I know it didn't worked. Hope there is some useful information here https://docs.google.com/file/d/0B_ULR45iMs0OVHl0NGxiVDUzWGs/edit?usp=docslist_api

    The logcat starts too late in the boot process to be of relevance.

    It almost seems as if your su.d isn't called at all on your device or something. Luckily, I have an m7, so if you can provide me with links to the exact firmware and kernel you are running, I will download them and test for myself.
     

    Top Liked Posts

    • There are no posts matching your filters.
    • 316
      [APP][5.0+][ROOT][2020.12.21] LiveBoot (Logcat/Dmesg Boot Animation) v1.84

      Que ?


      LiveBoot is a boot animation that shows you logcat and dmesg outputs on-screen as they happen. Output configuration includes logcat level, buffer and format selection; whether to show dmesg; the amount of lines that should fit on your screen, whether word-wrap should be employed, and if output should be color-coded. Additionally the background can be set to transparent to overlay the existing boot animation, which looks awesome during boot.

      A feature is built-in to test your current configuration without rebooting. The lines shown in test mode may be limited and relatively static, this does not reflect exact boot time behavior as much as it just shows you that it works and how big the text will be.

      Note that LiveBoot will only show up after the data partition is mounted. If you need to enter a decryption key or pattern at boot, it will not show up until you have done so.

      Root

      This app does not only require root, it requires specifically SuperSU version 2.40 or newer, or a recent Magisk, due to how the boot-time code is launched. Alternatively, the app will try to function for otherwise rooted firmwares that support init.d, but this is not officially supported and it cannot be guaranteed to work.

      Compatibility

      Officially the app supports 5.0+ and newer. Regardless of version, the app may work on your device or it may not. I've gotten it to work on a bunch of my own devices on various firmwares, but not on all. Even if the test run functionality works, this does not necessarily mean it will actually work during boot. It usually does, but not always.

      This does indeed also mean I cannot guarantee continued operation - even if it works for you today, it may fail your next firmware update. If that is an issue for you, then you should definitely not update to Pro.

      The risk of bootloops is extremely low, but not completely non-existent. Should a bootloop occur, removing either the app's APK or /system/su.d/0000liveboot through recovery should fix the problem.

      Unless you are using SuperSU in system-less mode, the app writes to /system, as such your firmware must allow this. There is no recovery-based install option at this time.

      Pro

      There's an in-app purchase to upgrade to Pro, which supports my developments, and unlocks the transparency option as well as logcat buffer and format selection.

      Of course, if you have one of the paid variants of the old live logcat or live dmesg boot animations from all those years ago installed, this will also enable Pro mode.

      Like some of my other apps these days, if you don't have Google Play but still managed to install the APK, this will also enable Pro mode.

      Last but not least, if you simply don't want to pay for it, there's also a button to enable Pro mode (the 'freeload' option)

      Script

      If /system/su.d/0000liveboot.script or /su/su.d/0000liveboot.script or /sbin/supersu/su.d/0000liveboot.script exists (chmod 0644, not 0700 like other files in /system/su.d/ or /su/su.d/ !), this script will be run instead of logcat and dmesg, and its output will be shown in white (stdout) and red (stderr).

      Download

      Google Play

      or see attachment below

      Screenshots
      (1.14: 7646; 1.20: 5826; 1.30: 3999; 1.40: 1512; 1.50: 16710; 1.60: 25034; 1.70: 9446; 1.81: 2564, 1.83: 23762)
      81

      Why ?

      I always liked the old logcat and dmesg boot animations on 2.x. Unfortunately the code doesn't port well to newer Android versions. They were starting to cause more issues for users than they were provide coolness, so I pulled them from Play (together with a number of other apps) some time ago.

      While working on the next generation of Mobile ODIN, I've started using some techniques that I realized could be used to bring this back. Aside from being as cool as it is, this app actually serves as a testbed for these techniques.

      Tech

      The code is launched by a daemonsu bootscript immediately after /data is available. It then pulls an overlay surface from SurfaceFlinger through native code. It proceeds by running Java code that spins threads that catch logcat / dmesg / script output with libsuperuser. That output is then rendered by the Java code with OpenGL to the surface and shown on-screen.
      57
      SAUCE AVAILABE AT GITHUB - https://github.com/Chainfire/liveboot

      Changelogs

      2020-12-21 - v1.84

      - Android 11
      - Removed links to Google Plus (hehe)
      - (c) 2020

      2019-12-31 - v1.83
      - Android 10

      2019-03-13 - v1.81
      - (c) 2019
      - Fix script reinstalling every launch
      - Fix display not working on some Pie ROMs
      - Fix test run not working on some devices

      2019-01-06 - v1.80
      - Magisk: support /data/adb paths
      - Magisk: delay startup if /data not available
      - Fix script uninstall not working
      - Use librootjava's Daemon mode

      2018.11.16 - v1.70
      - Android 9.0 Pie support
      - Improved 64-bit support
      - Fix files dir not existing automagically
      - Migrated libcfsurface from C hijacks to Java reflection as much as possible (4.2 --> 5.0 minimum support)
      - Magisk support
      - Adaptive icon
      - Updated compile and target API levels
      - (C) 2018

      2017-09-11 - v1.60
      - Add compatibility with Android Oreo
      - Add compatibility with SuperSU in SBIN mode
      - Fix toolbox/toybox detection on 64-bit, could cause animation to keep running

      2016-12-20 - v1.50
      - [email protected]: stop animation when Android is up
      - (C) 2017

      2016-10.30 - v1.40
      - Android N 7.1 file-based-encryption support

      2016-05-19 - v1.30
      - Android N Preview 3 support

      2015-10-30 - v1.20
      - Android 6.0 support

      2015-01-03 - v1.14
      - Force remove old boot scripts before placing new one
      - Added another watchdog to prevent the animation from never quitting
      - (C) 2015
      - Note: some devices need SuperSU v2.42 or newer to work

      2014-12-21 - v1.13 - BETA
      - Use alternative shell if default not available (fx HTC One m7, m8)
      - Workaround b/7188322 hack (fx Shield Tablet)
      - Fixed minor script issues

      2014-12-20 - v1.12
      - ProGuard (reduce APK size)

      2014.12.20 - v1.11 - BETA
      - Added option to disable logcat color coding
      - Another possible fix for premature exit

      2014.12.20 - v1.10 - BETA - RELEASE NOTES
      - Possible fix for only showing for two seconds during boot on some devices
      - Fixed some typos
      - Made logcat buffers configurable (pro)
      - Made logcat format configurable (pro)
      - Made word wrap configurable
      - Added option to darken the background
      - Added option to save logs
      - Added reboot option

      - Added capability to use init.d if not using SuperSU, but this is not officially supported. It might make the app work on more firmwares, but it should be noted that init.d behavior differs between firmwares, and unlike su.d provided by SuperSU, no guarantees are made as to the state of the /data partition or SELinux policies when init.d scripts execute. Therefor it is impossible to officially support - it might work, it might not, and this will differ between firmwares.

      2014.12.18 - v1.05
      - Fixed number of lines being interpreted as hexadecimal
      - Fixed various load and display issues on 4.3 and 4.4

      2014.12.17 - v1.00
      - Initial release
      18
      Here's another test version, let me know if that helps.

      Script uninstall now also works properly, sorry about that.

      I'm running DeluxeROM 9.4 (Oreo 8.0) on my Note 8 with the latest unofficial release of Magisk. LiveBoot seems to install and the test works fine but doesn't seem to do anything during boot.

      I'm not sure where the scripts have copied to or if I need to do something in Magisk to get it working...

      I see this in the Magisk Logs:

      Exactly the same behavior. Nexus 5X, 8.1 (November stock image), Magisk 17.3. Magisk log shows
      Code:
      post-fs-data.d: exec [0000liveboot]
      but nothing is displayed, only the stock boot animation.

      PS, "test run" works fine, but starts approx. 20 seconds after clicking the menu item.

      Hi,

      Tried LiveBoot v1.70 but it's not working on my LG (H910) V20 phone running Nougat 7.0. Hopefully it will in a future update? I'd be happy to test.

      Thanks

      On pixel 3xl. It was working initially, now nothing when I restart. Occasionally works when I power off.
      Uninstall through the app does is not working either

      It will not work on redmi note 4 10.0.1 stale rom..
      I liked this app on soo many other devices, installed via play store.
      My device is unlocked and magisked 17.1


      not working on samsung j200gu 5.1.1 stock rom touchwiz :( test run works but when i reboot it only shows the standard bootanimation please help :(
      Here are attachments for more details


      Update: It worked using v1.60. Before I installed the v1.70 I had a back up so i wiped my data etc then restore it and then instead of v1.70 I used v1.60 and it worked like magic! :victory: