[Q] 5 Column App Drawer Rosie - Droid Incredible Q&A, Help & Troubleshooting

So I've been digging through the xml files in the Desire Z Rosie, pulling xml's from other 5 column Rosies to compare, and attempting different combinations to get this figured out, but I'm afraid I've run out of ideas.
I was wondering if any of the devs here could point me in the right direction or give some pointers. I would like to actually do the act itself, but I am in need some slight guidance here.
Thank you all.
Sent from my Incredible using XDA App

RegnierD said:
So I've been digging through the xml files in the Desire Z Rosie, pulling xml's from other 5 column Rosies to compare, and attempting different combinations to get this figured out, but I'm afraid I've run out of ideas.
I was wondering if any of the devs here could point me in the right direction or give some pointers. I would like to actually do the act itself, but I am in need some slight guidance here.
Thank you all.
Sent from my Incredible using XDA App
Click to expand...
Click to collapse
The file that you need to change is /res/layout/all_apps_view.xml When you open the file it will look something like this
Code:
<?xml version="1.0" encoding="UTF-8"?>
<com.htc.launcher.AllAppsView android:layout_width="fill_parent" android:layout_height="fill_parent" android:inAnimation="@anim/fade_in" android:outAnimation="@anim/fade_out"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.htc.launcher.AllAppsListView android:id="@id/content_list" android:background="@color/add_to_home_background" android:nextFocusLeft="@id/content_list" android:nextFocusRight="@id/content_list" android:nextFocusUp="@id/content_list" android:nextFocusDown="@id/content_list" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<com.htc.launcher.AddWidgetLayout android:id="@id/content_add_to_home" android:background="@color/add_to_home_background" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<com.htc.launcher.AllAppsGridView android:scrollbarStyle="outsideOverlay" android:id="@id/content_grid" android:background="@color/add_to_home_background" android:nextFocusLeft="@id/content_grid" android:nextFocusRight="@id/content_grid" android:nextFocusUp="@id/content_grid" android:nextFocusDown="@id/content_grid" android:layout_width="fill_parent" android:layout_height="fill_parent" android:listSelector="@drawable/grid_selector" android:drawSelectorOnTop="false" android:verticalSpacing="@dimen/launcher_aagv_vertical_spacing" android:numColumns="4" />
<com.htc.launcher.PersonalizeListView android:id="@id/personalize_list_view" android:layout_width="fill_parent" android:layout_height="fill_parent" />
</com.htc.launcher.AllAppsView>
And you will just change the part android:numColumns=”4” to android:numColumns=”5” then save the file, compile it back to an apk with references set from com.htc.resources.apk

Awesome. Thanks a bunch. I've been doing everything with Root Explorer and a Windows Archiver, so I guess I'll give it a run with apktool on my Ubuntu partition. Thank you again.
Sent from my Incredible using XDA App

Don't forget that after you build the apk, you will need to copy the META-INF and AndroidManifest from the original apk to the new one. If you don't do this step you will get FC or bootloop upon reboot.

GMPOWER said:
Don't forget that after you build the apk, you will need to copy the META-INF and AndroidManifest from the original apk to the new one. If you don't do this step you will get FC or bootloop upon reboot.
Click to expand...
Click to collapse
I'm not questioning you here, merely wondering if you know why that last step is necessary. I mean, those don't get directly modified in the process, so why do they need to get copied over?
Sent from my ADR6300 using XDA App

RegnierD said:
I'm not questioning you here, merely wondering if you know why that last step is necessary. I mean, those don't get directly modified in the process, so why do they need to get copied over?
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
I completely understand your thought process on it. You can read a little about it in this post, http://forum.xda-developers.com/showpost.php?p=8071523&postcount=27.
If you open the APK that apktool outputs you will see that the META-INF folder is missing. The META-INF folder holds the files that sign the APK. Since Rosie is a system APK, it uses a proprietary signature that can't be reproduced from the signing programs out their that use a general signature to sign the file. This is why we transfer the META-INF folder from the original.
The reason that you transfer the manifest is really just to be on the safe side. Since you are not changing anything in the manifest, using the original file is a good way to avoid any formatting or structure changes that might have happened when using the tool.

