was looking around and was not able to find the OEM directory for walpapers/live wallpapers for the DS7, is it in a special directory or a designated android OS directory? I presume it is in one of the directories which would require rooting to access (already done) like the system folder. I was also trying to add/remove various audio (.ogg) files which I found in the /system/media/audio folders. I was able to copy them but it seems I cant edit/add/replace the files. Which I believe is because I need to change the directory from (R) read only to (RW) read/write in order to make changes to it, which I presume means I need to unmount/mount the directory or drive first - can someone point me in the right direction please. I am still kinda a noob for things like ADB and terminal emulator but I am learning.
Thanks in advance for any help in this modification.
sent from my DS7
crockashat said:
was looking around and was not able to find the OEM directory for walpapers/live wallpapers for the DS7, is it in a special directory or a designated android OS directory? I presume it is in one of the directories which would require rooting to access (already done) like the system folder. I was also trying to add/remove various audio (.ogg) files which I found in the /system/media/audio folders. I was able to copy them but it seems I cant edit/add/replace the files. Which I believe is because I need to change the directory from (R) read only to (RW) read/write in order to make changes to it, which I presume means I need to unmount/mount the directory or drive first - can someone point me in the right direction please. I am still kinda a noob for things like ADB and terminal emulator but I am learning.
Thanks in advance for any help in this modification.
sent from my DS7
Click to expand...
Click to collapse
Give ES File Explorer a shot:
https://market.android.com/details?id=com.estrongs.android.pop&feature=search_result
It's free and will do root exploration (requires that you set the home directory to "/" and enable rw, which are all easy to find in the menu). You can then edit, delete, and rename your files with aplomb.
Thanks for the info on ES file explorer. I was able to revise files in the media/audio folder. works rather well.
I am still having trouble locating the wallpaper and live wallpaper files. (wife wants live wall paper from her SGs4g on the tablet as well).
crockashat said:
Thanks for the info on ES file explorer. I was able to revise files in the media/audio folder. works rather well.
I am still having trouble locating the wallpaper and live wallpaper files. (wife wants live wall paper from her SGs4g on the tablet as well).
Click to expand...
Click to collapse
Which one is it? I'm sure it can be found on the ol' interwebz.
I found live wallpaper installers in system / app
the specific one she is looking for looks like a water puddle (rocky background) with autum leaves (red, yellow, orange) floating around with raindrops.
There are a few other cool ones I like as well, but they are more for the tech geek types (which the wife is not). The main thing I am having trouble with is finding the specific directory in which the wallpapers and live wallpapers are located. from some of the previous posts in various forums it is probably located inside a .apk file, but the actual directory where the images (or .apk file) are located seems to vary with each device which is making it harder to locate. I would actually like to aggregate a collection together and be able to install it on all my devices (LG G2x, DS7 and TF101)
QUOTE:
I found live wallpaper installers in system / app
RESPONSE:
Thanks I will take a look and see what I can find out, if they are images it should be pretty straight forward if inside an .apk file I will have to figure out how to edit and re-assemble so it will work
crockashat said:
the specific one she is looking for looks like a water puddle (rocky background) with autum leaves (red, yellow, orange) floating around with raindrops.
There are a few other cool ones I like as well, but they are more for the tech geek types (which the wife is not). The main thing I am having trouble with is finding the specific directory in which the wallpapers and live wallpapers are located. from some of the previous posts in various forums it is probably located inside a .apk file, but the actual directory where the images (or .apk file) are located seems to vary with each device which is making it harder to locate. I would actually like to aggregate a collection together and be able to install it on all my devices (LG G2x, DS7 and TF101)
QUOTE:
I found live wallpaper installers in system / app
RESPONSE:
Thanks I will take a look and see what I can find out, if they are images it should be pretty straight forward if inside an .apk file I will have to figure out how to edit and re-assemble so it will work
Click to expand...
Click to collapse
Glad I could help. If you browse the directory, you can't miss them.
Ps
Just looked... its livewallpaper.apk.
If you rename the .apk to a .zip, you can open it using any file unarchiver ( including on your android phone / tablet). I tested using the free androzip on the market
Here's the whole apk. See if it works as is ( dropbox linked)
http://db.tt/EVWBacd
Livewallpaper apk
pyraxiate said:
Glad I could help. If you browse the directory, you can't miss them.
Ps
Just looked... its livewallpaper.apk.
If you rename the .apk to a .zip, you can open it using any file unarchiver ( including on your android phone / tablet). I tested using the free androzip on the market
Here's the whole apk. See if it works as is ( dropbox linked)
http://db.tt/EVWBacd
Click to expand...
Click to collapse
Thanks again, I knew I could copy the .apk and rename the extension to .zip to unpack the file to examine it's contents, do you know if I can just zip it back up and rename the extension to get it installed and working again, or do I need to re-compile the file first befor installing? (gona have to do some searching, I'm not sure about this)
Related
Ok, maybe I'm going a little overboard here, but I jailbroke the phone just yesterday. I thought that it was time to see what all I would be able to do with it. So i got to looking around trying to figure out what I could skin. /system/app/Launcher.apk provided what i needed to redo the app bar. Here are my results.
I didn't do any modification to the xml files yet. I would like to get where I can edit the images out of those files as well. I removed the up/down arrows, but it was more of a replace with a 1x1px png. you get errors if the files are not put back with the right names or if files are missing. So I'm sure in the xml you would be able to edit it out.
One last thing. There really isn't much space on the /system mount. even when coping the file back up after repacking, I would ofter get not enough space on disk error. Trying again resulted in a success.
How about something else. I am not the best artist or graphics person. I'm sure that my files are larger then they should be. I had to do a 255 index on the color to get the image files down small enough. I'm sure with proper programming on my part, I wouldn't need the bar image, just the tux image. /shrug. I'm tired and going to be.
Enjoy.
Impressive. What does it look like with the apps menu expanded?
Oh, and how do you take screenshots?
It looks like it would noramally but with a tux on it instead of the grey bar. I will have to gt another image up.
The program to take screen shots is ddms (i think). It is in the tools directory of the sdk. Sorry, I just woke up for work.. not much sleep. But I do know if you are running linux it has to be on a 32bit os. It wouldn't run on my 64bit ubuntu.
a question I received
kron2 said:
can you help me i am new to linux and would like to edit some off the images in the app folder on the G1 my phone is jailbroke and i have the files to resign the apk's but don't no how to use them i no how to remove the files from the phone and edit them with rar. and thin i put the files back and rename the file apk but don't no how to resign it i have the emulator and ddms plus eclipse working i would think i resign it after i edit it but don't no where to put the files or how to use signapk.jar thx for your help
Click to expand...
Click to collapse
I don't know how much help I can be with the jar tool. I can tell you what I did though.
I used adb to get the /system/app/Launcher.apk file. The I extracted the file. So now I have the .apk file and a folder with all of the files in it. I then copied the .apk file to make a backup of it, just in case I needed to push it to the device.
Ok now I am set to do the editing of the files. I use Linux so I started gimp up editing an image. Then saved the image, keeping it the same size (56x295 - something like that) as the previous file. The files size (k/mb) will change. You need to keep this as small as you can.
I then started up Archive Manager, I think that you said that you use winrar or something. You might want to try 7zip, not sure though. Onward. I opened the .apk with the archive manager. The allowed me not to have repack the archive. I then dragged and dropped the edited .png file into the same folder I edited it from, into the same folder browsing though the archive manager. This did nothing more than update the .apk archive with the edited file.
then I pushed the file back to the droid. I hit the end button to turn the screen off and then menu x2 to get into the interface again. This refreshed the interface. and my edits were there.
That is about it. I'm going to copy and paste this reply in the forum so others will benefit from your question.
my question is this, say for example I have my phone setup just as I like with the theme of my choosing, htc music app instead of the stock android app in the cyanogen mod. i would like to be able to create a rom from this setup that I could then just load on my phone as oppsed to loading a cm mod, then installing music player, then installing the theme. before the flaming begins, i tried the search to no avail. i am aware of how to sign the zip and all of that. just a point in the right direction would be MUCH appreciated.
Its something I would like to be able to do as well. According to Haykuros twitter hes going to be making a video about android rom cooking soon so that should help
jholt0130 said:
my question is this, say for example I have my phone setup just as I like with the theme of my choosing, htc music app instead of the stock android app in the cyanogen mod. i would like to be able to create a rom from this setup that I could then just load on my phone as oppsed to loading a cm mod, then installing music player, then installing the theme. before the flaming begins, i tried the search to no avail. i am aware of how to sign the zip and all of that. just a point in the right direction would be MUCH appreciated.
Click to expand...
Click to collapse
This should've gone in the Q&A section. Will probably get locked soon.
But in response to your question, I guess you could grab the CM rom, then grab the theme you use and overwrite the files in the rom, and then overwrite the music app with the HTC music. Resign and you got your update.zip customized how you want it.
xidominicanoix said:
This should've gone in the Q&A section. Will probably get locked soon.
But in response to your question, I guess you could grab the CM rom, then grab the theme you use and overwrite the files in the rom, and then overwrite the music app with the HTC music. Resign and you got your update.zip customized how you want it.
Click to expand...
Click to collapse
Thanks for the help and my apologies for the wrong section
how do you resign it?
joey3002 said:
how do you resign it?
Click to expand...
Click to collapse
by searching.
Stericson said:
Automatic version!
Do not use this to sign APK files in Vista or windows 7! It will cause your theme to loop phones when placed on a device. Only use this to sign update files if your using those O/S's
Note, this will not work if your SDK or the path that you place this in has any spaces in the dir name!
An Example of this is c:\users\Nikki and Stephen\sdk\tools
Try to put the SDK and the contents of the zip in a dir where the names are all together and not like the one above.
I have made a batch file that will automate the entire process of setting up to use the signing tool made by JF. This batch file will set the CLASSPATH, set the PATH, install the registries, and will even allow you to sign files manually if you wish. I plan on building onto this batch file to include other things. However, for the moment, it will only include what you see here.
In order to use this you should have downloaded the sdk already. Simply extract all of the files into the tools dir of your sdk, and run autosign.bat follow the instructions and go through the options one by one, starting with 1 working through 4. You can however, put the contents of this zip anywhere on your computer and it will work. It is just better to put them into the tools dir of your SDK. Especially for the consideration of future versions.
Autosign .zip: http://www.fightforthepits.com/Androidstuff/signing.zip
Want to set up the signing tool manually?
Here is the link for the signing tool: Http://www.FightForthePits.com/testsign(2).zip
Before using this you need to know how to set this up:
Now you will need to add the tools dir of your sdk to the environment variable CLASSPATH.
FOR XP:
Right click on My Computer click properties, then choose the tab that says advanced.
Click the button that says environmental variables.
Go to system variables find the one that says CLASSPATH
double click it
go to the end of variable value.
There should be a semicolon ; at the end, type in the path to the testsign.jar located in the tools directory of your SDK
for example the path to my testsign.jar was c:\sdk\android-sdk-windows-1.0_r1\tools\testsign.jar
If CLASSPATH is not in your system variables then create it.
Secondly, Find the system variable called PATH and add to the end of it, the full path to your sdk directory.
For example, mine was c:\sdk\android-sdk-windows-1.0_r2\tools
FOR VISTA:
Open a cmd prompt.
Replace THEEXACTPATHTO-TESTSIGN with the path to the dir that holds the file testsign.jar.
Type:
echo %CLASSPATH%
If it is returns %CLASSPATH%
Type the following:
set CLASSPATH=THEXACTPATHTO-TESTSIGN\testsign.jar
If it comes back with something else then
Type the following:
set CLASSPATH=%CLASSPATH%;.;THEXACTPATHTO-TESTSIGN\testsign.jar
For Example, when I type this it looks like:
set CLASSPATH=%CLASSPATH%;.;c:\Android\SDK\tools\tests ign.jar
To set the PATH
Replace THEEXACTPATHTO-SDK with the path to the tools dir of your SDK.
Now type:
set PATH=%PATH%;.;THEXACTPATHTO-SDK\tools
For example, when I type this out it looks like this:
path-%PATH%;.;c:\Android\SDK\tools
Now through doing this you have done two things, first off you have made the resigning process extremely easy, secondly you will not have to cd to the tools dir of the sdk to use adb or any other tool in the sdk.
Signing the Files:
Now right click the reg file that you extracted and choose to install it, or merge.
Now, right click an apk, do you see an option that says ResignApk? That's how you will resign your .apks and .zips.
When you choose it a cmd window should open for a few seconds and then close. the file you signed will be overwritten with the new resigned file.
If you find the right click menu not working for some reason you can type the following in cmd to sign your files: java testsign whateverfiletosign
Click to expand...
Click to collapse
.apk's not showing up after flash in resigned .zip
Ok, so I've created a ROM to my liking. All the .apk's I normally use and got rid of the ones I don't. My problem is after I customized the ROM and flashed it none of the .apk's I added showed up. The only ones that showed up were the paid apps. I never opened the .apk's and made changes. I assume I don't need to change them to .zip resign and back to apk. Do I? I am using Windows 7 though and am able to resign no problem. Thanks to anyone who replies.
I've downloaded a couple .mp3's from a website that show up in the downloads folder within the browser (stock). They are available as ringtones in the system, but do not show up in the stock music app. I've use OI Filemanager to look in the logical locations but can't find them anywhere! I've also used terminal and ran:
#find / -name '*.mp3'
and all that shows up is the amazon app location...
Really noob-ish question, but I can't for the life of me find these files...
epicphotoeye said:
I've downloaded a couple .mp3's from a website that show up in the downloads folder within the browser (stock). They are available as ringtones in the system, but do not show up in the stock music app. I've use OI Filemanager to look in the logical locations but can't find them anywhere! I've also used terminal and ran:
#find / -name '*.mp3'
and all that shows up is the amazon app location...
Really noob-ish question, but I can't for the life of me find these files...
Click to expand...
Click to collapse
on mine they show up in a /sdcard/download hope this helps
So I've been told, but the only thing that shows up in there, both with terminal and mounted in windows, are pictures I've gotten via mms...
Is there anywhere else they could go? like ext2/3?
are you using a userinit.sh script with media2sd. if so then it could be on your ext2/3/4 (whichever applies to you) partition
No sir. I haven't quite figured out how to use that yet. I haven't really modded my phone in almost a year until a few days ago. Still reading up on those things.
well this may be out on a limb but you can check /system/media since you said they show as ringtones but not on your sdcard.
Not there either...
How about this, is there a way to edit the default download location to something I want?
epicphotoeye said:
I've downloaded a couple .mp3's from a website that show up in the downloads folder within the browser (stock). They are available as ringtones in the system, but do not show up in the stock music app. I've use OI Filemanager to look in the logical locations but can't find them anywhere! I've also used terminal and ran:
#find / -name '*.mp3'
and all that shows up is the amazon app location...
Really noob-ish question, but I can't for the life of me find these files...
Click to expand...
Click to collapse
well whenever i download mp3s from jamglue.com i find my downloads i nthe download folder on sd card
use astro file manager. better features.
but anyways... this is waht i do
1i find the mp3 download in sdcard>download
2. i rename the file and put .mp3 at the end. and click yes whenever i says iam changing file blahblahblah
jsut make sure whenever u rename the file to put .mp3 at the end. i am pretty sure this will work in OI tho
brian_v3ntura said:
well whenever i download mp3s from jamglue.com i find my downloads i nthe download folder on sd card
use astro file manager. better features.
but anyways... this is waht i do
1i find the mp3 download in sdcard>download
2. i rename the file and put .mp3 at the end. and click yes whenever i says iam changing file blahblahblah
jsut make sure whenever u rename the file to put .mp3 at the end. i am pretty sure this will work in OI tho
Click to expand...
Click to collapse
They are not in:
/system/media (or subs)
/system/sd
/sdcard
/sdcard/media (or subs)
/sdcard/download
they did not show up using:
#find -name 'wakeup.mp3'
or several variations of that.
when mounted on the pc, no search finds these files.
Not using compcache or a userint.sh
They will not show up in the music app, but can be used as ringtones/notifications.
What all did you use for args with find?
# find / -name \*.mp3
_or_
# busybox find / -name \*.mp3
or whatever the file/extension name might contain. I wouldn't use the actual name because I found a lot of downloads not called the file name, they were called things like download1.mp3 etc so try searching for the extension maybe. If find from / doesn't find anything I would be suspicious that it actually downloaded lol
epicphotoeye said:
They are not in:
/system/media (or subs)
/system/sd
/sdcard
/sdcard/media (or subs)
/sdcard/download
they did not show up using:
#find -name 'wakeup.mp3'
or several variations of that.
when mounted on the pc, no search finds these files.
Not using compcache or a userint.sh
They will not show up in the music app, but can be used as ringtones/notifications.
Click to expand...
Click to collapse
wellll... idk what to tell you but i suggest using jamglue.com to download your music.. you would have to make a free account first tho. jamglue is seems a lot simpler
Same issue on my girlfriend's G1. Her's has CM 4.2.5, and have tried downloading mp3 ringtones from myxer.com. They show up in ringtones, but cannot be located within the entire file system. I tried downloading a picture through the web browser and it ended up in the sdcard/download folder as expected.
Anybody figure out where mp3s are ending up??
In mine, they are in sdcard/Music. Take a look there. I believe that was a default folder on the original card.
Thought I checked just about everywhere including the folders mentioned above (and now below):
/system/media (or subs)
/system/sd
/sdcard
/sdcard/media (or subs)
/sdcard/download
/sdcard/Music
I will take another look later tonight and leave an update if I found them or not.
Pretty strange imo.
try taking a logcat and starting the download
Depending on the app, sometimes it will create its own folder on your as. Have you looked thoroughly for any new folders?
edit- sorry, dbl post
Just checked back all over the sd (now including the Music folder). Plugged the sd card into my pc and searched it and did not find the files we just downloaded. Can't find it anywhere on the phone's internal memory either.
Downloaded the Log Collector app, but it does not give the option to log the Browser app. Any other log apps that might allow this??
Any other ideas?
Thanks!
Just do adb logcat in cmd prompt
put the code that appears after downloading the mp3 in code tags or at pastebin.com
I'm trying to edit a few things but I'm not sure how to go about repackaging them as .apk even though I know they're archives. If I open the archive and extract everything how should I go about putting it back together? Is it as simple as throwing it in a .zip file, renaming it to .apk and signing it or am I missing something? I tried doing that with Rosie.apk because it has a lot of wallpapers I won't ever use and I wanted to throw some of my ringtones into it too.
Dyonas said:
I'm trying to edit a few things but I'm not sure how to go about repackaging them as .apk even though I know they're archives. If I open the archive and extract everything how should I go about putting it back together? Is it as simple as throwing it in a .zip file, renaming it to .apk and signing it or am I missing something? I tried doing that with Rosie.apk because it has a lot of wallpapers I won't ever use and I wanted to throw some of my ringtones into it too.
Click to expand...
Click to collapse
there is already another thread somewhere farther down about this, but in short, you need to resign. Stericson did a one-click signing tool, but I was never able to get it working on my machine. I use the same tools, but I have to do the manual sign option, it is still easy, it just uses one more click.
As far as repacking rosie.apk, you should just be able to locate the .png and small.png files you want to replace. Find your new wallpapers, rename them to the names of the wallpapers you want replace. (you will need to resize your 480x320 wallpapers to the small wallpaper dimensions, they are 80x60. easiest way to resize is in MS paint or Gimp. once you rename just drag the files into the open winrar window. For rosie i think wallpapers are in the drawable 480x320 folder. When winrar brings up a prompt, just make sure you have the options selected to add and overwrite existing files or something of the like. It is also a good idea to adb pull your Rosie.apk just in case things go bad you can push a backup to revert you to where you were before. If you got any questions send me a PM or hit me on gtalk- [email protected]
Dyonas said:
I'm trying to edit a few things but I'm not sure how to go about repackaging them as .apk even though I know they're archives. If I open the archive and extract everything how should I go about putting it back together? Is it as simple as throwing it in a .zip file, renaming it to .apk and signing it or am I missing something? I tried doing that with Rosie.apk because it has a lot of wallpapers I won't ever use and I wanted to throw some of my ringtones into it too.
Click to expand...
Click to collapse
You can open Rosie.apk with something like winrar and replace the images without the need to resign. I've done it countless times. There's not much point in removing wallpapers in Rosie though, it will just reduce the size of the apk without any noticeable speed improvment. Most Hero devs use the stock Rosie apk.
As for ringtones, they don't reside in Rosie.apk. You can put them on your FAT32 (or EXT if you have one). Just put the mp3's in /media/audio/ringtones. I highly suggest putting them on ext because when the SD card is mounted in your computer your phone can't access the ringtones. Ext isn't mounted (on windows atleast) so they are still accessible.
Thanks guys, I seem to have it almost done now with this and what I stumbled through
Anyone know where i can find this wall paper?
Thanks.
Where did you get the picture from?
it was a wall paper on my phone but i can no longer find it.
It's part of the Mosaic wallpapers. Best bet would be to grab the rom, unzip it, go into the twframework folder (or wherever the wallpapers are stored.. I can never remember) and get it from there.
I unziped Mosaic IV and there is only 3 main folders META-INF, system, updates. In System fold there is a framework folder but inside it are just .jar files and one .apk. I've looked in the other folders and i can see any image files.
Thanks.
Ok, go to the /system/app folder, and look for a file called twwallpaperchooser.apk.
Using a program like 7zip, unzip the apk file and look in the /res/drawable-hdpi folder.
Your wallpaper should be in here.
That's the learning way. Or you can just grab the attachment.
awesome thanks!