> Attention!

We strongly recommend to readRules section "Android - firmware"

New threads need to be created only inroot partition! In the future, they will be processed by moderators.



Samsung GT-I8160 Galaxy Ace 2 - LineageOS / CyanogenMod firmware (OS 5.x-8.x)
Select firmware
What firmware did you choose for yourself for everyday use?
LineageOS (CyanogenMod) 14.1 [ 270 ] ** [49,72%]
Resurrection Remix N [ 23 ] ** [4,24%]
AICP 12.1 [ 16 ] ** [2,95%]
Ultimate ROM [6.0.1] [ 12 ] ** [2,21%]
CyanogenMod 13 [ 80 ] ** [14,73%]
CyanogenMod 11 [ 57 ] ** [10,5%]
Stock firmware 4.1.2 [ 85 ] ** [15,65%]
Total votes: 543
 



Rep: (301)
Samsung GT-I8160 Galaxy Ace 2 - LineageOS / CyanogenMod firmware (OS 5.x-8.x)
PictureGT-I8160, GT-I8160P, codina, codinap
Description | Discussion пїЅ | FAQ | Purchase пїЅ | Accessories пїЅ | Marriage пїЅ | Firmware пїЅ | Official firmware (2.3.6) пїЅ | Official firmware (4.1.2) пїЅ | Custom firmware (2.3.6 / 4.1.2) пїЅ | Firmware MIUI V4 / 5 пїЅ | Firmware CyanogenMod 10/11 пїЅ | Development of firmware and kernels пїЅ | Owners Club | Topics for CyanogenMod 12/13

Important information!
  • The first installation of firmware (if the phone has not been flashed before) is carried out only on the official firmware 4.1.2.
Drivers and Utilities
FAQ
How to enter the recovery menu?
Turn off the phone and turn it on while holding down the Home, ON / OFF and Volume + buttons.
Where to get TWRP Recowery?
It is sewn into the kernels of custom firmwares and therefore it will appear on your device after installation.
How to activate forced reboot?
Clamp all device buttons simultaneously and wait for the screen to turn off (usually takes ≈10 seconds) and then release all buttons.
How to enable settings for developers?
Go to Settings>“About phone” and press “Build number” 7 times.
How to make a screenshot?
At the same time hold and hold the Home and Volume - buttons.
Will IMEI crash after firmware?
Not.
What to do if, after various manipulations with the firmware, IMEI still flies?
Follow this instructions to restore them.
How to get root-rights?
In firmware, they are already built-in. You can activate them in the settings for developers in the item “Superuser mode”.
Is it possible to install firmware through standard recovery?
Not. Custom firmware will not be installed due to the verification of archive signatures built into the recovery.
How to backup (backup) applications to restore them on a new firmware?
Using the “Titanium Backup” program, but in very rare cases, errors may occur in the operation of restored applications.
How to return to the standard (stock) firmware?
Install it through Odin. All details in related topic
Should I do a system cleanup when updating an existing firmware?
No, cleaning is optional. Just install it through the recovery on top of the existing one.
What are GApps?
GApps (Google Apps) are Google’s apps and services.
What to do if VPN does not work?
Copy file tun.ko of system / lib / modules at system / lib / modules / autoload and restart the phone.
Why, when choosing a 3G network mode, it sometimes automatically switches to 2G and how to solve this problem?
For some firmware in the settings, the “3G” mode means “2G + 3G” with the priority of the latter. You can fix this by choosing 3G mode in the settings, then dialing the code “* # * # 4636 # * # *” in the dialer, in the window that appears, go along the path “Phone Information”>“Set Preferred Network Type” and select “WCDMA only”
How to “overclock” a smartphone?
Overclocking is carried out using the built-in ChronoKernel firmware by increasing the processor frequency (by default 800 MHz with the possibility of increasing to 1245 MHz) and using a script for overclocking DDR (more details under the "Useful" spoiler).
Why did the 3G connection disappear in the firmware, data transfer does not turn on, and in the settings in the item “Communication module firmware” it shows “XXXX” and how to fix it?
This happened as a result of damage to the “modemfs” section in the phone. To return everything to its place, you need to flash the modem you need for this reference .

Note!
If you selected modems for CWM, then you can sew them through TWRP, but you have to do this 2 times. After the first installation, in the settings, the firmware of the communication module will be defined as “Unknown”, and after the second, everything will be as it should.
How to make Logcat if the phone is hanging on bootanimation?
Need to follow this instructions
What is memory re-allocation, what is it for, and what file to re-allocate?
This is the process of resizing memory in some partitions at the expense of others. It is needed because when installing custom firmware in the "system" section there is not enough space to install GApps. Of the presented selection of files for re-allocation of memory, I personally recommend choosing this one - CWM_ReParted_SY820_CA130_DA1800_SD1000
Instructions
CWM installation
1. Download the archive from CWM:Temporary CWM
2. Copy it to the root of the memory card
3. Go into the recovery (hold down the Volume +, Home and Power buttons simultaneously)
4. Use the volume buttons to select apply update from sdcard, the power button - confirmation
5. Select the archive with CWM and install it.
Installing firmware
1. Install the stock firmware Android 4.1.2 (if already installed, skip this item)
2. Download the firmware, GAPPS for the Android firmware version (5.1 or 6.0, put the gapps package at your discretion), as well as the Chrono corer2.24.7
3. Copy the firmware, GAPPS and kernel to the root of the memory card
4. Run a temporary CWM, install the Chrono r2.24.7 kernel, restart the recovery
5. Back up the partitions: click Backup and select Data, Boot and System
6. Next, click wipe and select system, data and cache
7. Click on Install, select the archive with the firmware and GAPPS
8. Confirm installation
9. Reboot the device
Firmware upgrade
Not in every case, you can just update, sometimes you need to install from scratch.
Firmware update examples:
1. Transition SM12.1->CM13. Since the firmware is incompatible, you need a "clean" installation, for this you need to make wipe system, data and cache in CWM / TWRP. Similarly for
SM13->CM12.1.
2. When updating CM12.1 / 13->CM12.1 / 13 from another developer, you need a "clean" installation, for this you need to make wipe system, data and cache in CWM / TWRP.
3. When updating CM12.1 / 13->CM12.1 / 13 from one developer, you don’t need to do wipe (unless the developer asks for it).
Note
WhenCM13 by SergeylThere are 2 types: Standard and Full.
Upon transition CM13 Standard->CM13 Complete, you need a "clean" installation (because the firmware is incompatible), for this you need to make wipe system, data and cache in CWM / TWRP.
Similarly with CM13 Full->CM13 Standard.
When updating the firmware of one type, wipe does not need to be done (unless the developer asks for it).

If you decide to roll back to the stock firmware 4.1, go tothis topic. Firmware and instructions are in that topic.
Firmware
Android 9.0.0 Pie
Android 8.1.0 Oreo
Android 7.1.2 Nougat
Android 6.0.1 Marshmallow (Deprecated)
Android 5.1.1 Lollipop (Deprecated)
Google apps
Useful
Polls
1.
Attached Image

2.
Attached Image

There is no curator in the subject. If there is a user in the subject who wants to become a Curator and the correspondingRequirements for candidates, he can apply by creating a new topic in the sectionI want to be curator(having previously studiedRules and recommendations for curators).
Prior to the appointment of the curator, on filling caps, please contactmoderatorssection through a buttonPictureunder the messages to which you want to add links.


Post has been editeddestroyer71 - 24.08.19, 04:04
Reason for editing: editing



Rep: (1)
Art2000 @ 25/06/18, 20:56*
Well here according to their needs, in the name of the specified partition size. SY - System for franca take the 820 (although it may be enough to 750, but this is not accurate)




ADDITION:

Not wait. I waited for 40 minutes. Previously, though the Android logo was now focused on the Samsung GALAXY Ace 2 GT-I8160P and everything has calmed down.

Well that "play" with TREHFAYLOVOY FIRMWARE STILL WORKS SO PEREPROSHIVAYA restores ANDROID 4.

So again, just as amended by Art2000. I ask to see it all in person by Sergeyl, and / or those who understands this:

1. So filled on SD zip-files to the card:
a) chrono_kernel_r2.24.7 (downloaded from Drove 007 Post # 7335)
b) CWM_ReParted_SY820_CA130_DA1800_SD1000 (downloaded from the link Art2000)
in) HDPI_miniGAPPS-7.1.1-20170108 (downloaded from Sergeyl, Post # 5996)
g) lineage14.1-20180622-UNOFFICIAL-codina_SergeyL (downloaded from Sergeyl, Post # 5996)
d) swap_boot_cm14_20180622 (downloaded from Sergeyl, Post # 5996)
e) update (downloaded from Drove 007 Post # 7335).

2. Went to rekaveri and installed CWM rekaveri, a file named update.zip.
3. Then a set rekaveri without rebooting the kernel installed Chrono r2.24.7, a file called chrono_kernel_r2.24.7.zip.
4. Restart in rekaveri, although again it flooded in Android, but I again without becoming interrupt, turned and booted in rekaveri.
5. Next, the "install">"Close zip from / storage / sdcard1", select the file to re-initialize the memory, namely a file called CWM_ReParted_SY820_CA130_DA1800_SD1000.zip and installed it.
6. Next, I went to "Wipe / format options">"Custom format options" and cleared sections of "system", "cache", "data" and "sdcard0" (in the "vfat"). Since both have Drove 007.
7. Then he went to the "install">"Close zip from / storage / sdcard1" and set your, SergeyL, firmware LineageOS 14.1 (7.1.2 Nougat) version of 06/22/2018, file called lineage14.1-20180622-UNOFFICIAL-codina_SergeyL.zip .. The installation was kak very fast, very well. I do not remember details, but it was cheto Tipo Done. If I am not mistaken it is canceled. I apologize for the lack of English. Although I have nothing to not press and do not repealed. But for the first time when the installation is stuck on the android logo, your installation, SergeyL, firmware lasted much longer and in the end was OK.
8. I Done this is not knocked off the current. So I installed "Kernel Memory change" file called swap_boot_cm14_20180622.zip., Well, GApps (file called HDPI_miniGAPPS-7.1.1-20170108)
9. Restart, and then hung on the Samsung GALAXY Ace 2 GT-I8160P 40 minutes.
10. By means of the 3 file system, yet surprisingly works to flash on Adroid 4.

Where this time the error?

In advance thank you all, especially the one who will help me.



Rep: (970)
* kvasov84,
1 through one PlugThe core of Chrono. for Odin.
2 sew one firmware Sm14.1
3 From TVRP that comes with firmware do wipe Systems, date, Cash and SD0. Sews archive re-initialization. better CWM_ReParted_SY820_CA130_DA1800_SD1000
4 After the re-initialization set memory. wipes are doing Systems, cache, date, and the SD0 ramdisk. If you wipe a crowd these areas will pop up an error which the field is to make this area a wipe separately at the same time specify the file system. To all areas eht4 for SD0 fop.
5 sews on a new Sm14.1 + franca. and smoke 25 minutes Tip franca Putthese
Fast and no hemorrhoids. :)

Post has been editedSergeyl - 26.06.18, 07:57



Rep: (151)
* Sergeyl A bit too much time for a smoke)
And my man, as a newcomer - could offer to put the last 11 CM if he needed power and performance. Well, if so, on klatsat - What CM 13-15.

And you point the way on which firmware put some overclocking. And now he will set the CM 14, and will be something out of style "I lag, sho do"

Post has been editedjohnmart - 26.06.18, 08:10



Rep: (970)
Google Apps 7.1.2 [HDPI] (240DPI)
What did you do . And the difference withOpen Gapps Pico
Revision as of 17.02.2019
+ Updated Apps and Google Apps services
+ Google removed com.google.widevine.software.drm

Revision as of 17.02.2019
Download https://yadi.sk/d/1Y13VMnal7p2qg

it was made
Revision as of 10.07.2018
+ Updated Apps and Google Apps services
+ Removed GmsCoreSetupPrebuilt - This Google decided to abandon themselves to versions 7.1.2 and 8.1
+ Upgrade your permissions for system applications and Google Apps services
Revision as of 25.08.2018
+ Updated Google apps and services
+ Added permissions for system applications and Google Apps services
Revision as of 26.06.2018
+ Updated Google apps and services
+ Removed GoogleSetupWizard
+ Removed Google TTS
+ Removed liby keyboard, they are built into the firmware we
+ Translated installation in a normal appearance. To improve add, update, and delete apps.

Older versions
The old version of 01.08.2017 - This is the analog version CDA but with slight modifications.
Download https://yadi.sk/d/xRzy9twK3839wA
Revision as of 10.07.2018
Download https://yadi.sk/d/2CpxHw4NmHmWSg


Archive with Google Apps will update when new services or programs from Google for Andryusha 7.1.2

Post has been editedSergeyl - 17.02.19, 15:09



Rep: (1)
Sergeyl @ 26.06.18, 05:49*
1 to slide the nucleus through one Chrono. for Odin.


Thank you Sergeyl for step by step instructions, but you see, I go with Android 4.
I even 1st paragraph can not do, a screen attached.

Nevermind. I'll wait for step by step instructions from anyone with pictures, etc .. As a "newbie" to me quite difficult to understand and to do that you have specified.

Still, and thank you for the time allotted to me.

Attached files

Attached fileNew bitmap.bmp(5.93 MB)



Rep: (203)
* kvasov84,
One of the caps is better to take with the new can be a problem



Rep: (151)
Manual [FAQ] for beginners who want to install Android 6.0, 7.1.2, 8.1.0, etc.

Attention! Be sure to read!
For normal use custom OS 5.0+ device must be SD card. Without it, the phone does not work properly, and there are various problems and performance degradation. It is recommended to use the 10th class and above SD card.

If you do not have an SD card, or it is slow, then it is recommended to set the CM11 (Android 4.4.4) by Ace2Nutzer. Link to XDA (Eng.):Originator (clickable)

Also, do not forget to do wipes are System, Data, Cache and Ramdisk during the transition from one firmware to another. Also be sure to format the internal memory (Sdcard) in vFat (Fat32)
Step 1) Install TWRP rekaveri:
1) Put a temporary CWM: Attached fileupdate.zip (1.86 MB)

2) Install the latest kernel from Chrono
Attached filechrono_kernel_r5.9.1.zip(16.46 MB)

3) Reboot knitted in rekaveri

As a result, we have TWRP rekaveri.
Step 2) The DVR Preparing to install custom firmware:
1) Download all the necessary files, and throws an external memory card.
We will need:
Kernel (Kernel)
Firmware
And a set of Google (Play Market, Google's services, etc.) - called Gapps.

2) Make a re-initialization (that has got a new system into the phone):
For those who are using the SD card:
Attached fileCWM_ReParted_SY820_CA150_DA2733_SD150.zip(144.96 KB)

Flash, go to point Wipe ->Data, Cache & Dalvik.
After that manually clean the sections:
System, Data, Cache, Sdcard (in vFat) and Ramdisk in ext4.
Step 3) Install Firmware:
Option 1) system from SergeyL
To install the system fromSergeyL do the following:

1) Throws on cell phones, Gapps core and memory change.
P.sThe kernel before it unpack the archive should be just boot.img.
2) Set the system in a conventional manner
3) Set Gapps
4) Set up after the replacement of the core memory:
TWRP - Install - in the lower right corner select the flash image ->select the core ->select the section Boot ->flashing.
5) Click Reboot System Now, turn on the system and wait.

P.s This is a very long process, be patient. Up to 40 minutes.


Option 2) from the system Chronomonochrome
To install the firmware from theChronomonochrome do the following:

1) Download firmware kernel and Gapps.
2) Go to Recovery
3) Making a Wipe:
System, Data, Dalvik Cache, Cache and Ramdisk
4) Set the firmware
5) Make Wipe section Ramdisk
6) Install the latest kernel (comes bundled with the operating system, in the same store in the FTP folder (download location))
6) Set Gapps
7) Reboot System Now
8) Again, the long wait for the first inclusion.
Attention: We do it all through TWRP.

Since the new system strongly greedy - you need to break up the phone.
Instruction
To do this, go to "Settings" - On the phone - press on the item "Build number" about 10 times until it writes "Developer Options enabled" - Squeezes ago - enter the item "For Developers" - include Ruth access.

Come in Chronokernel Settings ->You choose - CPU ->Maximum frequency ->1100 MHz (most optimal)
Choose Scheduler - Interactive
Next - zhmete ago ->enter the GPU item ->Maximum frequency ->700 mgz
Flipping to the end, find a point with the RAM word in the title ->put 32mb

All firmware, re-initialization, the kernel and we Gapps throws on an SD card (external) until all the manipulations.

First start really long, you just have to wait.

For those who nakosyachil and erased the external memory card - in rekaveri to Mounts and Storage Select Enable MTP (Suddenly off) Connect the device to your PC, and throw off everything you need.

I take no responsibility for your actions. All performed steps are made at your own risk.

Post has been editedDrove 007 - 26.06.18, 17:09



Rep: (160)
Installing SuperSU on firmware with the Chrono core
In case, if someone does not hit a built-in LOS / CM Root


Installation of. Chainfire archive of the latest version results in an error that Boot image patcher can not find the kernel. This is due to the unusual structure Chrono nucleus. For the same reason, do not install and Magisk.

Therefore, there are two options:
  1. Setting modeSystemMode (not to be confused with SystemLess !!!), where the Boot image patcher cut. I recommend the latest beta of 2.82-SR5. В® SuperSU (Post Displax # 49966576)
  2. Set oldversion 2.46 (mirror)



Rep: (151)
* Daeril , This is certainly and so obviously well done that tried)



