Mod request - HTC EVO 3D

Anyone know how to modify the stock built in Google search function to use https instead of unsecured Google search Site?
Sent from my PG86100 using XDA App

Just had to modify GoogleQuickSearchBox.apk I did and it works. It uses https tok some tinkering to get it working right but here it is.
GoogleQuickSearchBox.apk 543.91 KB
Here is what i did with it
Remove your current GoogleQuickSearchBox.apk
Reboot
Push the modified apk to /system/app or install with adb
Use a file manager to fix the permissions, then click on it in the file manager to install.
I'm sure it will work anyway you install it, i can make a flashable zip if you need it. Sorry, i don't know your skill level, not trying to insult you

Blah. Won't let me download.

Bad link smokin, but damn you guys are fast!
No insult bro, I can do some of the advanced stuff, but I know enough to ask for help Lol.
Sent from my PG86100 using XDA App

Thanks for this

The link works for me thats weird. And yea i wasnt trying to insult anyone but you never know who knows what lol.
Here is the file attached.

Smokin, if it's not a bother can you do the same with voice search? I think in the day and age of sniffer apps and man in the middle attacks, not to mention privacy updates and tracking, security is hugely important.
*Mods can we get this moved to themes and apps for wider distribution?
Sent from my PG86100 using XDA

Related

Attn fellow themers: Meta/Ninjamorph question

