Go Back   Android Forums > Android Phones > ZTE Warp (N860) > (Boost Mobile) Warp - All Things Root

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

View Poll Results: What image format would you most like to see supported in the next release of ABSM?
8 bit BMP 1 14.29%
16 bit BMP 1 14.29%
PNG 5 71.43%
GIF 1 14.29%
JPEG 2 28.57%
Multiple Choice Poll. Voters: 7. You may not vote on this poll

Like Tree12Likes

test: Reply
 
LinkBack Thread Tools
Old August 2nd, 2012, 04:21 PM   #1 (permalink)
Digital Packrat
Thread Author (OP)
 
mercury0x000d's Avatar
 
Join Date: Nov 2011
Location: Penn's Woods
Gender: Male
Posts: 1,641
 
Device(s): rooted Motorola I1 (retired), rooted ZTE Warp running Warp OEM 2.70
Carrier: Boost Mobile

Thanks: 913
Thanked 1,226 Times in 743 Posts
Default [TOOL] ABSM 0.80 released

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?

BLVCKHVLO likes this.

__________________
The name's Thirteen. Mercury Thirteen.
My Android work: ABSM, PRL compilation, Mercury Sound Packs, PowerNap, Warp OEM ROM
mercury0x000d is offline  
Last edited by mercury0x000d; July 7th, 2013 at 01:02 PM.
Reply With Quote
The Following 4 Users Say Thank You to mercury0x000d For This Useful Post:
aaanadie (April 24th, 2013), alsaces daddy (August 2nd, 2012), BLVCKHVLO (April 24th, 2013), klownprince420 (May 24th, 2013)
sponsored links
Old August 2nd, 2012, 04:26 PM   #2 (permalink)
Digital Packrat
Thread Author (OP)
 
mercury0x000d's Avatar
 
Join Date: Nov 2011
Location: Penn's Woods
Gender: Male
Posts: 1,641
 
Device(s): rooted Motorola I1 (retired), rooted ZTE Warp running Warp OEM 2.70
Carrier: Boost Mobile

Thanks: 913
Thanked 1,226 Times in 743 Posts
Default

The first comment on my own thread... how sad is that?

So anyway, in the next version, I'm thinking of adding support for 8 bit and 16 bit bitmaps. Maybe even GIFs and PNGs and JPEGs in future releases. Let me know what you'd like to see next, guys, and we'll see where things go.
mercury0x000d is offline  
Last edited by mercury0x000d; August 2nd, 2012 at 04:29 PM.
Reply With Quote
Old August 2nd, 2012, 04:53 PM   #3 (permalink)
Developer Incognito
 
downthemachine's Avatar
 
Join Date: Dec 2011
Location: MinneSnowta
Posts: 2,939
 
Device(s): ZTE Warp (Sugar Kang), Samsung Prevail, HTC Evo Design, LG Optimus Elite, OG Droid
Carrier: Boost Mobile

Thanks: 1,393
Thanked 1,731 Times in 876 Posts
Default

Linux script! Lol. Maybe I'll see what I can get to happen in Linux, I can change the color of the stock one, but haven't been able to figure out how to save a different pic correctly in gimp.
downthemachine is online now  
Reply With Quote
Old August 2nd, 2012, 05:01 PM   #4 (permalink)
Resident Linux Nutcase
 
Prinny's Avatar
 
Join Date: Apr 2012
Location: Greenville, SC
Gender: Male
Posts: 3,479
 
Device(s): Samsung Galaxy Note LTE
Carrier: T-Mobile

Thanks: 653
Thanked 1,037 Times in 721 Posts
Default

GIMP is awesome. I'll need to try this program out sometime. Just because the stock android one is kinda boring.
Prinny is offline  
Reply With Quote
Old August 2nd, 2012, 05:21 PM   #5 (permalink)
Digital Packrat
Thread Author (OP)
 
mercury0x000d's Avatar
 
Join Date: Nov 2011
Location: Penn's Woods
Gender: Male
Posts: 1,641
 
Device(s): rooted Motorola I1 (retired), rooted ZTE Warp running Warp OEM 2.70
Carrier: Boost Mobile

Thanks: 913
Thanked 1,226 Times in 743 Posts
Default

Quote:
Originally Posted by Prinny View Post
GIMP is awesome. I'll need to try this program out sometime. Just because the stock android one is kinda boring.
Let me know how it works for you! I tested it on my Warp, but that doesn't guarantee it'll work on everybody's. I need all the feedback I can get!
mercury0x000d is offline  
Reply With Quote
Old August 2nd, 2012, 05:28 PM   #6 (permalink)
Resident Linux Nutcase
 
Prinny's Avatar
 
Join Date: Apr 2012
Location: Greenville, SC
Gender: Male
Posts: 3,479
 
Device(s): Samsung Galaxy Note LTE
Carrier: T-Mobile

Thanks: 653
Thanked 1,037 Times in 721 Posts
Default

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?
Prinny is offline  
Reply With Quote
Old August 2nd, 2012, 06:35 PM   #7 (permalink)
Digital Packrat
Thread Author (OP)
 
mercury0x000d's Avatar
 
Join Date: Nov 2011
Location: Penn's Woods
Gender: Male
Posts: 1,641
 
Device(s): rooted Motorola I1 (retired), rooted ZTE Warp running Warp OEM 2.70
Carrier: Boost Mobile

Thanks: 913
Thanked 1,226 Times in 743 Posts
Default

