HTC HERO ROM Recook behnaam版~(2012-03-24最後修正)

hannahmo wrote:
可否請您貼一下每一步...(恕刪)

大大,小弟本身的Hero有刷過Recovery
版本是: RA-hero-v1.7.0.1

我的步驟是

關閉手機
1.進入recovery mode(POWER+Home)
2.用電腦輸入大大的指令
adb shell
mount -a
mkdir /system/sd/data
以上都很順利
但當我輸入
mv /data/data/* /system/sd/data

有等一下下時間
但是出現了
mv: cannot remove '/system/sd/data/com.android.htcdialer': Is a directory
mv: cannot remove '/system/sd/data/com.esmertec.android.jbed': Is a directory
mv: cannot remove '/system/sd/data/com.htc': Is a directory
mv: cannot remove '/system/sd/data/com.htc.WeatherWallpaper': Is a directory
mv: cannot remove '/system/sd/data/com.htc.android.footprints': Is a directory
mv: cannot remove '/system/sd/data/com.htc.android.locationpicker': Is a directo
ry

然後輸入
rmdir /data/data
他說無法刪除
之後輸入
ln -s /system/sd/data /data/data
這正常

然後reboot...

之後就是出現一些連結失效,我就只能全wipe加上重刷

不好意思,不知道為什麼Copy不過去,是不是沒有關機關好還是?
kenkenss wrote:
大大,小弟本身的He...(恕刪)

嗯嗯..
不是沒關好機~
不知道是不是recovery模式的設定不一樣所致~
我來找找RA-hero-1.7.0.1試試看就知道了~
勞駕靜候~
kenkenss wrote:
大大,小弟本身的He...(恕刪)

我剛剛去刷了RA-hero-1.7.0.1.img~
並且重新操作一次~
沒有發生任何問題~
完成操作,一切OK~
所以您的問題有點奇怪~
想再跟您確認一下~
您在做/data/data to sd這個動作前是否有先行安裝軟體??

目前傾向您的SD卡空間不足或是SD卡本身有問題所造成~
建議您把SD卡拿出來用Panasonic出的SD卡專用format程式來格式化~
且如果您軟體安裝的較多,請割2G給EXT3~
並且使用Class 4以上的SD卡~

以下是我各分割區的狀態,供您參考~
----------------------------------------------------------------------------
C:\hero-root>adb shell
# busybox df -h
busybox df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 95.5M 0 95.5M 0% /dev
tmpfs 4.0M 0 4.0M 0% /sqlite_stmt_journals
/dev/block/mtdblock3 170.0M 168.6M 1.4M 99% /system
/dev/block/mtdblock5 165.8M 2.8M 163.0M 2% /data
/dev/block/mtdblock4 130.0M 19.1M 110.9M 5% /cache
/dev/block/mmcblk0p2 1.8G 156.5M 1.5G 9% /system/sd
teyuchung wrote:
hannahmo;D...(恕刪)

如果您是抓8月11日修正版,就不用再理會boot.img的事了~
那是為之前那個版本所做的~
ROM裡的所有apk檔都是自行安裝的,不用再一一安裝~
dalvikcache存放在SD卡的問題,在1F就有說明內定是沒有移到SD卡上的~
請參考1F本文說明的第6點~

另外~
adb.exe是要在PC上跑的~
它是PC連接到Android手機做類似telnet操作的一個方法~
由google提供的程式~
應該已經存在android-sdk-windows\tools裡了~
否則您是進不了reocvery模式來刷機的~
看到 hannahmo 版大這麼熱心地回答問題,真是太佩服了,有你真好!
alvikcache沒有存放在SD卡中,若有此需要,請使用adb shell進入後下指令a2sd cachesd,系統會進行程序,重開後即有cache2sd。若有其他指令需求,請參考/system/bin/apps2sd.hlp說明(是文字檔)


執行adb shell
# a2sd cachesd
進行程序 重新開機

可是什麼也沒變的感覺 找不到cache2sd呢

apps2sd.hlp要用什麼軟體去開呢 看起來都怪怪的
aju1021 wrote:
alvikcache...(恕刪)

跑完重開機就OK了~
那個HLP檔是文字檔~
aju1021 wrote:
alvikcache...(恕刪)





apps2sd.hlp內容如下,請參考

Syntax: /system/bin/a2sd command

Command is one of the following

Standard Apps2SD Commands:
--------------------------------------------------
install
Moves free and paid apps to the ext2/ext3/ext4
partition on your secure digital card. Removes
the No A2SD flag file.

remove
Moves free and paid apps to the internal phone
storage. Creates the No A2SD flag file.

Swap Partition Commands:
--------------------------------------------------
swap
Removes the No Swap flag. Allows A2SD to
activate the swap partition.

noswap
Creates the No Swap flag. Prevents A2SD from
activating the swap partition.


Dalvik Cache Commands:
--------------------------------------------------
cachesd
Moves Dalvik cache files to the ext2/ext3/ext4
partition on your secure digital card. Creates
Dalvik Cache to SD flag.

cachepart
Moves Dalvik cache files to the /cache partition
in your phone. Creates Dalvik Cache to Cache
Partition flag.

nocache
Moves Dalvik cache files to the internal phone
storage. Removes all Dalvik Cache flags.

resetcache
Clears the dalvik cache and restarts phone.


Apps2SD Diagnostic Commands:
--------------------------------------------------
check
Performs a symlink and flag file check on your
setup. Outputs results.

repair
Performs a repair of all symlinks based on
flag file activation.

diskspace
Shows disk space statistics for the ext
partition.

sysinfo
Displays information about your phone,
partitions, swap, and more.

swapspace
Shows swap space statistics for all
swap space active on the phone.

ZipAlign Commands:
--------------------------------------------------
align
Performs a zipalign on all APK files in
/data/app, /data/app-private and
/system/app.

zipalign
Allows ZipAlign to execute during the boot
process. Creates the ZipAlign flag file.

nozipalign
Prevents ZipAlign from executing during the
boot process. Removes the ZipAlign flag file.

Dalvik Setting Commands:
--------------------------------------------------
jit
Installs DalvikVM JIT.
WARNING: Do not run this command if your phone
has NAND protection active.

nojit
Removes DalvikVM JIT.
WARNING: Do not run this command if your phone
has NAND protection active.

defaultheap
Resets the Dalvik heap size to the default
heap size.

smallheap
Sets the Dalvik heap size to the default heap size
to 16MB.

largeheap
Sets the Dalvik heap size to the default heap size
to 24MB.

jumboheap
Sets the Dalvik heap size to the default heap size
to 32MB.

Low Memory Killer Commands:
----------------------------------------------------
lowmem-moderate
Sets the internal memory killer to the following
settings:
Foreground Apps: 1536 pages / 6 MB
Visible Apps: 3072 pages / 12 MB
Secondary Server: 4096 pages / 16 MB
Hidden Apps: 7680 pages / 30 MB
Content Provider: 8960 pages / 35 MB
Empty App: 10240 pages / 40 MB

lowmem-optimum
Sets the internal memory killer to the following
settings:
Foreground Apps: 1536 pages / 6 MB
Visible Apps: 2048 pages / 8 MB
Secondary Server: 4096 pages / 16 MB
Hidden Apps: 10240 pages / 40 MB
Content Provider: 12800 pages / 50 MB
Empty App: 15360 pages / 60 MB

lowmem-strict
Sets the internal memory killer to the following
settings:
Foreground Apps: 1536 pages / 6 MB
Visible Apps: 2048 pages / 8 MB
Secondary Server: 4096 pages / 16 MB
Hidden Apps: 15360 pages / 60 MB
Content Provider: 17920 pages / 70 MB
Empty App: 20480 pages / 80 MB

lowmem-aggressive
Sets the internal memory killer to the following
settings:
Foreground Apps: 1536 pages / 6 MB
Visible Apps: 3072 pages / 12 MB
Secondary Server: 4096 pages / 16 MB
Hidden Apps: 21000 pages / 82 MB
Content Provider: 23000 pages / 90 MB
Empty App: 25000 pages / 98 MB

lowmem-extreme
Sets the internal memory killer to the following
settings:
Foreground Apps: 1536 pages / 6 MB
Visible Apps: 3072 pages / 12 MB
Secondary Server: 4096 pages / 16 MB
Hidden Apps: 38400 pages / 150 MB
Content Provider: 40960 pages / 160 MB
Empty App: 43520 pages / 170 MB

lowmem-ultimate
Sets the internal memory killer to the following
settings:
Foreground Apps: 1536 pages / 6 MB
Visible Apps: 3072 pages / 12 MB
Secondary Server: 4096 pages / 16 MB
Hidden Apps: 51200 pages / 200 MB
Content Provider: 57600 pages / 225 MB
Empty App: 64000 pages / 250 MB

lowmem-default
Sets the internal memory killer back to phone default
settings.


真的很感謝H大的說明回應!

有您真好,我再去試試看!若有問題再請教您,謝謝~
hannahmo wrote:
我剛剛去刷了RA-h...(恕刪)

謝謝大大的教導

我今天的步驟是

1.先用PanasonicSDFormatter把記憶卡格式化
2.分割磁區(128 / 2048 / recommand 以及ext2 to ext3)
3.全WIPE
4.刷Rom
5.跑完設定精靈
6.進入Recovery
7.KEY指令

以下是我KEY指令的時候所遇到的問題

C:\android\tools>adb shell
# reboot recovery
reboot recovery

C:\android\tools>adb shell
/ # mount -a
mount -a
/ # mkdir /system/sd/data
mkdir /system/sd/data
/ # mv /data/data/* /system/sd/data
mv /data/data/* /system/sd/data
mv: write error: No space left on device
mv: write error: No space left on device
mv: write error: No space left on device
mv: write error: No space left on device
mv: write error: No space left on device
mv: write error: No space left on device
mv: write error: No space left on device
mv: write error: No space left on device
mv: write error: No space left on device
mv: write error: No space left on device
mv: write error: No space left on device
mv: write error: No space left on device
mv: write error: No space left on device
mv: write error: No space left on device
/ # rmdir /data/data
rmdir /data/data
rmdir: '/data/data': Directory not empty
/ # ln -s /system/sd/data /data/data
ln -s /system/sd/data /data/data
/ # reboot

我想我還是失敗了... 不過沒關係,還是非常謝謝大大的教導,還讓您自己又刷了一次...真是不好意思
文章分享
評分
評分
複製連結
請輸入您要前往的頁數(1 ~ 107)

今日熱門文章 網友點擊推薦!