yashsingh1/xdaforums huggingface dataset:
[Hero, G2 Touch Android Development] adwinp:
Updated post #1 with new version.

Battery drain completely fixed.

New users need only worry about their Hero not booting due to the device being unable to work under 729MHz.

In that case, download the b0rk3d kernel from post #1.

IMPORTANT:

I don't have access to my primary workstation, due to which I couldn't sign the zips.

To install them, use Koush's Clockwork Recovery for Hero, disable signature checking, or sign the zip with the test key before copying over to the sdcard.

Here's a snippet you might like:
[Hero, G2 Touch Android Development] keyra74:
am i blind or did you forget the new kernel link on first post ?
[Hero, G2 Touch Android Development] ermacwins:
wpouldnt Koush's Clockwork Recovery replace amons?

does koush's recovery do everything amons does?

so this rom contains sense elements?
[Hero, G2 Touch Android Development] adwinp:
No, I upped a new rom altogether.

You just need the other kernel if you're running into problems, and there's a link to that in the "RTFM" section.

Yes, it would. Unless the newer Amon versions enable you to toggle off signature verification?

No, no Sense elements. Don't like the OEM bloat and never will.

Only the VERY old version has Rosie.
[Hero, G2 Touch Android Development] ermacwins:
ok flashed kousch's recovery but where do I disable the signature check?

also you rom says hybrid so I was thinking it had bits of sense
[Hero, G2 Touch Android Development] AsTuRkInG:
Hi, and if i have problems when i try to flash?

It says...

E: No signature (653 files)

E: Verification failed
[Hero, G2 Touch Android Development] ermacwins:
i think u need a kousch's recovery
[Hero, G2 Touch Android Development] AsTuRkInG:
well... i signed the update and im uploading, when it finish and... of course i can i will post the link

edit: well, right now the phone doesnt boot. it freezes with the nexus boot image

i have try to flash the HikaRi_krn_2.2.0_1_b0rk3d0 but it returns "Can't find update script"

*Here is the ROM signed

Hik@Ri_2.2.0_99_os SIGNED - http://www.megaupload.com/?d=J2BYAOBH
[Hero, G2 Touch Android Development] bonesy:
fastboot flash boot boot.img (from borked file)

adb push wlan.ko /system/lib/modules (frmo borked update)

SHOULD WORK!
[Hero, G2 Touch Android Development] adwinp:
Nope, these were drivers.

If you flashed the newest clockwork, signature check is disabled by default.

Read post #1 carefully. Especially the huge red parts.

1: sign it yourself; 2 use clockwork recovery; 3: disable sig checking. Any of those 3.
[Hero, G2 Touch Android Development] ermacwins:
ok thanks, will flash now. is there a way to turn on signature check?

flashed, cant sign into my google accounts, zeam fc at beginning (what is it) not in the app drawer. also bloated apps

going to another rom

Thanks
[Hero, G2 Touch Android Development] adwinp:
That's strange.

I flashed the same exact rom before uploading and no FC's whatsoever.

You have to reboot at least once before signing into google.
[Hero, G2 Touch Android Development] nprussell:
@ Adwinp

I tested this ROM last night, and I really really like it.

Great work mate, as always.
[Hero, G2 Touch Android Development] adwinp:
That's nice, thanks.

Did you experience any FC's like ermac suggested?

I got none.

O_o

I couldn't sign that update.zip properly, since all my dev stuff stayed in PL.

I'll make a proper release on Monday or Tuesday, once I'm back.

;]

Anyway, PM me should you need any help with Villain (although I can see you're managing just fine).
[Hero, G2 Touch Android Development] Arkymedes:
cant download from rapidshare... ;'(
[Hero, G2 Touch Android Development] krispijn_s:
Okies.. finally rebuild my system so now I can play with this ROM some more :)

Flashed the new version, but it seems it's not rooted properly? I can't adjust the cpu-frequencies with SetCPU. :confused:

Impressions so far: it rebooted about 4 times initially, but after that it seems to work rather stable.... EDIT: until I just opened the market while I was typing this and the phone rebooted again =\
[Hero, G2 Touch Android Development] adwinp:
That's strange; are you using the b0rk3d kernel?

It's capped at 652MHz and you shouldn't be experiencing reboots.
[Hero, G2 Touch Android Development] krispijn_s:
Yeah I was using that kernel.. and it did seem capped @ 652 MHz (using SetCPU), but I still had random reboots even after 7 or 8 reboots.

It would seem my Hero is rather picky about what it wants to run or not. Maybe I should have a fatherly conversation with it. :confused:
[Hero, G2 Touch Android Development] Dombard:
Is it a Froyo ROM? Or not?
[Hero, G2 Touch Android Development] adwinp:
For the time being, use the stock kernel from HTC.

I'll make you a ~600 kernel in the evening or tomorrow.
[Hero, G2 Touch Android Development] adwinp:
2.1 (it's stated in the 1st post that this was an aosp sync from the end of May).
[Hero, G2 Touch Android Development] adwinp:
Due to popular request (the ROM being "bloated", although I only added what in my personal opinion, were the best apps fulfilling a certain function), I've upped an up-to-date NAKED version.

Naked means that you've got the strict mininum to get it running. You've gotta adb push or download from the market any apps you'd need - IM, mail, multimedia...

The default kernel is clocked at 729MHz and this setting has been running stable for ~2 weeks.

IF, however, you're experiencing stability issues, or, unable to boot, read post #1.
[Hero, G2 Touch Android Development] iRobert:
... looks kinda good ;-) love to see that u removed the espresso-stuff. will give this rom a spin the next few days.

please continue your great work :-D love to see roms from exprienced devs ;-)

bb.
[Hero, G2 Touch Android Development] adwinp:
These were old screenshots pertaining to the deprecated espresso hybrids.
[Hero, G2 Touch Android Development] blackplatypus:
@adwinp are the differences in your ramdisk (initrc,default.prob..) in comparison with "the default" hero one because the rom is hybrid or are they your own tweaks?

e.g

or the different timeout values for rmnet stats...
[Hero, G2 Touch Android Development] adwinp:
Lol, another one studying my initrd?

;]

Some of these are my own tweaks.

I still have to test and benchmark the different readahead settings. No time for that, but 4kb was definitely too little.

I would push that as far as 64kb (or 32, to be on the safe side).
[Hero, G2 Touch Android Development] blackplatypus:
yeah lately I'm playing around a lot with kernel stuff in order to find the best mix between battery usage and performance, as everyone seems to use different frequencies,ondemand,sleep values...
[Hero, G2 Touch Android Development] adwinp:
You have to find your own settings; looks like not every hero is the same;

for example, not all heroes support overclocking +700MHz.
[Hero, G2 Touch Android Development] blackplatypus:
yeah same thing with the wakeup stuff.
[Hero, G2 Touch Android Development] sperug:
Hi, I made a try with your rom, all was fast and smooth, but I was unable to gain root access, sorry (no titanium)... Had to give up, but I'm still interested, if this can be resolved I'll came back!
[Hero, G2 Touch Android Development] adwinp:
That is very strange.

root is a feature I use a lot, so I made sure it was working:

WiFi tethering works as well.
[Hero, G2 Touch Android Development] sperug:
I made another try, downloaded again and reinstalled. But all was the same, no root, even with lower kernel...
[Hero, G2 Touch Android Development] iRobert:
maybe usb-debugging is off? that was a mistake i made :-D

bb.
[Hero, G2 Touch Android Development] adwinp:
This is a problem related to TitaniumBackup, NOT Hik@Ri.

Send an email to the developer requesting he changes his programming techniques and at least runs some tests.

In fact, the busybox Titanium downloads is exactly the same I have been using for a long time in Hik@Ri roms, making the 2Mb download totally pointless.

He could AT LEAST check the output of `which busybox` or `which bb`...

Download the busybox Titanium requests or make a symlink from the system busybox here:

