SO-04EをAndroid 6.0.1にしてみた

GEOの安売りでSO-04Eを2千円で手に入れた。

どこまでAndroidをアップデートできるかな?とAndroid 7.1.2にする記事を書こうと頑張ってみたのですが、うまくいかないので、とりあえずAndroid 6.0.1にする記事として公開します。

Xperia ZR用のAndroid 7.1.2を書くとブートロゴすら出てこないや・・・

さて・・・Android 6.0.1にする手順です。

ただし、こちらは、Google CTS認証は通りません。通す必要がある場合はXperia ZRのAndroid 5.1.1のまま使いましょう。

その1:SO-04Eを手に入れる

その2: Xperia ZRのAndroid 5.1.1 Build 10.7.A.0.228 にする

手順は「ポケモンGoをやるためにXperia A SO-04Eを買ってみた」参照

その3: 必要な設定をする

・「セキュリティ」の「提供元不明のアプリ」のインストールを許可
・「端末情報」の「ビルド番号」を連打して開発者向けオプションを出す
・「開発者向けオプション」の「USBデバッグ」を有効にする

その4:root取得とTWRPのインストール

庵怒露慰怒の「Xperia A(SO-04E)」にあるSO-04E_TWRP.7z を使ってroot取得とTWRPをインストールする。

うまく成功すればアプリ一覧にSuper SUも追加されます

adb.exeが使える環境でinstall.batを実行するだけ・・・なんですが、失敗する場合があります。

私の場合、1回目は下記の状態でした。

C:\SO-04E_TWRP>install.bat
--- XperiaZR rootkit 2016/05/04 ---
waiting for device...
files\iovycustom: 1 file pushed. 0.6 MB/s (26252 bytes in 0.039s)
files\su: 1 file pushed. 2.9 MB/s (75364 bytes in 0.025s)
files\supolicy: 1 file pushed. 2.1 MB/s (29972 bytes in 0.014s)
files\libsupol.so: 1 file pushed. 3.9 MB/s (190972 bytes in 0.047s)
files\Superuser.apk: 1 file pushed. 4.0 MB/s (6117378 bytes in 1.446s)
files\busybox: 1 file pushed. 3.6 MB/s (772604 bytes in 0.206s)
files\99SuperSUDaemon: 1 file pushed. 0.0 MB/s (55 bytes in 0.007s)
files\install-recovery.sh: 1 file pushed. 0.1 MB/s (629 bytes in 0.011s)
files\install_tool.sh: 1 file pushed. 0.5 MB/s (5077 bytes in 0.009s)
files\chargemon: 1 file pushed. 0.2 MB/s (1471 bytes in 0.008s)
files\hijack.sh: 1 file pushed. 0.5 MB/s (4047 bytes in 0.008s)
files\ramdisk-recovery.cpio: 1 file pu...d. 3.9 MB/s (14199808 bytes in 3.507s)
files\ramdisk-recovery.img: 1 file pushed. 3.9 MB/s (7291430 bytes in 1.769s)
files\byeselinux.ko: 1 file pushed. 0.6 MB/s (4680 bytes in 0.008s)

iovycustom start.
WARNING: linker: /data/local/tmp/iovycustom: unused DT entry: type 0x6ffffffe arg 0x9d0
WARNING: linker: /data/local/tmp/iovycustom: unused DT entry: type 0x6fffffff arg 0x1
iovyroot by zxz0O0
poc by idler1984

[+] Changing fd limit from 1024 to 4096
[+] Changing process priority to highest
[+] Getting pipes
[+] Allocating memory
[+] Installing func ptr
    [+] Patching address 0xc1073cd8
    [+] Start map/unmap thread
    [+] Start write thread
    [+] Spraying kernel heap
    [+] Start read thread
    [+] Done
    [+] sid = 50

got root lmao

[+] Run root command
    [+] Disable SELinux

mount: Device or resource busy
rictype=2
--- press any key to reboot ---
続行するには何かキーを押してください . . .

waiting for device...

removing temporary files...

--- all finished ---
続行するには何かキーを押してください . . .

C:\SO-04E_TWRP>

上記出力の途中にある「press any key to reboot」でキーを押す前にAndroidが再起動してしまいました。(本来はキーを押すまで再起動されません)

2回目は下記の結果で、こちらは成功しました。

C:\SO-04E_TWRP>install.bat
--- XperiaZR rootkit 2016/05/04 ---