Quote:
Originally Posted by Prinny View Post
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
mercury0x000d is offline  
Reply With Quote
Old August 2nd, 2012, 06:53 PM   #8 (permalink)
Resident Linux Nutcase
 
Prinny's Avatar
 
Join Date: Apr 2012
Location: Greenville, SC
Gender: Male
Posts: 3,479
 
Device(s): Samsung Galaxy Note LTE
Carrier: T-Mobile

Thanks: 653
Thanked 1,037 Times in 721 Posts
Default

I'm so smart I kind of figured it had to match the native resolution. I figured it couldn't hurt to ask though
Prinny is offline  
Reply With Quote
Old August 2nd, 2012, 07:21 PM   #9 (permalink)
Digital Packrat
Thread Author (OP)
 
mercury0x000d's Avatar
 
Join Date: Nov 2011
Location: Penn's Woods
Gender: Male
Posts: 1,641
 
Device(s): rooted Motorola I1 (retired), rooted ZTE Warp running Warp OEM 2.70
Carrier: Boost Mobile

Thanks: 913
Thanked 1,226 Times in 743 Posts
Default

Quote:
Originally Posted by Prinny View Post
I'm so smart I kind of figured it had to match the native resolution. I figured it couldn't hurt to ask though
Correct you are, sir! If you attempt to use a different size image, ABSM warns you about it. I'll have to add code next to ask if resizing would be appropriate.
mercury0x000d is offline  
Last edited by mercury0x000d; August 3rd, 2012 at 02:49 AM.
Reply With Quote
Old August 3rd, 2012, 05:32 AM   #10 (permalink)
ROM Developer
 
shinru2004's Avatar
 
Join Date: Nov 2011
Location: Louisville
Posts: 1,725
 
Device(s): Warp Sequent: Awesome Android RC-1
Carrier: Boost Mobile

Thanks: 183
Thanked 1,508 Times in 681 Posts
Default

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
mercury0x000d likes this.
__________________
If you have a question please check the All things root Guide before asking something silly.

If you enjoy my work or just wanna say thank you hit thanks in my OP's
shinru2004 is offline  
Reply With Quote
sponsored links
Old August 3rd, 2012, 06:16 AM   #11 (permalink)
Resident Linux Nutcase
 
Prinny's Avatar
 
Join Date: Apr 2012
Location: Greenville, SC
Gender: Male
Posts: 3,479
 
Device(s): Samsung Galaxy Note LTE
Carrier: T-Mobile

Thanks: 653
Thanked 1,037 Times in 721 Posts
Default

Quote:
Originally Posted by shinru2004 View Post
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....
Prinny is offline  
Reply With Quote
Old August 3rd, 2012, 11:01 AM   #12 (permalink)
Digital Packrat
Thread Author (OP)
 
mercury0x000d's Avatar
 
Join Date: Nov 2011
Location: Penn's Woods
Gender: Male
Posts: 1,641
 
Device(s): rooted Motorola I1 (retired), rooted ZTE Warp running Warp OEM 2.70
Carrier: Boost Mobile

Thanks: 913
Thanked 1,226 Times in 743 Posts
Default

Quote:
Originally Posted by shinru2004 View Post
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.

Quote:
Originally Posted by shinru2004 View Post
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
mercury0x000d is offline  
Reply With Quote
Old August 3rd, 2012, 12:07 PM   #13 (permalink)
Resident Linux Nutcase
 
Prinny's Avatar
 
Join Date: Apr 2012
Location: Greenville, SC
Gender: Male
Posts: 3,479
 
Device(s): Samsung Galaxy Note LTE
Carrier: T-Mobile

Thanks: 653
Thanked 1,037 Times in 721 Posts
Default

Ohh, good finds! I still haven't tested this yet...I'm kind of lazy =__=;; Well, that, and I'm going to be reformatting my PC soon to try windows 8, because why not?
Prinny is offline  
Reply With Quote
Old August 3rd, 2012, 02:08 PM   #14 (permalink)
Digital Packrat
Thread Author (OP)
 
mercury0x000d's Avatar
 
Join Date: Nov 2011
Location: Penn's Woods
Gender: Male
Posts: 1,641
 
Device(s): rooted Motorola I1 (retired), rooted ZTE Warp running Warp OEM 2.70
Carrier: Boost Mobile

Thanks: 913
Thanked 1,226 Times in 743 Posts
Default

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
mercury0x000d is offline  
Last edited by mercury0x000d; August 3rd, 2012 at 02:10 PM.
Reply With Quote
Old August 3rd, 2012, 02:58 PM   #15 (permalink)
Developer Incognito
 
downthemachine's Avatar
 
Join Date: Dec 2011
Location: MinneSnowta
Posts: 2,939
 
Device(s): ZTE Warp (Sugar Kang), Samsung Prevail, HTC Evo Design, LG Optimus Elite, OG Droid
Carrier: Boost Mobile

Thanks: 1,393
Thanked 1,731 Times in 876 Posts
Default

Quote:
Originally Posted by mercury0x000d View Post
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
downthemachine is online now  
Reply With Quote
Old August 3rd, 2012, 03:50 PM   #16 (permalink)
Digital Packrat
Thread Author (OP)
 
mercury0x000d's Avatar
 
Join Date: Nov 2011
Location: Penn's Woods
Gender: Male
Posts: 1,641
 
Device(s): rooted Motorola I1 (retired), rooted ZTE Warp running Warp OEM 2.70
Carrier: Boost Mobile

