yashsingh1/xdaforums huggingface dataset:
[Hero, G2 Touch Android Development] gkillerx:
Great ! Will flash tomorrow going for a quick nap now

edit:

It's rebooting right now!

edit2:

Seems a little faster, hard to tell but it feels faster ;) (I think it's the mind playing tricks though)

Other things, I can mount the SD in 1 try! On RC2 I had troubles with mounting, now this seems be gone.

Will test futher with battery drain and overal user experience (OUE!)

edit3:

2:13 min on and 1:42 in deep sleep, battery seems oke as of now.

edit4:

HUGH PROBLEM! when I receive calls after 10-20(30) seconds I lose my signal and the call gets disconnected. Happend to me about 4 times! I also tried setting mobile network data connection off and GSM only, since I don't use mobile internet. is this kernel related? Hope this gets fixed soon becouse I never had this problem with [ROM]Elelinux-Hero-2.1-update1-Reloaded and [KERNEL]Flykernel 13

Tested on Android 2.1
[Hero, G2 Touch Android Development] nickholtus:
no, fastboot don't work

get a error
[Hero, G2 Touch Android Development] riemervdzee:
Hmm, I was afraid for errors with radio/camera related. I'll revert some of the Desire "fixes" then, will have a build up this evening. Apologizes for the inconveniences.

I think you'll have to get a sd-card then, I'm afraid. Flashing an engineering bootloader will require you to flash it via recovery as well (if you want it).
[Hero, G2 Touch Android Development] nickholtus:
got a sd compiled kernel today

flashed

Ics is very fast!!

wifi is working well.

very stable.

kernel compiled with your newest sources:)
[Hero, G2 Touch Android Development] spec0071:
Works like a charm on Elelinux-7.2-Hero-v3.8 Android 2.3.7!
[Hero, G2 Touch Android Development] riemervdzee:
Change of plan actually, could you try me the following: Wipe dalvik-cache and reflash and try it again?

Note to all: when switching kernel versions, always wipe dalvik-cache.
[Hero, G2 Touch Android Development] lost101:
I never heard that before.
[Hero, G2 Touch Android Development] riemervdzee:
There is a big difference in how things are set up between 2.6.29 and 2.6.35, especially when you take a look at the android changes (Android 2.1 to 2.3). Anyway it seems that wiping dalvik-cache clears most of the 'unusual' problems.

I just need to know for sure whether the call problem he had was caused due to this or not before I revert some HTC Desire fixes.
[Hero, G2 Touch Android Development] gkillerx:
I always wipe cache and dalvik cache so that wasn't the problem.
[Hero, G2 Touch Android Development] riemervdzee:
Fair enough, will revert one of the desire fixes. Building the kernel right now. Could you test it afterwards? As my hero doesn't have a working SIM anymore. Thanks for pointing it out :)
[Hero, G2 Touch Android Development] 1ceb0x:
gkillerx, do you used ICS 4.0.3 v1.3 for the test? :)

IF it yes, I think that those lines you've added recently riemer, does not do any harm. because ICS 4.0.3 v1.3 had a bug on which the call got dropped and it was before you've added RC3. Now people are confirming that with RC3 the call drop issue is gone...
[Hero, G2 Touch Android Development] riemervdzee:
LV 1.0.0 RC4 is out:

http://www.mediafire.com/?07o7vzn98da9c03

md5: fa6bae16ff23bd77da5a5b0ba9c9a6c9

I think this one is a real release candidate for the 1.0 version. Looking forward for your thoughts about it :)
[Hero, G2 Touch Android Development] riemervdzee:
He is/was on android 2.1
[Hero, G2 Touch Android Development] Gawis:
I am so excited about this but can't test as I don't have the phone at hand.

Sadly don't have much access to it either..

Sent from my SGSII CM9 with Tapatalk 2
[Hero, G2 Touch Android Development] gkillerx:
I'm still on 2.1. Tomorrow I will flash 4.0.3 to make a little video review of the new 4.0.3 :) First, queensday!