GMPOWER said:
I completely understand your thought process on it. You can read a little about it in this post, http://forum.xda-developers.com/showpost.php?p=8071523&postcount=27.
If you open the APK that apktool outputs you will see that the META-INF folder is missing. The META-INF folder holds the files that sign the APK. Since Rosie is a system APK, it uses a proprietary signature that can't be reproduced from the signing programs out their that use a general signature to sign the file. This is why we transfer the META-INF folder from the original.
The reason that you transfer the manifest is really just to be on the safe side. Since you are not changing anything in the manifest, using the original file is a good way to avoid any formatting or structure changes that might have happened when using the tool.
Click to expand...
Click to collapse
Hmmm, interesting. That makes sense though. Thank you!
Sent from my ADR6300 using XDA App

Related

[Q] Guides for Theme'ing?

Let me first start off by saying I do not know much. So I am asking if anyone knows of some beginner guides to start creating my own theme's.
1) Is it basically scripting? Or will I have to write completely new code for all my functions... By the way, I fail at programming, so please inform me so I don't waste my time.
2) Would someone like me who does not know much scripting, have a hard time doing this or is it relatively quick to pick up?
3) Is it done on the phone or through the ADB Shell?
Thanks a bunch in advance.
It is done with photoshop and 7zip......all it is is replacinng drawable icons from the res folder
Sent from my ADR6300 using XDA App
jdkoreclipse said:
It is done with photoshop and 7zip......all it is is replacinng drawable icons from the res folder
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
Thanks for the quick reply, do you have any possible examples to show me how to do this?
You going to do your editing on the computer. I believe the command is
Code:
adb remount
adb pull framework-res.apk /Desktop/Theme
/Desktop/Theme is a directory you create on your computer. If adb pull doesn't work just download what ever rom your using to your computer and copy and paste framework-res.apk out of /system/framework.
Afterwards you can use 7zip to find the files you wish to edit. Its been a while for me but i believe most files are located in drawable-hdpi. Use Gimp or Photoshop to edit whatever images you want to. Do not edit any images with file extensions .9pngs as they require some additional steps, and can cause issues when you try and put it back on your phone.
Once your done move the files to the tools directory of sdk. cd to that directory and run..
Code:
adb remount
adb push framework-res.apk /system/framework
adb reboot
That should work for personal reasons. If your looking to create an update.zip to release for others i can help you with that too.
tcberg2010 said:
You going to do your editing on the computer. I believe the command is
Code:
adb remount
adb pull framework-res.apk /Desktop/Theme
/Desktop/Theme is a directory you create on your computer. If adb pull doesn't work just download what ever rom your using to your computer and copy and paste framework-res.apk out of /system/framework.
Afterwards you can use 7zip to find the files you wish to edit. Its been a while for me but i believe most files are located in drawable-hdpi. Use Gimp or Photoshop to edit whatever images you want to. Do not edit any images with file extensions .9pngs as they require some additional steps, and can cause issues when you try and put it back on your phone.
Once your done move the files to the tools directory of sdk. cd to that directory and run..
Code:
adb remount
adb push framework-res.apk /system/framework
adb reboot
That should work for personal reasons. If your looking to create an update.zip to release for others i can help you with that too.
Click to expand...
Click to collapse
Excellent, thank you, I will give it a shot!
tcberg2010 said:
You going to do your editing on the computer. I believe the command is
Code:
adb remount
adb pull framework-res.apk /Desktop/Theme
/Desktop/Theme is a directory you create on your computer. If adb pull doesn't work just download what ever rom your using to your computer and copy and paste framework-res.apk out of /system/framework.
Afterwards you can use 7zip to find the files you wish to edit. Its been a while for me but i believe most files are located in drawable-hdpi. Use Gimp or Photoshop to edit whatever images you want to. Do not edit any images with file extensions .9pngs as they require some additional steps, and can cause issues when you try and put it back on your phone.
Once your done move the files to the tools directory of sdk. cd to that directory and run..
Code:
adb remount
adb push framework-res.apk /system/framework
adb reboot
That should work for personal reasons. If your looking to create an update.zip to release for others i can help you with that too.
Click to expand...
Click to collapse
Just noticed you are an expectant father, congratulations. I have a 6 month old, who is a ton of fun!
Ok, so I went through 'astro' found the file framework-res.apk inside of /system/framework as you stated above, the only problem is from adb shell, whenever I run pull, it gives me the following message:
Code:
'remote object 'framework-res.apk' does not exist'
I have debugging turned on, so I should have access, and adb mounted just fine...
If you have any ideas, I would appreciate it.
bboydp said:
Just noticed you are an expectant father, congratulations. I have a 6 month old, who is a ton of fun!
Ok, so I went through 'astro' found the file framework-res.apk inside of /system/framework as you stated above, the only problem is from adb shell, whenever I run pull, it gives me the following message:
Code:
'remote object 'framework-res.apk' does not exist'
I have debugging turned on, so I should have access, and adb mounted just fine...
If you have any ideas, I would appreciate it.
Click to expand...
Click to collapse
try mounting the partitions through Clockword Recovery. I've had issues in the past where a partition wasn't mounted, therefore the computer couldn't find it.
Hope it works, i'm looking to start theming some as well and this looks like it'll help!
Thank you. I don't think u need to be in adb shell. Try using astro to copy and paste that framework-res.apk to ur sdcard. Then just disk drive ur card and remove it.
Sent from my ADR6300 using XDA App
MMBosstones86 said:
try mounting the partitions through Clockword Recovery. I've had issues in the past where a partition wasn't mounted, therefore the computer couldn't find it.
Hope it works, i'm looking to start theming some as well and this looks like it'll help!
Click to expand...
Click to collapse
Thank you, I will keep that in mind.
tcberg2010 said:
Thank you. I don't think u need to be in adb shell. Try using astro to copy and paste that framework-res.apk to ur sdcard. Then just disk drive ur card and remove it.
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
Lol, that works easily... thanks!
ok so i've used 7zip to pull the images from the drawable icons folder out of the framework res what's the simplest way to say add transparency to my notification window would I use Photoshop for this?
Also interested in a guide for this.
Sent from my ADR6300 using XDA App
HeyItsLou said:
ok so i've used 7zip to pull the images from the drawable icons folder out of the framework res what's the simplest way to say add transparency to my notification window would I use Photoshop for this?
Click to expand...
Click to collapse
Yes with photoshop you manipulate the image's transparency using a ton of different tools but the easiest being the blend tool by simply double clicking on the image in the layers pallet
EDIT* Hopefully that makes sense lol
jdkoreclipse said:
It is done with photoshop and 7zip......all it is is replacinng drawable icons from the res folder
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
dont forget xml files, for fully rounded theme you will have to modify some of these!
So you want to know how to theme heh. Cool, we need more themers!
Here is a guide to get you started:
The Ultimate Android Themeing Guide
Can't afford Photoshop? No problem, download Gimp, its free and will work great for themeing.
Download for Gimp
Dont know how to do something with your theme? Google to the rescue. For example; say you want to add a transparency to your image. Just google "how to add transparency with Gimp". Google can answer all your questions.
Couple things to keep in mind while themeing.
1: Dont change the size of the default image
2: Some images are 8-bit paletted. You are really limited on what you can do in 8-bit. While in your graphics program change the image to 24bit rgb or 32bit cmyk, do your edits then change the image back to 8-bit when you are done.
Instead of using adb to pull the apk's I want to edit I just extract them from the ROM itself. If you download your ROMS from ROM Manager they can be found on your SD card in the clockworkmod/download folder. For example Skyraider can be found in clockworkmod/download/pcjock.com/skyraider/Roms folder.
Inside the rom zip file you will see a folder structure similar to data/meta-inf/system/tools etc. There are 2 main apk's you are looking for:
framework-res.apk - this is the main "theme" area for droid devices
com.htc.resources.apk - this is the main "theme" area for sense based roms
Both of these can be found in the system/framework folder within the zip of the ROM. Editing these 2 apk's will theme about 80% of your overall look of the phone. The other 20% use their own png's found within the apk of that particular app. These apps can be found in system/app of the ROMS zip file.
What I do when editing a apk is extract the apk to my desktop. After I have the apk I want to edit there I open it up with 7zip and extract the whole res folder to my desktop (keep the apk open in 7zip so you can add the res folder back in after your edits). All the pngs you want to edit will be in the drawable folders (ie drawable, drawable-hdi, etc)
Pay close attention to the png files you edit. If it has a .9 in its name you need to take some extra steps when editing the file. A guide on editing .9 pngs can be found here. After you have made your png edits drag the res folder from your desktop back into the apk in 7zip. After that you need to create a update.zip file with your new theme in it. I use apk sign which can be found here. Thats it, your theme should be ready to go.
I hope this helps some. When in doubt do what I did, research, google, research and google some more.
Good luck!
djkms said:
So you want to know how to theme heh. Cool, we need more themers!
Here is a guide to get you started:
The Ultimate Android Themeing Guide
Can't afford Photoshop? No problem, download Gimp, its free and will work great for themeing.
Download for Gimp
Dont know how to do something with your theme? Google to the rescue. For example; say you want to add a transparency to your image. Just google "how to add transparency with Gimp". Google can answer all your questions.
Couple things to keep in mind while themeing.
1: Dont change the size of the default image
2: Some images are 8-bit paletted. You are really limited on what you can do in 8-bit. While in your graphics program change the image to 24bit rgb or 32bit cmyk, do your edits then change the image back to 8-bit when you are done.
Instead of using adb to pull the apk's I want to edit I just extract them from the ROM itself. If you download your ROMS from ROM Manager they can be found on your SD card in the clockworkmod/download folder. For example Skyraider can be found in clockworkmod/download/pcjock.com/skyraider/Roms folder.
Inside the rom zip file you will see a folder structure similar to data/meta-inf/system/tools etc. There are 2 main apk's you are looking for:
framework-res.apk - this is the main "theme" area for droid devices
com.htc.resources.apk - this is the main "theme" area for sense based roms
Both of these can be found in the system/framework folder within the zip of the ROM. Editing these 2 apk's will theme about 80% of your overall look of the phone. The other 20% use their own png's found within the apk of that particular app. These apps can be found in system/app of the ROMS zip file.
What I do when editing a apk is extract the apk to my desktop. After I have the apk I want to edit there I open it up with 7zip and extract the whole res folder to my desktop (keep the apk open in 7zip so you can add the res folder back in after your edits). All the pngs you want to edit will be in the drawable folders (ie drawable, drawable-hdi, etc)
Pay close attention to the png files you edit. If it has a .9 in its name you need to take some extra steps when editing the file. A guide on editing .9 pngs can be found here. After you have made your png edits drag the res folder from your desktop back into the apk in 7zip. After that you need to create a update.zip file with your new theme in it. I use apk sign which can be found here. Thats it, your theme should be ready to go.
I hope this helps some. When in doubt do what I did, research, google, research and google some more.
Good luck!
Click to expand...
Click to collapse
Thanks a lot for that post, exactly what I was looking for.
1 quick question, I was just trying to make a transparent background for my SmoothCalendar Widget, and I edited it in gimp fine, readded the png to the apk, moved the apk back to my sd card, but when I went to install it it just said "cannot install" from what I was reading, this is a signing issue -- is that where the apk sign program you linked comes into play?
scrdy said:
Thanks a lot for that post, exactly what I was looking for.
1 quick question, I was just trying to make a transparent background for my SmoothCalendar Widget, and I edited it in gimp fine, readded the png to the apk, moved the apk back to my sd card, but when I went to install it it just said "cannot install" from what I was reading, this is a signing issue -- is that where the apk sign program you linked comes into play?
Click to expand...
Click to collapse
That would be my guess. Attached is the program I use to sign single apk's (the one I linked earlier is a bit more involved and I use it for themes only).
With the one attached I would suggest using a public key, no need that I can see in using a private key (its more pain then its worth).
Also, I would suggest uninstalling the app before installing the one you themed, most will error out when installing (in my experience anyways).
There is a tutorial link in the zip file on how to sign your apk's. If you need some clarification let me know.
my problem (which is why I've never finished some of my themes) is that signing apk's never works for me
djkms said:
That would be my guess. Attached is the program I use to sign single apk's (the one I linked earlier is a bit more involved and I use it for themes only).
With the one attached I would suggest using a public key, no need that I can see in using a private key (its more pain then its worth).
Also, I would suggest uninstalling the app before installing the one you themed, most will error out when installing (in my experience anyways).
There is a tutorial link in the zip file on how to sign your apk's. If you need some clarification let me know.
Click to expand...
Click to collapse
I'll give that a go when I get home from work -- thanks for your help.
Excellent thread! I've been poking all around the place trying to find this info...

[REQ] Battleheart hack/money cheat

Trust me I have searched t'internet to no avail.
I don't need or want people asking me why I want to cheat in this game...needless to say I had a Galaxy S II stolen and lost a 12hour worth save of this game.
I'm amazed that the iPhone version has an easy hack... but nobody has been able to do this in the wonderful Android community....
Anyway... I offer a beer to whoever can help me with this (or the first person to haha)... I promise.
Thanks in advance.
Really, nobody has a clue on this one? I previously found a couple of properties files but for some reason can't find them now...
I'm serious about donation too
Sent from my GT-I9100 using XDA App
kickassdave said:
Really, nobody has a clue on this one? I previously found a couple of properties files but for some reason can't find them now...
I'm serious about donation too
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
Really not that much harder than doing it on the iphone.
If you got titanium backup then backup the game then open com.KelliNoda.Battleheart-20110702-203401.tar
you get a folder called data.
then thers some folders inside it.
correct path to the directory where the file is you want to edit is data\data\com.KelliNoda.Battleheart\shared_prefs
thers an XML file in there, edit that one to your liking.
For the gold i edited this line
<int name="1gold" value="xxx" />
where x is the amount of gold you currently have on the what i assume is first save
i changed it to <int name="1gold" value="999" />
and i had 999 gold.
basically just edit it along and see what happens.
Not really sure where this XML file is located on your phone but since titanium is free on market you might as well use it
Some quote for an easier editing
Also if you want to change their level just look for
1partyDB#level. Replace the # with 0-8. Each number corresponding to a party member.
To edit their power and defense, look for
1partyDB#power and 1partyDB#defense. Replace the # with 0-8.
Click to expand...
Click to collapse
the # correspond with the heroes that you have. 0 is lucille, 1 is shepherd. and so forth
here's an example:
<key>1partyDB1power</key> <---- the first '1' corresponds to the save file. the second '1' correspond to the character (shepherd)
<integer>75</integer> <---- change this to change his attack power.
take a look at the picture I've attached to get a better understanding.
Please note that this was done with version 1.0.0.
I haven't tried it with the newer version yet.
Edit: I tried it with the newer version and it works still.
Also the best way to look for the hero's value is just to search for their name and then most of the value you would want to change would be just right above their name. [power level is right below their name though]
Click to expand...
Click to collapse
To change lucilles level look for
1partyDB0level and change it to
Code:
<int name="1partyDB0level" value="30" />
for shepherd look for 1partyDB1level and chance it to
Code:
<int name="1partyDB1level" value="30" />
so both
here's my xml file http://www.mediafire.com/?27gtc0ch59exxob where i got all possible partymembers at lvl 30 and lucille/shepherd at lvl 40 and and little over 23 million gold.
firstly make sure you got a folder called TitaniumBackup on your SDcard, if its not there then open titanium backup and make a backup of battleheart or if you havnt made a backup of battleheart then make sure you do that before moving on.
Put the above mentioned file into the TitaniumBackup dir.
unmount your SDcard
run titanium and choose to restore data only to battleheart.
then run battleheart and you should find a savegame called goa200
I'm also sure you could simply do
Code:
ADB push com.KelliNoda.Battleheart.xml /data/data/com.KelliNoda.Battleheart/shared_prefs/
but i dont have adb on this laptop so i never tried
just make sure you kill the battleheard process first
Thank you very much for your help. I owe you a beer. On my phone just now but you got a donate option I can send to?
I managed to work out how to do it from your first post. Only wanted to modify the gold but again thank you very much for the other information as well
Sent from my GT-I9100 using XDA App
kickassdave said:
Thank you very much for your help. I owe you a beer. On my phone just now but you got a donate option I can send to?
I managed to work out how to do it from your first post. Only wanted to modify the gold but again thank you very much for the other information as well
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
No need for any donate. i play battleheart as well and never thought it was that easy to cheat =)
kickassdave said:
Anyway... I offer a beer to whoever can help me with this (or the first person to haha)... I promise.
Thanks in advance.
Click to expand...
Click to collapse
I did promise! I think it's fair... but if you are sure it's ok... fair enough!
kickassdave said:
I did promise! I think it's fair... but if you are sure it's ok... fair enough!
Click to expand...
Click to collapse
and i kindly refuse said offer as it wasnt much of a thing to do =)
goa200 said:
No need for any donate. i play battleheart as well and never thought it was that easy to cheat =)
Click to expand...
Click to collapse
That's very nice of you dude, we appreciate the help. Thank you!
no matter how i edited the value, it wont stick. it kept returning back to original value.
edited: finally got it to work, i was using root explorer and it automatically restore backup file. thanks for the guide.
MorRoquen said:
That's very nice of you dude, we appreciate the help. Thank you!
Click to expand...
Click to collapse
I knew I wasn't the only person trying to work out how to do this... ended up doing a wee level hack as well haha.
Sent from my GT-I9100 using XDA App
when i edit the values it dont change, it back to the original, why?
My values go back to normal or the game force closes, what am I doing wrong? Nd I'm using version 1.13 arm
goa200 said:
here's my xml file http://www.mediafire.com/?27gtc0ch59exxob where i got all possible partymembers at lvl 30 and lucille/shepherd at lvl 40 and and little over 23 million gold.
firstly make sure you got a folder called TitaniumBackup on your SDcard, if its not there then open titanium backup and make a backup of battleheart or if you havnt made a backup of battleheart then make sure you do that before moving on.
Put the above mentioned file into the TitaniumBackup dir.
unmount your SDcard
run titanium and choose to restore data only to battleheart.
then run battleheart and you should find a savegame called goa200
I'm also sure you could simply do
Code:
ADB push com.KelliNoda.Battleheart.xml /data/data/com.KelliNoda.Battleheart/shared_prefs/
but i dont have adb on this laptop so i never tried
just make sure you kill the battleheard process first
Click to expand...
Click to collapse
thanks for the tip!
just a noob question. how do i edit the xml file inside the .tar.gz file? i tried extracting the contents and then editing the xml file but winzip cannot put it back into the .tar.gz file.
Y0sHii said:
My values go back to normal or the game force closes, what am I doing wrong? Nd I'm using version 1.13 arm
Click to expand...
Click to collapse
two things:
1) don't edit in windows. it inserts carriage return characters not compatible in Android/Linux/Mac's/etc. Download a text editor onto your phone (I used TextWarrior) or do it in Linux
2) make sure edited xml file has same owner, group and permissions as original xml file. Root Explorer can easily change owner/group/permissions.
aussiebum said:
2) make sure edited xml file has same owner, group and permissions as original xml file. Root Explorer can easily change owner/group/permissions.
Click to expand...
Click to collapse
I couldn't set owner/group even after the file was in /data/data/com.KelliNoda.Battleheart/shared_prefs/. Instead I just checked read/write for "Others" under permissions and that made it show up.
aph said:
I couldn't set owner/group even after the file was in /data/data/com.KelliNoda.Battleheart/shared_prefs/. Instead I just checked read/write for "Others" under permissions and that made it show up.
Click to expand...
Click to collapse
You can do it on a PC
If you take out the file and edit it using notepad, you can overwrite the file within the tar using 7zip without having to decompile and recompile the tar.
Open it up using 7zip, browse to the location of the XML file and click and drag your edited version in to overwrite. You'll get a couple of messages, ok them both and you're done. Now just move the tar file back to your titanium backup folder overwriting the original. Now restore your backup and hey presto.
Sent from my GT-I9100 using XDA App
kickassdave said:
You can do it on a PC
If you take out the file and edit it using notepad, you can overwrite the file within the tar using 7zip without having to decompile and recompile the tar.
Open it up using 7zip, browse to the location of the XML file and click and drag your edited version in to overwrite. You'll get a couple of messages, ok them both and you're done. Now just move the tar file back to your titanium backup folder overwriting the original. Now restore your backup and hey presto.
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
Using TB restore data on Battleheart yields FC's for me 100% of the time. After a phone crash, I've been working on restoring my chars (not interested in cheating) for 4 days, trying at least 2 dozen potential solutions.
The "Others r/w" hack works for me at the moment and after days of effort, I'm sitting happy getting it to work at all.
If it breaks again I'll give your method a shot. Thanks for the input!

bootanimation question

I've done some searching and cant seem to find the info i need. I am trying to change my bootanimation to a custom one with sound. I found a tutorial, but i cant seem to find the location to the boot animation in the rom i am using. I am using the energy 3.5 sense rom:
http://forum.xda-developers.com/showthread.php?t=1290300
i even used es file explorer but the only bootanimation i find is the one i installed in the root of the sd card to change it. where can i look to find the old bootani?
Check in these locations
System/customize/resource
System/data/local
System/media
dbenney said:
I've done some searching and cant seem to find the info i need. I am trying to change my bootanimation to a custom one with sound. I found a tutorial, but i cant seem to find the location to the boot animation in the rom i am using. I am using the energy 3.5 sense rom:
http://forum.xda-developers.com/showthread.php?t=1290300
i even used es file explorer but the only bootanimation i find is the one i installed in the root of the sd card to change it. where can i look to find the old bootani?
Click to expand...
Click to collapse
Better yet, look in /system/customize/CID and open (in a text editor) default.xml. Near the bottom of the file, it should give you the path to the folder where the system is looking for the bootanimation & startup sound. The below is from the Express 3.0.1 ROM. NRG's ROM should have similar information.
Code:
<BootConfiguration>
<[B]BootAnimation animation="/data/local/hTC_bootanimation.zip" audio="/system/customize/resource/android_audio.mp3"[/B] />
</BootConfiguration>
<ShutdownConfiguration>
<ShutdownAnimation image_png="/data/local/hTC_downanimation.zip" image="" fps="15" />
</ShutdownConfiguration>
Interesting, Cap. Didn't know about that.
Sent from my PC36100 using xda premium
Captain_Throwback said:
Better yet, look in /system/customize/CID and open (in a text editor) default.xml. Near the bottom of the file, it should give you the path to the folder where the system is looking for the bootanimation & startup sound. The below is from the Express 3.0.1 ROM. NRG's ROM should have similar information.
Code:
<BootConfiguration>
<[B]BootAnimation animation="/data/local/hTC_bootanimation.zip" audio="/system/customize/resource/android_audio.mp3"[/B] />
</BootConfiguration>
<ShutdownConfiguration>
<ShutdownAnimation image_png="/data/local/hTC_downanimation.zip" image="" fps="15" />
</ShutdownConfiguration>
Click to expand...
Click to collapse
ok guys... i found where the current one is which is where i need to send my new one. the location is system/customize/resource. i rename the current one to bootanimationold.zip, but when i try to move or copy the new one to that location from the root of my sd card it goes through the transfer process and then says the file couldnt be moved. i am using es file explorer. i have checked both root explorer and mount file system.
am i missing something or could the bootanimation i got be corrupt?
dbenney said:
ok guys... i found where the current one is which is where i need to send my new one. the location is system/customize/resource. i rename the current one to bootanimationold.zip, but when i try to move or copy the new one to that location from the root of my sd card it goes through the transfer process and then says the file couldnt be moved. i am using es file explorer. i have checked both root explorer and mount file system.
am i missing something or could the bootanimation i got be corrupt?
Click to expand...
Click to collapse
I don't believe its corrupt, but you can redownload to check.
On the other hand I've never had much luck with estrong as a "root explorer". I would recommend root explorer or root browser. Root explorer does cost but is worth it, while root browser has a free version I have not really used it.
Sent from my RamenizedEvo on Cricket.
just download it and change it with RC Tweaks
Glad you got it working.
Sent from my RamenizedEvo on Cricket.

