[Q] Creating app bundle? - EVO 4G Q&A, Help & Troubleshooting

Can anyone link me to a guide for putting together a zip file of apk's I like to install after flashing a ROM? Thanks.

U can download a gapps zip and replace the apps with whatever apks u would want but I think most gapps zips will install them in system but I'm not sure, you could try the inverted gapps as I'm pretty sure those install in data to make them more easily removeable later

Just add them to the ROM before you flash it in the System/App folder

bdK14 said:
Can anyone link me to a guide for putting together a zip file of apk's I like to install after flashing a ROM? Thanks.
Click to expand...
Click to collapse
Can you clarify the question? Do you mean a zip of apps that you just don't want to forget to install or do you mean actually mean a flashable zip like some of the other guys mentioned?

Related

newbie questions

Hi all,
I have 2 questions.
1..
difference between deodexed and odexed?
2..
If my evo is already root and nand unlocked. Do I need to follow toast part 2 every time when I want to install a new rom? Please advise.
Thanks
Jeff
1:
From Berzerker @ droidforums.net found via Google:
Apk files have respective odexes that devs use to supposedly save space. Deodexing means you convert it back to a .dex file and put it back inside the apk. This allows you to easily replace files (not having to worry about odexes), but the main point was to deodex services.jar so that you can change all text to different colors (such as the clock color to white) and to deodex services.jar, you need to deodex everything.
Click to expand...
Click to collapse
2: No, you don't need to reroot or re-nand-unlock. Once it's done it should be done, unless the ROM is a stock/RUU ROM and removed root, or you've updated over-the-air and the update removed root, or someone screwed up their ROM and made it remove root (people will generally find out and post about the latter ASAP and it will be removed.)
Great,
so what would be the best step? update.zip then apply new rom? or I'm off?
jefftse said:
Great,
so what would be the best step? update.zip then apply new rom? or I'm off?
Click to expand...
Click to collapse
No need to update.zip. If you've already rooted and have nand access, just copy the ROM file to your SD card in it's .zip format (leave it with it's default name so you know what one it is.)
Then turn off the phone, reboot while holding the volume button to get to the menu, then go to recovery.
I always perform a Nandroid backup, especially if you're at a "default" ROM right after root/nand. So Nandroid, then go to wipe and just move down the list wiping everything. Then go back to the first menu, select Flash Zip file from SD Card, select the ROM you want to flash, let it go, and reboot.
Edit: Oh yeah, make sure you remove that PC36IMG.zip file from the SD card before doing any of this.
Awesome!
One more questions,
What is OTA update? I think I'm supposed to update to 1.47.651.1?
and radio update for 2.05.00.06.10 WiMax update?

[Request] Stock Phone App for JB

I flashed an inverted dialer/contacts .zip but apparently it doesnt work on my rom (jbsourcery). Contacts worked fine but now i dont have any phone app. Can somebody please package the phone apk into a flashable zip for me? Id rather not flash the whole gapps package because i have alot of other modded gapps installed. When i extract the gapps package i dont see a standalone phone apk so i am not sure exactly what all i am looking for or else i would do it myself. Thanks for the help.
Flashing gapps package did not restore the dialer either
Phone.apk is part of the ROM zip, not gapps. either re-flash your ROM and gapps/modded gapps, or you can pull the original apk from the ROM.
Thank you. Was wondering where it would be pulled from. I ended up just restoring from a nandroid.

[Q] How do i make a ZIP TWRP friendly?

So i have had this issue for some time now but i have been overlooking it. every time i make a flashable rom for my xperia play and try to install it get a error and cant install from TWERP. If i install on CWM it works, but i did notice that some other zips install on TWRP but not mine. Once i tried something from TWRP website and it worked ON TWRP BUT NOT ON CWM. I need to make a zip that is compatible with both TWRP & CWM
xdarkmario said:
So i have had this issue for some time now but i have been overlooking it. every time i make a flashable rom for my xperia play and try to install it get a error and cant install from TWERP. If i install on CWM it works, but i did notice that some other zips install on TWRP but not mine. Once i tried something from TWRP website and it worked ON TWRP BUT NOT ON CWM. I need to make a zip that is compatible with both TWRP & CWM
Click to expand...
Click to collapse
Maybe your meta inf file in the zip I'd outdated? Try copying one from a newer flashable zip like a rom or one that works. Im not very good with this stuff but it's just a suggestion you could try
Sent from my Xperia Play (r800x)
xdarkmario said:
So i have had this issue for some time now but i have been overlooking it. every time i make a flashable rom for my xperia play and try to install it get a error and cant install from TWERP. If i install on CWM it works, but i did notice that some other zips install on TWRP but not mine. Once i tried something from TWRP website and it worked ON TWRP BUT NOT ON CWM. I need to make a zip that is compatible with both TWRP & CWM
Click to expand...
Click to collapse
I notice that that twrp hates things in updater-script that doesn't exists. For example, setting permissions or symlinking for non-existing files. And better do mounting with busybox command.
If you want just take meta-inf folder from my rom, it work in twrp. Edit to your liking (but delete aroma folder and aroma scrips)
Sent from my R800i using xda app-developers app
abdel12345 said:
Maybe your meta inf file in the zip I'd outdated? Try copying one from a newer flashable zip like a rom or one that works. Im not very good with this stuff but it's just a suggestion you could try
Sent from my Xperia Play (r800x)
Click to expand...
Click to collapse
if i update it then the zip looses compatibility with CWM
Bakisha said:
I notice that that twrp hates things in updater-script that doesn't exists. For example, setting permissions or symlinking for non-existing files. And better do mounting with busybox command.
If you want just take meta-inf folder from my rom, it work in twrp. Edit to your liking (but delete aroma folder and aroma scrips)
Sent from my R800i using xda app-developers app
Click to expand...
Click to collapse
i'll take a look for non existing links.

Zip disappears

When I try to flash a new Zip file, it disappears from the directory, both on SD internal and EXTsd card.......Goo manager FC and Rom manager says it's not there?
Any ideas to check for?
Re-installed Goo.im, Rom manager, still no luck.
Is there a way to manually Unzip and install without rebooting in recovery?
Tried to fix permissions, got "an error occurred while attempting to run privileged commands."?
What are you trying to flash?
Also, if you constantly moved from TW to AOSP, you were supposed to flash the zip to restore your SD card AFTER you flash the TW rom. This may be your issue as starting with android 4.2 Google added multi user and moved your files to a folder named /0 (or legacy).
Most of the time I had issues with not locating the zip it was due to this error. My recommendation, download and move the file to the root of your extSD before going in to recovery.
Also, remember Goo.im downloads are saved on the gooim folder in your internal SD card, not the downloads folder.
jibust said:
What are you trying to flash?
Also, if you constantly moved from TW to AOSP, you were supposed to flash the zip to restore your SD card AFTER you flash the TW rom. This may be your issue as starting with android 4.2 Google added multi user and moved your files to a folder named /0 (or legacy).
Most of the time I had issues with not locating the zip it was due to this error. My recommendation, download and move the file to the root of your extSD before going in to recovery.
Also, remember Goo.im downloads are saved on the gooim folder in your internal SD card, not the downloads folder.
Click to expand...
Click to collapse
Thanks. Haven't run any roms on this one. Running stock and rooted with Aviate. I've tried dloading directly to extsd, transfering from my laptop to extsd and SD.
I was trying to flash the Dark Ink lockscreen v2 and 16 ink lockscreen. I'm stumped.....I was able to flash Bravia Engine, Exposed Framework, Multi-Window Mod......it's just the Lockscreen zips. And the only reason I was doing it was because I wanted the ink to work without the S-Pen.....Not that big of a deal I guess. It has to be something simple I am overlooking...
EDIT: Fixed....sort of.... It wouldn't install from any other folder than the CWM Backup folder?? If anyone has an idea as to why, I would love to know?
dmxinc said:
Thanks. Haven't run any roms on this one. Running stock and rooted with Aviate. I've tried dloading directly to extsd, transfering from my laptop to extsd and SD.
I was trying to flash the Dark Ink lockscreen v2 and 16 ink lockscreen. I'm stumped.....I was able to flash Bravia Engine, Exposed Framework, Multi-Window Mod......it's just the Lockscreen zips. And the only reason I was doing it was because I wanted the ink to work without the S-Pen.....Not that big of a deal I guess. It has to be something simple I am overlooking...
EDIT: Fixed....sort of.... It wouldn't install from any other folder than the CWM Backup folder?? If anyone has an idea as to why, I would love to know?
Click to expand...
Click to collapse
Alot of your problems are because you're trying to flash mods on a stock odexed system. If you want to flash rom mods you need to flash a rom that is deodexed. Basically a stock just rooted system breaks up the app in your system. This allows faster boot times. An deodexed system compiles the split up apps together. This will allow you to flash mods and easily modify your system. When you flash a mod you replace the original app. If it's odexed you don't replace the whole app.
Sent from my phone
210euser said:
Alot of your problems are because you're trying to flash mods on a stock odexed system. If you want to flash rom mods you need to flash a rom that is deodexed. Basically a stock just rooted system breaks up the app in your system. This allows faster boot times. An deodexed system compiles the split up apps together. This will allow you to flash mods and easily modify your system. When you flash a mod you replace the original app. If it's odexed you don't replace the whole app.
Sent from my phone
Click to expand...
Click to collapse
Thank You. :good: I thought I flashed the "Stock_rooted_deodexed CALK7," But I used the "back to stock thread" which includes the Odexed version, and what you're saying makes sense.
I live, I learn.....:fingers-crossed:
dmxinc said:
Thank You. :good: I thought I flashed the "Stock_rooted_deodexed CALK7," But I used the "back to stock thread" which includes the Odexed version, and what you're saying makes sense.
I live, I learn.....:fingers-crossed:
Click to expand...
Click to collapse
I've flashed the wrong zip before and it sucks trying to fix mistakes. But after awhile you just backup once a week lol.
Sent from my phone

Flashable Zip

Hi!
Im trying to figure out how to make a flashable zip to flash after a rom update so apps that I want to install in sytstem/apps can be automatically be flashed from the recovery instead of manually copying them using a file manager. Is there some one that can help me in this?
yakie996 said:
Hi!
Im trying to figure out how to make a flashable zip to flash after a rom update so apps that I want to install in sytstem/apps can be automatically be flashed from the recovery instead of manually copying them using a file manager. Is there some one that can help me in this?
Click to expand...
Click to collapse
I have a script I run after each flash, but I currently only use it to delete apks. Perhaps you can use it as a base, I think you need the function "package_extract_file" (it's commented out in my script, I used it to overwrite a GPS config).
My zip is attached, the file to look into is in meta-inf/com/google/android and is called update_script.
Just play around with it, you can just put it back into the zip and flash it in twrp.
muff99 said:
I have a script I run after each flash, but I currently only use it to delete apks. Perhaps you can use it as a base, I think you need the function "package_extract_file" (it's commented out in my script, I used it to overwrite a GPS config).
My zip is attached, the file to look into is in meta-inf/com/google/android and is called update_script.
Just play around with it, you can just put it back into the zip and flash it in twrp.
Click to expand...
Click to collapse
Great thank you! I'll look at it
yakie996 said:
Great thank you! I'll look at it
Click to expand...
Click to collapse
Look at loads of updater scripts. Learn the commands they use.
Pick some relevant for your needs.
Then use them.
You will get errors. There will be screw ups but eventually it all starts working.
There's no other good way really that's how I learned how to use updater-scripts.

Categories

Resources