yashsingh1/xdaforums huggingface dataset:
[Hero, G2 Touch Android Development] Sir Khan:
Try activating sync from within the Facebook app. You can find it under Settings > Sync Contacts. It automatically synchronizes when your contact has the same name as on facebook, otherwise you can sync all your contacts and join them yourself.
[Hero, G2 Touch Android Development] gensplejs:
Any ETA on the new kernel?
[Hero, G2 Touch Android Development] alwer11:
Thanks a lot

trying now to restore backed up contacts via "mybackup pro", but no luck for now. it says "restore contacts failed: you do not have a google account setup, please setup your android to a google account first". and of course it is set up

=(
[Hero, G2 Touch Android Development] jbwan:
Ah, thank you. Must flash it back again and try this. Went back to BeHero when I noticed the lack of screens without digging any further.

Cheers!
[Hero, G2 Touch Android Development] alwer11:
Found it!!!

Restored all backed up contacts data!!!!

I had to check the synch onctacts in menu - settings - accounts & sync - my google account

=)
[Hero, G2 Touch Android Development] rancor187:
Is an ext3 partition mandatory? I just flashed v1.0 and i tried to install an app from the market: "Installation unsuccessful - Insufficient storage available"

I wiped before I flashed.

€dit: I don't get it, I've got like 152MB internal storage available :/

thanks
[Hero, G2 Touch Android Development] MaXo64:
it's right in the page before !!

http://xdaforums.com/showpost.php?p=6582698&postcount=1441
[Hero, G2 Touch Android Development] rancor187:
Damn it, my bad MaXo, thank you

And thanks for your efforts into that project.
[Hero, G2 Touch Android Development] androcheck:
I just compiled behnaam's kernel without any modifications (besides the existing one for making the touchscreen working on AOSP) and run it on my aHero 0.9 (was too lazy to switch to 1.0 until now). Seems to work for me here.. but I did no intense testing yet.. (a bit lazy here.. :o)

As long as the init-ramdisk didn't change from aHero 0.9 to 1.0 you should be able to use this update.zip also on aHero 1.0.

But to be on the safe side:

Don't forget: Make a nandroid backup before!!

Then just apply the attached "update-kernel-behnaam#22-SIGNED.zip".

No wipe needed! (as this only affects boot.img and wlan.ko).

Just try it if you want. :)

P.S.: Don't get irritated by the version string. I am used to append a custom version string to my (desktop) kernels, so I did this here too ("-jz001"). :rolleyes: This is behnaam's unchanged #22 kernel.

Enjoy! :)
[Hero, G2 Touch Android Development] androcheck:
Ok, I just downloaded aHero 1.0 and saw that the initramdisk in boot.img seems to be different, so I repacked the kernel again with the init-ramdisk of aHero 1.0

So attached you find an update.zip for aHero 1.0 which will only exchange the kernel and the wlan.ko kernel module of your system. No other changes are made.

The kernel itself is behnaam's unchanged #22 (except the one change for making the touchscreen work). Overclocking seems to work fine, but it's not enabled by default.

Make a Nandroid backup first!

No wipe needed.

Thanks to behnaam!! :) Enjoy!

P.S.: Version info: This is the kernel referred as "jz001" in later posts.

Full version string in phone settings is "2.6.29-jz001-dirty-bc1700e john@mond #2"
[Hero, G2 Touch Android Development] MaXo64:
how did you fix the touch screen thingy? trying to fix it since yesterday, but it drove me insane :o
[Hero, G2 Touch Android Development] androcheck:
Didn't fix it myself. There was already a fix in behnaam's kernel tree.

If you look into the directory "drivers/input/touchscreen/" you will find 2 files:

synaptics_i2c_rmi.c

synaptics_i2c_rmi.c-AOSP-fix

I just renamed the -AOSP-fix file to "synaptics_i2c_rmi.c" and compiled the kernel. This worked for me! :) And to give credit: "dipje" pointed me to this direction here

But I still do not understand what makes the Sense ROMs so special that a hardware driver in the kernel needs to be changed.. :confused:

Happy kernel cooking! :)
[Hero, G2 Touch Android Development] MaXo64:
yeah I don't how .. but I only know that SenseUI sucks !!! :D

thanks for the pointers, and now I hope I can fix A2DP even though I don't know anything about Kernel mods :rolleyes:

BTW, you are officially a Star, and your name will shine in the first post ;)
[Hero, G2 Touch Android Development] MaXo64:
Logcat is not working .. (might be "udev" in Ubuntu though!)

Benchmarks, running @ 655 MHz:

Linpack: 4.3 MFLOPS

Softweg:

GPU: 139

CPU: 343 (with JIT !!)

impressive :D
[Hero, G2 Touch Android Development] androcheck:
It's an honour! :) But I need to say thank YOU for your work on this great ROM! :)

I had no problems with "adb" and "logcat" until now. I also work on Ubuntu (but still 9.10).

My udev-rules file (/etc/udev/rules.d/51-android.rules) looks like this at the moment:

#SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0bb4", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
[Hero, G2 Touch Android Development] kieranc:
just to clarify, is this a 2.6.29 kernel built from the sources htc accidentally released recently? beyond adding overclocking, what does it fix/improve?

edit: adb works fine for me on ubuntu 10.04
[Hero, G2 Touch Android Development] carbonyle:
delete/ignore me
[Hero, G2 Touch Android Development] carbonyle:
thanks dude, I really appreciate!

(I tried yesterday to compile this but seems I cannot setup eabi-arm right...anyway i'm not a dev)
[Hero, G2 Touch Android Development] MaXo64:
i'm on 10.04, it worked with almost every ROM. but now "adb devices" show:

like a non-rooted phone :(

you have to download some binaries from android source..

long story short, download them with this command:

git clone http://android.git.kernel.org/platform/prebuilt.git

enjoy :)
[Hero, G2 Touch Android Development] androcheck:
Can you try to start the adb server as root?

adb kill-server
sudo adb start-server
adb devices
[Hero, G2 Touch Android Development] kieranc:
lol, my first thought too, been caught out before :)
[Hero, G2 Touch Android Development] carbonyle:
I was going to post the same thing with adb, don't know why but happend to me twice, doesn't seems to be ROM depedent (probably adb is a little buggy)

thx for the link i'll check this!
[Hero, G2 Touch Android Development] MaXo64:
already tried it .. doesn't work :(

even restarting "udev" won't work !! I think I have to restart Ubuntu !! loooong time since the last reboot :eek:
[Hero, G2 Touch Android Development] ekowanz:
just wanna report that the update kernel by androcheck is works fine in aHero 1... the overclock widget works fine, and in off clock i can use 245 - 384...

thx both of u, maxo ang androcheck for the great work
[Hero, G2 Touch Android Development] edwardciv:
Nice work, thx. it's really fast.
[Hero, G2 Touch Android Development] kieranc:
likewise, installed the new kernel, silky smooth @ 710mhz :-D
[Hero, G2 Touch Android Development] gertjanw1993:
All contacts lost

I just flashed this rom on my G2 but now i lost all contacts, what do i need to do to get them back?
[Hero, G2 Touch Android Development] knudsen81:
set up you gmail, i got you contacts on gmail?
[Hero, G2 Touch Android Development] :
update

Hey Maxo, any news on an update any time soon?

Thanks :D
[Hero, G2 Touch Android Development] jarski12345:
This really is Perfect Eclair. Great work!:D

Dont forget to flash androchecks OC kernel http://xdaforums.com/showpost.php?p=6592094&postcount=1459.
[Hero, G2 Touch Android Development] dexter.:
I've been using this ROM for a couple of days and it has been working great. Until last night. Got an e-mail and the phone froze. When I removed tha battery and rebootet it got stuck in an endless loop of reboots. I had to re-flash to get it working....
[Hero, G2 Touch Android Development] ekowanz:
weird :o what email bro?why it can make your phone froze?
[Hero, G2 Touch Android Development] XeoNiCaLiTy:
HomeScreen

