Related
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!
I want to use Location Spoofer to spoof my GPS location. In it's description it says:
"Spoof your device location, make it appear to be in another place.
A simple utility to set a fake wireless networks location.
You have to allow mock locations under Settings -> Applications -> Development
(rooted phones can spoof location with mock locations disabled, move the app to /system/app to get that)"
I want to be able to spoof my location WITHOUT checking the "allow mock locations" option checked.
My Droid X is rooted with Z4. I can't see the apps in the data folder. I thought I would be able to once I was rooted? What a I missing?
I used Atsro to view folders and files, but the data folder was empty.
you have to use root explorer or super manager and move the .apk to /system/app
Sent from my SGH-T959V using XDA App
Great! Now where is the APK installed by default? I thought I knew but I guess not.
Let me do some exploring real quick
edit: they save to /data/app
Sent from my SGH-T959V using XDA App
Ok, now I don't see a /data folder. I see it when I use Astro File Manager, but it is empty. Using Super Manager, I don't even see the folder at all...any idea why?
I believe you have to enable root in super manager. Let me check (I use root explorer)
Edit: enter "File Explorer" and then hit your menu button and select "Setup" then "Enable ROOT Function" then hit "Back up level folder" a couple times and you should see the /data folder
Sent from my SGH-T959V using XDA App
Juls317 said:
I believe you have to enable root in super manager. Let me check (I use root explorer)
Edit: enter "File Explorer" and then hit your menu button and select "Setup" then "Enable ROOT Function" then hit "Back up level folder" a couple times and you should see the /data folder
Sent from my SGH-T959V using XDA App
Click to expand...
Click to collapse
I have moved it, but when trying to open it, it crashes.
Easy
Root your device
Install Root Explorer.apk (google search)
Open Root Explorer. Then copy your app .apk file to root/system/app (check if you choose RO instead of RW).
Reboot and enjoy!
Do adb push n set permissions
Sent from my Xperia Live with Walkman using xda app-developers app
Read only?
I do the same, and disable ''Root Explorer'', but then I geta long error, which says that it's read only :silly: Anyone that can help?
---------- Post added at 01:49 AM ---------- Previous post was at 01:38 AM ----------
TheAcsm said:
I do the same, and disable ''Root Explorer'', but then I geta long error, which says that it's read only :silly: Anyone that can help?
Click to expand...
Click to collapse
I figured it out, thanks for the help This post was really helpful :victory:
What if I use root explore but it just restarts the phone instead of actually transferring to system?
The phone is rooted and it's an HTC One m8 I've tried multiple apps to move it to the system but none of them work.
When I tried to transfer the apk to the /system/app, Error is displayed - "The item base.apk could not be written". This is after giving the permission to modify the /system/app folder. Any help is appreciated!
I rooted my phone and have the fake gps thing, but when I go to system mover app and try to make it a system app, it says done, reboots, and it has Uninstalled my app, wth
Emmaboo said:
I rooted my phone and have the fake gps thing, but when I go to system mover app and try to make it a system app, it says done, reboots, and it has Uninstalled my app, wth
Click to expand...
Click to collapse
Open file explorer. Go to system/app folder. Search for moved app and install again. If it not moved then other app mover apps.
Its actually system/priv-app.. Either way, better use link2sd or any other such app to move the fake GPS pro to system app. Then reboot.
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.
Hi,
I run OmniRom without gapps (with NOGAPPS actually) and there's an app that refuses to start with the error "google play services is not installed, contact the device manufacturer".
Is there anything I can do to "fool" the app in thinking GSF is installed? I don't care about the push notifications the app is using.
Thank you.
wkwkwk said:
Hi,
I run OmniRom without gapps (with NOGAPPS actually) and there's an app that refuses to start with the error "google play services is not installed, contact the device manufacturer".
Is there anything I can do to "fool" the app in thinking GSF is installed? I don't care about the push notifications the app is using.
Thank you.
Click to expand...
Click to collapse
What is this problematic app?
thenookieforlife3 said:
What is this problematic app?
Click to expand...
Click to collapse
Hello. Thanks for your reply. It's:
https://play.google.com/store/apps/details?id=nz.co.asb.asbmobile
I tried using apktool to decompress it, remove the dependencies from AndroidManifest.xml but I couldn't compile it back.
Thoughts?
Thank you
wkwkwk said:
Hello. Thanks for your reply. It's:
https://play.google.com/store/apps/details?id=nz.co.asb.asbmobile
I tried using apktool to decompress it, remove the dependencies from AndroidManifest.xml but I couldn't compile it back.
Thoughts?
Thank you
Click to expand...
Click to collapse
The hard thing about decompressing, editing, and recompiling apps is that when you recompile it you also have to resign it. See, when you take apart an app the signature is stripped, and the signature is what allows the app to install properly.
Fortunately, there are several utilities out there that will help you do this.
thenookieforlife3 said:
The hard thing about decompressing, editing, and recompiling apps is that when you recompile it you also have to resign it. See, when you take apart an app the signature is stripped, and the signature is what allows the app to install properly.
Fortunately, there are several utilities out there that will help you do this.
Click to expand...
Click to collapse
The problem wasn't the signing part, I wasn't reaching that step since the apk wasn't building anymore afterwards, it was giving out errors about not finding some files (I don't recall exactly as I haven't tried lately).
Would you recommend a particular app (ideally to run under linux but can manage with Windows if need be) to decompile and compile an apk?
Thank you
wkwkwk said:
The problem wasn't the signing part, I wasn't reaching that step since the apk wasn't building anymore afterwards, it was giving out errors about not finding some files (I don't recall exactly as I haven't tried lately).
Would you recommend a particular app (ideally to run under linux but can manage with Windows if need be) to decompile and compile an apk?
Thank you
Click to expand...
Click to collapse
What I meant to say was, don't actually decompile the app and then try to recompile it! It will give you errors, as you've seen.
Instead, try the following steps:
1. Copy the .apk file to a safe, secure place as a backup.
2. Download and/or open up an archive management program, i.e. 7zip or WinRAR.
3. Navigate to the directory where the .apk you want to mod is located. Not the backup one, of course!
4. Extract the .apk to a folder of your choice. Folder name example - "[name_of_app] modding" (without quotes).
5. Open up your regular file manager and navigate to that folder you just extracted to. Modify the files you want to modify.
6. Now, pay close attention to this part - In your archive manager, go into the acual .apk file you want to modify. It will just open right up as if it was a .zip.
7. Navigate to the directory in the .apk where the files you modded belong.
8. Now, back to your file explorer, click-and-drag the file(s) you modified from the file explorer window to the archive manager window. Drop the file in the archive manager window. It will ask you if you're sure that you want to overwrite, hit "Yes".
9. Once the file's in place, close the archive manager to finalize the change.
10. Now, all you have to do is put the modified app back on your device, use a tool like ZipSigner (find on Google Play) to resign it, and install!
Please do give me a few post thanks if the above instructions helped you. :good:
thenookieforlife3 said:
What I meant to say was, don't actually decompile the app and then try to recompile it! It will give you errors, as you've seen.
Click to expand...
Click to collapse
Thanks for the detailed instructions, however, to modify AndroidManifest.xml (where the GSF requirement is put) you need to decompile the apk using apktool or similar.
Simply unzipping the APK will not allow you to change AndroidManifest.xml.
I wish it were that simple
wkwkwk said:
Thanks for the detailed instructions, however, to modify AndroidManifest.xml (where the GSF requirement is put) you need to decompile the apk using apktool or similar.
Simply unzipping the APK will not allow you to change AndroidManifest.xml.
I wish it were that simple
Click to expand...
Click to collapse
That's odd, because that method is what has consistently worked for me!
I have a OnePlus One CM11 rooted.
I read a post here:
http://forum.xda-developers.com/showthread.php?t=2064859&highlight=deleted
And therefore I "played" a little bit with my phone with those things:
1) \System\priv-app\ContactsProvider.apk
2)ContactsStorage from Setting ->Apps->All->ContactsStorage
Somehow I ended up with the situation that:
1)ContacsStorage does not appear at the apps list.
2)The directory \data\data\com.android.provider.contacts have disappeared.
I want to reinstall\flash the ContactsStorage app.
I know that reinstalling the rom will fix it, but I'm trying to avoid it.
Do you know of any other way I can do it?
Extract it from your ROM zip. Copy back to it's original location with a file manager (Root Explorer), set permissions and reboot.
davebugyi said:
Extract it from your ROM zip. Copy back to it's original location with a file manager (Root Explorer), set permissions and reboot.
Click to expand...
Click to collapse
I don't have my rom zip (This is the rom that came installed).
But returning the original backup apk and rebooting did not do the job
barak91 said:
I don't have my rom zip (This is the rom that came installed).
But returning the original backup apk and rebooting did not do the job
Click to expand...
Click to collapse
Then you are doing spmething wrong. What do you use to move? Is system set to R/W? permissions set? Same folder?
davebugyi said:
Then you are doing spmething wrong. What do you use to move? Is system set to R/W? permissions set? Same folder?
Click to expand...
Click to collapse
Attached screenshots.
barak91 said:
Attached screenshots.
Click to expand...
Click to collapse
The problem that the apk is vanishing after reboot is not a permission issue. Try a better file manager (in my case Root Explorer never fails). Mount system as R/W and do the rest.
davebugyi said:
The problem that the apk is vanishing after reboot is not a permission issue. Try a better file manager (in my case Root Explorer never fails). Mount system as R/W and do the rest.
Click to expand...
Click to collapse
The apk is NOT vanishing, it stays there.
The app of ContactsStorage is vanished from the apps list permanently.
As well as the folder in \data\data of com.android.providers.Contacts.
The option to sync google contacts is gone as well.
barak91 said:
The apk is NOT vanishing, it stays there.
The app of ContactsStorage is vanished from the apps list permanently.
As well as the folder in \data\data of com.android.providers.Contacts.
The option to sync google contacts is gone as well.
Click to expand...
Click to collapse
Did you make sure to also put the odex file in the folder as well?
Heisenberg said:
Did you make sure to also put the odex file in the folder as well?
Click to expand...
Click to collapse
I don't know what the odex file is.
I did not back the odex file so I do not know if it's the original, but there is a ContactsProvider.odex in there.