Samsung Galaxy S9 (samsung-starqltechn): Difference between revisions
Appearance
Dsankouski (talk | contribs) |
Dsankouski (talk | contribs) |
||
Line 86: | Line 86: | ||
Is performed with kexec-similar stuff for now. See [[Bootloaders_porting_using_linux|guide for that method]]. Remember, you should have a cable from in `UART USB-debug cable schematic` section of [[Samsung_Galaxy_A5_2017_(samsung-a5y17lte)#Notes]], and 1.8V compatible uart adapter | Is performed with kexec-similar stuff for now. See [[Bootloaders_porting_using_linux|guide for that method]]. Remember, you should have a cable from in `UART USB-debug cable schematic` section of [[Samsung_Galaxy_A5_2017_(samsung-a5y17lte)#Notes]], and 1.8V compatible uart adapter | ||
* Download [https://drive.google.com/file/d/12ASMGNTxYhrto92XprXBdbx83wJW0bsX/view?usp=sharing prebuilt twrp image, with kexec and manual muic switching support] | |||
* Boot into twrp | * Boot into twrp | ||
* Connect uart-usb cable | |||
* Switch muic uart on usb, and run u-boot. | * Switch muic uart on usb, and run u-boot. | ||
** | ** go to Advanced -> Terminal | ||
* Load u-boot payload via kermit | ** run <code>/exec.sh</code> command. It will switch uart on usb, load u-boot(it's included in twrp image) in RAM, and run it. | ||
* run <code> | ** You are in u-boot console now ;) | ||
* Load u-boot payload via kermit (you may use [https://drive.google.com/file/d/1SHF7rjik8mxymyCXSYhZjzV4wIv12cqf/view?usp=sharing my high speed version for linux] at 921600bps) | |||
** in u-boot prompt run <code>loadb 0x90000000</code> | |||
* in u-boot prompt run <code>bootm 0x90000000</code> command | |||
== See also == | == See also == |
Revision as of 20:50, 6 December 2021
Manufacturer | Samsung |
---|---|
Name |
Galaxy S9 (SM-G9600/ DS) |
Codename | samsung-starqltechn |
Released | 2018 |
Hardware | |
Chipset | Qualcomm SDM845 Snapdragon 845 |
CPU | Octa-core (4x 2.8 GHz Kryo 385 Gold & 4x 1.7 GHz Kryo 385 Silver) |
GPU | Adreno 630 |
Display | 5.8 inch 18.5:9, 2960 x 1440 pixel 568 PPI, capacitive touchscreen, 10 multi-touch points, Super AMOLED, Corning Gorilla Glass 5, glossy: yes |
Storage | 64 GB |
Memory | 4 GB |
Architecture | aarch64 |
Software | |
Original software | Android 8 - 10 |
postmarketOS | |
Category | testing |
Pre-built images | no |
Mainline | no |
Flashing |
Broken |
---|---|
USB Networking |
Works |
Internal storage |
No data |
SD card |
No data |
Battery |
No data |
Screen |
Broken |
Touchscreen |
No data |
Multimedia | |
3D Acceleration |
No data |
Audio |
No data |
Camera |
No data |
Camera Flash |
No data |
Connectivity | |
WiFi |
Broken |
Bluetooth |
No data |
GPS |
No data |
NFC |
No data |
Modem | |
Calls |
No data |
SMS |
No data |
Mobile data |
No data |
Miscellaneous | |
FDE |
No data |
USB OTG |
No data |
HDMI/DP |
No data |
Sensors | |
Accelerometer |
No data |
Magnetometer |
No data |
Ambient Light |
No data |
Proximity |
No data |
Hall Effect |
No data |
Haptics |
No data |
Barometer |
No data |
Contributors
- dsankouski
Maintainer(s)
Users owning this device
- Dsankouski
- Retrocountry (Notes: (almost) Running PostmarketOS!)
- Zephyr1112 (Notes: Backup device, AOSP 13, 4/64GB)
How to enter flash mode
Installation
Notes
Uart
`/dev/ttyHS8` can be exposed on USB D+D- lines. It's configured in data mover mode by downstream kernel.
Mainline
Building
- build u-boot.bin file. Follow u-boot docs installation section
- build mainline kernel
- clone sources
source /home/dzmitry/side/pmos/pmbootstrap/helpers/envkernel.sh
make defconfig
make
- assemble initramfs
TODO: assemble u-boot fit image: Installing
This section is useless for now, because currently there's no way to tell if something is alive, when you boot from the flash. See next section.
Booting kernel and getting console
Is performed with kexec-similar stuff for now. See guide for that method. Remember, you should have a cable from in `UART USB-debug cable schematic` section of Samsung_Galaxy_A5_2017_(samsung-a5y17lte)#Notes, and 1.8V compatible uart adapter
- Download prebuilt twrp image, with kexec and manual muic switching support
- Boot into twrp
- Connect uart-usb cable
- Switch muic uart on usb, and run u-boot.
- go to Advanced -> Terminal
- run
/exec.sh
command. It will switch uart on usb, load u-boot(it's included in twrp image) in RAM, and run it. - You are in u-boot console now ;)
- Load u-boot payload via kermit (you may use my high speed version for linux at 921600bps)
- in u-boot prompt run
loadb 0x90000000
- in u-boot prompt run
- in u-boot prompt run
bootm 0x90000000
command
See also