yashsingh1/xdaforums huggingface dataset:
[EVO 4G Themes and Apps] JsChiSurf:
Progress Report

Okay guys, getting real close on this port of the CM Power Control Widget for Sense ROMs. The video below will show you how far along I've come with this port. I've pretty much got most of the cosmetics corrected, but still have a few of the widgets to get functional, most notably bluetooh and wifi (don't think it will be an issue, just need to time to dig in).

This port/mod, upon release, requires changes to services.jar, and framework-res.apk, and as such, if you are using custom themes, edits, etc, you'll probably want to wait and see / request for your ROM dev or themer to take this as a base / starting point to integrate into their ROM or theme, as there is simply no way to do it the other way around. There are just too many edits involved to try and do this any other way in order to retain your previous mods / edits.

You'll see in the video that I actually moved the widget bar below the sprint banner / clear button area, rather than the default above. I think it looks better, curious what you guys think.

Also, while CM allows you to turn on/off widget options via the menu/settings area, I don't plan on going that far, and may either just fix it to 6 most popular, or provide a file on your phone that you can manually modify to specify the widgets (up to 6), you want to use.

Looking for opinions, based on the list below, if I were to fix it to 6, hard coded, what 6 in the list of available widgets would be preferred. Available widgets are:

Airplane mode

Auto rotate

Bluetooth

Brightness

Flashlight *

GPS *

Lockscreen *

Mobile Data

Network mode

Sleep

Screen Timeout

Sound (mute) *

Sync

Wifi

*Included in the video demo below.

Some of these I haven't test and am not exactly sure what they do, lol.

Also, curious what you guys think about the addition of toast notifications when a button is pressed (on screen text confirmation / message) and/or haptic feedback when pressed.

That's it for now. Again, getting close to a release soon.

[YOUTUBE]xIMXTZ8veq4[/YOUTUBE]
[EVO 4G Themes and Apps] myn:
WOW!

This is huge buddy :)

Awesome job.
[EVO 4G Themes and Apps] lookylookitzadam:
My vote goes for:

Bluetooth

Flashlight

GPS

Wifi

Airplane

Brightness

Awesome work btw
[EVO 4G Themes and Apps] jxr94:
I vote

Wifi

Mobile Network

Sound

Bluetooth

Auto Rotate

Lockscreen
[EVO 4G Themes and Apps] eyeballer:
Great work! Any chance of adding 4G to that list?
[EVO 4G Themes and Apps] JsChiSurf:
Thank you sir. This one was one heck of a challenge...
[EVO 4G Themes and Apps] JsChiSurf:
Duly noted. BTW, I should throw my own vote into the ring, since, well, it has the highest priority :D:

Wifi

Bluetooth

GPS

Flashlight

Lockscreen

Sound (mute)

4G is something I'll probably look at once I'm finished with the initial port.
[EVO 4G Themes and Apps] dablackface:
thanks gonna give it a try
[EVO 4G Themes and Apps] TheMagicalSock:
I can see a lot of devs incorporating this into their Sense ROMs in the very near future. Great work. I like the placement below the Sprint bar. I would perhaps consider changing the colour of the buttons from light blue to maybe Android green, but other than that, it's perfect.
[EVO 4G Themes and Apps] eyeballer:
Great thanks. IMHO, GPS is not that important since we know GPS doesn't draw any power when not called on, so most (?) people probably just leave it "on" all the time... but as you said.. your vote is worth the most!

Thanks again, eagerly awaiting this one!
[EVO 4G Themes and Apps] bigfudge:
You are doing great things! My vote would be for WiFi, Bluetooth, flashlight, volume (preferably normal. Vibrate, and silent). Would definitely love a 4G option and perhaps the wireless tether (not the Sprint hotbot).
[EVO 4G Themes and Apps] akazabam:
Very cool :). I would vote for:

mobile network

wifi

bluetooth

gps

airplane mode

brightness or flashlight.
[EVO 4G Themes and Apps] JsChiSurf:
Going to test all currently available options in the default CM version today and let everyone know where they stand.

My biggest concern is, wifi/bluetooth is on everyone's list, mine included, and right now I know those are the 2 confirmed not working yet :(.
[EVO 4G Themes and Apps] evolishesh:
Dude, that is so sweet!!!!
[EVO 4G Themes and Apps] looneylu:
great work... i so excite!!!! lol, js... just curious as to how this mod will play with your other mods and the remove clock/gps/etc from taskbar???
[EVO 4G Themes and Apps] gtkansan:
Gosh I'd give anything have this. After the ease of webos, the lack of this is Android is f'ing annoying.
[EVO 4G Themes and Apps] JsChiSurf:
They will have to be re-applied manually after implementing.
[EVO 4G Themes and Apps] SynisterWolf:
I see that this mod will have a service.jar any way you can edit so people with the hide location or clock mod can use it?

Sent from my slutty assistant. (HTC incredible)
[EVO 4G Themes and Apps] JsChiSurf:
As already mentioned in my post, you will have to re-apply these after release. There's no possible way I can incorporate n-many variations into this mod. Instructions are posted for applying the various status bar edits as desired.
[EVO 4G Themes and Apps] JsChiSurf:
Current working widgets

Okay, just ran some tests of all available widgets.

The current state of things is as follows:

Working:

toggleGPS

toggleFlashlight

toggleLockScreen

toggleScreenTimeout

toggleMobileData

toggleAirplane

toggleSound

toggleFlashlight

toggleSleepMode

toggleBrightness

toggleSync

toggleAutoRotate

Not working (yet):

toggleNetworkMode

toggleWifi

toggleBluetooth

toggleWifiAp (turns on, but won't turn back off via widget button)

Here's a screen shot of a full row of 6 widgets, from left to right:

Airplane Mode | Disable Screen Timeout | Enable/Disable Sync | Enable/Disable Mobile Data | Put Screen to Sleep | Disable Screen Rotation

As referenced in the list above, these all work as well.

Of those not currently working, I plan on focusing on WiFi & Bluetooth. Once I have these fixed (if I am able), I will release. If I am unable to fix in short order, I'll release as-is and keep working on it...
[EVO 4G Themes and Apps] python2121:
This is really awesome, I would be extremely interested in this.
[EVO 4G Themes and Apps] SynisterWolf:
Are you editing any lines in com/android/server/status?

If not I can just swap the work I already did and just recompile the jar and make mm themes for people who dont know smali.

Sent from my slutty assistant. (HTC incredible)
[EVO 4G Themes and Apps] JsChiSurf:
Lol, there's literally thousands of lines of code I've edited in files in that folder, including those related to status bar icon edits :).

You should think of what I am releasing as that which comes stock from HTC, and go from there.
[EVO 4G Themes and Apps] SynisterWolf:
Oh ok. Sorry im not trying to be a **** or anything about it. I think you are doing amazing work here. I will just find the lines and edit them.

Sent from my slutty assistant. (HTC incredible)
[EVO 4G Themes and Apps] JsChiSurf:
No worries. I didn't think you were. It's just that this edit/port is much more significant that a simple one or two line tweak to remove a few status bar icons, and as such, it just makes sense to simply edit it, as desired, afterwords, just as if it were a stock services.jar file distributed initially in any ROM.
[EVO 4G Themes and Apps] MJStephens:
This is just awesome. This is one of the things I really like about CM. But for some reason I just can't get myself to use CM. Plus it's always nice to be able to put stuff like this on my phone so when my Dad's wife says "look at this feature on my Epic" I can go.....oh you mean this feature ;)
[EVO 4G Themes and Apps] SynisterWolf:
I just realized that I had to mod my service.jar to get the 4 in 1 restart mod to work with my phone... Will this mod have that built in?

Sent from my slutty assistant. (HTC incredible)
[EVO 4G Themes and Apps] JsChiSurf:
Pretty sure that's in android.policy.jar. Regardless though, I can't re-iterate enough that this is going to be stock w/ power control. All else is up to the user / themer / developer to take an run with.
[EVO 4G Themes and Apps] JsChiSurf:
Status Update

Just to let everyone know, I just passed another hurdle in terms of providing customization. The last thing I wanted to do was release this, and then have hundreds of requests for, can you have mine have X,Y,Z widget, and mine have A,B,C, etc.

So, as mentioned in the video, I wanted to provide a "rudimentary" means to allow the end user to specify. Just got this working this morning, which I am quite pleased with.

So, there will be a set of 6 default widgets, but you will be able to change / replace them out with your choice of up to 6 widgets from the available list, by simply customizing a file named 'widget.txt' in the '/system/customize' folder. It's pretty nice in lieu of a gui for the same.

The only thing holding up a release is the darn WiFi and Bluetooth. I'm hitting roadblocks getting these two to consistently toggle on/off, and debug logs are giving me no sort of clue as to the problem.

I'm going to spend some time today trying to re-write these rather than porting them to see if I get better luck. If I don't get progress soon, I'll release with what I have, which is essentially all but those 2 widgets (however, probably the more important of the available ones, thus the delay).
[EVO 4G Themes and Apps] SynisterWolf:
It's been a while since I messed with samli to get it to work so you might be right. I just can't want till you release this.

Sent from my slutty assistant. (HTC incredible)
[EVO 4G Themes and Apps] zikronix:
Id like to see

Bluetooth

Flashlight *

GPS *

Wifi (when pressed selection screen comes up to select ap)

Sound (with config options like in cyanogen)

4G

but thats just me.
[EVO 4G Themes and Apps] JsChiSurf:
All of the options in CM will be the same (in terms of functionality) as Sense ROMs, as this is a port. Also, as mentioned, since CM has no 4G, there is no 4G to port, so that will come, hopefully, after the initial release. I don't want to delay this any longer than I already have.
[EVO 4G Themes and Apps] gtkansan:
Understood. Can't wait to try this out!
[EVO 4G Themes and Apps] JsChiSurf:
Wifi toggle now working (completely re-wrote the sucker in smali code). Bluetooth to go. I'm hoping the "fix" will be similar to the Wifi fix I put in place...

Since Wifi takes some time to toggle on/off (part of the issue), I put a nice toast notification in place, acknowledging your button press, so that you know it is working / in process of toggling. If I get Bluetooth working, I'll probably do the same.
[EVO 4G Themes and Apps] HeyItsLou:
As usual another amazing mod thanks for your efforts on this :)
[EVO 4G Themes and Apps] myn:
x100

JsChiSurf this goes without saying. This is one of the coolest mods I've seen.

HUGE thanks.
[EVO 4G Themes and Apps] swindoe:
AWESOME!!! Definition of innovation...look forward to this release.

Sent from my SwinDroid
[EVO 4G Themes and Apps] Circular Pastry:
Awesome work man! We are all indebted to you :-)

tapatalked from my SUpersonic.
[EVO 4G Themes and Apps] JsChiSurf:
Thanks guys.

You may recall in my last post I mentioned that I finished getting the wifi toggle working by re-doing, essentially from scratch, the smali code. Well, I started attacking bluetooth this afternoon and it proved to be a touch more difficult, but NOT DIFFICULT ENOUGH :p. Bluetooth toggle is now working as well!

So, I'm pretty much there. The only one not working now is AP toggle, but I'm going to leave that for v2.0. I'm tired!

I have tons of code cleanup to do and I need to package it up for release, and provide instructions, etc, which is going to take some time.

In the services.jar file, I'll build in the transparent notification menu option, and the gps reticle hidden when gps off, as defaults. All other customizations that I can think of are user specific, based on preference, so I'll leave those to be applied as desired afterwards. Please let me now if you can think of any others that should be default behavior. Things like hiding the clock, battery, and others, as mentioned, is user specific and will NOT be part of the base release.

The framework-res.apk has major rework as well, so I'm thinking I'll release it in two versions, one, as part of the services.jar and framework.jar update zip to flash via recovery (all encompassing).

And another option, which is just services.jar and framework.jar to flash via recovery, and the framework-res modifications as a MetaMorph to be applied separately, so that it has minimal impact on themes / custom ROMs that users may have applied.

Lastly, based on feedback, I'm thinking the default (which can be changed, as mentioned) 6 widgets will be:

GPS | WiFi | Bluetooth | Mobile Network | Flashlight | Silent Mode

Stay tuned...
[EVO 4G Themes and Apps] SynisterWolf:
You sir are awesome!

Sent from my slutty assistant. (HTC incredible)
[EVO 4G Themes and Apps] bigfudge:
Ummm, yay! It's already been said, but you are awesome.

Also, did you mention earlier that it would be customizable how many widgets will be in the drop down menu? I only foresee wanting 3-4 toggles in there. Cant wait untl you can get 4G toggle in this, will be perfect then.
[EVO 4G Themes and Apps] JsChiSurf:
You can have up to 6 widgets, and there will be the full 6 by default, but you will be able to customize it to whatever quantity and widgets (up to 6) you want. There will be instructions for how to do it when I make the official post.

I don't think 4G should be a problem, but I'll find out for sure once I attempt to tackle it.
[EVO 4G Themes and Apps] looneylu:
I've always like sense, but you make me not envy AOSP users. Sense can be every bit as customizable and AOSP imo.... lol, just not as simply
[EVO 4G Themes and Apps] JsChiSurf:
Testing...

I have everything packaged up as a flashable zip and am testing right now.

Wiped, installed a fresh copy of Fresh 3.4.0.1 (my base / starting point), flashed the zip, and she came up nice and pretty with the default 6 widgets. Pushed the customization widget file to my phone, rebooted, and she came up with the 4 custom widgets I specified (overriding the defaults), so all is looking good.

I'll probably start a new thread when I push this out, and I'll post in here to let everyone know, who is following this thread, when it is live.

With so many changes, I don't even think a MetaMorph is practical for the framework-res.apk file, so this is going to reset some themeing that will have to be redone to the new framework-res.apk.
[EVO 4G Themes and Apps] SynisterWolf:
Did you have to add any png to the framework? If not the it should be easy for themers to just add there icons and go from there.

Sent from my slutty assistant. (HTC incredible)
[EVO 4G Themes and Apps] JsChiSurf:
I don't know if that matters per-se, in terms of adding .pngs, but yes, I added many, as well as modified and added new XML files, and an updated resources.arsc.

But yes, you should be able to grab the .pngs from the old themed framework-res file and insert them into the new w/o issue.

But, if someone attempts to flash a theme over top of these, that replaces the framework-res.apk file as a whole, it will without a doubt bork their phone, resulting in a bootloop. This is what I am most concerned about, is newbies applying this mod, the trying to flash a theme over top. It simply won't work, as the theme will replace the newly created / modified framework-res file.

If the theme is in MetaMorph format, it "should" probably still work.
[EVO 4G Themes and Apps] SynisterWolf:
Good to know. Make sure this is noted in the final thread so you won't get 100 pm on how come there phones has a boot loop. Lol again great work you are amazing sir.

Sent from my slutty assistant. (HTC incredible)
[EVO 4G Themes and Apps] JsChiSurf:
It's Live. Who wants to be the guinea pig?
[EVO 4G Themes and Apps] SynisterWolf:
Me please.

Sent from my slutty assistant. (HTC incredible)
[EVO 4G Themes and Apps] Circular Pastry:
I'd nandroid the aosp I'm running now just to do so!

tapatalked from my SUpersonic.
[Nexus One Q&A, Help & Troubleshooting] croyd:
Hi there,

I have unlocked my Nexus One but I noticed that the bootloader says S-ON. Is there anyway to switch it to S-OFF? I searched the forums but it looks like I cannot switch it. Is this true?

What is the difference between S-OFF/S-ON...as in does it limit me from doing anything?

I tried to flash a recovery image onto my phone and it seems to work but once I reboot, the options in my recovery image dissappear and I have to reflash again. IS this due to S-ON?

Thanks,

Croyd
[Nexus One Q&A, Help & Troubleshooting] Rusty!:
Not do-able.

All you gain from it is the ability to lock the bootloader up again, the recovery going missing is because the stock one is reloaded on reboot. You can rename/remove 2 files and it'll stop happening.
[Nexus One Q&A, Help & Troubleshooting] croyd:
Thanks for the info.

What are the 2 files that need to be renamed.

I see a file called /system/etc/install-recovery.sh. Is this one of them?

Thanks,

-Croyd
[Nexus One Q&A, Help & Troubleshooting] Rusty!:
Yes that is one, the other is /system/recovery-from-boot.p
[Nexus One Q&A, Help & Troubleshooting] Jack_R1:
Read the Recovery section from Wiki.
[Nexus One Q&A, Help & Troubleshooting] croyd:
I figured it out the 2nd file. Thanks anyways!

Croyd
[Nexus One Q&A, Help & Troubleshooting] casual_b:
I've have recently unlocked and flashed cm10.1 ROM and I'm on s-on. Is there now a way to change it to s-off?? I want to update the radio.

Thanks in advance.
[Nexus One Q&A, Help & Troubleshooting] Rusty!:
You don't need to be S-OFF to flash the radio.
[EVO 4G General] ticktock:
Hey, guys had the strangest thing happen a few minutes ago to my phone. Had it on for the past couple of days running Cyanogenmod 6.1 RC1. I turned on the touch based security for my login to the phone for added security, included in cyanogenmod. When I hit the power button to look at my phone the buttons were being pressed, it wasn't like one or two buttons, but a combination of five or six and it was going in different random patterns, like someone was remotely trying to guess my security sequence. My screen automatically goes to sleep after a minute and it did so, but when I pushed the power button to turn the screen back on, the strangeness was still going on. My addon apps installed directly from the app store include:

AK Notepad, Titanium Backup, Istock manager, google maps, sports tap, android terminal emulator, robo defense free, the weather channel, passwdsafe, google sky map, gmail, kindle for andriod, astro file manager, listen, rom manager, driod wall, pandora radio, angry birds, documents to go, stargamer, and amazon mp3.

So anything here look malicious or any ideas why this could be happening? Whenever I updated to 6.1 RC1 I did a full wipe as well as cache wipe. Anyone else seen anything like this or recommend anything? I rebooted and everything seems back to normal?
[EVO 4G General] Cy_n_ic:
Sounds like a good question to ask cyanogen directly, i know theirs a link somewhere for bug reports on his rom thread.
[EVO 4G General] drmacinyasha:
Sounds to me like your screen wasn't grounded or something along those lines. Disconnect USB, yank battery, boot solely from battery and try again.
[EVO 4G General] Last-Chance:
agree with drmacinyasha. If it was a rogue app or something of the sort, it wouldn't need your pass code since it has access to the system itself.

The only reason the the pass code is there, is for the user, not the applications that are running, else all the apps would automatically terminate or idle when you put it on standby.
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] PetoG:
Hi All,

Q: This is to ask you if your lovely HD 2 mutes your ringtone in jeans pocket?? When I walk, someone calls me and to 2-3 seconds is silence.
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] PetoG:
I think it's because this big touch button "mute ring" when call is incoming... Is it possible to disable it? Or do some slider instead this button?
[HD2 General] marianchez:
All, I just repeated my flashing of the last official upgrade posted on Oct 19th 2010 for the HD2 in the HTC web page, Support area. It makes the unit go TERRIBLY SLOW ALL THE TIMES!!, the memory consumption can arrive up to 90% with NO APPLICATION OPEN!!!!!!!! IT IS A DISASTER!! I think that if HTC see a forum here it will pay attention and remove that upgrade from web page. At least for the Chezck region. The phone said it had an amount of memory free when you installed programs, but when you went to see the value in the About area, the numbers were very different. I just moved back to the previous version.
[HD2 General] samsamuel:
you have hspl installed still, would be my guess.

if not, do a hard reset and start over. perhaps even flash it again.
[HD2 General] kurt-willems:
Sir 90% of the problems on the latest stock Rom 3.14, isn't the fold of Device/Rom

But the user!

Stock Rom 3.14 isn't compatible with HSPL.

Is this a problem of HTC??? No!!!

Because this is a product create by users not support by HTC.
[HD2 General] lovanova:
I've been using it for2 wks and I find it extremely stable and very fast. So except for some bugs n issues that I've already reported to HTC hoping for a hotfix soon (lack of slide down menu and inability to use other phone features during a phone call, poor radio reach/higher battery drain being a couple of ones that bother me the most), it's worth giving it a try if you want a speedy and crash free experience for a while.

Btw, in my case, the upgrade was from stock ROM 1.66, and no HSPL/cooked Roms ever installed.
[HD2 General] mandel4026:
Tethering with Rom 3.14?

Does the new rom permit tethering via Tools/Internet Sharing?
[HD2 General] davemayur:
Hi mandel4026,

I wonder why do you doubt the 'Tethering' option in the HTC official ROM upgrade.

The HTC website mentions:

'Tethering:

* Internet Sharing through USB or Bluetooth

* Wi-Fi Router'

as it's specification. I believe that they wouldn't turn-off the feature this ways through a ROM upgrade.
[HD2 General] pakure:
mandel is worried that he thinks since tmobile will charge seperately for tethering now, the new rom upgrade for tmobile will have the function bundled to tmobile applications and not as default in device tools like in roms elsewhere outside the US...i think it may not be the case, mandel;)
[HD2 General] DexterDuck:
I have updated to 3.4 and on the whole it works great but I also have the issue that in a call there is no slide down menu as in the prvious and none of the functions work - not even bringing up the keypad or putting it on speaker!!

Has anybody found a fix for this or do we need to wait for a hotfix from HTC??
[HD2 General] pakure:
slide down menu in call can be shown/hidden by using bsb tweaks
[HD2 General] Imperator Nick:
Has thee been an official 02 one yet or are you using one from elsewhere?
[HD2 General] samsamuel:
no, not yet. watch this page

http://www.htc.com/uk/supportdownloadlist.aspx?p_id=297&act=sd&cat=all
[HD2 General] dexterslab:
phone screens work perfectly for me, speaker buttons and keypad much easier to access without that slide down panel
[HD2 General] OrionCarl:
just installed it....will see how slow it is
[HD2 General] htchd2sucks:
Ho! that's really stable then :D

Minor issues, who wants to use the phone features or bother about radio or battery efficiency??

:D

I see that the HTC support are still doing good...

PS: do yourself a favor, replace their "romgarbage" and try some on this forum.

I had Artemis 29 for months with nearly no issues. It also solved all HTC rom issue I had!
[HD2 General] lomo2002:
hi guys, i have the same problem with memory and another strange problem is, i cannot install some of my medical programs. Is there anyway to restore the old HSPL? or any other solution. I tested some of the customized and they were unstable, so i prefer to use the stock rom? so any solution for HSPL restoring?