Dude you made my day! Now I can go and celebrate queensday in Amsterdam ;) will report by the end of the day!

Thanks for pointing out but I was on 2.1 ;)
[Hero, G2 Touch Android Development] riemervdzee:
Have fun, I'm at work unfortunately :( Enjoy the nice weather *sigh*
[Hero, G2 Touch Android Development] lost101:
I've had no problems at all with RC3 and ics 4.0.3. Infact, the gps reboot I have come to live with has completely gone. Unsure if it is the kernel, or ics, or the combination of both.
[Hero, G2 Touch Android Development] riemervdzee:
Could you do me a favour and test the same with the newest RC? (RC4). Can't test Radio stability myself as I don't have a suitable SIM card for the hero anymore
[Hero, G2 Touch Android Development] faZevoLv:
Great work btw, but I do have one problem, wi-fi wont turn on at all on the ICS 4.0.3 rom :(

do you think you would be able to fix this please?
[Hero, G2 Touch Android Development] 1ceb0x:
it's fixed in the next release :). no kernel issue at all!
[Hero, G2 Touch Android Development] darkmansd:
http://www.xda-developers.com/android/hardware-acceleration-support-for-hd2-ics-roms/

does this help at all for the hero?

just curious because of this:
[Hero, G2 Touch Android Development] riemervdzee:
Would be great if it did, but the Hero doesn't have a separate GPU. They started shipping them in phones at the release of the htc desire. Guess the Hero is one generation too early for this.
[Hero, G2 Touch Android Development] 1ceb0x:
our hero has GPU :).

According to gsmarena.com:

GPU	Adreno 130

It's just that, until ICS, the rendering was done through CPU power on all phones. No matter what model it was. And now from ICS it starts to render from the GPU.

IF hero didn't had GPU, then, OpenGL ES files and all the graphics drivers we're quite useless...
[Hero, G2 Touch Android Development] riemervdzee:
I believe the Adreno 130 is part of the applictions processor, while in newer SoCs it is a separate chip. (or atleast a part which can be clocked different than the rest of the chip). Therefore I said "separate GPU"

If you take a look at this: (look for Adreno)

http://en.wikipedia.org/wiki/Imageon

You see that at Adreno 200 and later it talks about clockspeeds.

If you look at the capabilities of our "GPU", it isn't a true one either I think.. but that is subjective.

Anyway I think we are stuck with HW3D, I don't think we can get KGSL to work on our Adreno 130 simply because it doesn't support it.
[Hero, G2 Touch Android Development] darkmansd:
but isn't this the same gpu as in the hero?(adreno130):

http://www.youtube.com/watch?v=RqKCam7wgws

edit: nevermind, just saw your post :D

edit2: but still...limited gpu support is better than none, right?^^
[Hero, G2 Touch Android Development] riemervdzee:
Sigh, next time I underline the word separate :P But read the previous post please. Yes, it is the same GPU. Maybe the G1 lads got hardware UI scrolling fixed up, I don't know. But I doubt they got it working via KGSL just like they did it with the HTC Desire, hence what was asked.

Feel free to correct though.
[Hero, G2 Touch Android Development] 1ceb0x:
Did you thought at the ideea that you've looked for infos on wikipedia therefore maybe, since it is so old, the informations about adreno130 (speed, readability) to be unknown to the wider audience?

I still believe that our hero has a physically GPU rather than a 'virtually' one. If it was a virtual one, HTC could compile it themselves and not pay Qualcomm for the separate chipset, don't you think?

Maybe I'm wrong but that's how I see it...
[Hero, G2 Touch Android Development] riemervdzee:
I think I haven't expressed myself correctly.

I believe Adreno130 is part of the application Processor (or any of the 4), which is part of the msm 7k SoC.

While since Adreno200 it is a separate chip on the SoC directly.

