yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] Daneshm90:
Ok so aside from making it a flat image, it is working on windows 7 ? I know on xp it has some ownership issues, ill try to get it working on xp. As for the flatten image i didnot know it had to be done that way, i essentially went on google and pulled any png and it would work, but if you try to lower it to 8/16 bit color, it will not find the png in your recovery and show an error. On xp this is what we get :

Cannot change ownership to uid 1000, gid 1000: Invalid argument

If anyone knows anything please let me know, thanks :)

EDIT : Ohsaka or anyone who doesnt have it working on xp get back to me. For me i get the errors mentioned above, but when i flashed the image it works fine and the wallpaper is changed.

EDIT: Main reason for it not working on xp was i didnot have my path in quotes, hence /documents and settings/ was producing an invalid argument. So philosophics i figured out your issues, its because your directory has a space "Amon Ra" so im going to update my main post with all these changes and put the directories in quotes, it should work better.

EDIT: After running the script a few times on xp, the errors dont even appear anymore it works flawlessly on xp. FYI please find a properly formatted png, donot lookup a jpeg and then save it as a png, DOES NOT WORK :)

EDIT: Updated version/info placed in OP. Please check it out.
[G1 Android Development] Neejay:
I see a few of the "Cannot change ownership to uid 1000, gid 1000: Invalid argument" errors on my Windows 7 x64 machine, even though it made a recovery.img...I'm scared to try it though. haha
[G1 Android Development] Daneshm90:
Really on your windows 7 machine ? hmm wierd. Well remember doing

fastboot boot <drag recovery image here> has no permanent effects. It will either boot into recovery or get stuck on g1 screen at which point just pull out battery and put back in.

FYI: on a xp machine i also got the ownership errors but the recovery image it created was fine. On windows 7 however i saw no such issues.
[G1 Android Development] Jeffro64:
I can now verify it works on Win 7 32bit and Vista 64bit... what ever you fixed it worked for me, Good Work!:D

Extra Info:

And the .png I used was a .jpg converted to .png in paint on Win 7. I couldn't get paint on vista to do it, for some reason it didn't give me the pixels option just percentage.
[G1 Android Development] theartar:
http://www.youtube.com/watch?v=1lqfQi7146U#t=27s
[G1 Android Development] Daneshm90:
So its not compatible with clockworkmod recovery, because he doesnt even use those images, he just has a plain background, so replacing the png's dont matter. I need a couple of nexus testers :)
[G1 Android Development] Jeffro64:
Did you see my post a page back?... just a little feedback for you.

I just ordered a Nexus Friday... if I root it right off the bat i'll test it for you.
[G1 Android Development] Daneshm90:
Nope just read it now :) Awesome. Now gotta expand my base, gotta try other devices and try to get a mac/linux version.

Looking forward to you testing it on your nexus. It repackages the nexus recovery without any issues, dont have a device to try it so ill wait on your/others results patiently.
[G1 Android Development] Jeffro64:
Kewl... Not sure i'll root right off the bat though since it already has the OS I like on it, but who knows I might not be able to wait LOL.
[G1 Android Development] :
any one know if ........

i just recently switched from tmobile to sprint to get the evo and i am currently using a hero cdma and was wondering if this will work for my hero ???????? i hope so ...i miss my g1 n im currently running a ported version of cyanmod 5 on hero ... well thanks for any info in advaance \
[G1 Android Development] Daneshm90:
Yes it should work on hero as well.

You can point me to which recovery you are using, and i can create a test image for you.
[G1 Android Development] Neejay:
Although it gave some errors, the recovery flashed and (appears to be) working perfectly.

I wanted just a black background. LOL Maybe I'll find something that doesn't blend all the colors/options together eventually.
[G1 Android Development] Daneshm90:
Lol wht ? so just a black boot.png doesnt work ? it should.
[G1 Android Development] Neejay:
No No No, everything works fine so far. lol I used a black.png as my background, is all I'm saying.
[G1 Android Development] Daneshm90:
Oh lol cool. Btw a lot of the output that might look like errors is actually the perl script telling you what its doing :) There should only be one error since i removed a file that was useless but is still being called. However it does not affect the outcome.
[G1 Android Development] Shaquiel Harris:
You got a nexus? bastard? D: :D congrats
[G1 Android Development] Daneshm90:
So just tested it on my friends nexus with a 480x800 png, works flawlessly :)