I'm getting 3 homescreens and can't seem to find an option to increase this, am I missing something? (aHero 1.0, HTC Hero)
[Hero, G2 Touch Android Development] phunni:
Re: [ROM][Eclair 2.1] aHero v1.0 [20/5/2010] "Perfect Eclair" !!

has anyone else had problems with su in 0.9? I can't get titanium to do my backups as part of my upgrade preparations

-------------------------------------

Sent via the XDA Tapatalk App
[Hero, G2 Touch Android Development] agoNITE:
Flashed the aHero 1.0 new kernel.

Works like a char

Came across one thing though.

Happened to me 2 times now, but when my phone is locked and i try to unlock the lockscreen is all messed up (In my case green/red colours, and it's upsidedown).

First time this occured i had to take out the battery, second time it switched back to how the lockscreen should look.
[Hero, G2 Touch Android Development] :
Re: [ROM][Eclair 2.1] aHero v1.0 [20/5/2010] "Perfect Eclair" !!

Im finding that if I charge my phone when it is still switched on, I get much more battery drain,(lasts less than a day) than if I switch the phone off and charge, (get well over 24 hours, close to 36). Just thought I would mention. Also, I have tried to sync my ymail account in email. But it wont work properly. It verifies account and what not, but then when your in it, it downloaded the first 6 messages I got, (in 2008) and says there unread and wont load any more. And wont load any sent items at all. I will try different settings, but these worked fine with the htc mail app in sense.

This rom is AWESOME. I dare you to rustle up a froyo in the coming weeks.
[Hero, G2 Touch Android Development] StNickZA:
I have just flashed the new kernel.

According to System Info, the OC isn't working. It's switching between 245mhz and 518mhz.

Am I doing something wrong?
[Hero, G2 Touch Android Development] ermacwins:
can someone test the speed of livewallpapers please. I know Maxo fixed the crash but it was really slow. Does the new kernel help? Galactic Core is free from the market
[Hero, G2 Touch Android Development] XeoNiCaLiTy:
Getting a bit of warm phone but it seems fast and stable.

Still wondering about the homescreens, I'm getting 3 homescreens, anyone getting more? And how?
[Hero, G2 Touch Android Development] ermacwins:
so the wallpaper is fast? but the phone is getting warm quick!!?
[Hero, G2 Touch Android Development] StNickZA:
If you are using LauncherPro (you should be, it's great), then you can add more homescreens by pressing Menu -> Preferences.

While I wait for a response as to why the new kernel isn't overclocking by default, I installed Overclock Widget and manually overclocked to 710mhz.

Everything was fine for a minute or two until the phone locked up. This is in line with what a few users are reporting on their handsets. It seems that some devices are more stable than others. For this reason, I recommend that if this kernel is going to apply a default, locked overclock, Maxo should rather tone it down a bit, perhaps to 670mhz.
[Hero, G2 Touch Android Development] MaXo64:
do it manually, with Overclock widget from the market..

working on the LWP slowness ..

to setup screens, on home screen click on "Menu" button on your phone..

select "Preferences" if you are using LauncherPro, or "ADW config." if you are using ADW Launcher..
[Hero, G2 Touch Android Development] XeoNiCaLiTy:
Thanks a lot!

The phone got warm a bit, but it cooled off after the initial setting it up with live wallpapers, it seems okay, not running in any trouble going through apps. Been running live wallpapers for two hours now, looks good. :)

How is battery life after an OC?
[Hero, G2 Touch Android Development] ermacwins:
Maxo will you do another update or is this FINAL?
[Hero, G2 Touch Android Development] StNickZA:
Is there a fix for the Tapatalk app not working when JIT is installed?
[Hero, G2 Touch Android Development] witysimon:
The OC kernel solve the VPN problem, but if I don't use OC widget, it will doze sometimes, during doze, there's no response with any button press or screen sketch. of course it will come back by itself with long delay.

so I thing there might have some wrong default speed setting in the kernel?:confused:
[Hero, G2 Touch Android Development] Judim:
I'm really amazed with this ROM. WOW!

BTW Is it possible to remove the timestamp on the pictures? RaduG on VanillaEclair succeeded to it.

Sorry, already asked for that once with no answer.
[Hero, G2 Touch Android Development] carbonyle:
mmh, I'm not really sure we need to overclock: it will consume more battery. But it's fine if it's only when screen if on (and if the device need more "cpu")

Just flashed new kernel, seems fine and stable (but haven't played for long)
[Hero, G2 Touch Android Development] MaXo64:
really amazing .. better than the old kernel !! :eek:

of course!! I'll never give up on this ROM ;)

give me "adb logcat" when you have a "Doze" next time please :)

I'll have to check with him. thanks for the pointer :)
[Hero, G2 Touch Android Development] witysimon:
OK, I will try to catch logcat next time.

By the way, is there any bash script can config the speed? just in case if I don't want the OC widget.:D
[Hero, G2 Touch Android Development] MaXo64:
yeah I'll make an "init.d" one for you :)
[Hero, G2 Touch Android Development] ermacwins:
just thinking shall i flash this again or wait for an update
[Hero, G2 Touch Android Development] xtkme:
I really really like the music player included in this rom :) It looks well suited to Vanilla and much prettier than the default one.