Rep: (160)
johnmart @ 27.06.2018, 15:14*
obviously
Of course, because it was written not for the old-timers on this topic. After all, as in the header of information on this subject was not.



Rep: (151)
People, those who should last AICP 7.1.2, and the latest from Gapps SergeyL, look in the settings as you eats RAM system? I need it to assess - is there really gain from my add-ons or not?

Attached Image



Post has been editedjohnmart - 29.06.18, 13:41



Rep: (195)
* johnmart I have earlier LOS14.1 same thing happened.



Rep: (970)
Updated firmware lineage-15.1
Revision as of 29.06.2018 - Any changes in my post.
I advise everyone to avoid undesirable shoals. This firmware to put on a clean system. avantyurin you are not threatened, but will have to update the system: thank_you: for tests.
Successful tests.

PS Most likely the firmware will be published in the optimization of The Code. But it is not certain, since the flaws found in the new code, try to bring deodeks to the desired performance.

Forgot to write in the Proper added some optimization of their GO mode must be activated to work who need it
# Ro.lmk.medium = 700
# Ro.lmk.critical_upgrade = true
# Ro.lmk.upgrade_pressure = 40
# Dalvik.vm.madvise-random = true

The first three is for the treatment and care in the use of chips lowmemorykiller core. For me works fine on heavy applications.
Last it reduces the cache for the applications. In fact, without a useful thing in full mode. But you can test yourself.
And soavantyurin These fixes tests already, and that can accomplish your goal for them.

Forgot to write a firmware uvilichenie, it will not fit in the layout 820 systems if put franca. A little later, I will make a new repartitioning. or put Microgen

Post has been editedSergeyl - 30.06.18, 08:26



Rep: (151)
The latest firmware weighs 811 MB in the / system during installation. Make sure it's worth re-initialization of more than 850 mb, or the system will not fit.
I used this re-initializationAttached fileCWM_ReParted_SY1050_CA130_DA1000_SD760.zip(144.98 KB)
But she do not like me. Due to the fact that I yuzayu SD external card ...

Who can remake?
It is necessary to saw SD (80 MB to do), picked up from a cache and 30 MB, and all this added to the / Data

Post has been editedjohnmart - 30.06.18, 09:53



Rep: (13)
* johnmart ,
Attached Image
and in no problems. Only have to frequently clean the RAM, and the Developer settings are no longer the three processes



Rep: (432)
johnmart,
Here are my parameters change memory and do not use gapps'y

Attached Image


In about tweaks Go-mode - slow down and thought system when using third-party software heap has not yet been observed. Tel Robit fast.

Post has been editedavantyurin - 30.06.18, 10:24



Rep: (970)
New Memory Partitioning for installation of firmware starting from 7.1.2.
Remade especially for the installation of a newSM15.1 + franca .

Installation as always
1. Put the three firmware file runoff. Or sewn anew pit file from it.
2 Put the core from one to Crono.
3 I restored the backup SM15.1 with firmware SM14.1 as she climbed into the standard area / system
So to set the archive re-initialization firmware SM14.1 I used, can also be put on the old way through the core from a temporary rekaveri Chrono. And then proshivt new archive.
4 Make wipes are systems, data, cache, ramdisk, SD0
5 firmware and sews franca. Or simply restore the firmware if there is a backup

This pereazmetka should go and firmware from the Chrono.

DownloadAttached fileCWM_ReParted_SY920_CA30_DA1800_SD1000.zip(144.99 KB)

Successful tests. V with SM15.1 add later

Post has been editedSergeyl - 30.06.18, 11:16



Rep: (68)
* ChronoMonochrome , Hello! Like your build, but I can not fix the bluetooth after installing the kernel versions 6.0 and 5.9. At the core of any version (I mean cronokernel) do not have this problem?



Rep: (631)
* Samsung_GALAXY_Ace_2,
r6.0 - is irrelevant experimental kernel build. About the assembly which firmware is it?
UPD. Saw your post about the assembly based on the Android 6.0.1 (it is not available) - As far as I remember, there was a problem only if you disable bluetooth, but not when you turn.

Post has been editedChronoMonochrome - 02.07.18, 15:49



Rep: (10)
That's the question we must ask is not in this thread, but ... Is it possible to port Android Go to our aid?


Full version    

Help     rules

Time is now: 18/10/20, 8:27