yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] kallt_kaffe:
Overclocking

EDIT 2010-12-17: Removed all overclocking addons as they are now(with RLS4) obsolete

EDIT 2010-11-09: Updated all overclocking files with the new bootlogo.

EDIT 2010-10-11: Updated all overclocking files with the optical d-pad fix för U8120 phones.

EDIT 2010-10-27: Updated all overclocking files with support for phones that run 600MHz with their stock ROMs

Overclocking code has been rewritten in RLS4. The new kernel defaults to 633.6MHz which I believe should work on all phone. Let me know if it does not.

Use the app SetCPU if you want to overclock above the default 633.6MHz(default in RLS4) overclock.

SetCPU can be bought on Market or downloaded from XDA developers

Be careful with the "Set on boot" checkbox untill you know for sure if a speed is stable our not. Most phones will propably find a stable frequency in the 672-710.4MHz area but some can go higher. The highest allowed in the kernel is 748.8MHz.
[Android Software/Hacking General [Developers Only]] kallt_kaffe:
Compcache

If you are using are allready using a swap partition on your SD-card, then you most likely shouldn't enable compcache. But if you do not want to partition your SD-card then compcache can be a good alternative.

Read more about how Compcache works here: http://wiki.cyanogenmod.com/index.php?title=Compcache

Enable compcache

In a terminal or using an adb shell type this:

$ su

# compcache.sh enable

Type free to confirm you now have 32Mb swap

Disable compcache

In a terminal or using an adb shell type this:

$ su

# compcache.sh disable

Type free to confirm you now have 0Mb swap

Advanced users

Compcache size, settings and swappiness is setup in /system/bin/compcache.sh

If you are an advanced user, you'll know how to proceed from here...
[Android Software/Hacking General [Developers Only]] kallt_kaffe:
A2SD

(Only tested with AmonRA recovery image)

1. Backup your MicroSD card (IMPORTANT!)

2. Boot into recovery mode (see Installation instructions)

3. Choose to partition your SD card.

I recommend 32Mb for Swap and unless you plan to also move the dalvik-cache to the MicroSD card anything more than 512Mb for applications will be pointless as you will still be limited by the internal space for the dalvik-cache. You can of course use more space for swap if you have a large MicroSD card but I don't think it will make much difference but sure 64Mb won't hurt and on a 8Gb card you can afford it.

4. (optional) Convert EXT2 partition to EXT3 (EXT3 is an improved filesystem compared to EXT2).

5. Reboot the phone.

A2SD will now automaticly move your apps to the SD-card partition and enable your swap partition.

To change how a2sd works see this guide: http://xdaforums.com/showpost.php?p=7021609&postcount=5