# ln -s /system/xbin/busybox /data/data/com.keramidas.TitaniumBackup/files/busybox

Restart Titanium and it should be ok.
[Hero, G2 Touch Android Development] kosmiq:
Does A2DP work in this ROM (bluetooth-calls that is)...?
[Hero, G2 Touch Android Development] adwinp:
Try now; I've changed to mediafire.

Haven't tried it myself, but:
[Hero, G2 Touch Android Development] kosmiq:
Nice. Will flash and test later on. So tired of Sense... :)
[Hero, G2 Touch Android Development] sperug:
Thank's for your kindness! But root problems are presents not only with titanium, the request for su permission never appears, and applications don't start, for example root explorer or boot control... Even with usb-debugging enabled...
[Hero, G2 Touch Android Development] ArchaosAngel:
JIT is already enabled?
[Hero, G2 Touch Android Development] adwinp:
I'll take a look at that in a few hours.

That's very strange, since the screenshots I posted are fresh from the latest Hik@Ri.
[Hero, G2 Touch Android Development] bazza_1988:
does this rom support bluetooth calls? i know the other aosp roms don't but it looks to good not to query
[Hero, G2 Touch Android Development] adwinp:
Read 5 posts earlier.
[Hero, G2 Touch Android Development] dan96815:
It worked for me!
[Hero, G2 Touch Android Development] adwinp:
Dan, in which version did it work for you?

Otherwise: when did you download the Hik@Ri version it works on?

Did you download from Rapidshare or the latest one, from Mediafire?
[Hero, G2 Touch Android Development] dan96815:
The latest version mediafire I have a plantronics headset
[Hero, G2 Touch Android Development] adwinp:
Thanks for the feedback.

That's good to know.

I couldn't really test A2DP since my headset "had an accident".
[Hero, G2 Touch Android Development] dan96815:
I noticed you set the ringtones really loud!!
[Hero, G2 Touch Android Development] dan96815:
You could try and look here..

http://xdaforums.com/showthread.php?t=682828
[Hero, G2 Touch Android Development] bazza_1988:
cheers for the swift reply about the bluetooth. i also have the same issue with root. cant restore my applications with my backup and cant use setcpu either
[Hero, G2 Touch Android Development] dan96815:
I flashed this "su-2.1-e-signed" and overclock widget works.. still testing...
[Hero, G2 Touch Android Development] bazza_1988:
cheers worked a treat
[Hero, G2 Touch Android Development] adwinp:
@bazza:

I'm investigating this issue right now;

I might upload a fix later on.

>EDIT<

I found the culprit.

There was a discrepancy between the superusers in my private testing rom and the xda uploaded ROM.

I will fix that asap.
[Hero, G2 Touch Android Development] dxj1107:
can't using WIFI

Hi I flashed the rom and then it seems successfully connecting to wifi, however, I can sync my google account and open google map.

That means I can connect the wifi but actually can't get any data transfer, can anyone tell me how to get it work? Thanks
[Hero, G2 Touch Android Development] adwinp:
@bazza; @dan:

Uploaded a fixed version of Hik@Ri.

Do you have any exotic router configurations?

I've been using WiFi with no problems for the last 2 weeks, with WPA/2 and CCMP/TKIP.
[Hero, G2 Touch Android Development] Dormantlemon:
Can I ask what launcher you used in the screenshot? It looks beautiful!

Unfortunately, I cant find out myself, cos i cant boot the rom :( itll load up with the kernel patch, but screen is unresponsive until it goes locks itself and screen goes off. Then the button lights are instantly responsive, but the screen doesnt come on. I presume still summit to do with clock speeds :S

Any suggestions?
[Hero, G2 Touch Android Development] sperug:
Right, it worked for me too, thank's!
[Hero, G2 Touch Android Development] adwinp:
The only thing I can think of is the kernel itself.

You're really unlucky, since I went all the way down to 614MHz for the b0rk3d kernel.

I can whip up a 518MHz kernel later on, or you can flash the standard HTC kernel (don't forget the wlan.ko module if you'll be using wifi).
[Hero, G2 Touch Android Development] dxj1107:
OK done, It is because of the channel of the router, original one is 3 and I changed it to 6. works, thanks
[Hero, G2 Touch Android Development] Dormantlemon:
mmm well ive managed a 768mhz before, but ill try another kernel (i compiled my own a while back for personal use, ill try that). Also ill try the androbin kernel, ive had total sucess with that. Thanks :)
[Hero, G2 Touch Android Development] adwinp:
That is very strange then, since the default I'm using is 729.