BTW, one thing really is bugging me....

There ain't no way to access the current playing list?? Or I have a problem with my eyes :D

PS. Did you hack together this player yourself, MaXo? So far I haven't seen any other 2.1 Vanilla roms shipping with this thing.
[Hero, G2 Touch Android Development] witysimon:
:D Thank you in advanced!
[Hero, G2 Touch Android Development] MaXo64:
No, here is the Music app thread:

http://xdaforums.com/showthread.php?t=661542
[Hero, G2 Touch Android Development] brotheremo:
Hi

Hi I'm on a mac,

what on earth is supposed to be done with the terminal app fix file to install apps2sd on the htc?

thanks
[Hero, G2 Touch Android Development] ermacwins:
The lwp animation is SLOW, Maxo can you fix it please?
[Hero, G2 Touch Android Development] MaXo64:
flash the "Terminal app fix" then open "Terminal emulator" in your phone, then write the apps2sd code in the first post..
[Hero, G2 Touch Android Development] xtkme:
Thanks for pointing that out :D

Just noticed that you already mentioned it in the changelogs of v0.8. Sorry for my ignorance :(
[Hero, G2 Touch Android Development] kweenie:
Exchange mail

Are MULTIPLE EXCHANGE email accounts possible with this ROM?
[Hero, G2 Touch Android Development] knudsen81:
i hope the same
[Hero, G2 Touch Android Development] agoNITE:
Has anyone gotten this to work on aHero 1.0?

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

I'm not sure if the aHero is compiled from AOSP, maybe someone got it to work?

I only get a bootloop :(
[Hero, G2 Touch Android Development] phunni:
Re: [ROM][Eclair 2.1] aHero v1.0 [20/5/2010] "Perfect Eclair" !! ++ {New OC Kernel}

How would I go about removing un wanted apps included in the rom? e.g. jbed, brut maps etc?

-------------------------------------

Sent via the XDA Tapatalk App
[Hero, G2 Touch Android Development] octupusisonfire:
brut maps you can uninstall using appremover, for exemple.
[Hero, G2 Touch Android Development] raz-or:
I use titanium, its great for removing unwanted apps and backing up the ones you want to carry forward to a new rom
[Hero, G2 Touch Android Development] androcheck:
kernel with BFS and compcache support

For the interested: I compiled another kernel, based on zjr8's branch of behnaam's kernel source on github.

I do not take credit, as the real hard work comes not from me:

Thanks to zjr8 who patched the 2.6.29.6-patch and the BFS patch into behnaams kernel sources and made this branch available via github! Thanks man! :)

Thanks to behnaam and Toastcfh for the kernel source in first place!

FEATURES:

Added additional frequency step of 352MHz for cpu scaling. Now it should be possible to set cpu to 352 MHz for those having wakeup problems with 245Mhz.

(Just as note: Frequency steps can *not* be freely defined in the kernel! Just those which are specified in the chipset driver (as stated by dipje before)

Just a TRY: Increased max possible overclock speed to 768 MHz (as this frequency was also already defined in the frequency table in the source). My Hero just freezes. But maybe for happy ones who have a more stable cpu.. USE AT YOUR OWN RISK! I AM NOT RESPONSIBLE FOR ANY DAMAGES ON YOUR DEVICE!

Note: Kernel just *allows* you to overclock. It is NOT overclocked by default. (yoa have to enable with overclock widget or an init-script)

BFS: Brain **** Scheduler (http://en.wikipedia.org/wiki/Brain_Fuck_Scheduler)

Short explanation: A scheduler is that algorithm in the kernel which is responsible to share cpu-time fair among all processes (as the cpu can only work for 1 process at any given time). So if your CPU is under full load the scheduler plays a pretty important role, wheter your system feels still responsive or sluggish. BFS promises to feel more responsive than the standard Linux CF scheduler, but however.. that's a matter of argument.

But as Google officially adopted BFS into their mainline Android kernel tree (git-repository) it must have something. Try it! :)

Added support for compcache (but not enabled).

Included ramszwap.ko module (aka compcache). It's not enabled, the module is just there. If you want to use it, you (or MaXo64 :)) needs to add an init script. (see below for infos how to enable compcache manually).

Enabled Module versioning support in the kernel config. (This hopefully enables us loading modules compiled from other kernel trees).

NOT WORKING:

Bluetooth during calls. It seems that bluetooth audio for phone still doesn't work (at least not for me, please report if it works for you). At the moment I am not sure where to look for the cause of this problem. If you have any idea.. go ahead! :)

A2DP Bluetooth stereo audio for listening music just works fine! (I use it all day. :))

MAKE NANDROID BACKUP BEFORE! (as usual)

NO WIPE NEEDED!

Then apply the update.zip with recovery!

IF YOU WANT TO GO BACK:

If you don't like this kernel you can simply go back to my previous kernel by just applying the previous update.zip from this post. This overwrites the kernel with the previous version again.

Enjoy.. :)