(a2sd jit is NOT supported in my ROM as I've choosed to provide JIT as an update instead)

NOTE: If you intend to use A2SD it's propably a good idea to enable it early. Some apps (at least my banking app) doesn't like being moved and have to be uninstalled and reinstalled if you move it from internal to SD or the other way around.

NOTE2: Don't EVER remove your SD-card while the phone is turned on if you use A2SD and/or swap.

NOTE3: Having your apps on the slower (compared to NAND) SD-card propably have a performance hit but I can't say I've noticed it when testing it. However I believe that if you also move the dalvik-cache the performance hit may be noticable.
[Android Software/Hacking General [Developers Only]] kallt_kaffe:
Reserved for the future...
[Android Software/Hacking General [Developers Only]] Xylograph:
Hi there,

I saw you're post about the overclocking issue I have with the Vodafone 845 (huawei 8120) thanks for that.

So this rom should also be compatible with the 8120 ?

It seems you have added a lot of good stuff and I am going to try you're rom really soon.

I am also wondering if the overclock will work or do I still need to flash a 'stock rom' first?

Thanks for the hard work !
[Android Software/Hacking General [Developers Only]] kallt_kaffe:
I believe it should. The kernel config from a stock U8120 that I recieved when doing the overclocking was identical to the one from a stock U8100 so I believe the phones uses the same hardware.

Yes, if you did the 600MHz hack your phone will use the wrong frequency array and I haven't adjusted that array. Also I am not sure what other effects it can have by using the wrong frequency array and I do not even now why the hack makes it use the wrong array. Likely some firmware has changed when you flashed the wrong UPDATA.APP and it's propably a good idea to get back to the one that was intended for your phone.

652800 = 652.8MHz and so on... it's the speed i KHz as it is the format used in the frequancy arrays. Having digged into the acpuclock.c quite a few times now I took it for granted that everyone could see the connection but I guess I could make it more clear. Thanks for pointing it out.
[Android Software/Hacking General [Developers Only]] Xylograph:
I did a full wipe and partition sd with 32mb swap,512mb ext2,ext2 to ext3.

Flashed you're rom and everything seems to work great :)

You were right about the cpu reading though (still @ 600 Mhz) ..now installing 'stock rom' and hope the readings return to normal again.

Thanks again !

Edit : Tried to flash 'stock rom' but the update failed hlaf way,anyway my cpu readings were back to normal after flashing back you're rom (528 Mhz that is) after that flashed you're 691 Mhz zipfile and... It works !!!

Thanks a lot for the explanations ! really helpfull (I understand things a bit better now)

Now I have to do some testing if 691 Mhz is stable for this phone.

Do you have any recommendations (apps) for stress-testing ? (is setcpu stress test any good?)

I will report back with my findings.

Thanks once again
[Android Software/Hacking General [Developers Only]] kallt_kaffe:
Not sure about stress testing, haven't done much of it myself really. But if 691.2MHz is stable then you may want to try 710.4. If you are familiar with fastbooting you can extract the boot.img and do a fastboot with a different boot.img without flashing it.

I suppose Neocore could be a good stress test on our phones since they lack hardware 3D and have to do all the 3D rendering in software.
[Android Software/Hacking General [Developers Only]] Gjole86:
flashing atm on U8110. greetings from modaco :)
[Android Software/Hacking General [Developers Only]] kallt_kaffe:
Let me know how it goes, it should work fine just like old version unless the U8110 needs one of the touchscreen drivers I disabled in the kernel, but I really doubt it.
[Android Software/Hacking General [Developers Only]] Gjole86:
works fine for now .. gonna do stress test soon.
[Android Software/Hacking General [Developers Only]] Xylograph:
I did some testing and the 691.2 Mhz seems stable on my phone (VF845 - 8120) and since other available roms here are using you're 691.2 Mhz 'mod' we can safely say it is stable for this phone I think.

I also tried the 710.4 zip-file,but this resulted in a lockup in the boot-animation ;)

A bit to much I think.

Anyway 163 Mhz more as stock speeds is still pretty amazing :cool:

btw. I was wondering if it is possible to uninstall some apps that come with you're rom ? I can't find them in the 'uninstaller'

Thanks

EDIT : Talking about overclocking got me thinking..Do you think it would be possible to undervolt in some kind of way to gain more battery-time (on lower cpu-speeds) ?
[Android Software/Hacking General [Developers Only]] gareng007:
Hi,

Flash it to my U8100 but unfortunately it stuck on the booting animation.

Even when I flash the 633.6MHz update.

The phone works fine with your previous ROM (rls6_JIT I found at Modaco) and 633.6 MHz update.

Need your help to make A2SD works.

Thanks.
[Android Software/Hacking General [Developers Only]] popred:
HI,

Works well on my t-mobile pulse mini,but gps not working.

runs fast at 652 speed :),please can you fix gps.
[Android Software/Hacking General [Developers Only]] rickwyatt:
dose these work on the pulse mini?
[Android Software/Hacking General [Developers Only]] kallt_kaffe:
Have you tried to wipe data?
[Android Software/Hacking General [Developers Only]] kallt_kaffe:
I'll have a look at it as soon as I have time.
[Android Software/Hacking General [Developers Only]] kallt_kaffe:
Yes, with my rom but gps is broken on pulse mini at the moment.
[Android Software/Hacking General [Developers Only]] pritishd:
Excellent ROM for the VF 845. I am in New Zealand.

Definately makes the phone run faster. Tried Mr Edition ROM and the varous spinoff but I did not find any speed difference, plus WIFI was not working on that Rom.

Yours is perfect and I really love the overall while theme. I also applied the Overclock patch and it definately made my live wallpaper more fluid.

btw, very cool opening logo. Vodafone should take some tips from you.

How much battery life is depleted for overclocking the system? Plus how do I reverse it back to normal setting?

You also attached a trackpad fix for someone on the VF845, but my trackpad is working fine for me. Is it for something else?
[Android Software/Hacking General [Developers Only]] cgw233:
o,i see the other part of the code,thanks.

i saw your the 7x25 is uses the same settings with 528Mhz, but the 7x27 is not the same with 600Mhz.so i ask it last time.
[Android Software/Hacking General [Developers Only]] tahahawa:
RLS2 seems to be lagging. A LOT more than RLS1. Switching back to RLS1. To see if there is a difference. BRB

