Huawei Honor 7 (huawei-plank): Difference between revisions
Appearance
mNo edit summary |
m source -> syntaxhighlight |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
| imagecaption = Honor 7 showing the pmOS splash | | imagecaption = Honor 7 showing the pmOS splash | ||
| releaseyear = 2015 | | releaseyear = 2015 | ||
| originalsoftware = Android | | originalsoftware = Android (EMUI) | ||
| originalversion = 5.0 (EMUI 3) | | originalversion = 5.0 (EMUI 3) | ||
| extendedversion = 6.0 (EMUI 4) | |||
| chipset = HiSilicon Kirin 935 | | chipset = HiSilicon Kirin 935 | ||
| cpu = 8 × Cortex A53, up to 2.2 GHz | | cpu = 8 × Cortex A53, up to 2.2 GHz | ||
Line 15: | Line 16: | ||
| memory = 3 GB | | memory = 3 GB | ||
| architecture = aarch64 | | architecture = aarch64 | ||
| type = Handset | |||
| status_usbnet = Y | | status_usbnet = Y | ||
| status_flashing = P | | status_flashing = P | ||
Line 26: | Line 28: | ||
| status_3d = | | status_3d = | ||
| status_audio = | | status_audio = | ||
| status_bluetooth = | | status_bluetooth = N | ||
| status_camera = | | status_camera = | ||
| status_gps = | | status_gps = | ||
Line 44: | Line 46: | ||
| status_light = | | status_light = | ||
| status_proximity = | | status_proximity = | ||
| status_hall = | | status_hall = - | ||
| status_barometer = | | status_barometer = | ||
| status_powersensor = | | status_powersensor = | ||
| status_fossbootloader = | | status_fossbootloader = - | ||
| booting = yes | | booting = yes | ||
Line 70: | Line 72: | ||
Use [[pmbootstrap]] to build your own installation image. Fastboot flashing didn't seem to work, so use a [[Installation from recovery mode|recovery ZIP]]. | Use [[pmbootstrap]] to build your own installation image. Fastboot flashing didn't seem to work, so use a [[Installation from recovery mode|recovery ZIP]]. | ||
< | <syntaxhighlight lang="shell-session"> | ||
$ pmbootstrap init | $ pmbootstrap init | ||
$ pmbootstrap install --android-recovery-zip | $ pmbootstrap install --android-recovery-zip | ||
</ | </syntaxhighlight> | ||
Enter the bootloader by running <code>adb reboot bootloader</code>. | Enter the bootloader by running <code>adb reboot bootloader</code>. | ||
Line 96: | Line 98: | ||
== Kernel notes == | == Kernel notes == | ||
* Stock kernel cannot be | * Stock kernel cannot be compiled due to missing object files (proprietary blobs?) so we are using a modified one called "Peak Kernel" | ||
* ZRAM is disabled (modified kernel has ZRAM disabled and trying to compile with it enabled causes an error) | * ZRAM is disabled (this modified kernel has ZRAM disabled and trying to compile with it enabled causes an error) | ||
* The downstream kernel also supports the Huawei P8, Huawei Mate S, Huawei Mediapad M2 and Huawei Mediapad X2, so porting to them should be a similar process. | * The downstream kernel also supports the Huawei P8, Huawei Mate S, Huawei Mediapad M2 and Huawei Mediapad X2, so porting to them should be a similar process. | ||
== See also == | == See also == | ||
* {{MR|4096|pmaports}} Initial merge request | |||
* [https://github.com/ProjectHiSi/android_kernel_huawei_hi3635 Kernel source] | * [https://github.com/ProjectHiSi/android_kernel_huawei_hi3635 Kernel source] | ||
* {{Device package|huawei-plank}} | |||
* {{Kernel package|huawei-plank}} | |||
* {{Device package| | |||
* {{Kernel package| | |||
Latest revision as of 19:04, 8 September 2024
![]() Honor 7 showing the pmOS splash | |
Manufacturer | Huawei |
---|---|
Name | Honor 7 |
Codename | huawei-plank |
Released | 2015 |
Type | handset |
Hardware | |
Chipset | HiSilicon Kirin 935 |
CPU | 8 × Cortex A53, up to 2.2 GHz |
GPU | ARM Mali-T628 |
Display | 1080 × 1920 IPS |
Storage | 16 GB |
Memory | 3 GB |
Architecture | aarch64 |
Software | |
Original software | Android (EMUI) |
Original version | 5.0 (EMUI 3) |
Extended version | 6.0 (EMUI 4) |
postmarketOS | |
Category | testing |
Pre-built images | no |
Mainline | no |
postmarketOS kernel | 3.10.108 |
Flashing |
Partial |
---|---|
USB Networking |
Works |
Internal storage |
No data |
SD card |
No data |
Battery |
No data |
Screen |
Broken |
Touchscreen |
Broken |
Multimedia | |
3D Acceleration |
No data |
Audio |
No data |
Camera |
No data |
Camera Flash |
No data |
IR TX |
No data |
Connectivity | |
WiFi |
No data |
Bluetooth |
Broken |
GPS |
No data |
NFC |
No data |
Modem | |
Calls |
No data |
SMS |
No data |
Mobile data |
No data |
Miscellaneous | |
FDE |
No data |
USB-A |
No data |
USB OTG |
No data |
Sensors | |
Accelerometer |
No data |
Magnetometer |
No data |
Ambient Light |
No data |
Proximity |
No data |
Haptics |
No data |
Barometer |
No data |
Power Sensor |
No data |
Not to be confused with Huawei Honor 7 (huawei-aum).
Contributors
Users owning this device
- GtrxAC (Notes: ported)
How to enter flash mode
Hold
+ while connected to USB.Alternatively you can run adb reboot bootloader
.
Installation
The phone's bootloader needs to be unlocked. See Bootloader#Huawei.
Use pmbootstrap to build your own installation image. Fastboot flashing didn't seem to work, so use a recovery ZIP.
$ pmbootstrap init
$ pmbootstrap install --android-recovery-zip
Enter the bootloader by running adb reboot bootloader
.
Flash TWRP (I recommend this one) using fastboot.
Boot the phone into TWRP by holding
and .Go into sideloading mode:
-> and swipe to start sideload.Run the flasher: pmbootstrap flasher --method=adb sideload
What works
The device shows the splash, then the screen turns off. The only sign of life is the USB SSH connection. This was tested with fbkeyboard and xfce4.
Internet access does not work:
huawei-plank:~$ ip route add default via 172.16.42.2 dev usb0 ip: can't find device 'usb0'
Kernel notes
- Stock kernel cannot be compiled due to missing object files (proprietary blobs?) so we are using a modified one called "Peak Kernel"
- ZRAM is disabled (this modified kernel has ZRAM disabled and trying to compile with it enabled causes an error)
- The downstream kernel also supports the Huawei P8, Huawei Mate S, Huawei Mediapad M2 and Huawei Mediapad X2, so porting to them should be a similar process.
See also
- pmaports!4096 Initial merge request
- Kernel source
- Device package
- Kernel package