[Guide][Tutor]changing second boot screen - HD2 Android NAND Development

I won't repost the tut here, but for DEV needing help with personalizing there second boot screen, I hope this helps
http://forum.xda-developers.com/showthread.php?p=14667195#post14667195
video's Using dsixda's Android Kitchen
part1
http://hotfile.com/dl/129670803/a60cc14/changing_boot_logo.rle_part_1.wmv.html
part2
http://hotfile.com/dl/129670563/8cdcc66/changing_boot_logo.rle_part_2.wmv.html
doing a rom logo.rle change
http://hotfile.com/dl/129671343/5046e9b/changing_boot_logo.rle_in_ROM.wmv.html
attached [GUIDE] (not mine) I just used it to add "set_perm(0, 0, 04755, "/" to over 1000 lines
Append Text To Each Line In Notepad++, Prefix Text To Every Line In Notepad++

Thanks!
Just search this kind of tutorial!

carl1961 said:
I won't repost the tut here, but for DEV needing help with personalizing there second boot screen, I hope this helps
http://forum.xda-developers.com/showthread.php?p=14667195#post14667195
video's Using dsixda's Android Kitchen
part1
http://hotfile.com/dl/129670803/a60cc14/changing_boot_logo.rle_part_1.wmv.html
part2
http://hotfile.com/dl/129670563/8cdcc66/changing_boot_logo.rle_part_2.wmv.html
doing a rom logo.rle change
http://hotfile.com/dl/129671343/5046e9b/changing_boot_logo.rle_in_ROM.wmv.html
attached [GUIDE] (not mine) I just used it to add "set_perm(0, 0, 04755, "/" to over 1000 lines
Append Text To Each Line In Notepad++, Prefix Text To Every Line In Notepad++
Click to expand...
Click to collapse
updated with video's

UPDATE
UPDATE:
logotool you can convert png to rle or rle to png using windows

Related

(Updated 04.02.11) HIVE AND REGISTRY FILE EDITOR

