yashsingh1/xdaforums huggingface dataset:
[Galaxy Ace II Android Development] ChronoMonochrome:
GApps aren't personally tested by me, but I guess, you'll need those provided by SergeyL else keyboard will crash.
[Galaxy Ace II Android Development] Fake2Dead:
phone says sandisk sd card is corrupted. I tried to format from phone but it didn't work. Also i can't use my camera without external sdcard. And why extsdcard is sdcard0

"Sorry for my english if a have a fault"
[Galaxy Ace II Android Development] ChronoMonochrome:
Did you format your sdcard as adoptable(internal) storage? This is something you actually shouldn't do and it's explicitly mentioned in the issues list as it doesn't work properly on our devices. SDcard should normally work without formatting (in case of M - which also performs encrypting of it), thanks to [MENTION=1508790]SergeyL[/MENTION] work. Now you have to format sdcard from Windows / *nix / whatever other OS; if even this won't help, we'll probably need a volunteer to test it. Personally for me sdcard works, but you may want to try SergeyL's CM13 to see if it's working there.
[Galaxy Ace II Android Development] Pastorious:
WiFi is unstable, lost connection from time to time, Web Browser is crashing. And any of gapps do not work - do not fit in system. Yes, i readed first post, i have orginally partitioned internal card and do not want touch it. SergeyL's CM13 work with smallest gapps
[Galaxy Ace II Android Development] Fake2Dead:
Thank you so much for help. I tried to format from windows(exfat) and it worked!

Edit: Don't try to format sdcard as fat32 it didn't worked on me
[Galaxy Ace II Android Development] Culateralligator:
I can confirm Web Browser is unstable.

I haven't those WiFi problems yet, but I'm testing for little time.

What do you mean with smallest GApps?

I've tried no repartition + SergeyL GApps and I get ERROR CODE 70 -not enough system space-.
[Galaxy Ace II Android Development] Pastorious:
I found somewhere gapps ~45MB, still too big for install, i have no idea how install Play shop
[Galaxy Ace II Android Development] ChronoMonochrome:
New build is 20.03.2016(#2) UP!

Changelog

fixed APN editor crash

added removed fonts back

removed Gallery, Calendar and PrintSpooler to free up some space

Viper4Android driver post-install (no need to install manually anymore)

Fixed busybox related issues

Might fix GApps not being fitted on /system issue in the future, but I'll need a volunteer to test the new partition scheme. If anyone knows how to modify CWM repartition scheme zip and create a new one with ~700-750Mb on /system, it would be even much great, because right now I have absolutely no time for this.

Enjoy!
[Galaxy Ace II Android Development] Culateralligator:
Something weird... I've connected phone to PC 5-6 times.

Last 2 times appears sdcard1 with 1,09GB (real internal sd).

However, I have access to files of real external sd. But when I try to paste a file, it says I have no space for it.
[Galaxy Ace II Android Development] Fake2Dead:
Succesfully installed gapps removed printspooler webbrowser gallery calendar clock and 1 more thing and i found 48 mb gapps
[Galaxy Ace II Android Development] ChronoMonochrome:
Indeed, it seems that I have misapplied one fix to the vold binary. Does this issue also appear on CM13?

P.s. it's possible that vold from CM13 will also work, because UltimateROM use same sources as CM. Can anyone try replacing /system/bin/vold and check if it helps?
[Galaxy Ace II Android Development] Culateralligator:
Well, this ROM has swap storages by default. It's just a matter of reading main posts and choosing a firmware. And no, with 620 MB of system you can't install MM nor N, as I said in other message, I would repartition memories with 700 MB for system or higher.

But, anyway, he succeeded with reparted memories, he wrote about it in other thread, so problem seems to be solved.
[Galaxy Ace II Android Development] ace2nutzer:
On kitkat i've gapps installed and it takes only 487mb :D
[Galaxy Ace II Android Development] Sabir shazz:
Need costem rom SM-J110H
[Galaxy Ace II Android Development] ace2nutzer:
Ask in a proper Thread for your device :)
[Galaxy Ace II Android Development] :
I can't use neither Facebook nor Facebook Messenger! Both them are important for my daily use :( Please fix...
[Galaxy Ace II Android Development] gothicVI:
Are you expecting the dev to be a magician?

