yashsingh1/xdaforums huggingface dataset:
[Hero, G2 Touch Android Development] elelinux:
The stable one is my own Kang build no changes, all the CM stuff is in it except removed the bootanimation + added flykernel-13 + apps2sd instead, 3.6 is based on this build and the custom build is a diffent build where I compiled the theme in to the rom.
[Hero, G2 Touch Android Development] withoutwings:
Thanks mate - I suspect that what I have described is two separate issues, so I hope you can find at least one of them!

For the more common one ('FATAL EXCEPTION' in logcat) - I haven't looked at the source code, but I suspect that ActivityManager could do better than to attempt a divide by zero!

The other one - ARM9 (radio) crashing - seems to be GPS/XTRA related and is something which CM swept under the carpet but obviously never got to the bottom of. It has happened to me in the past while using GPS, playing music, or both. Since I've only seen reports of that one for HTC devices, I suspect the radio ROM code could be at fault, which isn't a nice thought! Although workarounds may be possible, I hope.
[Hero, G2 Touch Android Development] Bantu85:
An interesting thing happens to me. When i reboot my phone it gets to the lockscreen and then reboots. Checking the logcat also returns the "Divide by 0" noted above.

However, if i unlock my phone as soon as it reaches the lockscreen and then click on the applications drawer.. it all seems to behave perfectly. No boot loop this way!

Can anyone else experiencing these boot loops confirm a similar experience?

using v0.4 with A2SD. Installed after a complete wipe. No other options flashed.
[Hero, G2 Touch Android Development] Imperticus:
Yep same problem here, rather funny. After a while just gets stuck on the android screen, but it doesn't reboot per-say.

I now flashed v0.4 without app2sd, and not a single reboot.
[Hero, G2 Touch Android Development] withoutwings:
Yes - keeping the processor awake can help as it runs faster. Basically, if it has too much to do at startup (especially when many apps all try to run at once, plus launcher, plus widgets, plus sync, etc..) then some apps start getting closed and "not responding" and the ActivityManager crashes when it tries to handle one of them. So sometimes keeping it awake will stop any activities getting to the "not responding" state.

But unfortunately that method wasn't working for me this time with LauncherPro and lots of apps, widgets, etc. (Not LauncherPro's fault, as I can still get a reboot with Launcher2 and doing something extra, like going into the SMS app for example).
[Hero, G2 Touch Android Development] keyra74:
is there a way to force disabling trackball since i have the crazy trackball problem
[Hero, G2 Touch Android Development] Bantu85:
So could it be regarded as an issue with the CPU settings? I don't want to experiment now as i need my phone until the evening.

I have it set on 176 min... maybe upping this will help? I thought the smartass governor was more intelligent than a screen off profile, so this wouldn't be a problem...
[Hero, G2 Touch Android Development] withoutwings:
I don't think the min is the problem, though you could set the governor to 'Performance' instead... but anything like that is just a workaround. I believe the real bug is somewhere in the Android framework and its "Not responding" window (or in our case - lack of it as it crashes first).
[Hero, G2 Touch Android Development] withoutwings:
From http://hi-android.info/src/com/android/server/ProcessStats.java.html

in printCurrentState():

long sampleTime = mCurrentSampleTime - mLastSampleTime;
long [COLOR="Red"]sampleRealTime[/COLOR] = mCurrentSampleRealTime - mLastSampleRealTime;
long percAwake = (sampleTime*100) / [COLOR="red"]sampleRealTime[/COLOR];
if (percAwake != 100) {
pw.print(" with ");
pw.print(percAwake);
pw.print("% awake");
}

Now that looks a lot like the culprit!! Whoever wrote this code assumed that the clock would advance since the last sample, but it doesn't appear to be doing that (perhaps the system is just way too busy, or too many "not responding" apps??) and is resulting in an uncaught exception.

Reckon you could patch that up, Elelinux?

EDIT: I'm thinking this would do the trick:

long sampleTime = mCurrentSampleTime - mLastSampleTime;
long sampleRealTime = mCurrentSampleRealTime - mLastSampleRealTime;
if (sampleRealTime > 0) {
long percAwake = (sampleTime*100) / sampleRealTime;
if (percAwake != 100) {
pw.print(" with ");
pw.print(percAwake);
pw.print("% awake");
}
}
[Hero, G2 Touch Android Development] Geeka:
Missing the traditional phone keyboard~

Please HELP!

