Peter Cai

@PeterCxy

Some random guy out there. en_US / zh_CN

https://sn.angry.im/@PeterCxy Guestbook

Nitrogen OS for Smartisan U3 Pro (osborn; Nut Pro 2)

This page is used to publish updates on my self-built unofficial NitrogenOS for Smartisan U3 Pro, codenamed "osborn", also known as "Nut Pro 2 (坚果 Pro 2)".

本页面用于发布本人自制的 Nitrogen OS for Smartisan U3 Pro (坚果 Pro 2; osborn) 的更新。

Before flashing

You should always be noted that this phone has NO official support for bootloader unlocking. There is only ONE WAY to flash custom ROMs on this phone, which is to downgrade to a previous flawed bootloader, which accepts all boot.img signatures, via Qualcomm USB-DL (9008 mode).

您应当知晓,这个手机并没有官方的 bootloader 解锁支持。在这个手机上刷非官方 ROM 只有一个方法,那就是降级到以前的一个有漏洞的 bootloader。这个 bootloader 需要通过高通 9008 模式降级。

This ROM might also require the latest modem image. You could find details online on how to flash this phone, mostly from a developer named XiNGRZ, whose code I based my ROM on.

这个 ROM 可能也需要最新的 modem 镜像 ("底包") 以正常工作。你可以在网上找到关于这些的信息,大多数来自名叫 XiNGRZ 的开发者。他的代码也是我用来适配该 ROM 的基础。

Firmware / 底包

You MUST install the latest firmware ZIP package before installing the latest ROM. Check here regularly for firmware updates. DO NOT update only to the latest firmware but not the latest ROM and vice-versa.

必须 在刷 ROM 之前安装对应的底包。您可以在此处定期检查底包的更新。请 不要 只刷底包但不刷最新的 ROM,反之亦然。

当前底包版本 / Current Firmware Version: 20181029203642

Update logs

20181209-1

  • Hotfix: fixed boot problems on 256G version of the phone
  • 紧急修复: 修复了在 256G 顶配版上无法启动的问题

20181208-1

此版本在 256G 顶配版上存在会导致系统崩溃的 BUG,请使用顶配版的不要升级

  • Synchronized with Nitrogen OS upstream
  • 更新了 Nitrogen OS 上游代码
  • Merged Linux 4.4.166
  • 合并了 Linux 4.4.166

20181201-1

  • Synchronized with Nitrogen OS upstream
  • 更新了 Nitrogen OS 上游代码
  • Merged Linux 4.4.165
  • 合并了 Linux 4.4.165
  • Updated firmware from Smartisan OS. You may need to** flash the new firmware** from https://www.androidfilehost.com/?fid=11410963190603863206 before installing this update
  • 更新了锤子官方固件。您可能需要先刷底包 https://www.androidfilehost.com/?fid=11410963190603863206 再刷入本次更新
  • Removed the dynamic navigation bar feature added last week due to extremely instability and a ton of bugs and conflicts with the newly-introduced Nitrogen OS official navbar mods. I will add it back in the future when I can spend some time to polish it up.
  • 移除了上周加入的实验性导航栏变色功能,因为实在太过不稳定以及 BUG 实在太多,而且与本周 Nitrogen OS 新加入的导航栏自定义功能冲突。我将会在我有时间修复那些 BUG 以后加回这个功能。

20181124-1

  • Synchronized with Nitrogen OS upstream
  • 更新了 Nitrogen OS 上游代码
  • Merged Linux 4.4.164
  • 合并了 Linux 4.4.164
  • Added multi-weight Noto CJK fonts (which bloated the zip file)
  • 增加了 CJK 多字重字体(导致刷机包体积增加)
  • An experimental feature: dynamic navigation bar tinting according to the status bar color; for those apps that only tint the status bar but not the navbar. Not ready for daily use yet but you can try it in Settings -> Personalization -> Navigation bar. It is really pain in the ass to debug a ROM when I can only build on a remote HDD server. I think I will finish this feature when I get my new AMD YES workstation built.
  • 实验性功能: 根据状态栏颜色动态调整导航栏颜色,为某些只改变状态栏颜色而不改变导航栏颜色的 app 设计。这个功能暂时还非常原始,不适合日常使用,有很多问题还没有来得及解决,但是你可以在 Settings -> Personalization -> Navigation bar 里面试用它。现在我只能使用远程服务器编译,调试 ROM 简直太过痛苦,这个功能的那些问题我应该会在配好新的 AMD YES 工作站以后解决。

