yashsingh1/xdaforums huggingface dataset:
[HD2 Android SD Development] hastarin:
r8 released - MAJOR shift in focus/features

OK r8 is out.

I've made some changes I know aren't going to be all that popular, but let me put it this way. When it comes to the kernel I feel safe to say that I know better than you what you need, despite what you think you might want.

See the changelog in the included README.txt or in the first post for what I've changed.

To the extended battery users, you can continue to use r7.7 for now. When I need people for testing I'll PM the usual few of you that actually help out or try to catch myself/Markinus (he is currently on holiday) on IRC and ask us about it. If we happen to have the time we may get you to test something.
[HD2 Android SD Development] shure2:
wow some intersting changes, it will be interesting to see the effect of battery life
[HD2 Android SD Development] hastarin:
I've been running my r7.7 Alternative lately and the battery difference really isn't that noticeable. I still get 7ma in sleep and the battery still lasts the whole day with moderate use.
[HD2 Android SD Development] motoman234:
Man scrolling is silky smooth on r8 and data seems to be doing great. I dont want to speak too soon but it seems like a big improvement overall. Thanks hastarin, will let you know how everything is going with more testing.
[HD2 Android SD Development] famewolf:
Hastarin,

It was my understanding that the default kernel settings don't support underclocking based on temperature of battery....would not this be a legitimate justification for running setcpu to underclock on battery > xx Celcius or Fahrenheit? This of course is in reference to R8.
[HD2 Android SD Development] ledabe974:
I've just install r8, it's look good. All seems to work very good. Thanks.

I use Mdeejay 2.3 ReVolution.
[HD2 Android SD Development] luigipirex:
I started using htc's extended battery a few days ago, so I am also available for testing if needed.
[HD2 Android SD Development] hastarin:
Not really.

The problem is the battery is usually hot due to two issues.

It's getting heavy use. CPU maxxed, touchscreen game using the g-sensor, etc

The battery is under charge

If it's hot because your game is maxing it out and you start underclocking it's just going to make your game misbehave and folks will then complain of TS lag, etc

Or another way to look at it is the CPU only runs as fast as it needs to in order to get the work required done. By underclocking you just create a "back log" of work for it to do and it's going to run at the max underclocked speed longer making the heat issue worse.

If it's hot because of charging the battery driver will kick in anyway and stop charging.

There is a reason HTC has the perflock there in the first place. :)
[HD2 Android SD Development] the_scotsman:
Interesting changes...can't wait to get home to try this...curious to see how battery goes...
[HD2 Android SD Development] pack21:
If you say so, I believe in the master.

Thanks, Hastarin
[HD2 Android SD Development] hastarin:
Good to see you around mate. :)

lol that sig is almost the equivalent of the HTML blink tag! Though I understand perfectly why you have it. :rolleyes:
[HD2 Android SD Development] asphaltkiller:
i can still underclock with r8! Strange...

Edit: even stranger using setcpu to max 998 min 998 cpu is still fluctuating between 245 and 998......
[HD2 Android SD Development] kgvico:
Hi, can u tell me where did u put the "devs" folder in the build 2.3??

Thanks:D
[HD2 Android SD Development] pack21:
@Hastarin, i´m booting R8 over Mdeejay Revolution V2.3, but is loopind in Android Icon construcion....finish the construcion ANDROID word....and start another construcion....over and over......i'm stuck by 10 minutes, it is normal??

i have the set KERNEL zimage line.
[HD2 Android SD Development] plotzkella:
You can ignore this folder; AFAIK it is for developing purpose only...
[HD2 Android SD Development] kgvico:
Thanks for quick answer!!
[HD2 Android SD Development] dale89:
i'm using MattcEvo 1.01 with kernel r7.7, and then up kernel r8 but i freeze in boot flash HTC, i'm waiting 10min, it is normal?
[HD2 Android SD Development] asphaltkiller:
Am I the only one who have this problem:

I have tried all governors, uninstalled and reinstalled setcpu

my cpu si moving from 245 to 998 even if my settings were different and even using performance governor!
[HD2 Android SD Development] Urokinase:
Thanx hastarin for new Kernel. Installed it over Revolution 2.3 No Problems so far and coming out of Lockscreen is very fast. No Lags....

MfG Uro
[HD2 Android SD Development] shree.cse:
Very smooth, but having data drops more than 7.7

Is it, the problem of my build? I am using this with mdeejay's Revolution 2.3
[HD2 Android SD Development] hastarin:
No, that's not normal. I'm not sure what could cause it. If you know how to use an adb shell (or the console tab in Android Commander) you could plug it in and type "dmesg" to see what it's doing.

I've never had that problem booting. Perhaps double check you upgraded it correctly and didn't replace something you didn't need to.

If you mean with r8 try reading the README/changelog/etc. I made it quite clear that I disabled SetCPU on purpose!
[HD2 Android SD Development] hastarin:
Every release someone says data is dropping more than the previous release. If this was true by now they'd be unusable.

If anything data should be more stable with this kernel as it should prevent a couple of issues that cause pppd to crash.

That said there is no magic fix for data. Be aware it's being worked on. I know Cass is working on modifying the wrapper to restart pppd if it's not running for some reason and it should be.

My signal is great here so I can't reproduce the issue people see. Even going for a 30-40 minute drive I haven't had a data drop out.
[HD2 Android SD Development] biohaz55:
Boot Freeze!

Ok, I seem to be having the same problem as dale89.

Im using mattcleofroyo1.8. With 7.7 no problems but now with 8 HD2 is stuck on the boot screen.... now 15mins
[HD2 Android SD Development] naijaguy:
If you're still stuck at the HTC boot screen, try taking out your battery and restarting. I had to do it 3 times before I got through.....
[HD2 Android SD Development] tinuz97:
He needs to remove simlock....not kernel issue....
[HD2 Android SD Development] Downy:
Users of extended batterys

As there are more and more extended battery users and Hastarin is one of only a few developers concentrating on extended battery support, we all should thank him for this time and work he spent for us to get it working.

Now we have new kernel which also needs some work to get it compatible with extened batterys. Hastarin is already working on it, but it's always difficult to work and fix something that you can't reproduce on your own.

Of course many people will help him testing new experimental kernels but if he would own such a battery we all would have profit out if it.

He could investigate problems lots faster and try the solutions on his own device and we all would have benefit of the execellent support for extened batterys.

Just think about the upcoming nand versions, and imagine if they wouldn't be able to run with extended batterys...

Therefore please spent some money for him (paypal button is on first page) to get an extended battery for testing.

Beside all his work he has done yet for us, it would only be fair to have such a battery at hands now.

As he already mentioned, you should only donate if you can ensure to get your daily food after donating :) But maybe you want to leave the pub with 5 instead of 6 beer and spend the money left to him :)
[HD2 Android SD Development] dale89:
i think i have found problem, that it because build android, i fix it by first boot new mattcEvo 1.01 and update kernel r8...it ok, thanks hastarin
[HD2 Android SD Development] ledabe974:
I try with MdeeJay HD 3.7, it's OK too !

Good job !

Thx again
[HD2 Android SD Development] pack21:
I put a fresh folder android and boot fine.

New R8........humm........I like it.

I have now revolution V2.3 incredibly smooth and solid.....and over the freeze, when we make a imediatly pinch to zoom, when reload a web page is done.....nice!!

Another nice job, hastarin.

Just need a update to my extend battery.
[HD2 Android SD Development] bronx:
great work Hastarin.

battery seems to be more predictable now, also whole android experience is more fluid and consistent. using froyostone 3.2 and wm 6.5 1.66 wwe as a base.

on a side note, if going to nand means loosing 1gb storage, then I'll stick to sd boot. it is almost perfect now as I get about the same battery life on android as on winmo.
[HD2 Android SD Development] pack21:
Can anybody tell me, if can download apps from market, for me all failed and I don't know if is a kernel issue or market issue.

Edit: solved

Oh.....I have better benchmark with R8 than #7.7
[HD2 Android SD Development] hastarin:
There have been issues with the market reported lately in various threads. Pretty safe bet it's not kernel related. :)
[HD2 Android SD Development] white-energy:
What about the Battery life since Underclocking was disabled..
[HD2 Android SD Development] lukesan:
Yup, just tried on an Desire with an official build and same issue.

Seems to depend on location and time you are trying.
[HD2 Android SD Development] s7even.tsai:
any one notice the evo 5mp widescreen not working , only 5mp working 2592 x1552
[HD2 Android SD Development] jmmmmm:
Hastarin,

I read the readme and could not determine if the latest ppp "fix" http://xdaforums.com/showthread.php?t=794309 had been incorporated. I would not normally ask but I did see you comment in the thread. Am I OK to try this on r8?
[HD2 Android SD Development] die_Leuchte:
Best Kernel so far for me, thanks Hatarin! I am using MattCs 1.8 Sense Evo ROM with it and its very smooth now. PPP seems to be a lot more stable so far. Only Battery could be better, but I am unsure if thats more an issue of MattC's ROm or the Kernel? 5-6 hours when I use it in poweruser mode (some 3d Gaming, some Internetsurfing, Twitter, Facebook, Mail, etc. pp.).

Best wishes LED
[HD2 Android SD Development] trudeh:
PPP is very slow in this build.
[HD2 Android SD Development] plotzkella:
Cannot confirm this.

With speedtest I have the same up/down - speed as usual. :confused:
[HD2 Android SD Development] hastarin:
Not for me.

Sent from my HTC HD2
[HD2 Android SD Development] pack21:
Neither for me.... this is the best kernel ever done.

And without overlclok
[HD2 Android SD Development] die_Leuchte:
Oopsi, this speed is no fun either, teste from same place with my Desire, got 2,3 Mbit downand 1,5 Mbit up instead :(
[HD2 Android SD Development] Giblet-dono:
This looks Shooped, I can teel because I have seen alot of shoops in my tiems
[HD2 Android SD Development] tantrum829:
In the readme the kernel is copied over and replaces the zimage and I see the new kernel in the settings>about but everytime I tried to upgrade a kernal my wifi stops working. wifi wont even turn on. Am I missing something?

Using mdeejay revolution 2.3

Thanks
[HD2 Android SD Development] Macelangelo77:
Hi hastarin,

This the first release ppp doesn't work for me. It doesn't drop, it apparently doesn't come up at all. I tried dmesg, but I see no reference to pppd at all. Should I look somewhere else for the output of pppd?

I installed the new zImage, initrd.gz and haret.exe, left the wifi and light modules untouched, as Wifi works fine and i don't have issues with the lights. I removed the APN-settings, started over by entering them manually, tried Airplane mode on/off, rebooted four times, but data doesn't come up. When I start it manually (in Settings > Wireless & Networks) I see it tries, but as soon as the 3G appears, it disappears and says Connection failed.

I've never had any issues with your previous kernels, so apparently (if that's the only change) the PPP-patch you applied, works out differently for me.

I could really use your expertise here....

Sincerely,

Mac
[HD2 Android SD Development] AlaneCzeQ:
Battery is charging to 100 % which I think is good thing :)

still testing power consumption atm about 320 while using phone (browsing,angry birds etc)

and about 9 mA when standby.

everything is smooth and still using setCPU to clock it down while on sleep

ps. Didnt have a single data drop so far : from 11 am till 3 pm
[HD2 Android SD Development] flow68:
@ Hastarin

Hi, I'm using your kernel in Mdeejay's builds since the very beginning. No need to justify about CPU clocking. We know that you make a great work anyway.

Thank your for your efforts.
[HD2 Android SD Development] d3l1:
Yes it seems even slower then it normally is, I get like 10kb/s over wifi. that's just sad! Market really sucks at the moment!

to r8: I replaced the files and rebooted, and since then I had one data lockup (I guess because of bad reception inside buildings) and the standby battery drain was constantly 9mA. The phone is charging now and I will do one or two more reboots to see if it improves. Although the wake-up lag is worse then before. Now it takes my phone 2-5 seconds until the lockscreen appears. Maybe a few reboots will solve it. I'll do some more testing, speed, wifi, ... and report back. I'm really looking forward to the changes in that kernel!
[HD2 Android SD Development] hastarin:
Some of the file are optional. The wifi module is NOT. See my first post and FAQ.

Sent from my HTC HD2
[HD2 Android SD Development] hastarin:
You aren't updating the modules.

Sent from my HTC HD2
[HD2 Android SD Development] cncheng:
Try with mdeejay HD 3.7. Seems no problem after reboot. Test for more functions later.

Thanks for your affort.
[HD2 Android SD Development] iGoOsE76:
testing it out now... <3 updates thanks hastarin!!!
[HD2 Android SD Development] Macelangelo77:
I've read the first post, and the FAQ as well as the README.TXT. I'm propably one of the fewer who reads everything before upgrading, so please be kind.

Your README.TXT says

If it isn't optional (anymore), maybe it's a good idea to update the readme.txt

I'll replace the modules too, but as I'm not having issues with Wifi, but with PPP I'd still like to know whether it's possible to see PPP-logs too have a clue about what's happening.

In regards to the Wifi MAC-address-patch: I've also enter my MAC-address in startup.txt, however it's not applied (it's still 00:11:22:33:44:55 in Wifi Setting > Advanced and I can see in my router it's still connecting with 00:11:22:33:44:55.

Sincerely,

Mac
[HD2 Android SD Development] Fidalgos:
Originally Posted by tantrum829	In the readme the kernel is copied over and replaces the zimage and I see the new kernel in the settings>about but everytime I tried to upgrade a kernal my wifi stops working. wifi wont even turn on. Am I missing something?

Using mdeejay revolution 2.3

Thanks
​

You aren't updating the modules.

Sent from my HTC HD2

HI hastarin:)

