Adding programs to ROMs - Hero, G2 Touch Android Development

Guys,
I am by no means a developer. However over the few days I have been experimenting with modifying some ROMs.
I have a rooted Hero with Modaco 1. 5 installed.
I have also discovered I can pull my protected apps from the phone and install them from my SD card.
My question is:
If I insert the .apk's into a ROM and re-sign it, will they automatically install?
I also run my apps from SD so will they go back there or will they use up internal memory?
If this works I could drop all of my protected apps onto each ROM update before flashing!

yes ir works. i use to do it that way!

what about copying paid/bought app's apk files to a new rom, are they in some way protected sothat this would not work?

felikz said:
what about copying paid/bought app's apk files to a new rom, are they in some way protected sothat this would not work?
Click to expand...
Click to collapse
No, this is why I was asking.
I have successfully taken a paid/protected app off my phone using a file manager program and just copying and pasting the .apk from the 'system/sd' folder on the EXT3 extension.
I have then installed it on another phone using an SD and app manager.
Therefore I was considering taking all of my paid/protected apps and dropping them into a ROM before I flash it to save downloading anymore programs as all of my other programs will already be on my EXT3 part of my SD card!
Woohoo......
Right, how do I sign a zip file?

aha okay, thats very interesting! ;-) know what im saying ;-)

Related

[Q] Any uses for /system folder? (Rooted Phone)

