I'm trying to change the icon in my status bar that is displayed when i'm playing rhapsody. i've modified the notification icons in the .apk that i found in data/app. I created a .zip using the structure /META-INF/com/google/android/updater-script. in the main folder where META-INF resides i have a folder called data and inside that i have the modified com.rhapsody-1.apk. my updater script is as follows:
ui_print("Applying my update";
run_program("/sbin/busybox", "mount", "/data";
package_extract_dir("app", "/data/app";
run_program("/sbin/busybox", "umount", "/data";
i zipped everytihng up, put it on the root of my sd card. I then used zipsigner2 (from the market) to sign the .zip. Rebooted to recovery, made a back up, navigated to install the .zip from the sd card, flashed and it looked like it was working but the last line of the script simply said "installation aborted". Any help or guidance on where i'm failing here would be greatly appreciated.
thanks in advance!
Swyped Thunder coming at you
inside data you should have app then your apk so inside the zip should be meta-inf/com/whatever and data/app/com.rhapsody-1.apk or you could save yourself the trouble and just put the apk on your sd card then copy it to data/app with a file manager because your update script doesnt look quite right either
dak_181 said:
inside data you should have app then your apk so inside the zip should be meta-inf/com/whatever and data/app/com.rhapsody-1.apk or you could save yourself the trouble and just put the apk on your sd card then copy it to data/app with a file manager because your update script doesnt look quite right either
Click to expand...
Click to collapse
Thank you!
Swyped Thunder coming at you
dak_181 said:
inside data you should have app then your apk so inside the zip should be meta-inf/com/whatever and data/app/com.rhapsody-1.apk or you could save yourself the trouble and just put the apk on your sd card then copy it to data/app with a file manager because your update script doesnt look quite right either
Click to expand...
Click to collapse
No dice this route either, but thank you
Swyped Thunder coming at you
i don't know if this will help, but when i made a custom boot animation for my phone, the bootanimation.zip file had to be zipped as "storage." 7-Zip (for sure) and other programs have this option.
This is just a guess, as I've only ever messed around with boot animations myself.
Uninstall First
I am assuming you repackaged the rhapsody app...
If this is the case, you need to uninstall Rhapsody before installing your repackaged version.
If the digital signatures don't match you can't install\update the app.
CM7 had the same problem with OI File Manager.
Related
Hello!
I'd like to create update.zip to integrate app wich can be flashed to any or almost any rom. I'd like to put some essential app in it. Anybody can tell me how can i do this, or is there any guide for this?
Download and install the latest android sdk .also Java jdk find and download autosign. Do this all by searching. I would download a custom rom as a template for your update.zip. extract the data folder and the Meta folder and put into a new folder, go into Meta folder keep clicking through the folders inside Meta one till you find update-script and open it in notepad.
Delete everything except the part saying something like copy package DIRATA and the show progress before it. Once that's all done put the Apps you want into the data folder zip up the data and Meta folders, when you open the zip folder you should only see those 2 no others! Resign it using autosign and flash
bonesy said:
Download and install the latest android sdk .also Java jdk find and download autosign. Do this all by searching. I would download a custom rom as a template for your update.zip. extract the data folder and the Meta folder and put into a new folder, go into Meta folder keep clicking through the folders inside Meta one till you find update-script and open it in notepad.
Delete everything except the part saying something like copy package DIRATA and the show progress before it. Once that's all done put the Apps you want into the data folder zip up the data and Meta folders, when you open the zip folder you should only see those 2 no others! Resign it using autosign and flash
Click to expand...
Click to collapse
+1. Niiice,... A few questions though if you dont mind.
1,... Can I use this command that I use to sign my bootscreens to sign the update.zip ... "java -jar C:\SignApk\SignApk.jar C:\SignApk\testkey.x509.pem C:\SignApk\testkey.pk8 C:\SignApk\bootscreen.zip C:\SignApk\bootscreen_signed.zip" ... and just change the file name as needed? ... Or do the .pem and .pk8 files need to be changed to something else?
2,... If Im using a base custom ROM with Apps2SD, all apps will be installed to the SD right?... Or do they install to the internal memory if you add the apps to the ROM itself?
3,... Is it also possible to add the app and game data (i.e.. game saves) to the ROM or is it best to use a backup programme?
Hope someone can help?
Thanks!
I tought it will harder, but it worked flawlessly
I'd be interested in this too:
ddotpatel said:
2,... If Im using a base custom ROM with Apps2SD, all apps will be installed to the SD right?... Or do they install to the internal memory if you add the apps to the ROM itself?
Click to expand...
Click to collapse
It all goes to the Data partition so... If your ROM is using apps2sd and its turned on (for instance im using androbin and i have done the command "apps2sd on" in terminal) the apps you install from then on will go to your sdcard partition.Quite a handy thing on this androbin rom is in sd card and storage it tells me my secondary partition!
Ddotpatell....
1.Yes you can use that command
2.answered above.
3.I would use a backup program personally
Thanks BONESY, much appreciated.
This is a question for Zach, but as a new user I did not have access to his thread. First, congratulations on developing a great ROM. You do great work, I love XTRSense 5.01. However, I have come across two small glitches, both related to your GScript app.
After running the Apps2SD script, all of the other scripts disappear. There is a note to find them on the SD card, but I haven't been able to find any scripts there. I specifically want to install the battery life script. Is there a way to recover access to the scripts?
Second, I accidentally ran the script that deleted HTC Teeter. Is there any way to get it back short of reinstalling the ROM?
Thanks in advance ...
TexasBadger said:
This is a question for Zach, but as a new user I did not have access to his thread. First, congratulations on developing a great ROM. You do great work, I love XTRSense 5.01. However, I have come across two small glitches, both related to your GScript app.
After running the Apps2SD script, all of the other scripts disappear. There is a note to find them on the SD card, but I haven't been able to find any scripts there. I specifically want to install the battery life script. Is there a way to recover access to the scripts?
Second, I accidentally ran the script that deleted HTC Teeter. Is there any way to get it back short of reinstalling the ROM?
Thanks in advance ...
Click to expand...
Click to collapse
Hi! Just to note, I'm not currently running xtrSENSE or xtrROM, but I have quite a lot in the past and probably will again someday, so I thought I'd answer what I can.
1. I don't know what's going on with scripts disappearing, are you sure you actually added them to GScript's list of available scripts? When you load GScript, initially it's blank, and you have to tell it to load each script individually. Make sure the checkbox for run as root is checked for each one. Then the first time you run one from the main GScript screen, it'll prompt you for SU access. Sorry if I'm including info you already know, just making this answer friendly for anyone who happens to find this thread. There should be a folder called gscript on the SD card.
Note: Different folder listing programs list files and folders in different sorting orders. Linux is case sensitive so you can have both a folder named gscripts and one called GScripts (only the first should exist, I'm just using it as example). What I'm getting at is that some programs list all the files and folders with starting with the lower-case letters first, and then the upper-case ones after, so if you look for the folder gscript, make sure and search everywhere in the listing.
Also, if you must, you can open the ROM zip file on your computer and look in the sdcard folder in it and you'll see the gscript folder there with all the scripts inside. Just copy the gscript folder to your SD card if they got deleted somehow.
2. Same as the last suggestion, you can open the ROM zip file on your computer and in the system\app folder there you'll find "teeter.apk". You can use Root Explorer off the Android Market to put that back in system\app, or you could just install it from your file manager (Astro, File Manager...) for it to reside in normal user memory.
Partial Success
"Also, if you must, you can open the ROM zip file on your computer and look in the sdcard folder in it and you'll see the gscript folder there with all the scripts inside. Just copy the gscript folder to your SD card if they got deleted somehow."
This worked perfectly. The GScript folder on the SD card was empty. Not anymore, and the scripts work fine.
"Same as the last suggestion, you can open the ROM zip file on your computer and in the system\app folder there you'll find "teeter.apk". You can use Root Explorer off the Android Market to put that back in system\app, or you could just install it from your file manager (Astro, File Manager...) for it to reside in normal user memory."
I put teeter.apk on the SD card, but my attempts to intall it with ES File Manager failed. Maybe related to Apps2SD?
TexasBadger said:
"Also, if you must, you can open the ROM zip file on your computer and look in the sdcard folder in it and you'll see the gscript folder there with all the scripts inside. Just copy the gscript folder to your SD card if they got deleted somehow."
This worked perfectly. The GScript folder on the SD card was empty. Not anymore, and the scripts work fine.
"Same as the last suggestion, you can open the ROM zip file on your computer and in the system\app folder there you'll find "teeter.apk". You can use Root Explorer off the Android Market to put that back in system\app, or you could just install it from your file manager (Astro, File Manager...) for it to reside in normal user memory."
I put teeter.apk on the SD card, but my attempts to intall it with ES File Manager failed. Maybe related to Apps2SD?
Click to expand...
Click to collapse
You don't want it on the SD card. You need to navigate to /system/app in internal storage on the ROM. Apps2sd moves third party apps that you install from the market to the SD card, but does not move the internal apps in /system/app.
You may need to restart after you pop that .apk back in /system/app to get it back in your app drawer.
When I try to flash the stockclock.zip file using the new CWM it says that Amend scripting is no longer supported. Does anybody know how I would could get this installed?
Open the zip file usin astro file manager. Copy the clock.apk (might be named deskclock.apk) then place it in your sdcard where you know Where its located. Use root explorer to copy it to the system/app directory. Rename your old clock.apk to something like clock.bak in case you ever need to go back to it.
Dalamar1320 said:
Open the zip file usin astro file manager. Copy the clock.apk (might be named deskclock.apk) then place it in your sdcard where you know Where its located. Use root explorer to copy it to the system/app directory. Rename your old clock.apk to something like clock.bak in case you ever need to go back to it.
Click to expand...
Click to collapse
Thanks. Did that. And it was called "ClockPackage.apk" in case anybody was wondering.
How To: Change Boot Animation
First: You need a Custom Rom Installed
Install winrar
Root your droid! (obviously?) If you need to root, download 'Universal Androot'
using a Root explorer goto the /system/media directory.
Copy bootanimation.zip to your SD Card.
Connect your droid to your computer with usb and mount the SD Card
Copy bootanimation.zip to your computer.
extract bootanimation.zip to a folder
Inside you will find 2 folders with all the individual PNG files in them.
With photoshop or paint modify the png files to add your custom graphics, OR make/download your own pictures. (Make sure they are 240x320)
Highlight the two folders and the desc file.
Right click the highlighted files.
Select add files to archive.
Select Zip check box
In the compression method drop down box select Store. (this is key if you dont do this it wont play the animation)
save the archive as bootanimation.zip
copy the new bootanimation.zip to your SD Card
Select the bootanimation.zip file from your SD Card and move it... system>media>paste
REMEMBER: Re-name the default bootloader 'bootloaderold.zip' and the new one 'bootloader.zip' This will stop confusion
Any Questions? Just ask!
This is useless on the Samsung stock froyo because it uses bootani.qmg!!
mario06 said:
This is useless on the Samsung stock froyo because it uses bootani.qmg!!
Click to expand...
Click to collapse
Sorry! Forgot to mention: you need to have a custom ROM installed. Ill link that up later
Sent from my GT-I5500 using XDA App
ok.... I have Samsung Fascinate.
PWGB2.0 beta3 ROM
I found the zip containing on here(XDA) somewhere containing the BuddiesNow app for my phone and installed it. I then found the BuddiesNow for Vibrant tweaked for the Fascinate. I went to /system/app and located my BuddiesNow I had placed in there 1st and renamed it .bak
I then placed the Vibrant BuddiesNow app in the /system/app folder.
It worked great. I discovered I liked the Vibrant BuddiesNow app much better.
*************
ok... now my issue. I picked my phone up ealier this week and went to use my Vibrant BuddiesNow app and it was gone. I then long pressed the blank screen and pressed Widgets from the list that popped up. I scroll thru the list and BuddiesNow does not show up in the list.
I then open my file manager and navigate to /system/app folder and BuddiesNow is not in there. Not even the .bak file version.
I then go to my SDcard and find the copy of the Vibrant BuddiesNow app I had originally stored in a folder there and tried to copy it to the /system/app folder. The error message pops up saying that the file already exist and cant paste the file here.
I then booted into recovery, tried wiping partition cache and dalvik cache.
That did not help any. Got same result when I tried to move the file to /system/app folder again.
I then thought I would be cleaver and rename the Vibrant BuddiesNow in my SDcard folder to [BuddiesNow.apk.grid] and then move it to the /system/app folder. AND THEN AFTER PLACING IN THE /system/app FOLDER, RENAME IT TO .APK
That did not work either! It also diappeared.... now I have BuddiesNow.apk,
BuddiesNow.apk.bak, BuddiesNow.apk.grid, all in the /system/app folder and all invisible.
I had the file manager settings to SHOW HIDDEN FILES from the beginning.
I also have tried the SEARCH function in the file manager but it shows no results. I have tried installing many file manager apps and attempting to see if a different file manager would show the files but none did.....
I tried to write this episode as short as possible.. this is the best I could do to cover al the bases...
what could be a fix????????? PLEASE ADVISE! I LOVE MY BUDDIESNOW!
Come one...anyone? I love my buddiesnow app. Please help me out here
hard to belive
hard to believe someone has not seen this before and has an idea how to fix it...
I love this forum anyways
File exists, How about overwrite the file?
Accidentally sent from my Google Nexus S using XDA Premium
melvinchng said:
File exists, How about overwrite the file?
Accidentally sent from my Google Nexus S using XDA Premium
Click to expand...
Click to collapse
OVERWRITE FILE is not an option to choose... in this particular problem with this
particular apk disappearance, the option to overwrite is not there.
I have had the overwrite option at other times but not now with this issue fo who know what reason.
I am going to factory reset I guess and start over.
hasn't anyone else had the same issue?
Not sure if this would be helpful but when I had a similar issue I just used titanium backup and found the file that "already existed" and removed it. Also, you can use any file manager that allows you to sort by date modified and look for any buddynow files that may be in a folder that you didn't think about looking in
did you maybe moved the app to your sdcard ? sometimes app's widgets wont show if you move them to sdcard.If you did so move it back to the phone's memory
YoungSinema said:
Not sure if this would be helpful but when I had a similar issue I just used titanium backup and found the file that "already existed" and removed it. Also, you can use any file manager that allows you to sort by date modified and look for any buddynow files that may be in a folder that you didn't think about looking in
Click to expand...
Click to collapse
I used the search function in the various file managers I have tried & even searched the entire phone (and also the /system/app )for he disappeared files and got no results...when I get some time next week I am going to sit down and factory reset my phone and start all over.
if it works I will not try the vibrant version of buddiesnow on my phone again,
I will just use the fascinate version of buddiesnow. (the vibrant version sure was nicer tho)....