Nokia 1 (nokia-frt)

From postmarketOS
Jump to: navigation, search
Nokia 1
200px
cute little phone
Manufacturer Nokia
Name 1
Codename nokia-frt
Released 2018
Original software Android 8.1 Go, kernel 3.18.79, armhf
Hardware
Chipset MediaTek MT6737M
CPU Cortex-A53 4x1.1GHz
GPU Mali-T720 MP1
Display 480x854
Storage 8GB
Memory 1GiB
Architecture aarch64
Features
USB Networking
Flashing
Touchscreen
Display
WiFi
Xwayland
FDE
Mainline
Battery
3D Acceleration
Accelerometer
Audio
Bluetooth
Camera
GPS
Mobile data
SMS
Calls


Contributors

Maintainer(s)


Users owning this device:


What works

  • Nothing

What does not work

  • Flashing
  • kernel
  • booting

Current progress

Kernel

There are official sources for 3.18, The CPU itself is aarch64 but the kernel is made for armv7 mode, compiling for armhf first, then going up.

boot.img

Boot.img offsets are in kernel's readme file:

  Step 2: Assembling the boot.img
    (In the output directory)
	$ mkbootimg --kernel arch/arm/boot/zImage-dtb --cmdline "bootopt=64S3,32N2,32N2 buildvariant=userdebug" \
	  --base 0x40000000 --kernel_offset 0x00008000 --ramdisk_offset 0x04000000 --tags_offset 0xE000000 \
	  --ramdisk ramdisk.img --output boot.img

How to enter flash mode

first method

Plug in USB, then Press Volume Up + power. When Nokia logo appears release power. "No command" should appear. Press Volume UP + power simultaneously and quickly release both buttons. You should be in recovery mode now.

Scroll to bootloader using Vol up/down keys and press power to confirm.

second method

Plug in USB, Press Volume Down and power simultaneously, then release power when you see nokia logo.

This may be harder (at least for the author of this manual)

Getvar all

$ fastboot getvar all 
(bootloader) 	max-download-size: 0x8000000
(bootloader) 	partition-size:flashinfo: 1000000
(bootloader) 	partition-type:flashinfo: raw data
(bootloader) 	partition-size:userdata: 151780000
(bootloader) 	partition-type:userdata: f2fs
(bootloader) 	partition-size:cache: 9800000
(bootloader) 	partition-type:cache: ext4
(bootloader) 	partition-size:system: 57000000
(bootloader) 	partition-type:system: ext4
(bootloader) 	partition-size:vendor: 14000000
(bootloader) 	partition-type:vendor: ext4
(bootloader) 	partition-size:elabel: 140000
(bootloader) 	partition-type:elabel: ext4
(bootloader) 	partition-size:deviceinfo: 100000
(bootloader) 	partition-type:deviceinfo: raw data
(bootloader) 	partition-size:cda: 800000
(bootloader) 	partition-type:cda: ext4
(bootloader) 	partition-size:sutinfo: 20000
(bootloader) 	partition-type:sutinfo: raw data
(bootloader) 	partition-size:systeminfo: 20000
(bootloader) 	partition-type:systeminfo: raw data
(bootloader) 	partition-size:box: 800000
(bootloader) 	partition-type:box: ext4
(bootloader) 	partition-size:metadata: 2000000
(bootloader) 	partition-type:metadata: raw data
(bootloader) 	partition-size:odmdtbo: 200000
(bootloader) 	partition-type:odmdtbo: raw data
(bootloader) 	partition-size:nvdata: 2000000
(bootloader) 	partition-type:nvdata: ext4
(bootloader) 	partition-size:frp: 100000
(bootloader) 	partition-type:frp: raw data
(bootloader) 	partition-size:tee2: 200000
(bootloader) 	partition-type:tee2: raw data
(bootloader) 	partition-size:tee1: 200000
(bootloader) 	partition-type:tee1: raw data
(bootloader) 	partition-size:keystore: 800000
(bootloader) 	partition-type:keystore: raw data
(bootloader) 	partition-size:secro: 200000
(bootloader) 	partition-type:secro: raw data
(bootloader) 	partition-size:oemkeystore: 200000
(bootloader) 	partition-type:oemkeystore: raw data
(bootloader) 	partition-size:seccfg: 80000
(bootloader) 	partition-type:seccfg: raw data
(bootloader) 	partition-size:expdb: a00000
(bootloader) 	partition-type:expdb: raw data
(bootloader) 	partition-size:logo: 200000
(bootloader) 	partition-type:logo: raw data
(bootloader) 	partition-size:recovery: 1000000
(bootloader) 	partition-type:recovery: raw data
(bootloader) 	partition-size:boot: 1000000
(bootloader) 	partition-type:boot: raw data
(bootloader) 	partition-size:para: 80000
(bootloader) 	partition-type:para: raw data
(bootloader) 	partition-size:lk: 100000
(bootloader) 	partition-type:lk: raw data
(bootloader) 	partition-size:protect2: a00000
(bootloader) 	partition-type:protect2: ext4
(bootloader) 	partition-size:protect1: a00000
(bootloader) 	partition-type:protect1: ext4
(bootloader) 	partition-size:nvram: 500000
(bootloader) 	partition-type:nvram: raw data
(bootloader) 	partition-size:proinfo: 300000
(bootloader) 	partition-type:proinfo: raw data
(bootloader) 	partition-size:preloader: 40000
(bootloader) 	partition-type:preloader: raw data
(bootloader) 	off-mode-charge: 1
(bootloader) 	warranty: no
(bootloader) 	unlocked: yes
(bootloader) 	secure: no
(bootloader) 	kernel: lk
(bootloader) 	product: FRT
(bootloader) 	version-preloader: 0.1.00
(bootloader) 	version: 0.5
all: Done!!
finished. total time: 0.006s

Installation

See also