If anyone has other android devices please test and let me know. Thanks
[G1 Android Development] Jeffro64:
Thanks bud... it will be here tomorrow!!:D
[G1 Android Development] Jeffro64:
This is good to know!
[G1 Android Development] philosophics:
It does work mang. That image of mine was originally a .jpg but I resized it, indexed, rgb'd, then flattened before I saved without interlacing...
[G1 Android Development] Ohsaka:
FYI, it worked on my G1. Thanks for replacing the blue care bear!
[G1 Android Development] Jeffro64:
Not a problem... Glad it worked for you!:D
[G1 Android Development] Neejay:
Yeah, works perfectly. Loving the simple black background. haha

Thanks!
[G1 Android Development] jroid:
i know this would be kinda pointless, other than eye candy; but imagine Livewallpapers in recovery mode? dam, that'd be pretty nice...
[G1 Android Development] darkandroid:
work on HTC Tattoo and HTC Hero :D :D
[G1 Android Development] Daneshm90:
Now thats what i like to hear :)

Thnx.
[G1 Android Development] Daneshm90:
Hey you were having problems getting this script to work, have u tried since the update ? Im trying to resolve all issues.
[G1 Android Development] Lucaryholt:
Can you make a video on how to do this, cause i don't get it. Do i need to download ra-hero-1.6.2 and put that in recovery/old and then the .bat?
[G1 Android Development] Daneshm90:
Hey its simple really, essentially download amonra's recovery for your device so yes what you mentioned above. Rename it to recovery.img and put it inside recovery/old. Then find your favorite 320x480 png and name it boot.png and place it inside the picture folder. Then just run the script. Once done you will find a new recovery.img in the recovery/new folder. You can choose any method to try out this new recovery image, whether that be fastboot flash recovery or fastboot boot.
[G1 Android Development] Daneshm90:
Update available : Added menu's with more options
[G1 Android Development] Daneshm90:
Sorry about that. Upload had gotten corrupted. Fixed now.
[G1 Android Development] feefeeboomboom:
idk what was going on but it would not work, but then it did. sweet sh*t man very cool.
[G1 Android Development] rapidfire224:
Worked perfect, heres mine:
[G1 Android Development] Zei:
Very efective way to convert any pic file to png

MS PAINT!!!!!!

Goto File>saveas then in the drop box bleow the file name, just save it as a png
[G1 Android Development] philosophics:
So after this nice little mod I applied, this is what now happens when I try to go into console from recovery...

Any ideas as to why this is now happening? It's not from any other mod...
[G1 Android Development] Daneshm90:
Hmm wierd, i dont have a g1 so cant test anything. Can you try something:

Download amonra's recovery, place it in the old folder. Dont place anything in the pictures folder. Run the script, and then try the new recovery. Let me know if you still have the console problems. Thnx
[G1 Android Development] philosophics:
Re: Recovery Background Changer

Either I can let you know as soon as I get to a computer today, or someone else with a g1 can do the test cause I don't know how long it will take me.

Anyone wanna try the test out for me?

-------------------------------------

Sent via the XDA Tapatalk App
[G1 Android Development] feefeeboomboom:
so im on the CDMA hero, after i change the picture. the little loading bar in recovery gets pushed to the bottom and only half of it can be seen.

is it spose to be? lol

or is this a bug.
[G1 Android Development] Daneshm90:
Re: Recovery Background Changer

hmmm, is it when u change boot.png or boot1.png or both?
[G1 Android Development] feefeeboomboom:
as far as i know its either or. just boot or both boot and boot1

i tryed diffrent pic sizes ect ect.. to see if it changed.

oh and also i couldnt get the script to run veiw/flash recovery.

i was in fastboot mode.
[G1 Android Development] Daneshm90:
Re: Recovery Background Changer

ok let me look at ur devices recovery n ill get back to u. as for the flashing problem, does ur pc have fastboot drivers installed ?
[G1 Android Development] feefeeboomboom:
lol well i didnt know i need fastboot drivers... so prob not. but thank you for looking into that... its not really a problem, as in it doesnt effect anything function wise.
[G1 Android Development] :
I have 7zip, but when I try to Extract the 7z file, it says that it can't open it...?
[G1 Android Development] Daneshm90:
Emm dont know what to tell you, can u tell 7zip to test it and see if it returns any errors ?
[G1 Android Development] Daneshm90:
Ok so i figured it out, his recovery when drawing the progressbars checks for the height of icon_installing(boot1.png) and draws it right below it. So ill be putting out an update tonight which will allow you to change progress bars as well. So for now if you are annoyed by progress bar being cut-off, just make the height of your boot1.png a bit less than that of your device.

