[Samsung Galaxy Pocket] MLX:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh really hard at you.
*/

UPDATE 12/24: WI-FI NOW WORKS! A little christmas gift :p

Hi all, as anybody knows the pocket plus (S5301) only has one "stable" CM 10.1 ROM which was made by Xado some years ago and never had a working touch (because of that the rom was almost unusable). As I wasn't able to fix the Xado's CM10.1 ROM, I did this port.

THIS IS A WIP, A BETA so don't expect this thing to make your phone run like a high-end device. Please report any errors.

History:

Some time after releasing the Pocket Plus, Samsung released the Pocket Neo (corsica), which I noticed was the light of hope for this tiny device, as they're mostly hardware-compatible (and their sources are too). So I just said "what if I run a pocket neo ROM on my pocket plus?". Indeed, did that and worked at first (with non-working touch, wifi and others). This was a signal that I could use the kernel and ROM sources to give life again to the coriplus.

After fixing the corsica's device, vendor and kernel trees I was able to boot and use happily KitKat on my little device! :D Just see what works and what doesn't below.

Notes:

The kernel included with this ROM has overclock up to 1.3GHz enabled by default!

This ROM is based on Pocket Neo's LOS 11 ROM, because of this there are bugs.

I don't recommend installing GAPPS because they make any phone lag a lot. If you still want gapps, you're on your own.

[B]What works: [/B]
Touch
Camera
Sound (speaker, headphones, mic)
USB (MTP, ADB and mass storage tested)
ART (if enabled in dev options)

[B]What doesn't work: [/B]
Bluetooth
RIL (needs testing, might work but don't know)
Screen rotation, caused by sensors (accelerometter/magnetic/orientation)
You tell me.

Downloads:

ROM: lineage-11-20201224-UNOFFICIAL-coriplus.zip - AndroidFileHost

CWM (Odin/Heimdall): cwm-coriplus.tar

CWM zip (for updating from another recovery): cwm-coriplus.zip

CWM (IMG, for flash with dd): cwm-coriplus.img

Installation guide:

Put the phone in download mode by shutting it off, then Volume down + home + power until screen shows the warning and then vol up to confirm.

If you use Odin: select AP or PDA (2nd button, may vary on your version) and look for the cwm tar. After that, click flash and CWM will be flashed.

If you use Heimdall: open it, read phone's PIT and flash cwm-coriplus.tar to RECOVERY partition.

Boot the phone in recovery mode by keeping pressed Volume up + home + power, at the Samsung's logo release power but keep vol up and home until CWM boots

Copy the ROM zip (lineage-11-20blablabla.zip) to the sd card (or internal if you prefer). No space? It's fine, you can sideload it using ADB (see below)

Do a factory reset and wipe system

Select install update from sd card (or internal storage if you copied the ROM zip there), find the ROM zip and select it.

If you prefer to use ADB, you can just do 'adb sideload path/to/rom.zip' instead of copying the ROM zip to internal/sd. For installing ADB, just search on XDA

Wait until it goes back to start menu and select reboot.

The first boot may take some minutes (5~10) so be patient!

Ready to go!

Thanks to:

Everyone who developed for the coriplus before me

bcm216xx

chijure

JPrimero15

Xado

Sources:

Kernel: https://github.com/MLXProjects/android_kernel_rhea

Device tree: https://github.com/MLXProjects/android_device_samsung_coriplus

Local manifest to be used on LOS source: https://github.com/bcm216xx-LOS/local_manifest

Compiling this thing is somehow tricky because you need to edit one or two LineageOS's source files, for more details PM me (or find out yourself :p)