I've a strange question that might or might belong in the development thread, but figured since it's a question, I'll try here first.
I'm using a Stock DeOxed Rooted Rom on my EVO.
I recently installed a few more apps and saw this pesky little warning about low on space.
When I went into my "SystemPanel" app to see how much space was left exactly and noticed that my /data folder only had around 30megs out of it's 428M available.
Ok.. time to delete some apps I thought, but then I noticed that my /system folder (Where I presume pre-installed apps live) had almost 1/3 of it's space still available (115 out of 350megs available).
So I'm wondering.....
Is there some method that I can use to install Apps directly to this folder instead of the standard /data that apps appear to go to when installed?
Is it as simple as moving the APK file with Root Explorer, or are there some under the hood items in apps that prevent this sort of thing?
I've a few rather large apps that I cannot move to the SD card due to widget problems and the like but would be perfect for the system folder if I can find a way to move them there easily.
Thoughts?
DroidGnome said:
I've a strange question that might or might belong in the development thread, but figured since it's a question, I'll try here first.
I'm using a Stock DeOxed Rooted Rom on my EVO.
I recently installed a few more apps and saw this pesky little warning about low on space.
When I went into my "SystemPanel" app to see how much space was left exactly and noticed that my /data folder only had around 30megs out of it's 428M available.
Ok.. time to delete some apps I thought, but then I noticed that my /system folder (Where I presume pre-installed apps live) had almost 1/3 of it's space still available (115 out of 350megs available).
So I'm wondering.....
Is there some method that I can use to install Apps directly to this folder instead of the standard /data that apps appear to go to when installed?
Is it as simple as moving the APK file with Root Explorer, or are there some under the hood items in apps that prevent this sort of thing?
I've a few rather large apps that I cannot move to the SD card due to widget problems and the like but would be perfect for the system folder if I can find a way to move them there easily.
Thoughts?
Click to expand...
Click to collapse
/system/app is where system apps are kept. If I remember correctly, any app can be installed into there, but you have to do through flashing an update.zip if I'm remembering properly. You may be able to take the apk that's in /data/app for the app you want to move and move it to /system/app, but I'm not sure if that will work properly or not. Someone who cooks ROMs might know more.
Also, you can partition your sd card and use true apps2sd with most ROMs. Its a little bit of work and will shorten the life of your card, but that gives you a lot more room if you need it.
I don't know that there's a way to move user apps to system. It's very possible there is a way, I've just never seen any posts about it. Apps 2 SD is usually the way to go.
ps. 30 megs?!?! Geez, how many apps do you have?
Sent from my SUPERSONIC
Easy peasy
First, use a true apk backup tool to backup e apk files you want to move. Titanium backup will NOT work because it compresses and distorts, and we need true apk files. I recommend file manager by adao team. Just go to applications, check what you want, and hit backup. Next, get the apk files on your computer by mounting sd and copying files from backups folder. You will lose all app data, but what can you do? Next, adb push the files to system app folder while in recovery mode (just say so if you don't know how to do this and i will tell you) and reboot. Done. Tell me if it works well.
By the way, 30 megs???
Doesn't froyo install to the sdcard if you tell it to?
I thought a2sd was obsolete
You can put apps there after changing the folder's permissions but I wouldn't recommend it. Just not a good idea to put regular apps there.
Just install them to your SD card instead
Sent from my PC36100 using XDA App
go into the android app manager and go through all your programs and click on move to sd card...
they will all still occupy some space on your nand, but not nearly as much.
Thanks for the advice, I thought it might not be as easy as moving them, oh well, just seems a shame for there to be over 100 megs I cannot do anything with.
I already had moved all I could to the SD card prior to posting this, but thanks for that advice as well, I'm sure others forget they can do that with Froyo.
As for the 30 megs I had left.. we'll it's back up to about 70 free which should be plenty for a while. (Remember we only have about 420 to start with).
Some of the big ones which could not be moved to the SD card are:
Swype (Deleted, took over 17megs)
TouchDown (12 megs.. must keep for tasks sync sadly)
Google Maps update (7.6 megs)
Documents to go (8megs)
A few various games that cannot yet be moved to the SD card at around 5megs each..
The rest are just lots of little apps.. I'm sort of an app junkie You should have seen my old Palm Centro... it was amazing!
According to Titanium, I currently have 194 'User apps', though I think a few are simply widgets, icon packs and the like.

App data moved off root of SD?

Is there a way to make app data saved to a folder in SDcard instead of the root? That way it can organize between all the junk I put on there and what is really app data...
Is this achieved by partitioning? or app2sd? never tried either one.
Apps create folders on SD as repositories for additional elements needed to make the app function, or for storage in general.
Don't recommend relocating (or removing) app-created folders unless you have uninstalled the app.
Stray stuff you may have placed on SD can be organized in a folder(s), but I wouldn't mess with anything an app created unless I were (or had) deleted the app.
Don't have to partition the SD to create your own folder.
Okay, I feel really stupid. I was messing with a new ROM and it didnt seem to work out so I went back to my old ROM (qhaung81 AOKP). When I went back to reload all my apps and stuff, it ended up in a whole nother folder!! In order to find it now Ive got to go to SD/SD0 and everything I have is in there! How do I get it out of that folder and back to my regular root? I dont want any of this mess!!
Hope someone can help!!
Ridge

[Q] Unable to see storage card when running on Android

Hi all,
I am trying to get android to work on my old Tilt2 for my fiance so we can play games together. I've gone through all the steps by adding the correct files to the root of the storage card and running Haret. Every thing seems to work "fine" other than the fact that I can't see a storage card while in Android. I tried to partition my SD card to see if that would help but I am unable to determine the proper way to do that. Any help would be appreciated
Do you have some type of file manager installed on Android? I know that I could always see it, with the exception of the Android folder on my card.
Demonic240 said:
Hi all,
I am trying to get android to work on my old Tilt2 for my fiance so we can play games together. I've gone through all the steps by adding the correct files to the root of the storage card and running Haret. Every thing seems to work "fine" other than the fact that I can't see a storage card while in Android. I tried to partition my SD card to see if that would help but I am unable to determine the proper way to do that. Any help would be appreciated
Click to expand...
Click to collapse
I've said this 100x, not sure why it never shows up on people's searches...
But backup all the data on the card. Format the card (full format, FAT32) using the HP Tool. Restore all the data on the card after the format, or start over fresh doesn't really matter. Apps should now be able to see the card, etc.
I'm not concerned about apps seeing the storage card. I don't have a "My Files" app that will let me navigate the card. Do I need to download a file manager in order for it to work?
I fixed it.. I had to download a file management app I feel dumb now.
Which App?
lotusfrontera said:
Which App?
Click to expand...
Click to collapse
Astro is pretty good, and is included in AndroidApps folder IIRC.
arrrghhh said:
Astro is pretty good, and is included in AndroidApps folder IIRC.
Click to expand...
Click to collapse
Amusingly, I use multiple file storage apps. Super Manager for making system files r/w, and file expert for the look and feel. I have astro too, on my other phone, but only really use it for enabling all file type downloads from the web.
Sent from my SGH-I897 using XDA App

SD Card as standard

Hey Guys!
I took over the Wildfire of a friend and he reseted it. Now i wanted to put my SD-Card in it but all the Apps i want to download are safed in the internal storage. By Google search i just found solutions for saving fotos and videos on SD-Card but not Apps and so on.
It runs with 2.3.5 Android. Can you help me?
Thanks
Would it not be easier as it is to put all your apps into an online backup like SOS? (Link here: https://play.google.com/store/apps/...yLDEsImNvbS5zb3NvbmxpbmViYWNrdXAuYW5kcm9pZCJd
Then backup your apps, photos, videos, music etc.. After that download the app onto the other device, sign into your account and redownload everything to the SD. The way you're trying to do it just opens the door to confusion.
Pazens said:
Hey Guys!
I took over the Wildfire of a friend and he reseted it. Now i wanted to put my SD-Card in it but all the Apps i want to download are safed in the internal storage. By Google search i just found solutions for saving fotos and videos on SD-Card but not Apps and so on.
It runs with 2.3.5 Android. Can you help me?
Thanks
Click to expand...
Click to collapse
I think you should try the titanium backup(you can find it here "http://www.filecrop.com/77298937/index.html").you can backup almost everything you have...you should definitely give it a try
Neo_92 said:
I think you should try the titanium backup(you can find it here "http://www.filecrop.com/77298937/index.html").you can backup almost everything you have...you should definitely give it a try
Click to expand...
Click to collapse
Yeah nice solutions, the problem is i got a new SD. So the only way i can imagine how it could work is to download all the APKs i need, and put them on my SD-Card... but i think it wants to install on the internal storage, or does it install whereever the apk is?
Thanks!
Pazens said:
Yeah nice solutions, the problem is i got a new SD. So the only way i can imagine how it could work is to download all the APKs i need, and put them on my SD-Card... but i think it wants to install on the internal storage, or does it install whereever the apk is?
Thanks!
Click to expand...
Click to collapse
No suggestion how it could work?
Pazens said:
No suggestion how it could work?
Click to expand...
Click to collapse
Unfortunately for you, mate, the Android is made so that an app is almost always installed on the internal space and, if the developer included this, it could be moved to the sd card. The location of the apk makes no difference and even if you moved it, it leaves parts in the internal storage (like moving only half of it).
I suggest you use Data2SD or Link2SD (I preffer the latter) to install whatever app you need totally to the sd.

Can't access SD Card on PC since RamExpander installation

Hi!
I recently installed the RamExtender application for my One V so it could run games more fluently.
However, right after installing it and creating a "ram-swapping" partition, my SD Card would not show up anymore in "My Computer" tab. I can only see my phone storage and the H: letter (usually the SD Card) is there but when I click on it, it says "Please Insert a disk into removable disk".
Please see the picture attached to the thread so you can see what's actually happening. The SD Card is not corrupted since my games still work and I can browse its files in ASTRO file manager... HTC Sync Manager won't sync either.
Any ideas how to fix it? I still want to put music and custom APKs in my SD Card!!
Thank you very much everyone
First of all, NEVER use these kinds of apps
if you're ROOTED, flash the Turbo Boost MOD
just delete the swap file u created from the SD card and you should be okay !
Seraz007 said:
First of all, NEVER use these kinds of apps
if you're ROOTED, flash the Turbo Boost MOD
just delete the swap file u created from the SD card and you should be okay !
Click to expand...
Click to collapse
Thank you very much! Well I did uninstall the app and deleted the .swap file left behind by the app, but still the SD Card won't mount on Windows because it seems Ram Expander is not fully uninstalled
What other file/directory should I be looking for? How to be sure it's fully deleted?
Thanks again!
alpha8768 said:
Thank you very much! Well I did uninstall the app and deleted the .swap file left behind by the app, but still the SD Card won't mount on Windows because it seems Ram Expander is not fully uninstalled
What other file/directory should I be looking for? How to be sure it's fully deleted?
Thanks again!
Click to expand...
Click to collapse
well after deleting the swap file should have worked(it worked for me before)
umm try installing the app and then Removing SWAP FILE from the APP itself
alpha8768 said:
Thank you very much! Well I did uninstall the app and deleted the .swap file left behind by the app, but still the SD Card won't mount on Windows because it seems Ram Expander is not fully uninstalled
What other file/directory should I be looking for? How to be sure it's fully deleted?
Thanks again!
Click to expand...
Click to collapse
The best and final way is to make factory reset, wiping everything, including SD card....
Then just install everything from scratch and you'll have working hov...
Seraz007 said:
well after deleting the swap file should have worked(it worked for me before)
umm try installing the app and then Removing SWAP FILE from the APP itself
Click to expand...
Click to collapse
Well I reinstalled the App in order to try it but there is no option to remove the swap file in it I'll try to contact the dev by Email and see what I can do...
*UPDATE* The dev says he's not avaible to provide me support. Contacting another user who used this app before.
bratusm said:
The best and final way is to make factory reset, wiping everything, including SD card....
Then just install everything from scratch and you'll have working hov...
Click to expand...
Click to collapse
*Cut my life into pieces. This is my last resort* -Lyrics from Papa Roach. And here comes the awesome guitar rift!
Hope this will not be necessary. As a newbie in the Android ecosystem (I come from Windows Phone 7.8 lol), I had a real hard time rooting/unlocking my bootloader and installing the new kernel+rom...
U can do 1 thing.....
Use es file explorer and in the menu click on manager then choose SD card analyst.....
Once it stops scanning check 4 swap file if present delete it and reboot....
Hope it solves the issue
Sent from my HTC Wildfire S A510e using Tapatalk 2

Categories

Resources