yashsingh1/xdaforums huggingface dataset:
[Hero, G2 Touch Android Development] f_padia:
Ok, I have attached the patched kernel.

I just flashed the kernel from recovery without wiping though you may do if you want to.

After the phone has rebooted and settled you need to run the following commands. I did it via adb shell but I guess terminal emulator would be fine too:

# mkdir /oom-killer

# mount -t cgroup -o oom oom /oom-killer (mount the oom-killer group introduced by the patch)

# mkdir /oom-killer/invincibles (make a folder for the tasks that you dont want to be killed)

Now you need to open the messaging app in case the msg process isnt already running. The process needs to be running to complete the following steps. After the messaging app has opened go back to terminal emulator (or stay with adb) and enter:

# echo 0 > /oom-killer/invincibles/oom.priority (set the tasks in the invincibles folder to be... erm... invincible)

# pidof com.android.mms (find pid of the messaging app)

# echo <enter pid from above command here without brackets> > /oom-killer/invincibles/tasks

and thats it.

You can actually make any number of tasks invincible like this. And if there are no killable apps (e.g. if you decide to make all apps invincible) and you run out of memory the kernel will resort to its normal method of killing via oom_adj values.

I noticed that if you leave the root file system in read-write mode (using file expert for example) the value in /oom-killer/invincibles/tasks gets overwritten so you want to make sure you are in read-only mode.

Clearly this isnt the best way to implement this. perhaps a script would be better but im not that good at coding so if anyone else can come up with something that'd be good.

If you guys think its worth making a separate thread I will. otherwise just see how it goes. My messaging app hasnt been killed yet so it seems to be working ok for now.
[Hero, G2 Touch Android Development] Coedy:
Yup. Everything means all wipeable options on Amon_Ra.

The first time I did indeed leave it for 40minutes as I know some roms take a while on first boot so watched tv, after 30 minutes of tv (and 10 mins before tv) it still hadnt booted so did a battery pull.

Then tried again but left it 15mins.

Then re-downloaded (in case it was a bad download) and kept trying.

