Help making an installable zip file? - T-Mobile Samsung Galaxy S II SGH-T989

I want to make a zip file comprised of all the apps I normally use. In the form of APKS. Can someone maybe point me in the right direction as to how to accomplish this?
I tried using an already made zip and replacing the apk in the zip file with all of mine. They installed but a few were completely screwed up.
Skype kept force closing over and over again. I was getting spammed by the force close dialog box and couldn't do anything at all lol.
I'm just lazy and would like to flash them all at once after flashing the rom I'm using.
Sent from my SAMSUNG-SGH-T989 using xda app-developers app

H3adru5H said:
I want to make a zip file comprised of all the apps I normally use. In the form of APKS. Can someone maybe point me in the right direction as to how to accomplish this?
I tried using an already made zip and replacing the apk in the zip file with all of mine. They installed but a few were completely screwed up.
Skype kept force closing over and over again. I was getting spammed by the force close dialog box and couldn't do anything at all lol.
I'm just lazy and would like to flash them all at once after flashing the rom I'm using.
Sent from my SAMSUNG-SGH-T989 using xda app-developers app
Click to expand...
Click to collapse
Not sure how you are zipping and extracting but I do something similar with no problems thus far. I add my favorite gizmo apps (so I don't have to download them again) by modifying the rom prior to flashing with the android kitchen. There's a few extra steps I take to add/take away the desired apps but it's all relatively easy. Read the thread below (see link) and thank dsixda profusely! :good:
Android Kitchen
http://forum.xda-developers.com/showthread.php?t=633246

Aimless Rambler said:
Not sure how you are zipping and extracting but I do something similar with no problems thus far. I add my favorite gizmo apps (so I don't have to download them again) by modifying the rom prior to flashing with the android kitchen. There's a few extra steps I take to add/take away the desired apps but it's all relatively easy. Read the thread below (see link) and thank dsixda profusely! :good:
Android Kitchen
http://forum.xda-developers.com/showthread.php?t=633246
Click to expand...
Click to collapse
Gonna try this lol
Sent from my Nexus 7 using XDA Premium HD app

H3adru5H said:
Gonna try this lol
Sent from my Nexus 7 using XDA Premium HD app
Click to expand...
Click to collapse
It's a pretty useful tool for doing other things too once you get the hang of it. If you got any questions just holler.

Related

rom editing question

so basically i have flashed cm6 on my incredible and a theme and i want to know if there is a way i can make a rom of what i have on my phone now of if i can combine the zips to make a working rom i can further edit. i have a rom kitchen set up and i am still trying to learn all the in's and out's of it.
undeclared said:
so basically i have flashed cm6 on my incredible and a theme and i want to know if there is a way i can make a rom of what i have on my phone now of if i can combine the zips to make a working rom i can further edit. i have a rom kitchen set up and i am still trying to learn all the in's and out's of it.
Click to expand...
Click to collapse
I would say that is what alot of people are doing right now with incredible rom's.....that is why people are releasing patches and fixes after seeing them working in other roms.
......I have a rather easy question that applies to this subject also....
before loading a rom to my phone, can i go into the zip file and remove some 3rd party app apk files that i don't want before running it and will it still be ok ?
JustinD,
U can not just unzip it change things and rezip. It needs a signiture. Use the basic htc kitchen that's posted in chef central, it will unzip it into a working folder allowing u to change things at your will, u also use the kitchen to rezip and sign.
Sent from my ADR6300 using XDA App
tcberg2010 said:
JustinD,
U can not just unzip it change things and rezip. It needs a signiture. Use the basic htc kitchen that's posted in chef central, it will unzip it into a working folder allowing u to change things at your will, u also use the kitchen to rezip and sign.
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
Excellent. Thank you. I figured it wasn't as simple as I put it, but I just wanted to make sure before I did something stupid.
Or use 7zip to manipulate files in the archive without even having to unzip it.
Sent from my Incredible using XDA App
mini_monsta said:
Or use 7zip to manipulate files in the archive without even having to unzip it.
Sent from my Incredible using XDA App
Click to expand...
Click to collapse
No. Changing even 1 byte will change the signature needed. You need to use the kitchen so you can resign the ROM and flash it.
Even if u did just unzip, rezip, and flash it would just throw back an invalid signature error and return u to recovery menu. No real harm done.
Sent from my ADR6300 using XDA App
Clockwordmod has signature validation disabled by default. So it will still flash if you change a kb or remove an app.

Add on .zips?

Hey, is there a repository or anything for .zips for me to add on to CM7? Such as; i downloaded an LG widgets .zip to flash (didn't work by the way) with clockwork, but i mean that kind of thing. Even if there isn't a repository is there any you'd recommend me add on?
Thanks!
Damn...zips or apks? Someone mentioned how to add apps to the rom zip so they would be system apps or part of the rom. I remember it being easy sounding but forgot. Glad you asked before I did.
Sent from my HTC Vision using XDA Premium App
Spastic909 said:
Damn...zips or apks? Someone mentioned how to add apps to the rom zip so they would be system apps or part of the rom. I remember it being easy sounding but forgot. Glad you asked before I did.
Sent from my HTC Vision using XDA Premium App
Click to expand...
Click to collapse
zips, you install them using recovery like any other rom, and it becomes part of the rom, like when you install CM7 it asks if you want an add on with all the google apps in it with your rom, (talk, youtube etc..)
That's not what I'm talking about as that is pretty obvious. Say you had 30 apks you wanted as part of the roms build. There is a place in the rom zip they can go before you flash the rom. That way don't have to make a ton of zips or build 1 large flashable.zip unless you just enjoy doing everything the hard way
Sent from my HTC Vision using XDA Premium App
Spastic909 said:
That's not what I'm talking about as that is pretty obvious. Say you had 30 apks you wanted as part of the roms build. There is a place in the rom zip they can go before you flash the rom. That way don't have to make a ton of zips or build 1 large flashable.zip unless you just enjoy doing everything the hard way
Sent from my HTC Vision using XDA Premium App
Click to expand...
Click to collapse
In that case i have no idea friend, i'm new to this whole thing xD
Spastic909 said:
That's not what I'm talking about as that is pretty obvious. Say you had 30 apks you wanted as part of the roms build. There is a place in the rom zip they can go before you flash the rom. That way don't have to make a ton of zips or build 1 large flashable.zip unless you just enjoy doing everything the hard way
Sent from my HTC Vision using XDA Premium App
Click to expand...
Click to collapse
If you open the zip file, and go to System > App, you can copy the apk's in there and they will install when you flash the rom.
You may need to re-sign the zip though, or toggle signature verification in clockwork mod.
-Nipqer
Nipqer said:
If you open the zip file, and go to System > App, you can copy the apk's in there and they will install when you flash the rom.
You may need to re-sign the zip though, or toggle signature verification in clockwork mod.
-Nipqer
Click to expand...
Click to collapse
That's the one. Thanks a bunch
Sent from my HTC Vision using XDA Premium App

[Q] Zipped Backup

Is there anyway i can backup my whole ROM as a zip file? I want to be able to bring it to my computer, edit some png's, then reflash and have the modifications up. If there is such thing please let me know. I am extremely interested in this!!
Why not just transfer the rom.zip you used to flash and edit the framework-res and systemui.apk's and then gut a flashable zip and place those in appropriate folder and flash that? That's what I do if you need a plain empty flashable I can upload one for you
Sent from my SPH-D700 using xda premium
Let me elaborate on that
You take a flashable that already contains an updater-script in it aka meta-inf.
Make a framework folder and this is where you will put your signed and renamed Framework-res.apk then make a folder named System and in system folder make an App folder and this is where you'll place the SystemUI.apk.
*note* you need to sign these when your done swapping pngs and rename them appropriately.
Once done sign the whole.zip boot into cwm and flash it this will replace the stock framework-res etc and you'll be good to go
http://db.tt/xfQOB8Kg
Use this .zip for your flashable this will do all the work in cwm mounting wise. Just delete the folders in the system folder and do what I told you above
Sent from my SPH-D700 using xda premium
this post was so noobish i feel stupid
joe_d08_17 said:
Thank you very much. That sounds like a plan. But how can I make it so the apps will stay on the desktop and settings can be saved? I take it I would have to edit the XML files or something difficult right?:/
Click to expand...
Click to collapse
What do you mean? All you'd have to do is open the zip and find the .apks extract them edit the pngs and sign them put them in the flashable and flash it... I'm not understanind your issue
Sent from my SPH-D700 using xda premium
its because what i want is literally like a clockworkmod backup but as a flashable zip. This is not possible is it? I want all my settings and referennces to be saved along with my messages etc.
joe_d08_17 said:
its because what i want is literally like a clockworkmod backup but as a flashable zip. This is not possible is it? I want all my settings and referennces to be saved along with my messages etc.
Click to expand...
Click to collapse
No if you create this flashable what you edit to put it this it will only change what your flashing like if you put nothing in the flashable then nothing will change. If you want to flash a vending.apk put in this flashable and flash it that's all that's going to change is the replacing of the market...
Sent from my SPH-D700 using xda premium
What do you plan on editing anyways? An app? Your theme?
Sent from my SPH-D700 using xda premium
Oh ok wow i am so dumb. I didnt understand you but now i get it. Thanks this sounds better
joe_d08_17 said:
Oh ok wow i am so dumb. I didnt understand you but now i get it. Thanks this sounds better
Click to expand...
Click to collapse
No problem
Sent from my SPH-D700 using xda premium
There also is a way to make a flashable from your nandroid backup. I don't remember where I saw the thread offhand but will look tonight.
Sent from my SPH-D700 using XDA App
ok i got more questions-.- what is sign? and which apk's do i have to sign?
that would be great. if you find please post a link
joe_d08_17 said:
ok i got more questions-.- what is sign? and which apk's do i have to sign?
Click to expand...
Click to collapse
Lol if you have windows 32bit ill find my installer on my pc for the apksigner and ill upload it for you xD
If you plan on editing an applications png then once you've opened it and replaced said pngs then it needs to be resigned and renamed to not have the "signed" in it
Signing means its certifed and has the ability to be installed as application
Sent from my SPH-D700 using xda premium
lol upload it please. im using apk manager 4.9 but man this really tough. can u elaborate a bit more? im so sorry lol im just not grasping it.
do not give up on me!! lol
how bout this look: so im trying to make a minor change to an app just for fun. its airdroid. so is the first step to extract the apk or to decompile?
and lol i was trying to accomplish the task of making mynandroid backup a flashable zip but this interests me to.
So, lets get clear, what exactly r u helping me do now? In my head im thinking ur trying to help me edit an app and then install it in my phone right?
if im wrong then tell me what we are trying to do!! lol
Yeah that sounds like its much more difficult then what I use what I use you drag and drop the finished apk and it signs it lol simple give me a minute to find it upload it and paste a download link..pc sucks arse phone is much faster....
Edit: yes I'm helping you edit an apk and then have it install on the phone or be able to be pushed to the /system/app folder...
Sent from my SPH-D700 using xda premium
http://db.tt/SxsN7FdP
Extract this and install it once done open the android apk signer and drop the apk file in the box hit sign and done
Sent from my SPH-D700 using xda premium
Go into Themes subforum in the sticky at the top and read Guide to Themeing by Dreamsforgotten....it is awesome and has all the programs and links...plus he answer all questions.
Sent from my SPH-D700 using XDA App
ok great im gonna try it. i tried it another time with apk manager and it didnt work. hopefully urs works.

extract rom from phone for Dsixda kitchen

I am trying to Deodex my rom in my phone. I've customized it and i want to extract it to the PC. Then I will deodex it with the DSIDXA Kitchen and then I will put it back.
How can i extract the rom in a form that the kitchen can use.
I tried CWM Touch 6.0.1.2 backup, export and image. The backup as both normal and tar.
None of them were compatible with the kitchen.
Any help would be appreciated
Thanks in advance....
Hmm. I thought it could use the nandroid img.
Did you rename the extension to.img?
Otherwise just grab the firmware for the build you want and use it instead.
Stickies in development.
Sent from my SGH-T999 using xda app-developers app
DocHoliday77 said:
Hmm. I thought it could use the nandroid img.
Did you rename the extension to.img?
Otherwise just grab the firmware for the build you want and use it instead.
Stickies in development.
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
from tar to img?
No it should be something like .ext4.cwm
I know in twrp its .ext4.win
Dont know if itll work but u can try.
Why not just use the original fw?
Sent from my SGH-T999 using xda app-developers app
DocHoliday77 said:
No it should be something like .ext4.cwm
I know in twrp its .ext4.win
Dont know if itll work but u can try.
Why not just use the original fw?
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
Because I have made several mods to the stock roms on the phone already (beats, using supersu, pimp my room, debloating, etc). And I don't feel like having to redo all of that.
There must be a simple way to do this. This is at least one of the ways that stock rom images are acquired so they can get posted.
In ClockWorkMod i have tried all of the following:
from the backup and restore menu
Create image.zip
Backup to external sdcard dup format
Backup to external sedcard tar format
None of them worked.
For image.zipo I copied the image.zip file and tried it zipped and unzipped and neither way worked.
For backup I copied all of the files from the /mnt/extSdCard/clockworkmod/backup/<DateOfTheBackup> directory.
I must be missing something stupid here
Thanks again...
Ok. Lets try something entirely different. Find a tool called Apk Manager, (google wanam apk manager ics).
Now extract all your files into a folder, or if you prefer you can plug into the computer and do adb pull /system.
Install/set up apk manager per instructions you should see where you download it. Then basically follow instructions to deodex the app and framework folders.
Sent from my SGH-T999 using xda app-developers app
DocHoliday77 said:
Ok. Lets try something entirely different. Find a tool called Apk Manager, (google wanam apk manager ics).
Now extract all your files into a folder, or if you prefer you can plug into the computer and do adb pull /system.
Install/set up apk manager per instructions you should see where you download it. Then basically follow instructions to deodex the app and framework folders.
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
thanks for your help. That will deodex my rom but not let me load it into the kitchen.
deodexing is just step one towards my attempts at themeing.
how can i download the rom from my phone so i can use it in the kitchen.
Thanks again...
Well, it not only would deodex, but you can also use apk mgr to decompile, mod/theme, recompile....pretty much do everything you want to do.
But if you are insistent on the kitchen, use tge stock fw to get started, then adb pull your system and plug your files in place of the ones from the stock fw.
Sent from my SGH-T999 using xda app-developers app
DocHoliday77 said:
Well, it not only would deodex, but you can also use apk mgr to decompile, mod/theme, recompile....pretty much do everything you want to do.
But if you are insistent on the kitchen, use tge stock fw to get started, then adb pull your system and plug your files in place of the ones from the stock fw.
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
Thanks i will give it a try.
I still would like learn how to copy the rom image in a kitchen compatible format.
Thank you again...
Ill look over dsixdas instructions to see. I know it should be possible to do, I just havent used it that way.
Itll be a bit later before I can look though.
Have you read through his threads here and the one he links to. Hes got pretty detailed instructions.
Sent from my SGH-T999 using xda app-developers app
DocHoliday77 said:
Ill look over dsixdas instructions to see. I know it should be possible to do, I just havent used it that way.
Itll be a bit later before I can look though.
Have you read through his threads here and the one he links to. Hes got pretty detailed instructions.
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
Thank you for your time and effort. I did wade through some of them but most of them seem to assume that you already have the rom image. I guess I'm just trying to do thinks backwards. I get like that sometimes, just ask my wife
I really appreciate your help. It's really difficult to not be a newb but trying to learn something new when you know half of what you are doing.
Please there's no real rush my phone is up and running fine just trying to tweak it a bit more.
Thanks....
Hi, did you manage to get an image of your current ROM?
The easiest way is to use Root Explorer and the "Zip this folder" option, by long-pressing on the system folder.
Another way is to use ADB:
e.g. #1 (Copy all files and folders to your PC)
Type on your PC:
Code:
mkdir my_system_dir
adb pull /system my_system_dir
e.g. #2 (Pull all files into an image file)
Code:
adb shell
su
mount -o remount,rw /dev/block/mmcblk0p14 /system
dd if=/dev/block/mmcblk0p14 of=/sdcard/system.img
Likewise, I believe you could do the same for the boot.img (mmcblk0p7).

[App] MyScript Mobile - Updated 22/11/2012

Based on the mod for the Xoom tablet and the Lenovo Thinkpad tablet, here is the MyScript Notes Mobile app for the Note 2.
This mod is based on the port for the Xoom, but the script is redone to account for the different file system in the Note 2. Enjoy.
Feedback is appreciated while this is being worked on. This currently only works on Touchwiz ROMs. You must be rooted with a custom recovery.
Version 1 is for AOSP ROMs.
Version 2 is for TouchWiz ROMs.
Installation:
1. Read the FAQ in the next post.
2. Download the zip and transfer it to your phone's microSD card, if necessary.
3. Boot into recovery.
4. Flash the zip.
5. Wipe cache and dalvick cache.
6. Reboot and enjoy.
FAQ
1. Why doesn't the wheel appear when I write a note freehand and then try to convert it afterward?
Currently, the only solution to this is to factory reset (wipe /data) to clear the lib data and allow this to function properly. Use the updated V2 where this is fixed.
2. Why do the first few pen strokes look bolded, then change to thin strokes?
This seems to be an issue in the apk itself. I'm not entirely sure what's causing it, but there is no current fix for it. It doesn't harm anything, it just look weird at first.
3. How do I install this?
See the first post.
looks like a cool app
the video reminds me of someone writing in a diary or journal...i suppose that would be a cool way to use it..an electronic diary
the zip is flashable? you cant install the app with an apk?
This is cool someone asked about it b4 I got it to install by using root explorer and copying over the .libs. The app works very well at changing your handwriting to "normal" text It would get about 90+% of the words correct. Thanx Cajun
Sent from my SGH-T889 using xda premium
I'm betting that there are some lib files that are fighting, since S Note installs some that are named identically. It might not hurt to revise the file names within the libs, but fixing the references after that could be a pain.
The app is darn good, but not perfect. It inserts full carriage returns at the end of each line instead of just wrapping a single line.
It is my go-to S Pen app, since the HWR in S Note is so kludgy.
Sent from my SGH-T889 using xda app-developers app
jdiddy_ub said:
looks like a cool app
the video reminds me of someone writing in a diary or journal...i suppose that would be a cool way to use it..an electronic diary
the zip is flashable? you cant install the app with an apk?
Click to expand...
Click to collapse
It's a flashable zip.
deeznutz1977 said:
This is cool someone asked about it b4 I got it to install by using root explorer and copying over the .libs. The app works very well at changing your handwriting to "normal" text It would get about 90+% of the words correct. Thanx Cajun
Sent from my SGH-T889 using xda premium
Click to expand...
Click to collapse
Why not flash it instead of moving with root explorer?
cajunflavoredbob said:
Why not flash it instead of moving with root explorer?
Click to expand...
Click to collapse
When this was posted b4 it wasn't a flash able
http://forum.xda-developers.com/showthread.php?t=1977578
Sent from my SGH-T889 using xda premium
deeznutz1977 said:
When this was posted b4 it wasn't a flash able
http://forum.xda-developers.com/showthread.php?t=1977578
Sent from my SGH-T889 using xda premium
Click to expand...
Click to collapse
I see. I'll have a look at that thread and see what can be done.
@Owen
I did figure out what is causing the wheel not to appear. The MyScript libs are already built into the Note2 TW ROMs for the S Note app. When my zip is flashed, it overwrites the existing libs, but leaves behind the data file for them, causing some minor glitches. I don't see any way to fix the bolded lines at the beginning of the notes, though. I'll see if I can locate the data files and have the zip clear them. The existing libs are newer than the zip.
The problem is because other devices did not rely on the MyScript engine for transcribing text like the Note 2 does. S Note is built on top of this functionality.
Looks good, keep up the good work. Will give this a through testing when I'm home from work.
Sent from my SGH-T889 using xda premium
I was worried that the MyScript app was overwriting the libs. We need to update the MyScript zip to change the names of those libs, and fix all the internal references. If we overwrite lib files that S Note uses, we might get unexpected results.
Sent from my SGH-T889 using xda app-developers app
OwenW71 said:
I was worried that the MyScript app was overwriting the libs. We need to update the MyScript zip to change the names of those libs, and fix all the internal references. If we overwrite lib files that S Note uses, we might get unexpected results.
Sent from my SGH-T889 using xda app-developers app
Click to expand...
Click to collapse
Actually, it should work fine without the Myscript libs. The ones already installed should be fine. Try this zip and see if it works. This zip does not have duplicate libs or overwrite anything.
To test this one, please make a backup of your ROM, then fully wipe everything including /system. Reflash your ROM, then reboot. Open S Notes and save a couple of notes. Doesn't matter what you type. Next, reboot into recovery and flash this zip. Reboot and see if the wheel works and if there are any other hiccups.
cajunflavoredbob said:
Actually, it should work fine without the Myscript libs. The ones already installed should be fine. Try this zip and see if it works. This zip does not have duplicate libs or overwrite anything.
To test this one, please make a backup of your ROM, then fully wipe everything including /system. Reflash your ROM, then reboot. Open S Notes and save a couple of notes. Doesn't matter what you type. Next, reboot into recovery and flash this zip. Reboot and see if the wheel works and if there are any other hiccups.
Click to expand...
Click to collapse
So far, so good. I followed your directions exactly, full wipe and reflash. Created a few notes to make sure S Note was fully initialized, then flashed the v2 zip from recovery. First few strokes are still fat, but the wheel shows up fine...for now. I'll keep you posted on my progress.
Keep up the good work!
I just have to say, I LOVE this phone. It has never been so fast and easy to completely wipe and restore a device. I can have the whole operation done in just under ten minutes, with all my apps fully restored. Phenomenal.
Sent from my SGH-T889 using xda app-developers app
OwenW71 said:
So far, so good. I followed your directions exactly, full wipe and reflash. Created a few notes to make sure S Note was fully initialized, then flashed the v2 zip from recovery. First few strokes are still fat, but the wheel shows up fine...for now. I'll keep you posted on my progress.
Keep up the good work!
I just have to say, I LOVE this phone. It has never been so fast and easy to completely wipe and restore a device. I can have the whole operation done in just under ten minutes, with all my apps fully restored. Phenomenal.
Sent from my SGH-T889 using xda app-developers app
Click to expand...
Click to collapse
Awesome. I'll post this one as the new version then. Thanks for testing for me.
I assume this is running with no issues for everyone as there have been no posts about it. That's good to know.
cajunflavoredbob said:
I assume this is running with no issues for everyone as there have been no posts about it. That's good to know.
Click to expand...
Click to collapse
I have only had limited time to play with it, but found it to be the most accurate at recognizing even my awful handwriting.
Crashes after I draw a line. Running on jedix
Sent from my SGH-T889 using xda premium
Cerv3r said:
Crashes after I draw a line. Running on jedix
Sent from my SGH-T889 using xda premium
Click to expand...
Click to collapse
How did you install! It works fine for me, I flashed in TWRP.
Cerv3r said:
Crashes after I draw a line. Running on jedix
Sent from my SGH-T889 using xda premium
Click to expand...
Click to collapse
Try this version. Make sure to clear your caches and clear data for S Note.

Categories

Resources