[Q] GravityMod2 questions - General Questions and Answers

C3C076 or one of you who are more familiar with this than I might be able to answer this...only I can't post in the proper thread due to thread post count....
Couple of things about this mod for the ThL W8. I have it running just fine but have some issues with it.
1. How do I get rid of the circle battery mod and go back to the stock battery icon?
2. How do I change the font on the lockscreen 'clock' app? The bolded hour looks terrible.
3. How do I stop the lockscreen from showing the left side box temporarily? It is showing that you can slide left to install widgets on the lockscreen but I don't like how it unbalances the look of the lockscreen.
4. Version 1.4 changelog mentioned that empty sim card slot notifications would be hidden....I still see a message for sim slot 2 being empty until I click the clear notification button.
5. Now that I think about it, could I just replace the digital clock app in 1.4 gravitymod2 with the stock clock app from android 4.1.2? If so, how?
Link to thread in question:
http://forum.xda-developers.com/showthread.php?t=2249808

1) You have 3 options a) learn to live with it b) decompile SystemUI and edit resource XMLs to hide circle mod and unhide stock battery c) flash different ROM
2) You can replace clock with another clock lock screen widget. There are many of them on play store, e.g. DashClock
3) There's no option for it. It's default Android 4.2 feature. There's an app called "lockscreen policy" which can disable side lock screen pages so it is maybe capable of hiding carousels, but I'm not sure.
4) it's not about disabling notification but hiding second signal icon in status bar
5) see 2)

C3C076 said:
1) You have 3 options a) learn to live with it b) decompile SystemUI and edit resource XMLs to hide circle mod and unhide stock battery c) flash different ROM
2) You can replace clock with another clock lock screen widget. There are many of them on play store, e.g. DashClock
3) There's no option for it. It's default Android 4.2 feature. There's an app called "lockscreen policy" which can disable side lock screen pages so it is maybe capable of hiding carousels, but I'm not sure.
4) it's not about disabling notification but hiding second signal icon in status bar
5) see 2)
Click to expand...
Click to collapse
Thank you for your reply C3C076.
Lockscreen Policy killed 3 birds with one stone! It disables lockscreen widgets, which also gets rid of the 'carousel' or box borders that show then fade for a second on the left side of the screen, and also disables the bold font on the clock hours! Nifty app and does just what I want there. Thanks for that!
6. There is a major bug that I and other uses are running into in the current version of GravityMod2 (1.4). My phone recent list and also text message contacts are getting split up. I send a message or make a call and it goes through fine. Then a return message or call is received and it shows up in my call log or messages as a different contact/person. It shows up received with the country code (+1) in my case and if I go to click on the profile/contact icon next to that number there is a message about an invalid number couldn't save contact. When I place calls by clicking on these received calls, I get a invalid number error message, click ok to dismiss it and then it will go through fine (using gv or not using gv in both cases).
I think that has something to do with the country code being added...I don't really know except it is kinda frustrating. Is there anything you can do to fix in an update to GravityMod2?
Ok Back to the topics above.
4. The missing sim icon is indeed gone (i didn't even really realize it because it never bothered me). The notification, other the other hand, really bugs me. I mean, that TRIANGLE CAUTION EXCLAMATION POINT! just BEGS for my attention and the notification comes up every boot or every airplane mode disable (cell radio on enable). I haven't tried this yet but I thought maybe freezing the specific sim toolkit app using titanium backup might cause this notification to not show up....unless the notification is from the OS itself in which case, any way you can disable that?
1. Thanks for the pointers. That will get me started towards changing the battery icon to suit my preferences.
7. Possible updates for the next version of GM2 to consider:
In version 1.4 of GM2, the file /System/etc/permission/com.android.sip.xml has the feature android.software.sip commented out (as per this topic by gmincca). I checked the other file: android.software.sip.voip.xml and the permission was not commented out. Maybe you missed that first one? Or it doesn't matter? I understand those permissions relate to the built in internet calling capability of this phone. I probably won't use it but I uncommented those two permissions in those files anyway using FX Explorer rooted to save the files after remounting as rw.
Volume levels for the earbuds while playing media (headset, media) were killing me ears! I used engineering mode to adjust the volume levels here under Headset mode, media, to be max of 112 and levels 0-6 to be 40, 64, 80, 96, 102, 108, 255. The last setting is for when plugged into a car speaker or external speaker you can still get max volume and the previous settings allow for actual listening with earbuds at a comfortable level. I do not know if these settings are on a per speaker basis and your mileage may vary with the usefulness of these. I thought it helped out a good bit. I also made some minor adjustments with the sound levels for the speakerphone (loudspeakermode, sph, level 6 to 160) to be able to hear the speakerphone better while on a phone call.
8. You got the auto brightness setting for the dark just right in your latest change. 0% brightness matched autobrightness just perfect! Only minor thing is in full daylight auto brightness was a little bit under 100% so didn't work as I thought. If the auto brightness % for full lux can be adjusted I'd like to know where, or if you could update for the next version of GM2 that would be awesome!
Thanks for all your hard work on this custom ROM for the ThL W8! Kudos/Karma/+1 to you!

6) This is a standard feature/bug of all mtk6589 4.2 roms. I can't do anything about it since we have no sources and messing with anything at java disassembled code level (smali) is a pain in the ass. Easy solution is to keep all your contacts with country code prefix and it'll be OK in case your operator sends the same caller ID for calls and messages. You should keep your contacts with prefix anyway to be able to call while roaming.
4) I might try removing that notification in the future
7) you're right about SIP. I missed that file. If you uncomment it SIP options will appear in Phone settings.
8) I didn't adjust upper levels, just lower ones. It would be helpful to measure light sensor values under different light conditions with some app and adjust levels. So if you like to experiment, any input will be welcome. I can send you current values.

C3C076 said:
6) This is a standard feature/bug of all mtk6589 4.2 roms. I can't do anything about it since we have no sources and messing with anything at java disassembled code level (smali) is a pain in the ass. Easy solution is to keep all your contacts with country code prefix and it'll be OK in case your operator sends the same caller ID for calls and messages. You should keep your contacts with prefix anyway to be able to call while roaming.
4) I might try removing that notification in the future
7) you're right about SIP. I missed that file. If you uncomment it SIP options will appear in Phone settings.
8) I didn't adjust upper levels, just lower ones. It would be helpful to measure light sensor values under different light conditions with some app and adjust levels. So if you like to experiment, any input will be welcome. I can send you current values.
Click to expand...
Click to collapse
6. I can say it is not solely 4.2 roms but also 4.1.2 as well. On the stock rom and on the update line brush package FH4, 4-28-2013 (4.1.2 and 4.2.1 respectively) both of those roms also experienced this issue with the contacts being added country codes on incoming calls/messages.
After I went through my google contacts and used UltraEdit32 (similar to notepad++) with regular expressions to remove parenthesis, spaces, and hyphens (and a bad contact that was gumming up the works), I was able to make calls again without it erroring out with that message. It would still give the error message but then the call would go through. I didn't add the country code at that time but I guess it wouldn't be to difficult to export/download my google contacts again, turn off syncing, fix/add my contacts, then delete the contact stores on my phones and resync with added country codes.
With that said, if I use the dialer to directly dial the number which isn't in my contacts I still get the "Call not sent, no valid number entered" error message. I have found this problem is related to Google Voice and the Dialer (Phone) app. If I turn off using Google Voice to make all calls or to ask every time and set it to do not make any calls, the calls will go through no problem, I need Google Voice though so I guess I'm left wondering if I can use a different dialer...perhaps the stock 4.2.1? I have no idea how to get started changing that though.
My phone's dialer is from GM2 currently: version 4.2.1-eng.zhangshuangshuang.1366707806
Other's who have had my same problems with GV integration had similar issues with Samsung's replacement/custom dialer causing issues. Can I get a stock dialer/phone app somehow?
4. Please! And thank you! Of note: using Titanium Backup to freeze the simtoolkit application didn't do anything. I didn't see stk1 and stk2 like in 4.1.2 and in the 'line brush update official 4.2.1 rom. I only saw the one simtoolkit app and freezing had no effect on the notification). When I long press the notification, and press 'app info' it brings up the phone app. This means the notification is coming from the phone app directly I guess.
8. I'd be interested in what the current levels are for the brightness. I can use GPS status to measure the current lux however it doesn't report the current screen light level brightness setting, just the incoming measured lux from the light sensor.
9. Developer mode is not enabled by default in GM2. I had to google to find my usb debugging setting. (Go to Settings -> About -> Press 7 times on the Build number). Maybe this is an easy toggle to enable this by default for the next build of GravityMod2? I mean we are flashing a custom rom after all Not a big deal really if not.

6) Using alternative dialer from vanilla Android is impossible "thanks" to dual sim extension. The changes in framework and telephony are too vast.
4) it's coming from telephony subsystem in the framework.
8) I'll provide lux/brightness pairs later today (hopefully)
9) My opinion is that it's OK how it is now. Most of the users don't need it. Those who do, already know how enable it or can find out easily.

Here are the brightness levels and corresponding LCD backlight values.
Code:
<integer-array name="config_autoBrightnessLevels">
<item>16</item>
<item>32</item>
<item>50</item>
<item>100</item>
<item>140</item>
<item>180</item>
<item>240</item>
<item>300</item>
<item>600</item>
<item>1000</item>
<item>2000</item>
<item>3000</item>
<item>4000</item>
<item>8000</item>
<item>10000</item>
</integer-array>
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>20</item>
<item>30</item>
<item>50</item>
<item>60</item>
<item>70</item>
<item>80</item>
<item>90</item>
<item>102</item>
<item>110</item>
<item>120</item>
<item>130</item>
<item>180</item>
<item>200</item>
<item>210</item>
<item>230</item>
<item>255</item>
</integer-array>

C3C076 said:
Here are the brightness levels and corresponding LCD backlight values.
Code:
<integer-array name="config_autoBrightnessLevels">
<item>16</item>
<item>32</item>
<item>50</item>
<item>100</item>
<item>140</item>
<item>180</item>
<item>240</item>
<item>300</item>
<item>600</item>
<item>1000</item>
<item>2000</item>
<item>3000</item>
<item>4000</item>
<item>8000</item>
<item>10000</item>
</integer-array>
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>20</item>
<item>30</item>
<item>50</item>
<item>60</item>
<item>70</item>
<item>80</item>
<item>90</item>
<item>102</item>
<item>110</item>
<item>120</item>
<item>130</item>
<item>180</item>
<item>200</item>
<item>210</item>
<item>230</item>
<item>255</item>
</integer-array>
Click to expand...
Click to collapse
I did some testing in direct sunlight.
Anything over 8000 lux needs full brightness to be able to see the screen (even when the screen is set to 100% brightness in anything over 8000 lux it is still kinda of hard to see but that's why it needs to be full brightness on auto for 8000+).
In shade, but still bright out, the lux read about 6000 and the auto brightness setting was good.
I in framework-res.apk, changing those last two lux levels I think would help.
<item>6000</item>
<item>8000</item>
...
<item>230</item>
<item>255</item>
I tried decompiling and recompiling framework-res.apk after making the changes but couldn't get it to work. I wasn't sure how to install it. I used apktool and apkmultitool to decompile framework-res.apk and then change /res/values/arrays.xml and saved the files. Then I compiled and also tried signing them to produce the new apk. So far so good.
I then tried installing using apkmultitool install apk and it didn't work. It just said waiting on device. I tried rebooting my phone, tried recovery mode, tried regular just plugged in and turned on mode and nothing. USB debugging is enabled.
I also tried copying the changed apk directly to /system/framework (after first mounting as rw and changing the permissions of the new apk to match the permissions of the current framework-res.apk) using copy and paste on FX "file explorer." It would freeze when I gave it the paste command (yes it had root permissions).
I don't know how to install the changed apk or how to update this to get the new brightness settings. As the copy operation had froze the app, even pressing home did not work so I had to use my nandroid backup to revert phone to a useable state again.

When you compile modified apk in multi tool, say yes when it asks you if it's a system apk. Then say yes to create "keep" folder and delete resources.arsc from it, and then finish compiling process.

C3C076 said:
6) Using alternative dialer from vanilla Android is impossible "thanks" to dual sim extension. The changes in framework and telephony are too vast.
4) it's coming from telephony subsystem in the framework.
8) I'll provide lux/brightness pairs later today (hopefully)
9) My opinion is that it's OK how it is now. Most of the users don't need it. Those who do, already know how enable it or can find out easily.
Click to expand...
Click to collapse
6. Great. Perhaps an alternative dual-sim dialer is available...I didn't check...are the stock 4.2.1 (FH4 4-28-2013 official update) dialer and the Eastcom/GravityMod2 dialers the same? Could that kind of change be made and fix up these crazy errors?
4. Does that mean it is also impossible or just kinda difficult to fix?
9. Agreed and hey, thanks for taking the time to answer all my questions. Hopefully I can help in some way too

I managed to solve 4) already. I mentioned it in GM2 thread.

C3C076 said:
When you compile modified apk in multi tool, say yes when it asks you if it's a system apk. Then say yes to create "keep" folder and delete resources.arsc from it, and then finish compiling process.
Click to expand...
Click to collapse
Apkmultitook didn't prompt me about this, possibly because I chose the decompile system apk option at first. In fact, the compile process finished just fine with no errors. (Hopefully it was a good format for being a system apk but it didn't ask about that so...)
Once I have the compiled apk...I wasn't sure what to do with it. I was able to verify I had changed the xml file by decompiling the new apk but couldn't get it installed on my phone. I was probably doing something wrong. Is copying and pasting correct?

Have you tried wiping dalvik cache?

C3C076 said:
Have you tried wiping dalvik cache?
Click to expand...
Click to collapse
In what order would I do that?
Wipe the dalvik cache from recovery....then what? Try copying and pasting the new apk again? How does wiping the dalvik cache help here?
OK. I wiped the dalvik cache and then rebooted. Tried replacing my current framework-res.apk again with the new one (after setting permssions on the file first) and I still get a freeze at coping files. I might try again later with a different app with root access that can remount the /system as rw. Or maybe look into creating a update.zip and trying from recovery if that is possible.

I typically use "adb push" while in recovery (system partition must be mounted)

Good new everybody.
Looks like I fixed the Caller ID issues. At least for phone calls now.
This means that contacts stored without country code will be matched to caller ID sent by operator containing country code.
Messages seem to be handled differently (damn it) but I will try to look into it, too.

C3C076 said:
Good new everybody.
Looks like I fixed the Caller ID issues. At least for phone calls now.
This means that contacts stored without country code will be matched to caller ID sent by operator containing country code.
Messages seem to be handled differently (damn it) but I will try to look into it, too.
Click to expand...
Click to collapse
Waiting for this update for phone and Messages.

C3C076 said:
I typically use "adb push" while in recovery (system partition must be mounted)
Click to expand...
Click to collapse
Thanks. That was part of the problem.
The other part was since it was a system apk, I signed it thinking that's what it needed but I read a comment that stated that system apks shouldn't be signed. All I had to do was make my changes, compile it, then copy over meta-inf and AndroidManifest.xml from the original to the newly compiled apk. Then, adb push was correct as you stated for system apks.
On a side note I had to manually put in my java jdk path for android's sdk by editing the \adt-bundle-windows-x86_64-20130219\sdk\tools\lib\find-java.bat file with my jdk path....and I had to make sure I had the adb driver installed which was another hiccup. Once all those settled then I could use adb and apkmultitool etc worked fine.
I pushed the changed framework-res.apk to my phone verifying the changes were made and testing the light sensor values with 'GPS Status' which shows the lux...AND IT WORKED!! I can now leave the brightness on Auto and it works just fine
The change made was to framework-res.apk\res\values\arrays.xml
Changed lines 554 and 555 to be 6000 and 8000 respectively instead of 8000 and 10000.
Can you incorporate this change into the next version of GM2 C3C076?
So, new topic:
10. What files in SystemUI.apk or framework-res.apk are for the Cyanogenmod circle battery? I looked all through those two and couldn't find the graphics of the circle battery?
Thanks again!

Great I will include it in today's release.
CM circle battery is not image based. It is a self-drawing ImageView. It's in CircleBattery.smali in statusbar/policy.
It is referenced in layout xmls. The change would be easy. Just remove references from 2 xmls and remove visibility="gone" from standard battery references.

@C3C076, sir could you share how you were able to fix the Caller ID problems of your phone/rom. I currently own a ZTE V987 and have been trying to look for a fix for the same problem. I currently have android 4.1.2 Thanks!

Related

SPB time and alarms

Hello:
I have SPB time and recently the alarms seem to have stopped working.
They work if I place a test alarm in the afternoon for example, but the ones in the morning to wake me up for work never go off.
I have tried, wakeupteak, and scarybears check notify, to no avail, I have re-installed SPB time and the alarms. I have rebuilt my unit from the ground up. Still the same problem!!
SPB time are out of ideas themselves.
Any ideas on what the problem may be, or can someone suggest an alternative clock/alarm program for the PPC for me to try.
Thanks.
Aame problem here. AlarmX from MTUX seems to work but it's not as pretty.
There are posts on the forum somewhere telling why this is. It's something like the device goes in to sleep mode (excuse the pun). The built in alarm works Ok (for me) and so does the alarm in Stop Time.
I've had problems with alarms for almost two years - I've found only two solutions:
Try SuperAlert from WhittakerMoore - it cured my alarm problems except when I had stuff which clashed with it, however it is commercial.
A more recent and radical approach which has also worked for me is as follows (you will need software which can modify the Notifications database, such as Anton Tomov's Pocket Mechanic).
The root of the problem is the CALNOT process which runs at midnight - it performs housekeeping and if it doesn't complete correctly, it fails to trigger the first alarm of the day (and therefore any subsequent ones until you turn the device on).
Use your product of choice to simply delete the midnight notification entry which runs CALNOT.exe - this means that the housekeeping isn't done every night but the alarms will be reliable, since it now cannot fail to complete(!). To make sure the cleanup does occur now and again, put a shortcut to CALNOT.exe in the startup folder. Yes, it makes startup after a soft reset a little slower but it's worth it I feel for reliable alarms. Alternatively you could run CALNOT manually. You must remember to remove the CALNOT notification after each time it runs (including timezone changes) as it reinstates its midnight entry each time.
Although I have over 350 entries in my calendar, I haven't noticed any degradation without the regular housekeeping but I have noticed the alarms working - it now wakes me every morning except when I forget to delete the damned entry after a soft reset.
Let me know how you get on.
Note: If anyone out there wants to knock together a tiny app. which runs CALNOT then removes the notification, I for one would be very grateful - I haven't had the time to do any WM coding yet.
I almost missed a plane because the alarm didn't ring so it's important to fix it. However:
simply delete the midnight notification entry which runs CALNOT.exe
Click to expand...
Click to collapse
how to find this program?
I searched at "calnot.exe" in the registry: nopes, searched in windows/startup: nopes. So how to find the program that calls calnot.exe to delete it? Or just delete the file calnot.exe?
Please help
henk-jan said:
how to find this program?
I searched at "calnot.exe" in the registry: nopes, searched in windows/startup: nopes. So how to find the program that calls calnot.exe to delete it? Or just delete the file calnot.exe?
Click to expand...
Click to collapse
mtbsoft said:
(you will need software which can modify the Notifications database, such as Anton Tomov's Pocket Mechanic).
...
Use your product of choice to simply delete the midnight notification entry which runs CALNOT.exe
Click to expand...
Click to collapse
Do NOT delete the program calnot.exe! Re-read what I wrote, in particular the need for software to edit the notifications database - THAT is where the entry is which needs to be deleted.
Do not quickly skim across the post details, getting half the picture then blindly blundering around in your device - that is the fast way to a hard reset!
Thanks for the quick reply. I didn't read it well, indeed, sorry.
So I deleted calnot from the notication queue and now it has to be fixed, apart from running calnot now and then? Do you (after a run) have to delete calnot again from the queue?
No worries, I just didn't want to be the cause of a hard reset.
Generally running calnot doesn't seem to restore the notification entry, there is a special system notification entry (which I don't recommend you delete) which restores it at each soft reset.
Good luck and let us know how you get on.
@mtbsoft. Thanks for you're warning. But now I have some troubble with calnot.exe : can't copy/shortcut it to startmenu as you mentioned, can't even rename the read only status and can't run it (i.e. after double clicking I don't see it in the notification database appear). Any sugestions?
Tapping on it will run it - it doesn't have a user interface so won't be visible. I think you've misunderstood about the notification - running calnot.exe manually WON'T put the notification back, that only occurs when you soft-reset.
I assume you are using the in-built File Explorer, you should be able to navigate to calnot.exe then tap and hold to select Copy. Now go to the \windows\startup folder and use the Edit menu at the bottom left to select Paste as Shortcut. calnot.exe is actually in ROM so you can't rename or delete it (easily).
It worked! I tried it several times like you described, but got the message it was in use, or something like that. But now it's ok. Thanks a lot, the alarms seems to work properly.
@mtbsoft: I found a program/tweak that may solve the problem. It's free.
Look at http://www.pocketpcfreewares.com/en/index.php for wakeup tweak
All wakeup tweak does (to my recollection) is adjusts the Power up timeout that so many others also do - the results are variable and it doesn't work for me. I actually found a better solution in the shape of SuperAlert from www.whittakermoore.com - finally 100% reliable.
I didn't no, learnt again something. I'll give it a try. Thanks

Registry changes are lost after reboot! (Xperia)

Hello,
I would like to change the multiline-capabilites key in HKLM/System/State/Phone to '1' in order to make the menus necessary to control the line for outgoing calls appear. Since the changes will only take effect after reboot, I have to do so. However, after reboot, the menus still do not appear, but the registry key is changed back to '0'. I guess this is due to the simcard, which does not have a valid CSP-entry for ALS. Is there any possibility to make the phone not check the CSP but just keep the entry I set manually?
Thanks,
Chris
They are probably changing back because they are built into the rom that way. Try a new rom if you really want to change it.

[APP] Another Locker - HtcExtFun 2.0.0.1

This is locker (screen and sometimes buttons) what i have made for myself.
It's alternative for S2U2 and windows screen lock.
Main features:
1. Lock screen and keys on wake up, but only when ambient light level low
2. Lock screen when any phone activity (dialing, talking, incoming call offering). Because proximity sensor works not very good.
3. Quick unlock without slide using double click on hardware Back button
4. Quick power off after resume if not unlocked
5. Adapted for Inesoft Phone (greate app for me because of customizing contact rings and custom names for phone fields of contacts)
Additional features:
1. Reminders for missed calls, unread sms messages
2. Screen off after call connected
3. Vibrate alerting during the call: connected, n-th second of talking
4. Alternative sms alerting (used by me for setup once and did not setup again after reflash
5. SMS patch utility replace of Zenyee disable Htc Messaging (white form appears on the screen for short time nervous me)
6. Auto redial if call dialing failed
7. Changing keyboard when stylus in/out (yep, i know that HD2 does not have stylus)
8. Simulate stylus out event for unlocking S2U2 with double click on hardware button Back
Disadvantages
1. Settings changed only through registry
2. Minimalistic interface
Advantages
1. First stable build of this utility with good CAB install and uninstall (hope for this)
2. Changed for best (for me) locking of the phone
3. Native code only (I like managed code, but it's speed periodically sucks for small apps)
Install
1. Install attached CAB
2. Settings described in readme.txt file in installed directory (default is \Program Files\HtcExtFun)
Hints
1. This tool can not lock Answer and End hardware keys in call (i don't know hot to apply this and don't want to do this)
Will be interest for your feedback!
A pity none has still posted his feedback, so let me be the first.
1- great app: i use version 0.2 since a long time with great satisfaction (and now that Leo roms disables transcriber in SipMenu, HtcExtFun is the only way to recall it)
2- What did work in old version seems to work well in this one as well (i used only stylus in/out and missed calls/sms reminder)
3- On my device the new screen lock doesn't work. Maybe it's because i have a Blackstone and not a Leo? Anyway i run Manila 2.5.1921 (as Leo), and on resume after suspend the "screen locked" square is there. But not only i can normally use my screen (i can swipe across Manila tabs without problems), but trying to slide the slider nothing happens: the square is still there, the cursor doesn't move. It's a pity, because this was a great improvement (it works with the back double tap, but it's the only way [and i don't like it, since when in my pocket i often press keys]).
4- It's useless i post a screenshot since what appears is the same as in yours
5- Can i suggest you to post your app in "Dev&Hacking" forum? I never read this one since i don't have a Leo, and so only for chance did find you released a new improved version.
6- There are some undocumented reg values:
* HandleSmsPatch
* MaximizeVolumeTime
* LSensorOffValue (i suppose it's for light sensor?)
7- You have not documented that "ScreenLockWhenResumePowerOff"=dword:00000000 disables the poweroff timeout
8- A thing i don't like is that app add itself missing registry keys filling them with standard values. So i, on purpose, didn't add the AlertNewSmsScript and AlertNewSmsSound, but at first start the app did add them to registry.
9- For your records, this is my reg config:
Code:
[HKEY_CURRENT_USER\Software\HtcExtFun]
"HandleSmsPatch"=dword:00000000
"ScreenLockWhenResumePowerOff"=dword:00002710
"MaximizeVolumeTime"=dword:0000000A
"LSensorOffValue"=dword:0000000A
"AlertNewSmsSound"=""
"AlertNewSmsScript"=""
"ScreenLockWhenResumeLight"=dword:00000000
"ScreenLockWhenResume"=dword:00000001
"ScreenLockWhenConnecting"=dword:00000000
"SipChangeStartupWait"=dword:00004E20
"VibrateWhenConnected"=dword:00000014
"TiltZFaceUp"=dword:000002F8
"TiltXYZDist"=dword:0000F350
"TalkVibrateSecond"=dword:00000000
"TalkVibrateLength"=dword:00000000
"StylusOutSipName"="Riconoscitore elaborato"
"StylusInSipName"="Touch Input"
"SipChangeWait"=dword:00002710
"ScreenOffWhenConnecting"=dword:00000000
"ScreenOffWhenConnected"=dword:00000000
"RedialTime"=dword:00000000
"RedialStartSound"=""
"RedialDoneSound"=""
"AlertMessagesSound"="snd-alert-sms-voice.wav"
"AlertMessagesScript"="t3600 aW120v100pw200v100W60r aW200v100pw200v100W100r"
"AlertCallsSound"="snd-alert-calls-voice.wav"
"AlertCallsScript"="t300 aW60v100pw200v100r t3600 aW120v100pw200v100W60r aW200v100pw200v100W100r"
"AlertBatteryLevel"=dword:00000000
Sadly i have to edit my previous 2). Sms/missed call reminder doesn't work with this new version: no sound at all. So i switched back to 0.2
Nice!
Maybe you can help us here?
http://forum.xda-developers.com/showthread.php?t=612072
Hi exidler,
I just tried your soft, which was cool but not the soft-locker I want.
So I wanted to unsintall ... damn! It doesn't work.
Whenever I try, I got that error message "can't register touch driver" (a window titled HtcExtFun Unsintall).
I try after deleting the startup link, and a softreset, so that the exe wasn't running ..
How can I proceed ?
Thank you in advance.
I'm in the same case. I've already deleted all the corresponding keys in the reg but nothing else to do. I'm still stuck with that problem. And no way to reinstall it.
Edit : I used SK Tools software to clean all the registry and unused folders, and now it works.

New Power Control widget with one click 2G/3G toggling

Hello
I waited a lot of time for Google to release the support of a API to allow changing the 2G/3G with one click
As many others I would like to have the ability to do it without need to go to the settings.
Since Google didn't do it, I decided to do it by myself.
For that I modified the Phone and Setting applications that are delivered in the Cyanogen 6 version.
I made a new Power Control widget that now has the following:
Additional buttons:
- 2G/3G toggling (one click. With 3G only or 3G preferred)
- Ring mode toggling (Different possibilities)
- Screen timeout (15s/1min/5 min or 30s/2m/5Min)
- Toggle orientation sensor(enabled/disabled)
- Brightness levels (added different possible levels)
- Airplane mode enable/disable
- Lock Screen enable/disable
- Flashlight (screen mode works on Magic. on N1 it doesn't work=Don't use it)
Options:
- Can now be set with vertical layout
- you can choose different buttons on the widget
- possibility for a transparent widget
- possibility to avoid the widget "round corners"
- Option to change to 2G automatically when Mobile data is disabled
- Option to change to 3G automatically when Mobile data is enabled back
- Option to disable sync automatically when WIFI is disabled (avoids sync on mobile data)
- Option to enable sync automatically when WIFI is enabled back
- Option to choose if Ring mode is ON with vibrate or with sound
- Option to monitor the Data roaming (set the icon to red if enabled)
Other changes:
Changes done to GPS or Mobile Data in normal Settings page are now automatically synchronized in the widget.
Limitations:
- Setting page still very ugly
- Like the original one, limited to a single 4x1 widget.
- Button order is fixed
Before I contribute with my code to Cyanogen, I would like to see the feedback of other persons to confirm if this change is interesting or not.
If not, I would keep it just to myself.
It was only tested in my own HTC Magic. So I cannot guarantee that it will work 100%. If you want it, then use it at your own risk
Unfortunately it require changes of main Phone applications so I don't think it is possible to do it for all the Phones.
For now it will only work with CM6
I hope this is also interesting for several other people.
How to download:
update.zip file:
http://share1t.com/lg7prf
Screenshots:
My personal update procedure (flashmode):
Step 1:
Copy the update.zip (power_control_v2.01.zip) to the SD Card
Shutdown phone and boot it in recovery mode (On HTC Magic, press HOME + POWER to boot)
Step 2: (optional but recommended)
move the directory of your computer to were to store the backup files
Wait for the Recovery console
Connect the usb cable
adb.exe shell mount /system
Make a backup of the original files:
adb.exe pull /system/app/Settings.apk Settings_original.apk
adb.exe pull /system/app/Phone.apk Phone_original.apk
Step 3:
Select the Flash option on the recovery, and select to choose the file name
Select the power_control_v2.01.zip
Confirm and wait for it to finish.
Reboot the phone.
Step 4:
Add the new Power Control widget
Thank you verry much !
Is this the app from BK Mobility? Of so, this would be considered a WAREZ and you will get banned for it, because it is an paid app.
to futango:
Can you even READ?
Any screens?
Now it has
anwoo said:
to futango:
Can you even READ?
Click to expand...
Click to collapse
Sorry OP. Was tired when reading.
That thing looks great BTW.
installed. looks good and works. very nice and thanks.
can i add a suggestion? possibility to reorder the buttons
When i do
Code:
# mount /system
i have error: device or recovery busy ...
What now ?
nice thanks
virnik said:
When i do
Code:
# mount /system
i have error: device or recovery busy ...
What now ?
Click to expand...
Click to collapse
Well I'm not experienced in that.
Maybe the volume is already mounted?
If you really have boot the phone in Recovery mode (not the normal mode)
then check the following after the shell part:
ls /system/app
if you see a lot of files ending in *.apk, then the system is mounted.
You can see if you can execute the remaining operations (starting with the adb pull)
If not, then I don't know how you can push it. maybe in a next CM6 build it will be available.
You read my mind and made it work. Ive been looking for a widget that would do this properly. All other programs could disable apn but then it would mysteriously start up again on its own.
So far so good.
Thanks
Edit: my phone had a force close and when it rebooted, it had automatically reverted back to the normal power widget, with no sign of your version???
If we can have a toggle for the rest of the items it would be perfect.
Specifically hiding bluetooth, GPS and autosync since I never touch those.
xaueious said:
If we can have a toggle for the rest of the items it would be perfect.
Specifically hiding bluetooth, GPS and autosync since I never touch those.
Click to expand...
Click to collapse
You can select what options do you want to see. So you can hide these three and keep the other ones.
twigster said:
Edit: my phone had a force close and when it rebooted, it had automatically reverted back to the normal power widget, with no sign of your version???
Click to expand...
Click to collapse
That is strange for me.
I can only see it happening if the original settings apk get installed on the system. I don't think there is any "recovery" rom for that.
What could happen is for it to loose the configured settings and revert to the default one.
There you will have two differences:
1- In my case, the disable mobile data is after the GPS icon. in the original one it after the wifi I think.
2- 2G/3G data is automatically changed when you enable/disable the mobile data.
Perfect
Good work !
Works fine on Vodafone Magic 32b with Chromatic Rom (4.2)
Thanks !
Can you add Airplane Mode toggle, please?
Wow cool
Gonna try it asasp, been looking for this aswell!
Is it workable if I change the phone.apk and settings.apk into yours and resign the ROM?
Cuz my Magic seems fail to mount...
Anyway Good Jobsince I hate the original CM's Power Control Widget much(the number of buttons are fixed to 7,quite hard for me to press the right one...)

[Q] INCOMPLETE DEVELOPER OPTIONS, Please help!

Coming from a long line of Sony phones, I recently bought a locally-made (PH) phone in hopes of getting more bang for the buck.
The device's name is STARMOBILE UP. It is relatively new so I can't seem to find answers to my problem. I also do not know what OEM device this is since local brands in the Philippines rebrand phones from Micromax, Karbonn, etc.
While I successfully (and painstakingly) rooted it and installed CWM, I can't seem to find the other (and mostly more important) options under Developer Options (please see attached photo). Among the options I am looking for is the ANIMATION SCALE. I want to lower these values in order to save the phone from unnecessary eye candy.
In the many phones I have used in the past, I have always turned these options off. I don't really need them.
Is there any way, then, to make these missing developer options appear? Or if not, just totally disable these animations via terminal?
If it will be of any help, my device runs 4.4.2. Please see attached image for more info.
Thanks in advance, awesome folks!
narflynn619 said:
Coming from a long line of Sony phones, I recently bought a locally-made (PH) phone in hopes of getting more bang for the buck.
The device's name is STARMOBILE UP. It is relatively new so I can't seem to find answers to my problem. I also do not know what OEM device this is since local brands in the Philippines rebrand phones from Micromax, Karbonn, etc.
While I successfully (and painstakingly) rooted it and installed CWM, I can't seem to find the other (and mostly more important) options under Developer Options (please see attached photo). Among the options I am looking for is the ANIMATION SCALE. I want to lower these values in order to save the phone from unnecessary eye candy.
In the many phones I have used in the past, I have always turned these options off. I don't really need them.
Is there any way, then, to make these missing developer options appear? Or if not, just totally disable these animations via terminal?
If it will be of any help, my device runs 4.4.2. Please see attached image for more info.
Thanks in advance, awesome folks!
Click to expand...
Click to collapse
Open about phone and tap build number for seven times, then developer option will appear
Dickey Kid'deviel said:
Open about phone and tap build number for seven times, then developer option will appear
Click to expand...
Click to collapse
I know that tapping the Build Number seven times should make the 'hidden' Developer Options appear. But as you can see, the Developer Options is NOT HIDDEN, it's incomplete.
Aside from that, this model has no Build Number as you can see on the screenshot posted above. Instead, it has Model Number, which, if tapped seven times, doesn't do anything.
Also, another problem, Notifications in Kitkat seem to make the screen wake up every time there is a notification. I fiddled with Notification and Messaging settings and there seems to be no way to turn this feature off. Any tips?
narflynn619 said:
I know that tapping the Build Number seven times should make the 'hidden' Developer Options appear. But as you can see, the Developer Options is NOT HIDDEN, it's incomplete.
Aside from that, this model has no Build Number as you can see on the screenshot posted above. Instead, it has Model Number, which, if tapped seven times, doesn't do anything.
Also, another problem, Notifications in Kitkat seem to make the screen wake up every time there is a notification. I fiddled with Notification and Messaging settings and there seems to be no way to turn this feature off. Any tips?
Click to expand...
Click to collapse
Regarding missing options, it is probably a modification the OEM made.
About notification, I have a Nexus 5 and I've never seen something like that. Does it happen with every app?
CriGiu said:
Regarding missing options, it is probably a modification the OEM made.
About notification, I have a Nexus 5 and I've never seen something like that. Does it happen with every app?
Click to expand...
Click to collapse
On point 1, it could be the case. God, I miss the animation scale option.
As for the notifications, I have notifications set to ON for Messaging only so I don't know the case for other apps.
narflynn619 said:
On point 1, it could be the case. God, I miss the animation scale option.
As for the notifications, I have notifications set to ON for Messaging only so I don't know the case for other apps.
Click to expand...
Click to collapse
So whenever you receive a message, the screen wakes up. Have you tried changing the messaging app?
dial this *#*#7827#*#*
No animation scale in Developer Options
I have a THL T11 and the animation scales (window, transition) are also missing in the Developer Options. It seem that it is common many chinese phones have incomplete Developer Options menu.
I tried "Spare Parts" app which has options to modify animation, but it does not work.
I searched a long time for an answer on how to change the animation scale settings in this situation and finally found it!
NOTE: since every phone is different, it may not work on your phone. You also need a rooted phone (which you already have) to make the mod.
(1) install "Dev Tools" by Dipesh Rathod from Google Play store
find "Settings.Global" under "Device" menu
click "Settings.Global" - > look for (i) animator_duration_scale (ii) transition_animation_scale (iii) window_animation_scale
@@ If you DO NOT have "Settings.Global" or any of the above animation scale entries, sorry you cannot use this method to change the scale @@
If you have the above items on the list, continue ...
(2) press "back" button on your phone to return the main menu of Dev Tools -> see if you have "SQlite".
If you don't, you need to install it from Google Play store (app is called "sqlite installer")
(3) YOUR PHONE NEEDS TO BE ROOTED ALREADY. Install "Terminal Emulator" from Google Play Store
(4) open Terminal Emulator and follow this procedure:
a) type "su" (without quotation marks) and press <Enter> - to gain root access
b) type "chmod -R 777 /data" (without quotation marks) and press <Enter> - to allow read/write in /data folder and subfolders
c) type the following to change window animation scale and press <Enter>:
Code:
sqlite3 "/data/data/com.android.providers.settings/databases/settings.db" "update global set value = '0' where name = 'window_animation_scale';"
d) type the following to change transition animation scale and press <Enter>:
Code:
sqlite3 "/data/data/com.android.providers.settings/databases/settings.db" "update global set value = '0' where name = 'transition_animation_scale';"
e) type the following to change animator duration scale and press <Enter>:
Code:
sqlite3 "/data/data/com.android.providers.settings/databases/settings.db" "update global set value = '0' where name = 'animator_duration_scale';"
(this is already off on my phone, therefore I did not make this change myself)
NOTE: Use '0' to turn the animation off completely. I use '0.5' on my phone because I find that this is smoothly than turning it off completely, and faster than '1' (default on my phone).
f) you can close Terminal Emulator now (top right "X" button and choose OK)
(5) REBOOT THE PHONE to apply these changes.
-----------------------------------------------------------------------------------------------------------
Just for curiosity, I used Dev Tools to look at my Galaxy Note 2 - there is NO "Settings.Global" or "Settings.System", and I cannot find any entries for animation scale. Therefore, I made a disclaimer this method may not work on all phones.
"Settings.Global" overrides "Settings.System" therefore you don't need to use this method to change the System setting (eg. "... update system set value ..."). Making changes to "Settings.System" only affect the Android system UI transitions but not the app transitions.

Categories

Resources