Related
I wasn't able to find info about this until now. But I need to know how to make the apks I include in a rom removable. I guess, maybe, I have to copy into a different folder instead or /system/app. is it right?
thanks
you have to install it in data directory not in system directory. so data/app
ok, thanks, but, if it doesn't exist, should I create it?
no u should not create it because then it wouldnt be a proper directory for your rom, the rom may not recognize it, i think.
which rom are you on? most rom has a data directory, that is where third party apps are installed and where apps downloaded from the market is also installed
this one
http://forum.xda-developers.com/showthread.php?t=556962&highlight=enomther
ok i see what u mean when there's no data directory. what you should test out first is go to market and download an app. then see where that app is install. see if it created a data directory or not. it should...
I had a look using root explorer, and there is a folder in the root called /data/app , and there inside are every installed apk, even the ones I installed by astro...
and there is another one called /data/data where I find folder of every app too
ANd another one called /data/app-private (there I found one apk that I downloaded from market.
I try to download a new one
Yup put your apks in data/app
on a related note, is there any way to flash unsigned ROMs? like if I want to drop .apk 's into the data folder of a rom before flashing?
The_Chrome_Coyote said:
on a related note, is there any way to flash unsigned ROMs? like if I want to drop .apk 's into the data folder of a rom before flashing?
Click to expand...
Click to collapse
I think no, but have a look for a program called autosign.
It very easy
NguyenHuu said:
Yup put your apks in data/app
Click to expand...
Click to collapse
but it only appear in my phone,not in the files of the rom.
Anyway I'm going to ask enomther, the creator of the rom, maybe he can help me
joshuas_79 said:
but it only appear in my phone,not in the files of the rom.
Anyway I'm going to ask enomther, the creator of the rom, maybe he can help me
Click to expand...
Click to collapse
ok your running a reg rom system, thus meaning 1.5/1.6 non hero. i can teach you step by step on how to set up "signing .zip's". its super super convenient!! i promise and its not to hard. just pm me if you need help. its way way easier to flash a rom with whatever apk you want then to push them and hope you pushed them to the right spot.
I have an AT&T Tab and thus need to periodically enable USB debugging to use the Side Load Wondermachine app. Stinks navigating thru the menus to enable / disable. I've searched the market but can't seem to find a widget that would handle toggling this as needed. Anyone know of one out there?
Not sure why you wouldn't just leave debugging enabled (you can always mount usb via the notification bar), but you can create a shortcut to the Development settings page using LauncherPro (the activity is under Settings->Development).
Thank you! I actually did not know you can have it selected all the time. I just tried it and it worked! I was use to have it unselected such that it would prompt me for either mass storage, Kies, or media. Since I only use it for Mass storage it works fine. Thanks again!
Why not just allow from market? Sure the options not there, but if you edit the settings.db from /dbdata/databases/provider-settings you can enable install_from_non_market.
It's what I did.
JaysFreaky said:
Why not just allow from market? Sure the options not there, but if you edit the settings.db from /dbdata/databases/provider-settings you can enable install_from_non_market.
It's what I did.
Click to expand...
Click to collapse
Hmm? Where exactly do you find this file? I searched via Astro File Explorer on the whole Tab and did not find this file. Would love to enable this option. Please provide additional details? Is yours also an AT&T tab? Can you provide a copy of the file?
cbb77 said:
Hmm? Where exactly do you find this file? I searched via Astro File Explorer on the whole Tab and did not find this file. Would love to enable this option. Please provide additional details? Is yours also an AT&T tab? Can you provide a copy of the file?
Click to expand...
Click to collapse
Sorry, that wasn't the exact name - I was just guesstimating. I have the AT&T Tab.
The actual path is /dbdata/databases/com.android.providers.settings/setti
ngs.db
I'm attaching the modified file. Just replace the file that's already specified in the path above with the one I'm attaching in the zip.
JaysFreaky said:
Sorry, that wasn't the exact name - I was just guesstimating. I have the AT&T Tab.
The actual path is /dbdata/databases/com.android.providers.settings/setti
ngs.db
I'm attaching the modified file. Just replace the file that's already specified in the path above with the one I'm attaching in the zip.
Click to expand...
Click to collapse
Ok, bear with me as I am a noob, but I am still not seeing it. See my attached screenshot. I am not seeing anything in the dbdata folder. I searched for com.android.provider.settings and the only item that comes back happens to be in my Titanium backup directory. Not sure why there and not in a folder itself. Searching for settings.db results with nothing.
Ok, never mind I figured it out. Looks like I needed a Root Explorer app. I thought Astro or ES File Explorer would show me everything but I was wrong. Downloaded a root explorer app and now I can see the file. Will backup and replace mine and see how it goes.
Thanks
Update: Excellent this works! I actually didn't use your file as I was concerned there may be other setting that were different. I was comparing the changes and noticed that my settings file already had the change you mentioned. I remember doing this via SuperOneClick root tool; however never bothered to try it. Duh! Well it works. This now in combination with dropbox is excellent. I can simply copy the file to my dropbox folder, select and install it on the tab. Works Awesome! Thanks for mentioning this to me; probably would have never thought to try it on my own. Thanks again.
cbb77 said:
Ok, never mind I figured it out. Looks like I needed a Root Explorer app. I thought Astro or ES File Explorer would show me everything but I was wrong. Downloaded a root explorer app and now I can see the file. Will backup and replace mine and see how it goes.
Thanks
Update: Excellent this works! I actually didn't use your file as I was concerned there may be other setting that were different. I was comparing the changes and noticed that my settings file already had the change you mentioned. I remember doing this via SuperOneClick root tool; however never bothered to try it. Duh! Well it works. This now in combination with dropbox is excellent. I can simply copy the file to my dropbox folder, select and install it on the tab. Works Awesome! Thanks for mentioning this to me; probably would have never thought to try it on my own. Thanks again.
Click to expand...
Click to collapse
No problem!
Is there any other way besides the adb push method to add the database I need to utilize MIUI weather.
A noob & not real sure how to go the adb route...all help will be greatly appreciated.
***Also if I need to post this somewhere else direct me the right way as I am still learning the forum.
I just gmailed myself the corresponding .apk and installed it through gmail directly on the phone. Gmail can install apk files.
Posted from MIUI Inspire 4G
nooomoto said:
I just gmailed myself the corresponding .apk and installed it through gmail directly on the phone. Gmail can install apk files.
Posted from MIUI Inspire 4G
Click to expand...
Click to collapse
Thank you very much. How is MIUI weather by the way?
I can't get it to work either. I've installed the proper .apk for my state, and copied the .db (I've tried both adb push and via Root Explorer) and I can't get it to work. It's stuck on Weber City and when I try to search manually it's still stuck on the first set of states. I'm stumped
For me Weber City has always been there. I have to add my zip and refresh a few times and delete, re-add the widget a few times, reboot a few times etc...to get it to show Miami as default, but Weber City has always been there.
Also turn off geolocation in the widget, it doesn't work.
Posted from MIUI Inspire 4G
Yea I was told in the MIUI Weather forum that the GPS feature only works in China...
I finally was able to get it. I had to rename MIUI_city.db to MIUI_city.bkp, then rename MIUI_city_NM_SC.db to MIUI_city.db. Then I pushed the corresponding .apk. And now I'm able to find my location when searching. I'm not worried about it holding onto Weber City...I'm just glad it was finally able to display my location!!
nooomoto said:
I just gmailed myself the corresponding .apk and installed it through gmail directly on the phone. Gmail can install apk files.
Posted from MIUI Inspire 4G
Click to expand...
Click to collapse
Where do I find the .apk to utliize w/ gmail. Thanks in advance.
look at the original miui weather post under the miui thread and it tells you how to install is by changing permissions
Ive been messing around in the framework for a little while now, replacing icons and such. I have managed to replace all my notification icons with custom ones that i am making, but i cant seem to find the H+ icon. all the other ones are in drawable-hdpi(3g h ect)
can someone please shed some light on this
gjc5500 said:
Ive been messing around in the framework for a little while now, replacing icons and such. I have managed to replace all my notification icons with custom ones that i am making, but i cant seem to find the H+ icon. all the other ones are in drawable-hdpi(3g h ect)
can someone please shed some light on this
Click to expand...
Click to collapse
They are in the rosie. Apk
Sent from my Inspire 4G using XDA Premium App
Were in Rosie.API are they? I found some + icons but not the h+ ones
I believe they are actually in framework-res.apk.
Gene Poole said:
I believe they are actually in framework-res.apk.
Click to expand...
Click to collapse
Negative they are definetly in the Rosie.apk unless they changed the location in sense 3.0. It should be in the same folder as it would be in framwork-res.apk.
Sent from my Inspire 4G using XDA Premium App
SystemUI.apk (system/app). I change mine all the time.
*Drawable-HDPI, btw
Simba501 said:
SystemUI.apk (system/app). I change mine all the time.
*Drawable-HDPI, btw
Click to expand...
Click to collapse
thats on a non inspire based rom correct?
Every time i edit an icon in frameworkres.apk i get a bootloop. What am i doin wrong?
Sent from my Inspire 4G using XDA Premium App
gho5t82 said:
Every time i edit an icon in frameworkres.apk i get a bootloop. What am i doin wrong?
Sent from my Inspire 4G using XDA Premium App
Click to expand...
Click to collapse
Are you unpakcing the apk, if not when you are putting new things in do you have it set to store?
mudknot2005 said:
thats on a non inspire based rom correct?
Click to expand...
Click to collapse
Any ROM that has a SystemUI.apk.
In any instance where there isn't one, those icons are in the framework-res.apk.
Im not unpacking it. What do u mean by having it set to store?
Sent from my Inspire 4G using XDA Premium App
gho5t82 said:
Every time i edit an icon in frameworkres.apk i get a bootloop. What am i doin wrong?
Sent from my Inspire 4G using XDA Premium App
Click to expand...
Click to collapse
Hard to tell. What are you using to change the icons?
Simba501 said:
Hard to tell. What are you using to change the icons?
Click to expand...
Click to collapse
I was trying to drag some icons from coredroid to virtuous unity's framework and systemui.apk's, using 7zip.
gho5t82 said:
I was trying to drag some icons from coredroid to virtuous unity's framework and systemui.apk's, using 7zip.
Click to expand...
Click to collapse
You'll need to be on a laptop/pc to do this method. Before you get started, make sure you have a backup of the apk you're modding (placed on the sd card somewhere). Also wouldn't hurt to make a nandroid. In the event where you need to revert the old apk back, skip to the steps regarding moving the apk to the original folder.
Download APK manager, open it, place the desired system apk into the "place here for modding", run the script, and select the "don't clear out current projects" option.
Near the top you'll see "extract apk". Select this option, wait for it finish, and navigate to the original apk manager folder. Here you'll see a new folder, "out". This is where the apk you extracted is. Navigate to res > drawable-hdpi and replace the desired icons. Make sure the new icons are named to exactly what you're replacing (you should get a "do you want to overwrite" dialog). They should also be sized to what the original file is (or close to it). Once you're done, back out back to the apk manager folder. Run the script again, select optimize images, wait for it to finish, then run zip apk, then 1 (for system app). Your new apk will be in the "place here for modding" folder under the name of "repackaged-unsigned" apk. You'll need to put this on your sd card, move it to "system" first (this will allow you to change permissions), rename it to the original system apk that you're replacing. Change the permissions to rw-r-r (accessible in root explorer by long pressing the file and selecting permissions - first two boxes on the first line and only the first box on the next two lines). From here, move it into the folder where it's replacing the original apk, you should get a "do you want to overwrite", select yes. Scroll down to verify the apk has the correct permissions and that the last modified date is showing as recently. If you don't get an "overwrite" prompt, you need to move it back and correctly name it until you do get the prompt. Lastly, reboot. In some situations (e.g., modifying the Mms apk or other system applications), it would help if you cleared cache and dalvik cache (boot will take a long time). You should see your changes. Seems like a lot but it's very simple. Good luck.
Sent from the most interesting device in the world.
Simba501 said:
Unfortunately, it's not that simple. Seems as though the apk may be losing its system signature (when you edit it like that). You'll need to be on a laptop/pc to do this. Before you get started, make sure you have a backup of the apk you're modding (placed on the sd card somewhere). Also wouldn't hurt to make a nandroid. In the event where you need to revert the old apk back, skip to the steps regarding moving the apk to the original folder.
Download APK manager, open it, place the desired system apk into the "place here for modding", run the script, and select the "don't clear out current projects" option.
Near the top you'll see "extract apk". Select this option, wait for it finish, and navigate to the original apk manager folder. Here you'll see a new folder, "out". This is where the apk you extracted is. Navigate to res > drawable-hdpi and replace the desired icons. Make sure the new icons are named to exactly what you're replacing (you should get a "do you want to overwrite" dialog). They should also be sized to what the original file is (or close to it). Once you're done, back out back to the apk manager folder. Run the script again, select optimize images, wait for it to finish, then run zip apk, then 1 (for system app). Your new apk will be in the "place here for modding" folder under the name of "repackaged-unsigned" apk. You'll need to put this on your sd card, move it to "system" first (this will allow you to change permissions), rename it to the original system apk that you're replacing. Change the permissions to rw-r-r (accessible in root explorer by long pressing the file and selecting permissions - first two boxes on the first line and only the first box on the next two lines). From here, move it into the folder where it's replacing the original apk, you should get a "do you want to overwrite", select yes. Scroll down to verify the apk has the correct permissions and that the last modified date is showing as recently. If you don't get an "overwrite" prompt, you need to move it back and correctly name it until you do get the prompt. Lastly, reboot. It would help if you cleared cache and dalvik cache (boot will take a long time). You should see your changes. Seems like a lot but it's very simple. Good luck.
Sent from the most interesting device in the world.
Click to expand...
Click to collapse
Thank you very much for the detailed instructions, i will try this asap!
gho5t82 said:
Thank you very much for the detailed instructions, i will try this asap!
Click to expand...
Click to collapse
Good luck! Report back!
Sent from the most interesting device in the world.
Simba501 said:
Good luck! Report back!
Sent from the most interesting device in the world.
Click to expand...
Click to collapse
I keep getting adb not found messages when i run the script. I have adb installed through sdk.
So I checked system/app and there is not a systemui.apk. I haven't been able to find that apk anywhere.
gho5t82 said:
I keep getting adb not found messages when i run the script. I have adb installed through sdk.
Click to expand...
Click to collapse
Manually check via a root explorer on your phone. If you have one, entering it in adb is probably case sensitive. You'd have to enter it exactly as it appears. What ROM are you using?
Sent from the most interesting device in the world.
gjc5500 said:
So I checked system/app and there is not a systemui.apk. I haven't been able to find that apk anywhere.
Click to expand...
Click to collapse
What ROM are you using?
Sent from the most interesting device in the world.
Anyone still on stock care to upload them, or have a link where they're already uploaded?
Some are strongly against them, but I love them. I'd much rather wake up to a soft acoustic piano, then some annoying/loud alarm.
funny, the first thing I did was go and find a "real" ringtone....
This place doesn't have the S3 yet, but they have quite a few others..
http://droidpirate.com/ring-tones-notifications/
If no one posts by tonight I'll upload them.
Synergy-I535
Sniper_5 said:
If no one posts by tonight I'll upload them.
Synergy-I535
Click to expand...
Click to collapse
^__^ That ^^
Please do, I need them too.
+1
I was just thinking about that when considering moving to a new rom soon. I sort of like the stock notifications, the whistle when I get an e-mail is nice.
Let me guess , You installed a custom rom Right ???
LOL
Here you go: http://dl.dropbox.com/u/20448899/audio.zip
dhjean said:
Here you go: http://dl.dropbox.com/u/20448899/audio.zip
Click to expand...
Click to collapse
Thank you.
Is it flashable through recovery, or does it need to be manually placed in a folder. If the latter, what folder(s) do the files need to go into, I'm guessing in /system somewhere?
UPDATE: NM, found where it goes, in media/audio, it doesn't look like a flashable zip.
Download zedge from play store and get all u can imagine
Sent from my SCH-I535 using xda app-developers app
newuser134 said:
Thank you.
Is it flashable through recovery, or does it need to be manually placed in a folder. If the latter, what folder(s) do the files need to go into, I'm guessing in /system somewhere?
UPDATE: NM, found where it goes, in media/audio, it doesn't look like a flashable zip.
Click to expand...
Click to collapse
No, it's not a flashable zip. I should have said that. You would need to copy these into /system/media to work. You might also need to change the permissions on them to get them to work. I copied one sound to another folder (I wanted to use it as an alarm), and I needed to change the permissions to RW to do so.
http://db.tt/ar1GZz61
Here also is a link to a zip of the whole audio folder from a stock SGSIII on verizon.
Just got it two days ago, and had a chance to do an adb pull of the device earlier today.
I remembered seeing this thread yesterday, so made the zip of the folder in linux earlier, just got on lunch and upped it to dropbox.
I see someone else already has it up, but, figured i'd share it anyway as another copy. Also not flashable, just a zip of the folder itself.
Sent from a digital distance.
both links are dead.... does anyone still have these to share? been looking all over for them
Edit: just copied them from system/media to the SD card using Astro
http://db.tt/9mTGMVtu I hope this is what you wanted.