Loading resource.zip files - G1 Android Development

I've done my searching homework, but haven't found a reference on how to load a resource.zip file. Is this done the same as an update.zip, or am i supposed to manually load the contents via the shell?
Just curious. I'm currently running 5.0.1H.
Thanks in advance.

Sephatine said:
I've done my searching homework
Click to expand...
Click to collapse
Doubtful.
Unzip the resource.zip to your SD card.
You'll have two new folders.
audio
resource
Enjoy.

and put it in the /sdcard/media/ folder for the audio...
the wallpapers can go wherever..

thanks
I DID actually do just as I told you I did, and I appreciate the answer. There was 1 thread on this board in the search results for 'resource.zip'. Those topics talked about the contents, but not the method of using the file.
I'm familiar enough with the SDK to know that a zip archive is just a java container that, if formatted correctly, can be used by the system, hence the reason I didn't just dump the contents on my SD card which I knew I could do. I figured since i had seen multiple versions of this file... always named the same... with a zip extension, that it MIGHT actually be a file that the API would recognize and do something with.
I'll go find the wiki and put this up there so as to prevent someone else from having to search for this.

Related

dificulty locating themes

greetings all,
i've attempted to search this site and have read the wiki. i saw the sticky on not starting threads until exhausting other options, but i didn't find the answer to my particular question.
i installed teh Tf3d config, but none of the themes i've installed are showing up in the drop down menu under appearance. i've tried relocating them to various spots on my device and storage card, but nothing seems to work. in one tutorial, i read to creat a new folder named Internal Storage/Themes/ but my device would not allow this as a folder name and i've tried slanting the slashes in both directions.
one of the themes was a zipped file, the other was not. the zipped file was DL'd to my PC first, then i extracted the files to my device.
the TF3D config seems to be, otherwise, working fine. i've deleted a tab and rearranged the others.
any help would be greatly appreciated.
injunwil said:
greetings all,
i've attempted to search this site and have read the wiki. i saw the sticky on not starting threads until exhausting other options, but i didn't find the answer to my particular question.
i installed teh Tf3d config, but none of the themes i've installed are showing up in the drop down menu under appearance. i've tried relocating them to various spots on my device and storage card, but nothing seems to work. in one tutorial, i read to creat a new folder named Internal Storage/Themes/ but my device would not allow this as a folder name and i've tried slanting the slashes in both directions.
one of the themes was a zipped file, the other was not. the zipped file was DL'd to my PC first, then i extracted the files to my device.
the TF3D config seems to be, otherwise, working fine. i've deleted a tab and rearranged the others.
any help would be greatly appreciated.
Click to expand...
Click to collapse
for ease of use several people have create cabs out of their themes.. simply install the cab file. look for a thread created my mobile matt (username mchapman) it has several themes and mods in it.
one of the themes i've installed is a cab. however, it does not show up. that's what the problem is.
i guess the title of thread could be a little misleading. i'm not having trouble locating themes to install - tf3d config is having trouble finding them, after i do.
ETA - i searched for the thread you mentioned, but it says "mchapman" is an invalid username
ETA - i've found this instruction to be a little confusing. if somebody could PLEASE give me a little clarity on exactly what they are telling me to do:
- Create the root of internal storage of your HTC Touch Diamond a folder named: Themes
thank you
can someone just explain this one sentence, please.
- Create the root of internal storage of your HTC Touch Diamond a folder named: Themes
injunwil said:
can someone just explain this one sentence, please.
- Create the root of internal storage of your HTC Touch Diamond a folder named: Themes
Click to expand...
Click to collapse
Means create a folder named Themes. no sub folder (or folder inside a folder).
injunwil said:
greetings all,
i've attempted to search this site and have read the wiki. i saw the sticky on not starting threads until exhausting other options, but i didn't find the answer to my particular question.
i installed teh Tf3d config, but none of the themes i've installed are showing up in the drop down menu under appearance. i've tried relocating them to various spots on my device and storage card, but nothing seems to work. in one tutorial, i read to creat a new folder named Internal Storage/Themes/ but my device would not allow this as a folder name and i've tried slanting the slashes in both directions.
one of the themes was a zipped file, the other was not. the zipped file was DL'd to my PC first, then i extracted the files to my device.
the TF3D config seems to be, otherwise, working fine. i've deleted a tab and rearranged the others.
any help would be greatly appreciated.
Click to expand...
Click to collapse
Go to here for find themes, wallpapers, everything you need....please read and read some more before posting....
http://forum.xda-developers.com/showthread.php?t=470023
slawcop` said:
Means create a folder named Themes. no sub folder (or folder inside a folder).
Click to expand...
Click to collapse
is this something that requires a registery editor? i ask because, i've attempted making a folder with that name in several locations then placing the file in it. it still won't show up in the drop down menu.
exactly where do create the folder named "themes"?
thanx
injunwil said:
is this something that requires a registery editor? i ask because, i've attempted making a folder with that name in several locations then placing the file in it. it still won't show up in the drop down menu.
exactly where do create the folder named "themes"?
thanx
Click to expand...
Click to collapse
Maybe this will help. If you were to create this folder on your pc instead it would look like this:
C:\themes <- C:\ is your root directory.
so on your phone the folder should appear in the list with windows and program files and document and storage card. It should be \themes NOT something like \Program Files\themes

expand a nandroid img file

for those who do not know how to do this yet, follow directions given here.
Just took this info from the web. None of this except for the guide is written by me.
I am not responsible for anything please do not contact me if a green sludge starts attacking your neighborhood eating one person at a time.
************************************************************
************************************************************
************************************************************
http://code.google.com/p/unyaffs/downloads/list
made for linux, but if you know a bit of c, you can probably change it to work with windows, maybe I will do that if I have some time this week.
********OR********
http://jiggawatt.org/badc0de/android/unyaffs-x86-win.zip
or http://www.4shared.com/get/fgryPnPx/unyaffs-windows.html
for windows..... instructions below apply for both
if not included in the zips above, cygwin1.dll and unyaffs.exe are included as an attachment of this reply.
open up a command line, in windows vista/7 just press start and then type cmd press enter and change the directory to the folder with the unyaffs and the img in it. in xp press start>run>cmd... then the same
the usage is: unyaffs /path/to/img
example:
(if unyaffs.exe and system.img are both in c:\temp)
"c:\temp> unyaffs /temp/system.img"
note: the '/' is the way linux determines the pathname of a file and since it is built using cygwin(a file allowing for windows) it is preferrable that the path to the actual file is in unix POSIX format ie: / instead of \ between folders and files.
*********WARNING************
this will extract to directory that unyaffs binary is in.
That's so weird -- I was gonna post the same thing tonight. Thx for writing this up. It's odd that more people don't talk or ask about this tool!
I remember reading this stuff back when I got my G1, and tonight I was trolling the themes and apps section cause I couldnt sleep. (which I rarely look at)
I was baffled that this wasnt common knowledge. I figured if there was no threads about it that people just knew how and didnt have any problems with it. My mistake lol...
enjoy.
can you please explain what is it? what it does? thanks
ericizzy1 said:
can you please explain what is it? what it does? thanks
Click to expand...
Click to collapse
Umm, it expands nandroid img files not sure how else to explain it. Clockworkmod backups are in the img file format. This process allows you to extract those files to get stuff out of them
Sent from my SPH-D700 using XDA App
When you create a backup in Clockwork recovery, it leaves you with a folder like this:
2010-11-18.08.52.49
As you can prob figure out, I made that backup on 11/18 at 8:52am
Inside that folder are .img files, such as: data.img and system.img
Those files basically contain your data (like apps you've installed from market) and system (..system apps that might've come with the phone).
In the orig post, he's explaining how to extract the files from these large .img files.
To give an example, I had a couple of corrupted clockwork backups, and wanted to ONLY pull out some database files (like text messages and call logs) which were not corrupted. Even tho the backup was messed up, I could still extract the files I needed by using the method above, then copied them manually to my phone.
decalex said:
When you create a backup in Clockwork recovery, it leaves you with a folder like this:
2010-11-18.08.52.49
As you can prob figure out, I made that backup on 11/18 at 8:52am
Inside that folder are .img files, such as: data.img and system.img
Those files basically contain your data (like apps you've installed from market) and system (..system apps that might've come with the phone).
In the orig post, he's explaining how to extract the files from these large .img files.
To give an example, I had a couple of corrupted clockwork backups, and wanted to ONLY pull out some database files (like text messages and call logs) which were not corrupted. Even tho the backup was messed up, I could still extract the files I needed by using the method above, then copied them manually to my phone.
Click to expand...
Click to collapse
thx
Sent from my SPH-D700 using XDA App
smeyerhuky said:
Umm, it expands nandroid img files not sure how else to explain it. Clockworkmod backups are in the img file format. This process allows you to extract those files to get stuff out of them
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Right, like if you wanted a file or a few files from clockworkmod img backup, then this process would give you an extended file system, other than what you would normally use to extract the img files. Just trying to understand this so, please correct me if im wrong.... I've been trying to get more knowledge of this, so im still learning.
I prolly sound like a complete idiot, lol...
Sweet! Thanks for this man. I'd been looking for how to do this for some time and kept ending up learning about emulation or some other tangential topic. This is the basic functionality I was looking for. Thanks for posting!
Np. I'm working on writing some stuff on top of the source code that should allow you to browse and pull just one our more file
Its been a but since I looked theory source code so it might take a while... Maybe in between semesters?
Sent from my SPH-D700 using XDA App
Dode you saved my as** thx big thx
Great, now how can I re-compress back to .img after I've made the changes that I want?
EDIT: Nevermind. I just made a zip of the new system folder and flashed it in CWM.
This worked great for me.
Thanks,
Bud
Man, I do not know how to thank you. I was able to recover some important stuff off of my cwm recovery backup. THANKS!!

[Q] Load Programs?

Ok, new to all this. I have a Sprint HTC Touch Pro 2 CDMA. I flashed to an Energy Rom, looks great. Now... How do I load other software... games and such? I have looked around here, thinking it would be part of the first post, I was wrong. Perhaps this site is too advanced for that? If so, point me to a newbee site and off I shall ride. Thanks in advance for your help. This phone is awesome, and the Energy rom I loaded, looks sweet.
Johnhcfllc said:
Ok, new to all this. I have a Sprint HTC Touch Pro 2 CDMA. I flashed to an Energy Rom, looks great. Now... How do I load other software... games and such? I have looked around here, thinking it would be part of the first post, I was wrong. Perhaps this site is too advanced for that? If so, point me to a newbee site and off I shall ride. Thanks in advance for your help. This phone is awesome, and the Energy rom I loaded, looks sweet.
Click to expand...
Click to collapse
well. there is the microsoft marketplace. or .cab files.
.cab file instructions...
one. download application's .cab file. suggested list of applications can be found here.
two. move the .cab onto your phone's storage card.
three. on your phone, navigate to the .cab file with file explorer, or other like program.
four. open .cab file.
five. choose installation location. device or storage card.
six. select install.
seven. enjoy.
and i havent ever used marketplace before...
i always find the .cab file.
sh4d0w86.
Not to make fun, but it is pretty surprising the you are able to unlock the phone and reflash the OS, but can't install software.
If you search this site, Microsoft Marketplace, or just do a Google for "Windows Mobile freeware", you'll find many thousands of apps. Find the app you want, copy or download the .CAB file to the TP2, and execute it.
For example, Google "Google Mobile Maps", download the Windows Mobile .CAB file, and run it.
Thanks
Well, the instructions to flash a phone are detailed and many. One problem I had was I was dropping the 7zip file onto the phone. Also, I could not unzip the file with the extension of 7z because I did not have the correct unzip manager. Another issue was I was trying to Sync the programs to the phone. Thanks for clearing it up. Is there a logical place to put them on the phone to make them run fast? Thanks in advance.
Johnhcfllc said:
Well, the instructions to flash a phone are detailed and many. One problem I had was I was dropping the 7zip file onto the phone. Also, I could not unzip the file with the extension of 7z because I did not have the correct unzip manager. Another issue was I was trying to Sync the programs to the phone. Thanks for clearing it up. Is there a logical place to put them on the phone to make them run fast? Thanks in advance.
Click to expand...
Click to collapse
Installing to main (internal) memory is much faster than installing to the SD (external) memory. Installing large programs to the SD card is the general rule of thumb for obvious reasons. It's up to you where you prefer to install them.
If you mean where should you put the actual *.cab files, then you could always delete them once they've been installed. You don't need them again unless you're going to flash constantly. It's always good to back them up, so storing them on your PC or the SD card would be preferable.
Thanks a bunch!
well, check out this thread..........
cabs just load on the phone and run like any program, just find the file and click it. exe's need to run from windows (regular computer) and install through activesync.
http://forum.xda-developers.com/showthread.php?t=550973
Excellent Thread!!!!!!!! I too made all those mistake and diddn't know how to load .cab files. This is my first foray into modding phones so this thread was quite informative.

Google Experience only

I am happy with what I have since the new update from Viewsonic.
If I only want to add Google Experience, marketplace, do I still need to go through the process of rooting, installing clockwork and a new UI?
Is there just a simple way to add GE to the Classic UI?
Gapps install
http://forum.xda-developers.com/showthread.php?t=842590
Everyone,
I have had zip luck with this method of installing zapps. Not a dev, but I've been doing this long enough.....
I moved the Recovery file to to /sdcard. Checked for command and command line inside that file All ok to my eye.
Downloaded the gapps file which my WinRAR pronounces a WinRAR/Zip file. So I tried renamein the original update.zip and didn't get any install. So I extracted using winRAR. Still no install.
I tried the permutations as well. Extracted using G-Tablet extract. Still no results.
There must be something I am missing here -- too much holiday cheer or too many crowds or whatever.
Suggestions?!
Rev
butchconner said:
Everyone,
I have had zip luck with this method of installing zapps. Not a dev, but I've been doing this long enough.....
I moved the Recovery file to to /sdcard. Checked for command and command line inside that file All ok to my eye.
Downloaded the gapps file which my WinRAR pronounces a WinRAR/Zip file. So I tried renamein the original update.zip and didn't get any install. So I extracted using winRAR. Still no install.
I tried the permutations as well. Extracted using G-Tablet extract. Still no results.
There must be something I am missing here -- too much holiday cheer or too many crowds or whatever.
Suggestions?!
Rev
Click to expand...
Click to collapse
I HAD to resort to putting on Clockwork Mod 0.8 to get GApps on my G Tablet.
Putting the update.zip on the internal and sd card storage did not work for me either with the newest update installed.
Clockwork Mod is a super easy install - just follow the instructions on how to install G Apps...basically: put CWM on your SD card in it's root (meaning NOT in any directories) and rename it update.zip, put the corresponding recovery directory on the SD as well. I use Winrar as well, I drag the recovery directory right from the file itself and to the SD Card.
Will look like:
Drive: update.zip
Drive: /recovery/command
basically.
Flash it the normal stock way (power and volume +). I press Power and Volume + without even powering off the device, because if the device is powered down and then you start it and miss that first start up, the device WILL delete the recovery/command file and the update won't flash.
GL
I don't officially get to play with my GTab until after package opening tomorrow so I can't do anything today, but I'm trying to line up my to do list. I have never rooted, flashed, or modded anything but am not afraid to play around as long as I don't brick the tablet.
What do you mean when you say "put the corresponding recovery directory on the SD as well. I use Winrar as well"? What is the corresponding recovery directory? What do you use Winrar for? I Googled "winrar" and found " WinRAR is a shareware file archiver and data compression utility developed by Eugene Roshal, and first released in the fall of 1993.[1] It is one of the few applications that is able to create RAR archives natively, because the encoding method is held to be proprietary. " I cannot figure out why it would be needed to load the standard Android market.
MSU_Sparty,
When you do updates (or installs) that have to be flashed onto the internal sdcard, they usually com in pairs of files. You will have an update.zip file that has the update in it (DUH!) -- and accompanying it will be a "Recovery" directory that has a command file in it (The command file has only one line that "calls" the update.zip file.
WinRAR "Zip" utility enters the picture because most of the devs here use WinRAR to package updates. The when they tell you to decompress it, you use WiinRAR and are left with a .zip file to install.
That's the question I had about this update. The Gapp file show to be a RAR package, but when I un-RAR it I come up with no .zip file -- only regular files.
Hope this helps you understand.
Rev
P. S. -- If you are new to this business, take it slow and easy and read ahead on this site and make sure you understand what you are doing. I try to do that, but even with years of IT experience I still mess things up once in a while.
Neoprimal,
Thanks for the tip about CWM. I have two tablets and the other has CWM on it and is fairly modded.
But this tablet I am trying to keep basically stock so I can get updates, etc. and see what the "state of product" is.
As mentioned in my previous answer, I am stumped because I am not getting what looks to be an update.zip file from the Gapp download. When I use WinRAR to decompress the Gapp file, I don't get a .zip file -- only a couple of directories. On the other hand, when I rename the Gapp file update.zip and try to flash it it doesn't work.
Again, thanks for the reply.
Anyone else with suggestions!!!????
Rev
Thanks. What you've written really does clarify the previous post. I appreciate it.
But let me ask another naive question. Why don't the developers create their update programs so they can be installed by just downloading them OTA like most applications? That would sure make it easier for neophytes. I'm guessing that the reason is because we aren't really adding an application but replacing the OS.
I greatly appreciate your guidance and that of all of the folks who use this forum.
Happy Holidays!

Create own Rom

It seems to create your own rom is more involved than I thought. I knew I should have learned linux. I wanted to fool around and use different browser .apk files from one rom to another. I messed around with this when I had my blackberry. It also seems like its easier to brick your droid. With blackberry I had a list of .cods same as .apks to use. So to open your .tar or .md5 you need android-sdk and then use adb commands? Is there a list of which system files that can be changed from one update to another. I did some searching but I guess not enough. Is there a quick version to create I guess a system dump with what files that can be changed without killing you phone? From what I read you have to use Odin to extract files to your sd card then to your computer or use Sdk with commands. Once extracted to to use a browser one to another you transfer the .apk other files. Do I have the basics or is it way over my head which is why we have developers?
blueis300 said:
It seems to create your own rom is more involved than I thought. I knew I should have learned linux. I wanted to fool around and use different browser .apk files from one rom to another. I messed around with this when I had my blackberry. It also seems like its easier to brick your droid. With blackberry I had a list of .cods same as .apks to use. So to open your .tar or .md5 you need android-sdk and then use adb commands? Is there a list of which system files that can be changed from one update to another. I did some searching but I guess not enough. Is there a quick version to create I guess a system dump with what files that can be changed without killing you phone? From what I read you have to use Odin to extract files to your sd card then to your computer or use Sdk with commands. Once extracted to to use a browser one to another you transfer the .apk other files. Do I have the basics or is it way over my head which is why we have developers?
Click to expand...
Click to collapse
Its way over your head! But even devs had to start somewhere. Guys like JT learned everything he knows thru google fu and he actually got the fascinate recognized cyanogen. So don't give up!
Sent from my Gummy Charged GBE 2.0 using XDA App
I would love to start to learn how to dev.
Any one could point me in the right direction?
Lol Yeah I figured it was above me but will keep reading, ask some questions and see what happens.
blueis300 said:
It seems to create your own rom is more involved than I thought. I knew I should have learned linux. I wanted to fool around and use different browser .apk files from one rom to another. I messed around with this when I had my blackberry. It also seems like its easier to brick your droid. With blackberry I had a list of .cods same as .apks to use. So to open your .tar or .md5 you need android-sdk and then use adb commands? Is there a list of which system files that can be changed from one update to another. I did some searching but I guess not enough. Is there a quick version to create I guess a system dump with what files that can be changed without killing you phone? From what I read you have to use Odin to extract files to your sd card then to your computer or use Sdk with commands. Once extracted to to use a browser one to another you transfer the .apk other files. Do I have the basics or is it way over my head which is why we have developers?
Click to expand...
Click to collapse
Look up harvard's cs50 course.. Its free and online and will get you started.. Ide post a, link.. But I'm lazy so google it
Sent from my SCH-I510 using XDA App
ty ace
i'll look into it, I've been looking for info for awhile, and was wondering where to start reading up on a "how to"!

Categories

Resources