Customizing graphics (maybe noobish question)

Less than an hour ago I decided to skin my statusbar. What I do is open SystemUI.apk with 7zip, extract everything from drawable folders and modify them. Now, I've got a question. Is it enough to replace png files in apk with modded ones, or I should somehow sign the apk file?
Thanks in advance.
Sent from nowhere
tajimura said:
Less than an hour ago I decided to skin my statusbar. What I do is open SystemUI.apk with 7zip, extract everything from drawable folders and modify them. Now, I've got a question. Is it enough to replace png files in apk with modded ones, or I should somehow sign the apk file?
Thanks in advance.
Sent from nowhere
Click to expand...
Click to collapse
Good question! I'm also interested in this.
Can't remember well whether it will work without resigning but I always sign the system apk / user apk after doing any modification.
Unsign apk normally get installed when it is placed at system/app but will not work when put it at sd-ext/app_s.
ckpv5 said:
Can't remember well whether it will work without resigning but I always sign the system apk / user apk after doing any modification.
Unsign apk normally get installed when it is placed at system/app but will not work when put it at sd-ext/app_s.
Click to expand...
Click to collapse
Got it. One more question - which tool do you use for signing?
Sent from nowhere
tajimura said:
Got it. One more question - which tool do you use for signing?
Sent from nowhere
Click to expand...
Click to collapse
Auto-sign for signing on PC and Signapktic (from Market) for signing on the phone.
ckpv5 said:
Auto-sign for signing on PC and Signapktic (from Market) for signing on the phone.
Click to expand...
Click to collapse
Thanks for the answers, now going to try that all
Sent from nowhere
Search for "apk tool" here on xda and you'll have what you need for theming and signing and more.
via xda app
System apps are NEVER signed.
If you don't extract (just open in 7zip or winrar) you can just drag new images in. If prompted for compression level, Choose "store". When finished, simply close the file with the x.
Only if you want to change xml files, need you decompile
Sent from my HTC Desire using Tapatalk
rootSU said:
System apps are NEVER signed.
If you don't extract (just open in 7zip or winrar) you can just drag new images in. If prompted for compression level, Choose "store". When finished, simply close the file with the x.
Only if you want to change xml files, need you decompile
Sent from my HTC Desire using Tapatalk
Click to expand...
Click to collapse
Umm, I thought that I have to sign it with "platform" key...
BTW, which PNG is responsible for statusbar background? The closest one I found is "statusbar_bg_tile", 1x1 black image. I want to use gradient background, and have created one full background image and one 9-patch, but dunno what to do - simply replace statusbar_bg_tile with statusbar_bg/statusbar_bg.9 or also modify some xml? In statusbar.xml I can't find any reference to statusbar_bg_tile PNG.
Sent from nowhere