I have been using the [abc] [def] [ghi] phone key pad for too long, and the buttons in the full keyboard is too small, any how I can get the phone key pad back?
[Hero, G2 Touch Android Development] dkelley:
damn without_wings - damn clever. I REALLY have to get into android OS development sometime - I would love to go in and see what I can do with some of that code.

I wish I had more time in my life though.

hope your diagnosis is correct.
[Hero, G2 Touch Android Development] msiviter:
Really annoying, have you got V0.3 still, this is unbearable. Reboot loop 30sec after lockscreen first appears. v0.4 apps2sd.

Another oddity, wiping my ext partition wouldn't work either?

I'm in adb now and I'm a noob, I tried:

adb wipe ext

to no avail, any ideas please PM.

edit;

I can do the same in Terminal emulator do I neet to wipe system|data|all ?

Matt
[Hero, G2 Touch Android Development] Bantu85:
Interesting reading... Presumably the phone is so busy mounting the SD card and the apps on it that the realtime process (whatever generates that number) is stopped... this sounds wild though.. surely that process should have absolute priority?

It also doesn't necessarily correspond to 2 things:

1. elelinux is not experiencing these crashes.

2. Why does me keeping the device out of sleep (if that is what's stopping the boot loop for me) reprioritise the clock? Surely if anything it should give the system more to think about as it processes my multitouch?

You may be right without_wings, i honestly don't know, and would like to be proved wrong so that this is fixed :D
[Hero, G2 Touch Android Development] dkelley:
ah the irony of the kernel soap opera.

I have to say that if flykernel is the cause of some bootloop and/or gps issues, I personally never had any of those issues with feeyo's cronos gingerbread rom back when it had his own kernel.

Has anyone who has trouble with gps and/or bootloops tried the .35 alpha kernel from Reimer? If it doesn't have those bootloop issues then that might clear things up a bit too.

I don't personally know what state Reimer's kernel is in right now but at times it has been pretty amazing - in the past it really was only lacking a small bit of speed, while being the only hero kernel on the current codebase. Instead of the .29 variants we all use now which are pretty old but with nice new governors thanks to everyone's input there.
[Hero, G2 Touch Android Development] withoutwings:
lol, this was just my lunch-time at work looking for things to do other than get back to work! ;)

Otherwise - yeah, I share your sentiments about lack of time there mate!
[Hero, G2 Touch Android Development] withoutwings:
I don't think that it is the clock which is stopping; but more likely the event queue being held up for some reason. Then, two messages in quick succession are being handled without time for that value to change.

But irrespective of the cause, this tweak should definitely stop the symptom (bootloop) as it won't be able to divide-by-zero any more.
[Hero, G2 Touch Android Development] snah65:
I've tried v4 after stopping with v2 because of an issue with gps tracking. It stopped my phone. This problem looks solved. But right now I am also expirience a boot loop.... I have the app2sd version.

I am now gonna try the other one...

