[Q] How to execute a script instead of boot animation - AT&T Samsung Galaxy S 5

I want to get a live console boot for my device.
I have a script that Chainfire has written that displays a live console.
My problem is when I put the script into
Code:
"/system/etc/init.d/"
It executes after the lock screen appears, and shows the live console on top of the lockscreen.
What I am asking is how do I execute that script in place of the bootanimation?

Related

Change the Boot Screen in CM3.6.5

In Roger's ROM,I could change the boot Screen to the cute android logo animation by the instructions -
adb remount
adb push boot.gif /system/media
adb push boot.mp3 /system/media
But it could not work in CM3.6.5,nothing happened to the orignal boot screen.
How should I do now in CM3.6.5?
Thanks everybody!
Lol it's different because theres no boot.gif in cyanogen's ROM. Try this, I think it's what you want.
http://forum.xda-developers.com/showthread.php?t=467693&highlight=boot
So although I'm a veteran here at XDA, I must admit i'm a noob at the G1 ( was a pro at the WM smartphone) Is there a way to add a startup sound & or a shutdown sound for the phone. I'm using the dudes cupcake rom. If there is a way. are there a set of instructions to follow?
nemo.mole said:
In Roger's ROM,I could change the boot Screen to the cute android logo animation by the instructions -
adb remount
adb push boot.gif /system/media
adb push boot.mp3 /system/media
But it could not work in CM3.6.5,nothing happened to the orignal boot screen.
How should I do now in CM3.6.5?
Thanks everybody!
Click to expand...
Click to collapse
Cyan's mod uses the classic 2 part animation boot screen, with the green "shining" Android boot screen. This being, the Android lettering is a transparent .png, and the shining animation is a scrolling .gif that shines through it, thus getting that effect. In order to change the boot screen, you have to edit both of those and then use similar adb commands. They're both in a APK file though, which makes it a bit tricky.
This is indeed the correct link: http://forum.xda-developers.com/showthread.php?t=467693&highlight=boot

How can I remove the splash screen for output text of kernel startup?

is this can be done just in the kernel source?
can any body provide some info or suggestions? sample is better
thx.
theory is: replace bootanimation from /bin with a blank script. Make sure you backup your bootanimation in case that doesn't work
I like this idea too! It appeals to my nerdiness.
Sadly however it is not this easy. This is something I have wanted for a while and I have tried this. It just gives a black screen. If you look at the source code for bootanimation it even has a disable option(statically set to 0), if this is enabled and recompiled it also just yields a black screen. I think we would need a way to display via opengl or whatnot.
Text output would kick ass
thank you all guys, at least I get some response
I have some thoughts, I will try some different way to make it possible.
jubeh said:
theory is: replace bootanimation from /bin with a blank script. Make sure you backup your bootanimation in case that doesn't work
Click to expand...
Click to collapse
not boot animation, just the first splash screen. there are no /bin since nothing have been mounted.
I found bootanimation in /system/bin
Code:
mount -o remount,rw /system
cd /system/bin
cp bootanimation /sdcard
rm bootanimation
And now maybe my phone startup faster, but i have black screen instead of booting text output...
Any other ideas?

[Q] My Lazy Batch

I made a batch file to manage my phone. It has several automated functions complete with interactive menus.So far I have :
1.ADB = Automatically starts ADB,remounts your device, and opens a cmd prompt for you to work.
2.Shell= Throws you straight into shell
3.Splash Flasher = reboots your phone into the bootloader and flashes a splash screen.
4.Reboot = Reboot, recovery, or bootloader options.
5.Kill = Kills ADB and asks to quite or continue.
6.Exit
What funtions would you guys include to further provoke this lazy @$$ file? I am going to add a recovery flasher but I am currently filling holes to further reduce fall-throughs.
Can I ask what rom are u making this for and how will u use it I'm very interested this sounds very usefull
Root-Hack-Mod-Always™

[Q] how to add aliases to ash?

Is there any way to have ash read a .ashrc or .profile or whatever file automatically upon startup from "adb shell"? Of course I can create such a file, and execute it with "ash -l", but no matter where I put it (I've tried /.profile /.ashrc /etc/profile /etc/.ashrc), it never gets read automatically.
This is on an att captivate running cognition 4.1.1
you can install bash and make a /etc/profile. Then when you type bash, it will load the .profile. From the terminal, you can create a /sdcard/.profile and then your terminal will take commands from there.
I'm trying to not have to fire up another shell, be it bash or ash or whichever. Does ash not use a default .profile somewhere?
Did anyone get this to work?

[Q] Terminal Emulator Commands

What are the commands for ternimal emulator? Even when i type help.. nothing shows up!
It's a basic Linux system sitting there below Android, so many of the usual commands work.
However, the default commandline uses busybox ... take a look at the busybox man page

Categories

Resources