ThaiTux.info - android https://www.thaitux.info/taxonomy/term/320 ซ่อมหน้าจอ htc legend https://www.thaitux.info/node/739 <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even"><p>โทรศัพท์มือถือของน้อง คือ HTC Legend มีปัญหาหน้าจอทัชได้บ้าง ไม่ได้บ้าง ถ้าเปลี่ยนกับ HTC งบประมาณ 5 พันกว่าบ่าท ไม่คุ้มค่าโทรศัพท์แล้ว</p> <p>ค้นเว็บดูวิธีแก้ มี 2 วิธี คือ</p> <ul> <li>เปลี่ยนกระจก Digitizer งบ 35 เหรียญ</li> <li>เอาที่เป่าผมเป่าหน้าจอ</li> </ul> <p>วิธีแรกต้องรอนานเกินไป วิธีที่สองลองแล้ว ได้ผลเพียงชั่วครู่ เนื่องจากไม่กล้าให้ความร้อนนาน กลัวว่าจอจะเสีย<br /> จึงทดลองถอดโทรศัพท์ออกมา แล้วให้ความร้อนเฉพาะตัวกระจก Digitizer วิธีการสรุปดังนี้</p> <ul> <li>ถอดโทรศัพท์จนเหลือแต่กระจกหน้า คือ Digitizer ดูวิธีการจาก<br /> <a href="http://www.formymobile.co.uk/htclegenddisassembly.php">http://www.formymobile.co.uk/htclegenddisassembly.php</a></li> <li>เอากระจก Digitizer ไปนาบกับเตารีด ความร้อนจะไล่ชั้นอากาศที่ทำให้การทัชเพี้ยนออกไปหมด</li> <li>ประกอบกลับ</li> </ul> <p>เสร็จแล้ว ใช้งานได้เหมือนเดิม</p> <p><strong>หมายเหตุ</strong></p> <ul> <li>ปัญหานี้น่าจะเกิดจาก การทำโทรศัพท์ตกแรง ๆ เนื่องจากโครงโทรศัพท์ทำด้วยอลูมิเนียมชิ้นเดียว หนักมาก การตกจึงมีผลทำให้จอภาพสะเทือนมาก และเคลื่อนจากกัน</li> <li>โทรศัพท์ HTC งานประกอบดีมาก การถอดซ่อมเองมีโอกาสที่จะทำลายโทรศัพท์พอ ๆ กับซ่อมสำเร็จ ขอให้ใจเย็น ๆ ในการทำงาน</li> </ul> </div></div></div><div class="field field-name-taxonomy-vocabulary-1 field-type-taxonomy-term-reference field-label-above"><div class="field-label">Topic:&nbsp;</div><div class="field-items"><div class="field-item even"><a href="/taxonomy/term/290">fix</a></div><div class="field-item odd"><a href="/taxonomy/term/320">android</a></div></div></div> Fri, 24 Jun 2011 08:09:33 +0000 wd 739 at https://www.thaitux.info https://www.thaitux.info/node/739#comments android: เปลี่ยน boot screen ให้ A88 https://www.thaitux.info/node/701 <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even"><p>กำลังบ้าแอนดรอยด์ อย่าว่ากันนะ</p> <p><strong>เครื่องทดสอบเป็น WellcoM รุ่น A88 และทำงานบนลินุกซ์เดเบียน</strong></p> <p>เครื่องคงต้องเข้าถึง root ได้ก่อน วิธีการดูได้ที่ <a href="http://www.mrchoke.org/node/247">MrChoke.Org: ROOT WellcoM A88<br /> </a> เป็นพื่นฐานของรุ่น 1.6 และ <a href="http://droidsans.com/how-to-root-wellcom-a88-eclair-in-just-1-min">droidsans.com: วิธี Root Wellcom A88 2.1 ใน 1 นาที</a> อันนี้เป็นของรุ่น 2.1 </p> <h3>1. เปลี่ยน boot screen อันแรก</h3> <p>1.1 หาไฟล์ภาพมา แปลงขนาดให้เป็น 320x480 พิกเซล บันทึกเป็น png สมมุติว่าชื่อ splash.png<br /> 1.2 แปลงเป็น rgb ด้วยโปรแกรม convert ของ <a href="http://www.imagemagick.org/script/index.php">imagemagick</a></p> <pre> $ <strong>convert -depth 8 splash.png rgb:splash.raw</strong> </pre><p>1.3 แปลงเป็น raw565 ด้วยโปรแกรม rgb2565 (จาก <a href="http://developer.android.com/sdk/index.html">Android SDK Platform</a> - ชองผมเป็น <a href="http://developer.android.com/sdk/android-2.1.html">2.1</a>) สมมุติว่าชื่อ mysplash.rgb565</p> <pre> $ <strong>rgb2565 &lt; splash.raw &gt; mysplash.rgb565</strong> </pre><p>1.4 แฟลชกลับเข้าเครื่องด้วย adb และ fastboot (จาก <a href="http://developer.android.com/sdk/index.html">Android SDK Component</a>)<br /> เสียบสาย usb โทรศัพท์แล้วใช้คำสั่ง</p> <pre> $ <strong>adb reboot bootloader</strong> </pre><p>รอบูตเสร็จ ตามด้วย</p> <pre> $ <strong>fastboot flash splash mysplash.rgb565</strong> </pre><p> ที่มา : <a href="http://android-dls.com/wiki/index.php?title=Creating_Splashboot_Images">Android Wiki: Creating Splashboot Images</a></p> <h3>2. เปลี่ยน animated boot screen อันที่สอง</h3> <p>2.1 เอาไฟล์ bootanimation.zip จาก /data/local/ มาแตก<br /> เสียบสาย usb ก่อน</p> <pre> $ <strong>adb pull /data/local/bootanimation.zip .</strong> $ <strong>unzip bootanimation.zip</strong> </pre><p> 2.2 ในนั้นจะมีไฟล์ภาพ png จำนวน 13 ไฟล์ อยู่ใน ./part0 ที่เราสามารถแก้ไขให้เป็นเหมือนภาพเคลื่อนที่ได้<br /> 2.3 เมื่อแก้ไขเสร็จแล้ว ให้บีบอัดกลับด้วยการที่ไม่ต้องบีบอัดข้อมูล (ใช้ออปชั่น <code>--compression-method store</code>)</p> <pre> $ <strong>zip --compression-method store -r ../bootanimation.zip .</strong> </pre><p>2.4 นำกลับเข้าเครื่องใหม่ แล้วรีบูตเพื่อทดสอบผล</p> <pre> $ <strong>adb push ../bootanimation.zip /data/local</strong> $ <strong>adb reboot</strong></pre><p> ที่มา : <a href="http://goomba141.wordpress.com/2010/06/29/how-to-change-android-boot-screen-%E2%80%93-without-root/">Goomba141 Tutorials: How to Change Android Boot Screen – without root!</a><br /> เสร็จแล้วครับ</p> <p>จริง ๆ ไม่ต้อง root ก็ได้นะ แต่ลงที่มาของแหล่งข้อมูลไว้ให้ครบ ๆ เพราะขี้เกียจเขียนละเอียด :P</p> </div></div></div><div class="field field-name-taxonomy-vocabulary-1 field-type-taxonomy-term-reference field-label-above"><div class="field-label">Topic:&nbsp;</div><div class="field-items"><div class="field-item even"><a href="/taxonomy/term/320">android</a></div></div></div> Mon, 16 Aug 2010 13:56:14 +0000 wd 701 at https://www.thaitux.info https://www.thaitux.info/node/701#comments android: บันทึกแอนดรอยด์ https://www.thaitux.info/node/700 <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even"><p>บันทึกงานศึกษา<a href="http://developer.android.com/index.html">แอนดรอยด์</a></p> <h3>บันทึกเรื่องย่อย</h3> <ul> <li>ไฟล์ config ของ bluetooth อยู่ที่ /data/misc/bluetoothd/ ถ้า bluetooth ใช้ไม่ได้ ให้ลบไฟล์อื่นทิ้ง เหลือแค่ config ไฟล์เดียว</li> <li><a href="http://www.kbrandt.com/2009/06/how-to-cross-compile-the-bash-shell-for-android-15.html">Kyle Brandt: cross compile "bash" for android</a></li> <li>Backup SMS message: ไฟล์อยู่ที่ <code>/data/data/com.android.providers.telephony/databases/mmssms.db<br /> คัดลอกมา ลบไฟล์นามสกุลอื่น แล้วรีบูต</code></li> </ul> </div></div></div><div class="field field-name-taxonomy-vocabulary-1 field-type-taxonomy-term-reference field-label-above"><div class="field-label">Topic:&nbsp;</div><div class="field-items"><div class="field-item even"><a href="/taxonomy/term/320">android</a></div></div></div> Mon, 16 Aug 2010 13:49:51 +0000 wd 700 at https://www.thaitux.info https://www.thaitux.info/node/700#comments