P.S.: How to enable compcache manually:

# Enable compcache:
/system/xbin/bb/insmod /system/lib/modules/ramzswap.ko disksize_kb=65536
/system/xbin/bb/swapon /dev/block/ramzswap0
echo "30" > /proc/sys/vm/swappiness
[Hero, G2 Touch Android Development] Miister-Ot:
going to try this! thanx :D
[Hero, G2 Touch Android Development] dexter.:
It was just a regular mail, just text. It must have triggerd something...

Real annoying.
[Hero, G2 Touch Android Development] va1en0k:
how to add an init script?
[Hero, G2 Touch Android Development] MaXo64:
wow! this one is much snappier !! the BFS is really doing a great job :)

and thanks for the compcache .. I was wondering why it didn't work, but I see a module was missing :o
[Hero, G2 Touch Android Development] witysimon:
1. Create a unix format plain text file named 05compcache and copy androcheck's bash script in it.

# Enable compcache:

/system/xbin/bb/insmod /system/lib/modules/ramzswap.ko disksize_kb=65536

/system/xbin/bb/swapon /dev/block/ramzswap0

echo "30" > /proc/sys/vm/swappiness

2. save it

3. push to rom

adb remount

adb push 05compcache /system/etc/init.d

adb shell chown root.shell /system/etc/init.d/05compcache

adb shell chmod 750 /system/etc/init.d/05compcache

4. reboot the phone
[Hero, G2 Touch Android Development] lazquad:
"Bluetooth during calls" it doesn't work
[Hero, G2 Touch Android Development] witysimon:
Hi! MaXo64 and androcheck,

after check with the kernel, I found that all things about overclock is under the /sys/devices/system/cpu/cpu0/cpufreq

which can be set values are scaling_max_freq and scaling_min_freq

I tried:

echo 710400 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

echo 352000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

it works great!

But if I want to set the different mode between screen on and screen off, how I can do it?

Any help is appreciated!

:)
[Hero, G2 Touch Android Development] StNickZA:
aHero, along with all these new tweaks etc, have really made me feel as though I've got a new phone! A big thank you to everyone involved!