No dice :(
[Hero, G2 Touch Android Development] smallprint:
I use setcpu @ max 652 and min 352 and I think i use smartass. But i also tried it without changing the speed and i still get the problem.:(

Also I never really noticed a difference pressing menu to power on rather than the power button itself
[Hero, G2 Touch Android Development] crablee:
Any idea for Asian release? Please...
[Hero, G2 Touch Android Development] JieeHD:
Pull a recovery log after you flash, perhaps something is wrong there.
[Hero, G2 Touch Android Development] catsado:
Dude can you tell me why the display isn't turning off when incall.
[Hero, G2 Touch Android Development] crazyboy1978:
language netherlands-duch

hello ,

nice rom speed very good

can i change the rom in Netherlands?? i have English-Netherlands but i want yhe rom in full Netherlands??.

thanks for the beautiful rom

crazy.
[Hero, G2 Touch Android Development] I7V:
my wifi connection on my hero slow and stop and reconnect lots and i can't chat on it although my adsl is speed and on my brother's phone is speed .. is there any program or way to make my wifi connection speed
[Hero, G2 Touch Android Development] whitealien:
Album art fixed

@JieeHD - concerning album art bug. Here is what I dig out:

E/MetadataRetrieverClient( 90): failed to extract an album art
E/HtcMusic( 2685): [HtcMusic]Not DirectMode, normal ...
E/HtcLockScreen2.0( 150): MusicCtrl: updateImage~ exception:null

Meta data retriever fails to get album art and then parses null to lockscreen which return can't show anything to the screen and uses default image.

I still don't know if bug is in Meta data retriever or HtcMusic apk or somewhere else, but MDRC is located in system\lib\libmediaplayerservice.so so if anyone can fix it could be great.

P.S. Btw, If you check 2nd line you can see that HtcMusic does not use direct mode. It could be the reason for huge laags during music playback.

edit: I found a fix for album art. Apparently you need DCSUtility.apk for it to work properly which is not in you ROM. So just push this file to /system/app
[Hero, G2 Touch Android Development] JieeHD:
Thanks, I'll add it tonight (:
[Hero, G2 Touch Android Development] Coedy:
Guessing there is no way to do this without ADB?

ADB Doesnt work with my pc. Never has when ive tried. :(
[Hero, G2 Touch Android Development] catsado:
I want an answer PLS!!!
[Hero, G2 Touch Android Development] JieeHD:
No you can do it from recovery, advanced > report error. Post the log it stores on your SD card.
[Hero, G2 Touch Android Development] JieeHD:
Its a bug, I'll have a look.
[Hero, G2 Touch Android Development] RiggerofRiV:
Hi,

really nice rom, but I have some issues. I can't select any images for my contacts. I get a white screen if I select from gallery or camera. Choosing from profiles works, but only Twitter shows the pictures automatically. For Facebook I have to download every single image via edit select facobook profile wait and go back. That's really annoying.

Is there a reason why only the messagewidget is that slow. Friendswidget and the messagelist are almost the same, but scrolling in messagewidget is nearly impossible. Slide in the other messagewidget feels like 3 or 4 fps and is extremely unresponsive.

The good news especially for me. It's the first custom rom with a 100% working GPS :)

Is there any chance get ext3/4 to work? Around 100mb and apps2sd is nice but 400mb in extra partition would be nicer ;)
[Hero, G2 Touch Android Development] f_padia:
here is a small script to go with my modded kernel for enabling the 'invincible' apps. You need to run the script each time you restart since the apps lose invincibility upon reboot.

For those who arent sure how to run the script:

unzip the script and save on your sdcard

Go to terminal emulator and do:

su

sh /sdcard/msginvincible

and you are done. it may open the messaging app after entering this command depending on whether the messaging process is already running or not.
[Hero, G2 Touch Android Development] dkelley:
the answer is 42.
[Hero, G2 Touch Android Development] dkelley:
will this or some similar trick be built into the next RC or final version of the rom JieeHD?

I know you're adding cool fixes, so I'm just asking because it's hard to follow all of the different "this is how I'll fix sms, no wait, this is how I'll do it, no wait, this way is the new better way.." LoL.

there are so many oom value and so on changes being suggested.

I'm confused :-)
[Hero, G2 Touch Android Development] f_padia:
haha true say! it seems theres a new fix everyday. but I have tried a few of the methods and none seemed to work in the longer term. So far this seems to doing its job so its promising.

As for including in the next build, thats entirely up to JieeHD. Im just spreading the love...
[Hero, G2 Touch Android Development] JieeHD:
Trying to push out an update tonight :)
[Hero, G2 Touch Android Development] cyberto:
oh can't wait :)
[Hero, G2 Touch Android Development] JieeHD:
SalsaSenseRC3

If on 2.5, wipe cache and dalvik, flash and enjoy :)

If coming from different ROM, wipe of everything then flash and enjoy :)

No need to flash LV!
[Hero, G2 Touch Android Development] dkelley:
it's excellent so far!

wiped dalvik and cache, flashed over 2.5 which I'd already used a lot

it feels faster and lighter and more stable already. music icons work without any lag now. I'm having no problems at all after the first 20 mins or so of use.

Well done!
[Hero, G2 Touch Android Development] dkelley:
I spoke too soon - ext partition doesn't appear to be recognized when I check it using titanium backup. tit back shows a nice summary screen of space in each drive, ext isn't there and internal is almost full (like before).

so ext is wacked still.

but anyway it's super fast and nice right now. noticeably faster than I've experienced in 2.5, whcih was much faster than 2.0
[Hero, G2 Touch Android Development] RCOO:
dkelley, how about the Messages app issue? That was a big problem aswell...

I can't test it at the moment, that's why I ask =p
[Hero, G2 Touch Android Development] morphen:
This rom is by far the best thing to come along for the Hero for some time :D

Been trying to revive my hero to new life using CM for some time, but in the end i just end up missing sense :( This rom is also blazing fast compared to CM based roms, at least thats what I think:)
[Hero, G2 Touch Android Development] dkelley:
Can't tell about messaging cuz I almost never use texts. ROM is super responsive though!
[Hero, G2 Touch Android Development] mifares:
Super. Highest European release will be?
[Hero, G2 Touch Android Development] jpdpinto:
I have this problem on RC 2.5 and it still remains on RC 3. I just can't connect to my home wlan. The HERO finds a lot of network but can't find my wlan. At the office I've the same problema.

Should I get the latest radio and flash it over?

ty
[Hero, G2 Touch Android Development] JieeHD:
Well if the ROM can detect other networks, it doesn't sound like a bug. Are you sure your router isn't somehow hidden?
[Hero, G2 Touch Android Development] mifares:
try to manually enter the network name and password. I was so. But this is a problem in router.
[Hero, G2 Touch Android Development] jpdpinto:
I've already try it. It says "network out of range". I've two laptops and Ipad connected on the same network (provided by the same router).

I never had problems with my HERO until now. I guess even with the RC1 I don't have this kind of troubles.
[Hero, G2 Touch Android Development] Dr.dre:
Super Fast, Super Responsive. This is by far the smoothest Sense ROM even compared to 2.1 ROM's

*EDIT - Just one bug which I'm facing is that weather app always FC when opened
[Hero, G2 Touch Android Development] rdejager:
This is a known bug :(

A2SD EXT on SFM

Maybe that can help to get it 100% working?? not a dev so dont shoot me if you blow up your phone :P
[Hero, G2 Touch Android Development] whitealien:
There is a quick workaround for this. In weather settings disable sound effects. In case you were unlucky and it is raining in your city you can either wait for next sunny day or clear weather app data in app manager. Then before add new cities disable sound.
[Hero, G2 Touch Android Development] rdejager:
Thanks for that quick workaround :D
[Hero, G2 Touch Android Development] pmarmotte:
Rainy day? This is becoming quite our every day time around here in France isn't it Whitealien?

Apart from that I do agree with all of you, this roms is really awesome, fast and stable. It has reconciliated me with my Hero I was starting to get bored with so...thumbs up!
[Hero, G2 Touch Android Development] television_boy:
Thanks a lot for that new realease.

For me all all is working well, is the best sense stable rom.

Just two little things : 1) Htc widget weather is crashed anymore 2) New Androis Market is very slow, the old one was working very well for me.

However, thanks again for this great work
[Hero, G2 Touch Android Development] catsado:
Please remove the new version of the market. Its very laggy with this ROM. Or add it like an option :( . I need speed xD!
[Hero, G2 Touch Android Development] mifares:
really looking forward to supporting European languages. add please.
[Hero, G2 Touch Android Development] f_padia:
I found it a bit useless that only 1 line of new messages are shown in the notification window on the lockscreen. So I I have modded the lockscreen so that the full message is now shown.

To use it just push the apk to /system/app and restart phone.
[Hero, G2 Touch Android Development] davrave:
I second that request. The new market is far too slow. Please supply update to revert back to previous, as this will allow me to use it everyday. Thanks for the Rom update.
[Hero, G2 Touch Android Development] bharat_goku:
i dont kno whether it was the roms inbuilt sd-ext support or this patch but i can confirm i have working sd-ext support :D

[edit]errrr spoke to soon phone is rebooting alot :|
[Hero, G2 Touch Android Development] whitealien:
This is not optional. AFAIK you can't just use old market since google will automatically update to newest version, unless someone knows a hack how to avoid it.
[Hero, G2 Touch Android Development] dkelley:
disagree. it's still in beta or officially unreleased for most phones and may have debug code in it which slows things down.

it's sexy alright, but yes it's slow and uses the screen real estate in a rather HD requiring way, so not ideal for the hero.
[Hero, G2 Touch Android Development] RCOO:
But once Google releases the official final version, we will all be updated to that slow version.

It's just a matter of time.
[Hero, G2 Touch Android Development] dkelley:
maybe. hopefully they will only push to phones meeting certain requirements. if that depends on init data in the rom then we can change it to control which market we get.

and, since it's (I think) prerelease still now, it could speed up by the end.

one thing I dislike is it seems awfully bandwidth hungry.... all those images, every click has lots to download.... it can only get faster. I really hope so at least!
[Hero, G2 Touch Android Development] RCOO:
I'd assume it would be delivered to specific Android versions... Plus, we don't know the performance in the Hero stock rom... At least, I don't. It could perform better in the original firmware.
[Hero, G2 Touch Android Development] JieeHD:
I've not actually optimized the market app now that I think of it, I'll add that to the list :)
[Hero, G2 Touch Android Development] RiggerofRiV:
After testing RC3 for a short time I went back to 2.5 because the bugs I posted are still in the actual ROM plus there are some missing translation in menus and popups like for "Ring tone volume".

I dont fullwipe my phone for this (only wipe dalvic and cache) and everything went well, but I still have this slow new market. I could overwrite it with an older vending.apk, but can I take any vending.apk? If I have to use a special one, whats the latest version and where can I find it? I searched the G2 forum and the latest version I found doesnt match the one I belief to remember from Hero or other devices.
[Hero, G2 Touch Android Development] pulser_g2:
I'd suggest being careful, as you can't resign it, or automatic market updates won't work.
[Hero, G2 Touch Android Development] jpdpinto:
I've reflash de Radio but I still can find my wlan at home. Can anyone tell me what I can do on the router to solve this? It's really annoying.