Anyway it ain't much of a debate. It shouldn't matter whether it is inside a chip or separate, we'll have to look at the capabilities?

I still think we can't get KGSL working on our Adreno130, which is the method they used for the desire. Maybe it is possible to do it via HW3D, I don't know. I ain't really a userspace guy :)
[Hero, G2 Touch Android Development] darkmansd:
yeah i think you're right...should not matter when we can't use it either way.

still maybe it can be of any help:

https://developer.qualcomm.com/device/htc-hero -> CPU:Qualcomm MSM 7600

and here is the graphic for the chipset (last page):

http://pdf.datasheetpro.com/QUALCOMM/msm7600_chipset.pdf

just in case it helps :)

btw: i don't understand the graphic at all :D

edit: @riemervdzee:...i just found a thread where you answered that same question a year ago :D sry (this one: http://xdaforums.com/showthread.php?t=999876)

if someone wants to read more about it: http://www.simply-android.com/discussion/833/mod-opengl-es-1.1-for-motorola-cliq/p9
[Hero, G2 Touch Android Development] 1ceb0x:
interesting infos.

dual core implemented in 2009:
[Hero, G2 Touch Android Development] riemervdzee:
Well technically we got a quad-core over here ;) But 3 of the 4 are not usable to run applications on though. We got one for media encoding/decoding, one for radio signal encoding/decoding and the last one which contains the code/chip for radio signal processing. You don't want to combine the application processor with the radio signal chip, as you want that gsm/gps wifi signals are always handled without competition from any cpu-demanding applications.

Btw, that is the sprint version for the hero ;) We got a 7200 msm, although they are quite similar.

Paper:

http://pdf.datasheetpro.com/QUALCOMM/msm7200a_chipset.pdf
[Hero, G2 Touch Android Development] caiyc9064:
Hi riemervdzee,

I flash the latest LV 1.0 RC4, but in the kernel version it still shows Las_Venturas-1.0RC3+, is that right?

I must say, the new kernel is fast, stable and battery saving, works great on sense 2.3.3! Fantastic!

Thank you riemervdzee!
[Hero, G2 Touch Android Development] gkillerx:
riemervdzee sorry to hear that you're working :(

and I got some bad news.... still my calls are dropped after 10-20 seconds :( also the music player (I use my phone for calling and playing music, nothing more really) keeps hanging and crashing... never had the problem with flykernel

edit:

After trying for 10 times it keeps getting better my last tried it lasted for 1:12 :P
[Hero, G2 Touch Android Development] riemervdzee:
Seems I compiled it then changed the name, guess that is my error. But it shouldn't matter much :)

For the music: this is probably due the low CPU frequency. In combination with smartass v1 and 19mhz, it tends to stutter when the screen is off for a certain amount of time (doesn't happen with flykernel. Probably because the load at fly is always high enough?). Either increase the lower limit or switch to smartass v2 (or any other governor).

Maybe this is also the problem with the calling issue? Otherwise, care to give me a dmesg after you get the calling problem?

adb shell dmesg > kerneldump.txt

Then in your working directory, all messages of the kernel are stored at kerneldump.txt
[Hero, G2 Touch Android Development] gkillerx:
Will do next time. I always use smartass v2 and 172 als low clock rate. Never @ 19mhz that is just insane...
[Hero, G2 Touch Android Development] lost101:
Used the RC4 kernel all day today. Zero problems. No call drops. No GPS reboots (makes me feel like there is something wrong with the phone now :))

Data works, wifi works.

ICS 4.0.3 with AMM. Perhaps that is making the difference?
[Hero, G2 Touch Android Development] riemervdzee:
After a year of developing, with many stalls due to studying, we finally reached a stable state with the 2.6.35 kernel port. Thank you all for your support through all the times.

Let me know how you all think about it, happy flashing :)

Download is in opening post.

Changes of last Version 1.1:

Declared the kernel (finally) as stable! :)

