yashsingh1/xdaforums huggingface dataset:
[Blade Android Development] wbaw:
It's probably got more to do with your router(s) really. Do you have BT Homehubs? Thomson? Netgear? D-Link? Are they old? Supplied by your ISP? dhcp is the name of the service on the router that allocates ip addresses, on some routers it doesn't work to the proper specifications. Newer versions of dhcpcd, the software on the phone that acquires the ip address from the router are tighter & for some reason wont accept dhcp servers that don't behave properly.

I replaced dhcpcd with an older version, that works with more crappy routers, on the previous GSF, I think I forgot for this rom. So you can download GSF b27 from the other thread, extract /system/bin/dhcpcd from that zip & replace the newer version in GSF r4 with that, or wait until the next version. I think the version of dhcpcd in gsf b27 should work for other roms too, if it solves your problem in this rom then you are likely to have similar problems in other gingerbread roms & on other linux based devices with a recent dhcpcd.

It might be another issue with your router, some just crash after a while & wont accept new devices, or devices reconnecting. You might just need to reset your router. Most of the blame has got to go on your router anyway, it works well for most people on most wireless networks. Setting a static IP address, or buying a new router should work better for networks you have trouble with.

Nothing changed that should affect wireless connections between r3 & r4. I listed all the changes in the 2nd post changelog, there was really nothing that could affect the wireless network, the wireless undervolting was already in r3. There is a difference between the beta versions of gsf & this release version, as it's based on a newer zte rom & hasn't had 27 versions yet. I'd forgotten about the dhcpcd issue because it doesn't affect me, just a few people with bad routers & it's been in all the 'r' versions of this rom, CyanogenMod & probably a lot of other roms too.
[Blade Android Development] EvilBrains:
Thanks for the answer. I will try to replace the wifi files with b27 ones. My router i a D-Link one, but Ive tried on others as well. To make it even more strange, while I was at the shopping center the other day, I connected to their wifi sucessfully. But afterwards still couldn't connect to my home wifi. So I will try what you said and maybe it will work
[Blade Android Development] wbaw:
It's a problem between newer versions of dhcpcd & a few older routers. It doesn't just affect the Blade, it'll affect any recent linux based device that connects to that router, dhcpcd is the standard. The only way to get around it is to update or replace your router, stick to older versions of dhcpcd, or use a static ip address. I had to use a version of dhcpcd from Android 2.1 to make it work in GSF B27. Totally forgot about it for the 'r' versions of the rom, since I'm not affected.

It should connect to most wireless routers without any problem. It's connecting to yours ok, just having trouble with getting an IP address, you can set it to use a static IP & it'll work fine.

Anyway, r5 will be out in a few days, I'm just a bit busy at the moment. I need to clean my computer too, it overheats when I compile anything :o
[Blade Android Development] EvilBrains:
I know that feel :D I've fried 2 motherboards on my pc by being too lazy to clean it up. So now I do the cleaning once a month, just to be sure :D
[Blade Android Development] wbaw:
The file attached to this post should fix it, should work for other roms too. It's an older version of dhcpcd from Android 2.1
[Blade Android Development] EvilBrains:
Thanks, it now connects to my wifi
[Blade Android Development] rjpa123:
R5 ETA?

Please and thank you.

Great job, wbaw :)
[Blade Android Development] ikamil:
keyboard

Include the normal keyboard to R5 with space bar languages switching, and Russian dict
[Blade Android Development] wbaw:
It'll be another few days still...

I stripped my pc down, cleaned most of the dust out of it, reinstalled os & now it crashes even more. Removing the dust from the cpu fan has made the rest of the case heat up more. I need to give the case fans another clean, maybe fit another one & find a new better ventilated home for my PC.

I'll use the CM7 gingerbread keyboard again in the next version. Kernel has been updated with many patches, including patches & new settings for the 'ondemand' cpu scheduler to make it more responsive. dhcpcd will be replaced with the older version that works with more routers.
[Blade Android Development] peto223:
how to apply undervolt patch to other roms??
[Blade Android Development] wbaw:
Undervolting is in the kernel, so you need to replace the kernel. Just using my boot.img might work on some other roms. It wont work on CM7 or roms that don't have /etc/init.d/

If you use koush's AnyKernel with a kernel that you compiled from my modified zte blade kernel source code then you can make it work on any rom.

