is it possible to change the green "HTC" while android is loading? - HD2 Android Q&A, Help & Troubleshooting and Genera

once AD SD loads from MAGLDR, I just get that green screen for about 2 mins before the CM6 bootanim loads, and actually get this on every Android ROM, is there a way to change this splash screen to something else? I have a custom splash loaded when turning the phone on, but not here.
Any ideas no how to do this? You'd think it would be as easy as putting a file in the "root" folder in my Android directory on my SD, but I don't know what.

orangekid said:
once AD SD loads from MAGLDR, I just get that green screen for about 2 mins before the CM6 bootanim loads, and actually get this on every Android ROM, is there a way to change this splash screen to something else? I have a custom splash loaded when turning the phone on, but not here.
Any ideas no how to do this? You'd think it would be as easy as putting a file in the "root" folder in my Android directory on my SD, but I don't know what.
Click to expand...
Click to collapse
not this topic again.
this has been discussed many times already. If you know how to edit initrd.gz then you can change that image.
Read. Read. Read.
Search. Search. Search.

jose makalolot said:
not this topic again.
this has been discussed many times already. If you know how to edit initrd.gz then you can change that image.
Read. Read. Read.
Search. Search. Search.
Click to expand...
Click to collapse
I did search, but haven't found the answer, maybe it's one of those "I can't believe you can't see this it's right in front of your face" things, guess I'll keep searching...

still can't find

jose makalolot said:
not this topic again.
this has been discussed many times already. If you know how to edit initrd.gz then you can change that image.
Read. Read. Read.
Search. Search. Search.
Click to expand...
Click to collapse
whats the point of your post, if you know just share the info, xda isnt a private members club.
btw, i dont know, but now its been mentioned, would like to find out.
the search begins...
Edit:
found 2 sites on subject, 1 of them points to xda, will take a look 2moro, its late here & i have an early start:
http://www.androidtablets.net/forum...-bootlogo-before-animated-boot-animation.html
http://forum.xda-developers.com/showthread.php?t=443431

More importantly does anyone know of a way to speed up the boot up time, im using Sergio Coredroid v1.3 build and very good it is as well but it's a bit frustrating waiting for 3 minutes for it to boot up, heres a video i took showing this, surely there has to be a way for the boot up time to be under a minute?
http://www.youtube.com/watch?v=J1vHaHCMf4Q

I'm still struggling with this...trying to edit an initrd.gz for HD2 NANDroid and cant get the image to convert. I've tried that RGB565Convertor_v0.3c but I think I may be missing something here. I get a file that is spit out in .rgb565 and I just change the extension to .rle. I'm assuming there is another step to get it from rgb565 to rle.
For the record this is how I dump the initrd.gz and rebuild if anyone is interested.
Code:
Perform commands starting in directory
containing initrd.gz
[B][U]EXTRACT [/U][/B]
mkdir initdir
cd initdir
zcat ../initrd.gz | cpio -i -d
[B][U]COMPRESS[/U][/B]
cd initdir
find . | cpio -o -H newc | gzip -9 > ../initrd.gz

cmylxgo said:
COMPRESS
cd initdir
find . | cpio -o -H newc | gzip -9 > ../initrd.gz
Click to expand...
Click to collapse
cmylxgo,
I get this error when trying to compress:
cpio: Too many arguments
Sent from my HD2 GingerDroid using XDA App

jose makalolot said:
cmylxgo,
I get this error when trying to compress:
cpio: Too many arguments
Sent from my HD2 GingerDroid using XDA App
Click to expand...
Click to collapse
Hmmm...I just tried it again and it works for me. Double check your syntax.
Are you able to covert an iamge properly?
-CMY

cmylxgo said:
Hmmm...I just tried it again and it works for me. Double check your syntax.
Are you able to covert an iamge properly?
-CMY
Click to expand...
Click to collapse
Any luck with this guys?
I've manged to convert the image with the converter tool and rename it to logo.rle (not sure if that's all I need to do??) but want to overwrite the one in initrd.gz and see if it works. I have no idea about linux commands etc... I tried to overwrite it within 7zip but it's write-protected so would anyone be able to shed some light on a possible solution? I've added the image I used and the logo.rle file I created if anyone wants to give it a try?
Thanks in advance

cmylxgo said:
I'm still struggling with this...
For the record this is how I dump the initrd.gz and rebuild if anyone is interested.
Click to expand...
Click to collapse
logo.rle is not a regular rle file, no any editor, or converter, or viewer does not understand its format, and the android does not understand the normal rle file, which is created in standart programs.
The second problem is: system is fail to boot and allways rebooting, after initrd.gz is changed. Only original logo.rle is working. If You get logo.rle from another firmware, it will be shown after MAGLDR, but system will reboot after this.

http://forum.xda-developers.com/showpost.php?p=12574728&postcount=5

Related

Create custom splash screen ?

