免root更改Android id,使用adb工具 - Android

By George
at 2016-07-11T21:44
at 2016-07-11T21:44
Table of Contents
# 前言
本來想用心得分類,發現沒有這個分類,就改用討論了
因為換機想繼續使用 line 的關係 orz,最後就不小心找到這個方法
我使用這個方法後,最後成功了 ~(灑花)
因為前面好像沒人提過這個方法,就簡單的將步驟寫出來,有興趣的人可以試看看
好處:不用 root 就可以修改 android id
--------------
# 步驟
1. 先下載 adb 工具
要下載比較新的版本,不然可能連不上手機
可以使用這篇的 adb 工具: https://www.kocpc.com.tw/archives/4209
2. 接上手機,裝驅動
我的情況是,手機接上電腦後,就自動裝好驅動了
沒裝好的話,一樣參考這篇: https://www.kocpc.com.tw/archives/4209
3. 用命令列工具打開 adb 工具
參考這篇 如何執行 adb 部份
http://wangwangtc.blogspot.tw/2015/03/adbandroid.html
4. 確認與手機的連線
輸入 adb devices
出現 xxxxxx devices,那就代表連接成功了
5. 查詢與修改 Android id
查詢 Andoird ID
adb shell content query --uri content://settings/secure --where
"name=\'android_id\'"
修改 Andoird ID
adb shell content update --uri content://settings/secure --bind
value:s:NEW_ANDROID_ID --where "name=\'android_id\'"
---
我的情況是,update 沒辦法直接改,所以要先刪掉 android id 的資料
adb shell content delete --uri content://settings/secure --where
"name=\'android_id\'"
然後再新增回去
adb shell content insert --uri content://settings/secure --bind
name:s:android_id --bind value:s:NEW_ANDROID_ID
想了解清楚一點可以看這篇: http://goo.gl/e3JN6y
--------------
# 小結
我有把詳細一點點的步驟寫在網誌裡(不過滿亂的 冏)
有需要的人可以看看 https://goo.gl/Q6TD3A
如果說這個方法給我什麼啟示的話,就是 adb 工具真的好方便啊
以後備份我可能就會使用 adb 工具來備份了
--
本來想用心得分類,發現沒有這個分類,就改用討論了
因為換機想繼續使用 line 的關係 orz,最後就不小心找到這個方法
我使用這個方法後,最後成功了 ~(灑花)
因為前面好像沒人提過這個方法,就簡單的將步驟寫出來,有興趣的人可以試看看
好處:不用 root 就可以修改 android id
--------------
# 步驟
1. 先下載 adb 工具
要下載比較新的版本,不然可能連不上手機
可以使用這篇的 adb 工具: https://www.kocpc.com.tw/archives/4209
2. 接上手機,裝驅動
我的情況是,手機接上電腦後,就自動裝好驅動了
沒裝好的話,一樣參考這篇: https://www.kocpc.com.tw/archives/4209
3. 用命令列工具打開 adb 工具
參考這篇 如何執行 adb 部份
http://wangwangtc.blogspot.tw/2015/03/adbandroid.html
4. 確認與手機的連線
輸入 adb devices
出現 xxxxxx devices,那就代表連接成功了
5. 查詢與修改 Android id
查詢 Andoird ID
adb shell content query --uri content://settings/secure --where
"name=\'android_id\'"
修改 Andoird ID
adb shell content update --uri content://settings/secure --bind
value:s:NEW_ANDROID_ID --where "name=\'android_id\'"
---
我的情況是,update 沒辦法直接改,所以要先刪掉 android id 的資料
adb shell content delete --uri content://settings/secure --where
"name=\'android_id\'"
然後再新增回去
adb shell content insert --uri content://settings/secure --bind
name:s:android_id --bind value:s:NEW_ANDROID_ID
想了解清楚一點可以看這篇: http://goo.gl/e3JN6y
--------------
# 小結
我有把詳細一點點的步驟寫在網誌裡(不過滿亂的 冏)
有需要的人可以看看 https://goo.gl/Q6TD3A
如果說這個方法給我什麼啟示的話,就是 adb 工具真的好方便啊
以後備份我可能就會使用 adb 工具來備份了
--
Tags:
Android
All Comments

By Delia
at 2016-07-12T02:13
at 2016-07-12T02:13

By Emily
at 2016-07-14T13:57
at 2016-07-14T13:57

By Leila
at 2016-07-15T04:45
at 2016-07-15T04:45

By Doris
at 2016-07-18T13:41
at 2016-07-18T13:41

By Dorothy
at 2016-07-19T03:44
at 2016-07-19T03:44

By Todd Johnson
at 2016-07-21T19:12
at 2016-07-21T19:12

By Kelly
at 2016-07-24T01:35
at 2016-07-24T01:35

By Jacky
at 2016-07-25T12:35
at 2016-07-25T12:35

By Joseph
at 2016-07-26T20:28
at 2016-07-26T20:28

By Adele
at 2016-07-27T05:33
at 2016-07-27T05:33

By Enid
at 2016-07-28T08:25
at 2016-07-28T08:25

By Agnes
at 2016-07-29T10:41
at 2016-07-29T10:41

By Yedda
at 2016-08-03T06:14
at 2016-08-03T06:14

By Megan
at 2016-08-04T08:53
at 2016-08-04T08:53

By Edward Lewis
at 2016-08-08T15:57
at 2016-08-08T15:57

By Hedwig
at 2016-08-11T22:49
at 2016-08-11T22:49

By Damian
at 2016-08-14T09:56
at 2016-08-14T09:56

By Hedy
at 2016-08-14T15:29
at 2016-08-14T15:29

By William
at 2016-08-15T07:14
at 2016-08-15T07:14

By Blanche
at 2016-08-19T04:38
at 2016-08-19T04:38
Related Posts
請問行動版chrome首頁設定

By Mason
at 2016-07-11T21:29
at 2016-07-11T21:29
平板電腦的畫面同步到筆電

By Eden
at 2016-07-11T19:51
at 2016-07-11T19:51
MENU美食誌 更新!(送P幣/Line代幣)

By Kumar
at 2016-07-11T16:57
at 2016-07-11T16:57
推薦訂飲料APP

By Ivy
at 2016-07-11T15:21
at 2016-07-11T15:21
android 6安裝twrp格式化/data

By Anthony
at 2016-07-11T15:16
at 2016-07-11T15:16