yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] ChronoMonochrome:
A formatting of sdcard is needed to get rid of these weird-looking volume labels.
[Galaxy Ace II Android Development] yhapyhapets:
should i format it to phone or remove my SD and Format it to PC

---------- Post added at 01:29 AM ---------- Previous post was at 12:55 AM ----------

i formatted it using my PC and it's still the same..

---------- Post added at 01:37 AM ---------- Previous post was at 01:29 AM ----------

oh i figured it out i must rename the SD card hehe
[Galaxy Ace II Android Development] yhapyhapets:
[MENTION=5695278]ChronoMonochrome[/MENTION] sir can i ask how can i remove this.. the trashcan icon.. cause it refreshes the UI

https://ibb.co/cEkMsw
[Galaxy Ace II Android Development] yhapyhapets:
[MENTION=5695278]ChronoMonochrome[/MENTION] also is there a link for xposed for this ROM iv'e been restoring and restoring lately because the xposed i installed is not compatible.. T_T help
[Galaxy Ace II Android Development] ChronoMonochrome:
1. Use Slim recents instead of AOSP recents (can be found in Ulti Extras).

2. There is no Xposed compatible with the current build, will be fixed in the next build.
[Galaxy Ace II Android Development] yhapyhapets:
that's explains why i get boot loop ehehe thanks..

one more thing the bluetooth isn't working
[Galaxy Ace II Android Development] Tree4ever:
Patch still 20160906 or newer?
[Galaxy Ace II Android Development] ChronoMonochrome:
Nope, the security patch string is simply was never getting updated since 20160906. The source base is 6.0.1_r78, so the actial security patch string should be about of April 2017, when it was released. But thanks for noticing, it's anyway means that the sources are outdated now, so it's a good point to update them to the latest Android 6.0.1 version.
[Galaxy Ace II Android Development] Kinetix2:
Hello, guys!

I am trying to replace the stock rom (4.1.2) with something newer and stable (like UltimateROM-6.0-20171201-codina) on a Galaxy Ace2 gt-i8160p.

The old JB 4.1.2 crashes often, and freezes when I start the wifi or mobile data. A lot of apps try to get online, probably, although I did all that I knew to cure that.

I have read through the pages of this forum, but I am kinda lost, cause I know too little of the technical language you are using.

After downloading a whole list of software archives, I am stuck at installing TWRP. I cannot find a suitable version of TWRP for my phone on their site. In the 2.8.6.0 version archive downloaded form this forum (i guess) there is no .img file.

For now, I cannot add a picture from my PC to the message.

It seems that I only managed to root the phone until now, but nothing else.

Would you please guide me, step by step on the process of installing the new ROM?

Thank you!
[Galaxy Ace II Android Development] :
Step by step guide: (You can also go to A2N ROM + Kernel thread for much more performance):

1. Flash temp CWM

2. Flash ChronoKernel (this will install kernel and TWRP)

3. Reboot recovery

3.1. Install repartition zip (if you want more space or required when installing with Gapps)

3.2. Format /system, /data, /sdcard (not your removable SDCARD!), /cache

4. Install ROM, Gapps and any patch or zip you want

5. Reboot and see your ROM booting :)
[Galaxy Ace II Android Development] :
Rooting Samsung Galaxy Ace 2 HELP

Hi there

I would like to install this ROM on my Samsung Galaxy Ace 2 but I have not rooted my phone as yet. I have had a good look through the forums to find how to do it but appears that most of the posts are old and the links to the software are dead.

Could anyone please help me out and provide me with the correct programs/guide to root the phone.