Updated to the newest linux 2.6.35.14

Switched to slab memory allocator again, this one is way more stable in the long run. My bad, should never picked the slub memory allocator

Newer zram code

Added fixes from the desire kernel

Added xt_qtaguid (ICS network stats collector)

Less spinning to check the other 3 cores status

Upstream fixes for the interactive governor

Some interrupt and dma fixes, should increase stability
[Hero, G2 Touch Android Development] gkillerx:
are those fixes newer then the RC4 version?
[Hero, G2 Touch Android Development] Gawis:
Congratulations on the achievement!

Sent from my SGSII CM9 with Tapatalk 2
[Hero, G2 Touch Android Development] riemervdzee:
The differences between RC4-> 1.1:

- Less spinning to check the other 3 cores status

- Some irq speedups
[Hero, G2 Touch Android Development] gkillerx:
Thanks! and how do I actived the ZRAM module?

and ps

I still have problems with mounting the SD card...
[Hero, G2 Touch Android Development] riemervdzee:
Gonna run so I can't check it out for you, but some posts earlier told us how to activate ZRAM.

Could you get me a dmesg and logcat after trying to mounting the SD-card? It works on AOSP builds, but sense might be a bit crumpy (like always).
[Hero, G2 Touch Android Development] AdmcPL:
Hey, does it work Android 2.1 roms? Also, what cpu governors are supported?
[Hero, G2 Touch Android Development] gkillerx:
Yes it does work on 2.1 and all governors are supported

already tried THIS but it's giving me the same error as then:

mkswap: Can't open '/dev/block/zram0': No such file or directory.
[Hero, G2 Touch Android Development] riemervdzee:
It works with the majority of all Android ROMs. Sense can be annoying though (especially usb-tethering).

Governors:

- Performance

- Userspace

- Ondemand

- Interactive

- Conservative

- Smartass v1

- Smartass v2

@gkiller, ok, gonna check it out when I come back
[Hero, G2 Touch Android Development] lost101:
Zero problems with mounting sdcard here. ICS 4.0.3 w/ lv 1.1.
[Hero, G2 Touch Android Development] 1ceb0x:
thank you for your work Riemer. Happy to test this with ICS rom & include it in it if that's ok :)!
[Hero, G2 Touch Android Development] riemervdzee:
@gkillerx I'll try to get zram working today.

Last night I have been trying again to get a 2.26.38 working on our hero's, but it seems I can't find any appropriate yaffs2 drivers for it. The current 2.6.38 corrupts the /system/ partition, while the current .35 ones don't work on the newer versions (interface changes). Guess there is no other kernel dev around willing to help? :P

Rewriting them would take a lot of time
[Hero, G2 Touch Android Development] gkillerx:
Hi riemervdzee,

I encounterd an other problem. The music player randomly freeses and I also lose my GSM connection then. This happend 2 today but it happend when I was driving so I coudn't do dmesg....

I just arrived home but that was 3 or 4 hours later so I decided to try and replicate it at home and it happend again and this time I got the kernel dump. But GSM showed that it had a connection but the music player just froos. in the status bar it showed the song that was on but there was no sound and it was playing 0:00. I had to pause the song, playback (to 0:00 lol) and it started again after pushing play.

I also got the not mounting in it (mount and nothing happend). I also tested the kernel (v1) on 4.0.3 and there I had no problems with mounting.

Attached is the kerneldump. Hope it helps you!
[Hero, G2 Touch Android Development] riemervdzee:
All these problems happened under which ROM? It seems the music app got killed, probably due low memory. Maybe the ROM has the mem killer tweaked badly?

I always found the AutoKiller handy, so you could set the mem tweaks from an app (and it has more tweaks).

Did they also occur under the ICS 4.0.3 one?
[Hero, G2 Touch Android Development] Habarug:
I find the music app which is included really unstable. Try another musicplayer instead, I use ^3 (aka Cubed) from play store ;)

Edit: Was the music issue on ICS?
[Hero, G2 Touch Android Development] gkillerx:
Rom is:

http://xdaforums.com/showthread.php?t=1003381

With no task killers or supercharger script.

I have no idea if this also happens on ICS because I coudn't test this.

I do know that when I install flykernel there are no problems :(
[Hero, G2 Touch Android Development] MongooseHelix:
While I would love to help out on the Eris side, I'm far from being a kernel dev and right now just trying to catch up and learn enough to get a .35 kernel going for the Eris. Very appreciative to have your source along with jaybob's for heroc to look at and use.
[Hero, G2 Touch Android Development] riemervdzee:
I switched to the ROM to test the problems out, did the following:

1: flashed the ROM just let it boot. Mounting usb ofc works (due the flykernel)

2: Flashed LV 1.1, just let it boot again. Mounting usb doesn't work of course as I didn't wiped dalvik.

3: went to recovery again, wiped dalvik, booted the bugger and usb just works.

Are you sure you wiped dalvik after installing LV? I think the other "strange" bugs are related to not wiping as well.

Is the .35 version already working for the Eris? I always love to help you out if not. I'm thinking of dropping 2.6.38 for now, as I have not enough time to write a whole new yaffs driver. So, any new project is always welcome hehe :P

Got g-talk or something? mine is: riemervdzee@gmail.com
[Hero, G2 Touch Android Development] lost101:
I started testing LV 1.1 today with Elelinux-7.2-Hero-v3.8 Android 2.3.7. I was curious if the gps-reboot would be gone. So far I haven't seen it :)

Thank you again Riemer. I never thought I would get rid of that damn bug.
[Hero, G2 Touch Android Development] gkillerx:
Yep offcourse I wiped it. I'm flashing kernels now almost twice a week (TF101) So I know my way around flashing kernels ;)

Meby it's just my stupid phone that is just slowly dieng out or that I have a simcard putted in ?
[Hero, G2 Touch Android Development] riemervdzee:
Try removing dalvik-cache manually. Go to recovery and open an adb shell:

mount data

rm -rf /data/dalvik-cache

I'm sure it is a dalvik cache problem. Which recovery are you using? Note that wiping cache doesn't work, as dalvik cache is stored somewhere else

Cheers, R
[Hero, G2 Touch Android Development] 1ceb0x:
Yeah, if dalvik sits in sd card it will not be removed even if you select wipe dalvik-cache through recovery.
[Hero, G2 Touch Android Development] gkillerx:
Uhm oké I checked my phone and found dalvik-cache on the following places:

/data/dalvik-cache

and also:

/system/sd/dalvik-cache

I guess the last one is my sd-ext partition? I'm using RA-HERO. So are they both used?
[Hero, G2 Touch Android Development] riemervdzee:
I just checked the install scripts and /data/dalvik-cache "symlinks" to /system/sd/dalvik-cache (only when you have an ext partition of course). Symlink = Symbolic Link, http://en.wikipedia.org/wiki/Symbolic_link

This way the Android system still thinks the dalvik-cache is located at /data/ and can access it in a normal way, but underwater it is stored on the SD ext partition.

You can view the symlinks with "ls -l". An example would be:

lrwxrwxrwx 1 0 0 17 May 2 22:12 d -> /sys/kernel/debug

where /d/ is a symlink to /sys/kernel/debug/

Removing dalvik-cache under recovery, would delete the symlink reference only but not the contents on the SD ext partition. Simply because the ext-partition it ain't mounted under recovery (it is done via the init.d script).

Also.. I ain't sure it is safe to remove the dalvik-cache when the system is running, while removing it under recovery might be troubling as you have to mount the ext partition of your sd-card.

Which recovery are you using?

Edit: Small mock-up what you could write under recovery (via adb shell):

mount -o noatime,nodiratime -t auto /dev/block/mmcblk0p2 /sd-ext;

chown 1000:1000 /sd-ext;

chmod 771 /sd-ext;

rm -rf /sd-ext/dalvik-cache;
[Hero, G2 Touch Android Development] gkillerx:
Thanks for the support so far :)