Thanks: 913
Thanked 1,226 Times in 743 Posts
Default

Quote:
Originally Posted by downthemachine View Post
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
mercury0x000d is offline  
Reply With Quote
Old August 3rd, 2012, 04:07 PM   #17 (permalink)
Developer Incognito
 
downthemachine's Avatar
 
Join Date: Dec 2011
Location: MinneSnowta
Posts: 2,939
 
Device(s): ZTE Warp (Sugar Kang), Samsung Prevail, HTC Evo Design, LG Optimus Elite, OG Droid
Carrier: Boost Mobile

Thanks: 1,393
Thanked 1,731 Times in 876 Posts
Default

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
downthemachine is online now  
Reply With Quote
Old August 3rd, 2012, 04:15 PM   #18 (permalink)
Digital Packrat
Thread Author (OP)
 
mercury0x000d's Avatar
 
Join Date: Nov 2011
Location: Penn's Woods
Gender: Male
Posts: 1,641
 
Device(s): rooted Motorola I1 (retired), rooted ZTE Warp running Warp OEM 2.70
Carrier: Boost Mobile

Thanks: 913
Thanked 1,226 Times in 743 Posts
Default

Quote:
Originally Posted by downthemachine View Post
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
mercury0x000d is offline  
Reply With Quote
Old August 4th, 2012, 08:43 AM   #19 (permalink)
Digital Packrat
Thread Author (OP)
 
mercury0x000d's Avatar
 
Join Date: Nov 2011
Location: Penn's Woods
Gender: Male
Posts: 1,641
 
Device(s): rooted Motorola I1 (retired), rooted ZTE Warp running Warp OEM 2.70
Carrier: Boost Mobile

Thanks: 913
Thanked 1,226 Times in 743 Posts
Default

Quote:
Originally Posted by mercury0x000d View Post
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
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
mercury0x000d is offline  
Reply With Quote
Old August 4th, 2012, 08:46 AM   #20 (permalink)
Resident Linux Nutcase
 
Prinny's Avatar
 
Join Date: Apr 2012
Location: Greenville, SC
Gender: Male
Posts: 3,479
 
Device(s): Samsung Galaxy Note LTE
Carrier: T-Mobile

Thanks: 653
Thanked 1,037 Times in 721 Posts
Default

God Linux you make life so hard D:
Prinny is offline  
Reply With Quote
sponsored links
Old August 4th, 2012, 08:50 AM   #21 (permalink)
Digital Packrat
Thread Author (OP)
 
mercury0x000d's Avatar
 
Join Date: Nov 2011
Location: Penn's Woods
Gender: Male
Posts: 1,641
 
Device(s): rooted Motorola I1 (retired), rooted ZTE Warp running Warp OEM 2.70
Carrier: Boost Mobile

Thanks: 913
Thanked 1,226 Times in 743 Posts
Default

Quote:
Originally Posted by Prinny View Post
God Linux you make life so hard D:
I know, right? Why couldn't it use a regular simple old uncompressed boot image like any normal platform? Then we could have more fun
mercury0x000d is offline  
Reply With Quote
Old August 4th, 2012, 08:52 AM   #22 (permalink)
Resident Linux Nutcase
 
Prinny's Avatar
 
Join Date: Apr 2012
Location: Greenville, SC
Gender: Male
Posts: 3,479
 
Device(s): Samsung Galaxy Note LTE
Carrier: T-Mobile

Thanks: 653
Thanked 1,037 Times in 721 Posts
Default

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.
Prinny is offline  
Reply With Quote
Old August 4th, 2012, 08:57 AM   #23 (permalink)
ROM Developer
 
jetx2x's Avatar
 
Join Date: Mar 2012
Location: Charlotte, NC
Gender: Male
Posts: 1,710
 
