1.29.751.12, Just want to do the menu button mod. - HTC One X

Hey guys i just got this phone today, i turned it on and got an update right away, the 1.29.751.12 one. But im just wondering, whats the best way i could stay on stock and remove that pesky menu button to get full screen apps, it would be preferred if i could somehow stay on stock and just get it, any help would be appreciated.
I am willing to unlock the bootloader/root if need be, and i know how to do that, im just wondering whats the best way to go about this while keeping things as stock as possible as they are now?
thanks so much for any help.

You can remove the menu button by modifying every apps androidmanifest.xml one at a time. You don't need root. Download astro from play store and backup your apps using it. Transfer them to your pc. Download apktool and decompile the apk-files using it. There are plenty of tutorials on how to do it. Then open the androidmanifest.xml and search for targetsdkversion or if you can't find it use the minsdkversion instead. Change the value to 14. Then recompile the apk file using apktool. You need to sign and zipalign the file before use. I prefer a tool called signare for this. Then just enjoy your menu buttonless apps. This worked for about 80% if apps I tried. Remember to use this for only the apps in which the menu button doesn't have an action or there is an in app menu button.
Sent from my HTC One X using XDA

Never seen 1.29.xxx.12 before, only .7 and .11.

Weird there's another thread in Q&A about a .12 update, but he's version number don't match yours.
Edit: 1.29.751.12 seems to be a old update.
http://forum.xda-developers.com/showthread.php?t=1667400&page=2
Sent from my HTC One X using xda premium

Related

[Q] [Request] [Theme] CM9 ICS Status Bar Icons

I'm kinda new to the whole android stuff, but I managed to get around to rooting my KF. I flashed a CM9 ICS rom and wanted to change the status bar icons, like the battery, home, back.. ect, but can't figure out how, I tried using uotkitchen but it was little help. Wondering if anyone could help me figure this out?
you dont need any tools find a rom with the right icons you want.
dont extract zip, just double click to open and navigate to.
/system/app/systemUI.apk/res/drawable-mdpi
scroll to back, menu.png etc.
open both files (your rom and the new rom) and drag and drop from one to another. if it asks you to update select yes.
this way there is no need to decompile/ recompile etc
sent from my new non bricked kindle
While I was waiting for a reply I found this forum but lost the link, but it kindle helped me out, I used zipthemer and I would flash the zip and walah! It wasn't try that simple tho, if you wanted help I could help you make a status bar.
As you see In the picture I changed the back, home, recent apps, and menu buttons as well as the battery, I had to rename the files Individually tho for the icons on the battery icon ( took forever!!) But I Could help you make one, just ask what you'd like o n it. I could do it for you?
If you give me ur email I could sent you a flashable .zip of the status bar you want?
Sent from my Kindle Fire using xda app-developers app
lovejoy777 said:
you dont need any tools find a rom with the right icons you want.
dont extract zip, just double click to open and navigate to.
/system/app/systemUI.apk/res/drawable-mdpi
scroll to back, menu.png etc.
open both files (your rom and the new rom) and drag and drop from one to another. if it asks you to update select yes.
this way there is no need to decompile/ recompile etc
sent from my new non bricked kindle
Click to expand...
Click to collapse
I was just looking at trying this myself and I dont see that exact folder in res/. Is it different for GB and ICS roms perhaps?
EDIT
Just realized this isnt in the forum I thought I was searching. I was trying to do this on my HTC sensation. Explains a lot really.

[Q] stock settings apk missing

So I recently rooted my Note 2 anddddd a few days after playing around with it (without a backup...i know...dumb me.) I am missing the settings apk so, in turn, I can't access my settings. Any one know how I can fix?
Thanks!
pakjk said:
So I recently rooted my Note 2 anddddd a few days after playing around with it (without a backup...i know...dumb me.) I am missing the settings apk so, in turn, I can't access my settings. Any one know how I can fix?
Thanks!
Click to expand...
Click to collapse
Backup your data, full wipe, reflash a stock rom. Unless someone can get you a stock titaniumbackup for the apk (which I dont even know is possible) you are out of luck I believe.
Another thing to check is to open up a stock rom's system/app folder on your computer and find the settings apk, maybe you can copy and past it into your directory with a file manager (es file manager if you need one). I've got nothing better to do right now so I will try it.
Edit: Too many settings apks. You've got to find the missing one
The second options should do it...:thumbup:
Thanks guys. Went with the first option. My next root run will come with many backups. Thanks!
Sent from my SAMSUNG-SGH-I317 using xda app-developers app