Gesendet von meinem Moto G 2014 LTE mit Tapatalk
[Galaxy Ace II Android Development] :
No I don't want, I just hope the dev to fix them so I can use this rom for daily use...
[Galaxy Ace II Android Development] ChronoMonochrome:
:D

Post logcat, or it didn't happen.
[Galaxy Ace II Android Development] :
Sorry my Ace 2 hard bricked :( eMMC read only!!! I can't use it anymore :(
[Galaxy Ace II Android Development] ace2nutzer:
so now u've 2 read-only ace 2 devices ?! :eek:
[Galaxy Ace II Android Development] :
No only one :) And my daily ace 2 is 4 years old but still work well ;) So I decide to stop flashing os unleas new update :)

And it is running SergeyL's Android 6.0.1... I don't know 4pda's Russian!
[Galaxy Ace II Android Development] ace2nutzer:
Well, it doesn't make much difference if u stop flashing or not.

When the Phone is booted up and u're using it ... so making photos, using whatsapp installing apps and many more, then the system is writing very often to the eMMC ....

So if u want to extend its life, then power off your ace 2 ;)
[Galaxy Ace II Android Development] :
No worry, I rarely install new apps, and most time I just write to external sdcard. I also write an app to show what app has written to eMMC, which size has writed, so that I can know which app is going to decrease my eMMC life ;)
[Galaxy Ace II Android Development] Culateralligator:
My phone has 5 years and I've flashed stock and custom ROMs maybe 300 times. It's still alive and working perfectly. :D
[Galaxy Ace II Android Development] :
You sure that /system only take 487mb? If so I will create an reparted zip that only 500mb on /system and other space move to /data.

---------- Post added at 01:09 AM ---------- Previous post was at 01:07 AM ----------

I saw on a thread that one people flashed for ~1500 times and bricked his phone... so maybe you had not touch to write limit on eMMC ;)

Mine is 40 times :)
[Galaxy Ace II Android Development] ace2nutzer:
Yes 487MB

so around 490MB + 50MB for gapps updates (otherwise installation fail) = 540MB * 1024 = "552960" kb

This is the Value u need.

The current reparted.zip from me has on system: "645149"

So we can move 90MB to /data.

i was just too lazy to resize it again (and again) since i've 1,95GB free on /data :)
[Galaxy Ace II Android Development] :
Thank you for your help. I will find one zip and modify it now!

But my ROM test Ace 2 has eMMC read only :( so I can't test it! I need one people to test my reparted.

Do WinRAR or any zip app will make zip work?

And more: which minimum size does ext4 limit?
[Galaxy Ace II Android Development] EmrKA:
This rom is supporting Ace II (GT-I8160) ?
[Galaxy Ace II Android Development] shuchvadim@gmail.com:
Good afternoon ! This topic is dedicated to samsung 318h or 313? Could you send me a direct link to 318 if you made a mistake. And then I'm bad about the site . :)
[Galaxy Ace II Android Development] :
No! This thread is for Galaxy Ace 2 (I8160) version.

Don't try to flash or you will end up brick your phone.
[Galaxy Ace II Android Development] SRINU REDDY:
Gj

---------- Post added at 05:23 AM ---------- Previous post was at 05:11 AM ----------

Sir I request u to send me Samsung j7 software for my j1 ace please send me the direct file
[Galaxy Ace II Android Development] stefanoscheda:
I wanted to try this ROM; flashed correctly (chrono_kernel_r5.4.1, TWRP_3.1.1, UltimateROM-6.0-20170402-codina, open_gapps-arm-6.0-pico-20160320) but can't see the external SD.

Storage and Memory doesn't report the inserted SD card, FileManager reports "can't find file or folder" and

"no information available on file system", and Camera reports "To use the camera insert an SD card".

My repartition was:

# rebuild SYSTEM 750MB

parted $MMC unit kb mkpart primary 105906 873906

# rebuild CACHEFS 10MB

parted $MMC unit kb mkpart primary 873906 884146

# rebuild DATAFS 3GB

parted $MMC unit kb mkpart primary 884146 3958125

# rebuild UMS 1MB

parted $MMC unit kb mkpart primary 3958125 3959149

# rebuild HIDDEN 256KB

parted $MMC unit kb mkpart primary 3959149 3959405

# rebuild Fota

parted $MMC unit kb mkpart primary 3959405 3959406

What was wrong?

TIA,

Stefano
[Galaxy Ace II Android Development] ChronoMonochrome:
[MENTION=7292286]stefanoscheda[/MENTION], please consider posting logs, i.e. logcat and dmesg.
[Galaxy Ace II Android Development] stefanoscheda:
Thank you. Which operation should I log exactly? Launching FileManager when it complains "can't find file or folder" and "no information available on file system"? Launching Camera?
[Galaxy Ace II Android Development] ChronoMonochrome:
It shouldn't matter as long as you log any complaining app. You can post mount points as well, running mount command in terminal.
[Galaxy Ace II Android Development] stefanoscheda:
Maybe I got it. In order to extend system I adapted the repartition zip from A2N that also unmounts sdcard and sd-ext:

...
unmount("/cache");
unmount("/hidden");
unmount("/sdcard");
unmount("/sd-ext");
unmount("/ramdisk");
unmount("/recovery");

and even removes/rebuilds kernel partitions:

...
# rebuild Kernel
parted $MMC unit kb mkpart primary 72352 89128
# rebuild Kernel2
parted $MMC unit kb mkpart primary 89128 105906

If this is the reason, is there any way to get back the SD mouting without reverting to stock and starting all the custom flashing over?

TIA
[Galaxy Ace II Android Development] ChronoMonochrome:
...

I don't know if it has something to do with the repartition layout. Without logs or posting mount points it's all pure guesswork.
[Galaxy Ace II Android Development] stefanoscheda:
Here are the two logs: View attachment logs.zip

Mount output is:

root@:/ # mount
rootfs on / type rootfs (rw,relatime)
/dev/block/mmcblk0p17 on /ramdisk type ext4 (rw,relatime,data=ordered)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
/sys/kernel/debug on /sys/kernel/debug type debugfs (rw,relatime)
none on /acct type cgroup (rw,relatime,cpuacct)
none on /sys/fs/cgroup type tmpfs (rw,relatime,mode=750,gid=1000)
tmpfs on /mnt type tmpfs (rw,relatime,mode=755,gid=1000)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
tmpfs on /dev/shm type tmpfs (rw,relatime,mode=755,gid=1000)
none on /debug type debugfs (rw,relatime)
/dev/block/mmcblk0p3 on /system type ext4 (ro,noatime,errors=panic,data=ordered)
/dev/block/mmcblk0p2 on /modemfs type ext4 (rw,nosuid,nodev,noatime,data=ordered)
/dev/block/mmcblk0p7 on /efs type ext4 (rw,nosuid,nodev,noatime,data=ordered)
/dev/block/mmcblk0p5 on /data type ext4 (rw,nosuid,nodev,noatime,discard,noauto_da_alloc,errors=panic,data=ordered)
tmpfs on /storage type tmpfs (rw,relatime,mode=755,gid=1000)
/dev/block/mmcblk0p1 on /mnt/.lfs type j4fs (rw,relatime)
/dev/block/mmcblk0p5 on /cache type ext4 (rw,nosuid,nodev,noatime,discard,noauto_da_alloc,errors=panic,data=ordered)

I also have an issue with mobile data: I set up the apn for my network operator but mobile data doesn't work (everything is fine on other ROMs, both CM11 and CM13).

Even listing available networks takes forever (gave up after 1 hour).

TIA anyway.
[Galaxy Ace II Android Development] ChronoMonochrome:
[MENTION=7292286]stefanoscheda[/MENTION], can't suggest anything specific, it's probably something went wrong with your installation.

Do you have at all external sd card inserted into a phone? If so, does it work with CM13 / CM11? If yes then command lsmod might give a clue about this - check whether returned output contains "sdcardfs". You can also check whether file /fstab.samsungcodina has mount points for sdcard.

About APN - probably it's specific to your ISP - this ROM might lack support some ISP.
[Galaxy Ace II Android Development] stefanoscheda:
Yes, the SD works with ace2nutzer's CM11 and worked several months ago with SergeyL's CM13.

lsmod contains:

sdcardfs 22292 0

and fstab.samsungcodina is:

# Android fstab file.
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
# Data partition must be located at the bottom for supporting device encryption

#<src> <mnt_point> <type> <mnt_flags and options>
/dev/block/mmcblk0p3 /system ext4 ro,noatime,errors=panic wait
/dev/block/mmcblk0p2 /modemfs ext4 noatime,nosuid,nodev,errors=panic wait,check
/dev/block/mmcblk0p7 /efs ext4 noatime,nosuid,nodev,errors=panic wait,check
/dev/block/mmcblk0p5 /data ext4 noatime,nosuid,nodev,discard,noauto_da_alloc,errors=panic wait,check,encryptable=/efs/metadata

# Vold managed volumes
/devices/sdi2/mmc_host/mmc0/mmc0 auto auto defaults voldmanaged=sdcard1:8,nonremovable,noemulatedsd
/devices/sdi0/mmc_host/mmc1/mmc1 auto auto defaults voldmanaged=sdcard0:auto

# Recovery
/dev/block/mmcblk0p15 /boot emmc defaults recoveryonly

For now I'll revert to CM11. Thanks anyway. :)
[Galaxy Ace II Android Development] :
I have the same problem with your ROM.

Installing seperate ChronoKernel fix the problem.

But Bluetooth is broken....
[Galaxy Ace II Android Development] ChronoMonochrome:
No problems with BT on the latest r5.4.1 CK release here.
[Galaxy Ace II Android Development] :
I moved to Ace2nutzer's kernel one because the stability and battery friendly.

But anyway, thanks for your work for your kernel!
[Galaxy Ace II Android Development] gothicVI:
[MENTION=5695278]ChronoMonochrome[/MENTION] and [MENTION=5840412]ace2nutzer[/MENTION] : I've not been using my AceII for the last ~2 years and just found out that the battery still lives. Thus I installed UltimateROM-6.0-20170402-codina.zip and obviously found out that /system is not big enough to allow for gapps to be flashed:

root@:/ # df -h
Filesystem Size Used Available Use% Mounted on
/dev/block/mmcblk0p17
15.5M 6.6M 8.9M 42% /ramdisk
tmpfs 323.4M 92.0K 323.3M 0% /dev
none 323.4M 20.0K 323.4M 0% /sys/fs/cgroup
tmpfs 323.4M 0 323.4M 0% /mnt
tmpfs 323.4M 0 323.4M 0% /dev/shm
[COLOR="Red"]/dev/block/mmcblk0p3 602.4M 581.1M 21.3M 96% /system[/COLOR]
/dev/block/mmcblk0p2 15.7M 4.3M 11.4M 28% /modemfs
/dev/block/mmcblk0p7 9.8M 4.6M 5.2M 47% /efs
/dev/block/mmcblk0p5 1.2G 451.7M 776.7M 37% /data
tmpfs 323.4M 0 323.4M 0% /storage
df: /mnt/.lfs: Function not implemented
/dev/block/mmcblk0p5 1.2G 451.7M 776.7M 37% /cache
/dev/block/vold/public:179_8
1.1G 401.2M 725.5M 36% /mnt/media_rw/sdcard1
/dev/block/vold/public:179_8
1.1G 401.2M 725.5M 36% /mnt/secure/asec
/mnt/media_rw/sdcard1
1.1G 401.2M 725.5M 36% /mnt/runtime/default/sdcard1
/mnt/media_rw/sdcard1
1.1G 401.2M 725.5M 36% /storage/sdcard1
/mnt/media_rw/sdcard1
1.1G 401.2M 725.5M 36% /mnt/runtime/read/sdcard1
/mnt/media_rw/sdcard1
1.1G 401.2M 725.5M 36% /mnt/runtime/write/sdcard1

The large amount of repartition zips sort of confuses me. Could you please point me to the right direction. Note that I don't have a external sdcard and would like to only use the internal memory.

Thanks ahead!
[Galaxy Ace II Android Development] shaqman89:
The easiest way, is by using ace2nutzer repartition script: http://www.xda.mister-freeze.eu/XDA...ed/cwm_cm11_partitions_layout_sdcard_only.zip

That should be enough for normal usage. If not, this has worked fine for me in the past: https://xdaforums.com/attachment.php?attachmentid=3043135&d=1417456800

Then, reflash CK after setting parameter use_intsdcard=0

Details: https://xdaforums.com/showpost.php?p=72607849&postcount=4133
[Galaxy Ace II Android Development] ace2nutzer:
Flash CWM ODIN Kernel and then try with another reparted.zip where System partition is big enough for anything higher than kitkat ROMs.
[Galaxy Ace II Android Development] gothicVI:
Are you sure that's a proper solution? As far as I understand the log, the partitions can't be found. How could that be solved by another script?

Anyhow, can I just flash your kk ROM and pico gapps after whiping system and data? As far as I recall it doesn't need a bigger system partition.

Gesendet von meinem Moto G 2014 LTE mit Tapatalk
[Galaxy Ace II Android Development] ace2nutzer:
Dunno, there's smthg wrong with your partitions.

The best way is to start from scratch by flashing 3-parted stock rom and then try again with cwm(!) to flash any reparted.zip .. that fits your needs. Search in reparted thread by Chrono .. there are a lot of different scripts ... find one that fits your needs or simply edit the script by yourself, it's not really complicated. - Just make sure to edit with any Linix editors .. or if it should be Windows, then use NotePad++. Then repack as .zip (nothing else, or it won't work at all)

sdcard_only script don't have space for real sd0 .. so u can't use it without ext_sd.

Or use the non-sdcard_only script ... but it's still not optimal because the system size is too small as i said, so u'll have issues with gapps installation.
[Galaxy Ace II Android Development] ace2nutzer:
Yes, my scripts are only perfectly adapted for kitkat.

I suggest to use this gapps:

https://www.androidfilehost.com/?fid=457095661767159308

After that, u should have approx 45mb free on system.
[Galaxy Ace II Android Development] ChronoMonochrome:
It depends on the recovery you're using - e.g., SergeyL's TWRP builds don't include parted, some my old builds probably too. Just flash any CWM-kernel (e.g. odin kernel) for flashing partition layout.

It's always better to flash latest kernel as included one in ROM soon or later become obsolete.
[Galaxy Ace II Android Development] enzojr55:
Bi3n me gusta
[Galaxy Ace II Android Development] knosso:
Error During repartition

Dear [MENTION=5695278]ChronoMonochrome[/MENTION],

Thankyou for your work for this fone. I came from an AOSP 4.4.4 with CWM and i decided to try to install your rom. Since i read that repartition was needed to install gapps too i:

Flashed the CWM_ReParted_SY750_CA30_DA3060_SD0_10.zip suggested.

Flashed the kernel chrono_kernel_r5.1.zip.

Flashed twrp_2.8.6.0_190415.zip.

Rebooted to recovery and flashed UltimateROM-6.0-20170402-codina.zip

Flashed open_gapps-arm-6.0-pico-20171009.zip.

It was just at this time that I noticed that the recovery was not able anymore to mount /cache /system /data.

Now I am able to boot to recovery, make emergency calls with normal boot, and go to download mode.

What I did wrong? and how can I partition the device correctly and install the rom successfully?

Thankyou in advance for your help.
[Galaxy Ace II Android Development] ace2nutzer:
U need to wipe data, format /system and sdcard0 as "vfat" after u flashed the repart.zip .. but before u start to wipe data and so on, u've to power off the phone and boot directly to recovery ... then proceed.
[Galaxy Ace II Android Development] knosso:
Thank you that is exactly what I was missing. I needed to format also /cache and /data to ext4 and now everything is installing as expected.

Edit:

The installer says:

Symlink: some symlink failed

Updater process ended with ERROR 7

Error installing zip file '/external_sd/AOSP-6.0.1/4_Rom/UltimateROM-6.0-20170402-codina.zip

Updating partition details...

...done

Edit:

It turned out that I had TWRP 3.1 and not 2.8. Flash the 2.8 zip didn't downgrade the recovery so I installed a CWM and then the correct TWRP. The ROM installation went as expected.
[Galaxy Ace II Android Development] ace2nutzer:
Which kernel and recovery are u running ??
[Galaxy Ace II Android Development] knosso:
Thankyou

Thankyou very much for your help, It was essential in order to complete the Rom installation.

By the way the rom is definetly smooth and it behaves almost as a 2-3 years old device and not as a 6 years old one. Great Job. The only real performance issue is when installing and uninstalling apps, which takes forever. But hey we all know what apps we really use so we can just select them to download on the play store before going to sleep and find them installed and working when we wake up, so it is not really an issue.

Thanks again to everybody that made this rom possible.
[Galaxy Ace II Android Development] yhapyhapets:
does this ROM doesn't have chrono kernel hmm the one who makes sound loud and can overclock CPU..thingy i can overclock and underclock it but it only goes to 800Mhz min freq. in the performance settings does it Goes down to 700, 600 , 500 , and so on if it is on idle? it only have 2 schedulers BFQ and fiops and 4 governors also the trashcan icon in the recent apps when i pressed it, it makes the UI restart.. BTW this ROM is awesome it does not lag.. not like the CM 13 it lags a lot.. can you try to change the settings like in CM 13 and include the Chrono kernel settings it would be awesome.. or can you point or whatever mistakes that i do why this is happening? thanks
[Galaxy Ace II Android Development] :
Chrono has dropped support on this ROM. But you can get newer ROM like 7.1.2 on 4PDA thread.

But for me it is very laggy. So I use 4.4.4 from ace2nutzer instead.
[Galaxy Ace II Android Development] ChronoMonochrome:
An absense of updates doesn't necessarily means that the support on ROM was dropped. Surely, there was no development activity since April as this ROM got enough stable not to receive updates often. In the meantime, I continued to work on builds since September but these builds weren't released due to some reasons (mostly because there wasn't much of changes and due to laziness). However, some of important fixes (like handling second incoming call properly) were just recently introduced, so I decided to give it try. I'm uploading a new release right now, so stay tuned!
[Galaxy Ace II Android Development] ChronoMonochrome:
New build 2.12.2017 is UP!

02.12.2017 - build #12

fixed native moving apps to SDcard

APP2SD and similar apps now should work correctly *

fixed second incoming call not to crash rild (not tested, needs confirmation), thanks to [MENTION=1508790]SergeyL[/MENTION]

small RIL fixes

* vold now doesn't get confused when it sees two or more partitions (needed by APP2SD) on an external sdcard.

NOTE: installation method was updated. Flash latest chrono kernel build after this ROM install.
[Galaxy Ace II Android Development] heml0ck:
how do i install this if im in stock 4.1.2? temp cwm will work?
[Galaxy Ace II Android Development] slayer_007:
What's not

Formatting SDcard as adoptable storage will screw it up (don't format / encrypt)

MTP bug with doubled folders in sdcard root folder

Not Stable :eek::silly::confused:
[Galaxy Ace II Android Development] ChronoMonochrome:
These things are not going to be fixed. SDcard can be used without having to format it as adoptable, for MTP you have a much better (in my opinion) alternative, UMS mode.
[Galaxy Ace II Android Development] mirhl:
Quite odd that you support APP2SD and not adoptable tbh (which is an aosp feature nonetheless)

As for the mtp issue, it should be easy to fix.
[Galaxy Ace II Android Development] yhapyhapets:
@ ChronoMonochrome

can you teach me how to fix this?..

https://ibb.co/jtKHvG
[Galaxy Ace II Android Development] ChronoMonochrome:
Why? The vold here works like in previous Android versions. I can't remind any related to this code changes, but the logic is like in pre-Marshmallow Android versions. E.g. there is no need to do any stuff with sdcard to use it in a way, how adoptable storage works in Marshmallow and latter releases. Also I really don't get any apparent profit of implementing all this adoptable storage related stuff. Despite of a possible security enhancements, I only can see a usability hardenings for a devices that supports external sdcards (isn't a requirement for device, capable of using ext sdcard to behave like extsdcard-less, seems just like this?). So, no google thanks, I just prefer it to work like it was before.

P.s. thanks for the fix link, I will check that. Though, I have a feeling, it's all the same issue caused by vold changes and given the fact that it works not as it supposed to be in Marshmallow.