Device(s): ZTE Warp (cm10, Sugar Kang) Lg Optimus Elite (cm9) Lg Spectrum (cm10.1) Samsung Galaxy SIII (Spri
Carrier: Sprint

Thanks: 238
Thanked 791 Times in 430 Posts
Default

Quote:
Originally Posted by Prinny View Post
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
__________________
My Github- Jetx2x
Team Github- OSIRIS
jetx2x is online now  
Reply With Quote
Old August 4th, 2012, 08:58 AM   #24 (permalink)
Digital Packrat
Thread Author (OP)
 
mercury0x000d's Avatar
 
Join Date: Nov 2011
Location: Penn's Woods
Gender: Male
Posts: 1,641
 
Device(s): rooted Motorola I1 (retired), rooted ZTE Warp running Warp OEM 2.70
Carrier: Boost Mobile

Thanks: 913
Thanked 1,226 Times in 743 Posts
Default

Quote:
Originally Posted by Prinny View Post
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
mercury0x000d is offline  
Reply With Quote
Old August 6th, 2012, 08:39 PM   #25 (permalink)
Developer Incognito
 
downthemachine's Avatar
 
Join Date: Dec 2011
Location: MinneSnowta
Posts: 2,939
 
Device(s): ZTE Warp (Sugar Kang), Samsung Prevail, HTC Evo Design, LG Optimus Elite, OG Droid
Carrier: Boost Mobile

Thanks: 1,393
Thanked 1,731 Times in 876 Posts
Default

OK, so it works but the color is no where near close. 24bit bmp
downthemachine is online now  
Last edited by downthemachine; August 6th, 2012 at 10:30 PM.
Reply With Quote
Old August 7th, 2012, 08:41 AM   #26 (permalink)
Digital Packrat
Thread Author (OP)
 
mercury0x000d's Avatar
 
Join Date: Nov 2011
Location: Penn's Woods
Gender: Male
Posts: 1,641
 
Device(s): rooted Motorola I1 (retired), rooted ZTE Warp running Warp OEM 2.70
Carrier: Boost Mobile

Thanks: 913
Thanked 1,226 Times in 743 Posts
Default

Quote:
Originally Posted by downthemachine View Post
OK, so it works but the color is no where near close. 24bit bmp
Could you link your source image and your output image? Also, the exact steps you took.
mercury0x000d is offline  
Reply With Quote
Old August 7th, 2012, 08:44 AM   #27 (permalink)
Resident Linux Nutcase
 
Prinny's Avatar
 
Join Date: Apr 2012
Location: Greenville, SC
Gender: Male
Posts: 3,479
 
Device(s): Samsung Galaxy Note LTE
Carrier: T-Mobile

Thanks: 653
Thanked 1,037 Times in 721 Posts
Default

Quote:
Originally Posted by jetx2x View Post
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


Yeahhh my 8330 was running a hybrid OS5. I miss the keyboard on that thing. I could send responses DAMN fast. I swear if android and BB teamed up for enterprise phones...God damn. I would buy one in a heartbeat.
Prinny is offline  
Reply With Quote
Old August 7th, 2012, 08:55 AM   #28 (permalink)
Developer Incognito
 
downthemachine's Avatar
 
Join Date: Dec 2011
Location: MinneSnowta
Posts: 2,939
 
Device(s): ZTE Warp (Sugar Kang), Samsung Prevail, HTC Evo Design, LG Optimus Elite, OG Droid
Carrier: Boost Mobile

Thanks: 1,393
Thanked 1,731 Times in 876 Posts
Default

Quote:
Originally Posted by mercury0x000d View Post
Could you link your source image and your output image? Also, the exact steps you took.
I will tonight, my laptop is at home and I'm at work
downthemachine is online now  
Reply With Quote
The Following User Says Thank You to downthemachine For This Useful Post:
mercury0x000d (August 7th, 2012)
Old August 8th, 2012, 08:23 PM   #29 (permalink)
Digital Packrat
Thread Author (OP)
 
mercury0x000d's Avatar
 
Join Date: Nov 2011
Location: Penn's Woods
Gender: Male
Posts: 1,641
 
Device(s): rooted Motorola I1 (retired), rooted ZTE Warp running Warp OEM 2.70
Carrier: Boost Mobile

Thanks: 913
Thanked 1,226 Times in 743 Posts
Default

Quote:
Originally Posted by downthemachine View Post
OK, so it works but the color is no where near close. 24bit bmp
I just happened to think... are you saying that based on the finished image as it appears while booting your ROM, or based on the output file itself as it appears in an image editor on your PC?

If it's the former, we have a problem, Houston.

If it's the latter, then that's totally normal. The colors are output in a manner which will appear screwy to a PC image editor, but will show normally when displayed by the Android's system boot code.
mercury0x000d is offline  
Reply With Quote
Old August 8th, 2012, 08:35 PM   #30 (permalink)
Developer Incognito
 
downthemachine's Avatar
 
Join Date: Dec 2011
Location: MinneSnowta
Posts: 2,939
 
Device(s): ZTE Warp (Sugar Kang), Samsung Prevail, HTC Evo Design, LG Optimus Elite, OG Droid
Carrier: Boost Mobile

Thanks: 1,393
Thanked 1,731 Times in 876 Posts
Default

While in boot. 32bit worked perfectly. I understand how the color changes. I wonder, is the stock one so neutral that it doesn't look too much different?
downthemachine is online now  
Reply With Quote
sponsored links
Old August 8th, 2012, 09:30 PM   #31 (permalink)
Digital Packrat
Thread Author (OP)
 
mercury0x000d's Avatar
 
Join Date: Nov 2011
Location: Penn's Woods
Gender: Male
Posts: 1,641
 
Device(s): rooted Motorola I1 (retired), rooted ZTE Warp running Warp OEM 2.70
Carrier: Boost Mobile

Thanks: 913
Thanked 1,226 Times in 743 Posts
Default

Quote:
Originally Posted by downthemachine View Post
While in boot. 32bit worked perfectly. I understand how the color changes. I wonder, is the stock one so neutral that it doesn't look too much different?
It's not too drastic, but the stock image does have a blue cast to it when viewed in a regular image editor.
mercury0x000d is offline  
Reply With Quote
Old August 8th, 2012, 09:37 PM   #32 (permalink)
Developer Incognito
 
downthemachine's Avatar
 
Join Date: Dec 2011
Location: MinneSnowta
Posts: 2,939
 
Device(s): ZTE Warp (Sugar Kang), Samsung Prevail, HTC Evo Design, LG Optimus Elite, OG Droid
Carrier: Boost Mobile

Thanks: 1,393
Thanked 1,731 Times in 876 Posts
Default

Well it works! Props to you
mercury0x000d likes this.
downthemachine is online now  
Reply With Quote
The Following User Says Thank You to downthemachine For This Useful Post:
mercury0x000d (July 15th, 2013)
Old August 8th, 2012, 09:46 PM   #33 (permalink)
Digital Packrat
Thread Author (OP)
 
mercury0x000d's Avatar
 
Join Date: Nov 2011
Location: Penn's Woods
Gender: Male
Posts: 1,641
 
Device(s): rooted Motorola I1 (retired), rooted ZTE Warp running Warp OEM 2.70
Carrier: Boost Mobile

Thanks: 913
Thanked 1,226 Times in 743 Posts
Default

Quote:
Originally Posted by downthemachine View Post
Well it works! Props to you
Just to test, I just tried both a 24 and 32 bit image and got accurate results.

Just to make sure, you're saying both formats worked well for you now?
mercury0x000d is offline  
Reply With Quote
Old August 8th, 2012, 09:55 PM   #34 (permalink)
Developer Incognito
 
downthemachine's Avatar
 
Join Date: Dec 2011
Location: MinneSnowta
Posts: 2,939
 
Device(s): ZTE Warp (Sugar Kang), Samsung Prevail, HTC Evo Design, LG Optimus Elite, OG Droid
Carrier: Boost Mobile

Thanks: 1,393
Thanked 1,731 Times in 876 Posts
Default

No just 32bit, I'll play with it more tomorrow to see if I can get different results. Now, here's the thing, jet sent me the images, first one I converted, that didn't work. The he converted it to 32bit and used your tool and it worked. I packed my kernel and tested OK. I'll run my own tests of 24bit and 32bit. Maybe its my machine? Any requirements I missed?
downthemachine is online now  
Reply With Quote
Old August 8th, 2012, 10:11 PM   #35 (permalink)
Digital Packrat
Thread Author (OP)
 
mercury0x000d's Avatar
 
Join Date: Nov 2011
Location: Penn's Woods
Gender: Male
Posts: 1,641
 
Device(s): rooted Motorola I1 (retired), rooted ZTE Warp running Warp OEM 2.70
Carrier: Boost Mobile

Thanks: 913
Thanked 1,226 Times in 743 Posts
Default

Quote:
Originally Posted by downthemachine View Post
No just 32bit, I'll play with it more tomorrow to see if I can get different results. Now, here's the thing, jet sent me the images, first one I converted, that didn't work. The he converted it to 32bit and used your tool and it worked. I packed my kernel and tested OK. I'll run my own tests of 24bit and 32bit. Maybe its my machine? Any requirements I missed?
The complete list of checks ABSM does on the input image are:

-cannot be named 'logo.bmp'
-must be in BMP format
-must not be a compressed BMP
-must be 480 pixels wide
-must be 800 pixels high
-must be at 24 or 32 bit depth

...however, if any of this is not met, the program should be throwing an error message, not continuing merrily along its way and converting incorrectly. Could you perhaps link me the two files so that I can try them on my machine and see what results I get?
mercury0x000d is offline  
Reply With Quote
Old August 9th, 2012, 12:36 AM   #36 (permalink)
Developer Incognito
 
downthemachine's Avatar
 
Join Date: Dec 2011
Location: MinneSnowta
Posts: 2,939
 
Device(s): ZTE Warp (Sugar Kang), Samsung Prevail, HTC Evo Design, LG Optimus Elite, OG Droid
Carrier: Boost Mobile

Thanks: 1,393
Thanked 1,731 Times in 876 Posts
Default

Sorry started playing video games lol, I'll pm you
mercury0x000d likes this.
downthemachine is online now  
Reply With Quote
Old August 10th, 2012, 09:02 PM   #37 (permalink)
Digital Packrat
Thread Author (OP)
 
mercury0x000d's Avatar
 
Join Date: Nov 2011
Location: Penn's Woods
Gender: Male
Posts: 1,641
 
Device(s): rooted Motorola I1 (retired), rooted ZTE Warp running Warp OEM 2.70
Carrier: Boost Mobile

Thanks: 913
Thanked 1,226 Times in 743 Posts
Default

One other thing I should probably mention, guys. If you process an image with my tool, and then run the freshly-generated logo.bmp back through ABSM once more, the effect should be reversed and you'll have your original image once again.

Oh, and something else I found. ABSM does not yet save the filename in lowercase, you must do this manually. For some reason, loading an uppercase filename into the image will cause Android not to see it and you'll get a screwy (yet oddly fascinating ) look at some random memory location inside the device's memory.
bebeloin likes this.
mercury0x000d is offline  
Last edited by mercury0x000d; August 12th, 2012 at 07:42 PM.
Reply With Quote
Old October 7th, 2012, 05:56 PM   #38 (permalink)
Developer Incognito
 
downthemachine's Avatar
 
Join Date: Dec 2011
Location: MinneSnowta
Posts: 2,939
 
Device(s): ZTE Warp (Sugar Kang), Samsung Prevail, HTC Evo Design, LG Optimus Elite, OG Droid
Carrier: Boost Mobile

Thanks: 1,393
Thanked 1,731 Times in 876 Posts
Default

Bump for another user
downthemachine is online now  
Reply With Quote
The Following User Says Thank You to downthemachine For This Useful Post:
mercury0x000d (October 8th, 2012)
Old April 24th, 2013, 04:09 AM   #39 (permalink)
Member
 
BLVCKHVLO's Avatar
 
Join Date: Dec 2012
Location: Denver
Posts: 363
 
Device(s): ZTE warp Cyanoid 4
Carrier: Boost

Thanks: 177
Thanked 238 Times in 145 Posts
Default

why is this not working for me? I type "ABSM C:/logo.bmp"- says there is no image. I tried it without the c path, I tried it lower case c etc.

edit- so I ran it without the ABSM command and it converts, but I can't tell what it did. Did it replace the origional file in it's place? Edit it? Make another copy somewhere else?

Sorry if I sound dense, but it's not very clear what is happening because it does whatever and then shuts down. I would suggest letting it stay open or give some kind of verification (unless I'm doing it wrong), or outline it. As is, the way it is explained, I open the exe and run the command verbatim as outlined and it does not do what I'm sure you intended it to. Not trying to be contrary, just suggesting, and If this is user error my bad.
BLVCKHVLO is offline  
Last edited by BLVCKHVLO; April 24th, 2013 at 04:18 AM.
Reply With Quote
Old April 24th, 2013, 08:47 AM   #40 (permalink)
Digital Packrat
Thread Author (OP)
 