FYI: reason i did not notice this is because i completely removed the progress bar images, i decided i dont need them since most update-scripts now a days tell us exactly wht its doing :)
[G1 Android Development] Daneshm90:
Update: Added option to customize progressbars. Please read how-to in script for more info.
[G1 Android Development] jonze5:
me like this!!''

try this on
[G1 Android Development] Daneshm90:
ThuderCats FTW !!!! :)
[G1 Android Development] wcdisciple:
Are there any commands in terminal for this? :confused:
[G1 Android Development] Daneshm90:
Whats this ????
[G1 Android Development] philosophics:
Tried what you had asked.

No pic added. Just ran a RA recovery through.

Console don't work...

Thankfully, if you

fastboot boot image ................

It just boots it instead of flashing it on to the device. I did not know that.

Makes it easier to test things out...
[G1 Android Development] Daneshm90:
Re: Recovery Background Changer

so essentially the unpacking and packing breaks console on g1's? i need confirmation from another source to consider this an issue.
[G1 Android Development] philosophics:
G1 users who have applied this ..... Mod

boot into recovery and check to see what happens when you open the console.

Please and thank you!
[G1 Android Development] feefeeboomboom:
thanks for the prompt update...

so i just deleted the progress bars. ill be testing it to see what happens.

oh yeah my own picture and overclocked recovery ^_^
[G1 Android Development] philosophics:
press alt+x and tell us what happens please...
[G1 Android Development] Neejay:
1.7.0 test1 is out
[G1 Android Development] Daneshm90:
Yup, i checked it out. The layout seems to be same so this script will work. If you have a dream can you please confirm the issue of console(alt+x) not working after a recovery has been repackaged by this script ? thnx
[G1 Android Development] philosophics:
Just tried it. Console still broken.

And what's up with the.... not you nevermind...
[G1 Android Development] Amon_RA:
Your console is "broken" because you are repacking it incorrectly...

Use 'no_console_suspend=1 console=tty0' as --cmdline when using mkbootimg.
[G1 Android Development] Daneshm90:
Re: Recovery Background Changer

ok will modify. thnx for the insight. Ok done modifying. Uploading as we speak.
[G1 Android Development] Daneshm90:
Alright, so first post updated. Only affects g1 users as now the console mode should work flawlessly. Thanks to amonra for the insight.
[G1 Android Development] philosophics:
Re: Recovery Background Changer

Hey buddy, nice work.

Is there a way you could add a script to change the font color back to green?

O! RED WOULD BE COOL TOO!

-------------------------------------

Sent via the XDA Tapatalk App
[G1 Android Development] Daneshm90:
Haha funny thing is my friend here suggested the same thing. Ill look into it, cant promise anything.
[G1 Android Development] Jeffro64:
Glad to see this keep updating... Thanks for the hard work!

So do I just delete the old version and start using this new version... simple as that? And will it still work with 1.6.2 recovery?
[G1 Android Development] philosophics:
Yes it works for all RA recovery's.... I think.

Worked for 1.6.2 and 1.7.0 but I don't like the blue so I'm staying with 1.6.2 for now...
[G1 Android Development] Jeffro64:
Good to know! When you say blue are you talking about the text in the menu in recovery? Can't say I would like that either LOL.
[G1 Android Development] Neejay:
I gotta wait until there's a sapphire version of 1.7.0...I'm gonna use a black.png anyway.
[G1 Android Development] philosophics:
Ya, it was kinda gross on me eyes. Gotta headache lookin at it.

I'm pretty sure it was just a joke for the test1...

WE ALL HOPE AT LEAST! lol
[G1 Android Development] Jeffro64:
LOL... I hear ya. Maybe Daneshm90 can add a way to change color with several options.:cool:
[G1 Android Development] HighRidas:
works on ra 1.7.0 but i noticed that the console breaks all it shows is the word android
[G1 Android Development] XL3N7:
Same here, no recovery console on 1.7.0
[G1 Android Development] philosophics:
Re: Recovery Background Changer

Delete the cygwin folder and re-download his 7z.

The packedge has been updated for g1 users specifically for that console breaking reason.

Mine works flawlessly now since the latest update...

-------------------------------------

Sent via the XDA Tapatalk App
[G1 Android Development] brutus_2552:
Alright i understand everything but how the fast boot part works i never had to use it.
[G1 Android Development] Daneshm90:
Re: Recovery Background Changer