As we all know, you can morph third-party apps in /data/app
would i be able to move a market app to /system/app and then morph it? has anyone attempted this?
Why would you need to move an app to /system/app? To stop it from upgrading? You can only accomplish it by a shell script or something.
birgertime said:
Why would you need to move an app to /system/app? To stop it from upgrading? You can only accomplish it by a shell script or something.
Click to expand...
Click to collapse
metamorph will not morph apps in /data/app....thats why i would need to move it
I cant think of any reason this would not work.. why not just try?
s15274n said:
I cant think of any reason this would not work.. why not just try?
Click to expand...
Click to collapse
im going to, gotta wait till i get home, so i figured in the meantime id check to see if anyone had ever done this. wasnt sure if it might lead to signature issues, or something along those lines
TopShelf10 said:
metamorph will not morph apps in /data/app....thats why i would need to move it
Click to expand...
Click to collapse
I was always under the impression that it does
birgertime said:
I was always under the impression that it does
Click to expand...
Click to collapse
i wish....stericson had said a couple months ago that he was working on it to function for /data/app, but there's been no follow-up on that yet
I've made morphs for market apps on several occasions...the most recent was changing the background on my meridian music widget.
To answer your questions, it works without causing any problems to the functionality of the app itself, nor have I had any issues from applying the morph with the apk still located in data/app. But, you will get errors when trying to apply an update through the market. This also screws things up when you have lots of updates and try to "update all." The updates will work fine until the market tries to update the one you modified, then all apps it tries to update after that will also come back with errors.
Since I don't check for updates often, I need that "update all" button to work properly - so I solved the problem by using Titanium Backup to detach the modified apps from the market. The downside is you won't see if an update is available, but an update would require you to uninstall, reinstall, then reapply the morph. Most updates aren't critical enough to go through that hassle...imo.
Hope that helps!
bnielsen40 said:
To answer your questions, it works without causing any problems to the functionality of the app itself, nor have I had any issues from applying the morph with the apk still located in data/app
Click to expand...
Click to collapse
did you use metamorph, or ninjamorph for this? im assuming you use ninjamorph to unzip, make your changes, rezipped, signed, and installed? im trying to bypass the signing/reinstalling because ever since i upgraded to froyo "signapktic" no longer works for me, so i cant sign apps on my phone.
thats the beauty of metamorph is that you can change images without needing to take all those extra steps.
i was certain you caouldnt metamorph an app in /data/app....
TopShelf10 said:
did you use metamorph, or ninjamorph for this? im assuming you use ninjamorph to unzip, make your changes, rezipped, signed, and installed?
Click to expand...
Click to collapse
Nope, used Metamorph. Never messed with Ninjamorph.
I actually do most of the work on my phone, so no need to unzip/rezip/unzip. Once it's unzipped on my phone I write/modify the xml file and move around the images to the folders they need to be in - all using Root Explorer.
For example, yesterday I tried applying MotorJohnny's Swype morph, but it didn't work because my Swype Beta had been installed in data/app and was "com.swype.android...something.apk" instead of "Swype.apk" in the system/app. So, all that was necessary was to modify the xml file to the correct filepath, folders, and apk name. Voila, worked like a charm. (well, the morph did...the buttons were a little screwed up having applied to to Swype beta haha): http://forum.xda-developers.com/showpost.php?p=13670377&postcount=42
How do you change .xml files on your phone. I didn't think it was poss to decompile and recompile .xml's on a device.....?
Sent from my SCH-I500 using XDA App
GrainOsand said:
How do you change .xml files on your phone. I didn't think it was poss to decompile and recompile .xml's on a device.....?
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
You can rewrite without decompiling.....i use an app called "silveredit"....you can also use a simple text editor on your pc like "edit pad"
Sent from my pocket rocket!!
Any success morphing an apk in data/app Topshelf?
Sent from my Vibrant using XDA App
bnielsen40 said:
Any success morphing an apk in data/app Topshelf?
Sent from my Vibrant using XDA App
Click to expand...
Click to collapse
i have not tried, but i can confirm that i just successfully morphed a third-party app installed to /system/app
TopShelf10 said:
You can rewrite without decompiling.....i use an app called "silveredit"....you can also use a simple text editor on your pc like "edit pad"
Sent from my pocket rocket!!
Click to expand...
Click to collapse
Yeah Top, I know you can use note pad, but im very curious how you edit xml.s without a pc. I have ported whole themes using ninjamorph and zip themer but any xml I had to edit had to be done on my comp. Even if I used ninjamorph to extract the .xml, I could never edit it on phone alone. The Xml would just look like garbled code...i will check out silveredit tho.....If you get a chance check out Xml engine..just search in market It looks promising but is still in alpha....thanks
Sent from my SCH-I500 using XDA App
I have changed market apps with ninja morph. You need signaptic from the market to resign it when your done. There os a bit of w down side to it but it works well.
Sent from my SGH-T959 using XDA App
gunked said:
I have changed market apps with ninja morph. You need signaptic from the market to resign it when your done. There os a bit of w down side to it but it works well.
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
Yup, I talked about this earlier in the thread
Sent from my pocket rocket!!
I was just gonna say that.. or use ZIPsigner2. its free on the market to sign the apk when finished
Annex1 said:
I was just gonna say that.. or use ZIPsigner2. its free on the market to sign the apk when finished
Click to expand...
Click to collapse
Or get ahold of a metamorph zip. Prefferable a whole theme zip. You want the control file.....now rename the zip to .apk using root explorer, then use ninjamorph to decompile your new .apk file and delete everything in it except the .xml control file. Now take your new .png files and add them to the decompiled .apk in the correct folder or you may move whole folders if you like. After you have all your files in place use ninjamorph to recompile but dont choose to replace exsisting. Just hit no. this will leave your .apk in the workspace folder of ninjamorph. Go into root explorer and rename it back to .zip and move it to root of sd. Now go into zip themer and choose that zip file. Now change the output to /sd/whatever.zip, now hit build. Zip themer will build you a CWM flashable zip with all the mods for whatever apk.s you included using the exsisting files on your phone....not the easiest way and I wouldnt reccommend it just to theme 1 app. But if you want to theme multiple apk.s, even the ones ninjamorph cant theme like Swype and apps in data folder It works flawlessly....sounds like alot but literally takes 5min using root exp to move whole groups of .pngs instead of 1 at a time with ninjamorph and this can all be done without a computer.
Sent from my SCH-I500 using XDA App

[Q] (REQUEST) Dock Mode .apk

