Flashable Gapps - HTC Inspire 4G

Howdy,
I was wondering how hard it would be to make my own flashable gapps and other apps for myself to flash after a clean wipe. So I was basically wondering if there's a zip creator for dummies topic out there somewhere.
Thanks for your help,
Young
Sent from my Inspire 4G using xda app-developers app

young440 said:
Howdy,
I was wondering how hard it would be to make my own flashable gapps and other apps for myself to flash after a clean wipe. So I was basically wondering if there's a zip creator for dummies topic out there somewhere.
Thanks for your help,
Young
Sent from my Inspire 4G using xda app-developers app
Click to expand...
Click to collapse
Start by not posting in the development section.
Sent from Team Pirate! Using Tapatalk 2

Yes you can. Quite a few apps let's you do that. Search my friend.
Sent from my Inspire 4G

I have searched but its all just forums that offer their own gapps. I haven't found any tutorials to making your own flashable zip.
Thanks for any help
Sent from my Inspire 4G using xda app-developers app

young440 said:
I have searched but its all just forums that offer their own gapps. I haven't found any tutorials to making your own flashable zip.
Thanks for any help
Sent from my Inspire 4G using xda app-developers app
Click to expand...
Click to collapse
Search for the ace think tank thread over the dhd general section. Start reading from page 30 onwards. I can't remember if I posted the link for such an app or not in one of the pages. If you reach page 42 then I didn't. First check the link section in the third post and there is a random link section link in the second post.
Your other option is to do the search at xda tv. That's where I accidentally found it.
Sent from a dream.

young440 said:
Howdy,
I was wondering how hard it would be to make my own flashable gapps and other apps for myself to flash after a clean wipe. So I was basically wondering if there's a zip creator for dummies topic out there somewhere.
Thanks for your help,
Young
Sent from my Inspire 4G using xda app-developers app
Click to expand...
Click to collapse
You need to make a zip with the system/app and meta-inf. In the meta-inf is an updater-script and update-binary. The updater-script is where you write commands. This tells recovery what to do like to mount /system and push the /system/app and containing apks.
For example:
"run_program("/sbin/busybox", "mount", "/system");"
"package_extract_dir("system", "/system");"
"unmount("/system");"
Or you can mount with this command if you don't have /sbin/busybox in directory.
"mount("ext3", "EMMC", "/dev/block/mmcblk0p25", "/system");"
(minus quotations on each end)
Anything contained in the system folder like other folders and their contents will be copied where necessary.
There are definitely more variations of these commands as well for different Rom configurations.
You can get more complex with setting permissions and symlinks but this is a good starting point.
Best way is to just pull apart a few different zips and see what commands do what. You will start to see how it works. It's pretty easy really. There are plenty if guides around as well. Just search and study til you are comfortable writing your own.
Sent from my Desire HD using xda premium

App2zip is one of the apps I used to use to zip up apps...there are quite a few other apps, do similar things as well...

Related

[AUDIO MOD] Project Linda Audio Mod