waiting for device...
files\iovycustom: 1 file pushed. 0.3 MB/s (26252 bytes in 0.088s)
files\su: 1 file pushed. 3.4 MB/s (75364 bytes in 0.021s)
files\supolicy: 1 file pushed. 2.3 MB/s (29972 bytes in 0.013s)
files\libsupol.so: 1 file pushed. 4.0 MB/s (190972 bytes in 0.046s)
files\Superuser.apk: 1 file pushed. 3.6 MB/s (6117378 bytes in 1.639s)
files\busybox: 1 file pushed. 3.2 MB/s (772604 bytes in 0.229s)
files\99SuperSUDaemon: 1 file pushed. 0.0 MB/s (55 bytes in 0.007s)
files\install-recovery.sh: 1 file pushed. 0.0 MB/s (629 bytes in 0.012s)
files\install_tool.sh: 1 file pushed. 0.2 MB/s (5077 bytes in 0.019s)
files\chargemon: 1 file pushed. 0.2 MB/s (1471 bytes in 0.007s)
files\hijack.sh: 1 file pushed. 0.5 MB/s (4047 bytes in 0.009s)
files\ramdisk-recovery.cpio: 1 file pu...d. 3.5 MB/s (14199808 bytes in 3.897s)
files\ramdisk-recovery.img: 1 file pushed. 3.8 MB/s (7291430 bytes in 1.851s)
files\byeselinux.ko: 1 file pushed. 0.5 MB/s (4680 bytes in 0.009s)

iovycustom start.
WARNING: linker: /data/local/tmp/iovycustom: unused DT entry: type 0x6ffffffe arg 0x9d0
WARNING: linker: /data/local/tmp/iovycustom: unused DT entry: type 0x6fffffff arg 0x1
iovyroot by zxz0O0
poc by idler1984

[+] Changing fd limit from 1024 to 4096
[+] Changing process priority to highest
[+] Getting pipes
[+] Allocating memory
[+] Installing func ptr
    [+] Patching address 0xc1073cd8
    [+] Start map/unmap thread
    [+] Start write thread
    [+] Spraying kernel heap
    [+] Start read thread
    [+] Done
    [+] sid = 50

got root lmao

[+] Run root command
    [+] Disable SELinux

rictype=2
1508+1 records in
1508+1 records out
772604 bytes transferred in 0.054 secs (14307481 bytes/sec)
147+1 records in
147+1 records out
75364 bytes transferred in 0.004 secs (18841000 bytes/sec)
147+1 records in
147+1 records out
75364 bytes transferred in 0.005 secs (15072800 bytes/sec)
147+1 records in
147+1 records out
75364 bytes transferred in 0.005 secs (15072800 bytes/sec)
147+1 records in
147+1 records out
75364 bytes transferred in 0.005 secs (15072800 bytes/sec)
58+1 records in
58+1 records out
29972 bytes transferred in 0.002 secs (14986000 bytes/sec)
372+1 records in
372+1 records out
190972 bytes transferred in 0.011 secs (17361090 bytes/sec)
11948+1 records in
11948+1 records out
6117378 bytes transferred in 0.353 secs (17329682 bytes/sec)
1+1 records in
1+1 records out
629 bytes transferred in 0.001 secs (629000 bytes/sec)
2+1 records in
2+1 records out
1471 bytes transferred in 0.001 secs (1471000 bytes/sec)
7+1 records in
7+1 records out
4047 bytes transferred in 0.001 secs (4047000 bytes/sec)
27734+0 records in
27734+0 records out
14199808 bytes transferred in 1.185 secs (11982960 bytes/sec)
14241+1 records in
14241+1 records out
7291430 bytes transferred in 0.388 secs (18792345 bytes/sec)
9+1 records in
9+1 records out
4680 bytes transferred in 0.001 secs (4680000 bytes/sec)
0+1 records in
0+1 records out
55 bytes transferred in 0.001 secs (55000 bytes/sec)
    [+] Restore SELinux
    [+] Restore SID
--- press any key to reboot ---
続行するには何かキーを押してください . . .

waiting for device...

removing temporary files...

--- all finished ---
続行するには何かキーを押してください . . .
C:\SO-04E_TWRP>

成功するとアプリ一覧にSuperSuが増えています。

その5:電源を切る

その6:microSDの準備

Android本体は「2016年5月のZ・A向けCM13.0リリース」で説明を見た後、「CM13.0 for Xperia A (ZR) with Locked Bootloader」から、 cm-13.0-20160508-UNOFFICIAL-dogo.zip と ZR.5.1.1_ramdisk_replacer_for_CM13.0-2.zip を入手します。

上記にはGoogle Playストアなどは含まれていないため、「OpenGapps」からARM -> Android 6.0 -> Pico か Nano を入手します。

SO-04EではBoot LoaderがロックされているためRecoveryパーテーションにTWRPを書き込むことができず特殊なことをやっています。このため、上記でAndroidを書き込んだ直後に、同じように特殊なことをやって再度Recoveryを書く必要があります。

