Category Archives: Devices

Fail to upgrade Samsung Gear S2

Here is the problem when I try to upgrade gear s2 to the latest version:

  • hardware: Gear S2 Classic, SM-R732
  • software: R732XXU2CPC5
  • error: upgrade fails at 17% every time, then s2 will reboot automatically

Solution:

  1. use NetOdin to flash S2 to a old version (R732XXU2BOKK)
  2. use Gear Manager to upgrade S2, OTA

Now the new version is R732XXU2DPFB. It might also be possible to upgrade to this version directly. But I did not find this firmware for netOdin.

Here are steps to upgrade S2 using NetOdin:

操作方法:“短按电源键-->滚动选择菜单”,“长按电源键-->进入选中的选项”。。。          
Controls: 
1. short press power button: navigation; 
2. long press power button: select

注意事项:操作速度一定要快,因为闲置3秒自动重启开机。。。
Note: after 3 seconds idle, system will reboot, so please be quick
熟悉了操作方法,下面就开始动手操作了。

1. 手表充满电,关机.
power off

2. 长按开机键7秒钟,等到出现“Rebooting...”字样时,快速连续按三下开机键,进入一个启动模式选择菜单。
long press power button for 7 seconds, S2 will start with "Rebooting...", quick press power button for 3 times, enter recovery mode

3. 在这个“Select REBOOT MODE”菜单下,不要多要多停留,直接连续短按电源键向下选择到第三项“Download(wireless)”。
short press power button to navigate to "Download(Wireless)"

4. 停留在“Download(wireless)”项目上,再长按电源键进入无线刷机模式。
stop on "Download(Wireless)", then long press power button to enter wireless odin mode

5. 此时手表默认显示为(WPS连接模式),我们需要短按两下返回键,切换为(AP连接模式)。
short press back button twice, wireless mode will be switch to AP mode
至此手表端的操作就完成了!完成了!完成了!完成了刷机过程的一部分。。。 
then all operation on S2 side have been finished. the rest part will be done on PC

6. use your laptop to connect to S2's AP

7. use netOdin to flash S2 (AP, BL, CSC)
PS:可能会有人用电脑的网络管理器搜索连接手表的WIFI信号后,手表无限出红字,提示连接超时。 
这时候只需要在电脑端运行WIFI刷机工具“NetOdin3”,手表自然就出于等待接收的正常状态了。

 

Links:

netOdin3:

https://1drv.ms/u/s!Al8vqu22jWkyinLXd7kqBOZmofjL

Tutorials to use netOdin3: (in Chinese)

http://bbs.52samsung.com/forum.php?mod=viewthread&tid=739679&extra=page%3D1

http://bbs.52samsung.com/thread-737567-1-1.html

三星galaxy gear VR体验和使用总结

VR是最近非常流行的一个话题。适逢刚入手了galaxy s7 edge, 顺便就买了gear VR,也想体验一下VR的魅力。

gear VR不是一个完整的VR设备,它自己是不带显示屏幕的,需要把三星的手机嵌入到设备上,然后使用手机的屏幕、处理器来实现VR的功能。设备上有一个micro USB的接口,把手机的USB口直接扣上去,然后把手机固定好,就可以体验VR了。

1243321080365382725

原理

gear VR的原理很简单,就是在手机上运行软件,然后在屏幕的左右两块区域上显示出来每个眼睛需要看到的内容,然后在VR眼镜上让对应的眼睛看到相应的内容。VR眼镜实际上看的是屏幕上的一小块区域,VR眼镜上一块放大镜,使得眼睛看起来的屏幕很大。所以这个对手机屏幕的分辨率要求挺高的,现在s7e是2k的屏幕,但是在gear VR上看起来,分辨率还是很粗糙的。

1243321080446178629

软件

使用的VR的软件,都需要使用oculus home来安装和启动。当第一次把手机插入到gear VR的时候,会提示安装oculus home。oculus需要使用facebook相关的一些东西,并且自己也被国内屏蔽了,所以使用oculus home,安装和启动里面的软件的时候,很多时候需要打开VPN。

Oculus home是几乎所有软件的启动入口,所以最好熟悉一下它的使用。它是一个虚拟的房间,看起来还是蛮酷的。安装完之后,需要从Library打开自己的软件或者游戏。这个被翻译成“图书馆”,很容易造成歧义。

gear-vr-review-apps