Any help would be much appreciated. :victory:
[Galaxy Ace II Android Development] shaqman89:
You don't need to root your phone. You do need custom recovery, though. Twrp is recommended with this rom.
[Galaxy Ace II Android Development] :
Thanks - do you have a link for the flashable zip file for the recommended version of Twrp.
[Galaxy Ace II Android Development] shaqman89:
It's there in the OP. Please read it.
[Galaxy Ace II Android Development] :
No probs thanks. One more thing are you able to direct me to the appropriate Gapps file to install with this ROM. Thankyou.
[Galaxy Ace II Android Development] shaqman89:
I always use the pico package from opengapps.org. Should be good for most cases.
[Galaxy Ace II Android Development] :
Thanks for the help. Just one more thing does the Ace 2 run on ARM or x86?
[Galaxy Ace II Android Development] atakan33:
arm
[Galaxy Ace II Android Development] Kinetix2:
Hello again guys.

bien2004, thanks for your kind and concise reply.

I have some questions though. Some are about why, but the most are about HOW.

So, let me begin:

- Why must I flash CWM and ChronoKernel (that has TWRP in it)? Do we need 2 programs for recovery? I would like to stick to TWRP, but did not find the apropriate version for ACE2 on their site. Does the ChronoKernel have it?

- How do I flash ChronoKernel? Do I copy it on the phone and then tap on it?

- Where must I instal repartition zip? Can't the new OS work without it? Can it be installed later?

How can I post an image from my computer here, cause I see no button around...

Yes, there is a beginner here, working in the public health service... So not too much programming knowledge unfortunately. Please take that into account.

Many thanks.
[Galaxy Ace II Android Development] shaqman89:
1. You only need one custom recovery (Cwm and twrp are both custom recovery). For this ROM, it is preferred to use TWRP. Yes, this phone doesn't have twrp official support, that is why you couldn't find it in the site. And yes, Chrono has a version built for this phone.

In case, you are coming from stock, only temporary Cwm could work from stock recovery, thus the reason why you might need both. It won't be the case if you already have a custom recovery.

2. You need a custom recovery to flash chronokernel. Alternatively, you could also flash it using Odin via download mode.

3. Also via custom recovery. The new OS could work with it, but you won't be able to install many apps, if at all due to the small size. Repartition allocates unneeded space so we could use it to install apps. And it's preferable to do repartition first, since it formats the data. Doing it later would only mean you get a factory reset, and reinstallation of the ROM.
[Galaxy Ace II Android Development] Kinetix2:
Thank you, shaqman89.

So to flash first this "temporary CWM" seems to be a must, as bien2004 pointed also. I'll try to do that first, then the CHronokernel. But I have find out that there are some Odin versions (Odin3 v3.12.3, 3.11.1, and Odin Multidownloader v.4.44) in my software collection. Which way would be more failproof, with temp CWM or with a certain version of Odin?
[Galaxy Ace II Android Development] shaqman89:
The Odin available from: http://www.xda.mister-freeze.eu/XDA-files/ace2nutzer/GT-I8160/General/ should work.

There is also temporary Cwm there.

Both should work flawlessly as long as the files are not corrupted.

That being said, temp cwm should be safer since there are less options to play with.
[Galaxy Ace II Android Development] Kinetix2:
Thanks for the link, shaqman89.

I've managed to download the temp CWM from there and then installed. After that, installed chronokernel r.5.6.1.

Now follows the repartition.zip step. Not sure where to find the right version or how to install it. Should I use the recovery button combination also? I did not use Odin yet.

Then the format step is more unclear to me. I would need some detailed advice.

Thank you very much.
[Galaxy Ace II Android Development] shaqman89:
Please refer to step 2, and step 2a for repartitioning: https://xdaforums.com/galaxy-ace/ace-2-develop/kernel-ace2nutzer-kernel-20141027-t2920365

And then, from the same guide, refer to step 3 for installing.

Of course, with using the files that you have gathered.

To summarise:

1. Boot to temp cwm

2. Repartition (with details in step 2a). Note: don't forget to backup any data. Everything, including rom would be lost.

3. Reboot to recovery, should still be temp cwm

4. Install Chrono kernel

5. Reboot to recovery, should be twrp, install twrp first, if not