[Q] Changing Carrier Name On CM10?

Okay i'm on CM10 and I want to change the "Virgin Mobile" to my Carrier's name "Alltel" how would I go about doing this the correct way? I've searched numerous forums and have not ran across a solution that works for me.
Google about editing eri.xml I'm pretty sure that's what changes your carrier name. If you need any further help let me know.
Its inside your /system/framework/framework-res.apk in the /res/XML folder. You can use 7zip on your PC to open the apk and extract the file for modification.
Sent from my One V using xda app-developers app
whoshotjr2006 said:
Google about editing eri.xml I'm pretty sure that's what changes your carrier name. If you need any further help let me know.
Its inside your /system/framework/framework-res.apk in the XML folder. You can use 7zip on your PC to open the apk and extract the file for modification.
Sent from my One V using xda app-developers app
Click to expand...
Click to collapse
I've tried a variation of that, I extracted the build.prop from the ROM I am wanting to install, 7zipped the framework apk file, extracted the eri.xml but when I open it in a HEX editor, the information is encrypted and I can't see much to edit, I tried locating the "Virgin Mobile" lines but had no luck even locating what I needed ot edit, as far as overwriting the old eri.xml placing it in the framework file, and replacing the old framework file with the altered one I can do, I am just having issues locating the information in a HEX editor, or even wordpad.
i uploaded an eri.xml that i edited to say Alltel. My phone says alltel now, use hxd (or your hex editor, i recommend hxd personally) to follow the directions on the picture attached. Highlight the words Virgin Mobile, and start typing Alltel, and you will probably have to add spaces behind it (or in 3 spaces in front of it and 3 (? or 4) spaces behind it to center it better than i did) so it doesnt change the size of the file. Save it, put it back into your framework-res.apk, and push it back to /system/framework
The eri.zip i attached is an already done copy, the instructions are just for your future reference.
Enjoy!
(make sure you have a good backup of your framework-res.apk to fall back on before you push the new one to its spot)
Awesome, took your advice, but so I can learn by doing, i just manually took apart the ROM and edited the files needed and just put them bacl, reflashed ROM, and boom, it says what I wanted, thank's alot man, greatly appreciated.

Categories

Resources