[Hero CDMA Q&A, Help & Troubleshooting] evilvoice:
Okay, I have tried everything I can think of to edit Settings.apk. I ran apktool, I did a 'findstr' for the offsets for what I wanted to remove, I looked at AndroidManifest.xml, I have done everything I can think of to remove some items from the Settings menu. This is what I have done so far:

1. Removed the activity from AndroidManifest.xml - caused Settings to not appear at all.

2. Edited /res/xml/settings.xml and settings_tune_performance.xml to remove the items - cant remember what this did, I believe Settings again did not appear

3. Obviously undid the previous edits, then edited Strings.xml kind of the same way the "Remove End Call Button" by JsChiSurf was done using the method of putting "/u0020" for each letter that I wanted blocked out...icon still remains, but no name for the items.

4. Along with edit #3, I also edited \smali\com\android\settings\framework\activity\HtcEntryProxy.smali - this looks to be the most important file to building the list of what shows. I was able to clone "Wireless Settings" over "Personalize" thereby getting rid of Personalize. I then took it one step further and basically moved lines of code over pieces that I want removed. I removed Personalize, Accounts & Sync, and Connect to PC and basically moved everything around so that I would only have 13 items instead of 16 - this resulted in a FC. Today, I tried to remove 2 items (3rd and 4th items) because of the way the code was written and it resulted in FC again (Code is written in blocks of 2 - local 1, end local 1, local 2, end local 2, restart local 1, end local 1, restart local 2, end local 2 - chose 3 and 4 since they were restarts, and so are the rest of them - just explaining why 3 and 4 was removed).

It looks like HtcEntryProxy.smali is the file to edit, but there has to be a file that sets the amount of tabs at 16. HEP.smali has a reference to "locals 8" and I thought of changing that to like 6 or 7 to see if I could get items to drop off and maybe there is code that just doubles the number. Seriously, if anyone at all can help, it will be greatly appreciated.

I have done every mod/edit I have wanted:

Remove End Call Button by JsChiSurf

Remove Vibrate on Call Connect by JsChiSurf

Replace Call History Button for Contacts in Dialer by JsChiSurf

Toggle Haptic Feedback on Phone Dialpad by Nieylana

Enable Forced Roaming by MrGreg (Could potentially work on NFX Roms as I am using on a Stock Sprint Rom)

Reboot option in power menu 3-in-1 by snq-

None of that may sound very interesting but a couple things of note:

1. Forced Roaming was said to not work on Sprint Stock Roms/NFX and I got it to work.

2. The Haptic Feedback mod was not working for the Sprint release I was using, I believe it was for a previous release

3. 2 mods by JsChiSurf were made using MetaMorph, I decompiled, found the changes, made the changes to my file and recompiled. The other mod was for an older version and therefore would not have worked, so I made the changes to my version.

4. As you can tell by another post of mine, the reboot menu was not a big deal to anybody but me since everyone moved on to 2.2/2.3

It isnt like editing files is new to me, and no, I have not done a MOD of my own, basically just took other peoples work and figured out how to get it to work for my purposes, so some people may jump all over me for that, but it takes a REALLY long time going through xmls and smali to find one bit of code that was changed, so it wasnt like it was easy.

To end this, I will just say that there are only a few mods that I personally want to see done:

1. Remove certain tabs that arent working from Settings.apk - Since they are in blocks of 2, the tabs would be Personalize, Accounts & Sync, Connect to PC, Accessibility (since it doesnt do anything)

2. A menu setting for enabling rotation PROPERLY. I know fresh has 270 degree rotation enabled, but no way to properly enable different rotation like CyanogenMod. It is 270 or 90 - nothing else. I would like to enable 360, 270, 180 or 90 with a menu like Cyanogen - there is a thread that talks about porting it, but it looks like a whole weekend thing - so I wont be undertaking this until I have the time to set aside (like in 2 weeks). If anyone has any ideas, by all means, let me know.