6. Install this rom

7. Install gapps

8. Reboot to system and wait.

No Odin is involved using the steps above.
[Galaxy Ace II Android Development] Pedroc1999:
Hello all,

I have installed this, and have had a few issues. Firestly, clicking the "Clear AlL" button in the recents causes a SystemUI FC.

Secondly, I would REALLY like a way to have the stock capacitive buttons be like modern Android devices, with the Recents/Home/Back layout, without the need for a Menu button.

Would this be possible? I can fetch logs if necessary
[Galaxy Ace II Android Development] Kinetix2:
Hi, guys!

I'm stuck again. After I read the post in that link, and downloaded the files that are suggested to be used for this job I tried to finalize, but I have yet to work.

What I did (or I think I did):

- installed temp cwm

- installed chrono kernel. At some point, the tempcwm was replaced with twrp at reboot.

- installed cwm-cm11-partitions-layout-sdcard-only.zip

It gave me an error:

Reparting...

Done!

Updating partition details...

Failed to mount '/cache' (no such device)

Failed to mount '/data' (no such device)

Failed to mount '/sdcard' (Invalid argument)

...done

I presumed that the repartition step went well, so tried to install chrono ROM, but it gave me other error (error 7), linked to the inability to mount cache, data and sdcard.

I am not sure how to proceed from this forward.

When I try to format (I guess), after hitting the Mount button in twrp, there is a list (Select Partitions to Mount) with something like Modem, System, Data, etc, but I cannot tick all the boxes. Why is it?

Thank you for continuing the assisting process.
[Galaxy Ace II Android Development] Pedroc1999:
Personally, Reparted WOULD ONLY WORK from the temporary CWM.
[Galaxy Ace II Android Development] ace2nutzer:
i want to add that it's very very important to reboot to recovery after the script was executed and

then

to format data, system, cache and sdcard0 ! -

After

that it should be possible to mount system, data and so on.
[Galaxy Ace II Android Development] :
No, it doesn't work on temporary CWM. It is only tested on ace2nutzer's kernel with CWM. TWRP will not work and may cause unexpected results.
[Galaxy Ace II Android Development] Kinetix2:
I tried to start the process all over again.

It seems though that I've made some critical mistakes previously, cause it doesn't go as expected.

Now it goes like this:

- boot into recovery (using the three button combination), it automatically starts the twrp

- I choose to install temp cwm from sdcard. It does, and next time temp cwm starts

- I choose the repartition zip file, the process begins, but those errors appear (no cache, no data, no sdcard detected)

- next boot recovery starts with twrp...

When connect the charger, no charging indicator appears as before.

At some point it warned me that no OS is installed. I must have deleted it before backing it up, in spite that as I was advised to do so (but unintentionally), so there is no turning back for the moment. Should I try to copy the official JB 4.1.2 on the external sdcard, and try to reinstall it through twrp?

Or what else?

Why can't I post pictures here?

Thank you!
[Galaxy Ace II Android Development] :
You don't have enough 10 posts, so you are not able to post pictures.

You MUST do repartition with ace2nutzer's kernel with CWM (for 100% success) or with TWRP (not tested and can cause unexpected behaviour). Doing with temp CWM is not supported.
[Galaxy Ace II Android Development] Kinetix2:
Some progress here:

- installed a2nutzer's kernel

- booted into CWM, then installed CWM-CM11-partitions-layout-sdcard-only.zip. Rebooted.

- did the repartition process in CWM after reboot. Reboot again.

- installed chrono kernel

At some point, the charging indicator returned.

- booted into twrp and then tried to install chrono ROM.

After a few minutes, the message was: Failed

