Changes

Jump to navigation Jump to search
no edit summary
{{Infobox device
| manufacturer = FinePower
| name = F1
| codename = finepower-f1
| image = File:finepower-f1.jpg
| memory = 512 MB
| architecture = armv7
| status_usbnet = <!-- USB networking does work? then put Y here and delete this comment -->| status_flashing = P <!-- Flashing with "pmbootstrap flasher" works? Put Y here. It works the same for everything coming below. -->| status_touch = <!-- Touch screen is working? You can also answer these questions with P for partially. -->Y| status_screen = <!-- The display is working? -->P
| status_wifi = <!-- Wireless network works? -->
| status_xwayland = Y <!-- Showing X11 applications in a Wayland compositor (Weston, KWin, ...) works? -->
| status_fde = <!-- When installing with full disk encryption, can you type in the password with the on screen keyboard? -->
| status_mainline = <!-- Instead of a Linux kernel fork, it is possible to run mainline. -->
| status_battery = <!-- Charging the battery with charging-sdl is possible -->
| status_3d = <!-- Hardware accelerated 3D graphics (e.g. with freedreno) -->
| status_accel = <!-- The sensor that measures proper acceleration works -->N| status_audio = <!-- Using the device's speakers/headphone jack works -->P
| status_bluetooth = <!-- It's possible to pair and use other devices via the bluetooth protocol -->
| status_camera = <!-- Taking photos and videos works. -->
| status_sms = <!-- Sending and receiving short messages works as intended. -->
| status_calls = <!-- Talking to other people over the cellular network. -->
| status = kernel compilesboots, doesn't boot (gcc8 and gcc6)framebuffer needs to be fixed
| status_otg = -
| booting = 0yes| pmos_kernel = 3.10.65| unixbench = 874.6
}}
{{Device owners}}
== What Current issues ==* Framebuffer has red and blue channels swapped.* X11 environments don't start.* Keyboard is not detected: only the power button works . Probably needs a driver.* Sound input doesn't work as expected. ==Hardware ==* LCD panel controller: Sintronix ST7796S (MIPI)Flashing kernel * Back camera: GalaxyCore GC2385 (flashing rootfs and twrpmipiraw)* Front camera: GalaxyCore GC030* Wi-recoveryFi, Bluetooth, GPS: sc2351* Keyboard LED: sc2723* Touch panel: FocalTech * === How to control brightness ===<code>echo 255 > /sys/class/backlight/sprd_backlight/brightness</code><code>echo 255 > /sys/class/leds/keyboard-zip are not tested).backlight/brightness</code> 
== How to enter flash mode ==
Hold Press and hold the Power key , then, immediately press and Vol- just after thathold VolumeDown. Release both buttons when the logo appears. Navigate Using the volume buttons, navigate to the "Reboot to bootloader" option with volume keys and press , pressing Power to chooseselect it. The phone will reboot in fastboot mode.Another option is to connect the phone to a computer and run
<source>$ adb reboot bootloader</source>
or
== Installation ==
=== Flashing kernel ===
{{note|'''Backup your boot partition before flashing the kernel.''' If you have root, you can do it this with adb. Connect the phone to your computer, and enable USB debugging in Developer modesettings. Thenrun
<source>$ adb shell
$ su
# dd if=/dev/block/mmcblk0p16 of=/sdcard/boot.img</source>
I did these 2 commands as well (don't know if these are needed)<source># dd if=/dev/block/mmcblk0boot0 of=/sdcard/boot0.img# dd if=/dev/block/mmcblk0boot1 of=/sdcard/boot1.img</source>If the your phone isn't rooted, use the ResearchDownload tool for to create a backup.}}
Fastboot on this phone doesn't support booting the kernel from an SD card, so it's required to flash the kernel to internal storage with <code>$ pmbootstrap flasher flash_kernel</code>If you have an SD card that is rather fast, consider to not flash flashing rootfs on onto it instead of the phone, because it's memory internal storage, which is probably slower quite slow (15 Mb/s on read, 9 Mb/s on write).
=== Partitions layout ===
== See also ==
* {{issue|239|pmaports}} - Describing porting process here* {{MR|645|pmaports}} initial merge request* [https://github.com/myst33djedld/spreadtrum-kernel-common kernel_7730 Generic kernel for Spreadtrum SC8830 platform]* [https://githubgitlab.com/postmarketOS/pmaports/tree/master/device/device-finepower-f1 Device package]* [https://gitlab.com/Naimur9800postmarketOS/pmaports/Sc7731tree/master/device/linux-Sc8830finepower-Kernel_Source Another kernelf1 Kernel package]
190

edits

Navigation menu