As mentoined befor, I use RA-HERO as recovery img.

So to be clear. If I run those commands in recovery adb shell it should remove dalvik-cache completely?

I guess I also have to do:

mount data
rm -rf /data/dalvik-cache
[Hero, G2 Touch Android Development] riemervdzee:
The commands I gave you, should work aye. make sure the mount command returns no error though. No need to rm /data/dalvik-cache btw.
[Hero, G2 Touch Android Development] gkillerx:
It worked, so far so good! Just played music and did stuff on the phone (send emails, and read whatsapps.) and no problems so far!

Thanks for the support so far :)

edit:

still having USB mounting issues

Edit2

Still having problems with playing music. When i am sorting music for a playlist it hangs, music stops and all my music is getting deselected! Argghhh stupid music! Kernel is sweet fast and snappy. I also tried supercharging but still same problems. I have 500 music numbers.
[Hero, G2 Touch Android Development] riemervdzee:
Guess it ain't cleared correctly.. I suggest either a fresh install, or I can modify the scripts ele uses to get the dalvik on /data/ again, might be easier to wipe it in the future as well

Cheers, R
[Hero, G2 Touch Android Development] gkillerx:
I think it is just the rom and the combination is just messed. Both folders (in data en system) are created on mei 3th. So wiping/deleting worked. What happens if you modify the script? Do I have to reinstall all my stuff?
[Hero, G2 Touch Android Development] ChosSimbaOne:
Hi. Thanks for release 1.1 seems good so far. I'm on a Gnex now, so the Hero is most for play/backup phone :-) Was wondering if there would be any point in compling a version without all the CPU steps, as i read somewhere that it req. lots of power when the phone is switching between clock speeds. Is that just or hoax or could there be some truth in it?

Best Regards

Mads.
[Hero, G2 Touch Android Development] riemervdzee:
Just tried to ROM and it works perfectly on my hero (although I don't have an ext partition on my SD). The problems you are having sounds lot like the dalvik-cache problems we found earlier around 1 year ago (back when there were Sense 2.2 roms). It is just that the switch-code (to turn mass-storage on and off) got changed, but works nevertheless when wiped correctly. I ain't planning to use the original HTC one, as it is a crappy one ;)

I'll work for an altered script for you (this evening), the difference is that it just doesn't push /data/dalvik/ to your ext partition on your SD. No need to re-install everything.

Also, I'm investigating a possible IO performance hit on the SD-card. Might be wrong though.

Depending on the governor, it skips most of the steps anyway. Having too much steps with different PPL (or something, can't recall) might impact power usage aye, but Erasmux has optimized the CPU step table already for the Hero (using PPL differences as less as possible).
[Hero, G2 Touch Android Development] ChosSimbaOne:
Cheers mate :-) Using SmartAssV2 and Ele's GB rom, so it seems as this is the best solution already :-) Thanks for a great 1.1 release of this kernel :-)
[Hero, G2 Touch Android Development] gkillerx:
riemervdzee any news
[Hero, G2 Touch Android Development] riemervdzee:
Script will come this afternoon, sorry for the delay (busy busy days).

@all, expect a kernel update soon
[Hero, G2 Touch Android Development] pochopsp:
hi guys! for flash kernels, i need to get S-OFF or i can do it normally?
[Hero, G2 Touch Android Development] riemervdzee:
If you can flash roms in recovery, you should be able to flash kernels as well. The HTC hero is poorly protected

Cheers, R
[Hero, G2 Touch Android Development] AdmcPL:
I'm expecting a serious issue with LV kernel. Music player service isn't immortal, Android kills it very often and it makes listening music on phone impossible. This weren't happening on Flykernel. My rom is Tegro 2.6.