It skipped the md5 file checking (I don't know how to make a md5 file from that code in the list of downloading files).

symlink: some symlinks failed

Updater process ended with error 7.

Updating partition details...

Failed to mount sdcard (invalid argument)

...done

Where did I mess up?

Thank you!
[Galaxy Ace II Android Development] :
You have used CWM-CM11-partitions-layout-sdcard-only.zip, it is not enough for /system partition, only 580MB. Try it again with 750MB one.
[Galaxy Ace II Android Development] Kinetix2:
Hi, bien2004.

I don't remember to be ticked a 580MB box anywhere... I have just installed that partitions-layout-sdcard-only.zip. I thought it would do the right partitioning for me. Seems it didn't.

When boot into twrp and connect the phone to the laptop through usb cable, Windows7 sees it as having two partitions: microsd (the external removable card), and a sdcard of only 980KB, not even a MB. Why is it like this?

Also, in twrp - mount- select storage it shows me two partitions: Micro SDcard, with the correct amount of memory, and SDcard with zero MB. It seems like the partitioning process must be reworked, but I am not sure how to do it.

If boot in CWM, then mounts and storages - format/storage/sdcard0 - vfat- it gives me only two options: No, and Yes, format device. If I choose Yes, it says Done formatting /storage/sdcard0 (vfat) and brings me to the previous mounts and storage menu. Apart from this, nothing changes.

What should I do?

Thank you.
[Galaxy Ace II Android Development] ace2nutzer:
U can't use 4.4.4 layout for 6.0.1 Android, so u've to modify it or just use an appropriate one already modified by bien2004.

Other than that, everything normal.

mount points of sdcards are swapped but not on recovery.

Internal sdcard0 is reduced to 1024kb. Its space of 1.1GB is moved to /data Partition in order to make it possible to install more apps..

On cm11 layout u've 3GB instead only 1.2GB for apps, but on this Rom u'll have slightly less space for apps, because this ROM is bigger and need more space on /System partition.
[Galaxy Ace II Android Development] Kinetix2:
Hi, ace2nutzer.

Thank you for taking time to clarify this.

I understand that one of my mistakes was that I paired two files intended for different versions of android. So later I tried to install your 4.4.4 based ROM, using CWM, but it failed.

After that, I tried to install the original 4.1.2 DBT (JB) version, downloaded from xda server. It failed again. Tried again to put the phone in download mode using twrp, but it doesn't work. So now I can't even use odin3 to re-install the official OS.

The missing symlinks and error 7 occurs all the time.

As I have already said, I don't have any knowledge in programming, so I can't diagnose the phone or modify a file unless I receive help.

When connected to PC and rebooted, the phone keeps displaying the Samsung GALAXY Ace2 GT-I8160p logo for about 25 seconds, disappears, an then appears again, and so on.

I can re-install chrono's or ace2nutzer's kernels and reboot into twrp or CWM as many times I want. But I am stuck at this level.

I sincerely thank you all for your patience with me, but I am almost ready to give up, and I feel that I am wasting your time too ...
[Galaxy Ace II Android Development] ace2nutzer:
[MENTION=8804084]Kinetix2[/MENTION]

i only can suggest to start completely from scratch. That means if your Model is GT-I8160P, then flash with ODIN this ROM:

Source: http://www.xda.mister-freeze.eu/XDA-files/ace2nutzer/GT-I8160/Stock_ROM/

1. LK2

then

2. ME1

then start with step0 from my CM11 thread. (which will let u install latest stock rom first)

But if your model is GT-I8160, then u need to flash this 3-parted:

https://yadi.sk/d/sT4T9ZEWCx6W3

then preceed with step0.

Here's little how-to how to flash properly a 3-parted ROM with ODIN:

(*.tar.md5 files)

HOME file into PDA

CSC File into CSC

.pit file into PIT

Check boxes:

http://www.xda.mister-freeze.eu/XDA-files/ace2nutzer/GT-I8160/General/odin.png

for normal stock ROM and for 3-parted ROM the checkbox "Re-Partition" will be selected automatically once u load the *.pit file into PIT.

Once everything is done u can start to fash it.
[Galaxy Ace II Android Development] :
I am busy for now, so I can only give you these warnings:

- Don't install this ROM on CWM. It may fails with these errors:

+ "Operation not supported on transport endpoint"

+ "Some symlink failed" (But 80% is no space left in /system)

- But only do repartition on CWM because CWM is the only recovery that is tested repartition working.
[Galaxy Ace II Android Development] Kinetix2:
Hi, guys.

I've tried to follow the process to the best of my ability.

- downloaded and unzipped odin3 v3.07

- downloaded and unzipped DBT-I8160PXXMG2-20130820164646 file. A file with a very long name resulted: HOME_I8160PXXMG2_I8160PDBTMG2_I8160PXXMG2_1106830_REV00_user_low_ship.tar.md5

- pressed PDA button, then the above file was chosen

- boot the phone into download mode, with the external sdcard removed.

- received the message of successful md5 checking in odin

- connected the phone with the usb cable. odin recognized the phone, then pushed Start button.

The download process began with the blue bar. After the end, reboot and a half of the phone's display full of red errors:

- failed to mount system (invalid argument)

- failed to mount data (invalid argument)

- failed to mount cache

- can't mount / cache/recovery/last install

- can't open /cache/recovery/last install.

After reboot, the message in odin was Pass!, wit a green background.

At reboot, the phone is stuck at the white logo Samsung GALAXY Ace2 GT-I8160p.

What to do next?

Thank you.
[Galaxy Ace II Android Development] ace2nutzer:
@ up

read my previous post carefully again, u've to flash first 3-parted Stock ROMs before u proceed with "step0" !

(the 3-parted ROMs will fix all your errors u did! - Only pay attention to the right Model, P = with NFC or non-P = without NFC !)

(if u flash a P rom into non-p or viceversa u'll probably brick your phone! - [Then Download mode will not work anymore ... and u need professional repair service!!!)
[Galaxy Ace II Android Development] Kinetix2:
Hi, ace2nutzer.

Thank you for supervising my work.

My mistake. I did only what I have understood.

What does LK2 and ME1 stand for? What am I supposed to do with these two? Google didn't help me much...

My model is a P-one. Isn't the stock ROM that I've chosen the right one?

Thank you.
[Galaxy Ace II Android Development] ace2nutzer:
Hi,

then u've to flash first "LK2" Stock ROM then "ME1" and then finally "MG2", (LK2 is just the codename of the version..)

HOME_I8160PXXMG2_I8160PDBTMG2_I8160PXXMG2_1106830_ REV00_user_low_ship.tar.md5

U can find them here:

http://www.xda.mister-freeze.eu/XDA-files/ace2nutzer/GT-I8160/Stock_ROM/
[Galaxy Ace II Android Development] Kinetix2:
Thank you again, a2nutzer.

I've followed your instructions to the letter, and my phone started to live again. Now it has Android 4.4.4 installed. Cool!

And now the 1 million points question: how can I install (or upgrade to) Chrono's ROM from this thread and not end up with those errors again?

Thank you all!
[Galaxy Ace II Android Development] :
First, do not install ChronoKernel yet.

Then, reboot to recovery.

You must flash the repartition ZIP noted in OP.

Then reboot recovery, factory reset the phone and format /system.

Now reboot recovery again and flash this ROM as right steps as noted in OP!!!
[Galaxy Ace II Android Development] Kinetix2:
Hi, bien2004.

I will try to download and flash that zip file you mentioned.

But what is OP?

Thank you.
[Galaxy Ace II Android Development] gothicVI:
Op, depending on the context, is either the original post (first post(s) in a thread) or the original poster (the person who started the thread).

Gesendet von meinem Moto G 2014 LTE mit Tapatalk
[Galaxy Ace II Android Development] Kinetix2:
Thank you for clarifying, gothicVI.

bien2004, I did everything you said. The final procedure was a wipe cache one.

Now Chrono says in the first post to make sure that we use twrp2.8.6.0.

What I did:

- reboot recovery - CWM started

- install zip - installed twrp_2.8.6.0_190415 - went well

- went back and reboot recovery (in CWM)

- now is stuck in CWM saying rebooting recovery...

- then I reboot recovery using the three buttons and it reboots again in CWM. No twrp yet, although i've just installed it.

What shall I do now?

Thank you.
[Galaxy Ace II Android Development] :
There's no need to install that one. Installing ChronoKernel will also install TWRP.

(Don't see the version, although it is 2.8.x.y or 3.x.y)
[Galaxy Ace II Android Development] Kinetix2:
Hi, guys.

Here we go again. Failure...

I've installed ChronoKernel r.5.6.1. No errors. Reboot with twrp.

Then tried to install UltimateROM-6.0-20171201-codina. The process started with a few red lines of errors, like "can't mount sdcard" and so on, continued for a few minutes, ended and did a reboot.

The white Samsung GALAXY Ace 2 appeared again, then restarted again and again by itself.

Should I have flashed the ROM with odin or what is happening?

Thank you.
[Galaxy Ace II Android Development] Beso:
What is the cleanest and fastest rom for ACE 2?

tnx
[Galaxy Ace II Android Development] atakan33:
ace2nutzer's cm11 or Chrono's cm11 with f2fs.probably second one
[Galaxy Ace II Android Development] Kinetix2:
Hi, guys.

I've finally managed to install Chrono's Ultimate ROM.

It worked with the 750MB repartition zip.

After the ROM, I've flashed mini gapps.

The phone started, Android started also. Tried to connect to my home wifi router but couldn't because "Android keyboard (AOSP) has stopped", and couldn't write the password. Did a reboot, but the same problem occured. What can I do?

Thank You all for suggestions and support.
[Galaxy Ace II Android Development] knosso:
I'm not proposing a solution but a workaround: flash aroma opengapps and select Google keyboard (the result should be almost the same of flashing the pico gapps except for the keyboard) . As an alternative you can place another keyboard apk as system app through the recovery but I don't remember the exact path. I've had your same error only with a kit kat AOSP rom.
[Galaxy Ace II Android Development] Kinetix2:
Thank you, knosso, for your suggestion.

I suppose that open gapps is an application that can be found in Google Play, but I cannot access Google Play with the phone, cause I cannot write the password of the Wifi home network. So I suppose I should download that package in another way, and then to put it on the phone's sdcard to be flashed.

I will try that.

Is there any other way to activate android keyboard? I simply cannot use the newly installed ROM without a keyboard...

In the settings - apps - Android Keyboard (AOSP) there is no Clear Cache button. There is only Disable and Force Stop.

Thanks.
[Galaxy Ace II Android Development] shaqman89:
Opengapps is a flash able package. You could get at opengapps.org. Then you could flash the resulting zip via custom recovery.

Anyway, if it's a keyboard you're having an issue. Go download a keyboard (eg: SwiftKey) from apk mirror, then copy it to your phone memory card. From your file manager, just open the apk and then you will have a keyboard to play with.
[Galaxy Ace II Android Development] Kinetix2:
Thanks, shaqman89.

I've tried to install no less than 7 types of keyboard app from apkmirror: 5 versions of Samsung Keyboard targeted for Android 4.0 and up, one version of SwiftKey, and one version of Android Keyboard (AOSP).

All failed...

Tried to flash a mini opengapps zip file for Android 6.0 and failed too (error 70, not enough space on system and so on).

Is there something wrong with the ROM installation that I should check out?

Thank you.
[Galaxy Ace II Android Development] shaqman89:
Could you post the result of the df command from adb?

adb shell df
[Galaxy Ace II Android Development] Kinetix2:
I am not sure what you mean (technically), but I am attaching a screenshot after enter into recovery (twrp) - advanced - terminal and typing df. Is this what I should have done?

Thanks.