[Q] AOKP mms.apk on Stock 4.0.4 - T-Mobile Samsung Galaxy S II SGH-T989

I know it isn't possible to copy and paste the apk from AOKP to Stock 4.0.4 rooted due to some sort of signature. My question is, how can I make it happen? Any all input of helping, non-sarcastic manner will be much appreciated.

If your trying to transfer the AOKP version of MMS app to the stock 4.0.4 then you better make sure that they are compatible!!
Certain apps need certain things in the ROM system to run it. And the stock may not have that. You could try it though (its not gonna hurt your phone) it just will probably force close. If you want to know how to get it then this his how!
Step 1: Get apk file!
Step 2: Connect phone to computer
Step 3: Transfer APK to phone
Step 4: Disconnect phone
Step 5: Open ES File Manager (Get if from Play Store if you don't have it)
Step 6: Find your apk (make sure Unknown sources is enabled)
Step 7: Install it!
And thats it. I hope this helps out a lot!!

Cant be done. You can push it to system/app fix permissions but will not send the text. FC after.. Opening it, going to settings works but not sending. It relies on framework i believe.. Neither cm or aokp mms.apk wont work.. You could use the market ones but one has ads and the other mms is broken..

noodles2224 said:
Cant be done. You can push it to system/app fix permissions but will not send the text. FC after.. Opening it, going to settings works but not sending. It relies on framework i believe.. Neither cm or aokp mms.apk wont work.. You could use the market ones but one has ads and the other mms is broken..
Click to expand...
Click to collapse
Correct... due to framework restrictions it will not work properly but quite sure you can find a ROM with AOSP parts that's stock based
Sent from my SGH-T989 using Tapatalk 2

playya said:
Correct... due to framework restrictions it will not work properly but quite sure you can find a ROM with AOSP parts that's stock based
Sent from my SGH-T989 using Tapatalk 2
Click to expand...
Click to collapse
Interesting, so it can work if you find THE ROM?? which one?

Related

[GUIDE] Replace HTC Messaging App With Vanilla Messaging App [Easy]

(BackStory)
This is how I installed the Vanilla Mms App on my G2 Running Desire Z ROM. No risk if you back up your ROM using ROM Manger,
there are many guides on how to do this.
THIS WORKS ON ANY ROM​
Hey guys! I was just looking at the "HTC Sense" Messaging App for the Desire Z ROM and basically I noticed.. it sucks..
Its really bulky and some parts of it don't fit on the screen... (Although the Desire Z ROM Is the GREATEST!)
I wondered if it was possible to extract the "Vanilla" Mms.apk and install it on the Desire Z ROM... So I booted up Vanilla on my G2 and did the work.
This IS possbile! And It works GREAT!
Apps Needed:
Mms.apk (Download Link below)
Android Mate/Root Explorer/File Manager/Linda Explorer, (Pick your Favorite)
Terminal Emulator, you can alternatively use adb shell
Obviously, a rooted phone
Installation: (Fool Proof)
Download my Link Down there, Mms.apk
Plug your phone into the computer and tranfer the file on the root of your SD card
You will now be removing your Mms.apk app from your ROM; Back up if you think you're gonna mess up;
Preform A Nandroid backup using ROM MANAGER, there are many guides on doing so, find them.
Go into Terminal Emulator and type in the following:
**note in some ROMs it will be called "com.android.mms.apk" so check what the name is before you type that in**
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblk3 /system
rm /system/app/Mms.apk (or com.android.mms.apk)
If your Text messaging app is running, it probably will force close.
After uninstalling, reboot, if F/C occurs, do a simple battery pull.
When your device reboots, it should no longer have the "Messaging" app installed!
Through your favorite file manager, move "Mms.apk" to /system/app/
Now, go through the installing procedure like you would any app.
It should now be installed, reboot the phone, CONGRATULATIONS
Taddaa!! The next step is to enjoy your new Vanilla Mms on Htc Sense (or any rom)
You may tweek the app how you want; change the color through settings by pressing menu on the Messaging app.. etc..
Disclaimer, I am not the person who hurt your phone if you mess up, you are. Do a back up, nothing can be harmed unless you delete other files besides the Mms.apk.
This Mission was success!
The APK File that is attached IS Working as of NOVEMBER 21 2010; It has been fixed!!​
***ATTENTION: THANK YOU TO WHEELIEST FOR GETING A BETTER APK***
Ignore every comment that says Force/Closed, the APK Attached has been fixed and works perfectly!​
Nov/20 WORKING! Good to go!
This works Seamlessly! Everything works and It looks perfect!
*Don't Forget To Do A Battery Pull after Uninstalling and After Installing The MMS.APK
Awesome...thanks so much!!
Keeps forcing closed... had to restore backup..
wrichards2009 said:
Keeps forcing closed... had to restore backup..
Click to expand...
Click to collapse
try what OP stated?
It Force Closed my Messaging App. (If It doesn't, even better)
After Un-Installing, do a simple battery pull and reboot your phone.
When your phone starts, the Messaging app should no longer be there. Good.
Click to expand...
Click to collapse
followed directions and installed, force closes right after i send a msg. did this install right after a fresh rom install
akagoffer said:
try what OP stated?
Click to expand...
Click to collapse
the Vnilla Mms.apk keeps force closing is what he means
are you suppose to move the Vanilla Mms.apk into system/app then find it / install it either via root explorer or ADB?
Not Working?
Hey Guys! Sorry its not working for you I uninstalled it to see if it was tainted, but I can install it and send/receive messages perfectly.
As far as I know, there are no changed settings on my phone. Sorry. I don't know what can be done... Everything I did was right in the directions. Try contacting a more experienced person to this Thread to see if they know whats going on.
Sorry Again..
When you go to install the mms.apk it says that its version 2.1 android. That might be the problem.
works great
thanks alot
If you just place the mms.apk in the system/app/ folder it will work with no problems.
oh, thats right, my version is 2.2 on vanilla rom.
Working?
UnSungHERO420 said:
If you just place the mms.apk in the system/app/ folder it will work with no problems.
Click to expand...
Click to collapse
Hey, UnSungHERO, are you saying it works with MY Mms.apk and with my method?
I already have it, but can you clarify for my and all of us on how to do it?
Thanks. Did you delete the originally Mms.apk file that came with the phone? Or did you place it in the folder and overwrite it?
Does it recieve/send Sms/Mms successfully?
i tried it as it was instructed. Mms.apk installed and worked but would force close after sending and receiving texts. I deleted that apk pulled the MMS.apk from CM and that works fine. Give it a try....more options to boot
Hah, the messaging app is one of the things that I didn't like about the DesireZ Sense ROM. Oh well, I'm not happily running CM! Glad there is a way around it though, thanks for posting!
Nice that was one of the things I disliked about sense. Can this be done with the dialer/contacts
Brazildiogo732 said:
Hey, UnSungHERO, are you saying it works with MY Mms.apk and with my method?
I already have it, but can you clarify for my and all of us on how to do it?
Thanks. Did you delete the originally Mms.apk file that came with the phone? Or did you place it in the folder and overwrite it?
Does it recieve/send Sms/Mms successfully?
Click to expand...
Click to collapse
Sorry for the vague post. But yes, I was referring to your method. You should definitely delete the stock sense mms.apk beforehand. I actually haven't sent any messages since replacing the apk. I just tested it and found that the app force closes when I attempt to send messages. SMS messages are sending still with the FC and MMS are not. I'm going to try the CyanogenMod mms.apk since it was mentioned.
UnSungHERO420 said:
Sorry for the vague post. But yes, I was referring to your method. You should definitely delete the stock sense mms.apk beforehand. I actually haven't sent any messages since replacing the apk. I just tested it and found that the app force closes when I attempt to send messages. SMS messages are sending still with the FC and MMS are not. I'm going to try the CyanogenMod mms.apk since it was mentioned.
Click to expand...
Click to collapse
Um yeah I already wrote a tutorial here...
http://forum.xda-developers.com/showthread.php?t=834106
gravis86 said:
Um yeah I already wrote a tutorial here...
http://forum.xda-developers.com/showthread.php?t=834106
Click to expand...
Click to collapse
Thanks but I didn't need a tutorial. Just stating what happened with the stock android mms.apk. The CM mms.apk works fine with my sms but does not send mms .

[REQ] Could someone edit the MMS.apk and add these emoji?

I'm looking to edit the stock MMS.apk, and replace the green smileys with the real emoji that are supposed to be used.
I've tried editing the apk through apkmanager and apktool, both on a PC and mac, with no success, so I'm asking someone to do this task for me.
I have already found the correct emoji.png files, and I've put them into a folder which I am going to attach to this post. All I need [you] to do is put them into /res/drawable-xhdpi through reengineering (apkmanager/apktool)
Thanks to anyone who can do this! (I'm on the 10/5 nightly of CM10 w/ franco.kernel if that makes a difference)
yoseir2 said:
I'm looking to edit the stock MMS.apk, and replace the green smileys with the real emoji that are supposed to be used.
I've tried editing the apk through apkmanager and apktool, both on a PC and mac, with no success, so I'm asking someone to do this task for me.
I have already found the correct emoji.png files, and I've put them into a folder which I am going to attach to this post. All I need [you] to do is put them into /res/drawable-xhdpi through reengineering (apkmanager/apktool)
Thanks to anyone who can do this! (I'm on the 10/5 nightly of CM10 w/ franco.kernel if that makes a difference)
Click to expand...
Click to collapse
Not sure which version of the phone you have but this MMS has the emoji support http://forum.xda-developers.com/showthread.php?t=1745830 if you have the GSM model like me you can use the ICS version of his app (unfortunately I couldn't seem to find it just now) I believe there is a stock version of the ICS mms but I won't swear on it. The mms.apk doesn't replace the green androids that you would normally make it gives you the emoji's separatly. Even has a quick support button to get to them fast. Hope this helps you
I found this thread googling for the exact same thing. I can't stand the green emoji and after reading a few threads I finally decided to just try doing it myself. Turns out it was incredibly easy. Here is the latest mms (11/10) pulled from justunbean's inverted apps (http://forum.xda-developers.com/showthread.php?t=1797292) with the hideous green emoji replaced with the stock iphone-ish ones. Here is the apk and also a cwm flashable zip of it.
You shouldn't need to use apk manager or apk tool for images just open the apk put the images where they go and make sure they are named correctly.
Sent from my Galaxy Nexus using xda premium
Beamer9408 said:
You shouldn't need to use apk manager or apk tool for images just open the apk put the images where they go and make sure they are named correctly.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Yup, thats all I did was open the apk with 7-zip and dropped in the images from an older version.
cicatriz63 said:
I found this thread googling for the exact same thing. I can't stand the green emoji and after reading a few threads I finally decided to just try doing it myself. Turns out it was incredibly easy. Here is the latest mms (11/10) pulled from justunbean's inverted apps (http://forum.xda-developers.com/showthread.php?t=1797292) with the hideous green emoji replaced with the stock iphone-ish ones. Here is the apk and also a cwm flashable zip of it.
Click to expand...
Click to collapse
Thanks for this man, was looking for something like that and your link just fit the bill
cicatriz63 said:
I found this thread googling for the exact same thing. I can't stand the green emoji and after reading a few threads I finally decided to just try doing it myself. Turns out it was incredibly easy. Here is the latest mms (11/10) pulled from justunbean's inverted apps (http://forum.xda-developers.com/showthread.php?t=1797292) with the hideous green emoji replaced with the stock iphone-ish ones. Here is the apk and also a cwm flashable zip of it.
Click to expand...
Click to collapse
Wow. Very nice. But I really hate the inverted MMS (to each his own), and you said it was very simple to do, but I spent 1-2 hours on it and could not get it to work properly, so do you think you could do the same with the stock MMS.
MMS.apk attached, from the CM10 nightly that I'm running (11/5 I believe)
yoseir2 said:
Wow. Very nice. But I really hate the inverted MMS (to each his own), and you said it was very simple to do, but I spent 1-2 hours on it and could not get it to work properly, so do you think you could do the same with the stock MMS.
MMS.apk attached, from the CM10 nightly that I'm running (11/5 I believe)
Click to expand...
Click to collapse
Here you go..takes about 3 seconds now that I figured out what to do. For anyone curious you just right click the .apk and open it with 7zip, browse to \res\drawable-xhdpi\ and select all of the files that start with emoji_ and delete them then just drag the ones you want in. The ones I used were from an older apk so all the names were the same, just extract the good ones and drop them into the apk with 7zip.
cicatriz63 said:
Here you go..takes about 3 seconds now that I figured out what to do. For anyone curious you just right click the .apk and open it with 7zip, browse to \res\drawable-xhdpi\ and select all of the files that start with emoji_ and delete them then just drag the ones you want in. The ones I used were from an older apk so all the names were the same, just extract the good ones and drop them into the apk with 7zip.
Click to expand...
Click to collapse
Yeah.... I'm on a mac... And I can't seem to find an application that replicates these features.
cicatriz63 said:
Here you go..takes about 3 seconds now that I figured out what to do. For anyone curious you just right click the .apk and open it with 7zip, browse to \res\drawable-xhdpi\ and select all of the files that start with emoji_ and delete them then just drag the ones you want in. The ones I used were from an older apk so all the names were the same, just extract the good ones and drop them into the apk with 7zip.
Click to expand...
Click to collapse
Hmm.. I seem to be having trouble. I've tried replacing my MMS.apk in system/app with both of the .apk files you have posted, but both times, the MMS.apk app disappears, and when I click on it to attempt to install it, I get an error with parsing the package.
Also, I tried flashing your invertedmms.zip, which didn't work and I also used an empty flashable with the non-inverted themed apk file you posted, which also didn't work. I'm going to play around with it a little more to try and find something that does work.
EDIT: I finally got it to work, just had to sign the apk.
***Unfortunately, the apk you had uploaded the 2nd time was actually the same one you uploaded the first time... The inverted one...***
EDIT 2: NVM. Used apk manager to extract/zip/change back to apk, and I successfully have an MMS.apk with all iOS emoji (still lacking the iOS 6 emoji, which will be my next project)
yoseir2 said:
Hmm.. I seem to be having trouble. I've tried replacing my MMS.apk in system/app with both of the .apk files you have posted, but both times, the MMS.apk app disappears, and when I click on it to attempt to install it, I get an error with parsing the package.
Also, I tried flashing your invertedmms.zip, which didn't work and I also used an empty flashable with the non-inverted themed apk file you posted, which also didn't work. I'm going to play around with it a little more to try and find something that does work.
Click to expand...
Click to collapse
You can't simply install system apps. Try placing it in system/app, making sure it's named correctly (and that the old one is named something different or deleted), setting permissions to rw-r-r, and rebooting. If that doesn't work, there's probably some ROM incompatibility.
dirtygoldfish said:
You can't simply install system apps. Try placing it in system/app, making sure it's named correctly (and that the old one is named something different or deleted), setting permissions to rw-r-r, and rebooting. If that doesn't work, there's probably some ROM incompatibility.
Click to expand...
Click to collapse
Not sure how mine worked then.
What my process was:
1. Download nightly build of CM10 (same version as one running on my phone)
2. Extract .zip file of CM10 rom, and find MMS.apk
3. Using APK Manager, extract apk file.
4. Replace emoji files in drawable-xhdpi as needed.
5. Zip apk using apk manager (now have unsigned-mms.apk)
6. Using this tool I signed the apk file.
7. Use bluetooth and send "unsigned-mms-signed.apk" to phone.
8. Install app from solid explorer.
9. Insert emojis as needed.
yoseir2 said:
Not sure how mine worked then.
What my process was:
1. Download nightly build of CM10 (same version as one running on my phone)
2. Extract .zip file of CM10 rom, and find MMS.apk
3. Using APK Manager, extract apk file.
4. Replace emoji files in drawable-xhdpi as needed.
5. Zip apk using apk manager (now have unsigned-mms.apk)
6. Using this tool I signed the apk file.
7. Use bluetooth and send "unsigned-mms-signed.apk" to phone.
8. Install app from solid explorer.
9. Insert emojis as needed.
Click to expand...
Click to collapse
That sounds a lot more complicated than necessary, but hey, if you got it working then that's that.
dirtygoldfish said:
That sounds a lot more complicated than necessary, but hey, if you got it working then that's that.
Click to expand...
Click to collapse
Yup. So I found that rebooting took it away, so I just took my apk that I found that was working after an install and dragged it into /system/app and renamed it to mms.apk
Is anyone interested in me making this an (un)official release in themes&apps?
yoseir2 said:
Hmm.. I seem to be having trouble. I've tried replacing my MMS.apk in system/app with both of the .apk files you have posted, but both times, the MMS.apk app disappears, and when I click on it to attempt to install it, I get an error with parsing the package.
Also, I tried flashing your invertedmms.zip, which didn't work and I also used an empty flashable with the non-inverted themed apk file you posted, which also didn't work. I'm going to play around with it a little more to try and find something that does work.
EDIT: I finally got it to work, just had to sign the apk.
***Unfortunately, the apk you had uploaded the 2nd time was actually the same one you uploaded the first time... The inverted one...***
EDIT 2: NVM. Used apk manager to extract/zip/change back to apk, and I successfully have an MMS.apk with all iOS emoji (still lacking the iOS 6 emoji, which will be my next project)
Click to expand...
Click to collapse
Doh you're right. I updated that post with the correct apk.
yoseir2 said:
EDIT 2: NVM. Used apk manager to extract/zip/change back to apk, and I successfully have an MMS.apk with all iOS emoji (still lacking the iOS 6 emoji, which will be my next project)
Click to expand...
Click to collapse
Any updates getting the iOS 6 emoji added?
I just added the emojis (not iOS6 ones) to the cm10.1 MMS. If anyone wants it I have it on Dropbox.
http://db.tt/YiCwxSA2
Sent from my SGH-T999
sing1gnis said:
Any updates getting the iOS 6 emoji added?
Click to expand...
Click to collapse
I'm not sure how I would do this, because I think you need to add some things to the arrays.xml, because when I looked there the code had something along the lines that was
If character=xxxxxxxxxxxxxxxx, then emoji=yyyyyyyyyyyyyyyyy
or something like that
I'm not sure where I would find those values for the iOS6 emoji, but if someone knows how to do this, I will gladly go through the handcent emoji extension and find all the new iOS6 emoji for you and give them to you in a .zip.
I'm another dude that hates those green little creatures...I wanted some normal smileys , the basic ones not the extra emojis, and none of the apk in this thread did it for me...so I made one: it is stock with the green smileys replaced with the HTC ones ,the ones used in this post http://forum.xda-developers.com/showthread.php?p=40647802#post40647802 .

AOSP Browser inside (with sync)

Posting stock aosp browser that works with S4 (to me works better then Samsung and Chrome browsers). Move apk to system/app and fix permissions
Use this file along with above if you want your Browser.apk to sync with Chome desktop (dont forget to check sync in settings)
Thanks in advance for your help
I hate to sound I extremely noobish but how do you fix permissions?
Sent From My T-Mobile Galaxy S4
aLdaRiS said:
I hate to sound I extremely noobish but how do you fix permissions?
Sent From My T-Mobile Galaxy S4
Click to expand...
Click to collapse
Try without fixing, most likely will work too. I use Root Explorer app to move files and fix permisions. You do need to be rooted.
I've tried moving both files to /system/app and fixing permissions. When trying to launch browser it crashes. I tried both manually fixing permissions in root browser, and trying to fix permissions in recovery. Permissions match that of all the other apps that appear to be in /system/app directory.
I really like the AOSP browser so I'm willing to try other things to get this working. Do you think you could get both files into a flashable zip we could flash from recovery?
I will try to build one myself to see if I can get it working that way.
Follow the directions from this post....
http://forum.xda-developers.com/showthread.php?p=41283596
Haven't had any luck getting flash working on this browser, though.
Sent from my SGH-M919 using xda premium
Made a flashable zip that got it installed. Bookmarks don't appear to be syncing for me, but then again I really don't use chrome to have anything to sync. Someone want to confirm if that's working?
** Disclaimer Begin **
I'm not a DEV in any way, I just tinker with things. I take no responsibility for what this does or doesn't do to your device. I've tested this on my device, and can confirm it works, however I'm not perfect at these things. Flash at your own risk. As always make a backup first!
** Disclaimer END **
As always make a backup first!
Zip is attached. Following along what they said in that other post.
Find and rename the following apk(inside the /system/app folder): BrowserProviderProxy.apk to BrowserProviderProxy.apk11 (or anything else really).
Do that before you install the zip file.
Just reboot to recovery and flash the zip.
*credits*
kolyan - posting working files
Lantek23 - Used the update-binary and modified the updater-script from Blue Jelly Bean 1.0 theme as a refrence
BigSK225 - linking to that post with info
anyone I missed
Dont know what you guys are doing wrong. I am not a dev. I just moved those 2 files to /system/app/ and I have AOSP Browser and sync works fine (i am rooted on latest firmware by the way)
ps. also moved AOSP Keyboard with Dictionaries and it also works fine
Got sync for bookmarks to work. Forgot to check sync in settings. I think just moving the files probably would have worked if I had renamed the BrowserProviderProxy.apk in /system/app to begin with, but I had already started making the flashable zip. I figure it will be useful to someone at some point.
Thanks for the flashable zip I couldn't get it to work any other way.
My only question is why can I not rearrange my bookmarks? When I'm in the bookmark screen the menu button doesn't give me any options and long pressing on them doesn't give me the option to reorder them.
Toastalator said:
Thanks for the flashable zip I couldn't get it to work any other way.
My only question is why can I not rearrange my bookmarks? When I'm in the bookmark screen the menu button doesn't give me any options and long pressing on them doesn't give me the option to reorder them.
Click to expand...
Click to collapse
Sorry, I assume that there is some way to order them somehow, but I've never been able to figure that out.
well ****;
after flashing your browser apk;
every timei boot into android, i get this:
(pic attached)
any ideas ?
Rename BrowserProviderProxy.apk. That fixed that error for me.
thehothit said:
Rename BrowserProviderProxy.apk. That fixed that error for me.
Click to expand...
Click to collapse
this worked. :good:
anyone has an apk of the flashplayer to reinstall ?

[Q] sms app

I had the original optimus g on att and had been running a leaked version of 4.1.2 and was able to get an aosp version of the mms.apk to run (didnt like the one on the rom, no emojis haha) and since this is running 4.1.2, would it be possible to swap in that same mms app if i root the decive? If anyone braver than me wants to give it a try i still have the mms.apk i had on my OG. Or possibly root, install tb and then freeze stock/restore backup of mms.apk? If anyone has done this already then awesome, if not maybe ill do it this weekend (became a bit of a flash-o-holic with my OG so i cant wait for someone to tear into this and get some nice roms loaded
vinniemac84 said:
I had the original optimus g on att and had been running a leaked version of 4.1.2 and was able to get an aosp version of the mms.apk to run (didnt like the one on the rom, no emojis haha) and since this is running 4.1.2, would it be possible to swap in that same mms app if i root the decive? If anyone braver than me wants to give it a try i still have the mms.apk i had on my OG. Or possibly root, install tb and then freeze stock/restore backup of mms.apk? If anyone has done this already then awesome, if not maybe ill do it this weekend (became a bit of a flash-o-holic with my OG so i cant wait for someone to tear into this and get some nice roms loaded
Click to expand...
Click to collapse
You can install the MMS.apk as a user app and not a system app. Makes it quite a bit less risky. If it causes problems you can just uninstall it.
whenever i try to install it it keeps saying its a system app and then fails cuz it says there is an app with a conflicting signature. is there a special way to install it as a user app instead of system or does it all depend on the apk?
I was messing around with this the day after I first got mine. Since they have the same signature, you can't install both at the same time. The only way that I would suggest doing this safely is to be rooted, set the system\app folder to read/write, rename the UniMessagebin.apk to UniMessagebin.apk.bak, then rename UniMessagebin.odex to UniMessagebin.odex.bak. Copy your mms.apk file to the system\app folder and rename it to UniMessagebin.apk then set permission on it to -rw-r--r--. Then set you system\app folder permissions back to rwxr-xr-x.
You should NOT need to reboot at this point. If the apk is valid and will work the the current system framework, you should see it show up in your app drawer. I was able to get the AOSP 4.1.2 mms.apk to run ok on my phone, but MMS messages weren't working (apparently a known issue with 4.1.2 AOSP). If the apk force closes or doesn't show up as valid, go and delete it from your system\app folder and rename the other two files back to their original names before you attempt to reboot.
Good luck!
i actually found one that worked but didnt have the popup like i had on my original og and the stock one on pro has it...plus the notifications didnt work at all...only reason i knew i had msgs waiting was cuz i happened to open the app...thankfully gf knows wat a geek i am and believed me when i told her haha. back to hunting i guess...thanks for all the help
and then i came across this one...so far has everything i wanted and a dark theme too http://bit.ly/125siHO lets see if notifications work...sux being the only night owl i know haha

[Request] Secret Flag Modified Google Search Apk

Question is, can someone modify the apk as below???
http://www.androidpolice.com/2013/0...-enable-voice-prompt-in-search-results-video/
Turns out, there's a secret flag within Search that lets you use the hotword, set by default to 'Google,' anywhere in search results instead of just the home Activity. By default, Search will let you say "Google" to activate voice input only in the main Search screen, after which you'd have to tap the Back button in order to use it again. It's nice, but it's not very fluid, as you have to keep touching your device.
The secret flag enables it in search results, so you can perform search after search after search without ever touching your phone or tablet.
As for the technical details, the flag is located in res/values/bools and is called hotword_from_results. To activate it, one would flip it from false to true, like so:
<bool name="hotword_from_results">true</bool>
Sent from my Nexus 4 using xda app-developers app
Wezi said:
Question is, can someone modify the apk as below???
http://www.androidpolice.com/2013/0...-enable-voice-prompt-in-search-results-video/
Turns out, there's a secret flag within Search that lets you use the hotword, set by default to 'Google,' anywhere in search results instead of just the home Activity. By default, Search will let you say "Google" to activate voice input only in the main Search screen, after which you'd have to tap the Back button in order to use it again. It's nice, but it's not very fluid, as you have to keep touching your device.
The secret flag enables it in search results, so you can perform search after search after search without ever touching your phone or tablet.
As for the technical details, the flag is located in res/values/bools and is called hotword_from_results. To activate it, one would flip it from false to true, like so:
<bool name="hotword_from_results">true</bool>
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
I decompiled, made the above changes, recompiled with no errors, and got it to install but it force closes every time i try to open it. Maybe someone else can provide some insight. I used AutoAPKTool to make the edits
Cans someone resolve this? I'd do it myself but having tons of trouble getting my device to show on adb (after many tries, different methods)
I tried to make an Xposed module to patch it on the fly, but it is not working:
Code:
resparam.res.setReplacement("com.google.android.googlequicksearchbox", "boolean", "hotword_from_results", true);
upon starting the module, I get "Resource$NotFoundException", I tried other forms of the setReplacement method but none worked. I am still new to Xposed, so maybe I am doing this in a wrong way, attached are the sources of the Eclipse project in case someone can make it work.
If someone have the source of google now apk i can do something
I don't know if it's available, or also can be made from decompiling and recompile
firetrap said:
If someone have the source of google now apk i can do something
I don't know if it's available, or also can be made from decompiling and recompile
Click to expand...
Click to collapse
no you dont need source, just decompile. change the value, recompile. replace it
done.
Yes I know it's just iam working right now in my app and for me it's much easier to have the source I only had to import to eclipse than playing with apk tool etc in a few hours I will do that
Sent from my Nexus 4 using xda app-developers app
firetrap said:
Yes I know it's just iam working right now in my app and for me it's much easier to have the source I only had to import to eclipse than playing with apk tool etc in a few hours I will do that
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
you dont need to import to eclipse, all you do is just decompile it and change false to true.
you're making it so complicated on your part. i already did it, going to test it now it literally takes 30-45 seconds to do.
zephiK said:
you dont need to import to eclipse, all you do is just decompile it and change false to true.
you're making it so complicated on your part. i already did it, going to test it now it literally takes 30-45 seconds to do.
Click to expand...
Click to collapse
Yes but i was in the company desktop and here i don't have acess to apktool just because my company restricts the download site as dev host rapid share etc. now at home i had decompiled changed from false to true and recompiled and signed etc etc.. so i tested and the behaviour is the same are you guys sure that it's only change to do?! i think i had all perfect if you want i can upload the "modded apk"
EDIT: it doesn't work i don't know why here is the decompiled files and its true, i recompile sign and check manifest and all ok, but after install the behavior its the same
https://mega.co.nz/#!KZlVkIgS!FVLyrUXwtI4w5NHX22u7bWMcWZpEr5-7SydfU_fYX6M
Here the recompiled file i made you can test:
https://mega.co.nz/#!yJUjmYCC!fancLR6DwIlQHxYmX9JmNzCJEPBmpLgkIFsTFw4e_jw
Maybe the guy from the "30-45" seconds have more time to debugg this
I just modded this and got it running w/o issue.
I'm on CM 10.2 so I had to do some adjusting as there was an update installed to /data/app, with the original in /system/app.
I just uninstalled the update via the Play Store, and then moved the original (for CM it's QuickSearchBox.apk to QuickSearchBox.apk.bak), and adb pushed the newly modded apk (attached), to /system/app.
After doing all that, BOOM goes the dynamite.
Works for me, YMMV.
Hotword Quick Search
JsChiSurf said:
I just modded this and got it running w/o issue.
I'm on CM 10.2 so I had to do some adjusting as there was an update installed to /data/app, with the original in /system/app.
I just uninstalled the update via the Play Store, and then moved the original (for CM it's QuickSearchBox.apk to QuickSearchBox.apk.bak), and adb pushed the newly modded apk (attached), to /system/app.
After doing all that, BOOM goes the dynamite.
Works for me, YMMV.
Hotword Quick Search
Click to expand...
Click to collapse
Any way to do this without using ADB? (Having tons of trouble getting my SGS3 to be recognized). Tried installing the apk by itself but the installation fails.
trein91 said:
Any way to do this without using ADB? (Having tons of trouble getting my SGS3 to be recognized). Tried installing the apk by itself but the installation fails.
Click to expand...
Click to collapse
Are you rooted? I needed to make this a system app, as mentioned, to avoid signature conflicts, etc.
If so, I can make a zip to install to /system/app for you. I don't think it will work (as you have discovered), if you try and install as a standard app to /data/app, which is what clicking the download link and attempting to install is doing.
JsChiSurf said:
Are you rooted? I needed to make this a system app, as mentioned, to avoid signature conflicts, etc.
If so, I can make a zip to install to /system/app for you. I don't think it will work (as you have discovered), if you try and install as a standard app to /data/app, which is what clicking the download link and attempting to install is doing.
Click to expand...
Click to collapse
Please make a flashable zip, would love to try it
Sent from my Nexus 4 using xda app-developers app
OK. So I didn't have any files in data/app so I went ahead and just made quixksearchbox a .bak, and pushed new one after renaming it and setting permissions. Its working great.
I'm on PA
Sent from my Nexus 4 using Tapatalk 4
Here's a flashable zip. Though, because it has to place the APK in the /system/ folder (partition), the zip (out of the box), is only likely to work on the Nexus 4, since mount points are going to differ by phone. Any other phone you'll have to modify the script.
As mentioned previously, if you want to try and flash, FIRST, be sure to uninstall 'Google Search' from the play store.
Since I don't think there is a way to move a file in edify, and I'm too lazy to include a shell script to run a move command, I instead delete QuickSearchBox.apk if it is in your /system/app/ folder (instead of backing it up if you want to restore later), and then copy over qs.apk (the modded version).
I restored to original, ran the above process on CM 10.2, and got the results expected / desired (i.e. the attached zip is confirmed working in my setup).
It works on PA 3.99. However you'll need to set voice to US English or it won't work.
Sent from my Nexus 4 using Tapatalk 2
Anon87 said:
It works on PA 3.99. However you'll need to set voice to US English or it won't work.
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
Would be nice if this could be activated with any language.
Is it possible by changing any other flag?
JsChiSurf said:
Are you rooted? I needed to make this a system app, as mentioned, to avoid signature conflicts, etc.
If so, I can make a zip to install to /system/app for you. I don't think it will work (as you have discovered), if you try and install as a standard app to /data/app, which is what clicking the download link and attempting to install is doing.
Click to expand...
Click to collapse
Good Afternoon,
I am getting FCs after flashing the app. I am using a stock rooted ROM
I removed Google Search< restarted the phone<verify Googgle search was removed< flashed zip<rebooted phone<open app<set up account<FCs
anyone got a suggestion to get it working,
Lento10 said:
Good Afternoon,
I am getting FCs after flashing the app. I am using a stock rooted ROM
I removed Google Search< restarted the phone<verify Googgle search was removed< flashed zip<rebooted phone<open app<set up account<FCs
anyone got a suggestion to get it working,
Click to expand...
Click to collapse
Is the ROM odexed?
jarjar124 said:
Is the ROM odexed?
Click to expand...
Click to collapse
Deodex stock rom
Sent from my Nexus 4 using XDA Premium 4 mobile app

Categories

Resources