yashsingh1/xdaforums huggingface dataset:
[JAMin, XDA Neo, S200 ROM Development] LordDeath:
yes, a nice tool: http://nicolasmauri.blogspot.com/index.html

to avoid this account loss try is: don't softreset your device, will it is running. close all apps, switch to standby, wait 30 seconds, then softreset with your stylus. so you can be sure, that there aren't any write-processes on important data like for example your mail accounts.
[Samsung Galaxy Ace 4] 5u4573:
I can install it on a SM-G313ML of Mexico?
[Samsung Galaxy Ace 4] doesntexits:
Sure, you can test it, because G313ML and HZ has same specs
[Samsung Galaxy Ace 4] andii_nr:
Nice
[Samsung Galaxy Ace 4] doesntexits:
Well, can't let this damn RIL thing to work.

It just shows one SIM working (still can't make calls but mobile data working), the second only IMEI and mobile number, else no signals

Needs someone to help me here :D
[Samsung Galaxy Ace 4] Kaneki16fav:
Se Puede Instalar Con La Stock , Por Que No Hace Un Tutorial Sobre Como Flashear La Rom

---------- Post added at 03:25 PM ---------- Previous post was at 03:24 PM ----------

Por Que No Hacen Un Video Sobre Como Flashea La Rom
[Samsung Galaxy Ace 4] doesntexits:
Explain in English please :( I don't know Spanish

Instructions was in OP, you can understand it even you're a noob.
[Samsung Galaxy Ace 4] doesntexits:
For apps force-closing, you need to add this to build.prop (i'll add it to the next future builds)

dalvik.vm.heapstartsize=5m
dalvik.vm.heapgrowthlimit=48m
dalvik.vm.heapsize=128m
dalvik.vm.heaptargetutilization=0.25
dalvik.vm.heapminfree=512k
dalvik.vm.heapmaxfree=2m

Edit: Fixed on newer build!
[Samsung Galaxy Ace 4] doesntexits:
New build. Changes:

- Fixed bluetooth (yay!)
- Partially fixed video decoding (you can still watching YouTube videos but with low res. FB playback still dead for now)
- Now with zRAM enabled (harder multitasking)
- GPS fixed
- Apps FC fixed (due to OOM-situation, because of missing dalvik lines from build.prop)

Can't let this damn RIL thing to work. IDK what Sammy does to its stock (our stock is KitKat, but it doesn't requires any SIM-card registeration LOL)

Link updated to OP
[Samsung Galaxy Ace 4] doesntexits:
New build. Changes:

- Fully fixed hardware rendering, now the phone is super-smooth (another yay!, thanks to @corphish)
- Fixed wifi and bluetooth tethering
- Partially fixed camera (still can't take pics and record but can see what's your camera heading to)
- SD card is now unmountable
- Fixed battery stats

Link updated to OP
[Samsung Galaxy Ace 4] corphish:
Could you use this libbinder and let me know if camera taking pics are working or not?

Don't ask why its in form of a vendor blob, long story.
[Samsung Galaxy Ace 4] doesntexits:
Stuck on Sammy logo :(

Forgot to mention this: The phone will freezes when taking pics and recording
[Samsung Galaxy Ace 4] corphish:
Have you checked the permissions? Changing libbinder on the go can cause this, I prefer to use aroma file manager to change this libs... And set perms.

And yeah, we had the same problem of camera freezing while taking pics. This binder fixed it.

And this libbinder actually worked on 2 sprd phones.

Infact, the libbinder from core3 stock ROM atleast got us to homescreen.
[Samsung Galaxy Ace 4] doesntexits:
LOL, i though AROMA recovery FM already changes permission to default during copy files?

Another Q: which one?

Edit: even deleted the default and copy the downloaded one doesn't work
[Samsung Galaxy Ace 4] corphish:
The binder which i linked in previous post
[Samsung Galaxy Ace 4] doesntexits:
Sorry.... but i asked you which phone? (typo :D)

The phone still stuck, even delete-copy-paste doesn't work
[Samsung Galaxy Ace 4] corphish:
Oh!

Then get full logs, has to be fixed in source.

Its SG Star Pro btw.
[Samsung Galaxy Ace 4] corphish:
I mean, you can flash the working rom, while system is booting, get a logcat..
[Samsung Galaxy Ace 4] doesntexits:
Yeah, i know and that's the full log when using your binder, end
[Samsung Galaxy Ace 4] hendramuhhh:
Anyone using smg313hz? It just me or what, my phone keep bootloop after installing boot.img without wipe im on twrp 3.0.0
[Samsung Galaxy Ace 4] doesntexits:
Weird. I'm using it and it's fine
[Samsung Galaxy Ace 4] doesntexits:
OK, after some time, i realized that the latest stable build doesn't boot up with new kernel, so i'm sorry for my mistake

New build has come! Changes (not much, most are kernel):

De-odexed ROM, since ART runtime in KitKat doesn't need those odex files in our system folder. It needs dex in APKs, so de-odexing ROM make it much lighter

Built all modules built-in

Kernel now re-compiled with original GCC 4.7

Added IO schedulers: SIOPLUS, ZEN, BFQ, DEADLINE, FIOPS

New governor: interactive

Overclocked to 1,4GHz (you can switch back to 1.2GHz if unstable, but it seems fine)

Dual-zRAM, now increased zRAM size to 384MB

Added Kernel Samepage Merging (KSM) to save RAM. You can enable it through Settings >> Performance (enable developer options first)

Added zCache with frontswap and cleancache backend

SELinux Permissive (OK, this leaves the kernel booting, but IDK why it prevent the kernel from booting with frontswap)

and a lot more....

Q: Why you've returned it to 4.4.2?

A: Well, it's still 4.4.4, but people confused a lot with YouTube can't play 480p videos like stock, and YouTube seems like it on 4.4.2, so i just changing Android version ON WORDS only, like you've seen with some custom ROMs

Q: What's the benefit of enabling zCache

A: IDK how to explain this properly, but just know that it compresses memory pages, results that increased RAM, but zCache is a backend. It compresses swap too, so i added it with zRAM. Without zRAM, zCache still offers its advantages. You can disable zRAM, but as a result, worst multitasking, since our RAM is too little (512MB)

Link updated to OP

Thanks to [MENTION=5925208]psych.half[/MENTION] for some helps
[Samsung Galaxy Ace 4] Enot-XD:
Great !^^Thank you , sm-g313h-work
[Samsung Galaxy Ace 4] doesntexits:
Press thanks button instead
[Samsung Galaxy Ace 4] hendramuhhh:
ROM (build 20160301) is the updated ones? Sorry Im new to the xda?
[Samsung Galaxy Ace 4] doesntexits:
Yes, it is

All builds will be updated to OP (original poster - the first post)
[Samsung Galaxy Ace 4] sudobash97:
I can install this build like an update? or I have to repeat the process of installation (wipes,format,etc)? Because I have the old build.

Edit: in this version I can't fix the random reboots on SM-G313ML , for now i stay in the past version.
[Samsung Galaxy Ace 4] Enot-XD:
I put no wipe, well, a maximum of firmware wipe cashe and dalvik and after flashing
[Samsung Galaxy Ace 4] doesntexits:
This one just an update for kernel, and it's de-odexed for lighter update. If the older build doesn't cause random reboots with you, just take the boot.img from the latest build
[Samsung Galaxy Ace 4] Enot-XD:
charging time increased by about 25%, eats battery so the same. I think to buy a battery 2100 mah
[Samsung Galaxy Ace 4] jrebmontana:
No found mobile data in México g313ml
[Samsung Galaxy Ace 4] doesntexits:
I don't know if this work, but everybody has no mobile data in SM-G313ML could try to flash G313HZ stock ROM and re-flash this CM11 to see if that works
[Samsung Galaxy Ace 4] hendramuhhh:
Can you add fm radio and otg support?
[Samsung Galaxy Ace 4] Sabbir.:
OTG Depends on Hardware

Sent from my SM-E500H
[Samsung Galaxy Ace 4] doesntexits:
FM Radio is neither supported by CM nor implemented
[Samsung Galaxy Ace 4] JeffersonCaf:
guy will try it but I'm afraid I install the stock of Galaxy v and my phone got bricked unable to enter download mode .- . has any chance of that happening ? :rolleyes:
[Samsung Galaxy Ace 4] doesntexits:
Oh, i forgot about that. Do it with your own risk
[Samsung Galaxy Ace 4] JeffersonCaf:
I think if it will work bcz some people already did it with a galaxy NXT plus and installed a stock of another who can not remember the name .-. but that's okay I will try it later and see if it works another question that is build with random reboots on my G313ML , and I tried to flash the boot.img the previous build but then neither has more boot .-. and I accidentally deleted the old build and now can not find anywhere, you still have the link ? :rolleyes:
[Samsung Galaxy Ace 4] 5u4573:
Me too stopped working mobile data in Mexico as amended Build.prop to disable the multisim me off data, SMS and calls.

Enviado desde mi SM-G900M mediante Tapatalk
[Samsung Galaxy Ace 4] doesntexits:
You mean the latest build still have random reboots?
[Samsung Galaxy Ace 4] JeffersonCaf:
Yeah at least for me :rolleyes:

And i have the other boot.img from the older build (20160213) and the phone not boot anymore, i'm using the latest and still have random reboot that is why I asked if you had the link from the older build .-.
[Samsung Galaxy Ace 4] cleverior.ipul:
[MENTION=6586967]doesntexits[/MENTION] do you ever get this error ?

i've check the prebuilts/gcc/arm and arm-linux-androideabi-g++ is exist.

any suggestion to fix it ?
[Samsung Galaxy Ace 4] doesntexits:
Do a "make clean" or "make clobber"

Somehow your build got corrupted
[Samsung Galaxy Ace 4] doesntexits:
I'll try if i can get G313ML kernel source. Sammy's OSRC downloading speed too slow

G313H people seems fine with G313HZ kernel, so i'm gonna make a stock G313ML kernel first for stable usage, then playing with it later
[Samsung Galaxy Ace 4] cleverior.ipul:
i did it. but still error.
[Samsung Galaxy Ace 4] doesntexits:
Can you re-download the toolchain? IDK why it disappeared in your build process

Link here
[Samsung Galaxy Ace 4] JeffersonCaf:
Okay dude , I'll keep myself updated this post to know of any novelty and tests them.

You're doing a great job guy! :D
[Samsung Galaxy Ace 4] cleverior.ipul:
i think there is something wrong with your device tree that make it use arm-androideabi than arm-eabi . bcz when i switch it to the old device tree, there is no error about toolchain.
[Samsung Galaxy Ace 4] doesntexits:
arm-androideabi is for ROM compiling, arm-eabi is for kernel

It uses correct toolchain. Probably your source got corrupted or you forgot to change sth that you don't remember before
[Samsung Galaxy Ace 4] cleverior.ipul:
what is sth ?
[Samsung Galaxy Ace 4] doesntexits:
"sth" is a short of "something"
[Samsung Galaxy Ace 4] doesntexits:
It looks like our CPU can't go further than 1,5GHz. It keep reboots to recovery due to power reason maybe so 1,5GHz is maximum we can reach right now. I'll upload newer kernel version ASAP

New features in next kernel build:

- Triple zRAM (well this will let the phone goes damn crazy at multitasking)

- Overclock increased to 1,5GHz

- Replace zCache to zswap frontent (zCache does nothing on this phone) to compresses zRAM swap

- New IO scheduler: ROW (read over write) (this decreases read latency a lot, lead to better user experience)

- LZ4 compression support
[Samsung Galaxy Ace 4] cleverior.ipul:
oww.. hahaha.. ok.. i get it.
[Samsung Galaxy Ace 4] MohdRosdi:
I doesn't have any gapps even after I have flashed the gapps zip.
[Samsung Galaxy Ace 4] doesntexits:
The lite GAPPS package just adds some Google important APKs, which let you login your G account and use Play Store as usual. The other apps like G+ or Hangouts are removed to decrease RAM usage, thus you want to install them, download through Play Store is better, since those apps will be installed in /data partition, instead of /system partition
[Samsung Galaxy Ace 4] doesntexits:
New kernel is here! Changes:

Re-compiled kernel with Linaro 4.9.4 toolchain, optimized for Cortex-A7

(NEW!) Changed zRAM compressor to LZ4 (faster than LZO)

Triple-zRAMs (more crazy multitasking)

Added new IO scheduler: ROW

(NEW!) Overclock increased to 1,5GHz, also GPU overclocked to 350MHz

Disabled zCache, enabled zswap and enable LZ4 zswap compression

LZ4 compression to kernel (faster booting)

zRAM backported from Linux 3.9 (to enable LZ4 compression)

Something more!....

Link download below in attachment. No need any formatting or factory reset, just install in TWRP or CWM recovery
[Samsung Galaxy Ace 4] hendramuhhh:
Keep supporting our device, keep up your great work!

Edit: Im getting bootloop
[Samsung Galaxy Ace 4] JeffersonCaf:
I'm getting bootloop too :rolleyes:

On G313ML
[Samsung Galaxy Ace 4] doesntexits:
Hmm... weird

I'll check the zip

Edit: the zip works fine. Seems that's the build error. I'll re-upload my using build tomorrow
[Samsung Galaxy Ace 4] hendramuhhh:
What is the best setting for our device? Processor, governor, io schedule?
[Samsung Galaxy Ace 4] doesntexits:
Governor doesn't have many, i'm still working on it, so just let it defaults

IO schedulers, i recommend BFQ if you use for normal use (surfing FB, watching YouTube, multitasking) or ZEN for gaming (Asphalt 8, GTA SA,....)

BTW guys, new build has been updated, to get the new kernel compatible with it. FULL FORMAT is required
[Samsung Galaxy Ace 4] hendramuhhh:
I already wipe everything except microsd in twrp, keep getting bootloop, help!

Edit: Umm, I havent see your updated rom, sorry :D but will you update again in this time? Cause I just trying to save my data plan because everytime you update I must downloaded the whole rom, not just the update, so if you will update again I will wait for that, or can you just make the flashable zip every update? So we can save more data plan, thanks before, bro. Youre the man!
[Samsung Galaxy Ace 4] doesntexits:
For now i'm stuck with exams, so no builds, just kernel for now. [MENTION=7070383]ngoquang2708[/MENTION] will take care CM12.1 project. I'm just be able to play with custom kernels until i get out school, so build 20160303 will be the final CM11 update, and future builds will be custom kernels. I'll make the flashable ZIPs for kernels.
[Samsung Galaxy Ace 4] hendramuhhh:
Ouuh okay, I'll download and try it now, thanks! Cant wait until the dual sim in cm12 fixed, but for now I'm really satisfied with this cm rom! :D
[Samsung Galaxy Ace 4] doesntexits:
The custom kernel is no longer posted to this thread. I've created a seperate thread for custom kernel, so this won't mix CM11 thread up

Also new kernel is updated through it
[Samsung Galaxy Ace 4] JeffersonCaf:
The latest build is in BootLoop on my SM-G313ML. :/
[Samsung Galaxy Ace 4] hendramuhhh:
Uh huh, bootloop :(
[Samsung Galaxy Ace 4] doesntexits:
What kind of bootloop? Stuck on Sammy logo or CM boot animation?

You guys must do a FULL WIPE, not just wipe data without /data/media. That just delete folders only, not WIPE

As I mentioned on OP, if you don't do a FULL WIPE, you will stuck in CM boot animation. Stuck on Sammy logo can never happens because it's working with me, so it definitely works with you guys
[Samsung Galaxy Ace 4] Ldant:
My phone is stuck on sammy logo.. Always like that.. I wipe all but its always stuck.. SM-G313HZ
[Samsung Galaxy Ace 4] doesntexits:
Here's the proof that it's working with me

I think you guys better re-flash stock ROM THROUGH ODIN, not restore it from a backup

You should see the phone model is GT-I9100, nope. I changed build.prop for gaming reasons (some games treat the GS2 as a low-end phone and games could play smoother)
[Samsung Galaxy Ace 4] Ldant:
I success installed the new build.. But I flash custom kernel from cleverior.ipul too.. And where is the camera?? I don't get it
[Samsung Galaxy Ace 4] JeffersonCaf:
To me is Stuck on Sammy logo, but a dude has flashed sucessfuly, i will try to wipe /data and /media. :)

Edit: continues on bootloop :( well I will try to install the stock via Odin.
[Samsung Galaxy Ace 4] doesntexits:
I'm sorry. Since my exams are too much, I maybe forgot lots of things have changed. Btw, here's camera patch (in attachment)

Remember to do a FULL WIPE of /data partition after installing patch
[Samsung Galaxy Ace 4] hendramuhhh:
Dude, I keep getting bootloop installing build 20160303, here's what Im doing

-Flash my device with stock rom (smg313hz)

-Install custom recovery (twrp)

-wipe everything except microsd-Then install the build, but I keep getting bootloop

Need your answer asap :( :( :( :( :(
[Samsung Galaxy Ace 4] doesntexits:
What kind of bootloop? Stuck on Sammy logo or CM boot animation?

I've updated build 20160213 on OP. Check it out and reports me if you continue having bootloops again. That was the latest stable build (w/o kernel update)
[Samsung Galaxy Ace 4] hendramuhhh:
Stuck on sammy logo, the 20160303 is useless for me? huh:rolleyes:. But I will try the latest build:angel:
[Samsung Galaxy Ace 4] doesntexits:
It's very weird when that build is dead with you guys, and works with me
[Samsung Galaxy Ace 4] hendramuhhh:
Did you tried to flash your phone and install exactly the zip you had uploaded?
[Samsung Galaxy Ace 4] doesntexits:
Yes, of course. See the proof on earlier post
[Samsung Galaxy Ace 4] JeffersonCaf:
Yeah it's really weird mainly because a guy could install without problems ... The build 20160213 is working to me. :)
[Samsung Galaxy Ace 4] hendramuhhh:
So whats wrong with my phone-_-
[Samsung Galaxy Ace 4] doesntexits:
Me too man. It works like a charm. IDK what reason to make it stuck with you guys

Alright, so it's stable now. I'll update the kernel to get it compatible with build 20160213. The kernel will be updated in seperated thread i've created. You guys can check if it works with build 20160213 (boot.img backup first)
[Samsung Galaxy Ace 4] JeffersonCaf:
I think the problem is not our phone is our luck XD

---------- Post added at 12:19 AM ---------- Previous post was at 12:16 AM ----------

Okay i will test :)
[Samsung Galaxy Ace 4] hendramuhhh:
The build 20160213 is also worked for me, the problem is when i installing kernel.zip my phone bootloop in sammy logo
[Samsung Galaxy Ace 4] doesntexits:
OK, but please next time, if you stuck on Sammy logo, that's soft brick, stuck on CM boot animation is bootloop

If your phone can't even gives a Sammy logo, that's hard brick

And i'll gotta work with 20160213 build for now

Discussion about kernel ends here. Let's go to the kernel thread
[Samsung Galaxy Ace 4] hendramuhhh:
Uh oh thankyou for the explanation, but can I use the kernel with 20160301?
[Samsung Galaxy Ace 4] doesntexits:
Nope. That build is confirmed soft brick with the kernel

Next time, please post anything about the kernel in its seperate post, not in CM11 thread
[Samsung Galaxy Ace 4] ngoquang2708:
For anyone got boot loop after wipes, check to see if there is /data/media folder. If it doesn't exist, create it. Then set its permissions to media_rw.media_rw.
[Samsung Galaxy Ace 4] BlazeTheDark:
Is mobile data on SM-G313ML working now or no?. Becuse I use it all day.
[Samsung Galaxy Ace 4] doesntexits:
[MENTION=7081901]JeffersonCaf[/MENTION] reported that it doesn't work

I can't confirm myself because I don't have SM-G313ML but SM-G313HZ. You can confirm yourself and if you don't like, you can revert back to stock (seriously, not a joke)
[Samsung Galaxy Ace 4] proutatemuffin:
status error 7

hi

i have a problem when installing the rom

i get status 7 error even though i have a g313h (ace 4 lite) :(

any solutions?
[Samsung Galaxy Ace 4] JeffersonCaf:
Well you can use TWRP or make like me, you can go in WinRAR (or any program if open .zip ) and open the META-INF>com>google>android in that paste you will see the archive "updater-script" you open it with notepad and you will see something like that :

"assert(getprop("ro.product.device") == "vivalto3gvn" ||

getprop("ro.build.product") == "vivalto3gvn" || "

You just delete the "3gnv" of that two words if is showing in status 7 your device is "vivalto" like me. Well frankly I recommend you use TWRP because besides the easier it is safer. :) I make all that work bcz i like more the backups of CWM :cool:
[Samsung Galaxy Ace 4] borisaguilar:
Hey whatsup :) I've tried the ROM on a SM-G313ML and as noted by [MENTION=7081901]JeffersonCaf[/MENTION] DATA doesn't work (I'm not sure if the problem with his phone and mine is the same, but i suspect it is) anyways; I've been watching the logs and there are several of them showint data is connecting, then disconnected then connected then disconnected; MMS is not working... but I'm quite out of clues I'll upload the logs somewhere; but if you need help testing or coding something I guess I can do it, I just need some hints on what to search to fix that up :P

---------- Post added at 10:51 PM ---------- Previous post was at 10:18 PM ----------

So here is the log of the phone that never connects... (SM-G313ML)

pastebin.com/ViexV58v

If you have any hints I'll be glad to know :)
[Samsung Galaxy Ace 4] DangLeiChua:
where is the thread for kernel?

btw, I'm using build 20160213. what's new ?

---------- Post added at 04:41 PM ---------- Previous post was at 04:40 PM ----------

nvm. I found the thread.
[Samsung Galaxy Ace 4] BlazeTheDark:
They say, if you can do a video of installing the rom. I'm from Argentina. :good:
[Samsung Galaxy Ace 4] BlazeTheDark:
I give it a shot, and all perfect. Ty
[Samsung Galaxy Ace 4] josuesim:
hear as you can add functions as a flashlight in the notification area
[Samsung Galaxy Ace 4] Soncomander:
Compatible with G313M/DS?

Or just ML?
[Samsung Galaxy Ace 4] BatDroid:
A little off topic bro,sorry.

[MENTION=3622245]doesntexist[/MENTION]s

I saw the poll result and found out 4 guy voted it terrible.

Is that possible??

works for 95% people and not working for 5%?
[Samsung Galaxy Ace 4] doesntexits:
Haha, they just joking. [MENTION=7070383]ngoquang2708[/MENTION] is the first guy who voted Terrible :D
[Samsung Galaxy Ace 4] Enot-XD:
Colors in video are inverted(almost everething in blue)
[Samsung Galaxy Ace 4] JeffersonCaf:
Yeah it's a bug, to fix you just change the video codec to MPEG-4 inside camera settings. :)
[Samsung Galaxy Ace 4] misiakow:
Hello

It will works on Galaxy Ace 4 LTE (SM-G357FZ) ?
[Samsung Galaxy Ace 4] doesntexits:
Nope, because of different CPU brand (G313HZ is Speadtrum, G357FZ is Qualcomm)
[Samsung Galaxy Ace 4] mndhta2:
I want to try this rom, I have the 313H variant AOK1 Build and tried everything but still cant get root access and get a CWM. I did manage to flash an insecure kernel by setting ro:secure to 0. Coulp you please provide a link to the rooting process and CWM..

I looked up the device code name in build.prop it shows vivalto3g.

I was thinking of flashing the TWRP for vivalto3gvn via odin and installing SuperSU and su binary through TWRP recovery. Will this work?
[Samsung Galaxy Ace 4] JeffersonCaf:
Yeah, you can i'm on G313ML and rooted with kingroot but i've flashed an other boot.img bcz my original boot.img got some reboots, i've rooted with kingroot for PC :)
[Samsung Galaxy Ace 4] mndhta2:
Ive tried the Kingroot android app version but it didnt work, maybe I'll try with the PC version again. But if the TWRP for vivalto3gvn works then I'll just flash it via odin, there is no need to root first right?
[Samsung Galaxy Ace 4] JeffersonCaf:
Yeah :)
[Samsung Galaxy Ace 4] mndhta2:
Ohk thanks a lot
[Samsung Galaxy Ace 4] Fifiphoebe:
Do i need to remove my system? Or i'll just flash it? Bad eng. -.-
[Samsung Galaxy Ace 4] JeffersonCaf:
Yeah, wipe /system, do a factory reset too and wipe cache and davilk :)
[Samsung Galaxy Ace 4] mndhta2:
Does this rom have the new theme engine and the theme chooser..?
[Samsung Galaxy Ace 4] JeffersonCaf:
Yeah, when I've using it I was using with a lollipop theme :)
[Samsung Galaxy Ace 4] mndhta2:
Cool
[Samsung Galaxy Ace 4] mndhta2:
Tried this rom . Quick Toggle for Sound in the notifications is not working properply. Gallery still doesnt work even after reopening for many times, still greyed out.