mercury0x000d's Avatar
 
Join Date: Nov 2011
Location: Penn's Woods
Gender: Male
Posts: 1,641
 
Device(s): rooted Motorola I1 (retired), rooted ZTE Warp running Warp OEM 2.70
Carrier: Boost Mobile

Thanks: 913
Thanked 1,226 Times in 743 Posts
Default

Quote:
Originally Posted by BLVCKHVLO View Post
why is this not working for me? I type "ABSM C:/logo.bmp"- says there is no image. I tried it without the c path, I tried it lower case c etc.

edit- so I ran it without the ABSM command and it converts, but I can't tell what it did. Did it replace the origional file in it's place? Edit it? Make another copy somewhere else?

Sorry if I sound dense, but it's not very clear what is happening because it does whatever and then shuts down. I would suggest letting it stay open or give some kind of verification (unless I'm doing it wrong), or outline it. As is, the way it is explained, I open the exe and run the command verbatim as outlined and it does not do what I'm sure you intended it to. Not trying to be contrary, just suggesting, and If this is user error my bad.
Hey, no problem! I admit, this was never one of my more polished tools... I threw it together in like one day lol

First off, what OS are you running?
mercury0x000d is offline  
Reply With Quote
The Following User Says Thank You to mercury0x000d For This Useful Post:
BLVCKHVLO (April 24th, 2013)
sponsored links
Old April 24th, 2013, 01:53 PM   #41 (permalink)
Member
 
