I have a Samsung G361H. There is no CyanogenMod for this phone. By this, I would like to create your own. But I have a computer with 2 GB of RAM and x32 architecture. This means that I can not compile from source. Can I do this:

  1. Download CyanogenMod for a phone with similar characteristics.
  2. Make a complete dump of stock firmware on your phone.
  3. Copy important things such as the kernel and so on. from stock in CyanogenMod.
  4. The resulting archive to flash on the phone
  • you ask the wrong place. - Vladyslav Matviienko
  • To start the computer update, if funds allow. In today's times, at least you need to have an i3 / 8GB RAM / 128GB SSD for development. Otherwise it will not be development, but torment - gecube

1 answer 1

Why can not compile? At one time, I compiled the kernel on a PC with Xubuntu with x86 and only 1GB of RAM, though it took a long time to complete. If we talk about porting the firmware from one device to another, then your sequence is correct, you just need to choose the most identical "donor", choose the "donor" version of Android is the same as that of the drain, have tools for unpacking the core files and both firmware, basic understanding of smali (well, it comes during the process), as well as a program in which you can track logcat. The latter is a necessary thing, since the correction of errors when porting the firmware implies a "tinkering" in the kernel, framework, and substitution of files from the drain. I advise you to try to start porting MIUI first, the porting process is very accessible on one popular forum. In a number of problems, it is better to have JTAG with you just in case, since it is easy to “mimic” the phone with other radio modules and, sometimes, cores. Just remember that even the best port of the firmware will lose the firmware collected from the sources. Speaking of source codes: you can find the source codes (apparently kernels) for the G361H here: http://opensource.samsung.com/reception/receptionSub.do?method=search&searchValue=G361H

  • Thanks for the answer. So the processor architecture and RAM only affect build time? I will definitely try to follow your advice - Red Shaman
  • Indeed, otherwise the firmware will be compiled for a very, very long time. - odin