I've flashed the new OC kernel, but I do not see the 345mhz option in my OC widget. Did I do something wrong? Not a train-smash for me, as I haven't noticed any issues with 245mhz yet, just curious.

I'm very interested in using compcache, Maxo, do you think you'll make an update.zip for us with the script included?
[Hero, G2 Touch Android Development] witysimon:
you should use the re-adjust speed option( I don't know the english version item name, because what I used is Chinese).
[Hero, G2 Touch Android Development] StNickZA:
Ah, thank you!

It's called "Detect Frequencies".
[Hero, G2 Touch Android Development] StNickZA:
Thank you for this by the way...

Is there any way that I can check that I have succeeded in enabling compcache?
[Hero, G2 Touch Android Development] phunni:
Re: [ROM][Eclair 2.1] aHero v1.0 [20/5/2010] "Perfect Eclair" !! ++ {New OC Kernel}

So far 1.0 has been pretty good, although I'm getting regular force closes on the calendar. Which is quite a problem...

-------------------------------------

Sent via the XDA Tapatalk App
[Hero, G2 Touch Android Development] robyrocker89:
can i disable compcache?? :D
[Hero, G2 Touch Android Development] madwolfchin:
Ｔｒｉｅｄ　ｔｈｅ　ｎｅｗ　Ｂｒａｉｎ　Ｆｕｃｋ　ｓｅｃｈｄｕｌｅ　ａｎｄ　ｔｈｅ　ＲＯM　ｆｒｅｅｚｅ，　ｗｉｔｈｉｎ　３０　ｓｅｃｏｎｄ　ｏｆ　ｂｏｏｔｉｎｇ．

Ｔｒｉｅｄ　ｍａｎｙ　ｄｉｆｆｅｒｅｎｔｉｎｇ　ｐｏｓｓｉｂｉｌｉｔｙ　ａｎｄ　ｉｔ　ｎｏ　ｌｕｃｋ　ｆｏｒ　ｍｅ　ｓｏ　ｂａｃｋ　ｔｏ　ｐｌａｉｎ　１.０　ｗｉｔｈ　ＪＩＴ for me
[Hero, G2 Touch Android Development] MaXo64:
this is absolutely correct .. you can put it in a init.d script and you are good to go :)

but I would consider making the scaling_max_freq to less value, like 691200 or 652800. just to be safe ;)

about screen off .. most hero kernels scale down to 245760 automatically. but I use Overclock widget with this one and I didn't test..

see attached..
[Hero, G2 Touch Android Development] MaXo64:
G i v e m e "a d b l o g c a t" o u t p u t , P l e a s e :)
[Hero, G2 Touch Android Development] androcheck:
It's not enabled by default. I just added the kernel module for those who might like to use it.

It's all about choice, isn't it? :)
[Hero, G2 Touch Android Development] witysimon:
I've check the scaling_cur_freq, and confirm that if the scaling_governor mode is "ondemand" then when screen on, the freq is the scaling_max_freq's value, when screen off the freq is the scaling_min_freq's value.

So it fits my need enough.:D
[Hero, G2 Touch Android Development] jarski12345:
I flashed androchecks BFS-enabled kernel and apps seem to load much faster! But scrolling between home screens and app list has become sluggish. I use Launcherpro. Anybody else expieriencing the same?

EDIT: Reflashing the kernel solved the lag. Strange.

Thanks for your great work androcheck!
[Hero, G2 Touch Android Development] androcheck:
Hmm.. Since compcache 0.6 the virtual status file "/proc/ramzswap" doesn't exist anymore.

But instead you can do the following check:

cat /proc/swaps

This should produce an output similar to this, if compcache is enabled successfully:

Filename	Type	Size	Used	Priority
/dev/block/ramzswap0 partition	65528	0	-1

Enjoy it! :)

P.S.: Maybe we should experiment with different sizes of compcache device... Feel free.. :)

[edit]

For those of you, who are deeper interested: I got to know how to read compachce stats in newer versions of compcache and started a new thread about this. Just look there if you want to know more: [HOWTO] install compcache configuration/status tool: rzscontrol

[/edit]