そのためのファイルを 「[DEVDB][TWRP][PhilZ Touch] XZDualRecovery 2.8.26 RELEASE」の ZR-lockeddualrecovery2.8.26-RELEASE.combined.zip を入手します。

(「[UB][RECOVERY] TWRP v3.1.1 for Xperia ZR」の Flashable stock kernel (.222/.228) with TWRP 3.0.3からTWRP-v3.0.3-0-stock-dogo.zip だとダメでした)

この4ファイルをmicroSDに書き込みます。

その7:TWRPリカバリーに入る

電源をいれ、「SONY Xepria」のロゴがでた後に、SONYロゴの下のランプが黄色く光ったら、音量下ボタンを押し続ける。

緑色に光ったらボタンをはなして問題無いです。

その8: 「Wipe」Factory Resetを実行

その9: 「Install」を実行

初期状態は/sdcard/ にいますが、microSDカードは「/external_sd/」になるので、そこに移動し、下記のパッケージを上から順に選択する。

cm-13.0-20160508-UNOFFICIAL-dogo.zip
ZR.5.1.1_ramdisk_replacer_for_CM13.0-2.zip
open_gapps-arm-6.0-pico-20170920.zip
ZR-lockeddualrecovery2.8.26-RELEASE.combined.zip

その10:再起動

再起動をして、しばらく待てば画面が表示されます。

LTE/WiFi回線を使ってトランシーバー的環境を実現するZello PTT Walkie Talkieとトランシーバ的Android機

最近の小型Androidって、どんなのがあるのかな?と探していたら、トランシーバーみたいな外見のものを発見

てっきり144/430MHzのアマチュア無線帯の機能でも積んでるのかと思ったら、「Zello」というトランシーバーみたいな環境をLTE回線/WiFi環境を使って実現できるソフトウェアを使っているというものでした。

アンテナの出っ張りはLTE向けのアンテナでした。

他にどんなのがあるのかAliexpressで「zello walkie talkie」で検索すると、いろいろ出てくる。

ここに出てくるものは、みんな、Zello Walkie Talkieで使い安い様に左側面に送信ボタン(PTTボタン)が用意されているというAndroidです。

WCDMA(3G)回線のみのALPS F22、LTE回線も使えるALPS F25、WINIMA F100など、いろいろありました。

Zello」自体は仕事に使うのでなければ無料で利用できるようです。

AndroidだけではなくiOSやWindows Phone、BlackBerry、Windows PCにも対応しています。


ユーザアカウントを登録すると、こんな画面が現れます

通話したいチャンネル(上記ではテスト用のechoチャンネルが選択されています)を選び、丸いマイクボタンを押し続けると、押している間だけ音声による送信が可能となります。

話すと送信が止まり、他の人からの通信を聞く状態となります。

テキスト送信とかはできないようなので、ほんとに、トランシーバーとして使う、という感じです。

で・・・ZelloのAndroid版には、Androidに搭載されているボタンのうち、好きなものを1つ、送信ボタンとして設定することができるようです。

また、トランシーバー的使い方ができる外部接続マイクというのも「Zello Headset Accessories」でリストアップされています。

イヤフォンマイク端子に繋ぐものと、Bluetooth接続のものの2種類があります。

特定小電力のトランシーバーもいいですが、コレを使う、というのも面白そうですね

インド向けガラホLava Connect M1登場。Spreadtrum SoCでVoLTE対応

あんまり心に余裕がなかったので、Webチェックとかしてなかったので全然気がついてなかったのですが
2017/4/10付けで中華SoCメーカのSpreadtrum社でこんなプレスリリースが出ていました
Spreadtrum LTE SoC Platform is Adopted for India’s First 4G-enabled Feature Phone,Lava Connect M1

インド向け携帯電話としてLava社から「Lava Connect M1」というものが2017/2に登場していた模様

Android搭載とは一切うたわれてないですが、使ってるSoCがAndroid向けなので、Google Playが入ってないAndroidなんだろうなぁ、と思います

ストレートのガラケー的形状
液晶は2.4インチ 320×240
バッテリー 1750mAh
外形 123*52*14.5mm
SoC Spreadtrum SC9820(Cortex-A7 1.2GHz*2コア)
RAM 512MB
ストレージ 4GB
microSDスロットあり
カメラ 80万画素

Xiaomiの自社SoC Surge S1登場。スナドラ625/MediaTek P20対抗

Xiaomi(小米)が、中国のSoCメーカLeadcore Technologyと組んで、オリジナルのSoCを作っている、という話があった。