Hey everyone,
I originally found this modification many months ago for the Vibrant (http://forum.xda-developers.com/showthread.php?t=974771) and had requested for a flashable Zip file for the Galaxy S which i was able to obtain. i changed the OP so now you can download the .Zip file from here rather then looking for the link. This will replace many of your system sounds on your phone with computerized voice (Linda). So far this has been confirmed working on Bionix and Triggers roms and i'm sure it will work on most of the others.
Thanks to:
Chadster214 for making this a flashable .Zip for Galaxy S (and permission to post this in my OP)
Angryattheworld for making this modification for the Vibrant
xtone for also helping with creating the Project Linda sounds
And to anyone else who i may have forgotten
Instruction:
Download to SD
Reboot into recovery
install the downloaded zip file from below
reboot and enjoy
(i didn't have to clear any cache when flashing this)
Thanks again to everyone who made this happen.
Here is a list of sounds that it currently changes or includes:
Notications (Includes):
Linda Calendar
Linda Email
Linda IM
Linda Messaging
Linda Voicemail
Linda Weather
Ringtones (Includes):
Linda Ringtone
UI (Replaces):
Charger_Connection
Key0
Key1
Key2
Key3
Key4
Key5
Key6
Key7
Key8
Key9
KeyAsterik
KeySharp
Lock
Shutdown
TW_Error
TW_Low_Battery
TW_Unlock
TW_Unlock_Glass
TW_Unlock_Puzzle
Unlock
acureto said:
Hey everyone,
I was wondering if there was anyone that might be port the project Linda sounds to the galaxy s 4g. It was a great addition to the vibrant roms and would like to see if it is possible to port over here. Thanks for your time.
http://forum.xda-developers.com/showthread.php?t=974771
Sent from my SGH-T959V using XDA Premium App
Click to expand...
Click to collapse
Bionix Frost already has this.
gotcha, i was hoping someone might be able to make a flashable zip so it can be used on different roms like triggers as well or any other rom
you can usually just extract it from the ROM's themselves. I downloaded 2 different custom ones someone made in the Vibrant forums when I used to have a Vibrant and put it in this one. It's a lil different but still has the Linda voice. I just use Root Explorer to move the files to the correct folder.
Any idea what folder they might be located in by chance? I looked under system/media and didn't find any in any of the other folders located there.
EDIT: Never mind, I downloaded the zip from the vibrant thread, extracted, and now just copying over to the correct folder. A little time consuming that's for sure.
Sent from my SGH-T959V using XDA Premium App
here you go guys.. a flashable zip.
http://www.multiupload.com/BF8FN5A85E
That's awesome, thanks dude!
Sent from my SGH-T959V using XDA Premium App
what exacty does this mod do? just curious
Changes a lot of the system sounds such as when you plug your phone into the charger from a boring old beep to a computerized voice, it replaces many other sounds as well.
Sent from my SGH-T959V using XDA Premium App
acureto said:
Changes a lot of the system sounds such as when you plug your phone into the charger from a boring old beep to a computerized voice, it replaces many other sounds as well.
Sent from my SGH-T959V using XDA Premium App
Click to expand...
Click to collapse
awesome. thank you. about to flash now
downloading ill try it
Sent from my SGH-T959V using XDA App
personally i think it's pretty dope, hope you all enjoy it as well
acureto said:
personally i think it's pretty dope, hope you all enjoy it as well
Click to expand...
Click to collapse
Yea its pretty badass. Thanks guys
Sent from my SGH-T959V using XDA Premium App
Actually I don't like it lol.. any easy fix to remove it??
Edit: looks likes there's a revert flashable on the original thread.. is it possible to be relfashed to work on sgs4g?
Sent from my SGH-T959V using XDA App
The revert zip won't work on GB recovery. I'll see what I can do tomorrow to make it work.
Sent from my SGH-T959V using XDA Premium App
here's the undo flashable for Linda Project.
http://www.multiupload.com/P5F0IWLU4W
Chadster salamat pare
Sent from my SGH-T959V using XDA App
mbernusg said:
Chadster salamat pare
Sent from my SGH-T959V using XDA App
Click to expand...
Click to collapse
no problem.. hahaha.. I forgot you're pinoy too!
chadster214 said:
here you go guys.. a flashable zip.
http://www.multiupload.com/BF8FN5A85E
Click to expand...
Click to collapse
Lol, I was running bionix frost, but the only different sound I had was the shutdown one.
I flashed this in hopes of getting the whole 9, but I got boot loop.
I'm now back on my kd1 backup, neve made a bionix one .
Anyway, I was thinking of trying Trigger, so I guess now is a good chance.
Sent from my SGH-T959V
These audio's are very catching. When one goes off every1 around looks like "wtf was that" lol
Sent from my SGH-T959V using XDA Premium App

Custom Transitions!

I hate to open a new thread but its killing me. I've searched everywhere, and am looking for the thread on flashable custom transitions. I remember the thread but cant find it! If someone could post it or tell me where it is I would appreciate it, cause I love that shiz.
Sent from my PC36100 using xda premium
jtadak said:
I hate to open a new thread but its killing me. I've searched everywhere, and am looking for the thread on flashable custom transitions. I remember the thread but cant find it! If someone could post it or tell me where it is I would appreciate it, cause I love that shiz.
Sent from my PC36100 using xda premium[/QUOTE http://forum.xda-developers.com/showthread.php?t=1189119 here is a flashable zip. Just folow the instructions in the 3rd post
Click to expand...
Click to collapse
Thank you much my friend. Quick question, I see it was you who set this mod up, I did the first steps, but I'm to where the default folder was renamed then reflashed, I renamed the default folder.zip to the one I want, but nothing. What did I do wrong? Thanks again!
Sent from my PC36100 using xda premium

[Q] Adding packages into flashable zips?

This may seem like a dumb question, but I don't know and I can't find the answer, so I'm going to ask:
If I put an apk into a flashable zip (I know how to add one to an existing zip, that's not the issue) but that app already exists in the ROM, will the new app overwrite the existing one?
For example, add an Apollo apk into a gapps flashable zip (or one that just flashes an inverted market, or something like that) and flash it over a CM10 install. In that instance, will it overwrite the existing app?
How can I set apk permissions from within a zip, or is that important to do?
Another question is: How do I create my own flashable zips? Is there a guide somewhere?
Google turned up quite a few guides to create flash able zips. Even one featured on xda from Sept 1.
Just google "create flashable zips Android"
Cheers!
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
cameljon said:
Google turned up quite a few guides to create flash able zips. Even one featured on xda from Sept 1.
Just google "create flashable zips Android"
Cheers!
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Click to expand...
Click to collapse
Thanks. I'll admit not searching for that particular part of my question before submitting it. I just typed it on the fly when I was typing up the rest of the post.
http://forum.xda-developers.com/showthread.php?t=1610121
Looks the closest to what you need. I may create a script to wipe / update my personal data every time I flash a ROM.
Thanks for the bread crumb!
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
For flash able zips use App2Zip from the Play store. Works perfectly and very easy.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
I think I figured out the bulk of my question. Yes, adding an Apollo apk to a flashable zip will overwrite the app already in /system/app, which is what I wanted.
Thanks to all who suggested ways to create my own zips.

Install 4.2 Clock and Keyboard?

So Droid-Life posted the flashable zips a few days ago for the JB4.2 clock and keyboard apps. Is there any way to extract the .apk from these zips and install on the RAZR HD XT926? Obviously can't flash them since we don't have custom recovery. Just wondering if there is another way to install them. I actually already have the keyboard from last week but I really want the clock apps.
Thanks,
caseym
This belongs in Q&A.
This dev section looks like the wild west with no law. :thumbdown:
Sent from my SCH-I815 using xda premium
chefdave12118 said:
This belongs in Q&A.
This dev section looks like the wild west with no law. :thumbdown:
Sent from my SCH-I815 using xda premium
Click to expand...
Click to collapse
Sorry...can moderator please move this to Q&A?
unzip and copy over apk and lib to appropriate locations, and set permissions for each. working well for me.
You can just copy them over to the correct locations, look at the updater-script for locations and permissions.
These are included in the Vitreous Rom as well, which can be installed without unlocking your bootloader.
okibi said:
You can just copy them over to the correct locations, look at the updater-script for locations and permissions.
These are included in the Vitreous Rom as well, which can be installed without unlocking your bootloader.
Click to expand...
Click to collapse
can't believe I haven't heard about that rom yet, going to try it now
How do we install using busy box?
Sent from my Galaxy Nexus using xda app-developers app
DertyDOH said:
can't believe I haven't heard about that rom yet, going to try it now
Click to expand...
Click to collapse
Same here. Thanks a lot for all of the info guys.
ajm144k said:
unzip and copy over apk and lib to appropriate locations, and set permissions for each. working well for me.
Click to expand...
Click to collapse
jojo4747 said:
How do we install using busy box?
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Not working for me...I'm wondering the same thing as jojo. I copied the apk for the clock over to /system/app and set perms correctly. When I try to install it just says App Not Installed.
caseym said:
Not working for me...I'm wondering the same thing as jojo. I copied the apk for the clock over to /system/app and set perms correctly. When I try to install it just says App Not Installed.
Click to expand...
Click to collapse
Anyone figure anything out with this?
Grab the updated versions from the att sg3 thread in the apps section.
Sent from my DROID RAZR HD using Tapatalk 2

[ROM][PORT][WIP] K2_CL 4.2.2 w/ Sense 5.0 Odexed

****removed by me because people with no experience were still installing the rom.****
Reserved for OP
Reserved for OP....
Great work! i can't wait to try it out!
good!
Thanks, Please give feedback - it is encouraged, not only for myself but for other viewers too. On a good note, I believe I have narrowed down the solution in regards to the bugs I mentioned in the original OP. Working on them now to see the results.
Modding.MyMind said:
Thanks, Please give feedback - it is encouraged, not only for myself but for other viewers too. On a good note, I believe I have narrowed down the solution in regards to the bugs I mentioned in the original OP. Working on them now to see the results.
Click to expand...
Click to collapse
Hmm I think I know why data is broken... Are you using k2ul kernel?
Sent from my Nexus 5 using Tapatalk
Great job man!
Updated OP (see blue text)
Sent from my C525c using XDA Premium 4 mobile app
Carrier Specific
Great work! K2_PCL users want some love....
@cyanide01
Technically, cricket users can too with this Rom, but it may be a little more buggy as far as not being able to text and such. But WiFi will work. Should still get the 4.2.2 with Sense 5 experience. But make backup of device.
You will need to edit the updater-script file inside the zip folder before you can flash the Rom though.
.zip file >> META-INF >> com >> google >> android >> updater-script
Using notepad++, edit by looking at top of opened file and you should see a line with....
Code:
mount("ext4", "EMMC", "/dev/block/mmcblk0p35", "/system");
Change mmcblk0p35 to mmcblk0p33
33 is the system partition for your device. Save (NOT save as) and confirm file is saved in zip folder. If confirmed then proceed with instructions for flashing the Rom as instructed in the OP.
Sent from my C525c using XDA Premium 4 mobile app
We need update
Wow thanks for trying to make it work. I can't wait for an updated version of the android.
Waiting for mobile data ::laugh:
I have added Aroma Installer for a more unique feel to flashing this rom rather than the basic custom recovery. Enjoy. Instructions to flashing have not changed. Follow instructions in the OP.
For data have you tried replacing the RIL related files with the ones from K2_CL stock?
MameTozhio said:
For data have you tried replacing the RIL related files with the ones from K2_CL stock?
Click to expand...
Click to collapse
I believe I did, and when done it caused a phone FC.
Sent from my C525c using XDA Premium 4 mobile app
Feel free to tackle it though. @rickberg and @russellvone currently are as we speak. They are pretty determine to resolve the two bugs.. I haven't had time as of recent.
Sent from my C525c using XDA Premium 4 mobile app
on this note, YO @rickberg
hollah at chue boy, if you could PM me with a to-do list that hasn't been done yet....
@MameTozhio
maybe you could also PM me with a few things to pound out, orders are welcome.
Sent from my C525c using Tapatalk
Update: @rickberg has been working hard on fixing the two bugs. He sent me some logcats. After reviewing them I noticed that the Rom is trying to read off of Network Operator 310120. For us boost users, it is suppose to be 311870. Despite the fact that this is already set in the build.prop file of that Rom, it would appear something is trumping it. Hopefully the issue can be narrowed down. Seems it may be ril related ( @MameTozhio ).
Sent from my C525c using Tapatalk
Decompile Telephony-common and place your native RIL in 'Internal', the same folder that holds PhoneFactory
Also replace APNs in etc and open Framework.jar and in Res/xml replace APNs ERI with the ones in your native FW and it should sort call issues
Tquetski said:
Decompile Telephony-common and place your native RIL in 'Internal', the same folder that holds PhoneFactory
Also replace APNs in etc and open Framework.jar and in Res/xml replace APNs ERI with the ones in your native FW and it should sort call issues
Click to expand...
Click to collapse
Already on top of it. Just got to deodex the Port Rom first so making these modifications will be easier (somehow lost my other copy of it).
I beleive the call/data issues are related because in the 4.2 Rom under settings it shows the system as running lte.
Sent from my C525c using xda app-developers app

Categories

Resources