well once u customize ur recovery, i have the option of using the options in my menu to boot into the new recovery for trial purposes or flash if u like it.
[G1 Android Development] brutus_2552:
sounds good
[G1 Android Development] Daneshm90:
Ok guys i need some opinions. So for test color i have 2 options.

1. Read textcolor from a txtfile which would be saved on lets say /sdcard and read upon loading recovery

2. I compile a couple of recovery binaries with standard colors that you guys tell me are popular. And then my script allows you to choose which color.

Let me know thnx.
[G1 Android Development] feefeeboomboom:
i vote binaries due to the fact that i never keep my sd card constant.

i dont think there will be too many colors that ppl will need.
[G1 Android Development] feefeeboomboom:
it works lol, just the recovery image throws error:progress_bar_1 ect ect missing.

but w/e
[G1 Android Development] Daneshm90:
My original concept was to have the volume up/down toggle the colors. But whats the point if it wont retain those settings. Im leaning towards having a file stored somewhere from which it picks up values, i need more ideas. Anyone ???
[G1 Android Development] bmfc187:
wow i was JUST coming by to suggest being able to change the text colors...lol. im glad i wasnt the only one wanting that as a feature. Here's a rough list of some general colors and their values...i didnt have anything better to do so i figured any way i can help...if they need to be in different format i can do that, too, or if anyone has any other suggestion/adjustments, etc...this is just a quick list i threw together...

Light Red = #ff0000---(255, 0, 0)

Dark Red = #dd0000---(221, 0, 0)

Orange = #fa7000---(250, 112, 0)

Yellow = #ffff00---(255, 255, 0)

Lime = #00ff00---(0, 255, 0)

Green = #00d000---(0, 208, 0)

Cyan = #33cfff---(51, 207, 255)

Light Blue = #0077ff ---(0, 119, 255)

Dark Blue = #0b00db ---(171, 0, 219)

Purple = #9400cf ---(148, 0, 207)

Lavender = #ab00b0---(171, 0 ,176)

Magenta = #f700ff ---(247, 0, 255)

Pink = #ff00a2---(255, 0, 162)

White = #ffffff---(255, 255, 255)

Light Gray = #d0d0d0---(208, 208, 208)

Dark Gray = #ababab---(171, 171, 171)

Black = #000000---(0, 0, 0)

anyone who wants to see the colors can go to www.colorpicker.com and type in the value in the box at the top.

-BMFC
[G1 Android Development] Daneshm90:
Actually it uses RGB, so this site would help

http://www.psyclops.com/tools/rgb/

But anyway my first priority is trying to get it reading of a sdcard. That will provide maximum user configuration. Ill keep u posted. Expect something soon :)
[G1 Android Development] Jeffro64:
Sounds good! Either way that it works the best is fine with me.:cool:
[G1 Android Development] cauli:
I'd much prefer option 1 or support for a colour picker at build time. This lets one choose a colour to match or complement the background image. Thanks for your work btw :)
[G1 Android Development] philosophics:
Re: Recovery Background Changer

How about somewhere on internal storage?

You know, somewhere in /system...

Or is that not cool?

-------------------------------------

Sent via the XDA Tapatalk App

UPDATE!

I cannot nandroid+ext

Don't know why but maybe you could check to see if you have any settings you need to change to /sd-ext
[G1 Android Development] Daneshm90:
Ok guys just got it working. SO it reads ___,___,___, from 12.txt in ur CACHE:recovery/ drive. The values are rgb. For now whtever you set it to, that will become you'r text colors as well as the highlight color. ANd ur highlighted text will be white. Gonna post soon.

For a brave Non rogers dream tester :) (For regular dream's)

Download 12.txt attached to this post and modify the 3 numbers. Use tool mentioned in previous post of mine.

Push 12.txt to /cache/recovery/

fastboot boot into this recovery img :) Download

Compatibility and simplicity using my script will come later :)
[G1 Android Development] Jeffro64:
OK... So as of right now we would need to change the .txt and push it again if we wanted to change colors right? The reason I ask is it might take a few trys to get just the right color and I just want to be sure LOL. BTW... Your doing a great job with this, Thank You!!
[G1 Android Development] Daneshm90:
Well awesome thing is the recovery picks up any changes in the txt file while ur in there. So while in recovery you can use a command like

rm /cache/recovery/12.txt

echo "something,something,something," > /cache/recovery/12.txt

And the moment u scroll up/down in the recovery itll pick up those changes :)
[G1 Android Development] Jeffro64:
That sounds kewl... but would the somethings be where the numbers go that would need to be changed for a different color? Sorry... still new to all of this LOL.

