I have builded my rom I've zipaligned it and deodexed. I've packed rom with cygwin and tried to flash it via CWM but it won't flash. does anybody knows how to pack a rom?
Not sure if i am understanding you correct .
Rezip and sign a rom i use . signing -zip posted here sorry cannot find the link .
jje
Details
his script has 2 main uses:
1. Modify an update.zip
2. Create an update.zip
For #1 - You just extract the contents of an update.zip into the placehere folder, modify its contents, and run the script stating to create an update.zip
For #2 - So far these are the options i have in there for create the update-script
1. Copy directories
2. Copy files
3. Create Symlinks
4. Delete file
5. Delete directory
6. Flash boot image
7. Set permissions for file
8. Set permissions for directory
New Features in 2.0 :
- Set java heap size / compression level for zip
- New drag/drop mode.
>>> - If you drag a folder onto the script's icon (as in Script.bat) it will compress the contents of the folder into a zip and sign it.
>>> - If u drag a zip onto the script's icon (as in Script.bat) it will sign the zip for you.
So this script guides u as u select each option, and adds the appropriate command to the update-script file. Then u exit that sub-menu and create update.zip
I've fixed it already anyway thanks for help
Sent from my GT-I9000 using XDA Premium App
Related
1. Kindly read my post at
http://forum.xda-developers.com/showthread.php?t=1078446
2. Download this file
http://dl.dropbox.com/u/28960469/Lalit lock.zip
3. Download these trial icon files
http://dl.dropbox.com/u/28960469/256x256.rar
4. Download a free tool Paint.net (google...its free for windows).
5. Patience is required only once then onceu r done..u'll remember all on fingertips
- Make two separate folders and copy icon files in one.
- Open the downloaded zip file with winrar and extract the contents to another folder (do not mess around with original zip always make a backup copy)
- In extracted files you will have three folders
data
meta-inf
system
- open system then app u will find htclockscreen.apk ..Extract this file in different place so that u can view it separately.
- when you have extracted htclockscreen.apk (winrar can do it) go to folder htclockscreen.apk>res>drawable-hdpi folder.
6. Now you will see all the icon files used by lockscreen.. And you will easily identify the icons used by me in my lock screen.(screenshots)
7. Now either use your own collection or the demo icons provided by me open each file you want to edit with paint.net and edit the file as per your
requirement and play around with icons as you like.
8. Now u have a new set of icons in drawable-hdpi folder.
9. Important
Open the lalit lock.zip (do not extract jst keep clicking in winrar in sequense
lalit lock.zip>system>app>htclockscreen.apk>res>drawable-hdpi
copy the icons you edited here via drag and drop (do not destroy the directory or file structure)
10. Let it recompile zip if it asks.
11. Do backup and jst shoot ur zip and u will have ur lockscreen
Happy modding
1>First of all I would like to know how to sign the custom-rom again after adding or deleting some of the apps. I added G-apps and signed with testsign jar it worked. But I add any other apk in to the rom and sign with testsign it signs the zip but at recovery installation gets aborted.. please Help
2>I wanted to start build cm7 for my galaxy mini from source I followed the steps given in cyanogen.wiki site but when i am cloing the repo it is giving only htc saphire device. Please help by giving a tutorial how to proceed ..........
3> I was wondering how to get ring lock for tjstlye cm7 ...? I can i copy cmsettings apk to tj rom from 7.2 by SQADZONE will it work or should i do any more changes? or it is not possible at all? because tj was 2.3.5 and SQADZONE version is 2.3.7
i am newbie here so I can not post in developement thread.
thank you in advance ..........
It will also clone Galaxy Mini (tass), just wait for it to finish.
You can still search in Dev section :
squadzone said:
Requirements :
1. OS linux Ubuntu 11.04 64bits ( recommended ) or above
2. 2Gb RAM with 3Gb swap or above
3. Processor Centrino Duo or above
4. 120Gb Harddisk or above
5. Fast internet connection ( i have no this )
First download this file
Installer SDK and Build packages by me
Password : squadzone
you will get installerBuildRomGalmin.sh , run this file via Terminal on Ubuntu
follow all instruction that appears,
after Finish, now we goto download repository
still on Terminal
type
mkdir -p ~/android/system
sudo curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > /bin/repo
sudo chmod a+x /bin/repo
cd /android/system
repo init -u git://github.com/CyanogenMod/android.git -b gingerbread
repo sync -j32
now you can build the rom, and choose what device that you want to build
for reference , READ THIS
have fun to build the rom
Click to expand...
Click to collapse
---------------------------------
Sent from my Samsung Galaxy Mini GT-S5570 via xda-dev app
CyanogenMod 7.2.0-RC2-KANG by squadzone
Thank you, I will try to do it..........
You can skip signing your zip file. Let's say you have a CM7 flash zip file, and have WinRAR installed.
1. EXTRACT CM7 zip, and make a backup of your zip file. In the extracted folder you'll get META-INF folder, system folder and boot.img
2. Add / remove any .apk in system/app folder. Just be cautious with several apk such as mms and phone and contacts, these are needed and should not be replaced. Gallery and music is safe to replace.
3. Add any library files (.so) you want
4. When you're done with above steps, using WinRAR, OPEN (do not extract again) CM 7 zip
5. In WinRAR you'll see the contents of your CM 7 zip. DELETE system folder.
6. Back to Windows Explorer, DRAG your extracted system folder (which now contains whatever it is that you modified) into the WinRAR window (that shows the content of your CM 7 zip file).
7. A window will pop-up asking you to change archive name. Just click OK to proceed. It will be a brief moment before your CM 7 zip has the new system folder.
8. Close the WinRAR window, and proceed with flashing.
One more thing, in folder META-INF you can look for file updater-script, which contains the syntax for flashing (mounting system and or data partition, extracting zip file contents to designated folders, setting permission and ownership for files and folders, installing busybox if any, flashing boot.img, etc.) You can open it using Notepad++. Don't mess with it yet until you figure out how things work.
Good luck !
---------------------------------
Sent from my Samsung Galaxy Mini GT-S5570 via xda-dev app
CyanogenMod 7.2.0-RC2-KANG by squadzone
I'm using a custom rom,and now that stock rom for my region is published,I want to extract language files (system and dictionaries+keyboards and fonts) from stock rom and inject them to the custom rom that I'm using,so any help is appreciated to find which files do I need to extract from stock rom.
Theoretically, however, reminds you that the app I am not alone but also the framework apk etc. .. must pay attention.. Help to get into a rom, and can for example extract the launcher or gps.conf or apk predefinit of the Rom and then copy them to root through esplorer in our folder system / app . -1.extract the file from system.rfs -2 and install magic iso and go to open the rfs .. app folder you will find the system app .. conf files in the etc etc for gps. APKTool is able to reverse engineer the binaries of Android applications. With it you can de-compile and get an apk files that make up the apk.
Beware though that being a compiled language java bytecode, executable in the case of the Android Dalvik machine, do not get the files. Class with the java code readable plaintext file but. Smali containing assembly code of the virtual machine (assembler / disassmbler smali) . Will be easier to understand and modify resource files in the directory / res, usually they are xml files and png images that you can modify and then recompile the apk...download Apk tool here: http://www.androidlab.it/wp-content/plugins/download-monitor/download.php?id=13 .. 1. Unpack the zip file you just downloaded and APKTool.zip command prompt / shell posizioniamoci within the directory APKtool 2. execute the following command:
apktool framework-if res.apk
we get the result back edge
I: Framework installed to: C: \ Users \ username \ apktool \ framework \ 1.apk. 3. Now we copy the apk in the same folder that we want to de-compile and impart the following command
apk apktool d-name-it-de-compilare.apk
upon completion of the directory APKtool find a folder with the same name of the app that we have de-populated.
We can now go take a look at the file and change where we see fit. 4. To translate the application should modify the files in / res / values-en, if the folder is not present we should create and copy into a folder other values-xx files arrays.xml strings.xml and then edit translating the texts into Italian. 5. after making the changes we should rebuild our apk with the following
apktool b-name-from-complete apk
in the directory with the same name of the app that we previously de-compiled find two new folders
dist / build / ..--- 6. in the / dist find our apk, remember that the resulting file has no signature, to sign our package we can use this. sign or unsign” i file Apk download here: http://goo.gl/9aWVM
not so understandable , but thx anyways.which files do I need to extract for samsung keyboard (AxT9IME) to work??
Re ad this guide: http://forum.xda-developers.com/showthread.php?t=1511730
---------- Post added at 07:30 PM ---------- Previous post was at 07:02 PM ----------
Try this method- Make a backup of the applications that you want to move , the phone will put the apk 'in the path sd>backups>apps, from here you take them and bring them in another rom...
amir_s_m said:
not so understandable , but thx anyways.which files do I need to extract for samsung keyboard (AxT9IME) to work??
Click to expand...
Click to collapse
my question exists!!
hi all...
i red a topic regarding call recording in here http://forum.xda-developers.com/showthread.php?t=1676739 but unfortunately i cant post there since i am new member..
my GNOTE currently settled on LPF STOCK ROM + kernel CFROOT...i've been following the step where to remove the phone.odex and phone_util.odex and flash the file attached on that link..but still not working...
what i've been misses.???
Sent from my GT-N7000 using xda app-developers app
Sometimes flashing doesn't work. In this case you have to put the files manually by using root explorer or similar. I used ES Explorer with root option checked.
1. Download the MOD zip file into your phone.
2. Open ES Explorer and locate the zip file.
3. Unzip it.
4. Delete phone.odex and phone_util.odex from /system/app if you have not done so.
5. Copy the file one by one from the extracted zip folder to phone /system folder. Start with folder /system/lib/hw, then /system/lib, then finally /system/app.
6. Reboot
After manually copying the files, you will need to change the permissions too.
Apparently ES Explorer did that for me. Anyway if your explorer doesn't do that for you, yes please do so otherwise it will not work. You should set it the same as the rest, which is rw,r-,r-.
@kopitalk...have you tested it..??? is it working..???
what kind of file that i have to change the permission..???
could you please tutor me...btw i have root explorer installed...
Sent from my GT-N7000 using xda app-developers app
after i extract the zip file i got 2 folder in there..:
1. META-INF
a. Folder COM
- Folder Android
- METADATA
- Folder GOOGLE
- Folder ANDROID
- Update-Binary
- Updater-Script
- CERT.RSA
- CERT.SF
- MANIFEST.MF
2. SYSTEM
a. Folder APP
- phone.apk
- phone_util.apk
b. Folder LIB
- Folder HW
- audio.primary.exynos4.so
- audio_policy.exynos4.so
c. libaudioflinger.so
above is the hierarchy of that folder...now my question regarding this...which file i have to copy on which folder destination...???
Sent from my GT-N7000 using xda app-developers app
You just need to copy paste the files within /system folder. My guide above only talks about /system folder.
2. SYSTEM
a. Folder APP
- phone.apk --> copy and paste into your phone /system/app/
- phone_util.apk --> copy and paste into your phone /system/app/
b. Folder LIB
- Folder HW
- audio.primary.exynos4.so --> copy and paste into your phone /system/lib/hw/
- audio_policy.exynos4.so --> copy and paste into your phone /system/lib/hw/
c. libaudioflinger.so --> copy and paste into your phone /system/lib/
And yes, I have tested it to be working fine with LP9 and LPA (should be for the rest as well).
kopitalk....thank in advance for your feedback...btw which file i have change the permission..??? all of them on system folder or just phone.apk and phone_util.apk...???
i'll give a try...
Sent from my GT-N7000 using xda app-developers app
All of the files that you copied.
kopitalk said:
You just need to copy paste the files within /system folder. My guide above only talks about /system folder.
2. SYSTEM
a. Folder APP
- phone.apk --> copy and paste into your phone /system/app/
- phone_util.apk --> copy and paste into your phone /system/app/
b. Folder LIB
- Folder HW
- audio.primary.exynos4.so --> copy and paste into your phone /system/lib/hw/
- audio_policy.exynos4.so --> copy and paste into your phone /system/lib/hw/
c. libaudioflinger.so --> copy and paste into your phone /system/lib/
And yes, I have tested it to be working fine with LP9 and LPA (should be for the rest as well).
Click to expand...
Click to collapse
kopitalk...you're rocks....
it working right now....but why my other way is very loud and clear but my own voice is a little bit hard to listen it clearly....
could you please give me a solution again....
Sent from my GT-N7000 using xda app-developers app
install custom rom come with mod record...kingdroid 4.4
Hello everyone in this thread I will show you how to edit your systemUI.apk without using NinjaMorph or apktool.
This is specially for those who have problem working with the above mentioned tools.
Required things:
1. ROM with custom recovery.
2. Custom MOD package like remove dual sim icon or translucent multi window mod for SGG Duos i.e. GT-I9082.
3. Battery Charge at least above 5%...
4. WinRar or 7-Zip.
5. Stock / Original SystemUI.apk
Procedure:
After you have all the required things lets begin....
1. Open the SystemUI.apk using Archive Tools.
2. Locate the directory of the file you wish to mod.
Example:
I wanted to modify toggle switches so the directory for me would be "SystemUI.apk: \res\drawable-hdpi\(All toggle switches)".
Now since I wanted to replace toggle switches so I got stylish toggle switches and renamed them as it is present in my SystemUI.apk.
3. Get the mods or extract the file, modify it and create folders to store modified file.
Example:
I modified toggle switches so to store modified toggles I should create folder and sub directories like:
"system/app/SystemUI.apk/res/drawable-hdpi/(Store toggles here)".
Note:
"SystemUI.apk" is the folder name..
4. After storing your mods now open any of the UI mods for SGG GT-I9082 inside this archive you will find few files such as data, system, boot.img, vrthemes etc..
5. Open vrtheme folder.
6. Inside this you will find another system folder.
7. Open system/app/SystemUI.apk/.
8. In this SystemUI.apk add your "res" which you created earlier with mods.
Note:
In case you don't find SystemUI.apk folder inside the vrtheme archive then drag'n drop the entire SystemUI.apk folder you created into the archive and note that it should be in store only mode do not compress it.
9. Now copy the archive to your sdcard or extsdcard..
10. Do not reset your device in the recovery.
11. Just go to flash zip part and flash the mod file you have created.
And that's all you got your modified SystemUI....
Link for mod I mentioned can be found here..
Link for toggle switches is here..
Thank you!!
[email protected] said:
Hello everyone in this thread I will show you how to edit your systemUI.apk without using NinjaMorph or apktool.
This is specially for those who have problem working with the above mentioned tools.
Required things:
1. ROM with custom recovery.
2. Custom MOD package like remove dual sim icon or translucent multi window mod for SGG Duos i.e. GT-I9082.
3. Battery Charge at least above 5%...
4. WinRar or 7-Zip.
5. Stock / Original SystemUI.apk
Procedure:
After you have all the required things lets begin....
1. Open the SystemUI.apk using Archive Tools.
2. Locate the directory of the file you wish to mod.
Example:
I wanted to modify toggle switches so the directory for me would be "SystemUI.apk: \res\drawable-hdpi\(All toggle switches)".
Now since I wanted to replace toggle switches so I got stylish toggle switches and renamed them as it is present in my SystemUI.apk.
3. Get the mods or extract the file, modify it and create folders to store modified file.
Example:
I modified toggle switches so to store modified toggles I should create folder and sub directories like:
"system/app/SystemUI.apk/res/drawable-hdpi/(Store toggles here)".
Note:
"SystemUI.apk" is the folder name..
4. After storing your mods now open any of the UI mods for SGG GT-I9082 inside this archive you will find few files such as data, system, boot.img, vrthemes etc..
5. Open vrtheme folder.
6. Inside this you will find another system folder.
7. Open system/app/SystemUI.apk/.
8. In this SystemUI.apk add your "res" which you created earlier with mods.
Note:
In case you don't find SystemUI.apk folder inside the vrtheme archive then drag'n drop the entire SystemUI.apk folder you created into the archive and note that it should be in store only mode do not compress it.
9. Now copy the archive to your sdcard or extsdcard..
10. Do not reset your device in the recovery.
11. Just go to flash zip part and flash the mod file you have created.
And that's all you got your modified SystemUI....
Link for mod I mentioned can be found here..
Link for toggle switches is here..
Thank you!!
Click to expand...
Click to collapse
I thank BalliBoxer, Joehanh88 and many more for providing me the files, mods and ideas...