Hi
I have a dell streak and I remember a couple years ago using an app on it that removed the boot animation and replaced it with the actual list in realtime of the boot process, like apks and drivers loading, like a bios loading or a android loading on a windows phone in a dos style.
But I really cannot remember what app was that, anybody remembers?
I think it could also change to diferent boot animations, but it had this option to show the actual boot process instead of an animation...
There is a BIOS boot animation, but it was based upon the start process for an American Megatrends BIOS from 1993 and doesn't even come close to the Linux or Android boot processes. There is no app I know of that can do what you want, because unless I'm mistaken, no apps can be run while the bootloader and kernel are initializing. Based upon what I know regarding other devices, the kernel itself would have to be modified to display the boot commands instead of the boot animation. I know that one of the last HTC Aria ROMs had such a modified kernel, but it was also removed due to user complaints.
Just wanted to say that I found the app, it's easily found under chainfire's google play apps called live logcat and live dmesg.
Related
When I installed Kaosinate either v2 or v3 (I don't think v4), it didn't have a bootanimation in there.
Instead of any SAMSUNG or anything like that, I watched the raw boot process, text and all (like I've seen in maybe a Linux system before on bootup).
It looked a lot like a logcat dump while booting up.
I want that back, and I haven't found a ROM or a mod to do so, at all.
Someone seemed to think that init.rc would need to be modified to make it happen, but I want to find out how!
I've searched around and someone is still trying to find this in the Nexus One forums, and was satisfied with a custom bootanimation (which I am not)
http://forum.xda-developers.com/showthread.php?t=646279
I am wondering if I would be able to modify a flashable .zip with the init.rc from Kaosinate v3, and then throw it into jt's CM 6.2.0 ROM that I'm using, and find any success?
Has anyone else looked into, desired, or completed this process?
You need to rebuild the kernel to enable it. It requires some code changes as well as a few config changes. I also don't know if you can use boot animations after making the changes.
So it is a situation where I need to use a specific kernel then..
I think that this is what it looks like, when this guy gets Android on his iPhone, and you watch the boot process.
Good shot of it at like 1:52:
http://www.youtube.com/watch?v=5yO2KQHkt4A
Yeah, it is kernel specific, and by default, the stock Samsung source does not support what you want, so you'd have to make a few edits and also change some config options related to the changes as well.
After a long time it's a moment to realease HTC HD2 ToolBox app with HBL. Small app that will allow you to boot linux inside android, and display everything on screen or through VNC connection. ToolBox app is also redesigned and added some new functions.
In pack is barebone debian distro with xfce4 interface.
There is also posibility that this app and HBL will work on other phones like leo (desire, nexus one ...)
Everything else you need to know is in Readme file.
Bug reports or suggestions on this thread, i'll answer when i'll get some time.
Enjoy !!!
EDIT: I added Readme file to this post so lazy people can read everything before downloading pack, or asking silly questions!
EDIT 2: I'm currently working on support for sdcard roms and other non-working builds. Also i would like to mention that is possible to run ANY linux distro with HBL (with some modifications) or even to run another android rom!
So consider this early versions only as "technology preview", more support and bug-fixes in next few days...
P.S Thank you all for your support !
Download Link
wow awesome
Does it work within Android like vns versions?
I've been waiting for (something similar, but this should do the work) such an app.
Thank you.
@hd# ..
Read the "Read-me" file ?
been waiting for this too.
But my broadband is down and I've already exceeded my monthly data allowance using wifi tether (500mb !!!)
... might have to do it anyway
Edit; still downloading... I assume there is no sound enabled on this
hi
can i boot ubuntu with it?
hi first big thanks for your hard work.
now i need some help to get linux running from HBL.
i´m using kingdom sense3 rom from dungphp.
i installed hd2 toolbox and copied linux folder to root of sd card.
i installed HBL (Busybos is installed in version 1.19.x.x) i took rootexplorer and give /system/bin/ write permissions for owner/groups/others.
But i need initd support: what i have to do to get this?? or is it on my rom?
please help cause at the moment i´ve bootloops everytime i want to boot linux.
Thank's a lot for this! I've been waiting for this for for a while!!!
So if I understand this right.... which I don't think I did at first..... this is basically the same thing as booting ubuntu and connecting to it with vnc, the ubuntu that is in another thread.... i ask because what I am looking for is usb host support.... which I don't believe is possible with the other ubuntu that boots in android.... and I think if I undestand this right... is not possible with this one either......i do appreciate the work done on this app a lot.... but to me, it's useless unless usbhost is supported because of tiny menus and buttons not being easily clickable with fingers..... so I want to use my wireless mouse that has a usb receiever......
edit: download finally finished, I tried it out.... I really like it, couple questions.... is it normal for shutdown not to work? I chose to boot and show on local screen instead of vnc..... when I did that, it started fine, I messed around a little, then tried to shutdown... it said shutdown command failed or something similar.... then rebooted android..... and when you choose to boot on local screen, is this kicking android out so it's only linux, kind of like haret and booting android from winmo off sd? And last, is it possible for usbhost?
Edit2: I could barely see the text at the bottom of the hotboot screen that says to use log out feature to return to android... I did that instead of shutdown, there were no errors and it went to my android boot animation, then booted back to android just fine.....
Its working well. Thanks .I have the same question as Diesburg does. One more how to make right click.
diesburg said:
So if I understand this right.... which I don't think I did at first..... this is basically the same thing as booting ubuntu and connecting to it with vnc, the ubuntu that is in another thread.... i ask because what I am looking for is usb host support.... which I don't believe is possible with the other ubuntu that boots in android.... and I think if I undestand this right... is not possible with this one either......i do appreciate the work done on this app a lot.... but to me, it's useless unless usbhost is supported because of tiny menus and buttons not being easily clickable with fingers..... so I want to use my wireless mouse that has a usb receiever......
edit: download finally finished, I tried it out.... I really like it, couple questions.... is it normal for shutdown not to work? I chose to boot and show on local screen instead of vnc..... when I did that, it started fine, I messed around a little, then tried to shutdown... it said shutdown command failed or something similar.... then rebooted android..... and when you choose to boot on local screen, is this kicking android out so it's only linux, kind of like haret and booting android from winmo off sd? And last, is it possible for usbhost?
Edit2: I could barely see the text at the bottom of the hotboot screen that says to use log out feature to return to android... I did that instead of shutdown, there were no errors and it went to my android boot animation, then booted back to android just fine.....
Click to expand...
Click to collapse
HBL actually shuts down all android processes (except init and some critical ones) and then switches to linux. It's normal for shutdown not to work right now, in future it will work but for now use log out to exit from linux. USB Host support for now is not possible without modified kernel, but i'm working on custom kernel with usb-host/normal mode switching.
I must admit i didn't have much time to work on this project so many things can be improved, and i hope in fallowing days/weeks i will have much needed time to work on it. So everything is still a "prototype"!
@alltome
99.99% of custom roms have init.d support, just check if you have init.d directory in /etc.
Hi managed to install HBL but when I try to start linux using local screen the screen just hangs on "loading linux..." for ages. Tried vnc but doesn't work either. it doesn't seem to start shutting down android because if I press hardkey back button the phone is normal.
tried changing "writtable" statuses on the mount screen, but no joy. Is this what you mean by " writable /system/bin folder", or must I use rootexplorer?
Many thanks
u rock
hey dan1j3l HBL works flawlessly
keep on rockin'
Robbie P said:
Hi managed to install HBL but when I try to start linux using local screen the screen just hangs on "loading linux..." for ages. Tried vnc but doesn't work either. it doesn't seem to start shutting down android because if I press hardkey back button the phone is normal.
tried changing "writtable" statuses on the mount screen, but no joy. Is this what you mean by " writable /system/bin folder", or must I use rootexplorer?
Many thanks
Click to expand...
Click to collapse
The same problem for me, stuck at "HTC HD2 ToolBox loading linux.." screen
I'm using MIUI Offician 1.5.20
All those with problems starting HBL can you send me output of these few commands so i can get more info (use adb shell)
busybox ps | grep hbl
busybox mount
busybox ls -la /system/bin/hbl
busybox ls -la /etc/init.d
busybox df -h
Hello dan1j3l First of all I'd like to Thank you for your hard work and this cool app which has great potential...
now that being said, I'm also having some troubles like stated above from other users i managed to install HBL (i think, cause i got the success message when clicking install HBL) but when I try to start linux using local screen, the screen just hangs on "loading/booting linux..."
Below i attached the output from commands on adb shell
Have the info you wanted.
Thanks dan1j3l
Have also added signature below
Robbie P said:
Have also added signature below
Click to expand...
Click to collapse
Hmm... I see you are using sdcard rom, never tested HBL with sdcard roms. It seems i need to make a different installer for sdcard builds... I will try to test it this weekend, then i will know more.
when i try to start hbl my phone vibrates two times and restarts. but it starts already with the bootanimation. then it boots back to android.
i'm using ndt miui. busybox is installed and linux image is in the root of the sdcard in linux folder.
So, I actually own an Atrix 2, but I figured I'd post this here as webtop/linux development is much more active. I've gotten my device set up with a custom linux installation, but it seems the OS could run much faster were it not hampered by the phone running its own OS at the same time. Would it be possible to, say, modify the android boot scripts to launch webtop instead if it detects a dock? Just have the phone with a blank screen fully powering the /osh environment on the lapdock. Once undocked, you'd have to manually reboot so the system could actually boot up android again.
It seems like there's no reason why this shouldn't be possible. Just a simple boot script that uses the phone's ability to detect whether or not it is docked; if it is, boot into webtop, if not, run android. Once, my phone had a forced reboot while I was in webtop mode. However, instead of webtop going down with the phone, I opened the mobile view and actually watched the phone's boot animation and boot process, with webtop still running. Maybe there could be a script that runs android until webtop is fully "hooked", then shuts down android and continues running webtop?
Secondary question, is it possible to upgrade the linux install itself with the sudo dist-upgrade command?
I think it is actually quite possible to do this. The reason I say that is because I have seen the Android component of the phone reboot whilst being docked into the Lapdock. The whole Android environment is then reloaded once again meaning that Ubuntu is running as the host OS.
The challenge is if you can get it to boot directly into the Ubuntu shell primarily as opposed to going directly into Dalvik.
bchliu said:
I think it is actually quite possible to do this. The reason I say that is because I have seen the Android component of the phone reboot whilst being docked into the Lapdock. The whole Android environment is then reloaded once again meaning that Ubuntu is running as the host OS.
The challenge is if you can get it to boot directly into the Ubuntu shell primarily as opposed to going directly into Dalvik.
Click to expand...
Click to collapse
That's exactly what happened to me! Te webtop environment stayed booted, but just ran the boot script again. All you'd have to do would be to edit the android boot script to check if RM_IS_DOCKED, right? Or does the webtop rely on certain android components to run?
Secondary question, if I were to go the route of letting it load android, then webtop, then unload android, how would I send a command to android to shut down without *actually* shutting down?
Sent from my ATRIX 2 using Tapatalk 2
I dont know enough about the technical details of the boot scripts to do this. But just as a observation, it does look plausible from the Dalvik rebooting separate to the Jaunty instance I have running.
I would like to know how to do this as well
Sorry guys, this is technically not possible.
At boot, the Linux kernel starts first. It is a custom kernel with Android patches - that implies, as far as I know, some extra security (only users with uid of 3000something have IP access) and something that breaks udev. The latter thing messing up init scripts of most modern Linux distros.
Then the Dalvik VM is started - which is the one that sucks the RAM.
Then the mountosh command is started, which takes care of mounting the webtop partition.
Then ubuntu.sh is started, which takes care of initializing the webtop environment.
The "docked" event launches a script in /etc/init.d (don't remember the name, probably stg like StartWebtop.sh) which starts the Moto's customized Xorg and some other software for the trackpad.
I think that what you have seen rebooting is probably the Dalvik VM - not sure why, I've seen it too at times.
IMHO webtop is slow because the Linux apps in Ubuntu are memory-hungry and not optimized for ARM.
I think Moto was hoping that HTML5 apps would take off sooner - so to make webtop useful just with the bundled firefox - but that never happened.
In the meanwhile, android tablet apps are getting more and more mature, and they are optimized for lower memory and less CPU than Ubuntu apps (eg Quickoffice vs Libreoffice, maildroid vs thunderbird). Hence Moto killing the webtop the way we know it and replacing it with TabletUI ICS.
Sent from my MB860 using xda premium
Interesting thread. I have always been amazed by the Atrix with webtop (only had it for a few days, until I hard bricked it ).
Actually, from what I was able to see, it was not Android as host OS, then running Ubuntu. It was 1 kernel (the Linux kernel for Android, as we always have on an Android phone), and on top of that kernel, two different OSes: "Android" and "Webtop (ubuntu based)". It was especially visible when running ps from one or the other, you could see there was actually no distinction, no isolation between both. From Android you could see all the webtop processes, and from webtop the android processes as well. It was amazing!
(confirmed in https://books.google.nl/books?id=E9...btop a second OS on same linux kernel&f=false, Figure 6.8)
Technically it 's the once and only time I have seen this happen actually. Never before, and never since.
So, yes, it was very possible to "soft reboot" any of the two OSes and keep the other one running, as long as the kernel was kept running (not rebooting the phone). That would mean restarting the Android zigote or Ubuntu/Webtop init (or whatever was doing that function).
Hi all.
I searched this site for examples of how to create an app that would pause during the boot process and allow the user to interact with the system then continue. I want to modify my custom ROM's normal boot process. If I could get a shell script to display on the console that would be great!
Anyway this is what I want to do...
For example:
- Power on
- Load Kernel
- init -> init.rc -> runs "myApplication"
- Boot process halts and waits for the user to enter some data.
- "myApplication" exits and the boot process continues.
It seems simple but I cant seem to figure out how to create a screen that would display. I tried to read the recovery.c (from the ASOP source code) application for assistance but since I'm not a seasoned C++ programmer its very slow moving. Plus recovery.c is doing too much and I can see/or figure out what I need to do first.
If someone knows of a website or have a sample app I could start from that would be great.
All I need to know how to do is;
Create an app that interacts with the screen during boot phase. I just need an example of how to take over the screen and print simple text to the screen like "Hello World". I want to build something similar to the recovery.c application.
I think I can figure out how to use the buttons later. ( maybe)
I think I may need the following files in the ASOP_SOURCE/bootable/recovery/ directory ; minui/*, screen_ui.c and ui.c
Thanks
C
CooLC1 said:
Hi all.
I searched this site for examples of how to create an app that would pause during the boot process and allow the user to interact with the system then continue. I want to modify my custom ROM's normal boot process. If I could get a shell script to display on the console that would be great!
Anyway this is what I want to do...
For example:
- Power on
- Load Kernel
- init -> init.rc -> runs "myApplication"
- Boot process halts and waits for the user to enter some data.
- "myApplication" exits and the boot process continues.
It seems simple but I cant seem to figure out how to create a screen that would display. I tried to read the recovery.c (from the ASOP source code) application for assistance but since I'm not a seasoned C++ programmer its very slow moving. Plus recovery.c is doing too much and I can see/or figure out what I need to do first.
If someone knows of a website or have a sample app I could start from that would be great.
All I need to know how to do is;
Create an app that interacts with the screen during boot phase. I just need an example of how to take over the screen and print simple text to the screen like "Hello World". I want to build something similar to the recovery.c application.
I think I can figure out how to use the buttons later. ( maybe)
I think I may need the following files in the ASOP_SOURCE/bootable/recovery/ directory ; minui/*, screen_ui.c and ui.c
Thanks
C
Click to expand...
Click to collapse
Man you can ask to Hashcode of Droid Razr forum or Dorimanx on S2 forum, they make similar thing
Sent from my HTC One X using xda app-developers app
I have some customized android TV Boxes. All are rooted running Android 7.1.2 but they are running scripts in termux once they start. I want to cause a 2 Minute wait before GUI launches , or check that at least one file was recently written before allowing the GUI to start. This way I can ensure the data was downloaded. (should have a timeout if there is no internet as well). Either way It needs to allow Termux Boot to run its scripts.
Preferrably I would like to autostart an app too. The app has the ability to autostart at boot but it can not start till termux wites the files it needs.
I thought about doing a 2 minute spalsh screen but sometimes the downloads are done in 1 minute. If I do a splash creen how can I prevent the GUI from loading but allow Termux to start and run the code at boot?
I think termux boot triggers on when the system if fully booted but it will not be fully booted till the GUI launches, right?
I am not opposed to changing the UI as the TV Box UI installed is rather useless for my purposes. When I tried this before however no matter what I did the pre-installed UI always seemed to launch.