20181111-1

  • Synchronized with Nitrogen OS upstream
  • 更新了 Nitrogen OS 上游代码
  • Merged Linux 4.4.163
  • 合并了 Linux 4.4.163
  • Made an attempt to temporarily fix the Wi-Fi not turning on problem on some users' devices. If this works, please tell me and I'll attempt to fix it permanently
  • 尝试临时修复部分用户手机上的 Wi-Fi 无法打开问题。如果这个版本不再出现这个问题,请及时告诉我以便我详细查看具体原因

20181031-3

  • SELinux is now globally enforcing, though several privileged processes are still in permissive mode. If anything breaks after this update, please let me know immediately
  • 全局打开了 SELinux Enforcing 模式;有几个特权进程仍然在 Permissive 模式下,需要后续解决。如果本次升级后有功能出现以前没有问题,请及时告知我
  • Fixed system ANR on boot
  • 修复开机时系统卡死的问题
  • Improved edge touch handling
  • 优化边缘误触算法
  • Improved power efficiency
  • 优化电量消耗

20181021-2

  • VoLTE is finally working, tested with CMCC.
  • VoLTE 终于修复好了,用中国移动测试通过
  • Upgraded Linux kernel 4.4.162
  • 升级到 Linux 4.4.162
  • Dirty-fixed compatibility with some third-party camera apps which had problems with recording. Tested with Google Camera.
  • 脏修复了对部分第三方相机 app 的录像功能的兼容性问题。使用 Google Camera 测试通过。
  • Merged updates from Nitrogen OS
  • 合并了来自 Nitrogen OS 的更新

20181012-4

  • Synchronized VoLTE cobfiguration, but I can't test if it works
  • 同步了来自蛋丁的蛋香 VoLTE 配置,但由于没有支持的运营商,我无法测试
  • Fixed in-call audio and recording volume by bringing back Smartisan's proprietary driver
  • 使用锤子私有驱动修复了通话及录音音量小的问题
  • Rewrote SELinux policies, though it is still not ready for enforcing
  • 重写了 SELinux 配置,但仍然不足以默认开启 enforcing 模式
  • Upgraded Linux kernel 4.4.160
  • 升级到 Linux 4.4.160
  • Merged updates from Nitrogen OS
  • 合并了来自 Nitrogen OS 的更新

20181007-4

  • Dirty-fixed the hardware encoder problem. Now the camrecorder should work perfectly.
  • 用很脏的办法修复了硬件编码器问题。现在录像应该能完全正常工作了。
  • Re-enabled 4K UHD recording.
  • 重新打开了 4K UHD 录像功能。

20181007-1

  • Updated Qualcomm proprietary blobs
  • 更新了高通私有库
  • Temporarily disabled hardware encoder to fix camera recording (now the recording feature works just fine)
  • 暂时禁用硬编码以暂时解决相机的录像问题 (现在录像功能已经完全正常)
  • Temporarily disabled 4K UHD recording because software encoder doesn't support it
  • 暂时禁用了 4K UHD 录像,因为软件编码器不支持
  • Fixed permissions for framebuffer devices
  • 修复了 framebuffer 设备的权限问题

20181004-5

  • First release
  • 第一个版本

Google Camera

I use Google Camera from here with version MGC_6.1.013_MiMAX2_V1b_A8.1+fix_Hexagon_failed+blFront.

我使用 这里 提供的 Google 相机,版本 MGC_6.1.013_MiMAX2_V1b_A8.1+fix_Hexagon_failed+blFront

Donation

Your generous support will provide great motivation for continued maintenance of my ROMs.

您的支持将给我很大的鼓励以持续维护 ROM。

If you re-post my ROMs, please kindly keep the donation information.

如果您转发了我的 ROM,请您保留捐赠信息。

Patreon: https://www.patreon.com/PeterCxy

Alipay / Wechat Pay (支付宝 / 微信):

Download Links

20181209-1

History versions

历史版本

20181208-1

20181201-1

20181124-1

20181111-1

20181031-3

20181021-2

20181012-4

20181007-4

20181007-1

20181004-5

Other Links

How to enable VoLTE for China Telecom on this phone:

如何开启电信 VoLTE:

https://listed.standardnotes.org/@PeterCxy/3501/pro-2-volte-alpha

Source code

The local_manifests to synchronize my device tree into the Nitrogen source code is available at https://github.com/PeterCxy/local_manifests/tree/p.

All my devices and modified source codes are available at https://github.com/PeterCxy.


You'll only receive email when Peter Cai publishes a new post

More from Peter Cai: