• 36

[ROM] 愛魅/尚伊 Ampe A90/A10 Sanei N90/N10 NoriUI 1.8 (4.0.4)

小弟昨晚研究了一下這串討論串:
[07/18]超簡單歌美G2整合國外CM9_nightly&AOKP更新包教學
跟這篇:
修正飞羽 0622固件在Aniol7 极光版v3触摸屏不正常的BUG

發現/init.sun4i.rc裡面的觸控模組區塊是:
#insmod key & tp driver
# insmod /system/vendor/modules/sun4i-ts.ko
# insmod /system/vendor/modules/sun4i-keyboard.ko
# insmod /system/vendor/modules/ft5x_ts.ko
insmod /system/vendor/modules/ft5x_ts_5606.ko

然後bootloader裡面的script.bin跟script0.bin裡面的模組名稱是ft5x_ts

所以我用這篇裡面MAX大提供的PullScript跟UpdateScript把script.bin跟script0.bin裡面的模組名改成ft5x_ts_5606再放回去
可是還是無效

用dmesg看一下開機訊息的錯誤是
<6>[ 5.260000] ===========================ft5x_ts_init=====================
<6>[ 5.270000] ctp_fetch_sysconfig_para.
<3>[ 5.280000] ctp_fetch_sysconfig_para: name ft5x_ts_5606H淑餐. does not mat
ch CTP_NAME.
<3>[ 5.310000] ft5x_ts
<6>[ 5.310000] ft5x_ts_init: err.
<6>[ 5.310000] init: command 'insmod' r=-1

看起來轉回bin的名稱有錯誤.....到這邊我就不行了= =

看有沒有正常動作的人可以執行lsmod指令看看模組名稱是什麼
然後看一下/init.sun4i.rc跟script.bin裡面的模組名稱一不一樣

人在外面 晚點再試看看....

之前刷到無法觸控的夥伴們 有試過新的版本嗎???

我是有兩台a90 另一台還是舊的n90版本...

是很正常的 能夠提供有用的資訊嗎???

ps:無法觸控a90 刷7版的 480很正常 那部份續用是ok的嗎...配合新的版本的話
可行嗎???

另外 刷機本來就有風險 能有人能夠幫我們提供更好的版本是感謝...
刷到有問題 大家討論看能不能有救回的方法 不要去543有的沒的...

不然就是可以花錢去找提供''專業刷機''的人 也不少位 可以讓你們免去後顧之憂 反正花錢是大爺
要大聲也可以

謝謝minjye_wu !!能讓a90更上層樓...
小弟也很感謝minjye_wu大辛苦製作ROM給大家
刷壞本來就是自己需承擔的風險
所以當務之急還是能夠找到修復的方法囉~
目前依照大家的回報,刷了各種官方或自製ROM都無法解決觸控的問題...

不過我也不是什麼高手XD,不知道這個方向對不對
總之希望請目前A90觸控正常的人可以提供以下線索

首先打開debug模式接上電腦
1. 執行
adb shell lsmod
看看觸控模組名稱是什麼

2. 看看/init.sun4i.rc裡的觸控模組名稱
取得檔案方式:執行
adb pull /init.sun4i.rc
把檔案get到電腦

3. 提供script.bin跟script0.bin檔
取得方式:
adb shell "mkdir /sdcard/nanda"
adb shell "mount -t vfat /dev/block/nanda /sdcard/nanda"
adb pull /sdcard/nanda/script.bin
adb pull /sdcard/nanda/script0.bin

謝謝囉

andante wrote:
小弟昨晚研究了一下這...(恕刪)


小弟看了一下是insmod /system/vendor/modules/ft5x_ts_5606.ko
沒錯

需要我用MAX大提供的PullScript備份我的給你試試看嗎?
這真的很奇怪為什麼完整格式化之後還是不行?照理說應該BOOT會重寫才對阿..
希望能幫到你...因為這問題其他人也可能會遇到
andante wrote:
小弟也很感謝minj...(恕刪)





init.sun4i.rc檔
import init.sun4i.usb.rc

on early-init
export EXTERNAL_STORAGE /mnt/sdcard
mkdir /mnt/sdcard 0000 system system
# for backwards compatibility
symlink /mnt/sdcard /sdcard

mkdir /mnt/extsd 0000 system system
mkdir /mnt/usbhost1 0000 system system

on fs
mount ext4 /dev/block/nandd /system wait noatime nodev barrier=0

# try to mount /data
wait /dev/block/nande
mount ext4 /dev/block/nande /data wait noatime nosuid nodev barrier=0
setupfs /dev/block/nande
umount /data
exec /system/bin/logwrapper /system/bin/e2fsck -y /dev/block/nande
exec /system/bin/busybox mount -t ext4 -o noatime,nosuid,nodev,barrier=0,journal_checksum,noauto_da_alloc /dev/block/nande /data

# try to mount /cache
mount ext4 /dev/block/nandh /cache wait noatime nosuid nodev barrier=0
setupfs /dev/block/nandh
umount /cache
exec /system/bin/logwrapper /system/bin/e2fsck -y /dev/block/nandh
exec /system/bin/busybox mount -t ext4 -o noatime,nosuid,nodev,barrier=0,journal_checksum,noauto_da_alloc /dev/block/nandh /cache


format_userdata /dev/block/nandi USERDATA

on boot

# insmod key & tp driver
insmod /system/vendor/modules/ft5x_ts_5606.ko

# touch key
insmod /system/vendor/modules/hv2605.ko


# insmod mali driver
insmod /system/vendor/modules/ump.ko
insmod /system/vendor/modules/mali.ko

# insmod gsensor driver
insmod /system/vendor/modules/bma250.ko

# insmod vibrator
insmod /system/vendor/modules/sun4i-vibrator.ko
chmod 777 /sys/class/timed_output/sun4i-vibrator/enable

# csi module
insmod /system/vendor/modules/videobuf-core.ko
insmod /system/vendor/modules/videobuf-dma-contig.ko
insmod /system/vendor/modules/gc0308.ko
insmod /system/vendor/modules/gc0308b.ko
#insmod /system/vendor/modules/gt2005.ko
#insmod /system/vendor/modules/sun4i_csi1.ko
insmod /system/vendor/modules/sun4i_csi0.ko

# lock rotation gpio module
chmod 777 /system/vendor/modules/sun4i_lockrotation.ko
insmod /system/vendor/modules/sun4i_lockrotation.ko

# network module
insmod /system/vendor/modules/usbnet.ko
insmod /system/vendor/modules/asix.ko
insmod /system/vendor/modules/qf9700.ko
# insmod /system/vendor/modules/mcs7830.ko
# insmod /system/vendor/modules/rtl8150.ko


# -------- bluetooth related services ----------
chmod 0660 /dev/ttyS1
chmod 0770 /system/bin/hciattach
# Disable bluetooth service
setprop ro.bluetooth.disable 0


#change rfkill permissions for bluetooth power management
chown system system /sys/class/rfkill/rfkill0/state
chmod 0777 /sys/class/rfkill/rfkill0/state
write /sys/class/rfkill/rfkill0/state 0
setprop rw.bluetooth.status "0"

service hciattach /system/bin/hciattach -n -s 115200 /dev/ttyS1 rda 500000 noflow
class main
user root
group bluetooth net_bt_admin
disabled
oneshot

#add for realtek wifi
service wpa_supplicant /system/bin/wpa_supplicant -Dnl80211 -iwlan0 -c/data/misc/wifi/wpa_supplicant.conf
socket wpa_wlan0 dgram 660 wifi wifi
group wifi inet
disabled
oneshot
阿sorry忘了加一行
adb shell "mkdir /sdcard/nanda"
之後才能mount
towge wrote:

andante wrote:
小弟也很感謝minj...(恕刪)


就如同andante大大所說的,刷機本來就有風險,Wu大提供讓A90能更上層樓的ROM
我們已經很感謝了,只是希望各家好手如果知道能讓小弟的A90恢復本人感激不盡
也希望以後能和各位前輩學習...謝謝
可以找個地方上傳嗎?
你的連結點不開耶

towge wrote:
OK...沒有scr...(恕刪)
  • 36
內文搜尋
X
評分
評分
複製連結
請輸入您要前往的頁數(1 ~ 36)
Mobile01提醒您
您目前瀏覽的是行動版網頁
是否切換到電腦版網頁呢?