Also... Is the download in the OP still just the one that will change the background on 1.6.2 or 1.7.0 and the console works?
[G1 Android Development] Daneshm90:
I havent implemented this text color changing in the OP(script). Just a test recovery.img tht i've upload in my previous post. Download and flash tht its amonra's latest recovery with my patch on it. Yes the something is the colors. So using this enter values in the decimal field and see if u like them. you can also choose from the palette. Lets say you want the text to be black so it would be

adb shell rm /cache/recovery/12.txt (if you have placed the file already)

echo "0,0,0," > /cache/recovery/12.txt
[G1 Android Development] Daneshm90:
Alright so ill prolly have a transparency toggle for the black overlay you see over ur background images.
[G1 Android Development] Jeffro64:
Kewl thats what I was wondering... if the script in the OP was the same still. So gotcha on using your other recovery.img for the colors.:)

That would be AWESOME!!
[G1 Android Development] G-Fetus6:
mmmmmmmm i will bookmark this for later use :D

thanks for such awesome tool
[G1 Android Development] Daneshm90:
Let me know if the color mod worked. thnx
[G1 Android Development] Daneshm90:
Ok so upcoming options will be :

- Transparency of highlight bar (so when u scroll tht highlight box tht comes its transparency)

- The line that divides options/output of what you are doing its transparency/color

- Color of the output you get when u select something, so if u decide to flash the text that comes "are you sure u want to flash update.zip" its color.
[G1 Android Development] Daneshm90:
Alright guys the text file just got bigger :D

now in your text file you have

a,b,c,d,e,f,g,h,i,

a,b,c = menu text non-highlighted color in rgb format

d = menutext highlight bar transparency

e = transparency of black background overlay

f,g,h = highlighted text color in rgb format

i = line transparency

Heres the non rogers dream (regular dream) recovery.img for amonra's latest.

Attached to this post is a sample text file which you push to /cache/recovery/

Recovery Image

Just thinking of adding an option to make default button for going back the "back-button" unlike his newest recovery which makes it volume down. Let me know wht u think.

Just realized something, although it says vol-down to go back, its actually back button Sorry :(
[G1 Android Development] amazinglarry311:
Any way to get a patched mt3g image up to test? I'd be happy to help
[G1 Android Development] Daneshm90:
Sure gimme a sec :)

Here you go : MT3G Here
[G1 Android Development] :No-Frost::
For some reason I can't create the modified recovery... I have the 2 boot images in the folder and the recovery, I run the batch file and nothing... I get the next advice:

At this point, please check the progressbar folder, replace any images required
Once you have made the changes to the images. Then continue.
Presione una tecla para continuar . . .
Already exist a file with the same name or the file
has not be found.
"bash" does not recognize as an internal or external command, program or executable file by lots.
Have been moved 1 file.
Have been moved 1 file.
Have been moved 1 file.
[G1 Android Development] amazinglarry311:
The color changes took place without a hitch, it looks, great. unfortunately, either there is a problem with the image you posted or it is for a different device than what i am running.

I have a 32B MT3G, i'm using amon_ra 1.7.0 from the 1.7.0G link.

The one you posted flashes and boots correctly, but when trying to initiate any of the actions in the menu, the result is nothing. The screen flashes the transparency and goes back to the initial menu.

Also, when just changing backgrounf on the amon_ra 1.7.0G recovery image, the text for going back is indeed BACK and not VOL DOWN, i noticed the patched image you posted says VOL DOWN, but the one i downloaded and successfully changed the background on still says the correct BACK.

Is this the 1.7.0G image that you posted? is there something happening in the patching process that is causing the inability for the image to work, and why does the patched version state VOL DOWN when the official states BACK?

Let me know, i'm eager to get a custom recovery image flashed. the background is a huge improvement, i would love the text color to be changed as well.

Now can the color just be patched when compiling the recovery image? it's cool to be able to change the 12.txt on the fly, but i also found that the 12.txt does not necessarily stay after a reboot. so the colors reset.
[G1 Android Development] :No-Frost::
Ok, Managed to make it work... But after changing the image it looks quite weird...
[G1 Android Development] philosophics:
GRR!

Whoa, that is strange. Try something out for me if you have photoshop.

Open the image up and select Image-Mode-RGB

Then right-click on the layer and flatten image.

Once that is done, make a copy of this file named boot.png and name it boot1.png and place the in the place-image-here folder.

Retry