找回密码
 加入我们

QQ登录

只需一步,快速开始

搜索
查看: 1959|回复: 4

[webOS开发] [ZT] QuickInstall 600 MHz (or 550 MHz)-Simple Patch.

[复制链接]
发表于 2010-3-25 22:24 | 显示全部楼层 |阅读模式
QuickInstall 600 MHz (or 550 MHz)-Simple Patch. Initial alpha study: 720 and 800 MHz
/ o- H& p; R& J5 [) i1 \$ i% ^6 ?. {4 B$ B- q5 o: t- V- J9 d+ X
Easy Install of 550 or 600 MHz for all WebOS Versions of Palm Pre
( ~/ v/ W4 L: A( Q- u3 M0 E" T( I: a
Disclaimer: there are those who think this may shorten the lifetime of your cpu so be forwarned and to due so will be at there own risk. This is a collaborative effort between unixpsycho (Marco) and caj2008 (Jeff). Don't troll on us please we know what we are doing.9 [: c8 x! i; p7 v4 C* S' S3 o/ ~
# {, }0 E6 J/ r% U, b, |4 s
Safety Rules:
: S& a/ r4 {- m1) Install this after your Operating System (OS) has been installed and running 1 day.
1 x2 J9 E. D4 G7 X8 o/ V* g3 v+ ?! h& C- N6 @  h$ h
2) If you need to update to new OS, uninstall patch before update. Follow rule 1 and then reinstall same exact script & l( n* \% g5 T' ?

% Q4 F  C  ^/ T3 j5 e3) Do not install if Pre feels hot, make sure it is cool first
; K' t' u! \- ~$ J; q$ Z5 {" I, O" }! O; Y
Warning 1: The worst possible thing that can happen (miniscule possibility) is Pre may freeze up but this is reversible using the procedure in my first signature thread. To date since I have imposed this safety procedure, there have been no issues reported. Let me know if you do see something please.
' X9 O' g" P/ R  _0 s7 F2 j! ~: K6 L. A& H3 ^9 n
Warning 2: If you have more than 1.0Gb of 3D games downloaded by the Palm app installer, put phone in airplane mode once in a while to cool it down (15 min cool/1 Gb installed). The continual download process imposed by Palm can potentially fry your phone at any frequency (depends whether you monitor temp or not). Note also that Mobile Hot Spot and other tether operations can warm up your phone so be careful when used in combination with other prolonged cpu intensive programs (give them a break once in a while). Use the temp monitor function of the battery monitor app (preware, of course)
  n; N0 e' Z2 s" @7 a
8 ~8 r2 @; u: s! d9 e3 p9 yNote: The warnings are probably overkill. Periodic external cooling isn't as effective as actually turning off the app for a short rest (a combination is even better or even better if Palm actually put in a fan!). I recommend the Seidio 2600 back (higher air surface area/volume ratio like Sony Vaio concept) with the sburlbaw touchstone modification (shameless commercial plug for Steve!): I  ?5 K* @" _5 o9 e1 Q' Q
/ }; I+ p, y1 V+ L& |8 W  }
Check out his new website: Touchstone Mods sburlbaw modification extended battery cover seidio 2600- n( A" C) x. D" {

$ C: I% y( a4 `8 d- qQuote by ktessner (KevinT want to be)..."Unless the app is dependent on the web and constantly using data (i.e. causing radio activity), leaving it open has no real impact on battery. The cpu's not spending any cycles running the app's code if it's blocked waiting for someone to interact with it, and memory chips have no idea what is or isn't active data; they consume the same amount of power holding their bits whether those bits are allocated or not."
8 c3 g; y2 d* w7 U, K/ U! G" ]8 |- o' q; h3 n" i

8 `; m) p& E1 Q+ l: ~Procedure:. u( p% E1 I1 P3 _% }/ v& J# w# Q

7 ?; Q* y8 ?6 J# B5 L. u9 U1) To use this "simple patch" you have to be in Developer Mode. 3 E) h0 g4 O" r  t2 u

( s- u, O5 C& V' h& h2 R2) Need to download 550 Mhz script from thread: 550MHz_OSIndependentpatch.sh+ n6 k4 t$ l/ t, @
& b* T4 F+ `$ {' p4 M7 n, T4 \
Procedure: if it shows up in your browser, but doesn't ask you to save
7 v) G% @1 ]7 Y) R$ B; ]8 l" Q8 Z6 WBrowser Menu: File
/ |( u) @! k& U7 h/ m- ASubmenu: save as: s+ i, ]! {7 S& w* _
550MHz_OSIndependentpatch3 X# O% B& E; i' b  z
click .txt file option
  l2 K( Z& `+ K! G2 u- m* Bon desktop change .txt suffix to .sh
5 f3 K; p/ Z1 C4 B# A( \
% h( B  M/ k, M/ O# q6 nshould see 550MHz_OSIndependentpatch.sh on your desktop
( K% Q9 R, A' ?' L) s$ w' B) O
; Q0 {1 s) \) Q2 N7 Z6 EAlternatively for 600 MHz, use link: 600MHz_OSIndependentpatch.sh5 N3 k/ R) W! z3 C- T: I
* K- G3 a4 W  U8 l& a1 z9 L
3) Use WebOS Quick Install Tools - Send File to send the file to /var/home/root2 ~0 K# v/ I! X* E6 [- @/ B$ `
7 i/ [5 ?% {4 e2 r3 p0 h
4) then use WOSQI Tools - Linux Command Line and write "sh /var/home/root/550MHz_OSIndependentpatch.sh install" to download 550 Mhz Patch0 X+ C- V6 e, o1 S3 ?

9 L, t( S$ t: y6 P% S4 ^Alternatively write "sh /var/home/root/600MHz_OSIndependentpatch.sh install" to download 600 Mhz Patch/ x- `' S+ f! X7 C" g/ G& i
) M5 l$ \# k9 U: e! ]: j: _
Note: Prior to update you can uninstall using the Linux commandline and then reinstall after the update) T" s+ q+ p9 ~2 k- I
# c" K+ C1 ~$ `
"sh /var/home/root/600MHz_OSIndependentpatch.sh uninstall"7 E/ g, U1 l- o2 Q' e
(Similar logic for 550 MHz)
7 R7 A7 v. T" Q: z9 I7 E$ g$ ]  ?7 R7 _
5) "pkill LunaSysMgr" (to restart) or you can just restart your phone - z# B, e, {3 _3 ]2 j- c/ @; N
# O! \, \8 G, u& F) c: T
Please input thanks if you found this tutorial useful: - @" l- h3 t: f5 O8 L0 v

3 _1 \8 A: }& ?5 n" \To check your handywork on the the new frequency you have set:
0 W5 X( ~% q1 g. D* V7 C+ k& p1 _' k& s8 h8 J
At commandline:
; k+ i! z2 s! p: rroot@palm-webos-device: 5 L4 z8 c9 Z+ ]3 L
type "cat /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state"4 J" Z( t- ~9 {& ?. H
7 z8 Z$ l' O' Z7 q( d" x
you will notice everytime you type this over time the 600000 number will get bigger (cpu ticks at 600 MHz)
/ o$ V/ g7 d1 F4 G# p$ _2 O  @- n+ o+ {8 @/ m3 c$ F
or "cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq"
, o; j# V; m0 e7 p; u2 J7 R6 y/ `7 e9 H2 Z" u% l
you will just get frequency listed
, t( k; ]" h" ^& E$ c- l6 _$ s$ b0 Q/ h8 c4 t2 b1 o5 o+ ]( A& J
Dont insert the quotes, they just emphasize the lines you need to use. : o) U6 f7 L; [6 g6 n, T6 e, v2 r
( U( M! J6 \0 v5 u! r9 T* |
This simplified script will not enable cpu scaling or to powersave (which can be a blessing). They only slightly modify the LunasysManager (simple patch which isn't mine). I have had no issues applying them with no issues (my phone has 200 programs and >100 patches installed along with this modification.
5 k3 r# |6 m: T9 U9 J  H
0 d4 s3 W1 V( X$ A' |$ W7 d8 |* v3 ~/ v& E5 ~" P) |* ]' L& B
Note the below attached jpg images for aid in the install process
! R5 I3 M8 {* S+ D5 B# e.................................................................................................... ...................................* \+ L* {7 \0 b/ c0 u2 ^+ e
Pre CPU/BUS Performance Tests-500/600/720/800 MHz (new section): Two different kinds of benchmarks; Javascript performance and raw CPU bus throughput. Both measure and scale to the CPU clock speed. The Javascript test is the same tests used in iPhone, Android, and Pre comparisons on the Internet. The SunSpider test is a JavaScript benchmark. This benchmark tests the core JavaScript language only, not the DOM or other browser APIs. It is designed to compare different versions of the same browser, and different browsers to each other.
# Z% Z0 U2 i9 P0 A  j/ `  L1 M. d* r, V3 ]) w6 ?4 ]& p( H
These results (not all shown) show that the Phone is indeed running fasterand past 800 Mhz the phone cant feed IO any faster to the CPU.* W- B' Y" {# O3 D) j

: L% {: w9 W! F" _, K9 rSunSpider test (http://www2.webkit.org/perf/sunspide...nspider.html):; K4 X1 S1 v& Y
(3 tests each and took median result. lower is better)# ^2 c) D& v9 y6 |4 ?( l
% p. ?3 K9 R6 E$ r/ g
500 static (w/ optimized kernel): 23695.6ms) h; U- `8 @* y4 F' ?% Y+ J8 j; `# p

8 m( ~2 R- n! d5 f: r3 P600 scalable (w/ optimized kernel): 20139.4ms
' W: t4 [! a' [6 A6 C/ m! g! Z& \! z/ `
600 static (w/ optimized kernel): 20062.6ms 0 \1 x& g3 ?3 U; I1 ~$ k: a

: C- i$ O" F) b" P( U2 |1 v8 M+ P600 static (non-optimized kernel): 20228.4ms ( a4 G" {! \2 q- S
5 S) p' ]! g' G
720 static (non-optimized kernel): 16680.2ms
4 F# R) ?. d+ x4 W- Y5 n; V# C7 L/ N
800 static (w/ optimized kernel): 14936.6ms
5 K6 n( v, z6 w# n& j/ w. y$ P* r9 p. [" Z: Q1 Y3 A
Raw kernel CPU throughput Test:
4 A2 L5 E9 h, q3 o+ W, m( L(3 tests each and took median result. lower is better), c  w/ h, {: M" n9 ^! }7 I
3 {, {3 \' m% a: M4 v
800:' P4 l3 Q$ I4 q1 {* i1 T' z# w3 m
root@palm-webos-device:/# time dd if=/dev/zero of=/dev/null count=10000000; a; O) q- ]# Q' P- ?! w* O; J+ Y" K
10000000+0 records in
4 D: H$ b3 u  l8 [8 r. b10000000+0 records out
* A% A; O, o& N' @( c2 Kreal 0m 38.14s" w1 @1 g# J  P# M# E
user 0m 4.99s, g9 u9 ^5 B; H; }
sys 0m 32.82s; _0 I; U, H& Q$ W( }7 p

; ]+ M# T& z- F, T720:* R+ s2 l, v. ?) Z# H- D
root@palm-webos-device:/# time dd if=/dev/zero of=/dev/null count=100000005 E+ R7 W5 I  l. h& |7 v
10000000+0 records in
+ }. X3 y- m& b10000000+0 records out
. H# q; r2 W6 p8 T: zreal 0m 45.69s$ Y+ ^# ^& r6 i5 ]* V2 {$ G
user 0m 5.76s
# ]7 u$ L  o- t1 nsys 0m 38.60s8 Y3 r3 f! n' V9 D, K( I, y& c

4 e# H* n5 H! M6 K; R600:8 O% ~+ p* ]5 }- L, j$ H% Q+ ~
root@palm-webos-device:/# time dd if=/dev/zero of=/dev/null count=10000000% {' {/ Q- h- J9 x+ L" k
10000000+0 records in * F3 J- U! n" B& x
10000000+0 records out
( i6 B: b% E2 z2 k& Kreal 0m 53.10s
. u6 ?" ^; @  X/ ?" Vuser 0m 7.63s
0 @; Q9 F: H, wsys 0m 44.54s7 d" y$ h9 i4 k+ g

  j, ]3 x# @9 M500 (Palm Standard Kernel):
6 Z6 A' c3 o2 I# Y3 g4 `. V) [! `2 S/ Rroot@palm-webos-device:/# time dd if=/dev/zero of=/dev/null count=10000000
+ x- c# \# y3 s3 W$ [9 M: x* k10000000+0 records in1 x6 N2 I! b+ r! l! f% t+ i
10000000+0 records out
& x2 V' X; i% V9 u8 Areal 1m 3.37s& r$ C; }2 p9 L
user 0m 9.53s
% x2 R; }' O. u+ _  L1 esys 0m 52.85s
回复

使用道具 举报

 楼主| 发表于 2010-3-31 23:43 | 显示全部楼层
http://forums.precentral.net/pal ... z-simple-patch.html

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?加入我们

×
回复 支持 反对

使用道具 举报

发表于 2010-3-31 23:53 | 显示全部楼层
我要超频~~~
回复 支持 反对

使用道具 举报

发表于 2010-4-23 11:52 | 显示全部楼层
超频是不是更费电哇
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-4-23 12:26 | 显示全部楼层
目前看电力消耗会多一些.但是应该不是特别明显的差距
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 加入我们

本版积分规则

QQ|Archiver|手机版|小黑屋|吹友吧 ( 京ICP备05078561号 )

GMT+8, 2025-1-14 02:45 , Processed in 0.298240 second(s), 17 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表