Jump to content

disco custom kernel [v.b01]


Guest disc0

Recommended Posts

Guest chingy1788

If its not supported by the kernel, then its not running at 920MHz

If I benchmark it and it has similar results as the 768MHz, that means its not running at 920MHz

Even if it was running at 920MHz the battery life will go down super fast

To have it running at 920MHz, that speed must be added to the kernel itself.

Edited by chingy1788
Link to comment
Share on other sites

Guest liquid_it

this goes to whoever is interested in a working tun module (needed by vpnc and several other apps): the attached file is recompiled for disc0 kernel, you can now insmod it.

the previous errors were caused by CONFIG_LOCALVERSION in .config, that was set to -b02 instead of -b01, fyi.

edit: for some reason liquid crashes and reboots when vpnc tries to connect, don't know if is tun.ko-related. will investigate..

tun.ko.zip

Edited by liquid_it
Link to comment
Share on other sites

Okey, good. You can also drop voltage on 245000 to 900mV. This will increase battery life when phone's screen is off or when phone is idle. I will continue testing tomorrow to find the optimal values.

BTW. Have you noticed the msm_i2c warnings in dmesg? I don't have the log right now, but it's something like: "Warning bus was busy". I googled this and noticed that cyanogen also had this in one of his CM's, but I couldn't find the reason or solution for it :D

Yes I did, and I think that acer just "shut up" does errors not to show in release version ! :\

Well, this week I think I would not be so active around here because I have exams :\ ..

Edited by disc0
Link to comment
Share on other sites

Guest xian1243

@liquid_it

Thanks alot! I'm glad somebody could compile a working module! :D

Atleast it insmods... Before it just crashed my phone. I'll test it ASAP.

That's too bad about vpnc, but no rush guys, if you get it fixed, that's awesome, if not, thanks anyways guys!

Maybe OpenVPN will work with this tun.ko!

UPDATE: It insmods, and is listed under lsmod!!!! Yay! I'm testing OpenVPN now, so far so good.

UPDATE2: After successful insmod /sdcard/download/tun.ko and I launch OpenVPN (I doubled checked the openvpn binaries), when it tries to authenticate, it reboots the phone. :D Too bad, but still awesome.

UPDATE3: Trying another OpenVPN GUI/client, seems to be working... EDIT: Nope, restarts too, when authenticating. It must be a problem with the module.

Edited by xian1243
Link to comment
Share on other sites

While disc0 is busy with school, here's the 920mhz image. It has 128-245-384-567-768-920 frequencies. I didn't want to put other frequencies because too many scaling steps decrease performance. All credit go to disc0 for his original kernel work! Give him a beer :D

Remember, I take no responsibility of this boot image.

Megaupload: 920-blc.img

Edited by blc
Link to comment
Share on other sites

Guest drigerott

great, i'm downloadig :lol::D:D

i will give feedback in some minutes :D

EDIT:

all works fine :D very fast B):D thanks very muuuuuuuuuuuuuuuuuch :(

tips:

if you want to use setcpu you must

create setcpu.txt to the root of your sd card and put this in it

128000,245000,384000,576000,768000,920000,998400

On the device selection list in setcpu, select the last option.

like this you can see the 128mhz option :D and for 990mhz just put max on 998mhz :lol:

Edited by drigerott
Link to comment
Share on other sites

Guest petoulachi
While disc0 is busy with school, here's the 920mhz image. It has 128-245-384-567-768-920 frequencies. I didn't want to put other frequencies because too many scaling steps decrease performance. All credit go to disc0 for his original kernel work! Give him a beer :D

Remember, I take no responsibility of this boot image.

Megaupload: 920-blc.img

Works fine on my Liquid (the 1Ghz one was not stable) after a few tests (need more to be sure but it's definitly a good start). Btw on my settings the CPU speed is 768 but I guess it's just a constant read somewhere on the kernel code.

Link to comment
Share on other sites

great, i'm downloadig :lol::D:D

i will give feedback in some minutes :D

EDIT:

all works fine :D very fast B):D thanks very muuuuuuuuuuuuuuuuuch :(

tips:

if you want to use setcpu you must

create setcpu.txt to the root of your sd card and put this in it

128000,245000,384000,576000,768000,920000,998400

On the device selection list in setcpu, select the last option.

like this you can see the 128mhz option :D and for 990mhz just put max on 998mhz :lol:

Good to hear it works. I would like to know if there are any problems with sleep mode -> wake, because it's using 128MHz for that.

BTW. The 920MHz is precisely 921600. You might need to set it like that for SetCPU.

Link to comment
Share on other sites

Works fine on my Liquid (the 1Ghz one was not stable) after a few tests (need more to be sure but it's definitly a good start). Btw on my settings the CPU speed is 768 but I guess it's just a constant read somewhere on the kernel code.

Where do you read the cpu speed? If you have adb shell you can see it by;

# cat /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state = How much each speed is used in milliseconds.

# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq = Your current cpu speed

Link to comment
Share on other sites

Guest petoulachi
Where do you read the cpu speed? If you have adb shell you can see it by;

# cat /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state = How much each speed is used in milliseconds.

# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq = Your current cpu speed

I was talking about what we can read in Settings/About/Informations :D

Doing the time_in_state, I have :

128000 126121

245000 2559

384000 2583

576000 3261

768000 2247

921600 30118

So far so good :lol:

And for now I d'ont have any problem with standby mode :D

Link to comment
Share on other sites

Guest drigerott
Good to hear it works. I would like to know if there are any problems with sleep mode -> wake, because it's using 128MHz for that.

BTW. The 920MHz is precisely 921600. You might need to set it like that for SetCPU.

no problem from sleep mode :D all is fantastic (before to 1ghz my liquid freeze an reboot all time) :D

thanks for the correct value :lol: 921600

Link to comment
Share on other sites

Guest chingy1788

I shall confirm that it is indeed running at 921MHz

Benchmarks:

ROM						 Angio 1.5.1	 Angio 1.5.1	 Stock	   Stock	   Stock	   Cyan 4.2.14.1   Cyan 4.2.14.1

CPU						 A1 - 921		A1 - 998MHz	 A1 - 998	A1 - 768	A1 - 384	G1 - 384		G1 - 528

Graphics

Total graphics score		21.968435	   23.899035	   23.537497   17.895359   8.50352	 95.58539		109.82844

Draw opacity bitmap		 7.507332		8.152866		8.028224	6.1152587   2.948035	46.12613		51.2		MPixels per sec

Draw transparent bitmap	 5.929357		6.464647		6.3681593   4.8301888   2.2530253   12.337349	   15.975039   MPixels per sec

CPU Whetstone

Total CPU score			 474.9977		523.5531		516.10754   392.9966	183.75995   108.21737	   140.81575

MWIPS DP					33.0033		 36.192543	   35.701538   27.21829	12.618297   7.6493535	   9.867771	MWIPS(DP)

MWIPS SP					39.968025	   44.444443	   43.956043   33.38898	15.683813   8.169935		10.513036   MWIPS(SP)

MFLOPS DP				   4.1812315	   4.7432814	   4.577629	3.4007597   1.5848045   1.4890103	   1.9575995   MFLOPS(DP)

MFLOPS SP				   6.2224684	   6.91679		 6.6731443   5.1465626   2.4179213   1.8678708	   2.5706856   MFLOPS(SP)

VAX MIPS DP				 23.938124	   25.96917		25.544647   19.572577   9.161985	5.3828325	   7.0545645   VAX MIPS(DP)

VAX MIPS SP				 24.665676	   27.203766	   26.948242   20.467522   9.591156	5.5093546	   7.1622076   VAX MIPS(SP)

Memory

Total memory score		  344.33667	   362.60297	   358.1191	325.97748   151.89786   107.4707		108.71283

Copy memory				 312.8911		329.4893		325.41492   296.20853   138.02623   97.65625		98.78494	Mb/sec

Filesystem

Total file system score	 116.9422		95.260124	   126.13296   117.21367   51.327778   29.957783	   30.872993

Creating 1000 empty files   4.836		   6.501		   21.43	   7.192	   14.748	  21.401		  15.451	  sec

Deleting 1000 empty files   3.212		   3.998		   4.686	   3.3		 8.149	   7.315		   13.248	  sec

Write 1M into file		  2.712232		2.970003		3.7608123   3.2583904   2.2537751   1.0990219	   2.2316446   M/sec

Read 1M from file		   232.55814	   188.67924	   250		 232.55814   101.0101	59.171597	   59.88024	sM/sec

SD card perfomance

Creating 250 empty files	20.816		  18.956		  19.44	   19.296	  22.3		69.596		  17.704	  sec

Deleting 250 empty files	17.7			17.7			19.668	  17.772	  19.144	  23.956		  22.6		sec

Write 1M into file		  21.691975	   19.68504		14.265335   10.869565   11.560694   4.8053823	   7.621951	M/sec

Read 1M from file		   238.09525	   250			 227.27272   243.90244   100		 58.82353		60.240963   sM/sec

Now to see if it reboots

Edited by chingy1788
Link to comment
Share on other sites

Guest mirox3m

Now I understand why Acer limited the speed so low.

My Liquid is rebooting with BLC's 920 boot img. I just opened the browser and it crashed immediately. With Disc0's 998 I had a constant boot loop.

Link to comment
Share on other sites

Guest Player9446

one crash for 24hours, it seems to be okay :D

it crashed when i wanted to make a call... may be the battery voltage got drained to much

EDIT: HOLY s***, phone freezed and doesnt boot anymore -.-

>> restoring to 768 Mhz

Edited by Player9446
Link to comment
Share on other sites

Guest krumbalu

my phone did reboot once but it seemed more like a bug related to the usb connection between the phone and pc it happened exactly in the moment i connected the phone to the pc

we'll see in the future

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.