で・・・MWCにて詳細発表があったようだ。
[Xiaomi] Xiaomi’s First In-House SoC Chipset “Surge S1” Unveiled !

内容の要点
・Snapdragon 625およびMediaTek P10/P20の対抗として、Surge S1を開発
・ARM Cortex-A53コアを使用。2.2GHzコア*4個+1.4GHzコア*4個の計8コア
  28nm HPCプロセス製造
・GPUはARM Mali-T860採用
  Mali-T760と比較し、40%の消費電力削減
・LTEなどの通信機能を司るbaseband部分はOTAによるアップデート可能
  → VoLTEなどで技術革新があっても、あとから対応できる
・独自の画像処理プロセッサー(ISP)により暗いところでの画質などが向上,HDRにも対応
  消費電力や処理時の内部バスの使用帯域幅などが削減されている
・独自の音声処理プロセッサー(DSP)により高音質のVoLTE通話を実現

スナドラ820対抗ぐらいうたってくるかと思ったら、廉価な方で攻める模様。

また、パートナーのLeadcoretechの既存プロセッサって、Cortex-A7までで、Cortex-A53世代って、正式リリースされたものって無いし、LeadcoretechのLTE対応チップセットを採用してる製品もほとんど無いんですよね。
3Gも、中国向けのTD-SCDMA向けばかりですし・・・

果たして、どのレベルに仕上がっているのか…非常に怖いところです。

そんなSurge S1を採用した製品は・・・「Mi 5c」です。

Meet Mi 5c – it’s ultra slim, lightweight, and powered by Surge S1, our first-ever in-house designed SoC chipset. It comes with a 5.15″ JDI display and 1.6mm ultra-thin bezels. Having our own chipset means we’re able to now handle backlight optimization at chipset levels — up to 2048 ultra-precise brightness adjustment levels. It also comes with a large 1.25μm pixel size camera sensor which runs on Surge ISP algorithm, which enhances light sensitivity by up to 150%. The Mi 5c also comes with front fingerprint sensor, 9V 2A fast charging, and is only 132g with its ultra-light metal body. The 3GB+64GB version retails for RMB 1,499. Like it?

Highlights
– Powered by Surge S1, octa-core 64-bit processor (2.2GHz quad-core A53 + 1.4GHz quad-core A53)
– 5.15” display, 550-nit brightness, 2048 brightness levels with ultra-precise backlight controls
– Slim and light premium metal body: 132g and 7.09mm thin
– 2860mAh battery; 9V/2A fast charging
– 3GB + 64GB, dual-channel LPDDR3 + eMMC5.0
– 1.25 micron pixel size, ultra light-sensitive 12MP camera
– Single-frame HDR
– Front fingerprint sensor
– RMB 1,499


まぁ・・・どんな感じでしょうね

Spreadtrumから新SoC SC9861G-IAが登場。IAはIntel Airmontアーキテクチャの意味!

現在開催中のMWC2017にあわせて、中国のSpreadtrumから、新しいSoCが発表されました。

Spreadtrum launches 14nm 8-core 64-bit mid- and high-end LTE SoC platform

Intel AirmountアーキテクチャによるCPUコアを8個と、LTE関連回路をあわせて14nmプロセスで製造した、SC9861G-IAが新登場です。

あ・・・一つお詫びがあります。
「IAはIntel Airmountアーキテクチャの意味」ってタイトルですが、公式に言われたわけじゃないです。なので、もしかするとIntel Architectureの意味かもしれません。

さて、従来SpreadtrumからはSC9860GというCortex-A53コアを8個搭載(2GHzコア*4個+1.25GHzコア*4個)し、TSMC 16nm FFCプロセスで製造したSoCを提供していました。

それの演算部分をIntel Airmontに置き換えたようなものになるようです。

ASUSのIntelプロセッサ搭載のAndroidスマホ/タブレットなどで使われていたIntel Atom Z3530のCPUコアは22nmプロセス製造のSilvermontで、GPUコアはPowerVR GR6430でした。(Z3735DはSilvermont/Intel GPU)
Silvermontの次の世代がAirmontコアなのですが、Intelからのスマホ向けプロセッサはSilvermontで最後ということになっていました。
Windows向けに出ているAirmont世代のAtomプロセッサはAtom x5-Z8300/Z8500ですが、これらのGPUはIntel GPUです。

今回のSC9681G-IAは、CPUコアはAirmontで、GPUはPowerVR GT7200という形となります。
つまりは従来発売されていたIntelプロセッサ搭載のAndroidスマホ/タブレットを置き換える目的に使うようです。

SC9861G-IAの出荷は2017年Q2ということなので、秋ぐらいの製品発表に注目しましょう