You might be experiencing trouble with waking up, since the lowest I've set is 19, but I haven't had any troubles with that one.
[Hero, G2 Touch Android Development] kieranc:
I've just installed this tempted by working A2DP, not tested that bit yet but I've had a couple of reboots... I suspect it's not liking 729MHz (although I've had 768 previously..) but there are very few frequencies available. what frequencies are available on the alternative kernel? 710400 would be ideal, I've been running that for ages.

edit: argh, all my phone numbers now have hyphens in them :|
[Hero, G2 Touch Android Development] adwinp:
The alternative kernel has been stripped down all the way to 614MHz.

Well, some ppl were having trouble even with 710MHz.

Can't really satisfy everybody.
[Hero, G2 Touch Android Development] Pagan:
No luck for me with your rom. My hero cam handle up to 652 but the alternative kernel is also hanging at HERO bootlogo :(
[Hero, G2 Touch Android Development] adwinp:
Strange. And unlucky. The b0rk3d kernel is set to 614MHz.

Try using the standard HTC kernel.

My hero is stable at 729MHz.
[Hero, G2 Touch Android Development] Pagan:
I tried the Chocolate 1.0.1 kernel 245/567 but no luck with that either. Or is this the wrong kernel?

adb logcat: I//system/xbin/busybox( 50): /system/etc/init.d/apps2sd: /system/bin/busybox.a2sd: not found
[Hero, G2 Touch Android Development] pcs333:
i have the same problem although my hero can handle upto 710 with other roms.

where can we get the default htc kernel ??
[Hero, G2 Touch Android Development] adwinp:
You have to get hold of the Hero ROM that was leaked a few months back.

In fact, 2 ROMs were leaked, with kernels 1236 and 568. Use the latter.
[Hero, G2 Touch Android Development] sperug:
I'm trying this rom since yesterday, many small problems, one bigger: when I try to make a nandroid in recovery, it stops with error, saying to try via adb. It's the first time I experienced that, in the forum I finded no sinal. The nandroid I was trying was a normal android+ext. Is there any problem connected to jit?
[Hero, G2 Touch Android Development] Mikeytjee:
Have you tried putting your hero into your AC adapter and then run nandroid again?
[Hero, G2 Touch Android Development] adwinp:
I've built a new kernel clocked at 748MHz with the following results:

I'm wondering whether to use that kernel as the default for Hik@Ri.

I am considering this option since my Hero is quite stable at that freq.

Dunno how other Heroes will react to that kernel.

What do you say?
[Hero, G2 Touch Android Development] Mikeytjee:
Do It! look forward :D
[Hero, G2 Touch Android Development] kieranc:
i've gone back to ahero.. the reboots don't seem overclock related to me, ran plenty of stress testing without reboots, it's just random...
[Hero, G2 Touch Android Development] adwinp:
This must be related to some of the software you have installed.

I have been using this rom or at least the base platform for ~3 weeks now, with no reboots.

Reboots only happened during the private testing phases and were related to OC/WiFi.

In any case, I've just updated post#1 with a link to an updated version with a 748MHz kernel.

I've been testing that for a few hours now and it seems as stable as the previous version.
[Hero, G2 Touch Android Development] RaduG:
There are some problems with both minimum frequency and max frequency. There appear to be at least 3 different revisions of the hero: the ones that can handle 19MHz to 768MHz without any issues(like yours and mine), the ones that can handle 122-160-176/650-691, and the unlucky ones(which most of them appear to be T-Mobile branded) which can't get under 245 or over 576. The higher-clockable batches were manufactuerd this year.

That's my experience in building my kernels, with a lot of user feedback.
[Hero, G2 Touch Android Development] adwinp:
Thx for the feedback, although there might be some correction needed:

Mine goes all the way down to 19MHz, although it tops at 748; 768 makes it crash.

Apart from that, mine was one of the first to be manufactured (bought October, last year).
[Hero, G2 Touch Android Development] RaduG:
Wasn't the Hero launched on June last year? Mine was manufactured in february and it goes down to 19 and up to 768.
[Hero, G2 Touch Android Development] adwinp:
Yes it was.

I'm building a newer kernel as we speak.

19/245/576/748

I have to test it though.

Sched granularity and latency should allow fast freq switching, so the big freq hops shouldn't be a problem.
[Hero, G2 Touch Android Development] kieranc:
I'd love to think so however i restored a backup with exactly the same software installed just on ahero 1.0 with a 710 kernel and everything's peachy. they feel just like the reboots which were occuring on ahero 0.8/0.9 ish, launch an app, freezes for a few seconds then reboot.
[Hero, G2 Touch Android Development] blackplatypus:
mine goes from 19 to 710, not higher (bought in august).
[Hero, G2 Touch Android Development] adwinp:
I might downclock back to 729; 748 makes some random crashes during heavy usage. Other than that, it's fine.
[Hero, G2 Touch Android Development] blackplatypus:
mine reboots during heavy usage running on 729, however 710 is rock stable, very strange.
[Hero, G2 Touch Android Development] adwinp:
I can't recall mine rebooting on 729, although 710 might be a safe bet.

A pity other ppl aren't filling in on feedback.
[Hero, G2 Touch Android Development] sperug:
Am I the only one with problems in doing a nandroid backup? I tried with an ac cable, tried a bart backup... Nothing, every time it stops, saying to execute the program via adb... I read in the Radug's forum that the new dalvik cache system causes problems with nandroid, but not with bart, says...
[Hero, G2 Touch Android Development] adwinp:
Try it the easy way:

enter an adb shell from recovery (I suggest koush's excellent clockwork reco.) and do the following:

BACKUP:

#mount /sdcard

#mount /system

#mount /data

#cd /

#tar cpf /sdcard/data.tar /data

#tar cpf /sdcard/sys.tar /system

RESTORE:

#mount /sdcard

#mount /system

#mount /data

#cd /

#tar xpf /sdcard/data.tar

#tar xpf /sdcard/sys.tar

or

BACKUP:

#mount /sdcard

#cat /dev/mtd/mtd3 > /sdcard/system.img

#cat /dev/mtd/mtd5 > /sdcard/user.img

RESTORE:

#mount /sdcard

#cat /dev/zero > /dev/mtd/mtd3

#cat /sdcard/system.img > /dev/mtd/mtd3

#cat /dev/zero > /dev/mtd/mtd5

#cat /sdcard/data.img > /dev/mtd/mtd5
[Hero, G2 Touch Android Development] sperug:
Thank's! I installed the recovery you suggested, by now I made a recovery through rom manager, this may have resolved...

A suggestion: could you upload as update.zip the various oc kernels you tried? Every one could make his own costumizations...
[Hero, G2 Touch Android Development] JonasBom:
What launcher?

Hey, your ROM sounds really nice. I tried to flash it but my hero stuck at the brandingscreen...i will give it a try the next days, but can you tell me what launcher you used in your screenshot?

Greetz

Jonas
[Hero, G2 Touch Android Development] adwinp:
Did you try the "b0rk3d" kernel?

Your hero might not be able to support exotic freqs., that is why you need to use another kernel.

Worst case scenario, use HTC's old leaked kernel.
[Hero, G2 Touch Android Development] Arkymedes:
Hello,

Is the superuser permissions fixed in the current ROM?

I too cannot restore my backups or use any app that requires root, since the prompt never appears.

Thanks!
[Hero, G2 Touch Android Development] adwinp:
Yes, this has been fixed.

Well, I can't understand ppl using nandroid. lol

Use the method I proposed a few posts earlier.

I use it myself.

To be exact, provided there are no big differences in framework,

you only need to backup:

/data/data

/data/misc

/data/system

And that uses < 10Mb.

I do that all the time while rom testing.
[Hero, G2 Touch Android Development] Arkymedes:
I don't use nandroid :)

I'm talking about Titanium Backup, since it backs up also Wifi access point, sms and bla bla bla...

Also, as I'm with your ROM installed as I type, cannot install apks from my SD card using something like eStrong File Manager. It jumps straight to "Application not installed" page. :(

Cannot also install via adb install, it gives: Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]

Might be something about app2sd?

Thanks for the quick reply though :)
[Hero, G2 Touch Android Development] adwinp:
I use OI file manager, since it's small, and have no problem installing.