Another thing...I always have to put de PIN twice on the HERO when I turn it on. Is this normal?

ty :)
[Hero, G2 Touch Android Development] djdavis:
I still had sms problems in this version, not receiving notification of new messages, which I'm sure would have led to not receiving some messages at all, like before
[Hero, G2 Touch Android Development] seshmaru:
My wifi isnt working, do I need a specific radio for this to work?
[Hero, G2 Touch Android Development] rdejager:
The new market is nice, but on the HTC Hero its slow as .... :P

So when I was testing this I smashed the market from 2.5 in it, and it worked great. Update of the market was not really needed. Nice for the people who want to live on the edge.
[Hero, G2 Touch Android Development] davrave:
Re: sms notifications

+1. I get the messages but the green light that usually notifies me of a message received, does not blink.
[Hero, G2 Touch Android Development] JieeHD:
You need to turn it on in settings.

Settings > Display > Notification flash.
[Hero, G2 Touch Android Development] f_padia:
You can try my modded kernel I posted a few pages back. I'm pretty sure it has fixed my message problems.
[Hero, G2 Touch Android Development] djdavis:
Yeah I think I might try that again. It worked well when i used it in 2.5, with the new memory optimisation stuff in this version it should work perfectly
[Hero, G2 Touch Android Development] seshmaru:
To be more specific, it says error every time I try to turn it on. I've wiped 3 times completely, data, cache everything.
[Hero, G2 Touch Android Development] f_padia:
Try flashing lv kernel after you flash the ROM
[Hero, G2 Touch Android Development] dkelley:
haha if you keep "adding this/that to the list" you will never have a life outside of building roms ;-)

but yes, please do add it to the list. I appreciate with how busy this will make you, but I still want new features and fixes! haha :-)

