[ROM][6.35] Sanpei's HERO Sense, OCed version/almost everything like HTC official ROM

Status
Not open for further replies.
Search This thread

sanpei

Senior Member
Oct 9, 2009
396
1
FOR 32A, RADIO 6.35 and SPL 1.76

this port only have very little modification from original official ROM, some kernel driver tweaks, camera libs replacement, our bt firmware, sensors files and root.

first boot could be not very smooth. screen may go blank, if you would encounter this problem, just wait for a while, and press some keys. when you make all your settings done, a reboot is highly recommended. I have used it daily now.

download:

latest update [Jun 26]::

OC: http://forum.xda-developers.com/attachment.php?attachmentid=349885&d=1277499752

non-OC: http://forum.xda-developers.com/attachment.php?attachmentid=350638&d=1277631885 , under testing, plz report bugs.

changes:

HTC's battery driver
a new driver extension to support default USB netshare *
a newer sanpei helper which is reimplement **
non-OC version: screen on 528/352, screen off 240/176 ***
OC version: screen on 576/384, screen off 245/176 (4.0 in Linpack with JIT)
other fixes, many error reports in aosp kernel (which version > 2.6.29) have gone, we have a clean dmesg now

ROM itself:

apply update after you flash the ROM:

http://www.4shared.com/file/XHlI-Kdl/3pei_hero_21_alpha.html

mirror: http://www.multiupload.com/RRWFEYLPP1 , by malachaskos, thank you :)

wipe and flash in recovery, and you should delete the generated files (by android) in your sd card.

please make sure that you have installed driver properly. a little more details: http://forum.xda-developers.com/showpost.php?p=6180261&postcount=986

addition:

for JIT, download this: http://forum.xda-developers.com/attachment.php?attachmentid=345213&stc=1&d=1276842897

you have to set your Home Wallpaper and Lockscreen Wallpaper to something on sdcard before the first boot with JIT enabled, (and you can set them back after that: I have tried other HTC wallpapers except default). the workaround is found by klothius, thx :).

if you encountered any trouble, and want it disabled, flash this: http://forum.xda-developers.com/attachment.php?attachmentid=345214&stc=1&d=1276842897

for Gallery3D, download this version: http://forum.xda-developers.com/attachment.php?attachmentid=338391&d=1275828997 , it could work with HTC Camera app in most HTC's ROM.

known issues and workaround:
keyboard light and some other led features : flash update plz
gps may need to boot with gps setting on, or you could try capychimp's gps files
official USB netsharing: flash update plz
if you find infinite logs about database queries which are generated by bt components, what I know is a reboot, or kill the bluetooth process
APN list shows nothing (unless your mobile operator is Chungwa in Taiwan), plz manually add your APN

* it could work under windows, but you must enable netshare in settings, and not in notification area. and you must disable netshare in settings if you want to use DiskDrive.

plz don't turn mobile network setting off when wifi is on. HTC's software will disable netsharing and uninstall the driver when you turn off mobile network.

** dev could set the button led timeout now.

just setprop sanpei.buttonlight.delay 20 (in sec) when phone is running, or set it in build.prop. plz report any issues.

*** I don't test the non-OC version myself yet, if you encountered any problem plz tell me, since it have lower frequency when you don't touch the phone.

and if the screen doesn't turn on during boot with OC version, plz press red button to close screen then press any other button to active the screen.

this issues happened once when first time I used this ROM after it was ported, though we don't have a kernel OCed that time. so I had said "first boot could be not very smooth" before. now I found that with higher CPU freq, it will happen more frequently.

so I won't support higher frequency at current. they are not so stable as I considered before. maybe you think that we could boot it with a lower frequency then use higher after boot. but I think if it have troubles when booting, it will have more troubles in heavily usage.

old changes:
some new commits to aosp kernel are included
qdsp driver changed to htc 2.6.29 version with some hacks
other little tweaks, not very important

for developers, many modules are included, you could check the modules folder. but I don't enable things like compcache by default. OC is not included, my phone is heated and I don't want to take a risk before I could have time to verify it carefully.

HTC Sync will work with with version 2.0.25, you can find it here (thank paultoan): http://www.htc.com/us/support/magic-rogers/downloads/ .

other pure ports:
you can find them here: http://forum.xda-developers.com/showthread.php?t=642125 .

legend port is a bit slow, but it have more features: the new way of select text、copy、wiki、translate and dictionary, etc.eris port may be faster then this one, and has been tested for a long time, but with old looks.

could someone test for us, if the new kernel binary and boot.img (in update.zip) could work with legend/eris ports? then we could use it to upgrade these ports too.
 

Attachments

  • jit-test-on.zip
    409.3 KB · Views: 3,512
  • jit-off.zip
    409.3 KB · Views: 572
Last edited:

YN162

New member
Jul 7, 2009
3
0
thanks ;)

Bug :
Footprints cam Preview no work (photo OK after shooting)

edit---
First Preview rotating, right and bottom Flicker
Second Preview rotating
 