Hive and registry file editor 2.0.112
A command line utility to work with hv files.
Full Unicode support, and more.
!!! WARNING !!!
Do not use CeRegEditor (cereg) to work with .hv !!!
!!! WARNING !!!
Usage:
HVEdit.exe <rgu>|<dump>|<hive>|<hvm> [-r] [<outputdir>]
<rgu> Build boot.hv from rgu file.
<dump> Build default.hv and user.hv from project folder.
<hive> Output hive file contents to the <hivename.hvm> text file.
<hvm> Build hive file from hvm file.
-r Don't insert *.rgu hash value to the hive.
Release history:
---------------------
V. 2.0.112
+ Some changes.
V. 2.0.035
+ Extract hive to the .hvm text file.
+ Build hive from .hvm file.
V. 1.0.000 (Initial Release)
Don't need Unicode??
and I'm wondering whether the "REGEDIT4" is needed.
btxakita said:
Don't need Unicode??
Click to expand...
Click to collapse
Who spoke?
btxakita said:
and I'm wondering whether the "REGEDIT4" is needed
Click to expand...
Click to collapse
Yes.
NEW Release
V. 2.0.035
Added new functions:
+ Extract hive to the .hvm text file in Unicode format.
+ Build hive from .hvm file.
AnDim
AnDim said:
NEW Release
V. 2.0.035
Added new functions:
+ Extract hive to the .hvm text file in Unicode format.
+ Build hive from .hvm file.
AnDim
Click to expand...
Click to collapse
A dump question I'm sure, I started cooking recently and I'm wondering what I could accomplish with this application. In what scenario would I use it? Thanks, 12
Thanks. One problem I had w/ rgucomp is missing unicode support.
12aon said:
A dump question I'm sure, I started cooking recently and I'm wondering what I could accomplish with this application. In what scenario would I use it? Thanks, 12
Click to expand...
Click to collapse
What exactly is not clear?
Thanks AnDim, this makes GSM -> CDMA SYS porting much easier.
AnDim said:
What exactly is not clear?
Click to expand...
Click to collapse
Well I think I'm starting to understand. As I always have had the luxury of initflashfiles.txt or app.reg and never edited the .hv manually. It was unclear to me why I would need this or what it would add to a kitchen that supports those features (initflashfiles.txt and app.reg)
So does this app have a function in such a kitchen, I mean is there anything I will need to do manually that can't be done otherwise or is this more like a general app so that the hives on any phone can be more easily changed?
Thanks 12
@AnDim, PMed you.
Have anyone used this program? It's not working well for me. I use it fo rgu to hv convert but when i compare the output hv file with cereg alot different files
prpetrov said:
I use it fo rgu to hv convert but when i compare the output hv file with cereg alot different files
Click to expand...
Click to collapse
!!! WARNING !!!
Do not use CeRegEditor (cereg) to work with .hv !!!
how does project folder need to be set up to build default and user hv's?
BUG: Default value is imported and exported incorrectly
If I convert an rgu which contains
Code:
@="one"
"Default"="two"
hvedit overwirtes the default value with "two"
Request: option to specify output file
selyb said:
how does project folder need to be set up to build default and user hv's?
Click to expand...
Click to collapse
HVEdit.exe <My project folder>
Don`t need to be setup. RguĀ“s, packages.sof and so on, can be in any sub folders.
selyb said:
BUG: Default value is imported and exported incorrectly
If I convert an rgu which contains
Code:
@="one"
"Default"="two"
hvedit overwirtes the default value with "two"
Click to expand...
Click to collapse
Hey man .... Key name "Default" == Key name @
selyb said:
Request: option to specify output file
Click to expand...
Click to collapse
??? f.e.
AnDim
sorry, I misunderstood. Until now, I didn't know you could use "Default"=
selyb said:
Request: option to specify output file
Click to expand...
Click to collapse
What I mean is like
Code:
hvedit myhive.hv myhive.txt
so hvedit would export myhive.hv to myhive.txt
selyb said:
What I mean is like
Code:
hvedit myhive.hv myhive.txt
so hvedit would export myhive.hv to myhive.txt
Click to expand...
Click to collapse
Usage:
HVEdit.exe <rgu>|<dump>|<hive>|<hvm> [-r] [<outputdir>]
<rgu> Build boot.hv from rgu file.
<dump> Build default.hv and user.hv from project folder.
<hive> Output hive file contents to the <hivename.hvm> text file.
<hvm> Build hive file from hvm file.
-r Don't insert *.rgu hash value to the hive.
AnDim
AnDim said:
Usage:
HVEdit.exe <rgu>|<dump>|<hive>|<hvm> [-r] [<outputdir>]
<rgu> Build boot.hv from rgu file.
<dump> Build default.hv and user.hv from project folder.
<hive> Output hive file contents to the <hivename.hvm> text file.
<hvm> Build hive file from hvm file.
-r Don't insert *.rgu hash value to the hive.
AnDim
Click to expand...
Click to collapse
Hi,
thanks for this software it works great, if you now how to put this commands.
My experience was this:
D:\>hvedit.exe hive d:\hive
or:
D:\>hvedit.exe hive d:\hive\user.hv
I'm getting this:
(HVEdit) !ERROR: failed building DEFAULT hives.
When I copy HVEdit.exe and cereg400.dll to d:\hive and run this:
D:\hive>hvedit.exe d:\hive\user.hv
I'm getting this:
Admsoft (R) HVEdit Version 2.0.035
Hive and registry file editor.
(C) 2009 AnDim, XDA-Developers.
(HVEdit) Extracting user.hv ...
(HVEdit) Done! and only 21.kB of 69kB .hv file
When I run it on system.hv like this:
D:\hive>hvedit.exe d:\hive\system.hv
I'm getting this:
(HVEdit) Extracting system.hv ...
ERROR: C:\MacB\private\winceos\COREOS\filesys\reg\reghive\.\registry.c line 172: Reg: Invalid reghandle 0x20000a61
and 144kB .hvm file of 105kB .hv
I didn't mention it but I was trying to convert .hv to .hvm
Maybe my dump has got some errors in it.
Any idea what is wrong, why the user.hvm is so small?
Thank you AnDim for great software. It is quite difficult to find out utility for ce hive.
After use for a period I would to to report some small problem.
1. Long multi string was trimed. (Maybe fixed length variable in code) See Ex.
Registry key in my rgu file is
REGEDIT4
[HKEY_LOCAL_MACHINE\System\StorageManager\Filters\fsreplxfilt]
"DirsToExclude"=multi_sz:"\\mxip_initdb.vol",
"\\mxip_system.vol",
"\\mxip_notify.vol",
"\\mxip_lang.vol",
"\\cemail.vol",
"\\pim.vol",
"\\Documents and Settings\\default\\user.hv",
"\\Documents and Settings\\system.hv",
"\\Windows\\Profiles\\guest\\Temporary Internet Files\\",
"\\Windows\\Profiles\\guest\\Cookies\\",
"\\Windows\\Profiles\\guest\\History\\",
"\\Windows\\Activesync\\",
"\\Windows\\messaging\\",
"\\Temp\\"
After change to boot.hv and extract back to boot.hvm the Registry is as hereunder.
; Admsoft (R) HVEdit Version 2.0.035
; Hive and registry file editor.
; (C) 2009 AnDim, XDA-Developers.
;
;
; Source file: boot.hv
; Size: 28672 byte
; Hash: e9e4f2edd12c78eeed7aceeaea22c36f
; Boothash: 1ef4fb8f2b109c0757709e7f46c71a20
; Build tool: HVEdit v2.0
[HKEY_CLASSES_ROOT]
[HKEY_CURRENT_USER]
[HKEY_LOCAL_MACHINE\System\ObjectStore\RegistryUpdate]
"boot.rgu"=hex:1E,F4,FB,8F,2B,10,9C,07,57,70,9E,7F,46,C7,1A,20
[HKEY_LOCAL_MACHINE\System\StorageManager\Filters\fsreplxfilt]
"DirsToExclude"=multi_sz:"\\mxip_initdb.vol",
"\\mxip_system.vol",
"\\mxip_notify.vol",
"\\mxip_lang.vol",
"\\cemail.vol",
"\\pim.vol",
"\\Documents and Settings\\default\\user.hv",
"\\Documents and Settings\\system.hv",
"\\Windows\\Profiles\\guest\\Temporary Internet Files\\",
"\\Windows\\Profiles\\guest\\Cookies\\",
"\\Windows\\Profiles\\guest\\History\\",
"\\Windows\\Activesync\\"
[HKEY_USERS]
; (HVEdit) Done!
2.The size of hv file is larger than original. (This is not effect functional just file size is increase from 732kb to 744kb for instance.)
After investigate, there was extra length on data key which have length just fit 32 bits size. (Maybe when adjust cell size to fit 32 bits)
Hope my comment will be some benefit for you for next version.
Regards,
AnDim said:
Hive and registry file editor 2.0.035 (C) 2009 AnDim
A command line utility to work with hv files.
Full Unicode support, and more.
!!! WARNING !!!
Do not use CeRegEditor (cereg) to work with .hv !!!
!!! WARNING !!!
Usage:
HVEdit.exe <rgu>|<dump>|<hive>|<hvm> [-r] [<outputdir>]
<rgu> Build boot.hv from rgu file.
<dump> Build default.hv and user.hv from project folder.
<hive> Output hive file contents to the <hivename.hvm> text file.
<hvm> Build hive file from hvm file.
-r Don't insert *.rgu hash value to the hive.
Release history:
---------------------
V. 2.0.035
+ Extract hive to the .hvm text file.
+ Build hive from .hvm file.
V. 1.0.000 (Initial Release)
(C) 2009 AnDim
Click to expand...
Click to collapse
This seems to be JUST what I am looking for .... but I am having problems trying to use I suspect is simply a case of finger-trouble on my part, so will greatly appreciate any help available from AnDim or any other users who can point me in the right direction, please.
I think I correctly understand the command line syntax and have run HVEdit to unpack a default.hv registry file taken from a dumped ROM (Toshiba TG01). I then made some basisc edits to the resulting .hmv file and used HVEdit again to recompile back to .hv.
When the ROM is recompiled and flashed it refused to boot. So I went back and tried using HVEdit to convert to .hmv and back without making any changes. Same problem.
I have attached the .bat files i used to run for reference....View attachment 305797
I have been reading about a need to insert REGEDIT4 at the start of the file; have tried doing so but that just results in an error.
Any guidance will be greatly appreciated
Request Response !!
Is anyone able to offer any assistance on this question please
Help will be much appreciated !
kevinpwhite said:
This seems to be JUST what I am looking for .... but I am having problems trying to use I suspect is simply a case of finger-trouble on my part, so will greatly appreciate any help available from AnDim or any other users who can point me in the right direction, please.
I think I correctly understand the command line syntax and have run HVEdit to unpack a default.hv registry file taken from a dumped ROM (Toshiba TG01). I then made some basisc edits to the resulting .hmv file and used HVEdit again to recompile back to .hv.
When the ROM is recompiled and flashed it refused to boot. So I went back and tried using HVEdit to convert to .hmv and back without making any changes. Same problem.
I have attached the .bat files i used to run for reference....View attachment 305797
I have been reading about a need to insert REGEDIT4 at the start of the file; have tried doing so but that just results in an error.
Any guidance will be greatly appreciated
Click to expand...
Click to collapse

[Android] I8000 Theme's & Creating Theme's [UPDATED]

Tutorial & Theme's Download Hold On To Your Balls.
| How To Create You Own Theme. (There are images contain in the framework-res.apk Extract it using 7-Zip & edit it) [You Can Start Theme-ing now]
| How To Change Status Bar Font Color. Time Font Color: (Refer To Post: #2) | StatusBar Font Color - : (Refer To Post: #3)
| How To Get It Installed On Your I8000
- Basically its o2bupdate.tar.gz thingy.
File's Provided:
- Original Android 2.1(Eclair) Theme From Almar's android files [Beta1 Original Theme Extracted, Beta1 Original Framework-res.apk]
- Modified StatusBar Font Color: White/Black. [Statusbar - White, Statusbar - Black [Original] ]
- .... more will come
Requirement's To Start:
- Any photo editing software [Recommended **Adobe Photoshop/GIMP]
- Some files to work around with. [Smali Dex Compile&decompile, Context Editor, HxD Hex Editor]
- 7-Zip You will need it for some reason [You Will Understand Why Later]
- .... more will come
Smali Dex Compile & Decompile:
This small program is used generally for extensions that are .dex its a simple thing to use. (Refer To Post: #2)
Context Editor:
A program use to edit the file's that are found after using smali. (Refer To Post: #2)
Will Update More Soon.
Here are some screen-shots of what I've been working on:
Note: Please Ignore - (No Service)|Starhub. My sim got suspended for not paying bill's
There's so much that you can do but sadly im only a designer who designs theme. so with this info and file provided i hope you guys out there can do something better. Peace.
Please Take Note That Current Theme Won't Work On Beta 2, Only For Beta 1. I'm Currently working on Beta 2 File's. Will Update Soon.
How To Use Smali Dex Compile / DeCompile For classes.dex and Context Editor: [Changing Of Font Color Time On You Status Bar!]
Download This Files: [Smali Dex]
Normally I will place all my files to C:\Android\ for a new project. But you can choose anywhere you like that is at your own convenience.
1. You will need classes.dex from Service.jar - Extract it out using 7-Zip or WinRAR.
2. Once You have already done extracting classes.dex out put it in you project folder.
3. You can start following the steps below.
So lets start. Lets say i have already extracted all the file i've needed and placed it to my project folder here is what you need to do. Run CMD.
Type in cd C:\Android\ or where ever you project folder is located it. It should show you something like this once you've pressed ENTER.
[attachment=69743:1.png]
Okay lets move one, now here is what you need to check be sure that classes.dex is located inside the folder in order for you to start de-compiling the dex files.
Now Type in java -Xmx512M -jar baksmali.jar -o classout/ classes.dex
After pressing enter you should now get a classout folder inside you project folder.
[attachment=69746:2.png]
Now double click on the classout folder. [Do not close the CMD it will save you alot of time.] Inside the folder contains alot of files so lets cut it short with a photo:
Locate the file here: classout\com\android\server\status
Item will be: StatusBarIcon.smali
[attachment=69748:3.png]
Okay once you see the StatusBarIcon.smali we will now start using the Context Editor that is given on the first Post.
Right Click on StatusBarIcon.smali open with Context Editor or You could run context editor and just drag StatusBarIcon.smali into it.
You should get something like this:
[attachment=69752:4.png]
Now on Context Editor press CTRL+F and type color and press enter.
You should all be getting this paragraph that i've highlighted:
[attachment=69754:5.png]
Follow the following lines stated below: From original to edited.
Text Original:
Code:
.line 46
const/high16 v6, -0x100
invoke-virtual {v4, v6}, Landroid/widget/TextView;->setTextColor(I)V
Text Edited:
Code:
.line 46
const v6, -0x1
invoke-virtual {v4, v6}, Landroid/widget/TextView;->setTextColor(I)V
Once you are done, Save the file & close context editor. Go to your Project folder and rename your classes.dex to classes-old.dex You need to do this just incase you mess up some stuffs. After you have done with this go to cmd and type in java -Xmx512M -jar smali.jar classout/ -o classes.dex Press enter and now you'll get the new classes.dex
Here's what you need to do open service.jar with 7-Zip and drag the new classes.dex inside and save. You're done changing your status bar Time into white color. The next tutorial is changing your status bar text to white color [The Tricky Part].
To store the new service.jar you have compiled you can use ADB USB or o2bupdate.tar.gz your own convenience [I'll touch on a how to soon]
If your using o2bupdate.tar.gz place it in My Storage/ where haret is at and run haret. Let the o2bupdate do it stuffs & You'll get a white color time font something like this: [attachment=69760:tada.png]
Photo's Will Be Updated Soon.
How to use HxD Hex Editor: I Believe Most Of You Knows How To. (Changing Status Bar Font Color To White) Other colors may work to you can try.
Download Files: HxD Hex Editor 1.7.7.0
By now most of you should have the Framework-res.apk with you. Inside the apk contain images & XML for the android theme. You can mess around with the images & the xml.
But what i'm about to teach you all here is basically changing the font color of the status bar.
Go inside the framework-res folder that you have extracted. Go to this directory: framework-res\res\layout
Look for a file named status_bar.xml
[attachment=69761:1_1.png]
Now once you have found it. Open HxD Hex Editor and drag status_bar.xml into it.
Now once you have done that, press the search tab and click find 08 00 00 1C. change text string to hex value.
The first one should come out: [Now in the photo you see the red box Change it to FF FF FF.]
[attachment=69762:2_2.png]
We are not done yet. Do The same thing again search for 08 00 00 1C.
This is what you should get: [Now in the photo you see the red box Change it to FF FF FF.]
[attachment=69763:3_3.png]
One you change it save it but don't close it just yet. There's another few more steps you need to do.
Now search for 39 00 01 01.
You should get this: [Now in the photo you see the red box change it to 1C FF FF FF FF.]
[attachment=69764:4_4.png]
Now save it and close Hex editor. Open your framework-res.apk with 7-Zip and drag your edited Status_bar.xml in it and save.
Use o2bupdate.tar.gz to update or you can simply use adb usb. Remember if you use o2bupdate.tar.gz the should contain \system\framework\ in order for it to be updated. save goes to service jar.
Now this is what you should get after the update :
[attachment=69765:Tada_2.png]
Further Developement =D =D
Further Developement =D =D Further Developement =D =D

[TUTORIAL] How to Port/Convert Boot Animations

Ok...by request, here's a pretty simple boot animation porting/converting tutorial.
IF THE BOOT ANIMATION YOU'RE TRYING TO PORT IS FOR SMALLER SCREENS:
First off...if the frames are too small, it will look crappy and stretched. That being said, try to find something that is remotely close to the 480 X 800 screen size...or resize each individual frame. If the frame size is somewhat close to 480 X 800, then all you have to do is change how the boot animation is being read in the desc.txt file.
- Unzip the boot animation you're trying to convert
- Open the file named "desc.txt" in notepad
- Change the screen size to your desired size
EXAMPLE: If the desc script looks like this...
Code:
[B][COLOR="Red"]400 700[/COLOR][/B] 30
p 1 0 part0
p 0 0 part1
...then change it to this...
Code:
[B][COLOR="Red"]480 800[/COLOR][/B] 30
p 1 0 part0
p 0 0 part1
- Click save (do not change file name)
- Now zip up frame folders and desc.txt file
- Make sure you use "store" compression method
- Now double click on zip and delete the file named "Thumbs.db" from all of the frame folders
OPTIONAL: I like to convert the frames to a format with a smaller file size. If the boot animation consists of more than 150 frames, and are in .PNG format, chances are your boot animation is going to be more than 5-6mb. If you've resized the .PNG frames to a bigger size...then you'll end up with a 15-20mb boot animation. If this is the case, just convert them to .JPG format.
IF THE BOOT ANIMATION YOU'RE TRYING TO PORT IS FOR BIGGER SCREENS:
You can just alter the desc script if you want, but if the frame size is alot bigger (tablet sized), then you'll need to do the following:
- Unzip the boot animation you're trying to convert
- Re-size all frames in all frame folders to desired size (TIP: "PIXresizer" will resize multiple files)
- If making a portrait boot animation, you have to rotate all the frames
- Open the file named "desc.txt" in notepad
- Change the screen size to your desired size
EXAMPLE: If the desc script looks like this...
Code:
[B][COLOR="Red"]500 1200[/COLOR][/B] 30
p 1 0 part0
p 0 0 part1
...then change it to this...
Code:
[B][COLOR="Red"]480 800[/COLOR][/B] 30
p 1 0 part0
p 0 0 part1
- Now zip up frame folders and desc.txt file
- Make sure you use "store" compression method
- Now double click on on zip and delete the file named "Thumbs.db" from all of the frame folders
TO SPEED UP/SLOW DOWN FRAMERATE (animation play speed)
If your boot animation seems to be playing too fast or too slow, then do the following:
- Unzip the boot animation
- Open the file named "desc.txt" in notepad
- Now, change the framerate
EXAMPLE: Change the two digit number after the frame size to desired framerate...
Code:
480 800 [B][COLOR="Red"]30[/COLOR][/B]
p 1 0 part0
p 0 0 part1
That's it! Enjoy
Thank you for posting this!
elephant007 said:
Thank you for posting this!
Click to expand...
Click to collapse
Np
10char
I have a feeling I know the answer to this, but any chance you know how to convert to the qmg format fir stock ROM?
jedwardmiller said:
I have a feeling I know the answer to this, but any chance you know how to convert to the qmg format fir stock ROM?
Click to expand...
Click to collapse
Not possible at this time.
Never mind, I decided to start a new thread with my question...
http://forum.xda-developers.com/showthread.php?p=19484808
BUMPED!!!!
...so that we can start seeing more boot animations in this mug.

[HOW TO] MOD Files with APKTool

APKTool.zip (with Signed Files & Tools) has these files inside...
_____________________________________________________
! SGS3 (TMobile) Signed Files - framework-res (4.1.1)
! SGS3 (TMobile) Signed Files - SystemUI (4.1.1)
! Instructions + Info.txt
! Tool - 7-Zip v9.20 installer.exe
! Tool - Notepad++ 6.2.3 installer.exe
aapt.exe (from Android SDK Files {adt-bundle-windows-x86\sdk\platform-tools}) Android SDK
apktool.jar (APKTool v1.5.1 - Newest Release 12-28-2012) APKTool
*** Works on Windows x86 32 bit (NOT Tested on 64 bit)
Must have installed on Windows
__________________________
Java {I use Java Runtime Environment 1.7.0.10} Java 32bit
Notepad++ {Editing tool}
7-Zip (or WinRAR)
! Instructions + Info on Post #2
Download : APKTool.zip
Other Similar Helpful Links (that relate)...
Link #1- [How To] Use and install APKtool (v6ser)
Link #2- [How To} Setup use APKtool (RMarkwald)
Update: I check on this thread only once a week to answer questions. So be patient.
! Instructions + Info
NOTES
__________________________________________________________________
*** to "ADD Back SIGNED Files", open up newly created .apk with 7-Zip (or WinRAR) and add in (META-INF folder + AndroidManifest.xml)
.apk NEED'S to be SIGNED, .jar DOESN'T
Doesn't matter which set is used, as long as they are a MATCHING SET. (META-INF folder + AndroidManifest.xml)
APKTOOL LINES Explained
__________________________________________________________________
LINE apktool if framework-res.apk (Creates this file... C:\Documents and Settings\{your username}\apktool\framework\1.apk)
-that created "1.apk" file has "resources.arsc" inside.
-It's only Needed to run 1st time to register file with APKTool
LINE apktool d {file name} (De-Compiles to {file named folder -".apk" or +".out"})
LINE apktool b {folder name} (Compiles to {folder name}\dist)
Instructions : How to Use Apktool
__________________________________________________________________
1. Extract the "APKTool.zip" file to C:\ so that it looks this C:\APKTool
2. Extract "framework-res.apk" from your ROM's "system\framework" folder & put file into C:\APKTool
3. Copy any file(s) to edit to your C:\APKTool folder {xxx.apk, xxx.jar}
4. In Windows, get to your CMD box (in WinXP - Start Menu - Run - CMD)
CD:\apktool
apktool if framework-res.apk
{Example #1 - Editing framework-res.apk}
________________________________________
apktool d framework-res.apk
...{edit file(s) with Notepad++}
apktool b framework-res
...{add back SIGNED Files}
{Example #2 - Editing SystemUI.apk}
___________________________________
apktool d systemui.apk
...{edit file(s) with Notepad++}
apktool b systemui
...{add back SIGNED Files}
{Example #3 - Editing android.policy.jar}
_________________________________________
apktool d android.policy.jar
...{edit file(s) with Notepad++}
apktool b android.policy.jar.out
{Example #4 - Editing services.jar}
___________________________________
apktool d services.jar
...{edit file(s) with Notepad++}
apktool b services.jar.out
5. Finished !
I created this thread, as to not clutter up a ROM that I posted. Now I can help others who use it here!
ktmdave7 said:
APKTool.zip (with Signed Files & Tools) has these files inside...
_____________________________________________________
! SGS3 (TMobile) Signed Files - framework-res (4.1.1)
! SGS3 (TMobile) Signed Files - SystemUI (4.1.1)
! Instructions + Info.txt
! Tool - 7-Zip v9.20 installer.exe
! Tool - Notepad++ 6.2.3 installer.exe
aapt.exe (from Android SDK Files {adt-bundle-windows-x86\sdk\platform-tools}) Android SDK
apktool.jar (APKTool v1.5.1 - Newest Release 12-28-2012) APKTool
*** Works on Windows x86 32 bit (NOT Tested on 64 bit)
Must have installed on Windows
__________________________
Java {I use Java Runtime Environment 1.7.0.10} Java 32bit
Notepad++ {Editing tool}
7-Zip (or WinRAR)
! Instructions + Info on Post #2
Download : APKTool.zip
Other Similar Helpful Links (that relate)...
Link #1- [How To] Use and install APKtool (v6ser)
Link #2- [How To} Setup use APKtool (RMarkwald)
Click to expand...
Click to collapse
Thanks for this. Maybe people will stop demanding so much and start to experiment and learn themselves....
Thanks, I've been having trouble using apkmanager and needed to get a good setup with apktools for editing framework. I'll give this a go and a very special thanks for the instructions!
Noellenchris
Ok, for me I have to type apktool.jar d framework-res.apk and then I edited \values\arrays.xml and when I type apktool.jar b framework-res it created a build/apk folder but it is empty... Any ideas? I was trying jovy's tethering mod. I also ran aptool.jar if framework-res.apk first and verified the user folder was created with a file called 1.apk. Probably a noob question and I apologize in advance.
I have also previously reinstalled JRE for both normal and x64 versions plus ensured they are added to my path environment. I also added a JAVA_HOME entry and added the path in the values to my JRE path. Hmmm....that's about it I guess for now.
Thanks
dude thanks so much.
i needed someone to hold my hand through this. ill try it once im off work.
when I use this tool on (Windows XP 32bit), I get "Build" folder, when it tries to Compile (and it can be empty, if it tried to compile and got interrupted, or possibly a error)
I usually delete these 2 folders (build + dist)... (if they are there) right before a Re-compile.
\build = project folder of Re-compiling.
\dist = project Newly created .apk (or .jar) file goes.
Working with APKTool is easy... but you learn the most by using a lot and testing it yourself. I try many different methods and recheck the file if did 1 way, then I try another way and see if any thing is changed by another method (lots of comparing and confidence builds this way) Something that is tuff to explain in Text and in Instructions, but eventually, you have confidence in file comparisons and makes sense then.
*** Sometimes I see different Text words, that seam like could be error (but to me Error text, is when the CMD box filles with much extra TEXT and you can tell it messed up... NOT just 1 text line of code)
noellenchris said:
Ok, for me I have to type apktool.jar d framework-res.apk and then I edited \values\arrays.xml and when I type apktool.jar b framework-res it created a build/apk folder but it is empty... Any ideas? I was trying jovy's tethering mod. I also ran aptool.jar if framework-res.apk first and verified the user folder was created with a file called 1.apk. Probably a noob question and I apologize in advance.
I have also previously reinstalled JRE for both normal and x64 versions plus ensured they are added to my path environment. I also added a JAVA_HOME entry and added the path in the values to my JRE path. Hmmm....that's about it I guess for now.
Thanks
Click to expand...
Click to collapse
Found my issue, my edit on the arrays.xml was bad, I kept forgetting to add a /> at the end of the edit. duh. Glad it didn't compile and I ended up with some crazy errors on my phone... Lesson learned.
Noellenchris
I cant delete files from folder-apktool after decompile, compile, give permission but dont cant delete.I on win 8.How delete
very useful. Thanks!

Bootanimation, more information, more questions

Hello,
who has some more Information about the Bootanimations?
Maybe we can create a WIKI Thread for it: http://forum.xda-developers.com/wiki/Hui_Fei_Type
Malaysk has here a thread about BOOTANIMATIONS.
http://forum.xda-developers.com/showpost.php?p=62776842&postcount=18539
But maybe anybody want to create a bootanimation, what a important for that?
Maybe we can bring here some information togehter.
Then i start to edit this first thread to bring all information together.
Questions:
- Which pixelsize can the animation have for a: 1024 x 600 or 800 x 480 ?
- Which files are possible JPG GIF PNG ?
- How many pictures can the animation have?
- Is this the structur for the animation? What are important for that? What are the "Parts" mean?
FOLDER: bootanimation_dancing_droids
------- FOLDER: part0
-------------- d001.jpg
-------------- d002.jpg
-------------- d003.jpg
........
------- FOLDER: part1
-------------- e001.jpg
-------------- e002.jpg
-------------- e003.jpg
........
------- FILE: desc.txt
- What are inside the desc.txt file? What does it mean?
800 480 20
p 1 0 part0
p 0 0 part1
- How must the filename for the animation are?
- This are a part from the Installation instruction from Malaysk. How can i give this right to the zip (Which Programm???, which menue?)?
5. Next, copy bootanimation_dancing_droids.zip file below the animation to a folder \ system \ mtc \ and give rights 644 (ie rw-r-r)
More questions or answers please here in that thread.
Many, many Informations and Tools for the Bootanimations:
http://forum.xda-developers.com/showthread.php?t=2756198

Categories

Resources