[Samsung Galaxy Pocket Neo S5310] ostenmaer:
Hey xda-developers,

It's me Gio, and I made a tutorial for you guys on how to get Android 5.0.2 on Samsung Galaxy Pocket Neo but then the correct way.

First of all, me or the developers that made this ROM and the developers who made the other stuff are not responsible for any damage, this is completely your choice if something screws up. I don't think that something will happen but you will never know what happens. And second, I would like to thank the developers (flex1911, MatheusAlves and the others who made the project).

Tutorial:

1. Make a backup of all your data that is laying in your device. Think for example about important text messages, contacts, photos, or something else.

2. Make sure that you will be able to restore that backup after. So put it in your microSD card or on the computer.

3. Download the new ROM from the link which you can locate below this tutorial.

4. Place it in your device and boot your device into TWRP or CWM. Personally I find TWRP much more handy but your choice.

5. Wipe data, cache and dalvik.

6. Flash this ROM and if you have any other zip to flash (like a Dolby extension or Google Apps), do it after flashing this ROM.

7. Wipe cache and dalvik one more time to avoid errors.

8. Reboot your device and wait till you see the homescreen.

9. Download Wake Lock and install it on your device. (If you are going to install it from APK4Fun for example, you probably need to accept unknown sources from Security in Settings).

10. Open Wake Lock when it is installed and tick the PARTIAL~WAKE~LOCK. This is important to avoid numerous reboots, don't forget to enable it again after every reboot since it may dropout when your turn off your device.

11. Download keylayout.rar from the link which you can locate below this tutorial.

12. Unrar it, and copy the keylayout folder to your device.

13. On your device, open up the Files app.

14. Go to the hamburger menu left above and then go to the gear icon which is the settings.

15. Go to General and then scroll to advanced, and then tick on the first setting of advanced and change it to root modus.

16. SuperUser is going to ask you for permission, accept it.

17. Locate now your keylayout folder and then copy the whole folder.

18. Go back to the hamburger menu and you will see home with under it this symbol "/", tick it and go then to /system/ and then /usr/.

19. You will probably notice that there is already a folder named keylayout, just do nothing with it, you will now paste the folder you copied earlier just there and if it askes to merge and overwrite, just accept it.

20. When it is done, reboot your device and your home button will work again.

Download links:

1. ROM

-- ht tps://goo.gl/KnXXsP

2. Google Apps

-- ht tps://itvends.com/gapps/gapps-lp-20141212-signed.zip

3. keylayout.rar

-- ht tps://goo.gl/l04S6x

4. Wake Lock

-- Google Play -> search for Wake Lock PowerManger

-- ht tp://dl3.apk-dl.com/store/download/details?id=eu.thedarken.wl

What works?

- EGL

- Touchscreen

- RIL

- Internal Storage and microSDcard

- Sensors

- Bluetooth

- Wi-Fi

- Camera

- Hardware keys (after changing keylayout)

- Wi-Fi tethering

- Audio

What does not works?

- Microphone

- Mobile Data (2G and 3G)

- and some more stuff but did not across them

Thanks for reading and I hope that you are helped after reading this. Again, if you want to thank me, only do it for the cleared up tutorial, the people who made the ROM and the fixes are the ones who you should thank actually!