Can someone point me in the direction of, or provide for me an installable .apk file for DockMode 2.1.21? Somehow my Titanium Backup of that is corrupt or not allowing me to restore. And the ROM Im using has removed it.
I dont think this is an inappropriate request, but if it is by all means remove the post.
http://db.tt/eTyjYdu
Feel free to try that this is my first time pulling and uploading an apk so please let me know if I did it right
Sent from my PG86100 using XDA App
Mrdiaz09 said:
http://db.tt/eTyjYdu
Feel free to try that this is my first time pulling and uploading an apk so please let me know if I did it right
Sent from my PG86100 using XDA App
Click to expand...
Click to collapse
Thank you very much for the effort. I attempted to install it via apk installer, root explorer and ES File Explorer and it will not install. Using Root Explorer gets me a parsing error, and the other two installers simply fail to install.
I'll try again tomorrow if someone else hasn't.
Sent from my PG86100 using XDA App
Whats this apk for ? is it differnt docks or what?
This is the stock Android application that automatically starts when the phone is placed in a desktop dock.
Thanks again...
Anyone else??? Since most of these ROMS have this pulled out, there has to be someone who knows how to make the .apk installable.
Pretty please, willing to buy you a beverage of your choice if you can help me out.

Privacy protection for your DX2!

What is it? Okay, well kenjesse put it best with this description : " Pdroid is an app that lets you modify permissions app by app with out breaking them. You also have the option of "spoofing" the permissions by sending randomly generate data rather than your phones actual sim, meid, phone #, etc.
As the app does not need to run constantly in the back ground it has virtually no impact on battery.
To check out the original thread:
http://forum.xda-developers.com/showthread.php?p=19570074
On the next page of this thread I have posted the patch zip necessary to install the pdroid app on CM7 for DX2 only!!! I will make patch zips for other roms upon request but it can be done easily by following kenjesse's instructions below. After flashing the zip just download and install pdroid from the play store ......viola! Thanks for stopping by and happy flashing!
Looks like a pretty cool program. I've read other post that reference making changes like this, always wondered how. Wonder if this is one way, I'd assume there are other ways too.
Sent from my MB870 using XDA
Disregard this comment.
Sent from my MB870 using XDA
Ohschit said:
I've been trying to get this working on my phone for a while but apparently I'm too stupid.
Sent from my MB870 using XDA
This would help:
http://forum.xda-developers.com/showthread.php?t=1357056
[APP] PDroid - The Better Privacy Protection [2012-03-13: Bugfixes in Patch 1.3]
Click to expand...
Click to collapse
Just got done installing this and it seems to be working great. I'm running CM7 with no special tweaks other than Moon Shadows wifi fix, following instructions from op here:
http://forum.xda-developers.com/showthread.php?t=1357056
this is what I did:
1. DL Pdroid Patcher zip to PC (Win7 in my case)
2. Extract Pdroid Patcher exe file and run
3. Browse to update-cm-7.2.0.-RCO-daytona-KANG-public-beta1.zip (cm7 ROM) and select.
4. Click "Patch" (program takes about 2 minutes to create required patch zip file as well as restore file if you choose to uninstall Pdroid later)
5. copy the 2 created zip files (PDroid-v1.31-update-cm-7.2.0-RCO-daytona-KANG-public-beta1.zip & PDroid-RESTORE-update-cm-7.2.0-RCO-daytona-KANG-public-beta1.zip) to your external SD Card
6. Boot in our BSR BACKUP...BACKUP DO A NANDROID BACKUP!!!!
7. Flash the PDroid zip file
8. I did not wipe anything as it is not stated to do so in the OP install instruction... I did flash cm7 reRecovery before I rebooted just to be safe.
9. Reboot your phone, go to market and install Pdroid.
I tested by removing several permissions for my Fox News app which doing thru cm7 causes the app to break, using PDroid the app still worked. Not sure how to test beyond that.
I did notice that the reboot stayed on the cm7 animation for a while before the phone came back up as if a dalvik wipe had been done.
Hope this helps and if you break it it's your fault not mine and remember...BACKUP
You are awesome! Thank you very much for giving this attention, I can't wait to follow the steps you've listed when I get home. Thanks again
Sent from my MB870 using XDA
Quick update... there is a setting in the app to display anytime an app request access to private data. With this turned on it shows access being denied to my Fox News app and the app runs fine. This really is an awesome app.
Ohschit said:
You are awesome! Thank you very much for giving this attention, I can't wait to follow the steps you've listed when I get home. Thanks again
Sent from my MB870 using XDA
Click to expand...
Click to collapse
No worries... Let us know if you get it working.
Sent via Tapatalk on my CM7'ed DX2
kenjesse said:
No worries... Let us know if you get it working.
Sent via Tapatalk on my CM7'ed DX2
Click to expand...
Click to collapse
Worked great! I had a feeling that this was going to be worth it. Your right, it is a cool app!
What is it?
whoa look at that....
king..kranium said:
What is it?
whoa look at that....
Click to expand...
Click to collapse
He probably should update the op title. Pdroid is an app that lets you modify permissions app by app with out breaking them. You also have the option of "spoofing" the permissions by sending randomly generate data rather than your phones actual sim, meid, phone #, etc.
As the app dose not need to run constantly in the back ground it has virtually no impact on battery.
I highly recommend it, for what that is worth. Check it out at:
http://forum.xda-developers.com/showthread.php?p=19570074
Sent via Tapatalk on my CM7'ed DX2
kenjesse said:
He probably should update the op title. Pdroid is an app that lets you modify permissions app by app with out breaking them. You also have the option of "spoofing" the permissions by sending randomly generate data rather than your phones actual sim, meid, phone #, etc.
As the app dose not need to run constantly in the back ground it has virtually no impact on battery.
I highly recommend it, for what that is worth. Check it out at:
http://forum.xda-developers.com/showthread.php?p=19570074
Sent via Tapatalk on my CM7'ed DX2
Click to expand...
Click to collapse
Beautifully put. Hey, I would update the op title but it's not letting me from the mobile app. I will later when I'm on my laptop.
Hey, how did you spoof the permissions? Don't see that option within the settings. I just see symbols without descriptions (gear, bar graph, check, ect...)?
Just to add, I don't know if it's just in my head or not but I feel like my phone is moving way faster After changing all the permissions that I did.
........and last, I'm going to post the patch zip file for cm7 dx2 when I get home so all anyone needs to do is flash it and download pdroid from the market (Google play (stupid name)....whatever). Okay all done.
Sent from my MB870 using XDA
Settings options are:
Check = allow
Graph = random spoof
Gear= set the spoof value
Slashed Circle= block
And then there is a check box in the top right corner to enable notifications for just that app.
Sent via Tapatalk on my CM7'ed DX2
Okay, here are the zips. Just flash the first of the 2 zips in CM7 recovery and then install the Pdroid app. The second zip is just to restore. I'm not responsible if you break your phone...blah blah blah.....THIS IS ONLY FOR CM7DX2 (but if anyone wants I will make zips for any rom on dx2, just ask.)!
View attachment PDroid-v1.32-CM7DX2.zip
View attachment PDroid-RESTORE-CM7DX2.zip
Thanks for the help Kenjesse!
So please help me clarify what setting should I set the apps to? Also do I need to do them one at a time or can I do it by batch?
Okay, what I have been doing is blocking ALL permissions for any given app and then trying to run it. I then look for any error messages and go back and enable only those specific permissions to allow the app to function properly. You'll get a system once you use it a bit. .....and unfortunately there is no batch function. It is a very cool app though once you play with it and definitely enable the function where you can see it blocking and granting permissions. It's pretty cool!
........and someone please tell me how to change the title of this post please
Sent using XDA app from my abandoned DX2 running CM7. In dragonzkiller we trust ;p
Ohschit said:
Okay, what I have been doing is blocking ALL permissions for any given app and then trying to run it. I then look for any error messages and go back and enable only those specific permissions to allow the app to function properly. You'll get a system once you use it a bit. .....and unfortunately there is no batch function. It is a very cool app though once you play with it and definitely enable the function where you can see it blocking and granting permissions. It's pretty cool!
........and someone please tell me how to change the title of this post please
Sent using XDA app from my abandoned DX2 running CM7. In dragonzkiller we trust ;p
Click to expand...
Click to collapse
Thanks got it running I will slowly work through my apps and see what all I can dissable without having problems. I love the idea thanks guys!
so the second zip p restore is to get rid of it?
Xb0i said:
so the second zip p restore is to get rid of it?
Click to expand...
Click to collapse
Flashing The update zip makes the required changes for the app Pdroid that you get from the market to run properly with the cm7 ROM. IT WILL ONLY WORK IF YOU ARE ON CM7. If you later uninstall Pdroid you flash the restore zip to remove the changes made by the update zip.
I believe it is done this way so the app can work without root permission and therefore doesn't have to run in the background....I could be wrong though and as with any mod you should go to the linked thread above and research it for yourself.
Sent via Tapatalk on my CM7'ed DX2
To edit, go to your 1st post tap anywhere and a popup will appear, select modify, Tap anywhere in the title area and edit.
Sent via Tapatalk on my CM7'ed DX2
kenjesse said:
To edit, go to your 1st post tap anywhere and a popup will appear, select modify, Tap anywhere in the title area and edit.
Sent via Tapatalk on my CM7'ed DX2
Click to expand...
Click to collapse
Thank you.
Sent using XDA app from my abandoned DX2 running CM7. In dragonzkiller we trust ;p