im running on
HTC HD2 (us)
rom version: CELL SERIES WWE
Radio: 2.08.50
OS version: 5.2.2
i wanted to create a custom splash screen, with my pictures to have a unique bootup but i don't know how to start it off, where to get the program ETC... ive searched on google and here but its for the Htc touch pro what i found... im still new to this, but if anyone can help me out, THANKS!
in brief...
create your image, 480 x 800 as a 24 bit bmp.
(EDIT - since writing this i have made a few and i CAN confirm it fails if the bmp isn't 24bit.
In photoshop, choose save as BMP, and if it only gives you the option of 8 bit colour, then cancel out of teh save, click Image - Mode - RGB Colour. (index colour gives 8 bit BMP) )
get nbimg-1.1win32.zip from this thread
put nbimg.exe and your bmp in the same folder, open up a command prompt** in that folder, and issue the command
nbimg -p 18400 -w 480 -h 800 -F nameofphoto.bmp -T 0x600 -S 64 -D PB8110000
(change nameofphoto to whatever your image is called)
[EDIT - Warning, see *** at end of post for update It turns out there are two memory positions you can flash splash screens, the first at 0x600 which is the first five or six seconds, then the second at 0x601 which is the screen with the R G D info screen for five or six seconds, then it goes into the animated part which is part of teh rom.
If you dont make a second splashscreen, the first is shown for 14 seconds, then the rom animation.
To make the second splash, simply use the command as above, but use 0x601 instead
nbimg -p 18400 -w 480 -h 800 -F nameofphoto.bmp -T 0x601 -S 64 -D PB8110000
(change nameofphoto to whatever your image is called)
I ASSUME that flashing a stock will remove the secondary splashscreen, and not just replace the first one, , but i haven't tried it.......]
it will create nameofphoto.bmp.nbh which you flash using customruu.exe, just like flashing a rom or radio.
**To open a command prompt in the currently viewed explorer folder in vista/7, you can press shift and right click in the folder window, which will give you the option to 'open command window here', , , , which is handy.
***EDIT - 24 Jun 10 - Turns out flashing a stock rom DOES NOT remove the second boot screen (the one with the RGD info)
On the plus side, my second splash screen contains 'reward if found' and contact info, so even if the thief flashes a stock rom will still show. Winner!
(I only tested with the tmous 2.13 rom, and the UK O2 rom 1.43, one using customruu and the other using the stock exe, neither removed the 2nd splashscreen)
Not sure how one would go about it. A blank .nbh I assume. I don't mind, cos i don't want to remove it, so i'm not going to investigate, but anyone any ideas, please post to this thread. Thanks.
samsamuel said:
in brief...
Click to expand...
Click to collapse
thank you Sam!! I had been thinking about doing one for myself, but hadn't bothered to look for the instructions yet.
Guess what just got added to my "HD2ToDo" folder for this weekend
hehe this thread being posted earlier made me decide it was time to find out how.
You could also edit the registry manally:
Use a couple of personalized 480x800.gif and drop it into the windows directory (unhide everything to get to to it).
Go to:
HKLM\HTC\HTC Animation and change the startup480x800.gif and the shutdown480x800.gif to point to your own gifs.
For the Microsoft welcome you need to .png files and they need to be identical and named as such:
xxx.192.png and xxx.png
Drop those into your window directory with whatever name you have chosen and go to:
HKLM\Software\Microsoft\Splash Screen (I think that is the path).
In there change the values of Carrier Bitmap to xxx.192.png and MSBitmap to xxx.png
I put my contact info on that screen embedded into a picture just in case I lose the puppy and a good samaritan happens to pick it up.
Hope this helps!
custom splash screen help
im having all kinds of problems doin a custom splash screen. i think its because of vista. if i provide the image can some one covert it for me so that i might flash it on my tmo hd2. any help with this would be greatly appreciated.
Camusa said:
You could also edit the registry manally:
Use a couple of personalized 480x800.gif and drop it into the windows directory (unhide everything to get to to it).
Go to:
HKLM\HTC\HTC Animation and change the startup480x800.gif and the shutdown480x800.gif to point to your own gifs.
For the Microsoft welcome you need to .png files and they need to be identical and named as such:
xxx.192.png and xxx.png
Drop those into your window directory with whatever name you have chosen and go to:
HKLM\Software\Microsoft\Splash Screen (I think that is the path).
In there change the values of Carrier Bitmap to xxx.192.png and MSBitmap to xxx.png
I put my contact info on that screen embedded into a picture just in case I lose the puppy and a good samaritan happens to pick it up.
Hope this helps!
Click to expand...
Click to collapse
that's not the initial splash screen. the animation and the splash screen that are mentioned in the registry are step 3 and 4 in the boot process.they are part of the rom, step 1 exists in its own rom space and it survives a new rom flash.
still useful info for skinning the whole process though.
tsalate said:
im having all kinds of problems doin a custom splash screen. i think its because of vista. if i provide the image can some one covert it for me so that i might flash it on my tmo hd2. any help with this would be greatly appreciated.
Click to expand...
Click to collapse
look up opening a command prompt as administrator on vista.(ill do it for you tomorrow if you have no luck. )
thanks I shall try that and if no luck i will let you know. again thanks for the help.
Super super lost!
ok so i changed my jpg to a bmp through REAConverter and made pic size 480 x 800 like you said SAM
then i was in command prompt..... and enterd this.....
c:\USER\Robo\desktop\nbimg> nbimg -p 18400 -w 480 -h 800 -F Kurbaan.bmp -T 0x600 -S 64 -D PB8110000
after i clicked entered it went
[]file Kurbaan.bmp
[] No padding found. Check file size
WHAT DO I DO PLEASSSE HELP! AND IM SUPER NEW TO THIS
samsamuel said:
that's not the initial splash screen. the animation and the splash screen that are mentioned in the registry are step 2 and 3 in the boot process.they are part of the rom, step 1 exists in its own rom space and it survives a new rom flash.
still useful info for skinning the whole process though.
look up opening a command prompt as administrator on vista.(ill do it for you tomorrow if you have no luck. )
Click to expand...
Click to collapse
AH...sorry that.
Yeah, I am not a "Custom flash the ROM" guy and that one is indeed embedded.
My bad.
I found out a way to make them suprr easy super fast it doesnt take me more than 5 min here is my favorite one I made
http://youtube.com/watch?&gl=US&warned=True&client=mv-google&hl=en&v=QcIf9e_Zb_s&nomobile=1
pakistaniprince said:
ok so i changed my jpg to a bmp through REAConverter and made pic size 480 x 800 like you said SAM
then i was in command prompt..... and enterd this.....
c:\USER\Robo\desktop\nbimg> nbimg -p 18400 -w 480 -h 800 -F Kurbaan.bmp -T 0x600 -S 64 -D PB8110000
after i clicked entered it went
[]file Kurbaan.bmp
[] No padding found. Check file size
WHAT DO I DO PLEASSSE HELP! AND IM SUPER NEW TO THIS
Click to expand...
Click to collapse
so far so good, ,,, look on yourdesktop for two files, one called yourfilename.bmp.nb and another called yourfilename.bmp.nbh
Its yourfilename.bmp.nbh that you flash.
Or perhaps your file is too big (mine was 1.1 meg, whats yours?)
Update for anyone playing with splashcreens.
It seems its a four stage process, not three. There are two .nbh files, not just one, though if you dont flash the second one the first shows in its place.
When building the nbh file, with the command
nbimg -p 18400 -w 480 -h 800 -F nameofphoto.bmp -T 0x600 -S 64 -D PB8110000
THis .nbh will be the very first thing that comes on screen, and will persist until the animation stage (stage 3)
however, if you also build another .nbh using the command
nbimg -p 18400 -w 480 -h 800 -F nameofphoto.bmp -T 0x601 -S 64 -D PB8110000
and flash this second .nbh, then when you boot you will get the first image first (of course) but then when the system info comes up (small writing bottom left) it switches to this second bootscreen, and then thirdly the animation, and finally the windows welcome.
Little Lost now lol
samsamuel said:
so far so good, ,,, look on yourdesktop for two files, one called yourfilename.bmp.nb and another called yourfilename.bmp.nbh
Its yourfilename.bmp.nbh that you flash.
Or perhaps your file is too big (mine was 1.1 meg, whats yours?)
Click to expand...
Click to collapse
THANKS ALOT SAM I GOT IT TOO WORK! APPRECIATE IT MAN!! =)
Just a couple of questions if you can help me out again SAM
1---on like the cell evo boot up screen he made a sick one how can i do that?
2---i did two images for bootup splash screen but i wanted something like spider man swinging across my screen or sumthan like that..... possible? and how to..PLEASE
3---when i turn off my phone how can i make a custom splash screen for that? "plus IM still super new to this Rom stuff"
4--- i want like a movable animation for a splash screen..... i guess this goes with question 2 lol
the only part that can be animated is part three, which is an animated .gif in the windows folder called leo_animated.gif
the rest of yourquestions are down to your own skill with creating graphics.
samsamuel said:
the only part that can be animated is part three, which is an animated .gif in the windows folder called leo_animated.gif
the rest of yourquestions are down to your own skill with creating graphics.
I'll put some notes down on the whole boot splash process later this evening when I get home.
Click to expand...
Click to collapse
ok so i just find a .gif off of google, hook up my phone via active sync find that folder leo_animated.gif and delete the old gif and add my new one?
Thanks again bro for the help
pakistaniprince said:
ok so i just find a .gif off of google, hook up my phone via active sync find that folder leo_animated.gif and delete the old gif and add my new one?
Thanks again bro for the help
Click to expand...
Click to collapse
yea, (so long as its 480x800) and you dont need to delete the old one, just copy over it. LEO_Animated.gif is a file, not a folder, , its in the windows folder.
oops, wrong info, see next page, post 26
I cannot get any of the tools I've tried to use to run on XP SP3, and I don't know why. I click the .exe, but nothing happens.
Any suggestions would be appreciated.
I've prepared a BMP to the proper dimensions for a boot splash, but I cannot get anywhere from there.
donalgodon said:
I cannot get any of the tools I've tried to use to run on XP SP3, and I don't know why. I click the .exe, but nothing happens.
Any suggestions would be appreciated.
I've prepared a BMP to the proper dimensions for a boot splash, but I cannot get anywhere from there.
Click to expand...
Click to collapse
Are you trying to use Nbimg? you gotta run that in command prompt.... got to the first page of this topic it might help you out more...
samsamuel said:
yea, (so long as its 480x800) and you dont need to delete the old one, just copy over it. LEO_Animated.gif is a file, not a folder, , its in the windows folder.
Click to expand...
Click to collapse
ok so i found the file on my computer through activesync, so then i tried to drag and drop my file HTC_animated.gif to HTChD2/windows and it said "i dont have premission" the file that i want to copy over is also called HTC_animated.gif but i cant change it, so i went on my phone to "TOtal command" to see if i can delete it, but when i tried it said i cant delete file....WHAT DO I DOOOO!!! =[

[HOW-TO]--Stock Bootscreen w/ Sound

Well here we go, this will revert your bootscreen to the Stock Verizon Android Bootscreen with Sound.
(Verizon animation then waving droids, followed by the HTC animation)
!!!! THIS IS FOR ROOT USERS ONLY !!!!
This has not been tested with any Non-Root ROM!
This HOW-TO was put together on a Windows Machine, Please adjust your syntax if you are using linux.
This has been tested on the Plain Jane ROM (Thanks Jcase!!) And confirmed working on Ivan's ROM (Thanks pkopalek)
EDIT [6/9/10 @ 3:39pm EST]: THIS WORKS ON Eris-based ROMs ONLY at this time. I will be experimenting with other ROM's and will post my findings.
This Bootscreen was pulled from the Downgrade.zip included in this post:
Android Fourms
Please give credit where credit is due. All i did was get all together and write this HOW-TO.
1. Download this zip ... bootscreen_Stock_Sound
And Extract to any location on you computer. You should have a folder named bootscreen with some xml,mp3,and gif files.
2. if you have pushed a bootscreen to /data/local, delete it.
Code:
adb remount
adb shell rm /data/local/bootanimation.zip
3 Enter the adb shell and cd to /system/media and list contents.
Code:
adb remount
adb shell
cd /system/media
ls
Back up the bootanimation.zip located here.
Code:
cp bootanimation.zip bootanimation.bak
or delete it.
Code:
rm bootanimation.zip
Exit shell
Code:
exit
4. Now to push the animation to /system/media
<your-save-path-here> is where you extracted the RAR. When extracted you will have folder named bootscreen_Stock_Sound with a nested folder named bootscreen.
I downloaded the rar to the desktop on Win 7 so my path would be:
C:\Users\Lostbytes\Desktop\bootscreen_Stock_Sound\bootscreen
NOT: C:\Users\Lostbytes\Desktop\bootscreen_Stock_Sound\bootscreen\
as this will nest the folders.
Code:
adb push <your-save-path-here>\bootscreen /system/media/bootscreen
Wait for it to finish.
EDIT:For those having problems with a black boot screen, please enter the following to set the permissions on the bootscreen folder.
Code:
adb remount
adb shell chmod 775 /system/media/bootscreen
5. To Test.
Code:
adb remount
adb shell
bootanimation
PRESS Ctrl-C to return to the shell.
Now a creative person with the inclination, should be able to modify the contents of the bootscreen xml file to use custom sounds and animations. Have Fun All
TO THE DEVS:
Thank you for all your hard work day in and day out. Without people like you, this scene would not exist.
Have Fun
Have Fun Everyone!!!!!!
I've been thinking about this bootscreen for a long time.
Thank you for this.
And for what it's worth, with all the files in place,
my Evil Eris boot animation is just a blank, black screen.
Hmm..... I'm missing something.
I thought this had to be in a ZIP format...
After downloading ..it is a RAR file...
bukada said:
I thought this had to be in a ZIP format...
After downloading ..it is a RAR file...
Click to expand...
Click to collapse
This is not the common Bootanimation.zip!!!
Please read the directions, this is the old Style bootanimation format. (using a XML instruction sheet, NOT the desc.txt file w/ png in zip format) This allows much more control. You mush first back up or remove any and all Bootanimations on your phone.
pkopalek said:
And for what it's worth, with all the files in place,
my Evil Eris boot animation is just a blank, black screen.
Hmm..... I'm missing something.
Click to expand...
Click to collapse
Did you back up or remove the bootanimation in
/data/local
/system/media
also if /system/media already has a bootscreen folder delete it and replace it with the one from the RAR.
Bootanimation formats as far as i know are:
/data/local/bootanimation.zip
/system/media/booanimation.zip
/system/media/bootscreen/<XML,Gif,MP3 files>/
This bootscreen is the last format. It works on a ERIS running Plain Jane, Will post vid soon.
pkopalek said:
And for what it's worth, with all the files in place,
my Evil Eris boot animation is just a blank, black screen.
Hmm..... I'm missing something.
Click to expand...
Click to collapse
Same here. Followed the instrucations and only have a blank screen now during boot up. Is a step missing?
lostbytes said:
Did you back up or remove the bootanimation in
/data/local
/system/media
also if /system/media already has a bootscreen folder delete it and replace it with the one from the RAR.
Bootanimation formats as far as i know are:
/data/local/bootanimation.zip
/system/media/booanimation.zip
/system/media/bootscreen/<XML,Gif,MP3 files>/
This bootscreen is the last format. It works on a ERIS running Plain Jane, Will post vid soon.
Click to expand...
Click to collapse
All checkpoints check.
This is also pretty standard for all of Android, so I am baffled as to why we're getting black bootscreens!
pkopalek said:
All checkpoints check.
This is also pretty standard for all of Android, so I am baffled as to why we're getting black bootscreens!
Click to expand...
Click to collapse
I will recreate the procedure from the beginning . All i did was pull the original boot screen from Android 1.5 and push to my phone, Maybe i missed documenting something.....But it is a simple operation. Will post again soon.
Yeah, I see.
I even pulled apart downgrade.zip (which I have on my computer) and looked at it myself, just in case a file got corrupted or something.
I can't figure it out!
Maybe this needs to be turned into a bootanimation.zip for some ROMs?
pkopalek said:
Yeah, I see.
I even pulled apart downgrade.zip (which I have on my computer) and looked at it myself, just in case a file got corrupted or something.
I can't figure it out!
Maybe this needs to be turned into a bootanimation.zip for some ROMs?
Click to expand...
Click to collapse
Its possible, I will look into it some more, What baffles me is that works for me!!! It may be ROM dependent but i am just recreating the file structure with no modifications from the original. So, in theory the ROM should not matter.
I tried grabbing the /system/bin/bootanimation file from another ROM (so that the 'bootanimation' command would maybe work?) to see if that makes the difference, but it doesn't seem to.
It seems like something silly is missing! I even did a Root Explorer search for anything with the word 'boot' in it to see what could be causing the trouble, but I don't see anything at all! The only things with 'bootscreen' or words like it is in the /system/media/bootscreen/ folder that is there (because I put it there).
Baffling!
Here are screens of what i did, I recreated the whole process and it worked fine for me. Again i am running the Plain Jane ROM (Thanks to Jcase) if that matters.
link To Screen
Hope this helps!!!
I confirmed this DOES seem to work on normal Eris-based ROMs like yours (Ivan's 1.0, in my case)
but NOT on EvilEris.
pkopalek said:
I confirmed this DOES seem to work on normal Eris-based ROMs like yours (Ivan's 1.0, in my case)
but NOT on EvilEris.
Click to expand...
Click to collapse
Would you like me to post the bootanimation file from /system/bin?
maybe replacing this file with mine might solve the issue...
File located here........... Bootanimation
Please let me know if this resolves the issue. If not i will install EvilEris and try to recreate.
Same exact success rate.
I also had to chmod your 'bootanimation' to make it work, but that may or may not be related to me downloading/pushing it from a Windows machine.
Neither here nor there, just a black screen.
Blah.
pkopalek said:
Same exact success rate.
I also had to chmod your 'bootanimation' to make it work, but that may or may not be related to me downloading/pushing it from a Windows machine.
Neither here nor there, just a black screen.
Blah.
Click to expand...
Click to collapse
pkopalek, Would you please, in root explorer, goto /system/media/bootscreen and list its contents? there should be a bunch of files and NO folders. I thinks my code was nesting the files in a second bootscreen folder.
lostbytes said:
pkopalek, Would you please, in root explorer, goto /system/media/bootscreen and list its contents? there should be a bunch of files and NO folders. I thinks my code was nesting the files in a second bootscreen folder.
Click to expand...
Click to collapse
Nope. Exactly the contents it should have.
android_audio.mp3, android_audio.mp3_, boot.gif, boot.mp3, boot_animation.xml, etc etc etc.
Certainly no folders in here. Exactly the contents it should have.
/system/media/bootscreen
same contents as C:\Documents and Settings\Administrator.PAULSTERM1\Desktop\android\downloads\bootscreen
which is where I extracted the bootscreen contents (twice, once from your download, once from my own downgrade.zip. same results.)
pkopalek, Would you please, in root explorer, goto /system/media/bootscreen and list its contents? there should be a bunch of files and NO folders. I
Click to expand...
Click to collapse
Nope. Exactly the contents it should have.
android_audio.mp3, android_audio.mp3_, boot.gif, boot.mp3, boot_animation.xml, etc etc etc.
Certainly no folders in here. Exactly the contents it should have.
/system/media/bootscreen
same contents as C:\Documents and Settings\Administrator.PAULSTERM1\Desktop\android\downloads\bootscreen
which is where I extracted the bootscreen contents (twice, once from your download, once from my own downgrade.zip. same results.)
Click to expand...
Click to collapse
This may be obvious, but make sure to check the permissions on the folder itself.
Try this, then reboot.
adb remount
adb shell chmod 775 /system/media/bootscreen
-------------------------------------
Sent via the XDA Tapatalk App

[Q] Sprint power-up 4g intro thingy... removal?

Ok, you know the 4G Sprint video you get when booting up, right before you actually get into the OS?
Is there anyway to get rid of that? It annoys me.
Can I replace it with a different animation?
James.Q.Campbell said:
Ok, you know the 4G Sprint video you get when booting up, right before you actually get into the OS?
Is there anyway to get rid of that? It annoys me.
Can I replace it with a different animation?
Click to expand...
Click to collapse
Probably check it out, it'll be somewhere in system/media. You have to be rooted of course
Sent from a truly Epic phone and a transparent XDA app
yeah ive been wondering if i can put my R2-D2 boot ani on here lol
I know we can replace it, but it does not seem to be in system/media. There are a few images in system/media/GPU, but it is not the entire boot animation. I did some brief searching, but am not finding it.
I'm pretty sure you'll find it in /system/customize/resource along with an mp3 that provides the boot sound.
cloverdale said:
I know we can replace it, but it does not seem to be in system/media. There are a few images in system/media/GPU, but it is not the entire boot animation. I did some brief searching, but am not finding it.
Click to expand...
Click to collapse
Yeah, I did the same thing. Searching around did give me the opportunity to scrap most of those annoying ringtones I never use though.
I searched around a bit more but didn't find anything. I did find a bootanimation.zip in data/local and replaced it with a boot animation I have, but it didn't change anything.
Lmao guys.
Code:
adb push bootanimation.zip /system/customize/resource
And your set
Sent from my PG06100 using XDA App
smp420 said:
I'm pretty sure you'll find it in /system/customize/resource along with an mp3 that provides the boot sound.
Click to expand...
Click to collapse
Ah, ok. Playing with it now. Will report back in a few.
James.Q.Campbell said:
Ah, ok. Playing with it now. Will report back in a few.
Click to expand...
Click to collapse
Ok, nevermind... I can't delete the stupid stock file.
Do I need ADB for this? I'm not familiar enough with ADB to know how to use it to delete the file and push the new one in.
Anyone with more experience with ADB want to lend a hand here?
bubby323 said:
Lmao guys.
Code:
adb push bootanimation.zip /system/customize/resource
And your set
Sent from my PG06100 using XDA App
Click to expand...
Click to collapse
Well, that'll learn me to read back on the thread first.
Hey, I'm a noob. I'm learning.
Leave me alone...
bubby323 said:
Lmao guys.
Code:
adb push bootanimation.zip /system/customize/resource
And your set
Sent from my PG06100 using XDA App
Click to expand...
Click to collapse
adb push doesn't work (at least for me) have to figure out another way
however your location is correct.
Not 100% on this but if you adb while in recovery it may work. /system is mounted while the phone is running so you may be running into permission errors. Although I was able to adb pull mine while running.
Edit: not sure if it's just me but when I tried I get an error about the system being read only and apparently the busybox I have doesn't have a remount command.
Edit2: found the full remount command but it seems that the phone doesn't care for it much. Was able to push a new ani but got acore force closes on reboot the were not fixed by putting back the original (I didn't really expect them to be)
Edit3: Finally got it working. You just have to be in recovery with /system mounted. I should have tried that much earlier but I seem to like to try all the wrong steps first Any 480x800 animation should work. wouldn't suggest using the flashable zips since they probly copy to the wrong location. Have fun.
I built my own flashable zip using the old template from my Moment days...just had to edit the cleaner.sh and the update-script in the 'META-INF\com\google\android' folder of the zip file.
cleaner.sh contents:
#!/system/bin/sh
rm -rf /system/customize/resource/bootanimation.zip
rm -rf /data/local/bootanimation.zip
update-script contents:
show_progress 0.1 0
run_program PACKAGE:cleaner.sh
copy_dir PACKAGE:system SYSTEM:
set_perm 0 0 0644 SYSTEM:customize/resource/bootanimation.zip
show_progress 0.2 10
You also need to change the folder structure inside the flashable zip to 'system/customize/resource' for the location of the bootanimation.zip file.
I also included a new mp3 file in same folder as bootanimation and renamed it to 'VERSION11SAMELENGTH.mp3'.
Edit: Some things I noticed:
- need to resize the images and update that size in the 'desc.txt' file
- the animation plays faster even at the same frame rate than it did
on my old phone, so you may need to lower that
- the mp3 file is pretty loud so you may want to lower its volume
before including it in the zip...it also seems to be tied in some
manner to what the media volume (I think) is set to when the phone
is shut off/rebooted
Edit 2: If anyone sees any errors in my method, by all means speak up...I am mostly just winging this (with a recovery backup in case something goes wrong)

[Call for Help] Kernel Parameters - ro.secure

Ccurrently trying to get the SkyGO app working on the HD2.
One of the devs has suggested that for the app to work properly we need a Kernel with "ro.secure=1" set in it.
Currently I am bouncing between Typhoon 3.7.6 (which uses tytung's r14 kernel) and NexusHD2-ICS-4.0.3 (tytungs ICSr1 Kernel I believe)
Can anyone tell me how to find out if the kernel has this parameter set. If not how easy would it be for me to add it and recompile the kernel (pointers to kernel de/recompilation threads appreciated!
I'm not to worried about doing it myself if I have to.
TIA
mods - if this is in the wrong forum I apologise in advance, could you move it for me if it is
bobjbain said:
Ccurrently trying to get the SkyGO app working on the HD2.
One of the devs has suggested that for the app to work properly we need a Kernel with "ro.secure=1" set in it.
Currently I am bouncing between Typhoon 3.7.6 (which uses tytung's r14 kernel) and NexusHD2-ICS-4.0.3 (tytungs ICSr1 Kernel I believe)
Can anyone tell me how to find out if the kernel has this parameter set. If not how easy would it be for me to add it and recompile the kernel (pointers to kernel de/recompilation threads appreciated!
I'm not to worried about doing it myself if I have to.
TIA
mods - if this is in the wrong forum I apologise in advance, could you move it for me if it is
Click to expand...
Click to collapse
This is a question. [Q&A]
yz.hd said:
This is a question. [Q&A]
Click to expand...
Click to collapse
Thanks for the useful and insightful response
FYI - I realised that it might be after I submitted it! Which is why I caveated the post at the end.
this parameter is in the initrd.gz in the kernel in the boot folder of the ROM.
You should extract it and inside there is a file called default.prop
extract
mkdir initdir
cd initdir
zcat ../initrd.gz | cpio -i -d
compress
cd initdir
find . | cpio -o -H newc | gzip -9 > ../initrd.gz
Each line in the file default.prop is an attribute assignment. There we need to
Note the two properties: ro.secure, and ro.debuggable. . If ro.secure = 0 is allowed us to run the adb root command.
Usually we put the core ROOT refers to the ro.secure = 0. ROOT permission to refer to the general said on the phone
A license management program (Superuser.apk) procedures for the root user can grant permission.
bobjbain said:
Ccurrently trying to get the SkyGO app working on the HD2.
One of the devs has suggested that for the app to work properly we need a Kernel with "ro.secure=1" set in it.
Currently I am bouncing between Typhoon 3.7.6 (which uses tytung's r14 kernel) and NexusHD2-ICS-4.0.3 (tytungs ICSr1 Kernel I believe)
Can anyone tell me how to find out if the kernel has this parameter set. If not how easy would it be for me to add it and recompile the kernel (pointers to kernel de/recompilation threads appreciated!
I'm not to worried about doing it myself if I have to.
TIA
mods - if this is in the wrong forum I apologise in advance, could you move it for me if it is
Click to expand...
Click to collapse
look here this great kernel should have ro.secure set to 1
Bologna said:
look here this great kernel should have ro.secure set to 1
Click to expand...
Click to collapse
it doesn't, it's based on Tytung's Kernel, Tytung's doesn't so I'm not suprised that dorimnax's "greatest ever" (sic) doesn't teither
big thanks to magnus48, have decompressed the kernel, changed ro.secure to 1, recompressed, copied to /boot
Phone booted (which suprised me) and my SkyGo App now works.
Yay
magnus48 said:
The easy way is use root explorer and edit /default.prop on your device but is not free.
ro. means read only you can't change it's value after rom is loaded
Click to expand...
Click to collapse
So, I can either change the value in my kernel OR I can edit default.prop and reboot??
Won't the values in default.prop get overwritten on boot??
bobjbain said:
it doesn't, it's based on Tytung's Kernel, Tytung's doesn't so I'm not suprised that dorimnax's "greatest ever" (sic) doesn't teither
Click to expand...
Click to collapse
First question : Why of this sarcastic reply?
Second question : Can you please share your skygo working app, telling us what's the kernel you're using to have it working?
Thanks in advance
bobjbain said:
So, I can either change the value in my kernel OR I can edit default.prop and reboot??
Won't the values in default.prop get overwritten on boot??
Click to expand...
Click to collapse
forget this way. It did not work when rebooting the kernel overwrites the deafult.prop file.
The change should be done inside initrd.gz
magnus48 said:
forget this way. It did not work when rebooting the kernel overwrites the deafult.prop file.
The shange should be done inside initrd.gz
Click to expand...
Click to collapse
You should be able to pull it, make changes and push it back to phone via adb. Useful if you don't want to reflash
Sent from my HD2 using XDA
jwchips said:
You should be able to pull it, make changes and push it back to phone via adb. Useful if you don't want to reflash
Sent from my HD2 using XDA
Click to expand...
Click to collapse
default.prop is in the initrd.gz, this is extracted when the phone boots, so any changes you make to default.prop WILL be overwritten when the phone boots.
You have to make the changes inside the initrd.gz file.
Bologna said:
First question : Why of this sarcastic reply?
Click to expand...
Click to collapse
I don't quite hold dorimanx in quite the high esteem that others do, his work is good but it can be rushed as shown by his 5.x series of Kernels.
Bologna said:
Second question : Can you please share your skygo working app, telling us what's the kernel you're using to have it working?
Thanks in advance
Click to expand...
Click to collapse
Here although this is an app for UK Sky only and won't work for non-UK subscribers.
bobjbain said:
default.prop is in the initrd.gz, this is extracted when the phone boots, so any changes you make to default.prop WILL be overwritten when the phone boots.
You have to make the changes inside the initrd.gz file.
Click to expand...
Click to collapse
Any chance you could post the modified kernel? I am running R14 on GB3.2a so it would drop right in
CR5N said:
Any chance you could post the modified kernel? I am running R14 on GB3.2a so it would drop right in
Click to expand...
Click to collapse
yertiz.
Take a backup of your current initrd.gz first though to be on the safe side.
bobjbain said:
yertiz.
Take a backup of your current initrd.gz first though to be on the safe side.
Click to expand...
Click to collapse
Thankyou. This works on Tytung GB3.2a. F1 channel now working on this old HD2
What about SD builds?
magnus48 said:
forget this way. It did not work when rebooting the kernel overwrites the deafult.prop file.
The change should be done inside initrd.gz
Click to expand...
Click to collapse
I can access and edit default.prop on my SD build after the phone has booted. This seems to give me access to Sky News at least. But I still can't get premium channels. Do you think I still need to edit initrd.gz as well or is that now redundant?
johnkst said:
I can access and edit default.prop on my SD build after the phone has booted. This seems to give me access to Sky News at least. But I still can't get premium channels. Do you think I still need to edit initrd.gz as well or is that now redundant?
Click to expand...
Click to collapse
No, you will need to edit your initrd.gz
Before I did I could access Sky News only, afterwards the Sky world was my Oyster!!
bobjbain said:
No, you will need to edit your initrd.gz
Before I did I could access Sky News only, afterwards the Sky world was my Oyster!!
Click to expand...
Click to collapse
Thanks Bob. Is there anything else I should edit while I'm at it?
Currently after booting, my default.prop contains the following attributes:
ro.secure=0 (need to change this to 1)
ro.allow.mock.location=1
ro.debuggable=1
persist.service.adb.enable=1
I'm particularly suspicious of the last one!
Also... what should I use to edit default.prop within initrd.gz? I tried unzipping it with 7zip, editing the initrd file with a hex editor and re-zipping but it created a significantly smaller file...
johnkst said:
Thanks Bob. Is there anything else I should edit while I'm at it?
Currently after booting, my default.prop contains the following attributes:
ro.secure=0 (need to change this to 1)
ro.allow.mock.location=1
ro.debuggable=1
persist.service.adb.enable=1
I'm particularly suspicious of the last one!
Also... what should I use to edit default.prop within initrd.gz? I tried unzipping it with 7zip, editing the initrd file with a hex editor and re-zipping but it created a significantly smaller file...
Click to expand...
Click to collapse
I only ever changed ro.secure, don't have the phone any more so can't check the other values.
To edit the default.prop you need to uncompress the initrd.gz then recompress it using the following linux commands
Code:
extract
mkdir initdir
cd initdir
zcat ../initrd.gz | cpio -i -d
compress
cd initdir
find . | cpio -o -H newc | gzip -9 > ../initrd.gz
As I run windows I downloaded and installed cygwin and used that to uncompress and recompress the kernel.
I edited the default.prop in windows but you can use vi within cygwin if you want.
If you're uncomfortable doing this then attach your kernel to a post and I can do it for you.

Unpack stock System.img?

Hello Moto
I've just downloaded Verizon Jelly Bean 4.1.1 by "Firmware Team".
Just to play with it a little, extract apks and test them on Galaxy SII Skyrocket.
The thing is i'm having a hard time opening system.img.
Now i've tried LinuxReader, Unyaffs and ext2explore/read but none of these can open it, they all say that it's an unrecognized image.
Do you guys know how to properly open a stock moto System.img?
lingowistico said:
Hello Moto
I've just downloaded Verizon Jelly Bean 4.1.1 by "Firmware Team".
Just to play with it a little, extract apks and test them on Galaxy SII Skyrocket.
The thing is i'm having a hard time opening system.img.
Now i've tried LinuxReader, Unyaffs and ext2explore/read but none of these can open it, they all say that it's an unrecognized image.
Do you guys know how to properly open a stock moto System.img?
Click to expand...
Click to collapse
Google for a tool called simg2img (I used the python script that appears in get first few results, there should be other versions as well). That will unpack the image into a plain ext4 image that you can mount with any Linux pc (I recommend using a virtual machine if you have windows or mac).
Happy hacking!
Sent from my XT907
aslomagic, did you try this with the firmware lingowistico is talking about? I also tried before to unpack system.img from this package, and system.img.ext4 from ICS package, and another ICS soft for XT897, and all of them give "Bad magic" error in simg2img. All of those softs are published by the same "Firmware Team" - maybe that's the case? I also tried dsixda kitchen (which also uses simg2img, but anyway...) and it also didn't work. Might be also some custom Motorola's approach to system.img....
Could you possibly help? Thanks.
micx_pl said:
aslomagic, did you try this with the firmware lingowistico is talking about? I also tried before to unpack system.img from this package, and system.img.ext4 from ICS package, and another ICS soft for XT897, and all of them give "Bad magic" error in simg2img. All of those softs are published by the same "Firmware Team" - maybe that's the case? I also tried dsixda kitchen (which also uses simg2img, but anyway...) and it also didn't work. Might be also some custom Motorola's approach to system.img....
Could you possibly help? Thanks.
Click to expand...
Click to collapse
Well, I know for a fact that those images are packed ext4, but I haven't tried specifically with that one.
Now that you mention, I think I remember signed images (like those ones) have some additional header, maybe that needs to be removed with an hex editor, or with dd of you like
If I get a chance, I'll try and report back...
Sent from my XT907
aslomagic said:
Well, I know for a fact that those images are packed ext4, but I haven't tried specifically with that one.
Now that you mention, I think I remember signed images (like those ones) have some additional header, maybe that needs to be removed with an hex editor, or with dd of you like
If I get a chance, I'll try and report back...
Click to expand...
Click to collapse
Ok, I tried, and yes, it complains it cannot find the magic (again, I'm using the python script). I modified the script to look for the magic value in the first 50Mb of the file, and if it finds it, it starts unpacking from there. Python scripts are very easy to play with
It seems to work for me, but I don't have a linux vm handy to see if it mounts correctly (I'm currently on a mac). micx_pl, can you give it a try and let me know?
I had to zip the file even though it's very small because the forum won't let me upload a .py file... who knows, just unzip it.
Holy cow! It works! You're the master I was looking for such solution everywhere, and was stunned to see barely few topics with similar problem, and no solution at all. Thanks!
micx_pl said:
Holy cow! It works! You're the master I was looking for such solution everywhere, and was stunned to see barely few topics with similar problem, and no solution at all. Thanks!
Click to expand...
Click to collapse
You're welcome, glad I could help!
Sent from my XT907
aslomagic said:
Ok, I tried, and yes, it complains it cannot find the magic (again, I'm using the python script). I modified the script to look for the magic value in the first 50Mb of the file, and if it finds it, it starts unpacking from there. Python scripts are very easy to play with
It seems to work for me, but I don't have a linux vm handy to see if it mounts correctly (I'm currently on a mac). micx_pl, can you give it a try and let me know?
I had to zip the file even though it's very small because the forum won't let me upload a .py file... who knows, just unzip it.
Click to expand...
Click to collapse
HOLY $#!+ THANKS!!! I've been trying to decompress the moto images for awhile and have never been able to do it until now
Would it be possible to modify make_ext4fs to re-sparse the image and copy the original signature?
Q9Nap said:
Would it be possible to modify make_ext4fs to re-sparse the image and copy the original signature?
Click to expand...
Click to collapse
You're welcome to try ... my guess is that it could be made to work if the image was an official, originally signed image that was unpacked by the script above or equivalent, but if you want to modify it, re-pack it and re-attach the signature, most likely the signature won't match the content. But I may be wrong, so if somebody is willing to try, best of luck to you
If your goal is just to create a packed image, but not necessarily signed (needs bootloader unlock), then I'd say it's definitely possible, search around here.
aslomagic said:
You're welcome to try ... my guess is that it could be made to work if the image was an official, originally signed image that was unpacked by the script above or equivalent, but if you want to modify it, re-pack it and re-attach the signature, most likely the signature won't match the content. But I may be wrong, so if somebody is willing to try, best of luck to you
If your goal is just to create a packed image, but not necessarily signed (needs bootloader unlock), then I'd say it's definitely possible, search around here.
Click to expand...
Click to collapse
i'm sure you're right about the signature not working on a modified image; it was just wishful thinking. the idea of course would be to inject superuser.apk and su, which wouldn't be necessary on a bootloader unlocked device.
for bootloader unlocked devices though, the ability to repack a modified image does give you another way to build custom roms. here's the code to unpack and repack images with simg2img.py and make_ext4fs:
Code:
mkdir system
./simg2img.py system.img.ext4 system.raw
sudo mount -t ext4 -o loop system.raw system/
#make changes, then:
wc -c system.raw #lists size in bytes of system.raw
sudo make_ext4fs -s -l 1234567890 -a system system.img system/ #where 1234567890 is output from wc -c
sudo umount system
rm -rf system
i've used this proecess with samsung system images, should work for moto images now too (bootloader unlocked, of course)
Yep, it's a good cheat sheet reference
Besides, on razr m and hd at least, you can also use this with safestrap without unlocking the bootloader.
aslomagic said:
Besides, on razr m and hd at least, you can also use this with safestrap without unlocking the bootloader.
Click to expand...
Click to collapse
Not sure what you mean by this; do you mean you could mount a modified system.img with safestrap? I guess it's possible since safestrap uses a system.img on the emmc, interesting idea
Q9Nap said:
Not sure what you mean by this; do you mean you could mount a modified system.img with safestrap? I guess it's possible since safestrap uses a system.img on the emmc, interesting idea
Click to expand...
Click to collapse
Yes, that's what I mean, more or less. You don't need safestrap to just mount it (use the terminal and "mount"), but you can use it to boot from it and try it.
I did this to try the Telstra image that pjcons dumped, which is pre-rooted and not signed (there it's no official signed image to date), and with a few tricks it worked without me having to unlock the bootloader.
Sent from my XT907
aslomagic said:
Google for a tool called simg2img (I used the python script that appears in get first few results, there should be other versions as well). That will unpack the image into a plain ext4 image that you can mount with any Linux pc (I recommend using a virtual machine if you have windows or mac).
Happy hacking!
Sent from my XT907
Click to expand...
Click to collapse
hello, i cant find anything on the basics of how this works, could you point me somewhere that explains it step by step or do one here. sorry of the noob question
TheWhiteChallenger said:
hello, i cant find anything on the basics of how this works, could you point me somewhere that explains it step by step or do one here. sorry of the noob question
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1588461
CNexus said:
http://forum.xda-developers.com/showthread.php?t=1588461
Click to expand...
Click to collapse
Thanks for the link I need to go learn Linux now. Lol I dontbgt the virtual machine thing at all. Its basically a Linux emulator right?
Sent from my XT1080 using XDA Premium 4 mobile app
TheWhiteChallenger said:
Thanks for the link I need to go learn Linux now. Lol I dontbgt the virtual machine thing at all. Its basically a Linux emulator right?
Sent from my XT1080 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
No need to
http://sourceforge.net/projects/androidicsjbext/
CNexus said:
No need to
http://sourceforge.net/projects/androidicsjbext/
Click to expand...
Click to collapse
oh damn it. ok first i do appreciate the help. but that sucked. that was the frist program i tryed and it gives me "unknown file format" have i just been screwing up from the begining?

Categories

Resources