Ok, I've been trying this for 2 hours now and have read a dozen tutorials, heres all I need to know and if someone could help that would rock. I need to get an update.zip with 2 apks in it com.htc.framework.apk and framework-res.apk
I've tried a dozen different ways one way it says its missing the update script but most it just plain doesnt work, it seems when I sign it it puts the folder inside the zip and throws it all out of wack. Do i just zip a plain folder with nothing but those two files and the update-script? or is there something else I have to put in there?
With some help and an asprin maybe my headache will go away. Thanks in advance.
PlagaDeRock said:
Ok, I've been trying this for 2 hours now and have read a dozen tutorials, heres all I need to know and if someone could help that would rock. I need to get an update.zip with 2 apks in it com.htc.framework.apk and framework-res.apk
I've tried a dozen different ways one way it says its missing the update script but most it just plain doesnt work, it seems when I sign it it puts the folder inside the zip and throws it all out of wack. Do i just zip a plain folder with nothing but those two files and the update-script? or is there something else I have to put in there?
With some help and an asprin maybe my headache will go away. Thanks in advance.
Click to expand...
Click to collapse
You need to put them in a folder called framework.then put that folder in a folder named system. Then zip the system folder with meta-inf folder. So you should endup with a zip that has two folders one the system folder with framework in it and the other folder should be the meta-inf.
beezy420 said:
You need to put them in a folder called framework.then put that folder in a folder named system. Then zip the system folder with meta-inf folder. So you should endup with a zip that has two folders one the system folder with framework in it and the other folder should be the meta-inf.
Click to expand...
Click to collapse
Thank you. Just figured it out after testing a bunch of different ways of doing it, now I got that done and when I unpack it everything seems to be in order. I used fresh-pre-kitchen signing tool and it makes an update-script for me. However somethings messed with it and I dont think its my signing, its just not booting for me.
PlagaDeRock said:
Thank you. Just figured it out after testing a bunch of different ways of doing it, now I got that done and when I unpack it everything seems to be in order. I used fresh-pre-kitchen signing tool and it makes an update-script for me. However somethings messed with it and I dont think its my signing, its just not booting for me.
Click to expand...
Click to collapse
If you want send me the files an ill zip them up for yeah.
ok i'll give it a try i flashed my zip and it freaked my phone out wouldnt let me install signed zips at all... so I'm nandroiding right now.
http://www.megaupload.com/?d=M1MTCM6F
http://www.megaupload.com/?d=LWP20KUQ
I'm looking for a guide which tells how to make a own custom ROM from another one
I mean:
1. How to add/replace/remove apps in /system/app/?
1. a) Do they need to have special permission?
2. How to replace boot screen?
3. How to add custom kernel?
4. How to add Desire lockscreen/flip clock?
5. How to add transparent notofication area?
6. How to add Power menu?
I've been serching forum, but didn't find such tutorial. Would be very thanful to get this knowledge.
I think that will be very useful for maaaany android maniacs
1. Simple delete/copy apks in .zip file using 7-Zip or any other.
2. I belive you need to put bootanimation.zip in /data/local/ folder.
3. Idk
4. For Desire lockscreen you need edited HtcLockScreen.apk; for flip clock - HtcClockWidget.apk
5. Edited /system/framework-res.apk or /system/framework/com.htc.resources.apk. I'm not sure
6. You need edited /system/framework/android.policy.jar
69. Resign your zip file using Auto Sign
Attachment doesn't load, but I know about resigning ROM after everything is done
Ad. 1. As I thought, but do the need special permissions? And I also wonder one thing. Are they installed while flashing? Cuz they need to be in system registry, I think...
I have found this: http://wiki.android.com.pl/wiki/Kon...iana_instalowanych_aplikacji_razem_z_systemem
No any permissions etc.
Found this, too. Thanks.
to add a custom kernel you have to unpack the boot image and edit the ramdisk manually, although i think there is an option in dsixda's kitchen to unpack and repack the boot.img
I've got two more questions:
1. When signing, three files are created in folder META-INF: CERT.RSA, CERT.SF, MANIFEST.SF. But in other packages I see also com/google/android/update-script in META-INF. How to make it? Is it necessary?
2. If I want to make only flashable update file which changes one app or another file, eg. framework-res.apk, I have to create folder structure: system/framework/framework-res.apk, add it to zip archive (no compression?) and sing using Auto-sing. Am I right?
Edit:
Found nice guide there: update-script syntax
tomekk_nt said:
I've got two more questions:
1. When signing, three files are created in folder META-INF: CERT.RSA, CERT.SF, MANIFEST.SF. But in other packages I see also com/google/android/update-script in META-INF. How to make it? Is it necessary?
2. If I want to make only flashable update file which changes one app or another file, eg. framework-res.apk, I have to create folder structure: system/framework/framework-res.apk, add it to zip archive (no compression?) and sing using Auto-sing. Am I right?
Click to expand...
Click to collapse
The most important part of a recovery update zip is the update script. It will tell the recovery what to do. If you want an example of a basic update package, which replaces one file in the /system/framework (although a different one) can found here. Open this and read the META-INF/com/google/android/updater-script (or whatever its called). The syntax is pretty straight forward and I think its easiest to learn from the examples of updater scripts found here on XDA. For the simple case, of only replacing/adding files to the /system partition you can leave the updater script from the above example as is and only change the files under the /system directory in the zip.
Note, that the above example uses the newer upader-script (I hope I am writing this correctly, I am writing from memory) which also has a binary file in the same directory. Some update zips use the older "update-script" lone text script. For these kind of scripts, you can find a guide here.
Personally, I use RA recovery, and for this recovery you need to sign the update zips (last thing you do of course). At least for RA recovery, both the older "update-script" and the newer "updater-script" work fine, so its up to your personal preference which do you prefer.
Thanks. Found a guide you mentioned a couple of minutes ago and read it.
The more I know, the more questions it brings So one more thing. If I'd like to use the newer version of syntax: "updater-script", I need also to put this binary file in this folder. But I create/edit only "updater-script", binary file is the same for all packages, or do I need to edit it, too?
I built a kernel tool long time ago, very easy to use (only for linux)
1: unzip the file, place it where you want it eg your desktop
2: place boot.img in the working directory
3: double-click the menu icon or launch from terminal
4: it creates a new directory named BOOT-EXTRACT,edit what you want in there or change the kernel etc.. and repack it again via the kernel tool
see screenshot. here for those how want the tool >>> http://www.elelinux.se/tools/kernel_tool.zip
Edit: Only for Hero
tomekk_nt said:
Thanks. Found a guide you mentioned a couple of minutes ago and read it.
The more I know, the more questions it brings So one more thing. If I'd like to use the newer version of syntax: "updater-script", I need also to put this binary file in this folder. But I create/edit only "updater-script", binary file is the same for all packages, or do I need to edit it, too?
Click to expand...
Click to collapse
Only the updater-script. The binary is a replacement of the script-interpreter I think, but thats just an assumption.
elelinux said:
I built a kernel tool long time ago, very easy to use (only for linux)
Click to expand...
Click to collapse
And that's a good reason to install newest Ubuntu Thanks!
riemervdzee said:
Only the updater-script. The binary is a replacement of the script-interpreter I think, but thats just an assumption.
Click to expand...
Click to collapse
That's mine assuption, too, but would like to know it for 100%
Edit: I see you use it in your kernel update package. So you write only updater-script and place also update-binary next to it?
LOL, you've got help from every well known hero dev on xda, I'm sure you'll have all the info you need now to start building rom's. Good Luck!
Found an app called Easy Flashable zip Builder on this thread. Will test it soon.
tomekk_nt said:
Found an app called Easy Flashable zip Builder on this thread. Will test it soon.
Click to expand...
Click to collapse
But it is for MS Windows, or saw I wrong ? I have also built a tool to javasign files,but should probably write a manual first,it is easy to use but some dependencies maybe not so easy for a beginner with Linux.
tomekk_nt said:
That's mine assuption, too, but would like to know it for 100%
Edit: I see you use it in your kernel update package. So you write only updater-script and place also update-binary next to it?
Click to expand...
Click to collapse
Correcto
I have gotten a couple requests for a copy of the APKTool that I have been using to decompile/recompile the Honeycomb jars and apks. It is a hodge podge of files found around the net..so I can't say exactly where the thanks should lie.
Simply unzip the folder and use it for your working folder. I place mine on the desktop, but you can place it wherever.
http://bit.ly/zeXpQ2
I apologize...I missed an important file. I have fixed the zip and it should now work correctly. Just redownload...
Thank u my good sir
Sent from my A500 using Tapatalk
Dear XDA,
Can anyone fix this zip file I made. It is for the required WiFi drivers in the patch.
New link:https://mega.co.nz/#!h8UmkArY!KYOutdsQE5ngoTHd7V72C8mwT9qOSOmKU9RqmGc0osg
Your regards,
AlpyzDX
Perhaps you could go into some more detail, such as what the patch is supposed to do, and also what problems you're having.
Off the top, your entire directory structure is messed up. You have one main directory, patch, and beneath that two subdirectories named "META-INF" and "install". META-INF must be in the root of the zip. The "install" directory also must be in the root of the zip, and needs to be renamed to "system" since the files you're trying to copy to the device reside in a folder in /system. Taking a cursory look at your updater-script there seems to be nothing out of the ordinary there.
Has anybody figured out a way to install Snapdragon Camera on new nexus devices?
I have tried flashing the zip file as well as manually placing require .apk and .so files but it doesn't work. Camera app crashes as soon as it launches.
enaybee said:
Has anybody figured out a way to install Snapdragon Camera on new nexus devices?
I have tried flashing the zip file as well as manually placing require .apk and .so files but it doesn't work. Camera app crashes as soon as it launches.
Click to expand...
Click to collapse
(using ES file explorer)
1. extract the zip to sd card somewhere
2. under "system/priv-app" > create a folder called "SnapdragonCamera"
3. give the folder "drwxr-xr-x" permissions
4. copy "SnapdragonCamera2.apk" to that folder and give it "-rw-r--r--" permissions
5. Create "lib" folder to "SnapdragonCamera" folder and give it the same permissions as the parent folder has ("drwxr-xr-x")
6. inside the "lib" folder make "arm" folder (give it the same "drwxr-xr-x" permissions)
7. inside that "arm" folder paste two ".so" files - give them "-rw-r--r--" permissions
8. reboot
http://www.mediafire.com/download/29tjvdwnoscussk/Snapdragon-Cam-LA.BF_2015-08-03.zip
Mikey said:
(using ES file explorer)
1. extract the zip to sd card somewhere
2. ...
...
Click to expand...
Click to collapse
Did you actually try these steps and camera worked for you?
I had already tried both flashing the zip file and manually placing .apk and ..so files ... but camera crashes.
Doesn't work on PureNexus rom
Mikey said:
(using ES file explorer)
1. extract the zip to sd card somewhere
2. ...
Click to expand...
Click to collapse
Doesn't work for me..
Nexus 6P with CM13
Bastidn said:
Doesn't work for me..
Nexus 6P with CM13
Click to expand...
Click to collapse
Same here. Moved to CM13 over the weekend hoping it would work. Tried packages from all over the place, flashable, manual install, whatever, none worked.
Just found out about this camera and was hoping to test it out since the features look great, then I came across this topic and was disappointed. Surprised no one has put this together for this phone yet. Really I'd like to know why Qualcomm doesn't release and maintain this themselves though.
Any new discoveries by any chance? Would love to have it on my angler.
Would be great for my bullhead.