edit I now have the noapp2sd version, did a complete wipe and after the backup he is in bootloop again :-(( I think I'll try to get it in recovery and ga back to the 6.2.0 till this problem is solved
[Hero, G2 Touch Android Development] troublecro:
Hmmm,installed it,couldn't see if my overclock settings got applied(a phone seemed a bit-lot sluggish) so I installed OverclockWidget and my phone permamently crashed :) It seems that re flashing will be needed.

Can you tell me the right setting in his menu for OC'?
[Hero, G2 Touch Android Development] elelinux:
The rom is updated please read changelog before installation
[Hero, G2 Touch Android Development] elelinux:
Thanks for the patch, will look at it and try it for the next build later this week :D

EDIT: Looked in the source just and so it looks like this

long sampleTime = mCurrentSampleTime - mLastSampleTime;
long sampleRealTime = mCurrentSampleRealTime - mLastSampleRealTime;
if (sampleRealTime > 0) {
long percAwake = (sampleTime*100) / sampleRealTime;
if (percAwake != 100) {
pw.print(" with ");
pw.print(percAwake);
pw.print("% awake");
}
}

Your thoughts were right but it is already changed
[Hero, G2 Touch Android Development] Shluggity:
No issues here that I can tell. Flashed v0.5.1 over v0.4 after wiping cache and dalvik-cache. Handset booted up fine and is still doing so with CPU at 691/176MHz (smartass) via performance settings. GPS functions okay (39s to first fix indoors). All installed apps work. The only things I haven't tested yet are the phone and mobile data, as my SIM is in another handset right now.
[Hero, G2 Touch Android Development] Atenaa:
Thanks for your answer, Ele!! I'm going to install the custom build to see how it works on my hero. :cool:
[Hero, G2 Touch Android Development] vikashhero:
On the topic of themes, has anyone been able to find a decent Honeycomb/ICS look for MDPI devices? I got a really nice Go Launcher ICS theme, and it looks wonderful as it is, but I'd really like the status bar icons to match.

Many thanks,
[Hero, G2 Touch Android Development] wayferer:
I've been using this one and quite like it: http://xdaforums.com/showthread.php?t=1313722
[Hero, G2 Touch Android Development] vikashhero:
Thanks, bro, looks very promising (: x

Update: This theme is sweeeeeeeeeeet :D:D

---------- Post added at 04:59 PM ---------- Previous post was at 04:22 PM ----------

Has anyone noticed any difference in speed when using the Apps2SD function?

I find my system has slowed down quite a bit after moving some app data to my SD card.

Does then mean I should apply the SD reading speed tweak, or is it already implemented in the 3.6 ROM?
[Hero, G2 Touch Android Development] elelinux:
All is already implemented in v3.6 including vold dirty ratio
[Hero, G2 Touch Android Development] Atenaa:
Ele, the last tweak for vold to increase sd-card read and write speed is installed in the custom build? If not, it is the same "SD-Card Tweak" on the first page?
[Hero, G2 Touch Android Development] elelinux:
Yes it is in the build
[Hero, G2 Touch Android Development] vikashhero:
I'm very happy with this ROM >=] . It's as if my Hero is somehow complete - it out-performs the stock ROM in every way I could imagine while being both fast and feature full. This one's a keeper. Once again, Ele, excellent work.

Many thanks.
[Hero, G2 Touch Android Development] puppyko:
+1. I agreed this ROM is another keeper. I'm using the custom version and found it to be almost complete, just like the Deck ROM I used previously, but this one is nicer.
[Hero, G2 Touch Android Development] elelinux:
Planning to update the custom build to HTC android 2.3.5/3.5 sense interface+icons, even if I said not to build more gingerbread rom's,the custom rom is absolutely the nicest in my opinion.
[Hero, G2 Touch Android Development] Atenaa:
Ele, this is music to my ears...;) A big kiss from one of your thousand fans! :o :p

Installed custom build and loving it!:D
[Hero, G2 Touch Android Development] Lirasina:
Ok well I saw someting fancy on the CM site about the changelog for BT in 7.1

AVRCP 1.3 support - Qualcomm (bugfix by Danny Baumann)

Is that the case for this rom to? Cuss if that is the case. I will love it XD
[Hero, G2 Touch Android Development] adisan2002:
My opinion, too ;)
[Hero, G2 Touch Android Development] slarus:
thanks for the rom, I tried a lite version on my Hero and found a very simple problem -how to set up an mp3 song as a default ringtone. On previous versions long click on a song gave that option, but here.....I probably don't know lots of things, so i won't say it is a "feature". pls help. Thanks
[Hero, G2 Touch Android Development] vikashhero:
Definitely giving this a try! (:
[Hero, G2 Touch Android Development] adisan2002:
Create this folder on your sdcard:

/sdcard/audio/ringtones

and put any mp3 in it.
[Hero, G2 Touch Android Development] Lirasina:
Aint it /sdcard/media/audio/ringtones ?
[Hero, G2 Touch Android Development] dkelley:
+1, and adw has a serious flaw that I always come across.... in my general use of android phones I hit the app drawer in a way that sometimes, when I'm going fast, triggers some ridiculous adw feature that makes the app drawer icon disappear. that should NOT be allowed... since without app drawer the phone becomes useless for most things, and sometimes unfixable without reflashign and starting from scratch (if it's your only launcher, for example).

I DESPISE that about adw, and it's in the paid version as well.

just wanted to point that out in case the author is around anywhere ever reading thsi stuff - I'm not the only user who stopped using adw completely, despite the other cool features, because of that design flaw.

---------- Post added at 03:49 PM ---------- Previous post was at 03:45 PM ----------

you're not using the manual, android settings->applications-> version of apps2sd are you? where YOU find the app and tell it to be moved to sdcard? because that is completely obsolete in these custom roms wiht ext support... imho definitely a bad idea to use it.

but if you just mean the ext support and how apps run slower in roms iwht ext, then yes it can be true if you dont' have a very fast sdcard.

---------- Post added at 03:49 PM ---------- Previous post was at 03:49 PM ----------

yes it's beautiful and fast and stable and very complete. congrats on it!
[Hero, G2 Touch Android Development] vikashhero:
yeah, I just released today that I must be using apps2sd wrong. I checked the option in CM settings to allow apps to be installed onto SD. Do i need to partition my SD to allow this to work properly?

I had no idea, newbie mistake, sorry dude.
[Hero, G2 Touch Android Development] dkelley:
cool - I was wondering if that was the problem.

Yes, you need to partition your sd card. you can do this from recovery. ext, ext2 or ext3 options (Depending on recovery) are all just fine. I use ext2. some use ext4, but then you run the risk of not maybe being compatible with all roms. ext2 or 3 is fine.

but before partitioning, backup your entire sd card to your computer. then partition, then restore backup to your card. partitioning wipes card.

anything from like 300mb and up is fine for ext partition. I have a 16gb card so have something like a 1gb ext partition but I've only ever managed to use a small portion of it... and I historically install a LOT of apps/games. :-)

then the ext apps2sd feature should just work like magic without further user interaction (as long as it's enabled in settings in those rare roms where it is optional).
[Hero, G2 Touch Android Development] CrazyDelta:
Been noticing a few problems (tested on light and stable). Would like to confirm if anyone else had them.

Whatsapp falls asleep and doesn't wake up at times. Some messages are very delayed. Sometimes i have kill turn mobile data on/off to wake up whatsapp. Or I have to stop whatsapp and restart it.

Also, with the light version, I had problems receiving emails on my gmail. Notifications wont come up, and no emails are received unless I go into my app and press refresh.

Anyone else notice such occurrences? Just need to confirm. Thanks.
[Hero, G2 Touch Android Development] adisan2002:
Yes, you're right :p
[Hero, G2 Touch Android Development] jonathanljs:
Not so much a feature flaw as having flubby fingers! However, if this happens, no need to reflash: just long-press an empty space on any home screen. The first item in the list is "launcher actions". Go into that, and one of the options of that is "open/close app drawer". Hit that, you get a shortcut on the desktop. Drag that to the empty space in the dock below, you're sorted. Takes about 15 seconds.
[Hero, G2 Touch Android Development] radix1980:
Yes, same problems here
[Hero, G2 Touch Android Development] nu_skool:
Is there an easy way to get the default launcher back (I'm using the custom ROM)?
[Hero, G2 Touch Android Development] elelinux:
I will add a option för that when I come this evening
[Hero, G2 Touch Android Development] nu_skool:
Thanks mate, that would be great.
[Hero, G2 Touch Android Development] vikashhero:
Thanks for the info. There's an option to partition my SD within ROM Manager, but that only allows upto 512Mb. I have an 8GB SD , could I get 1GB ext ROM space from that?

EDIT: I'll use ROM Manager to Partition 512MB, but it asks me to select a swap size, the default being 32MB, ranging all the way to 256 MB. What does swap size mean? and which value would be ideal?

Many thanks,
[Hero, G2 Touch Android Development] kingcharles1666:
I have the same problem with whatsapp.
[Hero, G2 Touch Android Development] elelinux:
Have added a option for remove adwlauncher and install launcher2 instead, and cleaned up the first post with some suggestions from @ciprilik :D thanks
[Hero, G2 Touch Android Development] ahmed786:
can some one please help me ive just started to use me hero again after a few months as my dad now wants it so i updated it to Elelinux-7.1-Hero-v3.5 then Elelinux-7.1-Hero-v3.6 from a Elelinux- rom which was a few months old and now when i have me rebel unlock sim chip in and a sim card like o2, 3g, or giff gaff the phone stays on aireplane mode and when i try to turn airplane mode off it wont it says its trying then go back in to airplane mode =[

i have also done a few full wipes and reflashing and nothing =[

do i need to update my modem or is there somat else i need to do ?
[Hero, G2 Touch Android Development] Ciprilik:
you're welcome... can't wait for the modifications regarding the UI that will come for the Custom version of this rom.

P.S: You've misspelled my xda name, it's Ciprilik ... I know the L is hard to see :D
[Hero, G2 Touch Android Development] Atenaa:
ADW

If I understood you correctly, I had the same problem until I discovered an ADW functionality: «Menu/More/Lock Desktop». All icons on desktop (even those on the dockbar) won't move anywhere :D. If you want to install any widget/icon you just need to unlock desktop.

It´s the same with the paid version.

Works for me..;)
[Hero, G2 Touch Android Development] CrazyDelta:
After much digging around yesterday, I have found out that the problem was with the servers of whatsapp. It just happened to have been a coincidence that the problem started right after flashing the Rom.

In regards to the Gmail notification and receive issues, it went away from I reflashed the Rom.

Elelinux 3.6 Light is an absolute gem.

Oh, and perhaps you all should know that there is a new market version available. It is version 3.3.11 and it looks and works better on the Light.
[Hero, G2 Touch Android Development] AryanFL:
download last ver gmail form market but force close ! why?(ligh ver3.6)
[Hero, G2 Touch Android Development] elelinux:
Sorry, it is corrected now :D
[Hero, G2 Touch Android Development] Lirasina:
lol don XD you sure on something XD And I had that with ADW. and well my fingers if I put then allong the screen I just get a little past halfway the screen. and then a tiny bit XD And I even have that,
[Hero, G2 Touch Android Development] dkelley:
I'm on an overdose of Caffeine... I was then and am again now.... there's no holding back when caffeine is available! :-)
[Hero, G2 Touch Android Development] Prof Peach:
Don't drink.... Don't smoke...... Caffeine by the bucket load is my socially acceptable habit.
[Hero, G2 Touch Android Development] dmestriner:
I've flashed the custom version, and it's so much smoother/faster than every other light Elelinux version I've flashed before this one, I absolutely love it! Normally sometimes processes or apps would take so long to load that android gave me a "process stopped working, click wait or kill" message, I haven't had one of those since I've flashed this one. However I did notice a few times that Launcher Pro rebooted, although I have selected to keep launcher in memory in Cyanogenmod settings.

Absolutely loving this one, and glad the final version is the fastest one for me!

thanks for all the hard work and making the latest Android versions compatible with our dinosaur Hero's :)
[Hero, G2 Touch Android Development] luki59:
I also flashed the custom Version and it is really very smooth and fast.

But I have now a Problem with the newest update of Google maps. the market don't let me update this app. Is the latest version of this app now not for use on HERO?
[Hero, G2 Touch Android Development] socratesig:
I've flashed the custom version and I'm very happy with it. Thanks ele.

I changed the market to the old one though, flashing the corresponding update. I completelely agree with people that consider that the new market versions are too heavy for our heros.
[Hero, G2 Touch Android Development] Lirasina:
Really, I had one cup of coffee and was awake for like 2 days XD so that was not nice.. XD my GF liked it.. but not me...
[Hero, G2 Touch Android Development] dkelley:
I don't know, but if I were you I would be thankful when my hero doesn't manage to update to the latest google maps apk LoL. if it's working for you then just enjoy that fact - it's a great app and they haven't really added anything in the newest one that is terribly exciting or important. and every time google maps updates on the hero it seems like random chance if it will start misbehaving!
[Hero, G2 Touch Android Development] elelinux:
Will add a option with newer fingerprints that hopefully helps
[Hero, G2 Touch Android Development] dkelley:
It seems to be affected by a combination of body weight (mostly) and tolerance.

You have no tolerance built up, so that is a bit of the reason behind the strong reaction probably. BUT body weight makes a huge difference. I weight about 150 (lb... I'm used to talking to US Americans, sorry - that's 68kg for those living in civilized countries like mine) and a large mug of coffee has a pretty strong effect on my energy level. However two of those in a row and I'm jittery.

I always manage to sleep after a few hours though... exhaustion seems to be my kryptonite even against my super power of caffeine.
[Hero, G2 Touch Android Development] luki59:
I hope this will help, but I din't know what fingerprints is. But You are the specialist and you know what will help. I am very happy with your new Custom Version than I never had a so smooth and fast version. Thanks a lot Ele and wish you a lot of love and power for the hard time that you have.

Greetings

Looks
[Hero, G2 Touch Android Development] elelinux:
Well try it now, you can find it under options first post
[Hero, G2 Touch Android Development] luki59:
I flashed it, but the same. When I will start the update I come to the update section and there is over the App this text:

"Due to your content filter, you can not download this article"

It is the translation from german to english with goolge translate and not a good english or exact. I hope your understand what this mean. I don't understand it.

Maybe you can with this information help me more, other apps I can update.

thanx
[Hero, G2 Touch Android Development] elelinux:
Hmm try to clean data from market and try to change language to english then try again to update

EDIT : Market settings, in the content filtering check all boxes
[Hero, G2 Touch Android Development] luki59:
After checking all boxes iut works also in german :), Thanx for your help
[Hero, G2 Touch Android Development] Lirasina:
I weight 28 KG so yea that may be the case and my mum loves strong :O.

And that signature thingy so going to grap that XD Thanks