Has anyone figured out how to remove the location icon from sense 3.0 based roms?
I decompiled the services.jar and searched for the htccdmastatusbar.smali but its not included there.
I also checked in systemui.apk and found the htccdmastatusbar.smali but was unable to locate line:
Code:
invoke-virtual {v0, v1, v4}, Lcom/android/server/status/StatusBarService;->setIconVisibility(Landroid/os/IBinder;Z)V
Here is the thread for REF: http://forum.xda-developers.com/showthread.php?t=780324 NOTE: This thread is froyo based mods not GB.
If anyone has any info on this please share and thank you in advanced.
Regards
+ 1
I have been searching everywhere for how to do this.
I have an evo 3d and this is one of the only threads I could find about it on sense 3.0
From what I have read it is in services.jar what Smali to edit and what edits to make are what I am trying to figure out.
There are a few guys that have done it but with no real explanation of how.
I guess my next step is to pm one of the devs and ask directly because comparing files isn't giving me what I need.
+1 on this, I would LOVE it if this icon could be hidden.
Couldn't you just do it by way of theming and create a crystal clear .PNG that shows up instead of the location thingy? Its always at the very end of the icons up there anyways, might as well just trick the phone into thinking it's displaying something.
I think I read somewhere jermaine had accidentally done it and was figuring out how he did it. There's a thread in the development section.
Sent from my ADR6300 using XDA App
pwned3 said:
I think I read somewhere jermaine had accidentally done it and was figuring out how he did it. There's a thread in the development section.
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
Correct, he did figure it out, and twenty minutes later I was able to figure it out. I actually asked him to review what I'd found, crazy coincidence there. There's a couple of ways to do it, here's the way I did it.
Link
Related
ok so im trying to figure out how to edit the htc clock widget to open a different clock like desk clock. can this be done?
def's uncommon rom is the only one that i know of that does it. good luck getting him to tell you how. def is one of my favorite dev, i'm not calling him out. all the dev keep there findings to them selves really.
question... how come people don't share there tweeks and hacks anymore?
i remember full threads on reg edits, tweeks, and hacks, that people would share with the world. I actually had threads where i would take requests, and cab them up for people to be able to install easily.
big difference between the WM day to the current droid days.
cody
^be very nice if this were the case. As fully customisable, unique rom, suited to your needs.
Sent from my Droid Incredible using XDA App
i sent a pm to the owner of the rom and i am awaiting a reply back. im not trying to take credit for something i just dont want to have to run beautiful widgets when i spent all the time on making custom flip clocks.
codyppc said:
def's uncommon rom is the only one that i know of that does it. good luck getting him to tell you how. def is one of my favorite dev, i'm not calling him out. all the dev keep there findings to them selves really.
question... how come people don't share there tweeks and hacks anymore?
i remember full threads on reg edits, tweeks, and hacks, that people would share with the world. I actually had threads where i would take requests, and cab them up for people to be able to install easily.
big difference between the WM day to the current droid days.
cody
Click to expand...
Click to collapse
That is a very ****-headed thing to say. I am MORE than willing to help anyone out with reproducing ANY of my mods. I keep nothing secret, and I literally JUST replied to the OP's PM, just before reading your completely asinine comment. My PM box is FULL of questions AND answers with guidance on duplicating mods. Truth be told, I do not POST these modifications and how-to in their own threads for one reason only. I do not have the time to support them.
ok so i can find where the activity is and change it but when i push to the phone nothing changes...
deficitism said:
That is a very ****-headed thing to say. I am MORE than willing to help anyone out with reproducing ANY of my mods. I keep nothing secret, and I literally JUST replied to the OP's PM, just before reading your completely asinine comment. My PM box is FULL of questions AND answers with guidance on duplicating mods. Truth be told, I do not POST these modifications and how-to in their own threads for one reason only. I do not have the time to support them.
Click to expand...
Click to collapse
Def, I was not trying to be a **** head and don't see that my post directed anything negative towards you. I was iust stating that a few years ago, members in the Windows mobile forums shared everything. Infact, there were http://forum.ppcgeeks.com/windows-mobile-hacks-tweaks/ forums just for regedits and hacks. I don't find that on the 2010 Android forums.
I didnt mention the guy who posted a zip file that was able to put the 6 bar signal meter in the task bar. He clearly stated that he pulled it out of your Rom. http://forum.xda-developers.com/showpost.php?p=8758884&postcount=22 Then your reply saying something about you not liking what he did. To me that said the Android developers didn't want the secret out of the bag. It's not just you. I have ran quite a few roms and really liked certain parts, but didn't keep it for the fact that I didn't like other parts. I have searched for ways to get just the good hacks and tweeks, but there just not there.
For the record..... I am sorry Def. I was not saying that your bad for not posting everything you do. I was just trying to say that there's a good chance he will not get the information he seeks. That's just the way Android forums are going these days.
here is a couple thing i would like to add to my roms, but cant find information on them. correct me if i'm wrong, but people just dont share this stuff.
1. 6 bar signal
2. htc clock widget launching vanilla clock
3. app drawer 5 icons wide,
4. battery percentage in battery icon
yes, def's roms have all of these. that is why i run his rom. at least until he bans me from his roms due to this thread.
Sent from my ADR6300 using XDA App
codyppc said:
Def, I was not trying to be a **** head and don't see that my post directed anything negative towards you. I was iust stating that a few years ago, members in the Windows mobile forums shared everything. Infact, there were forums just for regedits and hacks. I don't find that on the 2010 Android forums.
I didnt mention the guy who posted a zip file that was able to put the 6 bar signal meter in the task bar. He clearly stated that he pulled it out of your Rom. Then your reply saying something about you not liking what he did. To me that said the Android developers didn't want the secret out of the bag. It's not just you. I have ran quite a few roms and really liked certain parts, but didn't keep it for the fact that I didn't like other parts. I have searched for ways to get just the good hacks and tweeks, but there just not there.
For the record..... I am sorry Def. I was not saying that your bad for not posting everything you do. I was just trying to say that there's a good chance he will not get the information he seeks. That's just the way Android forums are going these days.
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
Well I would like to say he got me started and I found where the attribute is for opening world clock and I have changed it to deskclock but I think I'm doing something wrong with the apk tool because when I push it to the phone and launch it still opens world clock but in the files its self it says deskclock. I wish I knew more about the Android language but sadly I don't and I'm going to keep trying.
synisterwolf said:
Well I would like to say he got me started and I found where the attribute is for opening world clock and I have changed it to deskclock but I think I'm doing something wrong with the apk tool because when I push it to the phone and launch it still opens world clock but in the files its self it says deskclock. I wish I knew more about the Android language but sadly I don't and I'm going to keep trying.
Click to expand...
Click to collapse
i am am really glad to see people like def who is trying to help others instead of just posting there roms.
I am 38 years old, married with 4 kids. i have been on the forums for a long time and know what and how they work. i was not trying to start anything, i love helping people and learning. that is why i like the forums.
i have made 2 apps for windows mobile and never thought of charging for them. one of the apps had over 20,000 downloads. my favorite thing to do was help people learn to make there own.
back on topic....
i would really like to have a zip to flash this htc clock mod. it is one of my favorite parts of def's uncommon rom. i dont have the time anymore to learn a lot of coding. at least i don't think so. kind of new to android so i dont know if it's easy or not. flashing zip files is easy. lol.
^ That would be pretty sweet! Wish everything was easy as flashing a zip.
Sent from my ADR6300 using XDA App
KGBxxx said:
^ That would be pretty sweet! Wish everything was easy as flashing a zip.
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
i use to cab up rededits for easy installs. i dont know if you know what red edits are or not, but many people wouldnt do them because they were tough. cab files were just like apk for android. zip files are just as easy really. maybe someday.
http://forum.ppcgeeks.com/windows-m...e-regedits-get-em-here-requests-welcomed.html
I want to modify the HTC Clock Widget so that it will open a different clock/alarm program than the stock when touched. I've pecked around in the files contained within it and off the bat I don't see anything that links to the clock. Any thoughts anyone?
Modify:com/htc/widget/clockwidget/util/MyUtil
Code:
.method public static launchWorldClockAp(Lcom/htc/home/HostActivity;)V
...
......
const-string v1, "com.htc.android.worldclock"
const-string v2, "com.htc.android.worldclock.WorldClockTabControl"
hillside said:
Modify:com/htc/widget/clockwidget/util/MyUtil
Code:
.method public static launchWorldClockAp(Lcom/htc/home/HostActivity;)V
...
......
const-string v1, "com.htc.android.worldclock"
const-string v2, "com.htc.android.worldclock.WorldClockTabControl"
Click to expand...
Click to collapse
Thanks, but what am I editing here? I can't find any reference to anything you've got there. Sorry for my noobness, but...I'm lost.
I do not know English, I rely on google translation
Need to decompile classes.dex, with baksmali or apktool.
gilliduck said:
Thanks, but what am I editing here? I can't find any reference to anything you've got there. Sorry for my noobness, but...I'm lost.
Click to expand...
Click to collapse
Yep, you'll have to decompile to exit smali code, like posted above. You'll basically need to enter the package name for the app you want it to open...then recompile...it's a process that if you really don't know what you're doing, you'll need to learn.
You're best bet would be to PM one of the Bad Seeds Customs themers, as I know stoney666 may be able to help you out, since he's themed them before. He may be able to do it/or point you into the right direction.
You can also download Fancy Widget from the Market. It offers Sense-like clock widgets that looks exactly like the HTC Sense clock. You can change what it launches when you touch the clock, weather and date within the app. Now the clock in this widget doesn't actually flip and the weather animations aren't as good as Sense, so that's the compromise. If you want to keep the flip, then you'd have to keep the HTC clock, and would have to do the procedure stated above.
Beautiful Widgets also has Sense-like clocks that has the same functionality.
I know this doesn't actually answer your question, however, is an alternative to get to the function that you want.
RMarkwald said:
Yep, you'll have to decompile to exit smali code, like posted above. You'll basically need to enter the package name for the app you want it to open...then recompile...it's a process that if you really don't know what you're doing, you'll need to learn.
You're best bet would be to PM one of the Bad Seeds Customs themers, as I know stoney666 may be able to help you out, since he's themed them before. He may be able to do it/or point you into the right direction.
Click to expand...
Click to collapse
No problem on the decompiling/compiling. Figured that out. The code is interesting looking, not as straight forward as I was hoping. I found the references to the clock app and changed those over to what I want (Gentle Alarm), but after pushing it back no joy. Not sure what the problem is, my first guess is that I didn't have system properly mounted and the push never actually pushed. When I get another day off I'll look at the code again and see what's up.
If anyone is willing to save me the time and potential frustration though, I'd like for Gentle Alarm (com.mobitobi.android.gentlealarm-1.apk) to be the apk that gets opened when I touch the clock widget. If anyone is willing to tell me specifically what to edit, I'd appreciate it. I'll eventually figure it out, but it'll take me just shy of forever I imagine.
I've searched and searched and searched and can't find this info. anywhere. I found lots of post where people say they have fixed wimax in their ports, but of course they never share how. I assume that all the dev help was done in PM. All the PMing of dev info. around here makes it very hard to search for help or "how tos" on issues. I'm hoping that someone will be willing to take the time to help me out here.
I've been working on a Speedy port. I know it's old software at this point, but since this is my first port, I figured I'd start out with something easier than 3.5.
Because Speedy is a Sprint phone and naturally has 4g capability, I assume that all the needed files are already in there. I further assume that I must just need to edit the correct file/files in order to get it to work on an EVO. Just for ****es and giggles I've replaced all the Speedy wimax files with Supersonic wimax files, but still a no go.
These are all the files I've switched out so far:
From system/bin:
dhcpcd
sequansd
setWiMAXPropDaemond
getWiMaxPropDeamond
wimax_mtd
wimax_uart
wimaxAddRoute
wimaxConfigInterface
wimaxDhcpRelease
wimaxDhcpRenew
wimaxDumpKmsg
wimaxDumpLastKmsg
wimaxDumpLogcat
from system/etc:
the entire "wimax" directory
from system/lib/modules:
sequans_sdio.ko
wimaxdbg.ko
wimaxuart.ko
I think that's all of them. I read somewhere that it involves changing some code in a few files, but of course, again, they didn't mention which files to look at to make these changes.
Can anyone tell me where I should be looking? I've done lots and lots of comparisons on different files between my ROM and a couple other ROMs that have wimax working, but I'm just missing it somewhere.
I don't think I need someone to explain it detail, I just need someone to tell me where exactly I should be looking.
Many thanks in advance for anyone will to help me out on this.
Alot more to it then the files. Alot of its hardcoded into framework and jar files. If it was easy enough it would be done. A few of us have been trying to get into 3.5 but no luck has really been made yet. In time we will figure it out.
Sent from my PC36100 using xda premium
Yes, I realize that it's a lot more than just replacing files. I only mentioned that because I assumed somebody was going to mention those files. I could also list everything else I've looked into, but I figured I probably wouldn't get any help anyway so why bother.
I'm not a noob to this. As I stated I'm working on a speedy port in which most everything works except for 4g. That in and of itself should be enough to show that I would at least realize it's not going to be as easy as replacing files. I've had to open things like framework.jar many times and mess with smalis and what not. This why I didn't ask for a detailed explanantion but more of a where should I start looking.
As stated, I'm not using Sense 3.5 at the moment, but Sense 2.1. There are many 2.1 ROMs with working 4g, so the answer has already been discovered. It's not in any public forums or anything that I can find.
If I need to post a link to my ROM here so that someone will take me seriously, I'd be more than happy to.
Sorry I wasted your time then by answering your question.
Sent from my PC36100 using xda premium
dropzeroc said:
Sorry I wasted your time then by answering your question.
Sent from my PC36100 using xda premium
Click to expand...
Click to collapse
What is with all these people getting pissy when people answer questions? You asked. You got answer. No need to try and artfully flame someone.
Boo
If you're talking to me, there was nothing remotely close to an answer to be found in his reply.
WIMAX incorporation
Couldnt this be done by downloading the source from HTCDEV and just porting over the wimax driver?
I'm looking into developing an app that adds a current-app-restart function for force-quitting the current app with focus and then restarting it. But, I want to add it to the Navigation Bar in ICS (requiring root would be fine) but I can't seem to find anywhere that talks about creating an app that inserts a button into the nav bar. If it is possible, will it have to be manually started via a regular app link or can it register itself with the OS? Either way is fine; the latter preferable, of course. The app logic itself is no problem, it's the adding a nav button I need help with.
Anyone able to point me in the right direction for documentation? Is it possible without recompiling the rom? Thanks for the help.
As much as I want to help you, I know almost nothing. I do know you're in the wrong section though. Try the Q&A. And when you do make this, you could post it here, or maybe themes and apps if its an app.
Sent from my Galaxy Nexus using Tapatalk 2
hmm.. figured android development would be the place to go for android development. I'll post in the other forum and if I find something I'll post back.
sanosuke001 said:
hmm.. figured android development would be the place to go for android development. I'll post in the other forum and if I find something I'll post back.
Click to expand...
Click to collapse
Here the mods/users prefer to see a work in progress or a finished product. Sorry
Sent from my Galaxy Nexus using Tapatalk 2
sanosuke001 said:
I'm looking into developing an app that adds a current-app-restart function for force-quitting the current app with focus and then restarting it. But, I want to add it to the Navigation Bar in ICS (requiring root would be fine) but I can't seem to find anywhere that talks about creating an app that inserts a button into the nav bar. If it is possible, will it have to be manually started via a regular app link or can it register itself with the OS? Either way is fine; the latter preferable, of course. The app logic itself is no problem, it's the adding a nav button I need help with.
Anyone able to point me in the right direction for documentation? Is it possible without recompiling the rom? Thanks for the help.
Click to expand...
Click to collapse
What's ICS?
Since you'd have to edit code, it cannot be done without decompiling/recompiling. Edits in both SystemUI.apk and frameworkres.apk, but I wouldn't even begin to know what xml's and other edits would be involved.
Plus, I think you've got this posted in the wrong thread friend. Should be in general.
Sent from my Galaxy Nexus using Tapatalk 2
Seriously? You say general, the other guy said Q&A. gd this forum is confusing...
I'm not looking to edit the OS, I'm looking to create an app that adds a button to the nav bar. If that's not possible, I guess I'll abandon the whole idea because I don't want to have to recompile my current ROM everytime it gets updated :/
sanosuke001 said:
Seriously? You say general, the other guy said Q&A. gd this forum is confusing...
I'm not looking to edit the OS, I'm looking to create an app that adds a button to the nav bar. If that's not possible, I guess I'll abandon the whole idea because I don't want to have to recompile my current ROM everytime it gets updated :/
Click to expand...
Click to collapse
If you are asking a question then Q&A seems like a good fit. If you are making a statement or giving info then general is usually the correct place...
The simplest thing to remember though if there is nothing released or developed then the development section is most definitely not the correct place to be in.
This section is the place where the users have no mercy. You can get away with the other sections a whole lot easier. Oh, and then there is the apps and then section where you will find some mod as well.
How that helps...
It cannot be done with vanilla ICS... You'd have to customise the navigation bar code to do what you want... AOKP has the ability to add any app shortcut to the navigation bar... You could use that as a reference...
I figured Q&A would be for android questions, general for conversation, and development for development. As I'm looking to "develop" an app, it seemed reasonable.
Oh well, I posted in the Q&A forum. Thanks for the help, I'll get it down eventually.
The guide on this post should help get started. I don't know if you can insert references to an external app as it looks like the entries tie into the resources in the navbar itself. Anyways have a look: http://forum.xda-developers.com/showthread.php?t=1743979
Also as others have stated, questions (even having to do with development) belong in the Q&A section. There's also a separate xda section for help developing apps which would probably be a prime place to start as they would know more about general ICS things such as nav button editing.
Don't know how to write it but to me with root access it would seem like every time you wanted to change a nav bar button it would need to place the apk into the system which normally if you run adb push Systemui.apk to your phone it usually force closes the systemui and will either restart after pushing or need a reboot to take effect. I don't know of a way to push images or xml changes to a apk without pushing a whole apk in example I don't think you can do this
adb push battery_charge.xml /system/app/Systemui.apk/drawables/battery_charge.xml I would look into how t mobile theme chooser is written that allows things like that to happen should be a pretty good start.
Sent from my Galaxy Nexus using xda premium
Thanks! I'll take a look
Help wanted/needed. I am currently trying to make my own rom. Not for the purpose of entering the world of development. Its just for self satisfaction and stuff.
The help i need is with altering an app within the rom i am using as a base. I have managed to decompile and all that but once inside i really cannot understand code so don't have a clue what i am looking at. The app I wish to adjust is the setup wizard. If anyone is interested in helping please get in touch. Much appreciated. I could always give the app to whom knows how to do what i want but then i wouldn't learn from it which for me is the most important part of the process. So hopefully there is someone out there that can help. Not expecting to learn code java from this small piece of help but I know if i can identify what needed changed to eliminate one part of the setup wizard process will have not just helped but open many doors for further altering. Cheers in advance and willing to reward the willing help......
Its likely to be a smali edit that you will need to do.
There are going to be very few people in these forums who would be able to perform the work you require.
Working with the source if its available is your best bet as modifying the recompiled byte code is a real pain.
Simple things in source like colour=black become a specific lines like const v4, -0x1
Depending on where they are in the code. If your not familiar with smali you probably have a long struggle ahead but I hope you get sorted
Sent from my HTC One X using xda app-developers app
bagofcrap24 said:
Its likely to be a smali edit that you will need to do.
There are going to be very few people in these forums who would be able to perform the work you require.
Working with the source if its available is your best bet as modifying the recompiled byte code is a real pain.
Simple things in source like colour=black become a specific lines like const v4, -0x1
Depending on where they are in the code. If your not familiar with smali you probably have a long struggle ahead but I hope you get sorted
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
Thx n thought it would be over my head. But have just remembered my I had tried swapping the setup wizard app with another and it didn't change anything. This Rom has somehow incorporated there changelog to show during setup wizard app running. Instead of having it in aroma. Its very cleaver and the change of app gave me no result. Any ideas where to look for changelog much appreciated.