[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

Ok I jacked up my ouya.

So I'm running the latest stock 459 version rooted. I was trying to see if I could use the ouya controller as like a task bar with home, menu, back, recents.. anyway a royally effed up my Vendor_2836_Product_0001.kl somehow I got all the keys mixed up. Of course I had a backup... but it didn't seem to fix the issue. So then I was stumped. I think my backup must be screwed up too?
But wait, there's more! I was looking for an easy way to revert whatever I did. I factory reset. Big mistake. I still had play store but it seemed to keep crashing. Now I rooted again and reinstalled play store but I still can't get it to open.
So, in conclusion, I'm looking for either a copy of that .kl file that will hopefully fix my janked up ouya controller, and some pointers on how to get the play store working so I can use root browser to push it back in there, or a stock rom I can flash and start over.
Apologies for my noobishness.
Ok I found the link to stock firmware. Gonna go that route.
TwitchyEye said:
Ok I found the link to stock firmware. Gonna go that route.
Click to expand...
Click to collapse
i pm'd you the file.
make sure the permissions are correct as well when you replace it.
I made a couple of mods to the generic.kcm to have the L and R buttons function as search, app_switch, home, and power.
L1 app switch
L2 search
R1 power
R2 home
I've tested this on the latest stock it's been working fine for me for a few days. I had made a version using the y and u buttons but I noticed when using filepwn that the the app commands would overlap, but I haven't come across any other apps that have a similar issue.
Using root explorer or similar app, go to system/usr/keychars. Make a backup of your generic.kcm and paste my version in it's place. Set permissions to rw,r,r and reboot. I had trouble once, it seemed that it wasn't overwriting the default file, I just deleted it first and then pasted mine.
Hope someone finds this useful as I searched for this and couldn't find it.
Download: http://db.tt/iGTuboYn

Visual Voicemail

OK, so this may not even be the result of running a custom rom because it hasn't worked with any of them. When I click on Voicemail which isn't setup yet by the way, all it does is send me to my messaging app. It gives me no options to set it up, or check voicemail.
Sent from my HTC6500LVW using XDA Premium 4 mobile app
Running bonestock 1.0a
tygray6 said:
OK, so this may not even be the result of running a custom rom because it hasn't worked with any of them. When I click on Voicemail which isn't setup yet by the way, all it does is send me to my messaging app. It gives me no options to set it up, or check voicemail.
Sent from my HTC6500LVW using XDA Premium 4 mobile app
Running bonestock 1.0a
Click to expand...
Click to collapse
I removed the Visual Voicemail application. It can be added back.
The icon for Visual Voice mail is tied to the Messaging app.
I need to edit the messaging app to rid that icon. for now just use the feature to "hide" it in the app drawer.
of it you want the app, pull it outta the bloat.zip
Okay, thanks
Sent from my HTC6500LVW using XDA Premium 4 mobile app
OK, so I downloaded the bloat zip and extracted the vvm.apk it gives me the install option but says install failed every time. Any ideas?
Sent from my HTC6500LVW using XDA Premium 4 mobile app
tygray6 said:
OK, so I downloaded the bloat zip and extracted the vvm.apk it gives me the install option but says install failed every time. Any ideas?
Sent from my HTC6500LVW using XDA Premium 4 mobile app
Click to expand...
Click to collapse
are you using my empty flashable.zip..?
just pull vvm.apk and put in system/app
Once I get my phone back, and or you have S-OFF this won't be an issue.
Aroma will solve a lot of these types of issues as well.
Okay, I put it in place of the null file in the app folder in your flashable zip and after re zipping it it failed when flashing
Sent from my HTC6500LVW using XDA Premium 4 mobile app
Don't unzip then rezip. Use a tool like 7zip and drop it into the zip. It failed because by unzipping, you broke the signature
Sent from my HTC6500LVW using Tapatalk 4
If I've helped, please hit the thanks button
tylerlawhon said:
Don't unzip then rezip. Use a tool like 7zip and drop it into the zip. It failed because by unzipping, you broke the signature
Click to expand...
Click to collapse
exactly what Ty said.
I am expecting my phone back today, and my first project is Aroma..
so bare with me.. (not you Ty)
I will be getting the ROM to where I am comfortable with calling it a full non beta release.
Only reason it's beta is because I don't have Aroma set up yet, once that is set up, it's game on.
you will be able to re-flash the ROM.zip pick "MOD only" and then select JUST the .apk you want (NO you can't remove apps, use root explorer for that, I think S-OFF takes away write protection but I have no idea yet, if not, then, well, we will need to get used to that .zip that deletes files (it's quite easy, once you try it out and everything)
andybones said:
exactly what Ty said.
I am expecting my phone back today, and my first project is Aroma..
so bare with me.. (not you Ty)
I will be getting the ROM to where I am comfortable with calling it a full non beta release.
Only reason it's beta is because I don't have Aroma set up yet, once that is set up, it's game on.
you will be able to re-flash the ROM.zip pick "MOD only" and then select JUST the .apk you want (NO you can't remove apps, use root explorer for that, I think S-OFF takes away write protection but I have no idea yet, if not, then, well, we will need to get used to that .zip that deletes files (it's quite easy, once you try it out and everything)
Click to expand...
Click to collapse
I forgot to come back and post a thank you, it worked great after I placed the apk into the zip and flashed. By the way, I've run every rom available now for the phone and keep coming back to yours, I appreciate your work.
Sent from my One using XDA Premium 4 mobile app
tygray6 said:
I forgot to come back and post a thank you, it worked great after I placed the apk into the zip and flashed. By the way, I've run every rom available now for the phone and keep coming back to yours, I appreciate your work.
Sent from my One using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Hey man thank you very much, it really does mean a lot to me!
and you're very welcome
andybones said:
I removed the Visual Voicemail application. It can be added back.
The icon for Visual Voice mail is tied to the Messaging app.
I need to edit the messaging app to rid that icon. for now just use the feature to "hide" it in the app drawer.
of it you want the app, pull it outta the bloat.zip
Click to expand...
Click to collapse
Have you had any luck ridding the VVM icon and whatever else from the messaging app yet. I had a nasty issue related to the new VVM.
I will spell it out here in case anyone else has this issue.
So i like always update my phone when updates come out.
The new VVM has some addition network elements tied to it on the back-end.
Long story short this 443 update has created randomly dropping my mobile connection. I tried re flashing the radios, the stock rom, going back one radio version, etc. I mentioned this in a post in this thread:
http://forum.xda-developers.com/verizon-htc-one/help/wifi-bluetooth-mobile-data-wont-off-t2883253
I don't believe it is anything we have done in here, but the issue was with exclusively mobile data where it would disconnect but still show 4g, anyways back to the VVM
I had to revert to 442 stock rom as it didn't have the disconnecting issue
Since i already ran the newest 443 VVM app with those additional features, the 442 VVM fails with error code 2004 when on a 442 ROM
So i had to be coy when calling VZW to get them to reset this. Lucky they didn't ask SW/HW versions, so basically they had ' reset the network elements ' associated with the newest version. WORKED!
So if this happens to you , all i said was it came down as an update, i didn't like it, and reverted back and now it does not work, etc.... I tried to find the newest update again but cant find it.
I was wondering how the VVM icon still there after removing the APK, that answers that. I tried to load the newest VVM on 442, and epic fail lolz
Just providing some info for everyone
carm01 said:
Have you had any luck ridding the VVM icon and whatever else from the messaging app yet. I had a nasty issue related to the new VVM.
I will spell it out here in case anyone else has this issue.
So i like always update my phone when updates come out.
The new VVM has some addition network elements tied to it on the back-end.
Long story short this 443 update has created randomly dropping my mobile connection. I tried re flashing the radios, the stock rom, going back one radio version, etc. I mentioned this in a post in this thread:
http://forum.xda-developers.com/verizon-htc-one/help/wifi-bluetooth-mobile-data-wont-off-t2883253
I don't believe it is anything we have done in here, but the issue was with exclusively mobile data where it would disconnect but still show 4g, anyways back to the VVM
I had to revert to 442 stock rom as it didn't have the disconnecting issue
Since i already ran the newest 443 VVM app with those additional features, the 442 VVM fails with error code 2004 when on a 442 ROM
So i had to be coy when calling VZW to get them to reset this. Lucky they didn't ask SW/HW versions, so basically they had ' reset the network elements ' associated with the newest version. WORKED!
So if this happens to you , all i said was it came down as an update, i didn't like it, and reverted back and now it does not work, etc.... I tried to find the newest update again but cant find it.
I was wondering how the VVM icon still there after removing the APK, that answers that. I tried to load the newest VVM on 442, and epic fail lolz
Just providing some info for everyone
Click to expand...
Click to collapse
Foolish me, this is so very simple, I just forgot that you have to do it on a 100% clean flash, you can't use a flashable.zip as it is an .xml system edit.
system/customize/resource/allapplication.xml
basically you edit this .xml just search for "voicemail"
you will find this line of code
Code:
<item type="application" packageName="com.htc.sense.mms" className="com.htc.sense.mms.ui.VoiceMailTabActivity" display_order="200" display_hide="[B][COLOR="Red"]0[/COLOR][/B]" />
change it to
Code:
<item type="application" packageName="com.htc.sense.mms" className="com.htc.sense.mms.ui.VoiceMailTabActivity" display_order="200" display_hide="[B][COLOR="Red"]1[/COLOR][/B]" />
to be quite honest though to save yourself A LOT of time, just hit the menu button in app drawer click hide apps and hide it, that is what this MOD does anyway...
andybones said:
Foolish me, this is so very simple, I just forgot that you have to do it on a 100% clean flash, you can't use a flashable.zip as it is an .xml system edit.
system/customize/resource/allapplication.xml
basically you edit this .xml just search for "voicemail"
you will find this line of code
Code:
<item type="application" packageName="com.htc.sense.mms" className="com.htc.sense.mms.ui.VoiceMailTabActivity" display_order="200" display_hide="[B][COLOR="Red"]0[/COLOR][/B]" />
change it to
Code:
<item type="application" packageName="com.htc.sense.mms" className="com.htc.sense.mms.ui.VoiceMailTabActivity" display_order="200" display_hide="[B][COLOR="Red"]1[/COLOR][/B]" />
to be quite honest though to save yourself A LOT of time, just hit the menu button in app drawer click hide apps and hide it, that is what this MOD does anyway...
Click to expand...
Click to collapse
I will give this a try sometime; kudos

Categories

Resources