Decompiling an app

I ask a question on your site several weeks ago about the default messaging app on Samsung Galaxy s2 aokp jelly bean. It seems that if someone sends me a picture with text the picture covers to text and I can't read it. I asked if there was any way to correct it and below is the answer I got. I am sorry to disagree with whoever posted this however that is not a simple fix. I have Google and look for how to decompile a app and I am unable to find a app to edit a apk file. I am NOT asking for a step by step but surely someone can recommend an app I can download that would allow me to open the MMS app and edit it. Once again this is not a simple fix perhaps it is for you but it is not for me thank you for your time
This is a simple issue that the user can fix. Just have to decompile the apk and adjust the spacing. A search would have saved you opening a new thread.
Thread closed.
Sent from my SGH-I777 using xda app-developers app
lishron said:
I ask a question on your site several weeks ago about the default messaging app on Samsung Galaxy s2 aokp jelly bean. It seems that if someone sends me a picture with text the picture covers to text and I can't read it. I asked if there was any way to correct it and below is the answer I got. I am sorry to disagree with whoever posted this however that is not a simple fix. I have Google and look for how to decompile a app and I am unable to find a app to edit a apk file. I am NOT asking for a step by step but surely someone can recommend an app I can download that would allow me to open the MMS app and edit it. Once again this is not a simple fix perhaps it is for you but it is not for me thank you for your time
This is a simple issue that the user can fix. Just have to decompile the apk and adjust the spacing. A search would have saved you opening a new thread.
Thread closed.
Sent from my SGH-I777 using xda app-developers app
Click to expand...
Click to collapse
If you search xda or google you will find plenty of tools that will do that for you.
I really do appreciate all the hard work that xda developers do. I do not like posting on here because I know your time is important but I also don't want to feel belittled. Have searched your site perhaps I'm poor at searching. Is there an app you would suggest that I could download to my phone or Android tablet to edit apk file. Thanks so much
Sent from my SGH-I777 using xda app-developers app
lishron said:
I really do appreciate all the hard work that xda developers do. I do not like posting on here because I know your time is important but I also don't want to feel belittled. Have searched your site perhaps I'm poor at searching. Is there an app you would suggest that I could download to my phone or Android tablet to edit apk file. Thanks so much
Sent from my SGH-I777 using xda app-developers app
Click to expand...
Click to collapse
Apktool, the app by virtuous team, and i think apk manager
Sent by from my Zanpakuto using Getsuga Tensho!
Thanks so much however after posting this I updated to the newest aokp and the issue is resolved. It does still have the sender's name overlapping the date but not the picture overlapping the message. Thanks so much and I will still try the suggested APK editor.
Sent from my SGH-I777 using xda app-developers app
Go check out the Android development guide by Google, you can get several tools to decompile an apk. As well as .dex file
Sent from my SGH-I777 using Tapatalk 2
I agree that response was pretty rude. I'm guessing they were trying to scare you away rather than giving advice on next steps. That if you don't know how to do what they said you'd leave it to those that do know how.
But on to your original question...
Wikipedia's location for APK format (can't post link as I'm too new) says that the file is just a ZIP file (or JAR file). So likely 7-zip or your favorite program that can open ZIP's/JAR's will work. You might have to rename the extension to .ZIP or .JAR for the program to recognize it.
Nobody was being rude. We told him to search and that there are plenty of resources already available to him. Nothing wrong with that. Good luck and happy flashing.
The post was mine and it was not rude in the least. The information for what you need to do is posted. Has been for a few years now. Ever since people started doing customs themes. You will not be able to do this without a computer. All you have to do is decompile the apk, find the XML that displays the mms message and adjust the spacing by a few pixels. And then recompile the apk. There are tut all over the place on how to do this
You may have to be creative in your searches to be lead where you need to go but that is part of the learning that android requires. Sometimes you need to think outside the box to get the outcome you desire.
Batcom2
OneOfMany07 said:
I agree that response was pretty rude. I'm guessing they were trying to scare you away rather than giving advice on next steps. That if you don't know how to do what they said you'd leave it to those that do know how.
But on to your original question...
Wikipedia's location for APK format (can't post link as I'm too new) says that the file is just a ZIP file (or JAR file). So likely 7-zip or your favorite program that can open ZIP's/JAR's will work. You might have to rename the extension to .ZIP or .JAR for the program to recognize it.
Click to expand...
Click to collapse
This only works for 35% of the apk as the XML files are encrypted until decompiled as are the .9 pngs
Batcom2

