Make flash zip of apk? - HTC Inspire 4G

How do I setup a flashable zip that I can install in recovery for an apk installation.
Sent from my Inspire 4G using XDA Premium 4 mobile app

avemt1 said:
How do I setup a flashable zip that I can install in recovery for an apk installation.
Sent from my Inspire 4G using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Download this: http://downloads.codefi.re/mustaavalkosta/tests/3-24_CalendarGoogle_4.4.2_signed.zip
Unzip it and open META-INF/com/google/android/updater-script with notepad++ or some other text editor. It should be pretty self-explanatory but you can try to google manuals for edify scripting. After you have edited it to your liking zip it again and just flash it. If you want to have it signed for some reason, you need to download signapk.jar from somewhere and proper keys.
I know this isn't exactly a guide for you but should get you going in the right direction.

Related

Overscroll Glow effect for Inspired Saga 1.1 ROM

Using this -> http://uot.dakra.lt/ I created a flashable zip which can be used with the ROM Inspired Saga 1.1(Stable).
After this flashing this zip you will get a overscroll glow effect found in Stock Gingerbread ROMS.
Just flash this zip(link below) with Clockworkmod 3.0+
Backup your existing ROM before flashing this.
Link--> http://www.multiupload.com/RMCHZTRZHN
IMP: Use this only with Inspired Saga Gingerbread ROMS as it contains patched framework-res.apk and SystemUI.apk files specific to that ROM!
Hit the thanks button if you like it
Didn't work for me. Running 1.1
Sent from my Inspire 4G using XDA App
Did you restart your phone?
Sent from my Inspire 4G using XDA Premium App
jvashishtha said:
Did you restart your phone?
Sent from my Inspire 4G using XDA Premium App
Click to expand...
Click to collapse
well, seeing as how you have to reboot to get out of clockwork, yes. It failed when i flashed it in CW.
-Kevlar- said:
well, seeing as how you have to reboot to get out of clockwork, yes. It failed when i flashed it in CW.
Click to expand...
Click to collapse
Did it spit out any specific errors while flashing?
Sent from my Inspire 4G using XDA Premium App
jvashishtha said:
Did it spit out any specific errors while flashing?
Sent from my Inspire 4G using XDA Premium App
Click to expand...
Click to collapse
E: can't open sdcard/overscrollglow.zip (bad) installation aborted.
Sent from my Inspire 4G using XDA App
-Kevlar- said:
E: can't open sdcard/overscrollglow.zip (bad) installation aborted.
Sent from my Inspire 4G using XDA App
Click to expand...
Click to collapse
Try this->
1. unzip your rom(downloaded) and find
META-INF/com/google/android/update-binary file
2. put this file in UOT zip (overriding UOT's file)
3. Flash is using Install Zip from sdcard in rom manager
jvashishtha said:
Try this->
1. unzip your rom(downloaded) and find
META-INF/com/google/android/update-binary file
2. put this file in UOT zip (overriding UOT's file)
3. Flash is using Install Zip from sdcard in rom manager
Click to expand...
Click to collapse
No go using root explorer.
Sent from my Inspire 4G using XDA App
-Kevlar- said:
No go using root explorer.
Sent from my Inspire 4G using XDA App
Click to expand...
Click to collapse
You wont be able to do it using root explorer. You have to download the original ROM zip file and then take out the file mentioned and replace it in the OverScrollGlow.zip file. Then redo the flashing using Rom Manager - Install zip from SD card.
Just so everybody knows. That feature is now integrated in the Rom with the same color
Sent from my Inspire 4G using XDA Premium App

Heimdall>odin

http://www.glassechidna.com.au/products/heimdall/ if odin isn't working use heimdall. All you do is unzip the odin file and place the individual files into the proper place. You have to use the drivers heimdall comes with.
Sent from my SCH-I510 using XDA Premium App
Quick question, I have the stockrootedED1-20110517.tar.md5 and since its in a .tar.md5 format do we still simply unzip this file?
Yes
Sent from my SCH-I510 using XDA Premium App

How do I make a flashable zip?

Can someone show me how to make a flashable zip please? All I wanna do is take some apks I themed and flash them through twrp. I Googled how to do it and the guides give you a template where you just drop your apk in there and flash it but every time I try to flash it it fails.
Can someone maybe show me how to create it from scratch with the update scripts? People post flashable zips all the time on here so I'm sure someone knows how to do it.
Sent from my One X using xda app-developers app
If you have the apks all you gotta do is use an app like root explorer and.push the apks manually into the system changing the permissions accordingly. Would be much easier that way
lazarat said:
If you have the apks all you gotta do is use an app like root explorer and.push the apks manually into the system changing the permissions accordingly. Would be much easier that way
Click to expand...
Click to collapse
I know how to do that and it works that way but I have a bunch of apks I themed and I wanna make a flashable zip so people can install them all at once.
I asked similar question in android themes and here is the reply, hope it helps you
Here you have a empty Update Script.
http://dl.dropbox.com/u/1084746/SGS/UpdateEmpty.zip
You can put your apk inside.
Dont sign system apks!
Sent from my HTC One X using xda premium
abhipati said:
I asked similar question in android themes and here is the reply, hope it helps you
Here you have a empty Update Script.
http://dl.dropbox.com/u/1084746/SGS/UpdateEmpty.zip
You can put your apk inside.
Dont sign system apks!
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
I just put the apk in and flash?
Sent from my One X using xda app-developers app
SkizzMcNizz said:
I just put the apk in and flash?
Sent from my One X using xda app-developers app
Click to expand...
Click to collapse
Yup put the apk in and flash the zip
Sent from my HTC One X using xda premium
I think I know why I can't make a flashable zip right or why it fails. I think it's because of the permission being wrong. Does anyone know how to set the permissions of an apk file before it's on the phone? Do I just have to sign it with apk manager or something?
Sent from my One X using xda app-developers app
I'm pretty sure there was a great tutorial back in the Desire forums... I'd link you but I'm on my HOX.
Sent from my HTC One XL using xda premium
SkizzMcNizz said:
I think I know why I can't make a flashable zip right or why it fails. I think it's because of the permission being wrong. Does anyone know how to set the permissions of an apk file before it's on the phone? Do I just have to sign it with apk manager or something?
Sent from my One X using xda app-developers app
Click to expand...
Click to collapse
Dude use apk multi tool... I too experienced same problems but using this tool made things simple. It's does everything for you
http://apkmultitool.com/?q=node/5
Xda- http://forum.xda-developers.com/showthread.php?t=1310151
If you have questions regarding tool post them here
my HTC One X using xda premium i
abhipati said:
Dude use apk multi tool... I too experienced same problems but using this tool made things simple. It's does everything for you
http://apkmultitool.com/?q=node/5
Xda- http://forum.xda-developers.com/showthread.php?t=1310151
If you have questions regarding tool post them here
my HTC One X using xda premium i
Click to expand...
Click to collapse
I have been using it. But every time I try to make a flashable zip it fails. That's why I think it's because the permissions aren't set right. I'm asking how to set the permissions before you make a zip.
Sent from my One X using xda app-developers app
SkizzMcNizz said:
I have been using it. But every time I try to make a flashable zip it fails. That's why I think it's because the permissions aren't set right. I'm asking how to set the permissions before you make a zip.
Sent from my One X using xda app-developers app
Click to expand...
Click to collapse
I use it and I do not set any permissions it works fine....
Do you sign the apk? Which option are you using
I am not trying to smart, you may already sign but I faced similar problems so just helping out
Sent from my HTC One X using xda premium
SkizzMcNizz said:
Can someone show me how to make a flashable zip please? All I wanna do is take some apks I themed and flash them through twrp. I Googled how to do it and the guides give you a template where you just drop your apk in there and flash it but every time I try to flash it it fails.
Can someone maybe show me how to create it from scratch with the update scripts? People post flashable zips all the time on here so I'm sure someone knows how to do it.
Sent from my One X using xda app-developers app
Click to expand...
Click to collapse
App2zip
Available at the store, and free
Attached is a empty flash zip that will work on our phone the proper folders are in place to add apks to the system apps.
When adding apk to a zip you must create a folder path like system/app then place the apk inside the app folder so you would have a folder in the zip named system then inside that a folder named app inside that the apk or apks if they are system apps. You do not need to set permissions. When zipping the file when done just highlight the folders inside the extracted zip not the whole zip. ie. META-INF and system folder then right click select send to then compressed zip name the zip what ever you want then flash it.
http://db.tt/ksLowIQt
Sent from my HTC One XL using Forum Runner
Use permissions as shown in below link
http://www.dropmocks.com/iaWpL

App to extract boot.img on phone

Is there an app where I can extract the kernel from the ROM.zip?
I can view the archive, but when I long press on the IMG file it doesn't let me copy and paste it anywhere. So if the ROM thread doesn't have it as an option to download separate, then I still have to hook the phone to PC.
Just trying to find ways to go completely PC free.
Thanks
Sent from my Xoom using xda app-developers app
Try explorer by speed software. Its in the play store.
Sent from my One X using xda app-developers app
thinkhope said:
Try explorer by speed software. Its in the play store.
Sent from my One X using xda app-developers app
Click to expand...
Click to collapse
Thanks for the response... But on long press, all it gives me is "extract"
I don't mind using my pc, but just trying to find a way to copy and paste that boot.img
Sent from my HTC One X using xda app-developers app
If you want completely pc free install flash image GUI from market. It is by joeykrim and now supports our phone. You can also find a thread in here.called test GUI app with links to download it. This app will extract the boot.IMG inside of android and flash it then reboot you into recovery so you can flash your Rom without the need of a comp. Hope this helps.
Sent from my HTC One XL using xda premium
Zonen said:
If you want completely pc free install flash image GUI from market. It is by joeykrim and now supports our phone. You can also find a thread in here.called test GUI app with links to download it. This app will extract the boot.IMG inside of android and flash it then reboot you into recovery so you can flash your Rom without the need of a comp. Hope this helps.
Sent from my HTC One XL using xda premium
Click to expand...
Click to collapse
I have it, but will it go in and find the boot.img inside the whole rom zip? Or will I have to extract the image out first and then flash it with the tool?
And thanks for the response.
Sent from my HTC One X using xda app-developers app
joho5 said:
Thanks for the response... But on long press, all it gives me is "extract"
I don't mind using my pc, but just trying to find a way to copy and paste that boot.img
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
Don't you just need to extract it from the zip to your SD card cause that's what "extract" would do...
I often extract files from a zip through Root Explorer. It extracts the files to /sdcard/SpeedSoftware/Extracted.
Or, use Solid Explorer and with your phone in landscape mode, you can copy it from the zip to the right pane.
When you run the app it will extract the boot.IMG and flash it for you. All you do is open the app browse to the Rom you want to flash and then it will warn you that it needs to search for the kernel. Let it find and extract the.kernel then the flash button will be available for you to flash. After you flash it you have to reboot to recovery and install the Rom via twrp.
Sent from my HTC One XL using xda premium
---------- Post added at 06:28 PM ---------- Previous post was at 06:27 PM ----------
So yes it will find the boot.IMG for you
Sent from my HTC One XL using xda premium
---------- Post added at 06:34 PM ---------- Previous post was at 06:28 PM ----------
Here is the link for the app for everyone's sa. It allows flashing without a comp and I have used it and it works great
Thanks to both DvineLord and dokrboy69 for helping test and post this thread!
I've released the official application, version 1.4.7 with support for the HTC One XL device.
Official thread is posted in the applications section: http://forum.xda-developers.com/showthread.php?p=33463262
Zonen said:
When you run the app it will extract the boot.IMG and flash it for you. All you do is open the app browse to the Rom you want to flash and then it will warn you that it needs to search for the kernel. Let it find and extract the.kernel then the flash button will be available for you to flash. After you flash it you have to reboot to recovery and install the Rom via twrp.
Sent from my HTC One XL using xda premium
---------- Post added at 06:28 PM ---------- Previous post was at 06:27 PM ----------
So yes it will find the boot.IMG for you
Sent from my HTC One XL using xda premium
---------- Post added at 06:34 PM ---------- Previous post was at 06:28 PM ----------
Here is the link for the app for everyone's sa. It allows flashing without a comp and I have used it and it works great.
http://forum.xda-developers.com/showthread.php?t= from my HTC One XL using xda premium
Click to expand...
Click to collapse
Awesome...thanks!
Sent from my Xoom using xda app-developers app
Just click on that thread I posted above and it walks you through the steps for our HTC one xl
Sent from my HTC One XL using xda premium
Late to the party but astro let's you copy from a zip file
Sent from my HTC One X using xda app-developers app
joho5 said:
Is there an app where I can extract the kernel from the ROM.zip?
I can view the archive, but when I long press on the IMG file it doesn't let me copy and paste it anywhere. So if the ROM thread doesn't have it as an option to download separate, then I still have to hook the phone to PC.
Just trying to find ways to go completely PC free.
Thanks
Sent from my Xoom using xda app-developers app
Click to expand...
Click to collapse
Install ES File Explorer, go to settings, advanced and enable root helper. Then navigate to the rom zip, long press it, and click "extract to". Then, go to the extracted rom, and you'll find the boot.img. ADB pull to computer, or just upload to dropbox or something...
MpB907 said:
Install ES File Explorer, go to settings, advanced and enable root helper. Then navigate to the rom zip, long press it, and click "extract to". Then, go to the extracted rom, and you'll find the boot.img. ADB pull to computer, or just upload to dropbox or something...
Click to expand...
Click to collapse
this is an old thread, if you are inside android anyways you would want to use flashimagegui now that it supports our phone anyways
s-off. then you dont need to flash boot.img
pc free.

Making CWM Flashable ZIP from mobile phone

Hi there
My experiments come to an end. Pls note the steps below
(1)at first u need a sample zIP download it from below link
http://d-h.st/ZYX
(2)download "PowerGrasp file manager" from link below
http://d-h.st/t3u
(3)open the sample zip from file manager(do not extract) u will see
Folder meta-inf (don't modify it leave it as it is)
now make another folder named system under this make folder app(For apk's)now cut and paste any desired apk into app folder
(4)now file manager asks compression level choose normal(6)
(5)Now exit this zip operation
Hurrey u have created ur first cwm flashable zip from ur phone itself
Goto recovery and flash it. Off course it will work just try and hit thanks
-----------------------------------------------------
Hints
/system/app - all the system apps (SystemUI.apk etc)
/system/framework/ -framework-res.apk,android.policy.jar
/system/media - bootanimation.zip
/system/lib - libraries (*.so)
---------------------------------------------------------------
For rom's flashable zip u need to edit the updater script u can do this also in mobile(like notepad++ in PC)
https://play.google.com/store/apps/details?id=com.aor.droidedit
-----------------------------------------------------------------------------------------
HIT THANKS if u like my work. Don't think just hitttttt
Great thanks testing
Sent from my GT-I9300 using Tapatalk 2
Why would you need to make a flashable zip of your phone, what's wrong with a normal nandroid? This idea makes no sense.
Sent from my GT-I9505 using xda app-developers app
ranger4740 said:
Why would you need to make a flashable zip of your phone, what's wrong with a normal nandroid? This idea makes no sense.
Sent from my GT-I9505 using xda app-developers app
Click to expand...
Click to collapse
If u want to make flash able zip of boot animation then u need PC
With this u don't need PC. Understand the thread now u can create flashable zip right from your phone
Basically it can be used to make flashable zips/roms. Or edit existing roms to remove stuff you don't want before flashing all from your phone.
Sent from my GT-I9300 using Tapatalk 2
How about the permissions from the apps that get flashed?
Are they automatically set to 644 after flashing?
Sent from my GT-I9300 using XDA Premium 4 mobile app
coolhof said:
How about the permissions from the apps that get flashed?
Are they automatically set to 644 after flashing?
Sent from my GT-I9300 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Better u try and give me review
saurabh0291 said:
Better u try and give me review
Click to expand...
Click to collapse
Haha smart answer.
Oké I test it this evening and give a review tonight.
Sent from my GT-I9300 using XDA Premium 4 mobile app
coolhof said:
Haha smart answer.
Oké I test it this evening and give a review tonight.
Sent from my GT-I9300 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
HV u tested.it
saurabh0291 said:
HV u tested.it
Click to expand...
Click to collapse
Yes now I've tested it.
Only for systemapps at the moment.
And yes, its working good.?
The permissions are set to 644.
Thanx for sharing your work.
Now its for everybody easy to make a flash zip.
Sent from my GT-I9300 using XDA Premium 4 mobile app
coolhof said:
Yes now I've tested it.
Only for systemapps at the moment.
And yes, its working good.?
The permissions are set to 644.
Thanx for sharing your work.
Now its for everybody easy to make a flash zip.
Sent from my GT-I9300 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
How to make flash able zip of init.d scripts
panzersattack said:
How to make flash able zip of init.d scripts
Click to expand...
Click to collapse
Good question.
It's not working for me.
Maybe the Op can take a look in it.
Sent from my GT-I9300 using XDA Premium 4 mobile app
coolhof said:
Good question.
It's not working for me.
Maybe the Op can take a look in it.
Sent from my GT-I9300 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Its very simple y u guys r having problem
Everything goes in system folder
Give the path(system>etc>init.d>place here scripts)
See I made a zip
http://forum.xda-developers.com/showthread.php?t=2531124
saurabh0291 said:
Its very simple y u guys r having problem
Everything goes in system folder
Give the path(system>etc>init.d>place here scripts)
See I made a zip
http://forum.xda-developers.com/showthread.php?t=2531124
Click to expand...
Click to collapse
I did that, but it won't flash.
Getting the droit with the red triangle.
Sent from my GT-I9300 using XDA Premium 4 mobile app
coolhof said:
I did that, but it won't flsame h.
Getting the droit with the red triangle.
Sent from my GT-I9300 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Bro try again it is working download my zip and see I HV a thread of that zip
And lots of ppl already downloaded and flashed and said it works
coolhof said:
I did that, but it won't flash.
Getting the droit with the red triangle.
Sent from my GT-I9300 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Success I have created my first cwm flash able zip of init.d scripts and it
Really worked. Thank u all u dev for sharing or ideas.
Requires root?
Sent from my Nexus 5 using Tapatalk
clavicle said:
Requires root?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Yes it requires. It is actually related to ROM modifications via flashing the zip through cwm.
saurabh0291 said:
Yes it requires. It is actually related to ROM modifications via flashing the zip through cwm.
Click to expand...
Click to collapse
Thanks, I am awaiting RMA of my device, surely it will come in handy later when I root it.
:good:
Nice tutorial....

Categories

Resources