I'm planning to release the kernel separately in a form that can be used on any other blade gingerbread rom, just by flashing a clockworkmod zip file, maybe in a week or two. It'll use a modified version of koush's anykernel, it'll automatically detect what version of the kernel to use & it'll also function as a gen1/2 converter.
[Blade Android Development] peto223:
iam using Elite Blade_Rom 2.3.5 (s5), waiting for your kernel

looking on linked pages but i dont know how to use that files, iam new in android
[Blade Android Development] wbaw:
It should work if you download gsf r4, extract the boot.img from the gsf zip & use that to replace the boot.img in the elite rom zip. Take a backup first in case it doesn't. Or just wait a couple of weeks for my better version.
[Blade Android Development] peto223:
ok thanks for reply but i will wait, using rom about month and i dont want to make wipe
[Blade Android Development] wbaw:
no need to wipe data if you're just flashing the boot.img, but probably best to wait anyway.
[Blade Android Development] peto223:
ok hope u release it soon as possible
[Blade Android Development] wbaw:
It's really not that much of a big deal. Undervolting is no miracle cure for battery drain problems. If you have battery use problems you should look at what apps you have installed & what they're doing, that will have the biggest effect.

It's only undervolted when running at 480mhz or less. It has to run at stock voltage for over 480mhz otherwise it crashes. If you're using an app that demands a lot of cpu power it'll be running at 600mhz+ & the undervolting wont have any effect.

It helps the phone to use a little less power when it's basically idle, but not in power saving sleep mode. On my phone it's usually running at 122.8 mhz for 50-60% of awake time & 672mhz for most of the rest. So you might get a 10% increase in battery life, depending on how you use your phone. If you set it to max 480mhz you'll save more battery.

The wifi adaptor undervolting has a smaller effect & only has any effect when wifi is turned on.

I'm happy that nobody has reported any adverse effects, but don't expect a huge improvement either.

I'm more bothered about the ondemand cpu governor patches that I added to my kernel since r4. They don't save any battery life, but they let us use better tuning parameters so that the phone will scale up to maximum speed faster when we need it, which makes it appear faster & smoother.
[Blade Android Development] karthiknr:
Is the above paragraph the reason for better battery life in b27 compared to r4??
[Blade Android Development] wbaw:
No. If you read the paragraph again you'll see it says that it has no effect on battery life & isn't included in r4. It'll just make r5 faster. Try reading before you ask questions.

r4 should have better battery life than b27.
[Blade Android Development] karthiknr:
Understood. Sorry. I thought the tuning parameters consumed more battery.
[Blade Android Development] wbaw:
Not really & they're not in r4 anyway. It's just what I'm using on my own phone (with cm7 kang) with my new kernel patches & it'll be in r5. My new settings just make it speed up faster, when the cpu is finished being busy it scales down again at the same rate, so it's at top speed for the same percentage of the time, it just gets there a few milliseconds faster.

With standard settings ondemand cpu governor checks the cpu load every half second to see whether the cpu needs to speed up or slow down. When the cpu is at 90% load it speeds up.

So if you've not used your phone for a second & it's not busy then it's running at the slowest speed, then when you use the phone again it could take up to half a second to get back up to full speed. This causes a bit of stutter in some of the launcher animations sometimes.

With my new settings it checks cpu load 100 times a second, every 10 milliseconds, that's faster than the screen refreshes. So whenever you're using your phone it reaches full speed in under 10 milliseconds, just as the first frame of the animation is being drawn on screen. While the cpu is busy & at full speed it only checks whether to slow it down again every half second, so it isn't causing extra cpu load itself by checking too often. So it runs a lot smoother & appears to run at full speed all the time to the user, but it actually scales the speed back just the same.

Another problem is i/o wait time is counted as idle time for the ondemand cpu governor. So when the cpu is waiting for data from the sd card or internal nand ondemand thinks that it's idle & slows down the cpu, this slows down reads & writes to storage. I fixed that too, i/o wait time is classed as busy time with my new settings. So the cpu wont slow down storage reads & writes.

Since it checks cpu load more often when at low speed I set the threshold to 95% cpu load before it scales up, rather than 90%. So it takes a bit more cpu load before it speeds up & that compensates for any increase in time spent at full cpu speed caused by the other settings.

So I get similar performance to using the 'performance' cpu governor, which keeps the cpu at the highest speed all the time, but there's no real difference in battery use over the standard 'ondemand' governor settings.

The patches that I've added to the kernel, to bring the ondemand cpu governor up to date with the latest version of the Linux kernel allow my settings to work & make it run a little more efficiently. https://github.com/John-Kenney/zte-turies-35/commits/master?page=5

7 patches added on Jan 15th. I've been testing the settings for almost a month now, works well & no noticeable difference in battery use.
[Blade Android Development] karthiknr:
Hmm. You've given awesome info.:) Hoping you'll be able to make your flashable kernel zip soon.

---------- Post added at 09:45 AM ---------- Previous post was at 09:43 AM ----------

Will the undervolted cpu have any conflicts with the new 95% threshold?
[Blade Android Development] wbaw:
Undervolting is different, it doesn't seem to cause any problems with anything as far as I can tell, just gives slightly better battery life (for some people).

The 95% load threshold wont make much difference to anything, that's just the standard setting for newer kernels. It'll just mean that the cpu only scales up in speed when it really needs to. Before it was 90%, so the difference is really small, maybe a little bit more than enough to compensate for the higher sampling frequency.

Those ondemand settings need to be set in the rom separately, the new kernel patches just allow the new settings to work properly. There wont be any difference if you just flash the kernel on an existing rom, without the init script.
[Blade Android Development] karthiknr:
Hmm. Hoping all goes well.:)
[Blade Android Development] EvilBrains:
It's been quite a while now without any updates for the upcoming r5. Are you somehow stuck with it?

Just being impatient :)
[Blade Android Development] sqbo:
Hello, when will be s5 with new kernel ?
[Blade Android Development] wbaw:
A while, I'm doing a CM7 kang first.
[Blade Android Development] wbaw:
I had computer problems, it keep freezing all the time, took me a while to work out that it was the wireless network card causing it. That & there hasn't really been much to add, until the recent kernel source release.
[Blade Android Development] karthiknr:
Interesting.;) Demand for CM7 KANG's seem to be high.
[Blade Android Development] xyz`1:
Will the new kernel work with GSF? if it doesn't are you thinking about releasing a version for GSF ?
[Blade Android Development] wbaw:
Yeah, it'll work fine. I'm using it on CM7, no reason it shouldn't work on gsf if I compile another vmsplit 2g version.

Just a small problem with the wifi I want to try to find a fix for first. With the gingerbread firmware it'll only connect in '11b' mode, which is slow & wont work with routers set to '54g'. Tom G has found some firmware that lets us connect to '54g' routers, but the speeds are still just as slow. The old wifi driver doesn't work at all since the kernel update from zte & the new one doesn't work very well. Unfortunately we don't have any working source code for the wifi driver, we're relying on zte built proprietary wifi modules & wifi firmware.

Once that is fixed, if it can be easily fixed, there are some good things to look forward to. The new kernel update makes the camera work better & lets it work with some newer blades.

I've managed to overclock the axi bus & gpu to half the cpu speed, so 300mhz gpu at the stock 600mhz cpu speed, stock gpu speed is 122.88mhz, I've had it at 337, others as high as 374mhz. 3x overclock on the graphics chip. 3x faster graphics (almost). Really smooth graphics, lag free 3d games & launcher animations, scrolling, etc.
[Blade Android Development] Tugdu77:
:eek:

When can we expect you to release this very nice update? Or maybe just a patch to flash? I can't wait to test this GPU overclock!

Thanks for everything you've done until know, I everything that is coming!
[Blade Android Development] T.H.E.:
+1 +1 :D how is it going with wifi fix? New kernel anytime soon ? :D
[Blade Android Development] wbaw:
I'll try & get something done this weekend. I was slowed down by a nasty pub meal giving me food poisoning this week :eek: only just recovered.

Still having wifi speed issues, but I think I've been looking for a kernel bug where there isn't one.

You can always compile your own kernel from my github source code https://github.com/John-Kenney/zte-turies-35 , it really isn't that hard, there's probably a guide somewhere. You need to compile with VMSPLIT 2G for GSF, it'll ask you during the compile process. I always keep my github up to date with the latest changes.

Can somebody with a fast internet connection (over 10mbit) on wifi do a speed test using the speedtest.net app on their blade running GSF r4, please? If possible compare with another device on the same network.
[Blade Android Development] termagazis:
where can we found your cm7 kang?
[Blade Android Development] RolF2:
here you can see speed test results on 100 mbit FTH conection and blade GSF r4
[Blade Android Development] Tugdu77:
I mainly have wifi connexion issues with r4.

I used the dhcpcd-fix.zip and indeed I have now access to old wifi networks. But sometimes, the blade just won't get connected (endless loop of "Research>Connexion>Disconnected). Sometimes it stucks on the ip adress gathering and starts endless loops again. I am having this issues on all kind of wireless networks...Somedays, it just work...

I am really not natural born android programmer :o

Any candidate?
[Blade Android Development] 923Bl2:
I'd like to try wifi fix. How do I install dhcpcd-fix.zip as new to android?
[Blade Android Development] Tugdu77:
You put the zip file on your micro-sd card and you flash it from the recovery (the same way you flashed this custom rom).
[Blade Android Development] Tugdu77:
Speedtest.net - University network:

- Laptop (Toshiba A500-14K): PING=5ms DOWN=14Mbps UP=12Mbps

- Blade R4 + dhcpcd-fix: PING=52ms DOWn=6Mbps UP=5Mbps

I hope this helps...
[Blade Android Development] T.H.E.:
If wifi issue isn't kernel related then may I ask what's in the way of the next gsf release? Thanks :)
[Blade Android Development] Tugdu77:
Hello! Any plans regarding the release of the r5???

Thanks!
[Blade Android Development] T.H.E.:
+1 I would also like to know thanks! :)
[Blade Android Development] Tugdu77:
What if I flash your kernel compiled for the "CM7 Kang" (boot-wbaw-cm7-gen2-blade120223a.zip) on the r4? Will it work?
[Blade Android Development] xyz`1:
No it wont work as kernels for cm7 are compiled as vmsplit3g while stock rom based kernels are compiled as vmsplit2g.

vmsplit is like a mechanism..something the kernel does to split memory in different ways..allocating different amounts of ram to the kernel and the user apps.
[Blade Android Development] xyz`1:
I wonder whats stopping the r5 release..with all the kernel bugs atleast sorted out i think? Other than that Have you ever thought of adding or including scripts in gsf?There seem to be many in the general android hacking forum which increase performance for lots of people according to the polls atleast..do they really help?
[Blade Android Development] wbaw:
I'll be done when I feel like it, stop asking. My whole upper body is in pain right now, think I've got a slipped disc :(

All kernel bugs should be fixed & the source is on my github, r5 wont be much more than r4, just a new kernel, gingerbread keyboard, new adreno libs & a few small speed tweaks. Make your own if you're that bothered.
[Blade Android Development] Rastaman2302:
Picture this:

You're 5 years old and your mom has promised to bake you some cookies. The entire time she is hard at work, making the dough, cutting out some shapes, preheating the oven, you are yanking at her arm shouting "I WANT MY COOKIES!!! NOW NOW NOW!!! WHAT'S TAKING SO LONG?!!!"

That little boy is you and wbaw is your mother baking cookies for you.

So try to be a bit understanding and give him some credit for his work. He has done a lot for the Blade so he deserves our respect.

He doesn't have to be doing this you know, so he can take all the time he wants :)
[Blade Android Development] termagazis:
wbaw is doing the best job!!! btw i'll ask for second time if someone can answer me:where can i found wbaw's cyanogen kang rom?
[Blade Android Development] karthiknr:
In the thread CM7 KANG Development in the Android development section for Blade. Look at all pages. I don't know where it is but it's there alright.
[Blade Android Development] termagazis:
i dont know why i cant find it
[Blade Android Development] Gokh:
As i know wbaw did'nt release a kang?:confused: It was just a kernel
[Blade Android Development] Faiz Malkani:
Yeah I thought so too. If u can't find the kernel, tell me. I'll post a link

Sent from my Supernatural Blade
[Blade Android Development] karthiknr:
He did release his kang. It was just basic cm7n with his kernel I guess.
[Blade Android Development] T.H.E.:
Hey wbaw! I tried compiling your kernel..But in order to avoid the ramdisk and intramfs part of the whole thing i tried anykernel but i dont understand how that works? :( i put zimage in the kernel folder and zipped it up but then wheres the boot.img?? Thank you for your help..i just followed a guide from xda..
[Blade Android Development] wbaw:
Anykernel creates the boot.img, it extracts the ramdisk from the kernel on your phone & combines that with the zImage to create a boot.img using clockworkmod. It's a good way to update the kernel, koush is great. So, you just need the zImage if you use AnyKernel.

I was going to do a mod of AnyKernel & Kallt Kaffe's old mod of it that detected which zImage to use for gen1/2 & vmsplit 2g/3g, a universal kernel package for the Blade, but I'm too lazy.

Compiling is educational anyway... the scrolling text makes me feel like some great hacker even if I only typed one command ;)

Anyway, I'm going to do another GSF based on the new Moldovan rom with my new kernel & stuff, eventually, maybe in a week. Then I might do a CM7 kang with my new kernel & new proprietary files from this new Moldovan rom. I did share a cm7 kang, but it's old now & it was just a basic quick kang, you're probably better using somebody else's more recent kang, I think Tom G got most of my kernel patches that made much difference, they should be in all the kernels now.

Just don't be demanding stuff, it's not like I'm paid for it. If it isn't ready in a week then so what? I do it for fun, for my own phone, I share what I do, if that makes people start demanding stuff then it stops being fun, I lose my reason for doing it & I stop.
[Blade Android Development] T.H.E.:
+1 on feeling like a hacker when compiling! :D so you mean if i use anykernels update.zip i just replace the zimage okay..but in some guides it tells me to put the modules i get after compiling in a certain folder but i dont get the modules that are written in the guides i just get a scsi_waitscan.ko or something like that..is it maybe simpler to split the current boot.img in gsf and just replace zimage?will it work like that?I know your kernel patches are almost everywhere now but hey its time for us to learn too no? that way you guys can just keep updating your github source while we compile and test that way it saves you loads of trouble too!plus that way people will start using the issue tracker properly and stuff..thats what i think the ideal community should be after being active in these forums for a while :) and i understand what you mean.. it should be just fun and not demands and ****..thanks for helping out!
[Blade Android Development] wbaw:
Everything is built in to my kernel, there's just one small module that you don't need, so just ignore the modules, they're all built in.

It'll work if you split the current boot.img & replace the zImage, that's what AnyKernel does for you - it does that bit automatically, if you find it simpler to do it manually then good for you, but AnyKernel was made so that you don't have to do that.

I'm currently doing a new kernel, based on Tom G's source, with a few selected patches from mine & burstlam's kernel to try to make it work a little better. I'll be much more conservative about which patches to add & try to only add proven good ones, try to keep it stable & try to get some of the patches into the official Blade CyanogenMod kernel.

I think I messed up the wifi on my kernel a bit & there are quite a lot of patches that could've caused it for no noticeable improvement.
[Blade Android Development] cientista27:
Very good that someone will be here in the forum develops ZTE SKATE?
[Blade Android Development] aermua:
hello all

i was a huge fan of b27. and i,mthining of switching back

i,m running elite mod s5 and not sure if this is supported anymore, anyway are there an screenshots for this rom or how does it compare with UI of elite rom?

idealy for me is id like to keep the luncher pro interface and the widgets to turn off gps or wifi etc without going in settings.

thanks
[Blade Android Development] Gokh:
This rom is very basic, its a stock Blade rom, there is no modification, you will not have the great ui of Elitemovil.

I suggest you Swedish Snow (from modaco) or maybe cm7, they have power widgets in notification bar.

Envoyé depuis mon Blade
[Xperia Play Accessories] ps3taker:
I used EASEUS to format on my laptop - and all seems perfect
[Xperia Play Accessories] sportfisio:
Wow...Could you post wich one did you buy and where?

Congratulations, nice catch!;)
[Xperia Play Accessories] Pos411:
congrats....

any screenshot?

i'm going to buy if it really works...

thanks
[Xperia Play Accessories] ps3taker:
Sent from my R800i
[Xperia Play Accessories] ps3taker:
Play.com direct not third party or marketplace. By SanDisk. Hope it helps

Sent from my R800i
[Xperia Play Accessories] CEemaM:
Yes please
[Xperia Play Accessories] FTAiii:
64gb card

Thank you for your post, I bought the sandisk 64gb card, formated it to fat32 and it works perfectly [in fact its a bit zippier than my previously full 32 gb card which i believe was class 4]. The card was a bit pricey, but well worth it. Thanks again.