Attachments

  • CAP201006051540.jpg
    CAP201006051540.jpg
    24.3 KB · Views: 1,129
  • CAP201006051542.jpg
    CAP201006051542.jpg
    26.4 KB · Views: 1,031
  • CAP201006051543.jpg
    CAP201006051543.jpg
    31.5 KB · Views: 979
  • CAP201006051605.jpg
    CAP201006051605.jpg
    53.6 KB · Views: 945
Last edited:

drbobb

Senior Member
Feb 14, 2010
714
37
Warsaw
Nice to see you back sanpei.

Would there be any point in trying to throw your new kernel build into one of the older roms (like the legend or eris)?
 

account1

Senior Member
Mar 24, 2010
179
14
@Sanpei
are you using your own kernel? cause i think bluetooth drain battery issue still exists on this rom
 

sanpei

Senior Member
Oct 9, 2009
396
1
@Sanpei
are you using your own kernel? cause i think bluetooth drain battery issue still exists on this rom

you should turn off bt after using it. a component of bt will prevent the phone going to sleep when bt is turned on. I will try to find a solution when I have time.

I don't want to use HTC's kernel. because they have some other bugs too. fixing bugs in HTC's kernel is less valuable than our current way. and you know, maybe we should try android 2.2 later.

so we must stay at aosp kernel and adapt it to run both AOSP and HTC's ROM. and I think these jobs could be done. all the problems are just time, time and time.

btw, it's not "my own kernel", it is the aosp kernel, I just did some repairing for our purpose :)

and to others:

sorry, I couldn't do works which would take a lot of time at current. but I won't stop. :)
 
Last edited:

helderp

Member
Dec 27, 2007
41
0
sanpei, there's an ongoing effort on porting the 2.6.33 kernel to the new radio, with some work already done. Maybe you could give some help to the people doing that job ;)
 

account1

Senior Member
Mar 24, 2010
179
14
you should turn off bt after using it. a component of bt will prevent the phone going to sleep when bt is turned on. I will try to find a solution when I have time.

I don't want to use HTC's kernel. because they have some other bugs too. fixing bugs in HTC's kernel is less valuable than our current way. and you know, maybe we should try android 2.2 later.

so we must stay at aosp kernel and adapt it to run both AOSP and HTC's ROM. and I think these jobs could be done. all the problems are just time, time and time.

btw, it's not "my own kernel", it is the aosp kernel, I just did some repairing for our purpose :)

and to others:

sorry, I couldn't do works which would take a lot of time at current. but I won't stop. :)

we thank you all for your effort Sanpei
but by saying "turn off bluetooth after using it" makes me quit of trying all those custom roms with this particular kernel
bluetooth, its a feature i use all the time, every day, so i personally quit flashing until problem is solved
again, thank you for your great work here
 

Bladyle

Senior Member
Jan 25, 2010
505
64
Re: [ROM][6.35] a very pure HERO 2.1, new look and eris ...

Sanpei, can we use the cpu clock on some later phase of your rom/kernel ?


-------------------------------------
Sent via the XDA Tapatalk App
 

sanpei

Senior Member
Oct 9, 2009
396
1
sanpei, there's an ongoing effort on porting the 2.6.33 kernel to the new radio, with some work already done. Maybe you could give some help to the people doing that job ;)

.33 is a experimental project by Google, and our device won't get benefits from the increased digit. I will only work on kernels which will be chosen by Google and other manufacturers. and sadly, for some nonsense reason, I and some people couldn't work together. :(

we thank you all for your effort Sanpei
but by saying "turn off bluetooth after using it" makes me quit of trying all those custom roms with this particular kernel
bluetooth, its a feature i use all the time, every day, so i personally quit flashing until problem is solved
again, thank you for your great work here

i am really sorry for that. when I was fixing the battery drains, I don't know much about the right behaviors that bt features should have. so I just leave the prevent-sleep mechanism there because I think it is necessary.

and now I don't have enough time as before. but from you and others, I know what the right behaviors are. I will try to fix it in next release, for people who use bt heavily.
 
Last edited:

sanpei

Senior Member
Oct 9, 2009
396
1
Sanpei, can we use the cpu clock on some later phase of your rom/kernel ?


-------------------------------------
Sent via the XDA Tapatalk App

yes (we should make more things could be controlled by users in the long run), but not now.

we still have some issues that are important to other users, though personally, I don't use those features heavily.

my order:

1. lights in Sense ROM for other devices and battery drains when bt is on
2. android 2.2 or big improvements in android 2.2 (port them to daily usable ROM)
3. default USB netsharing, netsharing under windows and other features like this
4. other hardware supports and features like CPU freq control.
5. some hidden bugs in aosp sources or htc drivers we used (though they don't affect anything in most cases)

hope I could get enough time end of this month and next month, then I could repair/add one or two of them.
 
Last edited:

helderp

Member
Dec 27, 2007
41
0
I only referenced the .33 kernel since that's what's used on cyanogen 5 series mod, and if it could be adapted to the new radio it would be a good way for us to have CM5 with the modifications cyanogen and otheres sometimes do to the kernel. Just my 2 cents :)
 
Status
Not open for further replies.