Check your free space in /data:

#df -h | grep data

You might be running low on space in /data

I'm wondering whether to automatically use the 1st partition on the sdcard for apps and dalvik.

What do you think?
[Hero, G2 Touch Android Development] Arkymedes:
I think it's a convenience and it makes more sense at least for me, since most people who partition their SD cards do it because of app2sd right?

About the space available, 140MB free :(
[Hero, G2 Touch Android Development] adwinp:
Uploaded a 729MHz kernel (full-release reup), since 748 caused problems with multimedia apps.

Any ppl who downloaded Hik@Ri before today:

I recommend you update.
[Hero, G2 Touch Android Development] adwinp:
Brewing some aosp froyo as dessert.

;]

Don't ask about "when" or "how".
[Hero, G2 Touch Android Development] furrypotato:
When ??

How ??

;-)

Cool. Good to see a few people working on this now. Should be an interesting few weeks ahead of us
[Hero, G2 Touch Android Development] adwinp:
Well, I didn't have any time to work on it earlier, but seeing how every single 2.2 was based on Cyanogen, I decided to resume working on a vanilla version.

At the moment of writing, OpenGL works, so do calls, WiFi, Bluetooth (A2DP as well), data.

I'm working on camera.

Dunno if I should release that though, since this rom follows my Hik@Ri ROM philosophy, which is attractive to only a select group of ppl.
[Hero, G2 Touch Android Development] adwinp:
Here's a link to 2.2:

>EDIT: check post #1<

The only thing that needs work is camera.

Please note that you'll have to sign it by yourself; I'm experiencing some java problems on my workstation. I might post a signed copy tomorrow.

You DON'T need signing if you're using Koush's Clockwork recovery and/or if you've disabled signature verification and/or you have engineering SPL.

;]

This is MOSTLY, a vanilla release. I've only added a few basic apps you might need to get you started, but I might also release a naked version.

You will probably want another launcher...

Everything else is working.

For those asking about A2DP, I've checked it with an HBH-IS800 Sony Ericsson stereo headset.

Guidelines from post #1 are in order.

The default kernel is an overclocked one, and your Hero might not necessarily support it. On mine, everything works just fine.

To conclude:

I've been using it the whole day with no problems whatsoever.

Cruising speed was achieved after the initial configuration and a few reboots.
[Hero, G2 Touch Android Development] Sustanon:
Error

The file is not fully saved at RapidShare yet. This file is possibly still being uploaded.

Please try again later.
[Hero, G2 Touch Android Development] adwinp:
VERY strange.

I'll upp it on MF then. Gimme a few minutes.

>EDIT<

I've fixed the link; check post #1
[Hero, G2 Touch Android Development] maxniper:
Yap it's ok now
[Hero, G2 Touch Android Development] adwinp:
This is mostly a modified private build; send me a PM in your free time with issues you might encounter.

btw, dunno if you will get used to the font; if you want to change it, just push the ttf files from /system/fonts from any other rom and reboot.

I forgot to change those for the xda release.