EDIT: RLS1 IS faster/more responsive than RLS2
[Android Software/Hacking General [Developers Only]] tahahawa:
I was using the basic ROM and since then I have overclocked to 652mhz and added JIT. The "something weird" was a random reboot after turning on wifi.

it has since rebooted a couple of times randomly, which is to be expected when messing around :P .
[Android Software/Hacking General [Developers Only]] kallt_kaffe:
Keep in mind that installing RLS2 resets overclocking and JIT back to it's defaults.
[Android Software/Hacking General [Developers Only]] kallt_kaffe:
I don't think overclocking affects battery life much. Keep in mind that the CPU is only one part out of many in the CPU that uses power. Screen, backlight, wifi chip, bluetooth etc is all using power aswell so boosting the CPU a little propably won't make a noticable difference to the battery life. Also they CPU speed is dynamicly changed so when the phone is idle it'll propably run on 245MHz most of the time anyway.

The trackpad fix has been included in the overclocking updates for some time now and since RLS2 it's also included in the main zip file.
[Android Software/Hacking General [Developers Only]] kallt_kaffe:
On all phones there is a file called /data/custom.bin. On my phone it contains expert/se on your phone it will say something else. This information is used by the custcopy commands in init.rc that copies wpa_supplicant.conf from /system to /data.

So you could make cust directories for all possible custom.bin files or you could work yourself around the custcopy. I choosed the latter. Look in my init.rc and /system/bin/userinit.sh and you'll see how it's done.

Just extract the kernel from my boot.img and pack it up with your initrd and it should work. The U8100 and the U8120 uses the same kernel config.

Or use my boot.img as it is and copy my /system/bin/userinit.sh. You may (or may not) want to modify it first but that way you'll get both overclocking and wifi on all models fixed at the same time. I also think I put the wpa_supplicant.conf in /system/wifi but you'll know for sure if you look at userinit.sh.

Let me know if you get stuck.

Oh, yes, one more thing, my boot.img assumes that autorun.iso is stored in /system/cdrom/autorun.iso (init.rc symlinks it to /data/cdrom/autorun.iso)
[Android Software/Hacking General [Developers Only]] tahahawa:
I re-installed JIT and overclocking and it still lags
[Android Software/Hacking General [Developers Only]] tahahawa:
There is watchdog
[Android Software/Hacking General [Developers Only]] cgw233:
There are still some left in init.rc,the compcache:p

actually，i was use your kernel to modify my rom now,because it can also support swap、compcache、ext3......not just overclock.

but i don't know how to modify to support compcache,i just know add compcache.sh to system/bin/ and modify the init.rc.what else to do?
[Android Software/Hacking General [Developers Only]] kallt_kaffe:
You're right, compcache, well, that's easy, just copy /system/xbin/rzscontrol and /system/lib/modules/2.6.29-perf/ramzswap.ko