这里有一个简单的教程:

https://product-guides.oculus.com/en-us/documentation/gear-vr/latest/concepts/ug-a-us-using-gear-vr/#ug-us-overview-tutorial

看视频

看视频最好的软件是samsung VR, 原来叫做milk VR, 在google play store和oculus home里都可以看到这个软件,但是两个地方的软件貌似不太一样。oculus home里安装的samsung vr, 需要在oculus home里启动;play store里下载的,可以不需要oculus home直接启动,可以在不连接眼镜的时候打开,方便下载和观看视频。另外,samsung VR原来的名字叫做milk VR, 现在改名了,所以大家看以往教程的时候要注意。

samsung VR本质是一个看在线视频的软件,但是也可以播本地的一些内容,包括2d, 3d, 和全景的视频。3d和全景的格式各异,可以给文件添加后缀,这样打开的时候就可以直接以合适的模式来播放视频;也可以在播放的时候,临时选择格式,但是在各个模式之间切换,是挺麻烦的事情。

GearVR_desktop_immersive_carousel_milkVR

这个是支持的所有的模式,以及后缀:

https://samsungvr.com/portal/content/faq_tech_gear_vr

When developing videos, the Samsung VR team would suggest using stereo sparingly as stereo effectively halves the resolution of your video.

Video Type Code
2D video “_2dp”
3D top bottom video (常见的上下分割的 3D视频) “_3dpv”
3D left right video (左右分割的3D视频) “_3dph”
Monoscopic 180 “180×180”
Monoscopic 180 16:9 “180×101”
Left right stereoscopic 180 16:9 “180x101_3dh”
Monoscopic 360 equirectangular projection (360度全景视频) “_mono360”
Top bottom stereoscopic 360 equirectangular projection “3dv” or “_tb”
Left right stereoscopic 360 equirectangular projection “3dh” or “_lr”
Monoscopic 360 cube projection “_cubemap “
Top bottom stereoscopic 360 cube projection “_cubemap_tb”
Left right stereoscopic 360 cube projection “_cubemap_lr​”
Monoscopic 360 octahedron projection “_octahedron”
Monoscopic 360 icosahedron projection “_icosahedron”
Top bottom stereoscopic 3D 180 “180x180_3dv”
Left right stereoscopic 3D 180 (有些小电影是这种格式的,代入感强烈) “180x180_3dh”
Left right stereo 3D 180 squished “180x180_squished_3dh”
Top bottom stereoscopic 3D 180×160 “180x160_3dv”
Two monoscopic 180 hemispheres “180hemispheres” or “180-hemispheres”
Top bottom 3D cylinder 2.25:1 “cylinder_slice_2x25_3dv”
Top bottom 3D cylinder 16:9 “cylinder_slice_16x9_3dv”
Top bottom 3D 360 no bottom “sib3d”
180 planetarium full dome “_planetarium” or “_fulldome”
V360 camera “_v360”
RTXP 360 cylindrical “_rtxp”

至于文件存储的位置,貌似samsung VR对此也没有特殊的要求,统一扔到/Movies目录里就成

也可以选择Oculus Video来看视频。

Oculus video对目录的要求比较严格:

On your phone's internal storage (Phone):
/DCIM/
/Movies/
/Oculus/Movies/

相应的使用指南: https://support.oculus.com/help/oculus/901894079905459/?ref=hc_fnav

玩游戏

VR里玩的游戏,只能在oculus home里安装和运行。安装好的游戏,在桌面上并不会出现图标,也不能直接运行。需要每次启动oculus,然后在里面运行。

现在有破解的游戏,下载完之后安装,但是因为是破解的,所以并不会出现在oculus home里,也不会在桌面上有图标。这时候,可以选择单独的程序管理器,把游戏打开,这时候会提示连接眼镜,再把眼镜装上去就成了。

推荐ES文件浏览器,可以看所有的app,

看全景图片

使用Oculus 360 Photo来看全景的照片。可以在oculus home里安装。

To view your own panoramic photos in Oculus 360 Photos: 

Create the folder "360Photos" under the Oculus folder
Create the folder "My images" under Oculus/360Photos folder
Load your photos into /Oculus/360Photos/My Images folder

使用指南:

https://support.oculus.com/help/oculus/169658330048676/?ref=hc_fnav

推荐的软件和游戏

VR现阶段能使用的软件和游戏还不多,大多是为了给人体验一下VR的效果。这里推荐一下一个免费应用: Jurassic World,可以直接在oculus home里安装。软件里面有一条大恐龙,慢慢走向你,然后抬起腿来吃草,效果还是震撼的!

 

 

Android里Odex和Deodex的含义

一句话: odex文件是为了加速程序的运行,但是制作custom rom的时候,会麻烦一点;所以就有了deodex的机制出来,把odex文件重新塞回到APK里面去。

优化好了的话,两个的速度应该没啥明显差别。

What do “Odex” and “Deodex” mean? The All Inclusive Explanation

by Jim Farmer on 
tagged 

Show of hands, how many of you reading this have been browsing forums looking for ROMs only to come across a term completely foreign. Hey, it’s OK, I’ve been there too. In particular, the terms Odex and Deodex notoriously cause budding Android modders’ eyes to glaze over. So, what are they talking about?

To better understand deodex, you first need to know about odex.

Stock Android implements an odex file structure, with odex meaning “optimized” dalvik executable file. As your likely aware, Android apps on your device are packaged as .apkfiles. That all being said, what this means is that for pretty much all of your apks there is a corresponding odex file. This goes for the framework files in .jar format as well.

For instance, on this non-rooted Galaxy Nexus you’ll find

system/app/Phone.apk

as well as

system/app/Phone.odex

But what exactly are these odex files?
Well, when the Android OS needs to run your apps or utilize framework components, it has to parse (read/interpret) the compressed data stored in the .apk and/or .jar files. Having an odex file structure expedites this process by utilizing another file, the .odex file, which includes only the most critical data in an uncompressed format so the Android OS can quickly interpret that important information before parsing through the rest of the data held within the compressed .apks and .jars. Therefore, not all of the components of an app or framework are present in one file in an odexed sile system. I’ll elaborate on why I stress that in a moment. The goal of this scheme is to boot up faster,  and generally load applications more quickly and smoother.

Ok so what is deodex?
The odexed file structure works well as an optimization tool, except for in the case of theming. Odexed apps and frameworks present a unique problem to those wanting to theme because the aspect they want to theme is broken up into two files. Typically theming involves swapping out images for home made ones, however this is simply impossible in an Odexed environment. The solution is to DeOdex the file system and reunite all of the uncompressed critical data of an app or framework back into the compressed .apk or .jar file

On this rooted Galaxy Nexus running a custom ROM we see

system/app/Phone.apk

but no longer the corresponding .odex file. The reassembled files become classes.dex

So which should you run?
The fact of the matter is DeOdexing is really only useful for theming. It won’t speed up your phone any.Technically it should slow it down, but in reality the difference is unnoticeable. In my experience, all custom ROMs come pre-DeOdexed, and they also zipalign your apps at boot. Zipaliging is the process of reorganizing the manner in which the .apk is packaged to optimize it for being parsed faster by the Android OS. The funny thing is, it is comparable if not better than the odex file structure, so you get the best of both worlds; a themed ROM and the speed of an optimized file structure. So really the only considerable difference lies in theming capability, and that’s where the choice is yours.

小米手机2

看看无比强大的米2手机的配置参数吧:

 

2.小米手机2代,今天的重点。外观改进,增加了前置摄像头,电源键改在侧面。尺寸126mm X 62mmX 10.2 mm,重量145g。

 

3.首款采用高通APQ 8064处理器的手机,四核,主频1.5GHz,28纳米制程,krait架构技,GPU为Adreno 320。(现场PPT幻灯演示跑分结果,Quadrant:7787、Vellamo:2480、超级兔子:14085)

 

4.小米手机2代拥有2GB RAM,16GB ROM;

 

5.2000mAh锂聚合物电池,另有3000mAh大电池配件(手机厚度只增加2毫米) ;

 

6.4.3英寸IPS夏普屏,1280×720分辨率;单片式触控面板,即并把触摸屏做到保护玻璃上,超窄边的设计;

 

7.800万像素主摄像头,背照式二代感光器件,F2.0大光圈,27mm广角,连拍8张/秒;200万像素背照式二代后置摄像头。支持1080p高清摄像,并有陀螺仪辅助防抖;

 

8.基于Android 4.1的MIUI,公布中文名“米柚”;内有语音助手、找回我的手机、云服务、3X3大字体桌面等服务;