• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [Boost Mobile] [TOOL] ABSM 0.80 released

mercury0x000d

The ultra-modern operator
Nov 24, 2011
1,639
1,213
Penn's Woods
www.mercurycoding.com
Hello, all! Once again here's a tool I made which should help simplify adding a custom boot screen to your ROM. ABSM takes either a 24 or 32 bit image in .bmp format as input and creates a logo.bmp file already rotated 180 degrees, color modified and ready to add directly to your ROM using the traditional method with dsixda's Android Kitchen. It's a DOS executable, so if your OS doesn't run these, you can install DOSBox. Think of the process akin to how the Android Kitchen itself doesn't run directly under Windows, but you have to install Cygwin first to give it the expected environment to play in.

My program is available here and, in the true spirit of open source and community coding, the code is available here.

To run the program, all you need to do is type ABSM and the path to the image file you wish to convert at the command line (e.g. ABSM myimage.bmp) and the rest is handled automatically! As always, I'd be glad to hear any suggestions for new features or bugs that need squashing.


Happy modding!


And as always, please remember that even though I've already done a good bit of bug testing, ABSM is provided AS-IS with absolutely NO warranty of any kind, whether expressed or implied.


If you like my work, or if my tool has helped you out, perhaps you'd consider donating to the cause? :)

 
Now here's a question; Can we use any sort of image size? I see that you have the 24/32 bit restriction, I'd assume the largest would be 480x800 per the size of the screen? or does the kitchen resize it automatically?

No, right now the input image has to match the Warp's resolution.

However, I think we have our first new feature suggestion :)
 
Upvote 0
Automatically resizing the image would WARP the picture if it is high res.

See what i did there lol, anywho it would be a good feature for someone who forgot to resize or just wants to see what an image would look like. Myself im old fashion and still resize and convert image color formats by hand. But will try this tool out once my new phone comes, im sure it will prove useful. Do you have the color issues i was having when the image shows on screen? Red is blue pink is red and so forth? almost like the colors flipped from RGB to BGR lol
 
Upvote 0
Automatically resizing the image would WARP the picture if it is high res.

See what i did there lol, anywho it would be a good feature for someone who forgot to resize or just wants to see what an image would look like. Myself im old fashion and still resize and convert image color formats by hand. But will try this tool out once my new phone comes, im sure it will prove useful. Do you have the color issues i was having when the image shows on screen? Red is blue pink is red and so forth? almost like the colors flipped from RGB to BGR lol

Shin, I had no idea you were such a punny guy! *BA DUM TCH!*

How would it distort the image, though? Just out of curiosity, because I've never resized an HD image to that small before. Though I could just try it...but its too early and i haven't had coffee yet....
 
Upvote 0
Automatically resizing the image would WARP the picture if it is high res.

See what i did there lol, anywho it would be a good feature for someone who forgot to resize or just wants to see what an image would look like. Myself im old fashion and still resize and convert image color formats by hand. But will try this tool out once my new phone comes, im sure it will prove useful.

LOL! Yes, it could possibly mess up the image if it's not a proper fit (e.g. not a multiple of its final resolution, looking blocky or pixelated, etc.) but I would have to build a warning into the program which would convey the consequences of using mismatched image sizes and let the user approve of it before just randomly proceeding.

Do you have the color issues i was having when the image shows on screen? Red is blue pink is red and so forth? almost like the colors flipped from RGB to BGR lol

YES I did encounter that issue! After studying the boot image with a test pattern, I noticed that all the reds and blues were swapped, leading me to believe that the image was stored as BGR internally instead of RGB. After extracting the stock boot screen and examining it with a hex editor, I found what you observed to be correct, the image is in fact stored as blue, green, red, alpha. Talk about annoying lol

My entire analysis of the stock boot image is available here for anyone who's interested :)
 
Upvote 0
LOL! Yes, it could possibly mess up the image if it's not a proper fit (e.g. not a multiple of its final resolution, looking blocky or pixelated, etc.) but I would have to build a warning into the program which would convey the consequences of using mismatched image sizes and let the user approve of it before just randomly proceeding.



YES I did encounter that issue! After studying the boot image with a test pattern, I noticed that all the reds and blues were swapped, leading me to believe that the image was stored as BGR internally instead of RGB. After extracting the stock boot screen and examining it with a hex editor, I found what you observed to be correct, the image is in fact stored as blue, green, red, alpha. Talk about annoying lol

My entire analysis of the stock boot image is available here for anyone who's interested :)

Ha, that explains why my red img is blue lol
 
Upvote 0
Ha, that explains why my red img is blue lol

You know, when I first used his ROM I always wondered where Shinru got that cool blue Snapdragon logo when all the ones I found on the web were red. It took me awhile to figure out that that color wasn't by design... it was just a side-effect :p
 
Upvote 0
I figured it out and pushed it til I got the blue I wanted. Unfortunately the Linux machine is in the shop, I'll have give your tool a try on my other laptop and pack it up with my next build once the other is fixed

Let me know how it works for you! I'm eager for it to get some "real world" testing :)
 
Upvote 0
And as good as those finds are, wait until you see what I have planned for the tool's next release. I've been playing around with inserting a picture directly into boot.img without even needing dsixda's kitchen at all :D

Update: sadly, after a little research and some testing, it looks like this feature won't be possible after all, at least not easily. Inside boot.img lies all kinds of compression, which would be wise to not fool around with.

Linux, I am disappoint. Y U no waste RAM like every other OS?! lol
 
Upvote 0
Talk about a pain. Trying to get my bcm4313 working in arch. No fun...

But at least with the super compressed boot image and Linux we can have lots of fun with new ROMs. Unlike my blackberry days.

The closest thing to a custom rom with blackberries are hybrid os's... all they could do is Frankenstein apps and system files together from the other os versions.... I tried one before I got my warp and it was crap... no customizability what so ever

Sent from my N860 using Tapatalk 2 Beta-5
 
Upvote 0
Talk about a pain. Trying to get my bcm4313 working in arch. No fun...

But at least with the super compressed boot image and Linux we can have lots of fun with new ROMs. Unlike my blackberry days.

Always a barrel of fun trying to get hardware to work in an environment it which it wasn't designed for, isn't it? lol But yeah, at least in this case there's the awesomeness of custom ROMs to soften the blow :)
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones