yashsingh1/xdaforums huggingface dataset:
[Hero, G2 Touch Android Development] hawst:
Nothing changed from RC1 in this part. Can u please explain what is not works ?

PS. I tried (when added RTL support) with Hebrew locale, even w/o fonts all texts becomes right aligned (there was squares and some strange chars) but it looks like Right to left works.
[Hero, G2 Touch Android Development] hawst:
Mmmm, there is beggiest problem that u need to resign all .apks which use same shared uid (AndroidManifest.xml - on top - android:sharedUserId attribute). Or more simple way - after apktool build new apk, goto sunfolder build/apk/... and take compiled 9.pngs or whatever u need and replace in original .apk , like u did it before (w/o apktool).
[Hero, G2 Touch Android Development] Armrhero:
Noob question

Goodnight Hawst,

Thank you for this wonderful work already done on the 2.4. Now I will ask a very stupid question, but it does not seem to have read the answer somewhere, to make a nandroid hand, do I make a complete wipe before flashing 2.5??

Thank you in advance for your reply.
[Hero, G2 Touch Android Development] hawst:
Yeah, u mostly not read changelist for 2.5 ;). Please give it a try to install 2.5 on top of yr 2.4 w/o any wipe. Mostly it should work, if not please revert here about yr expirience. Ability to upgrade w/o wipe is one of features in 2.5.

PS. Please dont forget that upgrading w/o wipe is not 100% sureness that it will work. This is like to install Windows 7 on top of XP - it may work or may not depend on software and settings before upgrade, so it mostly should, but may not...

PPS. The fix to upgrade for those who using app2sd already incorporated into 2.5.
[Hero, G2 Touch Android Development] Armrhero:
Thank you very much for the quick response. I know well all that is installing windows, but I lack understanding of English to understand everything in the XDA forum, hence my question, because usually I format the SD card and I am doing a full wipe and later try to change a new rom, and of course always a backup nandroid present on the SD card in case of problems.

Good luck for the continuation and eventual bug fixes.
[Hero, G2 Touch Android Development] hawst:
HtcDialer fix for some locales (russian and some other) for 2.5RC2.

PS. If u dont have problems with Dialer - u dont need to update.
[Hero, G2 Touch Android Development] DonNaWaF:
before I flashed the arabic fonts it shows Arabic letters squares .. and I couldnt see if RTL work ..

and after I flashed the arabic fonts in sense and messages app its RTL BUT not connectd and in the apps its LTR ..

Arabic is Right to left and connected like this (العربية) But in the rom its like this (ا ل ع ر ب ي ة)

and thank you very much for your work ..
[Hero, G2 Touch Android Development] hawst:
Understand problem. Will take a look more deep inside. Mostly i need to ask someone around XDA to help me. Hope i will fix this.
[Hero, G2 Touch Android Development] whitealien:
Very interesting solutions. I'll check for those. Thanks.

Btw, did you run some optimization on your apks, like zipalign?
[Hero, G2 Touch Android Development] hawst:
Yes, zipalign i run every time on .apk is changed. Also every new version build all changed .apks are passed thru few other optimizations.
[Hero, G2 Touch Android Development] Maryan:
...after few minutes of use HTC Keyboard and Gallery FC
[Hero, G2 Touch Android Development] whitealien:
Maybe it will sound weird, but you have to do full wipe after 1st boot. It will solve a lot FCs and will remove some old leftover settings.

Also I would like to report one minor bug. When you try option "get more widgets " you can download and install, but widget will never show up in list. I can get logcat if you want, but later, since its very late right now.
[Hero, G2 Touch Android Development] Hero user:
Arabic support

Really it is awesome ROM

But as member said before

need Arabic support
[Hero, G2 Touch Android Development] rdejager:
Ok i did my 2.5 RC2 test :P and I must say, nice :D

Speed is nice, stability great, well nothing more to say.
[Hero, G2 Touch Android Development] hawst:
This is not bug, this is feature :). Please check 3rd post for "Additional HTC widgets for Tegro 2.x"

Guys, can i ask please to test all available settings in Tegro Settings. I want to be sure that all of them are working fine before to release 2.5
[Hero, G2 Touch Android Development] whitealien:
How it can be a feature if it does not work? But yeah, I see that you provide those widgets as separate addons.
[Hero, G2 Touch Android Development] oeljaml:
There is no Arabic font, so the letters appears as squares
[Hero, G2 Touch Android Development] hawst:
Yes, it is so. U need to find arabic font yrself.
[Hero, G2 Touch Android Development] whitealien:
hawst, I think your Rosie patch which should fix its laag with full screen animations is not working. I installed Rosie from 2.4 version and sense become a lot snappier and faster.

Also I suggest for everyone who prefers performance to disable full screen animations, coz together with flipclock its really kills the system.
[Hero, G2 Touch Android Development] dkelley:
Don't forget where this rom comes from - it's based on a slide rom. for the slide phone, not the hero. htc servers won't be friendly to it at all and it seems very likely that HTC's servers is where this precompiled htc executable is searching for those widgets.

This rom calls HTC, says hi I'm a slide hero tegro 2.5 rc2, can I have my extra widgets please?

htc's server says "wtf ARE you??? go away."

the developer's solution DOES work perfectly and is not a bug. It's a solution he provides to a problem that isn't his and that he can't fix thanks to HTC's code, not his.

he provides the widgets as downloadable version for you since HTC won't provide them to you when running a rom for a different phone on your hero.

and based on your reaction to hawst quoting the expression "it's not a bug, it's a feature" .... that's an old in-joke between developers :-)

Cheers
[Hero, G2 Touch Android Development] hawst:
Mmmm, mostly u did or understood something wrong. That fix is just few lines of code (somehow missed in slide rom, but exist it stock rom) to stop weather animation then user touches the screen - really about 3 lines of code... so mostly impossible that its not work.

PS. May be its has some a bit low perfomance... coz i didnt apply my release optimizations to that fix.
[Hero, G2 Touch Android Development] hawst:
Guys, as i see there is no serious issues (mostly no issues at all) in 2.5RC2. But as understand menu key enable/disable option in Tegro Settings not work, right ?

I need one tester to fix that option and release 2.5

For those who want to help:

1) Do full wipe (may be few times to be 200%)

2) Flash 2.5RC2

3) Boot, goto thru wizard

4) By default there will be HTC lockscreen

5) Check what is set in Tegro Settings for menu unlock option

6) Test is it work properly or not

7) Run Tegro settings and change menu unlock option to opposite state

8) Test it w/o reboot

9) Try reboot and test again

10) Change lockscreen to Stock

11) Reboot!

12) Check menu unlock option and test is it work properly or not

13) Change menu unlock option and test

14) Try to reboot and test one more time

15) post here results

Thats all.
[Hero, G2 Touch Android Development] shinaipt99:
Hello hawst :)

Thank you for this final effort on 2.5 update.

I'm having a really annoying problem... every time I return to home screen, I must wait for sense to restart again. It shows the "my" green screen and then a loading dialog box, taking about a minute to reload again. Do you know what can I do to solve this?

Thank you!
[Hero, G2 Touch Android Development] Kiyoshi Jiro:
The rom is great, but idk why there were so many FCs, and the senses restart so many times :(
[Hero, G2 Touch Android Development] AdmcPL:
Hey, I have question. I changed system font to Ubuntu font and I can see strange squares in some apps. Is there a way to fix it?
[Hero, G2 Touch Android Development] hawst:
Mostly u have installed too much apps which like to stay in memory (like windows service). SO when u run some app Android not able to keep Sense in memory and unload it. I suggest u to look carefully on yr apps and try to uninstall some of them. U can try to use some task managers (NOT task killers), but just managers to see which apps are running and try manually one at time to close such apps and see.

FCs - mostly u dont read 1st post, please to that and look for changing themes. For sense read above.

I dont know about fix, squires means that font dont has such chars, so to fix - u need to find someone who familiar with font editing. I'm not one who knows that.
[Hero, G2 Touch Android Development] rdejager:
Your Ubuntu font package is not complete. When i am at work ill look up the one i always use. And it always works.
[Hero, G2 Touch Android Development] hawst:
Yeah. I took it around XDA (theme with huge number of diff fonts or may be somewhere out of XDA, i dont remember already), and removed some files to reduce the size. But u can try to install full version - http://xdaforums.com/showthread.php?t=801160 or any other font u like.
[Hero, G2 Touch Android Development] hawst:
Found interesting app - http://xdaforums.com/showthread.php?t=917365 .Not sure if it will run on 2.1 and smaller screen. But on my DesireZ - it works flowlessly! Can anybody try and reply ?
[Hero, G2 Touch Android Development] Kiyoshi Jiro:
OKay, may be my poor Hero doesn't hvae enough RAM so... Btw I have one more question, that it's possible to tweak or mod the function on the dock bar? I love to put another app like music or people there than camera :D From what I knew, the stock ROM of Slide Espresso has people/contact app there, not the camera :D
[Hero, G2 Touch Android Development] hawst:
Its ok. If u read some page back (10-20) i wrote that i have a lot of plans for future of this rom. But occasinally happend that i sold my hero and byed desireZ :). So my plans not broken/dropped but a bit frozen, while i m working on new ROM for desireZ ;). After that i will continue my development and as promised there will 2 kill features for Sense Roms: 1) configurable buttons; 2) 3 or 5 buttons on panel.
[Hero, G2 Touch Android Development] iHero96:
con you port sense with froyo?
[Hero, G2 Touch Android Development] hawst:
Short answer - no. I think u saw a lot of tries to do that, but w/o any luck - and its has objective reasons, which we cannot solve/fix/workaround and so :(
[Hero, G2 Touch Android Development] hawst:
Tegro 2.5RC3 is here! I hope this is last RC before release.

Can someone test - is enable/disable 'menu' key option in Tegro Settings work for both HTC & Stock lockscreens. Steps i post 1 page ago - http://xdaforums.com/showpost.php?p=11215690&postcount=711
[Hero, G2 Touch Android Development] Kiyoshi Jiro:
Does it need to be full wiped?
[Hero, G2 Touch Android Development] hawst:
No
[Hero, G2 Touch Android Development] Screatch:
Tegro 2.5 RC2, force crashes on linking contacts.
[Hero, G2 Touch Android Development] hawst:
Please try RC3
[Hero, G2 Touch Android Development] merlin699:
thanks hawst, using tegro again :D
[Hero, G2 Touch Android Development] shinaipt99:
Is it possible to update from rc2? What features do you include in rc3?
[Hero, G2 Touch Android Development] hawst:
1) Yes

2) 2nd post
[Hero, G2 Touch Android Development] merlin699:
somehow I like the look with the bubbles. so, is it safe to flash the "Tegro-2.0-ThemesWBubbles-signed.zip" over RC3?

thx.
[Hero, G2 Touch Android Development] hawst:
Yes, i think it safe. But dont forget to do a backup!
[Hero, G2 Touch Android Development] merlin699:
thanks, works perfectly. **edit: no more "recent apps in status"**

another thing I noticed: both, the flip clock widget and the stock clock widget changes the time with flipping the numbers. so there's no need for the flip clock anymore. can I remove it safely to get more space on the system? **edit2: yes, works :-D**
[Hero, G2 Touch Android Development] hawst:
Yes u free to remove one of widgets w/o any issue.
[Hero, G2 Touch Android Development] kentai:
Thanks for the great ROM. Enjoying it for last couple of weeks.
[Hero, G2 Touch Android Development] whitealien:
HTC Hero default theme

Okz, I finally made default HTC Sense theme for this ROM. All blue and pink colors now should be green :) It took a little longer than I thought coz those damn 9patch files are really pain in the a$$.

I made a separate thread in themes forum which you can find here:

[Theme] [14Feb11] HTC Hero Sense 2.1 theme for Tegro slide ROM

edit:finished uploading, enjoy

Cheers,

Whitealien
[Hero, G2 Touch Android Development] fiftho:
marked

can't use market.android.com, should there any good reason for this ? website say complete but phone get no apps installed
[Hero, G2 Touch Android Development] hawst:
This is market problem. Please goto Settings - Applications - Manage applications - Market - Remove update, or like that.
[Hero, G2 Touch Android Development] whitealien:
I got one very annoying thing. Sense closes pretty often. Just try to listen music and browse web at the same time and it's almost certainly will unload from memory. I don't know if there is some hack to force to keep it in RAM.
[Hero, G2 Touch Android Development] hawst:
90% sure u have a lot of apps which like to stay in memory (like services to sync something or like that). So best suggestion is to reduce amount of such apps. But anyway u can try to search around XDA for similar solution for LauncherPro or other launchers. There are some settings in build.prop to tell android try to keep Launcher in memory as much as possible. But even with that solution i read people still have problems of lanucher unload...
[Hero, G2 Touch Android Development] whitealien:
Bug in Mail:ADD_FAVE

Found one minor bug. When you try to add favorite in mail it crashes, because I think that action is missing. See logcat.

I/ActivityManager( 147): Starting activity: Intent { act=com.tmobile.intent.action.ADD_FAVE }
D/AndroidRuntime(11811): Shutting down VM
W/dalvikvm(11811): threadid=3: thread exiting with uncaught exception (group=0x4001e3a8)
E/AndroidRuntime(11811): Uncaught handler: thread main exiting due to uncaught exception
E/AndroidRuntime(11811): android.content.ActivityNotFoundException: [B]No Activity found to handle Intent { act=com.tmobile.intent.action.ADD_FAVE }[/B]
E/AndroidRuntime(11811):	at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java)
E/AndroidRuntime(11811):	at android.app.Instrumentation.execStartActivity(Instrumentation.java)
E/AndroidRuntime(11811):	at android.app.Activity.startActivityForResult(Activity.java)
E/AndroidRuntime(11811):	at android.app.Activity.startActivity(Activity.java)
E/AndroidRuntime(11811):	at com.htc.android.mail.MailListTab.pickFave(MailListTab.java:1809)
E/AndroidRuntime(11811):	at com.htc.android.mail.MailListTab.onListItemClick(MailListTab.java:3047)
E/AndroidRuntime(11811):	at com.htc.android.mail.MailListTab$TabInfo$1.onItemClick(MailListTab.java:4641)
E/AndroidRuntime(11811):	at com.htc.widget.HtcAdapterView.performItemClick(HtcAdapterView.java:378)
E/AndroidRuntime(11811):	at com.htc.widget.HtcListViewCore.performItemClick(HtcListViewCore.java:4997)
E/AndroidRuntime(11811):	at com.htc.widget.HtcAbsListView$PerformClick.run(HtcAbsListView.java:1905)
E/AndroidRuntime(11811):	at android.os.Handler.handleCallback(Handler.java)
E/AndroidRuntime(11811):	at android.os.Handler.dispatchMessage(Handler.java)
E/AndroidRuntime(11811):	at android.os.Looper.loop(Looper.java)
E/AndroidRuntime(11811):	at android.app.ActivityThread.main(ActivityThread.java)
E/AndroidRuntime(11811):	at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(11811):	at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime(11811):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
E/AndroidRuntime(11811):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
E/AndroidRuntime(11811):	at dalvik.system.NativeStart.main(Native Method)
[Hero, G2 Touch Android Development] hawst:
1st - thank u for logcat! Can u please tell me how to reproduce this bug (i dont have Hero near me with Tegro installed) ?
[Hero, G2 Touch Android Development] whitealien:
1. Open Mail client

2. Goto Favorites Tab

3. Click add favorites

4. Force Close process com.htc.android.mail
[Hero, G2 Touch Android Development] hawst:
Do we have such tab in Stock Sense ROM ?

1) I trying to understand how it should be in case to try solve bug

2) Or maybe we just need to remove that Tab and forget
[Hero, G2 Touch Android Development] whitealien:
In stock sense this tab exist, but have different name - "VIP Group".

I just booted in with VillainROM12 and tested and it was working fine.

How to debug, hmmm.... I'm not an expert in android systems, but I see is that there is missing action function ADD_FAVE or pointer to that function is wrong. I decompiled and searched in VillainROM Mail.apk, but did not find anything. So I guess its stored somewhere else. I don't know whats Activity Manager is, maybe need to look for that.

Also I noticed that intent action looks for com.tmobile.intent.action.ADD_FAVE, while in default sense its com.android.intent.action.
[Hero, G2 Touch Android Development] hawst:
nvm, I know how to fix that.Thank u very much for yr research!
[Hero, G2 Touch Android Development] fiftho:
huh ? what are your trying to say
[Hero, G2 Touch Android Development] hawst:
Most of market problem has universal solution. In whole market has a lot different problems time to time. And most of them can be solved by: 1) wait few hours or even days; 2) by clear updates of market, as i mention. Or combinig these methods ;)
[Hero, G2 Touch Android Development] merlin699:
most of the times it is enough for me to clear the market cache
[Hero, G2 Touch Android Development] dkelley:
he said it pretty clearly. did you try doing what he told you to do?

to go settings, follow the location he said to get to the applications manager, scroll to "market" and click "remove update" or "uninstall update" or whatever it's called that means the same as that.

The solution might not work, but that's what his instructions mean I think and it seems very clear so I hope that helps you understand better.
[Hero, G2 Touch Android Development] hawst:
So, does anybody has issues with RC3 (except mail favorites ) ? I plan to release 2.5 if no issues.
[Hero, G2 Touch Android Development] whitealien:
Good for me
[Hero, G2 Touch Android Development] dkelley:
it's very cool dude, congrats on a solid and completely unique hero rom!
[Hero, G2 Touch Android Development] hawst:
Thank u lot!

I prepared small update for Favorites in Mail fix. Mostly it will crash ;). So i need logcat of that crash.
[Hero, G2 Touch Android Development] whitealien:
You forgot to add update script into zip.
[Hero, G2 Touch Android Development] hawst:
Oops ;). Attached is fix.
[Hero, G2 Touch Android Development] whitealien:
Anyway, Mail crushes on launch. Logcat:

D/AndroidRuntime( 625): Shutting down VM
W/dalvikvm( 625): threadid=3: thread exiting with uncaught exception (group=0x4001e3a8)
E/AndroidRuntime( 625): Uncaught handler: thread main exiting due to uncaught exception
E/AndroidRuntime( 625): java.lang.NoSuchMethodError: com.htc.android.mail.database.ImportantMailStore.registerWeakHandler
E/AndroidRuntime( 625):	at com.htc.android.mail.MailListTab.onResume(MailListTab.java:2894)
E/AndroidRuntime( 625):	at android.app.Instrumentation.callActivityOnResume(Instrumentation.java)
E/AndroidRuntime( 625):	at android.app.Activity.performResume(Activity.java)
E/AndroidRuntime( 625):	at android.app.ActivityThread.performResumeActivity(ActivityThread.java)
E/AndroidRuntime( 625):	at android.app.ActivityThread.handleResumeActivity(ActivityThread.java)
E/AndroidRuntime( 625):	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java)
E/AndroidRuntime( 625):	at android.app.ActivityThread.access$2200(ActivityThread.java)
E/AndroidRuntime( 625):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java)
E/AndroidRuntime( 625):	at android.os.Handler.dispatchMessage(Handler.java)
E/AndroidRuntime( 625):	at android.os.Looper.loop(Looper.java)
E/AndroidRuntime( 625):	at android.app.ActivityThread.main(ActivityThread.java)
E/AndroidRuntime( 625):	at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 625):	at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 625):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
E/AndroidRuntime( 625):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
E/AndroidRuntime( 625):	at dalvik.system.NativeStart.main(Native Method)
[Hero, G2 Touch Android Development] hawst:
Thank u very much! Will push another update a bit later.
[Hero, G2 Touch Android Development] fiftho:
MMS

any special app I need to make MMS work ?
[Hero, G2 Touch Android Development] hawst:
No. Did u try ?
[Hero, G2 Touch Android Development] fiftho:
Tried the setting, but wouldn't work. Have worked with previous tegro roms before.. For a while back I had ROM installed that need extra MMS application to make it work..
[Hero, G2 Touch Android Development] Karmus:
Am I the only one that has problems with the Facebook for myTouch application sync function? It seems that it will only update my friend list once, when I add the account and only if I keep the internet connection on for many hours. Later on the list doesn't seem to update, causing the newer contacts I create to be unable to link with the Facebook-equivalents.
[Hero, G2 Touch Android Development] DonNaWaF:
Hi .. will you continue your work to support RTL lang ??
[Hero, G2 Touch Android Development] hawst:
What i can tell is - I didnt changed anything in SMS/MMS app or even in any part of system, depend on MMS. So if it was ok in some prev versionm then it should work in current. Anyway i need more info (as much as possible) to understand yr problem, after that and only after that i will be able to try help u.

Mostly yes. I thought it will be hard to continue develope w/o real device and as i see it is so :) . But having another (not very much) similar device helps to continue dev.

whitealien, as for Mail @ Favorites - I looked into fix yesterday FC, it much harder than thought... So i have 2 ideas for now: 1) Is remove favorites tab for 2.5 and try to fix it probably in 2.6; 2) Today i will try to port Mail app from Stock ROM, may be it will work ... if not - then we will back to pt. 1
[Hero, G2 Touch Android Development] whitealien:
Mail.apk

I did some deeper research with ADD_FAVE issue and here is what I found out.

When I try this option under default sense ROM it starts action "com.android.htccontacts.ACTION_GROUP_CANDIDATE" while in your ROM it calls "com.tmobile.intent.action.ADD_FAVE".

1st guess is that there are missing some tmobile files in ROM. 2nd guess is when I compared both ROM MailListTab.smali and noticed that slide ROM have one additional .method ".method private pickFave()" in which "com.tmobile.intent.action.ADD_FAVE" is located.

So either we can remove that method or rename add fave action with one from stock sense. Unfortunately Mail.apk decompiles with error "Error occured while disassembling class Lcom.htc.android.mail.ComposeActivity; - skipping class java.lang.RuntimeException: Could not find the packed switch statement corresponding to the packed switch data at address 126" so I can not compile it back. If you have original source slide mail.apk which decompiles properly it could help.

P.S. Stock sense mail.apk neither other slide ROM mail.apk does not work out of the box. I already tried.