cheers - congrats on yet another solid release.
[Hero, G2 Touch Android Development] dkelley:
or who need help falling asleep at night (just use the new market for 5 minutes and tell me you're still awake...)

good to know about the old market push success
[Hero, G2 Touch Android Development] dkelley:
that's different isn't it? no led flash is minor compared with not getting the messages. these are two different problems.

he was trying to make sure the messages were received reliably. so far it seems reliable to me - I did some tests with my wife's phone by texting back and forth including hwile I was playing games on my phone and while my phone was asleep. it worked every time. I didn't always get led notifications, but that is so minor compared to not getting messages at all.

edit: my notification thing is turned on and I do get led flashing- but I believe (not certain) that I got notifications right away every time. but I was testing it pretty rapidly so may not have given it the opportunity to notify me each time (I'd send a text to my phone then almost instantly go and check to see if I got it.)
[Hero, G2 Touch Android Development] seshmaru:
Just tried, didn't work.

It works fine with elelinux 7.1
[Hero, G2 Touch Android Development] dkelley:
when that happens you need to reflash the kernel. something small is wrong with your installation for some reason.

all I can say is, over the years occasionally that kind of thing happens to me (and others). like no matter how much you wipe, some left over files are "stuck" there or something like that, or some files don't get flashed correctly in some specific rom when for everyone else it works fine.

flashing a different rom in between sometimes helps (and then wiping again of course).

or reflashing the kernel often helps.
[Hero, G2 Touch Android Development] JieeHD:
Like dkelley says, perhaps the system isn't being cleaned properly as unlikely as that sounds. Try using this command in ADB and re-flashing;

mount /system && rm -rf /system/* && umount /system
[Hero, G2 Touch Android Development] seshmaru:
Can't do this atm since I'm at girlfriends house, but as soon as I get home I'll try this. Hope it works since sense is only second to MIUI to me on the list of android UIs.
[Hero, G2 Touch Android Development] slashigol:
I use this great ROM now, but how to make it syncing with HTC Sync on the laptop/pc? I use HTC Sync 3.0.55xxx, the update one. Always failed to detect/connect my device.....:confused:
[Hero, G2 Touch Android Development] mrmooa:
text to speech

does anyone know if the text to speech works with this new update, sorry if its already been mentioned
[Hero, G2 Touch Android Development] JieeHD:
Edit: Upload it tomorrow, made a small mistake in the scripts.
[Hero, G2 Touch Android Development] puppyko:
Tested, still not working for me using this latest release :(
[Hero, G2 Touch Android Development] mpgrimes:
I did a search for bluetooth but there was a lot of posts, so if this has been asked, sorry, is there any way to keep bluetooth turned on when you reboot? i keep forgetting to re-enable it after a reboot.

Also, if wifi performance of the hero just crappy in general? or is it a ROM thing?
[Hero, G2 Touch Android Development] mpgrimes:
ive had good luck getting it to work, took a few tries the first time, disconnect the USB cable and reconnect with sync open on the computer, and select sync when the popup menu asks on the phone.
[Hero, G2 Touch Android Development] JieeHD:
Okay, the working zip is here. Flash in recovery for Old Market. Don't think any wipe is needed but if you have any problems then wipe cache and dalvik then flash.

Download
[Hero, G2 Touch Android Development] VandaL^:
What "LITE Flashable Packages" are for? I tried to flash skins,photo and teeter so when lockscreen shows I unlock it and there is white screen with htc logo in middle.

Second question is who do I run recovery when I shut down the phone.I choose shut down, but when its done I press home and red, phone turn on, but not in recovery then normal start.When I want to go to recovery I must pull out battery, who to enter recovery without that?

Sorry for my bad english.
[Hero, G2 Touch Android Development] nicky9door:
Lite packages are fron an older version. As for recovery you probably have fast boot enabled. Tuurn it of in settings under power control (or something like that)
[Hero, G2 Touch Android Development] VandaL^:
Thanks, didnt know this ROM has that feature.
[Hero, G2 Touch Android Development] slashigol:
Yes, I did..my phone can connect with htc sync now. But when I try to synchronize my phonebook with outlook, pop-up menu appear say "contact could not copy from phone"....:confused:

Even I use/try with MyPhoneExplorer v1.8.1, I can't sync it. It say "could not read from phone".:(
[Hero, G2 Touch Android Development] VandaL^:
I dont know for others but there is a bug for me.When I tap on weather at htc flip clock, black screen appears and after 2 sec shows "Weather has stopped unexpectedly" and need to force close.
[Hero, G2 Touch Android Development] JieeHD:
It's a known bug, the workaround is to go into the weather settings and disable sound effects. If it's raining then you're unlucky :p , you can either wait till it's a sunny day or go into manage applications and clear HtcWeatherProvider data and then disable sound effects.
[Hero, G2 Touch Android Development] VandaL^:
yeap, it's raining :)
[Hero, G2 Touch Android Development] JieeHD:
RC 3.5 is here! Check changelog :p

Download: RC 3.5
[Hero, G2 Touch Android Development] mifares:
Ah. All versions come out, but not all of the Russian language.: (
[Hero, G2 Touch Android Development] Dr.dre:
Any Wipe required ?
[Hero, G2 Touch Android Development] catsado:
Screen-on during calls bug fixed? And by the way i got this camera bug. When i take a photo the phone freezes on the photo and thats all. The photo isn't save and if i want to exit the camera i need to press home button.
[Hero, G2 Touch Android Development] JieeHD:
Cache and Dalvik, takes a while to boot.
[Hero, G2 Touch Android Development] Dr.dre:
Getting a error while flashing RC3.5, It says

'Missing File boot.img'

Vefication Failed
[Hero, G2 Touch Android Development] cartman333:
Try it flashing via Clockwork recovery, and before the install turn off signature verification.
[Hero, G2 Touch Android Development] stefpaul:
If you use AmonRa it is possible to get the error. I use ClockWork and don't have any problems;)

BTW: try a full wipe...and see after that
[Hero, G2 Touch Android Development] JieeHD:
Oh ****, forgot to sign it.. I'll sort it later, sorry guys.
[Hero, G2 Touch Android Development] caiyc9064:
never mind~we love ur rom~great job!
[Hero, G2 Touch Android Development] davrave:
+1 also need signed zip using AmonRa. Thanks for the rom
[Hero, G2 Touch Android Development] bharat_goku:
the rom uses las venturas kernel which does not have a stable camera at 5 megapixels,u can try using the flykernel of erasmux but the speed of the rom is lesser than with las venturas kernel.....the camera does work but at 3 megapixels so change ur camera settings to 3 mp n use ur camera
[Hero, G2 Touch Android Development] Dr.dre:
Signed and flashed through Amon Ra, after flashing, it again starts showing recent apps in notification bar:( and the patch given in the first post I think is an old copy of SystemUI.apk and RC 3.5 has a new copy of SystemUI.apk