I have the same problem... for the first time I can't connect to wi-fi and I folow the readme.txt, via PCcard reader, I replace my old folder with the Root>system>lib>hw and modules, the zimage, and the two optional initrd.gz and haret :o

So... why also have lose the wi-fi?

Thanks in advance for your possible clarification :)
[HD2 Android SD Development] lucian777:
Android/root/system/lib/modules for bcm and ko files

Android/root/system/lib/hw for lights.so
[HD2 Android SD Development] jmmmmm:
Hey this has been bugging me for a minute and now that everything else is perfect (THANK YOU HASTARIN and PONGSTER) I can try to look into this little thing...

My LED has never flashed quite right for an SMS or other message. It only flashes once when I get a new message and does not blink. I have tried various fixes with no success so I'm wondering if the CyanogenMod LED Notifications settings is something I should or need to set.

Has anyone that has the LED fixed or working ever had to play with any CyanogenMod settings to get it to work?
[HD2 Android SD Development] Fidalgos:
Sorry I don't understand your explanation because I copy root folder with all contents:

system\lib (

hw

with lights.htcleo.so) and

modules

with bcm4329.ko + tun.ko :confused:

what can I do to return to enable wi-fi?
[HD2 Android SD Development] Macelangelo77:
I've replaced the modules, double-checked permissions and startup.txt, but no luck.

I can see data coming up, but it stops immediately after connecting, even with the replaced modules.

Can anyone else check whether the mac-address from startup.txt is applied?

Otherwise, I'll just backup my apps and start fresh tonight :)

Sincerely,

Mac
[HD2 Android SD Development] ckumar1017:
Very smooth.

Radio: 2.14.50.04

WM Rom: Miri v19

Android: FroyoStone Sense V3.2

Kernel: Hastarin R8
[HD2 Android SD Development] hcnsoft:
Boot into Android and use Root explorer to copy both files (bcm4329.ko & tun.ko) in modules folder manually to system/lib/modules then turn on your wifi again.
[HD2 Android SD Development] hastarin:
Make sure you are using wifi.mac

It changed from 7.7

Sent from my HTC HD2
[HD2 Android SD Development] seavers11:
it doesnt work for me with mdeejay´s evo sense matter... i turn wifi on then comes a message that no networkscan is possbile an wifi turns off ???
[HD2 Android SD Development] Macelangelo77:
I haven't used 7.7, so I upgraded from 7.6 to 8. I've checked startup text:

set mtype 2524
set ramaddr 0x11800000
set ramsize 0x1e400000
set KERNEL zImage
set initrd initrd.gz
set initrd_offset 0x00a00000
set cmdline "nand_boot=0"
set cmdline "bt.mac=00:11:22:33:44:55 wifi.mac=00:23:76:cb:5b:47"
boot

Looks fine to me (allthough I didn't change bt.mac, but that shouldn't matter, should it?).

Any advise to see what ppp is doing?

Sincerely,

Mac
[HD2 Android SD Development] Nismo300zx:
anybody know why everytime i plug in my wall charger to charge the phone it thinks its connected to usb and i cant play/watch my games/movies/music?
[HD2 Android SD Development] AlaneCzeQ:
Further test:

While browsing (WiFi) with heavy pages like thomascook.com and watching video embedded on it my battery drain was about 10 % for 30 min ! It is quite similar to what I was able to get in WinMo

That gives 5-6 hours of non-stop web browsing with videos.

btw. now after reboot my standby is 5mA and havent got a single PPP drop !
[HD2 Android SD Development] Fidalgos:
WI-FI return with your help

:) thanks for your help:) I use your indication with Root Explorer and... HURRAaaaa:D

I have wi-fi again:D

Many...Many...Thanks again and Regards from me and from PORTUGAL :)
[HD2 Android SD Development] seavers11:
All i tried like manually copied with the root explorer is not working for me... no network scan is possible
[HD2 Android SD Development] andyleckie:
same problem here :confused:
[HD2 Android SD Development] seavers11:
switched to the kernel and modules that included in this build everything is working fine....
[HD2 Android SD Development] securecrt:
update from 7.7 to 8 and the standby current from 3mA to 5mA
[HD2 Android SD Development] asphaltkiller:
I thought R8 perflock as disabled and we were unable to underclock??

I have the opposite problem I m unable to "not" underclock!!!

My CPU is still moving from 245 to 998! even if i set min speed to 998!
[HD2 Android SD Development] Geno-X:
I got the same issue. Any answers/solutions?
[HD2 Android SD Development] Tachi91:
I've aways notived that issue even on older kernels.... I usually just unplug all the cables and the outlet then just put it back on and to me it takes a couple times then it starts working right again
[HD2 Android SD Development] iGoOsE76:
so far so good
[HD2 Android SD Development] seavers11:
I think i have found my problem why the r8 kernel not works for me... i have copied before the ppp patch from noellenchris an this was the problem after i removed the patch everything works great !
[HD2 Android SD Development] jmmmmm:
He disabled underclocking also. I believe it was stated that underclocking during certain activities might be a contributing factor in events like freezes, lag, etc.
[HD2 Android SD Development] Frakatchoo:
Hum... No Extended Battery, No overclocking, don't know why to upgrade...
[HD2 Android SD Development] circusoctopus:
Sorry, things are hard to find on this forum sometimes. There's just so much content.

Anyway, the 3 sec autoboot didn't seem to work, but the r8 did, so I guess I should have just stayed patient :)

Thanks.
[HD2 Android SD Development] jmmmmm:
Overall stability
[HD2 Android SD Development] hookguy:
thanks hastarin great work!
[HD2 Android SD Development] Ironsave:
Yep. +1!!!!!!

Now (once again) getting 4-5mA drain on standby with all (BT, refresh, data, etc) ON.

No music stutter and all is running well........
[HD2 Android SD Development] famewolf:
I believe you can only have one command line so put all in one.

Sent from my HTC HD2 using the XDA App.
[HD2 Android SD Development] boardwak:
Pushed the r8 modules and wifi did not work with the new r8 kernel. Pushing the r7.7 ones fixed the problem, though.
[HD2 Android SD Development] Macelangelo77:
Ok... I started from scratch. I

1. formatted my sdcard with SD Formatter (32k clusters)

2. copied Android folder from Mdeejays FroyoHD 3.7 build

3. installed it and ran the setup

4. turned of my phone and copied all the r8 files

5. changed startup.txt with my wifi MAC-address

6. booted my phone again

7. copied the modules and lights.htcleo.so into the right place

8. renamed lights.htcleo.so into light.qsd8sko.so

9. changed permission with Gscript Lite

10. switched airplane mode on and off

11. switched on mobile data --> works fine now!

12. switched on wifi --> works, but the MAC-address from startup.txt is not applied.

I've tried my own MAC-address and the example mdebeljuh posted here, just to make sure I made no typos, but to no avail. It keeps displaying the default (fake) MAC-address, which is an issue as my wife is running the same build too...

Can anyone please check to see whether the Wifi MAC-patch works on their phone? I don't have a clue anymore...

Sincerely,

Mac
[HD2 Android SD Development] noellenchris:
Hastarin, this kernel works great. I'm not using setcpu, swapped in this kernel and replaced 7.7 and it's been smooth and everything works.

I'm still running the PPP fix and It's been great for the last few hours. Looking forward to a new ril wrapper to hopefully solve the ppp issues.

Thanks for your time and efforts perfecting the EVO Kernels and helping everone over and over and over again learning how to upgrade kernels etc.

You my man have a gift of patience... Chow...;)
[HD2 Android SD Development] sorodrigo:
it's kernel desire hd? or evo
[HD2 Android SD Development] noellenchris:
quoted from first post , first sentence.

Release r8

This is a Kernel I built for my own purposes, and now for others, based on the current EVO kernel (as of whenever I last merged it to my branch) and changes from various sources.
[HD2 Android SD Development] supermantxz24:
i have a quick question i have been searching but couldnt find what im looking for. where do you place the devs folder? do i just place it in android folder with all the other folders or do i actually have to place the build config and the maintree.diff somewhere? if i do where do i need to place these files and what files do i replace if i need to?
[HD2 Android SD Development] noellenchris:
you don't have to place it in your build. It's more for an informational folder with developer information in case you want to see technically what the kernel is made of or any patch's or differences in the kernel and modules...:)
[HD2 Android SD Development] supermantxz24:
Thanks for the info i kinda hoped that was what it was for :)
[HD2 Android SD Development] alexilaih0:
did i understand right that with

the 8 kernel i should uinstall setcpu?

with best regards
[HD2 Android SD Development] mstrk242:
Thanks hastarin. This kernel is very smooth. Everything is super responsive.
[HD2 Android SD Development] noellenchris:
You don't have to uninstall, but I just unchecked start on boot in setcpu. This way its not running. And if I need it, then I don't have to reinstall..