BLVCKHVLO's Avatar
 
Join Date: Dec 2012
Location: Denver
Posts: 363
 
Device(s): ZTE warp Cyanoid 4
Carrier: Boost

Thanks: 177
Thanked 238 Times in 145 Posts
Default

Quote:
Originally Posted by mercury0x000d View Post
Hey, no problem! I admit, this was never one of my more polished tools... I threw it together in like one day lol

First off, what OS are you running?
Windows xp sp3.

Digression to unrelated topic:
Man. I gotta say. Android kitchen is a little bit of a pain in the butt as well. Mkbootfs does not want to compile (repack boot. Img). It gives no error log so I don't know what's wrong. I'm assuming because our device isn't directly supported. So I am manually editing the Arthur file by adding boot points from recovery. Img I hope this works. All I'm trying to do is unsecured the img and replace the logo bmp. It doesn't want to build though. Kitchen has proven so far to be more cumbersome than anything else. Using cygwin on xp all libraries have been updated since the last time I used it to compensate kitchen. I have a feeling. should just install ubuntu or similar and skip kitchen so I can really understand exactly what is going on.

Do you have a template for our device? or are you just using the default arthur file from edify_defs ?
BLVCKHVLO is offline  
Last edited by BLVCKHVLO; April 24th, 2013 at 02:25 PM.
Reply With Quote
Old April 24th, 2013, 02:32 PM   #42 (permalink)
Digital Packrat
Thread Author (OP)
 
mercury0x000d's Avatar
 
Join Date: Nov 2011
Location: Penn's Woods
Gender: Male
Posts: 1,641
 
Device(s): rooted Motorola I1 (retired), rooted ZTE Warp running Warp OEM 2.70
Carrier: Boost Mobile

Thanks: 913
Thanked 1,226 Times in 743 Posts
Default

Quote:
Originally Posted by BLVCKHVLO View Post
Windows xp sp3.

Digression to unrelated topic:
Man. I gotta say. Android kitchen is a little bit of a pain in the butt as well. Mkbootfs does not want to compile (repack boot. Img). It gives no error log so I don't know what's wrong. I'm assuming because our device isn't directly supported. So I am manually editing the Arthur file by adding boot points from recovery. Img I hope this works. All I'm trying to do is unsecured the img and replace the logo bmp. It doesn't want to build though. Kitchen has proven so far to be more cumbersome than anything else. Using cygwin on xp all libraries have been updated since the last time I used it to compensate kitchen. I have a feeling. should just install ubuntu or similar and skip kitchen so I can really understand exactly what is going on.
Okay, if you're using XP my tool should run in the command prompt just fine - I tested it on XP SP2 with no issues. The easiest way to use it is to make a folder in windows on your C: drive called "new" and put the image you want to use (for the sake of example, we'll call it pic.bmp) and ABSM both in it. Then go to command prompt (which should automatically come up to some place on C: already but I forget where) and type "CD c:\new" without the quotes. Next, type "absm pic.bmp" and the tool should go to work. When it exits, you should have an additional file in the "new" folder called "logo.bmp." It will most likely come out in uppercase, so rename it in lowercase (so as to conform to the expectations of Android and/or the kitchen) and then move it to the appropriate place in the "BOOT-EXTRACTED" folder made by the kitchen, overwriting the old one.

That should do it!




And so far as the kitchen... yeah, it never really did support the Warp to my knowledge, but it should repack the boot image just fine, even running on Windows 7. I always got in the habit of doing my rooting, kernel swapping and boot logo switching right in the beginning of making the ROM to avoid complicating the kitchen's job any lol The only point where the kitchen's lack of Warp support really shows is when you're building and it prompts you to review the updater-script and such. If you don't swap in your own binary and script at that point, the ROM will have installation problems. Other than that, I haven't had too many problems with it so far.
Hope that helps :-)
mercury0x000d is offline  
Last edited by mercury0x000d; April 24th, 2013 at 02:40 PM.
Reply With Quote
Old April 24th, 2013, 02:59 PM   #43 (permalink)
Member
 
BLVCKHVLO's Avatar
 
Join Date: Dec 2012
Location: Denver
Posts: 363
 
Device(s): ZTE warp Cyanoid 4
Carrier: Boost

Thanks: 177
Thanked 238 Times in 145 Posts
Default

Quote:
Originally Posted by mercury0x000d View Post
Okay, if you're using XP my tool should run in the command prompt just fine - I tested it on XP SP2 with no issues. The easiest way to use it is to make a folder in windows on your C: drive called "new" and put the image you want to use (for the sake of example, we'll call it pic.bmp) and ABSM both in it. Then go to command prompt (which should automatically come up to some place on C: already but I forget where) and type "CD c:\new" without the quotes. Next, type "absm pic.bmp" and the tool should go to work. When it exits, you should have an additional file in the "new" folder called "logo.bmp." It will most likely come out in uppercase, so rename it in lowercase (so as to conform to the expectations of Android and/or the kitchen) and then move it to the appropriate place in the "BOOT-EXTRACTED" folder made by the kitchen, overwriting the old one.

That should do it!




And so far as the kitchen... yeah, it never really did support the Warp to my knowledge, but it should repack the boot image just fine, even running on Windows 7. I always got in the habit of doing my rooting, kernel swapping and boot logo switching right in the beginning of making the ROM to avoid complicating the kitchen's job any lol The only point where the kitchen's lack of Warp support really shows is when you're building and it prompts you to review the updater-script and such. If you don't swap in your own binary and script at that point, the ROM will have installation problems. Other than that, I haven't had too many problems with it so far.
Hope that helps :-)
THANKS! lol few last questions- I was editing my comment while you typed this:

Are you using the default arthur file in edify_defs or did you make/edit one to work with the warp?

As far as binary and script: where do I find the ones that came in the rom I basing mine from so as to edit and replace when I build? Edit... found binaries and script. I have a bad shotgun and flashlight approach to some of this stuff. The kitchen told me where it was if I had been paying attention

And I am using notepad++ to edit rc files and such- this should be fine right? It's worked for everything else so far.
BLVCKHVLO is offline  
Last edited by BLVCKHVLO; April 24th, 2013 at 05:58 PM.
Reply With Quote
Old April 24th, 2013, 09:27 PM   #44 (permalink)
Digital Packrat
Thread Author (OP)
 
mercury0x000d's Avatar
 
Join Date: Nov 2011
Location: Penn's Woods
Gender: Male
Posts: 1,641
 
Device(s): rooted Motorola I1 (retired), rooted ZTE Warp running Warp OEM 2.70
Carrier: Boost Mobile

Thanks: 913
Thanked 1,226 Times in 743 Posts
Default

Quote:
Originally Posted by BLVCKHVLO View Post
THANKS! lol few last questions- I was editing my comment while you typed this:

Are you using the default arthur file in edify_defs or did you make/edit one to work with the warp?
No problem! Glad I could help I take it that worked for you? And nope, I don't edit anything in the kitchen's internal files and everything works fine.

Quote:
Originally Posted by BLVCKHVLO View Post
As far as binary and script: where do I find the ones that came in the rom I basing mine from so as to edit and replace when I build? Edit... found binaries and script. I have a bad shotgun and flashlight approach to some of this stuff. The kitchen told me where it was if I had been paying attention
I think we all do that sometimes lol Don't worry, though, after a while you'll go from shotgun-and-flashlight to sniper-rifle-and-infrared-goggles

Quote:
Originally Posted by BLVCKHVLO View Post
And I am using notepad++ to edit rc files and such- this should be fine right? It's worked for everything else so far.
Yep, that's become my editor of choice. It handles all the pertinent file types quite well, from smali source to XMLs to scripts and plain old text documents. Not to mention the fact that it can comprehend the end of a line without having to use two characters. Take that Microsoft Notepad!
mercury0x000d is offline  
Reply With Quote
Old April 24th, 2013, 10:58 PM   #45 (permalink)
Member
 
BLVCKHVLO's Avatar
 
Join Date: Dec 2012
Location: Denver
Posts: 363
 
Device(s): ZTE warp Cyanoid 4
Carrier: Boost

Thanks: 177
Thanked 238 Times in 145 Posts
Default

Quote:
Originally Posted by mercury0x000d View Post
No problem! Glad I could help I take it that worked for you? And nope, I don't edit anything in the kitchen's internal files and everything works fine.


I think we all do that sometimes lol Don't worry, though, after a while you'll go from shotgun-and-flashlight to sniper-rifle-and-infrared-goggles


Yep, that's become my editor of choice. It handles all the pertinent file types quite well, from smali source to XMLs to scripts and plain old text documents. Not to mention the fact that it can comprehend the end of a line without having to use two characters. Take that Microsoft Notepad!
I'm getting petty frustrated with this project. Nope. It refuses to build boot. Img. I have the original build in the working folder and everything. It's not complaining about missing packages like perl or gcc4 or anything like that. I unpacked and repack with no edits just to see what it will do and it doesn't build and doesn't tell me why.
BLVCKHVLO is offline  
Reply With Quote
Old April 24th, 2013, 11:32 PM   #46 (permalink)
Member
 
BLVCKHVLO's Avatar
 
Join Date: Dec 2012
Location: Denver
Posts: 363
 
Device(s): ZTE warp Cyanoid 4
Carrier: Boost

Thanks: 177
Thanked 238 Times in 145 Posts
Default

OK! lol- I got it building with no issues in Ubuntu and it took me like 10 minutes to partition and install. It can even access the other drive without going into permissions from xterm. Wow! This has come a looooong way since I last used it 5 years ago. So pretty lol. It even supports my favourite hex tracker for making music (renoise). I gotta say, I'm pretty smitten right now!

mercury0x000d likes this.
BLVCKHVLO is offline  
Reply With Quote
Old April 25th, 2013, 11:11 AM   #47 (permalink)
AF Contributor
 
smartmanvartan's Avatar
 
Join Date: Sep 2012
Location: Montreal, Canada
Gender: Male
Posts: 1,332
 
Device(s): ZTE N861 Rooted With unamed Rom, ZTE N860 Rooted With Voltron OC V2 (Testing), ZTE N762 Rooted
Carrier: Public Mobile

Thanks: 434
Thanked 620 Times in 431 Posts
Send a message via Skype™ to smartmanvartan
Default

Can you run abootimg on a Windows computer? It's what I use for the boot image pack/unpack and it works like a charm....
__________________
If I have helped you in any way, best way to say thanks is to hit the "Thanks" button...
smartmanvartan is offline  
Reply With Quote
The Following User Says Thank You to smartmanvartan For This Useful Post:
BLVCKHVLO (April 25th, 2013)
Old April 25th, 2013, 03:18 PM   #48 (permalink)
Member
 
BLVCKHVLO's Avatar
 
Join Date: Dec 2012
Location: Denver
Posts: 363
 
Device(s): ZTE warp Cyanoid 4
Carrier: Boost

Thanks: 177
Thanked 238 Times in 145 Posts
Default

Quote:
Originally Posted by smartmanvartan View Post
Can you run abootimg on a Windows computer? It's what I use for the boot image pack/unpack and it works like a charm....
I don't know. Not even going try lol. I would rather just develop android on its own platform. I would rather spend the time learning how to dev properly in Linux Unix than fool around with windows. I plan on getting rid of the need for android kitchen as well eventually. All this porting of libraries is really cumbersome. I've been running this ubuntu distro and have gotten further in one night than I have been able to in a week. plus I can focus on what's going on and actually understand what the hell I'm doing ha-ha.
BLVCKHVLO is offline  
Reply With Quote
Old April 25th, 2013, 03:56 PM   #49 (permalink)
AF Contributor
 
smartmanvartan's Avatar
 
Join Date: Sep 2012
Location: Montreal, Canada
Gender: Male
Posts: 1,332
 
Device(s): ZTE N861 Rooted With unamed Rom, ZTE N860 Rooted With Voltron OC V2 (Testing), ZTE N762 Rooted
Carrier: Public Mobile

Thanks: 434
Thanked 620 Times in 431 Posts
Send a message via Skype™ to smartmanvartan
Default

i use abootimg in linux mint... it unpacks the kernel and ramdisk... then i extract the ramdisk with ark do my thing and repack the ramdisk with this command:

# find . | cpio --create --format='newc' > /tmp/newinitrd 16524 blocks

then i repack both the modified ramdisk(initrd.img) and the kernel(zimage)
with abootimg and voila no kitchen needed and no headaches...
BLVCKHVLO likes this.
smartmanvartan is offline  
Reply With Quote
The Following User Says Thank You to smartmanvartan For This Useful Post:
BLVCKHVLO (April 25th, 2013)
Old April 25th, 2013, 07:53 PM   #50 (permalink)
Digital Packrat
Thread Author (OP)
 
mercury0x000d's Avatar
 
Join Date: Nov 2011
Location: Penn's Woods
Gender: Male
Posts: 1,641
 
Device(s): rooted Motorola I1 (retired), rooted ZTE Warp running Warp OEM 2.70
Carrier: Boost Mobile

Thanks: 913
Thanked 1,226 Times in 743 Posts
Default

Quote:
Originally Posted by BLVCKHVLO View Post
I don't know. Not even going try lol. I would rather just develop android on its own platform. I would rather spend the time learning how to dev properly in Linux Unix than fool around with windows. I plan on getting rid of the need for android kitchen as well eventually. All this porting of libraries is really cumbersome. I've been running this ubuntu distro and have gotten further in one night than I have been able to in a week. plus I can focus on what's going on and actually understand what the hell I'm doing ha-ha.
I'm just wondering what kind of modding you're doing to the ROM that's making it that hard for the Kitchen to work with! Geez, dude...
mercury0x000d is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Phones > ZTE Warp (N860) > (Boost Mobile) Warp - All Things Root
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 04:58 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.