I wanna make my privat rom. But from begginig it will be based on Ultrasound 3.1. I will not change kernel or any settings. I just wanna add some Apps. So if I unpack this rom and put some my apk's into \system\app\ and pack again. Instalation via CWM will be working ? What I need more to do that corectly ?
If you use dsixda's Android Kitchen you can do this.
But if you "unzip" and then "zip" it you won't be able to do so unless you sign it.
1adamek said:
I wanna make my privat rom. But from begginig it will be based on Ultrasound 3.1. I will not change kernel or any settings. I just wanna add some Apps. So if I unpack this rom and put some my apk's into \system\app\ and pack again. Instalation via CWM will be working ? What I need more to do that corectly ?
Click to expand...
Click to collapse
As you just want to add a few apps, no need of the kitchen......just use winrar or 7zip to open the archive, Do not extract it. Rename your apk files to anything without spaces and drag into the system/app folder. Close winzip. Done.
ykumar00 said:
As you just want to add a few apps, no need of the kitchen......just use winrar or 7zip to open the archive, Do not extract it. Rename your apk files to anything without spaces and drag into the system/app folder. Close winzip. Done.
Click to expand...
Click to collapse
That too, i'm a to sleepy to think right haha
I saw this tutorial.
http://www.tasteofandroid.com/how-to/modify-android-rom-zip-file/
That way I am asking. Anyway Thanks!!!
That tut won't work, as you have to sign a zip before installing it.
fail
Related
I'm modifiying my own rom, and tring to find a way to recover the HTC camera to the stock one.
I did the following step but failed:
1. delete the /system/app/camera.apk and HTCAlbum.apk
2. paste the original camera.apk to /system/app
3. repack the rom and flash
But nothing happened, even there is no camera icon in the menu.
How should I get the stock one back? There is some bug with the HTC camera...
You can just push it. If you change it within the ROM and flash you must resign it.
alritewhadeva said:
You can just push it. If you change it within the ROM and flash you must resign it.
Click to expand...
Click to collapse
Is there any way to resign it? I want to cook my own rom instead of pushing it every time.
zhouzian said:
Is there any way to resign it? I want to cook my own rom instead of pushing it every time.
Click to expand...
Click to collapse
What OS are you using? Windows or Linux
alritewhadeva said:
What OS are you using? Windows or Linux
Click to expand...
Click to collapse
I'm on Windows...
Now I have find the way to resign the package. But I find there is a odex file following the same name apk file. Should I copy the odex file along with the apk file into the app directory?
My rom does not contain any odex file while another rom have many of them. Could any one tell me why?
zhouzian said:
I'm on Windows...
Now I have find the way to resign the package. But I find there is a odex file following the same name apk file. Should I copy the odex file along with the apk file into the app directory?
My rom does not contain any odex file while another rom have many of them. Could any one tell me why?
Click to expand...
Click to collapse
Odex optimization is just optimization. Copy the .odex file along with the .apk if its available.
The HTC camera has a bug that if you half-push the camera button, it will not only focus but also take a photo, not like the original one does.
I have done the following and both of them failed,
1. copy the camera.apk from JF 1.5, resigned the rom, and flash... There is no icon appearing in the menu
2. copy the camera.apk and odex file from ION build, resign and flash... The phone can not start up at all. It freeze at ANDROID logo.
I'm wondering if I have done in the wrong way... Could you offer some help?
Thanks in advance.
try to get the camera from the crc1 build
The problem is where to get...
All the other builds from CRC1 contain the odex file, which will broke the startup process.
could anyone send me the camera.apk and libcamera.so from CRC1?
just mail me: [email protected]
get it here http://forum.xda-developers.com/showthread.php?t=538456 donwload one of those ROMS
NO...it doesn't work. There is an odex file coming alone with the apk file. If I copy the apk and odex files into the CM rom, it will fail to startup. Seems CM rom can only accept standalone apk file.
Can you zip back up a file into a .apk? or do i have to edit with in the .apk through 7zip?
I dont understand...There are no .zip's in any .apks
Sorry bad wording.. How do I turn the .apk file I unzipped to make it show me the files.. back into a .apk file. so I can put it back into my theme. lol Its soooo hard to word
try taking a look here?
http://forum.xda-developers.com/showthread.php?t=657759&highlight=avabox
just rename the file to xxxxxxxx.apk
troyboytn said:
just rename the file to xxxxxxxx.apk
Click to expand...
Click to collapse
Do you sign it first? or rename and sign the apk?
Did the apk disappear? If not, right click it, navigate in the pop-up menu to 7zip->open, drag the stuff you edited into its appropriate spot, close the 7zip window, and you're done! I like to resign at this point, some people say that it is not necessary. For me, it is a simple right-click to do, so I just always do it. YMMV.
You dont need too. When you modify files in the .apk all you need to do is drag the /res folder to your working folder. When you're done, drag it back. Thats it.
So, is it only necessary to sign update.zips? What is the criteria for when something must be resigned?
VinceOB said:
You dont need too. When you modify files in the .apk all you need to do is drag the /res folder to your working folder. When you're done, drag it back. Thats it.
Click to expand...
Click to collapse
Yeah but like, I unzip the apk is what im saying lol. Because if you dont unzip it you cant see the images.. then I dont know what im editing. So once im done I want to be able to turn the files back into a apk
MyDroidHax said:
Yeah but like, I unzip the apk is what im saying lol. Because if you dont unzip it you cant see the images.. then I dont know what im editing. So once im done I want to be able to turn the files back into a apk
Click to expand...
Click to collapse
All you have to do is unzip them, edit the files you want; in another window open the original apk file (one you extracted to work on) use 7zip - open archive, then drag the files you changed into the archive in the appropriate folders in the archive, close and you are done. I just push them back to the phone via adb, not sure if you would have to resign the zip, if you pulled the apk file out of a flashable zip file.
Heaterz16 said:
All you have to do is unzip them, edit the files you want; in another window open the original apk file (one you extracted to work on) use 7zip - open archive, then drag the files you changed into the archive in the appropriate folders in the archive, close and you are done. I just push them back to the phone via adb, not sure if you would have to resign the zip, if you pulled the apk file out of a flashable zip file.
Click to expand...
Click to collapse
Yeah that's how I'm doing it.. but I find it a pain lol
MyDroidHax said:
Yeah but like, I unzip the apk is what im saying lol. Because if you dont unzip it you cant see the images.. then I dont know what im editing. So once im done I want to be able to turn the files back into a apk
Click to expand...
Click to collapse
like i said, just drag and drop the /res folder. No need to unzip it.
VinceOB said:
like i said, just drag and drop the /res folder. No need to unzip it.
Click to expand...
Click to collapse
OHHHH Okay I get it now.. Sorry I didnt go back to it when you said that I thought you didn't understand me, but now I see its quite opposite.. Thanks a lot man.
Hi guys, I'm trying to edit some .apk files.
I first extract the png file that I want to edit using 7zip.
I open up the file in photoshop, edit it, then save it as a file (interlaced and non interlaced.. i tried both).
I then dump the .png back into the apk.
When I try to install the file back onto my phone, I get "*Apk file* could not be installed on this phone"
Anyone want to help me out?
How do I edit the file without it giving me this error.
Ok based on ur status im assuming ur still new to the concept of apk editing.
Theres 2 types of apks.
1. System apks (/system/app) where once u edit them u dont have to resign them. You just PUSH it back to ur phone.
2. Data apks, (/data/app) where once u edit them u have to resign the apk and install them to ur phone.
If ur on a windows machine, download apk manager from my signature and it'll guide u through the process.
Daneshm90 said:
Ok based on ur status im assuming ur still new to the concept of apk editing.
Theres 2 types of apks.
1. System apks (/system/app) where once u edit them u dont have to resign them. You just PUSH it back to ur phone.
2. Data apks, (/data/app) where once u edit them u have to resign the apk and install them to ur phone.
If ur on a windows machine, download apk manager from my signature and it'll guide u through the process.
Click to expand...
Click to collapse
Thank you SOOOOOO much. Yes I'm pretty new.. I'm good at graphic designing but I have no clue about these apk files
Once again thank you
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
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