Jump to content

Huawei Y560 (huawei-y560): Difference between revisions

From postmarketOS Wiki
m Add type
 
(16 intermediate revisions by 7 users not shown)
Line 4: Line 4:
| codename = huawei-y560
| codename = huawei-y560
| image = File:huawei-y560.jpg
| image = File:huawei-y560.jpg
| imagecaption = CHANGE_ME
| imagecaption = Huawei Y560 running Weston
| releaseyear = 2015
| releaseyear = 2015
| originalsoftware = Android 5.1 on Linux 3.10.49
| originalsoftware = Android
| originalversion = 5.1 (Linux 3.10.49)
| pmoskernel = 3.10.49
| pmoskernel = 3.10.49
| chipset = Qualcomm MSM8909 Snapdragon 210  
| chipset = Qualcomm Snapdragon 210 (MSM8909)
| cpu = Quad-core 1.1 GHz Cortex-A7
| cpu = Quad-core 1.1 GHz Cortex-A7
| gpu = Adreno 304
| gpu = Adreno 304
Line 15: Line 16:
| memory = 1 GB
| memory = 1 GB
| architecture = armv7
| architecture = armv7
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) -->
| type = handset
| status_usbnet = Y
| status_usbnet = Y
| status_flashing = Y <!-- Flashing with "pmbootstrap flasher" works? Put Y here. It works the same for everything coming below. -->
| status_flashing = Y
| status_touch = N <!-- Touch screen is working? You can also answer these questions with P for partially. -->
| status_touch = Y
| status_screen = N <!-- The display is working? -->
| status_screen = Y
| status_wifi = <!-- Wireless network works? -->
| status_wifi = P
| status_xwayland = N <!-- Showing X11 applications in a Wayland compositor (Weston, KWin, ...) works? -->
| status_xwayland =  
| status_fde = <!-- When installing with full disk encryption, can you type in the password with the on screen keyboard? -->
| status_fde =
| status_mainline = <!-- Instead of a Linux kernel fork, it is possible to run mainline. -->
| status_mainline = N
| status_battery = <!-- Charging the battery with charging-sdl is possible -->
| status_battery =  
| status_3d = <!-- Hardware accelerated 3D graphics (e.g. with freedreno) -->
| status_3d =  
| status_accel = <!-- The sensor that measures proper acceleration works -->
| status_accel =  
| status_audio = <!-- Using the device's speakers/headphone jack works -->
| status_audio = N
| status_bluetooth = <!-- It's possible to pair and use other devices via the bluetooth protocol -->
| status_bluetooth =  
| status_camera = <!-- Taking photos and videos works. -->
| status_camera =  
| status_gps = <!-- The Global Positioning System sensor works.  -->
| status_gps = N
| status_mobiledata = <!-- Connecting to the Internet via cellular network. -->
| status_mobiledata = N
| status_sms = <!-- Sending and receiving short messages works as intended. -->
| status_sms = N
| status_calls = <!-- Talking to other people over the cellular network. -->
| status_calls = N
| status = "Use 'fastboot boot' and a microSD card to test"
| status = "Working...?"
| booting = yes
| booting = yes
 
| whet_dhry =
<!-- you can also use these lines if you need to:
| status_otg = N
see Unixbench page on wiki
| whet_dhry = 0.0
Is OTG available, not used in wiki
| status_otg = -
-->
}}
}}


== Contributors ==
== Contributors ==
* Worldblender
* Worldblender
 
* Sonic011gamer
== Maintainer(s) ==
<!-- Only if this device doesn't run on linux-postmarketos yet! -->
<!-- This person needs to be willing to answer questions from users of this device -->


== Users owning this device ==
== Users owning this device ==
{{Device owners}}
{{Device owners}}
<!-- autogenerated, use {{Owns device|devicepage|notes}} on your profile page -->
<!-- use _ instead of spaces in device page name, e.g. {{Owns device|HTC_Desire_(htc-bravo)|custom notes}}-->
<!-- you may need to purge page cache to see changes (more->purge cache)-->
<!-- you can use {{My devices}} on your profile page to show table with all your devices -->


== How to enter flash mode ==
== How to enter flash mode ==
Line 72: Line 61:


4. Unzip the downloaded stock recovery on your internal storage.Unzip the downloaded ROM on an SDcard, or you can use ADB later.
4. Unzip the downloaded stock recovery on your internal storage.Unzip the downloaded ROM on an SDcard, or you can use ADB later.


5. Inside Rashr, choose "Recovery from storage" and select the unzipped recovery.
5. Inside Rashr, choose "Recovery from storage" and select the unzipped recovery.
Line 82: Line 70:
8. When update finishes, restart(if it didn't already do that), enable developer settings, click on the OEM unlock setting and enable adb.
8. When update finishes, restart(if it didn't already do that), enable developer settings, click on the OEM unlock setting and enable adb.


9. In a commandline run "adb reboot-botloader".
9. In a commandline run:
<pre class="shell">adb reboot-bootloader</pre>
 
10. The phone should reboot to a black screen/OEM image. From inside the commandline run:
<pre class="shell">fastboot oem-unlock go</pre>


10. The phone should reboot to a black screen/OEM image. From inside the commandline run "fastboot oem-unlock go".
== Install TWRP (optional, but recommended!) ==
== Install TWRP (optional, but recommended!) ==
1. Download TWRP from [https://androidfilehost.com/?fid=457095661767115308 here]
1. Download TWRP from [https://androidfilehost.com/?fid=457095661767115308 here]
2. Reboot into fastboot mode.
2. Reboot into fastboot mode.
3. Inside a commandline run "fastboot flash recovery [drag your downloaded recovery image here]"
 
3. Inside a commandline run:
<pre class="shell">fastboot flash recovery [drag your downloaded recovery image here]</pre>
4. It should now work to reboot into TWRP!
4. It should now work to reboot into TWRP!


== Installation ==
== Installation ==
Setup chroot. Select huawei-y560 as device.(not yet there -_-)
Setup chroot. Select huawei-y560 as device.
<pre class="shell">pmbootstrap init</pre>
<pre class="shell">pmbootstrap init</pre>


Line 114: Line 108:
== See also ==
== See also ==
* {{MR|1763|pmaports}} Initial merge request
* {{MR|1763|pmaports}} Initial merge request
<!--
Link to related GitLab issues or merge requests like the following (replace CHANGEME with the ID, e.g. 1234):
* {{issue|CHANGEME|pmaports}} Some related issue
You can also add normal web links:
* [https://redmine.replicant.us/projects/replicant/wiki/GalaxyS2I9100 Replicant wiki page]
-->
<!--
If you manage to get your device packages merged, uncomment links below.
* {{Device package|huawei-y560}}
* {{Kernel package|huawei-y560}}
-->

Latest revision as of 12:19, 12 September 2024

Huawei Y560-L01
Huawei Y560 running Weston
Huawei Y560 running Weston
Manufacturer Huawei
Name Y560-L01
Codename huawei-y560
Released 2015
Type handset
Hardware
Chipset Qualcomm Snapdragon 210 (MSM8909)
CPU Quad-core 1.1 GHz Cortex-A7
GPU Adreno 304
Display 480x854 IPS LCD
Storage 8 GB
Memory 1 GB
Architecture armv7
Software
Original software Android
Original version 5.1 (Linux 3.10.49)
postmarketOS
Category testing
Pre-built images no
Mainline no
postmarketOS kernel 3.10.49
Features
Flashing
Works
USB Networking
Works
Internal storage
No data
SD card
No data
Battery
No data
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
No data
Audio
Broken
Camera
No data
Camera Flash
No data
Connectivity
WiFi
Partial
Bluetooth
No data
GPS
Broken
NFC
No data
Modem
Calls
Broken
SMS
Broken
Mobile data
Broken
Miscellaneous
FDE
No data
USB OTG
Broken
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

  • Worldblender
  • Sonic011gamer

Users owning this device


How to enter flash mode

Hold the Volume Down button, and then press the Power button

Unlocking the bootloader

Downgrade the bootloader & system to version B100 to be able to unlock bootloader.

1. Root your phone, you can use kingoroot for easy rooting.

2. Download stock android and recovery from here

3. Install Rashr - Flash Tool from the Play store, or download it from the internet and grant it root access.

4. Unzip the downloaded stock recovery on your internal storage.Unzip the downloaded ROM on an SDcard, or you can use ADB later.

5. Inside Rashr, choose "Recovery from storage" and select the unzipped recovery.

6. Choose "reboot" from the Rashr app.

7. After you reboot into recovery, choose either "Apply update from ADB" or "Apply update from SDcard".

8. When update finishes, restart(if it didn't already do that), enable developer settings, click on the OEM unlock setting and enable adb.

9. In a commandline run:

adb reboot-bootloader

10. The phone should reboot to a black screen/OEM image. From inside the commandline run:

fastboot oem-unlock go

Install TWRP (optional, but recommended!)

1. Download TWRP from here

2. Reboot into fastboot mode.

3. Inside a commandline run:

fastboot flash recovery [drag your downloaded recovery image here]

4. It should now work to reboot into TWRP!

Installation

Setup chroot. Select huawei-y560 as device.

pmbootstrap init

Build rootfs

pmbootstrap build device-huawei-y560

Build kernel

pmbootstrap build linux-huawei-y560

Flash rootfs (Note, this will install rootfs to system partition. You can optionally try to install to userdata partition with --partition userdata argument. In that case you should probably erase system partition with "sudo fastboot erase system")

pmbootstrap flasher flash_rootfs

Flash kernel

./pmbootstrap.py flasher flash_kernel

Run kernel (or you can just restart phone manually)

./pmbootstrap.py flasher boot


See also