Installing Apps via nomorootfs update - Touch CDMA Android Development

Is there a way to install applications in android by making an androidupdate.tar file?

kiwilime said:
Is there a way to install applications in android by making an androidupdate.tar file?
Click to expand...
Click to collapse
yes. make a folder called system and then put another folder called apps in the system folder. then put the apk's in that app folder. so it should be
system/app/....apk
then turn that system folder into an .tar

Can you recommend an application to do this? I tried QuickZip, but it didnt work because it can't archive folders.

I use 7-Zip:
http://www.7-zip.org/
Works really well.

JM-PDA said:
I use 7-Zip:
http://www.7-zip.org/
Works really well.
Click to expand...
Click to collapse
yes 7zip is what i use.

Related

I Need Help Themeing on a MAC!!

can anyone sign this for me? i think i zipped everything correctly, but i use a mac so i am not sure, it has the notification bar i want (white with see through background) and a white launcher bar
http://www.zshare.net/download/75495216631b6c2e/
DrededStar87 said:
can anyone sign this for me? i think i zipped everything correctly, but i use a mac so i am not sure, it has the notification bar i want (white with see through background) and a white launcher bar
http://www.zshare.net/download/75495216631b6c2e/
Click to expand...
Click to collapse
Try this: http://www.darktremor.com/upload/changes-signed.zip
scratch that, i packaged it wrong, there is the main folder "Changes-signed" and inside of that there is a "changes" folder, then they system folder inside of that and the "framework-res.apk" folder is still a zip and not apk, it just has an alias apk file name fml
DrededStar87 said:
can anyone sign this for me? i think i zipped everything correctly, but i use a mac so i am not sure, it has the notification bar i want (white with see through background) and a white launcher bar
http://www.zshare.net/download/75495216631b6c2e/
Click to expand...
Click to collapse
I use mac too. The way you zip it is go into the folder where it is, select the contents, right-click and hit compress. It should save into archive.zip. Now, to sign it, use this amazing tool. http://forum.xda-developers.com/showthread.php?t=573498 Put the testsign.jar in Macintosh HD and put the app in the dock. Just drag the zip you want to sign onto the icon, and wait for the dot to go away under the sign app. Then, go to the folder where the original zip was, and there should be a Myzip-signed.zip. That should be a flashable zip as long as there's an update-script.
HeroMeng said:
I use mac too. The way you zip it is go into the folder where it is, select the contents, right-click and hit compress. It should save into archive.zip. Now, to sign it, use this amazing tool. http://forum.xda-developers.com/showthread.php?t=573498 Put the testsign.jar in Macintosh HD and put the app in the dock. Just drag the zip you want to sign onto the icon, and wait for the dot to go away under the sign app. Then, go to the folder where the original zip was, and there should be a Myzip-signed.zip. That should be a flashable zip as long as there's an update-script.
Click to expand...
Click to collapse
so it does not have to be an apk file? im gonna try to sign it myself
DrededStar87 said:
so it does not have to be an apk file? im gonna try to sign it myself
Click to expand...
Click to collapse
Uhh... that program is for your mac, not your phone.
HeroMeng said:
Uhh... that program is for your mac, not your phone.
Click to expand...
Click to collapse
i meant the "framework-res.apk" file because i made it an alias of the original file, but it is still a zip, i have no clue how to make it back into an apk file after unzipping it
and i used the search button but the things i found were not much help....just to let people getting ready to yell at me for not using it
DrededStar87 said:
i meant the "framework-res.apk" file because i made it an alias of the original file, but it is still a zip, i have no clue how to make it back into an apk file after unzipping it
and i used the search button but the things i found were not much help....just to let people getting ready to yell at me for not using it
Click to expand...
Click to collapse
Ok, you know what... just make a metamorph file. Metamorph is much easier.
Wait, what? You were trying to reinstall framework-res.apk? Nonononono. No. You need to write an update-script. It will put the apk in /data/app (or /sdext/app) if you install it as an apk.
HeroMeng said:
Ok, you know what... just make a metamorph file. Metamorph is much easier.
Click to expand...
Click to collapse
ummmmmm...i guess saying that i am extremely new to this is an understatement
the easiest way to do what you are talking about is to use something like 7zip or winzip to open , NOT UNZIP, the apk. Next, open up the zip you made. Now, drag the folder called res from YOUR zip into the open window of the apk. This should replace the old folder with your new one that contains all your edits. Now just close the opened apk, and you are done. Simple.
tejasrichard said:
the easiest way to do what you are talking about is to use something like 7zip or winzip to open , NOT UNZIP, the apk. Next, open up the zip you made. Now, drag the folder called res from YOUR zip into the open window of the apk. This should replace the old folder with your new one that contains all your edits. Now just close the opened apk, and you are done. Simple.
Click to expand...
Click to collapse
He has mac, like me. No 7zip.
HeroMeng said:
He has mac, like me. No 7zip.
Click to expand...
Click to collapse
But you have some sort of zip program, right?
tejasrichard said:
But you have some sort of zip program, right?
Click to expand...
Click to collapse
We have Archive Utility, straight from apple, comes with the mac.
It doesn't allow you to open without unzipping? (obviously I know nothing about macs)
tejasrichard said:
It doesn't allow you to open without unzipping? (obviously I know nothing about macs)
Click to expand...
Click to collapse
Nope. We can run Windows apps in WINE if we want....
so...what are my options people? cuz im still confused...
Re: i think i did this right...
bump.....anyone know anything?
Sent from my HERO200 using the XDA mobile application powered by Tapatalk
So here's the issue: Drededstar has unzipped the framework apks, and changed the files...now he wants to know how to turn the .zip folder into actual apk files.
Macs don't have 7zip or ANY program that lets you look into apk contents without unzipping them all the way. So, you have to unzip them. Then once you're done making the changes, you need to change them back to apk files. DOES ANYONE KNOW HOW TO CHANGE THEM BACK TO APK FILES?!!!
I have a mac too, but I do all my theming on my wife's computer...and she's probably tired of me kicking her off. If anyone knows how to do this one simple step could you please let us mac users know?!! Thanks!
as long as the file structure is right, you just have to rename the zip file to apk.

Modifing Rom

If I down load a rom and open the zip file can i just goto system/apps and delete and install .apks and then flash that rom? I was wondering so i don't have to delete them after install.
Neo31697 said:
If I down load a rom and open the zip file can i just goto system/apps and delete and install .apks and then flash that rom? I was wondering so i don't have to delete them after install.
Click to expand...
Click to collapse
Depends on what your deleting and adding, if your just deleting and adding apks to the system/app dir you should be ok (normally) . If you want it to stay as an update type zip it'll need to be resigned.
Neo31697 said:
If I down load a rom and open the zip file can i just goto system/apps and delete and install .apks and then flash that rom? I was wondering so i don't have to delete them after install.
Click to expand...
Click to collapse
U can Add and delete what u like but if u do u have to resign the rom before u can flash it.
If u download avabox2 (can be found on xda via a search...its free) it has a folder in there called autosign. Put the rom in there rename it update the click on the sign file. It will sign it for u automatically. Then u can rename the signed rom whatever u like. Just no spaces in the name. Then it can be reflashed.
sweet thanks. Just thinking about starting to make my own roms and this seemed like a good place to start
Neo31697 said:
sweet thanks. Just thinking about starting to make my own roms and this seemed like a good place to start
Click to expand...
Click to collapse
Some tools for you to get started:
For People Willing To Learn
Everything Android

[Q] how do i create a clockwork flashable zip?

recently i tried to replace the kernel that came with a version of Phoenix with an updated kernel before flashing, but it did not work out. I simply extracted the original, replaced the zimage, and created a new zip file with the new kernel in the rom, using windows to package the zip. is this what i should do, or is it more complex than this? the flash failed.
Don't extract the rom zip. Use 7zip or similar and open archive, delete the zimage then drag the other kernel zimage in there. Or just flash the rom as is and then flash the kernel.
newter55 said:
Don't extract the rom zip. Use 7zip or similar and open archive, delete the zimage then drag the other kernel zimage in there. Or just flash the rom as is and then flash the kernel.
Click to expand...
Click to collapse
thanks! that makes sense. can i just do what you said using windows explorer?
7zip is free and handles many more file extension types.
Install it then right click on the file in windows explorer, select 7 zip, then open archive. This allows you to make changes without actually extracting the entire file.
newter55 said:
7zip is free and handles many more file extension types.
Click to expand...
Click to collapse
yes i know, but when just dealing with a zip file, can i use windows explorer to delete contents inside the zip and replace them?
You are too quick....edited my post above
newter55 said:
You are too quick....edited my post above
Click to expand...
Click to collapse
so when i double click on a zip file in windows explorer, and it opens it as if it were just another folder, can i not replace stuff directly in windows explorer where im at?
That extracts everything and you may have issues after zipping it back up
newter55 said:
That extracts everything and you may have issues after zipping it back up
Click to expand...
Click to collapse
in windows explorer, you can right click and select extract files, but when you double click the zip it appears that it is allowing you to edit the contents without completely unzipping. am i wrong in thinking this?
Perhaps you can do it that way......i just always used 7zip. You will have to try it and see.
newter55 said:
Perhaps you can do it that way......i just always used 7zip. You will have to try it and see.
Click to expand...
Click to collapse
alright, thanks bud =D
I am using winzip. When I right click the zip file it gives me the option to "open" with winzip. When I do it shows me files like windows does. So my question is can I use winzip to replace the file and then close it?
winzip works as well

I think I screwed up..

I have canned a lot of apk's recently.
Now I notice when my wifi scans it won't show any networks/SSID's. But if I manually enter one, it will connect.
Any ideas? It may not be related to the apk's I don't know
An apk file is an installation file - it installs an app. Once the app is installed you can delete the apk. So I doubt one has anything to do with the other.
Rukbat said:
An apk file is an installation file - it installs an app. Once the app is installed you can delete the apk. So I doubt one has anything to do with the other.
Click to expand...
Click to collapse
Isn't the apk and the program one in the same? If you remove an apk from browsing with root explorer it will remove the program off your phone.
Sent from my SM-N9005 using Tapatalk
wdkingery said:
I have canned a lot of apk's recently.
Now I notice when my wifi scans it won't show any networks/SSID's. But if I manually enter one, it will connect.
Any ideas? It may not be related to the apk's I don't know
Click to expand...
Click to collapse
run a factory reset. simple as that.
pham818 said:
run a factory reset. simple as that.
Click to expand...
Click to collapse
When you delete a system apk it deletes it from recovery as well.
Sent from my SAMSUNG-SGH-I467 using Tapatalk
Agent said:
When you delete a system apk it deletes it from recovery as well.
Sent from my SAMSUNG-SGH-I467 using Tapatalk
Click to expand...
Click to collapse
I know. I know in the long run I may be boned, as I have no hard reset basically. I would how it will end..
wdkingery said:
I have canned a lot of apk's recently.
Now I notice when my wifi scans it won't show any networks/SSID's. But if I manually enter one, it will connect.
Any ideas? It may not be related to the apk's I don't know
Click to expand...
Click to collapse
Download UrDroid from the development section. Open the zip and goto /system/app and copy them to your SDcard into a folder (so you don't clutter the root of your storage)
Reboot into safe strap
Click on mount
Select /system
Back out
Goto advanced
Select file manager
navigate to the folder on your SDCard
Copy them into your /system/app folder
When your done fix permissions and reboot
If your nice, pm me and I will make you a flashable zip
http://i1202.photobucket.com/albums... Banners/RErick-GalaxyNote3v7_zps7048a771.png
Is there a way to accomplish this without safestrap? That's the only step of your process I don't have
wdkingery said:
Is there a way to accomplish this without safestrap? That's the only step of your process I don't have
Click to expand...
Click to collapse
Not for it to be right. But safe strap is uninstallable.
if you're already rooted then you can run safestrap
http://i1202.photobucket.com/albums... Banners/RErick-GalaxyNote3v7_zps7048a771.png
Agent said:
Isn't the apk and the program one in the same? If you remove an apk from browsing with root explorer it will remove the program off your phone.
Click to expand...
Click to collapse
If that were the case, I'd have very few apps on my phone. I always delete the apk file (as soon as I back it up to my normal backup locations, which are on devices other than the phone).
An apk is actually a zip file with a different extension. (Rename it .zip and open it in Winzip - you'll see.) It's an installer. Once the app has been installed you no longer need the installer.
If you've deleted apk files and had your apps disappear, you're doing something in addition to removing the apk files. (I normally put apk files on the root of my external SD card, so I don't need a rooted program to delete them.)
wdkingery said:
Is there a way to accomplish this without safestrap? That's the only step of your process I don't have
Click to expand...
Click to collapse
I've added/deleted/modified files in /system/app with just root file explorer, back before safestrap existed for the N3 - you do not need safestrap to fiddle with /system/app - you can do it with root file explorer (remember to set the permissions correctly - 644 iirc).

How do I "rip" the gallery from a ROM (zip)

Hi, I want to know if I can rip the AOSP gallery from a installed ROM (or ROM zip).
I also need the editor to work.
Who can help me out on this matter?
Thanks for your replies!
franatic08 said:
Hi, I want to know if I can rip the AOSP gallery from a installed ROM (or ROM zip).
I also need the editor to work.
Who can help me out on this matter?
Thanks for your replies!
Click to expand...
Click to collapse
For ROM zip you would need to unzip it using 7-zip, then navigate the system/app folder and find what might be a folder called "gallery" everything you need should be inside that folder. For an installed ROM just use a file explorer app and navigate to the system/app folder then copy and paste the gallery to the root of your internal storage. All this assumes the gallery is in the same location as the photos app is on my stock ROM.
Awesome, found it.
I usually backed it up using ES Explorer, but that broke the editor.
The lib folder is now included, so I should be good to go. Will try later!
Thanks!
BladeRunner said:
For ROM zip you would need to unzip it using 7-zip, then navigate the system/app folder and find what might be a folder called "gallery" everything you need should be inside that folder. For an installed ROM just use a file explorer app and navigate to the system/app folder then copy and paste the gallery to the root of your internal storage. All this assumes the gallery is in the same location as the photos app is on my stock ROM.
Click to expand...
Click to collapse
The unzip will not completely work with the changes google is making. The newer compiled roms are compiled into images and not like they used to be.
franatic08 said:
Hi, I want to know if I can rip the AOSP gallery from a installed ROM (or ROM zip).
I also need the editor to work.
Who can help me out on this matter?
Thanks for your replies!
Click to expand...
Click to collapse
Forget about ripping it from a sysimage. Install it as an application from specially modified sources;
https://github.com/lbdroid/android_packages_apps_Gallery2
Or if you trust me, binary; https://github.com/lbdroid/Android-Binaries/blob/master/Gallery2.apk
zelendel said:
The unzip will not completely work with the changes google is making. The newer compiled roms are compiled into images and not like they used to be.
Click to expand...
Click to collapse
doitright said:
Forget about ripping it from a sysimage. Install it as an application from specially modified sources;
https://github.com/lbdroid/android_packages_apps_Gallery2
Or if you trust me, binary; https://github.com/lbdroid/Android-Binaries/blob/master/Gallery2.apk
Click to expand...
Click to collapse
I already encountered the image thing you both mention.
Luckily I was able to pull it from the installed ROM.
Got it working now. Editor works just fine.
Last thing though...
Each time I hit the edit button, the pop-up for "select action" shows up. It only displays the editor to select.
Is there any way I can get rid of that?
Setting a default action for it somehow, somewhere?
This selection menu

Categories

Resources