Copy tun.ko too and include it if you have space left. It's used by OpenVPN. Never used it myself but some people do.
[Android Software/Hacking General [Developers Only]] tvisforme:
That's what I've noticed - the reboots seem to be linked to wifi events. I was also overclocked to 652 MHz with JIT, but have dropped overclocking for now. That cut back significantly on the reboots, but not completely; I still see fits of reboots from time to time. I wonder if there is some difference between the wifi driver and/or configuration for the European and North American phones that is leading to this instability. (I have the Wind 8100-9 ROM from Huawei's site, and if I can figure out what to use I may try swapping the wifi from that ROM into kalton_kaffe's ROM.) It may also involve memory issues; I'm using SeePU to monitor processor and memory load, and it seems that when the CPU is going flat out and memory is low, the phone is likely to reboot.
[Android Software/Hacking General [Developers Only]] tahahawa:
Thanks for your info I might drop overclocking as well. Did you upgrade to RLS2? I did and it was a mistake. It lagged soooooooooooooooooooooo much after the update :( . If you do fix the reboot+wifi issue pls post it. I have downloaded the ROM b4 they got rid of it from the software download page. kthnxbai!!!
[Android Software/Hacking General [Developers Only]] pritishd:
Is there some way to put a SIM toolkit application in there? I can see it under "Manage Application", however I cannot see it in the App Drawer
[Android Software/Hacking General [Developers Only]] liuweijack:
can you really read english？

I said gps based app keeping crashing without notification, I didn't mean to boost gps performance.

Plus ,I have found one more phenomenon that even gps is disabled,these gps based apps still are keeping crashing(all other app except gps related works well).
[Android Software/Hacking General [Developers Only]] liuweijack:
I found that apps still crash after gps was disabled which all use google map framework(the word maybe not so correct) .I compared framework/com.google.android.maps.odex in rls2 with the one in stock.the two files' md5 are different ,but size are equal.After I replace one with another ,the phone will not boot.
[Android Software/Hacking General [Developers Only]] liuweijack:
Now I almost can be sure that this crashing problem is about google map framework.Today I am out somewhere with my tracks app recording track.because it is end of this month,My phone is disabled with data connection(This is the first time i use my tracks after install this rom,so no google map framework data ever was transfered to this phone).the my tracks app did record track all the way to home.When I was back home(now i had wifi connection),i failed upload track to google,and even can not save the track into sd due to constantly crashing.Through a lot analysis ,I found the crashing is caused by google map framework's data transfering or decoding or something.then I disabled wifi,with quick navigation away from google map framework view of my tracks,I succeed to save tracks to sd,after a lot of time it didn't crash.
[Android Software/Hacking General [Developers Only]] kallt_kaffe:
Do you have JIT enabled? If so, try without JIT and see if the crashes stops. Perhaps the google maps framework doesn't like JIT.
[Android Software/Hacking General [Developers Only]] liuweijack:
you are right,after i disabled jit ,no more crash.can we have a fixs to this?
[Android Software/Hacking General [Developers Only]] jack1245:
Hi, Kaffe, how have you dealed with the 2.2 rom for Huawei U8110?

What I wish to say is that thank you, Kaffe. All of Chinese U8110 users are grateful to your endeavor on upgrading U8110's system.

Wish you success in a perfect 2.2 ROM for Huawei U8110.

And thank you again!
[Android Software/Hacking General [Developers Only]] kallt_kaffe:
I tried the maps framwork from the latest 2.1 google apps and from the latest 2.2 google apps and both crashes so for now the only fix is to not use JIT.

I'm going to make a NoJIT update to make it possible to remove JIT without reinstalling the complete ROM + overclocking.

EDIT: Attached a NoJIT update to first post.
[Android Software/Hacking General [Developers Only]] pritishd:
Will increasing the Swap partition improve the performance of the phone. I currently have set it to 512MB, so if I increase to 1 or 2 GB, will there be difference in speed?
[Android Software/Hacking General [Developers Only]] Lasy:
please changed the clock color in the notification bar to white.

services.jar file
[Android Software/Hacking General [Developers Only]] cgw233:
i did it already.but type free still 0 swap:confused:
[Android Software/Hacking General [Developers Only]] kallt_kaffe:
Did you type "compcache.sh enable"? It's disabled by default. The enable command sets a persistent property so it stays on until you turn it off.
[Android Software/Hacking General [Developers Only]] cgw233:
yes，i also type compcache.sh enable ,but still 0 swap.
[Android Software/Hacking General [Developers Only]] kallt_kaffe:
Strange... anyway, here's all you should need:

- My boot.img (with my kernel and my init.rc)

- /system/bin/compcache.sh

- /system/xbin/rzscontrol

- /system/lib/modules/2.6.29-perf/ramzswap.ko

- /system/xbin/modprobe (link to busybox)

- /system/xbin/swapon (link to busybox)

- /system/xbin/swapoff (link to busybox)

- /system/xbin/sysctl (link to busybox)

- /system/bin/setprop (link to toolbox)
[Android Software/Hacking General [Developers Only]] Leito92:
Some files are missing from your rom. Maybe that's the problem?
[Android Software/Hacking General [Developers Only]] cgw233:
thanks,it works after i link them to busybox.:)

another question：i haven't see you use swapon command in the userinit.sh or init.rc,so how can you automaticly enable the swap partition from sd-card?and what happen if i enable the swap and compcache at the same time?
[Android Software/Hacking General [Developers Only]] kallt_kaffe:
In erlier version I had userinit.sh setup SD-card swap but when I added a2sd I let a2sd handle that. a2sd enabled swap on sd-card if it finds a partition for it and you use "a2sd noswap" to turn it off.

Not sure what happens if you use both. Propably not a good idea.
[Android Software/Hacking General [Developers Only]] cgw233:
thanks,i saw that you say the Darktremor A2SD have swappiness bug, how do you fix it?and i found it can't mount to system/sd when i use with stock rom,then i creat /sd-ext like CM and it can mount automaticly,do you have this bug?
[Android Software/Hacking General [Developers Only]] kallt_kaffe:
The bug I fixed with the swap is that if you change swappiness it sets it wrong and it's not corrected until the next reboot. Not a big deal really but I did fix it in the script.

I do not have the mount problem you talk about, did you create /system/sd first? It must exist if a2sd should be able to mount to it.
[Android Software/Hacking General [Developers Only]] Leito92:
May I ask you to upload these files pls?
[Android Software/Hacking General [Developers Only]] kallt_kaffe:
It's in the TCT_RLS2.zip (see first post)
[Android Software/Hacking General [Developers Only]] Leito92:
I've already downloaded it, but these files are missing:

- /system/bin/setprop

- /system/xbin/swapon

- /system/xbin/swapoff

- /system/xbin/sysctl
[Android Software/Hacking General [Developers Only]] kallt_kaffe:
They are not files, they are symbolic links.
[Android Software/Hacking General [Developers Only]] fila73:
Problem with Browser

Hi I have a problem with Browser on this ROM (both releases).

When I'm connected via Wi-Fi, everything works fine.

But when I connect to 3G/GPRS Browser stops communicate with servers.

Other applications still work, so problem shouldnot be in mobile data connection.

I have Vodafone 845 (U8120) from Czech Vodafone with Vodafone dataplan.

Anybody else with similar problem? Some ideas how to fix this?

Thanks
[Android Software/Hacking General [Developers Only]] Leito92:
Sorry, I dont really understand :S
[Android Software/Hacking General [Developers Only]] cgw233:
I didn't create /system/sd because it has create itself,and now i found the 2.7.5.2 has fix this bug.:p

When i use the jit update(modify build.prop already)from my rom,it stopped at the second boot screen,then i used the nojit update and still stop,strange:confused:

Finally,i found the problem that is the different from libnativehelper.so i replace it and solve this problem.It seems not easy to modify rom.:o

Is there any way to use jit from this rom?
[Android Software/Hacking General [Developers Only]] cgw233:
symbolic links is a symlink, like "ln -s". maybe you will know after see the update-script.

btw:the flash lite in your rom is adobe's?
[Android Software/Hacking General [Developers Only]] Leito92:
Thank you! :)

Yes, it's adobe's but only for play swf files.
[Android Software/Hacking General [Developers Only]] Leito92:
I did the changes, but when I tipe the commands in the terminal, it says: modprobe: 'ramzswap.ko' unknown symbol in module or invalid parameter

Failed to open /dev/block/ramzswap0: no such file or directory

swapon: Cant start '/dev/block/ramzswap0': no such file or directory
[Android Software/Hacking General [Developers Only]] kallt_kaffe:
That's usually what happens when you try to use a kernel module with a kernel that it isn't compiled for.

Are you sure you are using my latest kernel and that you got the ramzswap.ko from my ROM?
[Android Software/Hacking General [Developers Only]] Leito92:
I use your overclocked kernel, the 691mhz version.

And yes, i have the ramzswap.ko file.
[Android Software/Hacking General [Developers Only]] kallt_kaffe:
Well, I'm out of ideas. Try using my busybox binary to see if it makes a difference.
[Android Software/Hacking General [Developers Only]] Leito92:
Ok, thank you for your help, I will test it tomorrow :)
[Android Software/Hacking General [Developers Only]] tvisforme:
Kallt_kaffe:

Huawei has released a firmware update for the Wind Mobile U8100-9 on their site. What is the best way to go about determining what the changes are? If I was to flash the ROM onto my phone, does the backup util in the recovery section of your ROM allow me to return to your ROM afterwards?

The URL is http://www.huaweidevice.com/tcpsdownload/downLoadCenter?category=&flay=software&fileName=101105110802.zip&attachmentName=U8100-9%20V100R001C98B239%20(Canada%20wind).zip if you are interested. (V100R001C98B239 vs the older V100R001C98B222SP01) I've got a copy if that goes away.

What I'm really interested in finding out is if it is possible to easily overlay the changes you've made to a different ROM. There are some really nice features in yours, and I am curious to see if I can adapt them to a ROM that may have coding specific to the 8100-9.
[Android Software/Hacking General [Developers Only]] Leito92:
Removed for some reasons
[Android Software/Hacking General [Developers Only]] cedric123:
Can the overclock pathes only be used in the celestial teapot ROM?

Or with the mr edition too? i failed to boot with the oc patch and with the mr edition i could clock till 691 mhz with this one not even 633 mhz
[Android Software/Hacking General [Developers Only]] cgw233:
just copy the /system/bin/userinit.sh ,then you can use the boot.img.