Adding apps to flashable files

So if I want to add apps like the note2 gallery to my port do I just put it in the app file zip it up and sign it?
Sent from my SGH-T959 using xda app-developers app
Hey skinzy98, real quick, just wanted to let you know that your work in the development sub-forum is greatly appreciated. Keep up the good work! :thumbup:
Now to answer your question. If you're planning to inject an app into a ROM, then you can accomplish this by placing the .apk into the system/app directory inside your ROMNAME.zip, and that's it (assuming the ROM sets recursive permissions to the entire system/app directory). This would result in your injected app being installed as a system app. However, if you want it to be installed as a data app... Well, it's gonna' be a little more involved. For what you plan to do, installing it as a system app would probably be best anyhow. Good luck, and let me know if you need any help/have any questions. Always glad to help a bro out when I can.
Sent from my SGH-T959
N00B_IN_N33D said:
Hey skinzy98, real quick, just wanted to let you know that your work in the development sub-forum is greatly appreciated. Keep up the good work! :thumbup:
Now to answer your question. If you're planning to inject an app into a ROM, then you can accomplish this by placing the .apk into the system/app directory inside your ROMNAME.zip, and that's it (assuming the ROM sets recursive permissions to the entire system/app directory). This would result in your injected app being installed as a system app. However, if you want it to be installed as a data app... Well, it's gonna' be a little more involved. For what you plan to do, installing it as a system app would probably be best anyhow. Good luck, and let me know if you need any help/have any questions. Always glad to help a bro out when I can.
Sent from my SGH-T959
Click to expand...
Click to collapse
Thanks man that's what I thought I just didn't want to put in the builds I made yesterday and it screw em all up so I figured I'd ask
Sent from my GT-I9000 using xda app-developers app
skinzy98 said:
So if I want to add apps like the note2 gallery to my port do I just put it in the app file zip it up and sign it?
Sent from my SGH-T959 using xda app-developers app
Click to expand...
Click to collapse
You are going about it the right way, but beware some apps from different sources may in other files or framework.
Just fyi if you run into unexpected issues.
Good luck
PAC_Vibrant 360° Productions
jrongi1 said:
You are going about it the right way, but beware some apps from different sources may in other files or framework.
Just fyi if you run into unexpected issues.
Good luck
PAC_Vibrant 360° Productions
Click to expand...
Click to collapse
Unfortunately happen my parents are against me doing ports and think it is a waste of time. I'll see what happens
Sent from my GT-I9000 using xda app-developers app

Categories

Resources