• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM][4.4.4] Vanir - 04.08.2016

ChronoMonochrome

Elite Member
Jan 29, 2014
2,276
4,896
113
Stavropol

Welcome to VanirAOSP. Our mission is to deliver a clean optimized version of Android with subtly improved versions of the features you love to as many devices as possible. we've tried to incorporate and improve our features in a way that makes them more cohesive to improve the overall user experience while correcting any performance regressions and improving functionality..

Features:
  • stock mode - ability revert to stock AOSP code with the exception of a few custom features we chose to keep active
  • enhanced performance.. longer uptime with less slowdown
  • custom written CRON and init.d.
  • UI and graphics improvements
  • custom navbar, navring, and hardware key features
  • improved notification handling (active display & halo are in review also)
  • usability improvements like power reboot menu and sound
  • animation control
  • Improved Vanir keyboard
  • CM's profiles & quicksettings
  • additional quicksetting tiles
  • immersive mode
  • statusbar mods
  • clock & battery mods
  • lockscreen blur and other mods
  • busybox, embedded root, init.d, cron etc
  • yatta yatta yatta


What's working:
  • RIL(Mobile and Data Network)
  • Camera
  • Wi-Fi
  • Bluetooth
  • Recovery
  • ADB
  • GPS
  • Proximity Sensor
  • External SD Card
  • Internal SD Card
  • Audio/Video Playback
  • Physical Buttons
  • Speaker
  • Airplane Mode




Downloads:



New releases (4.08.2016 and up) on

http://ultimaterom.h1n.ru

Oldest release are available at link below:
FTP



Sources:

Device tree: https://github.com/ChronoMonochrome/android_device_samsung_codina
Kernel: Chrono Kernel
Vendor: https://github.com/ChronoMonochrome/android_vendor_samsung_u8500-common

Credits:
@dh.harald
@jereksel
@SakuraDroid
@Unjustified Dev
@Meticulus
@munjeni
@percy-g2
@Epirex
@marsarmy
@TeamCanjica
@NovaFusion
@Vanir Team

Special Thanks
@monstro78 for providing build server
@S.AMU for providing FTP server

XDA:DevDB Information
[ROM][4.4.4] Vanir [codina], ROM for the Samsung Galaxy Ace II

Contributors
ChronoMonochrome
ROM OS Version: 4.4.x KitKat
ROM Kernel: Linux 3.0.x
ROM Firmware Required: stock 4.1.2 && custom recovery
Based On: Vanir

Version Information
Status: Testing

Created 2015-06-20
Last Updated 2016-08-04
 

ChronoMonochrome

Elite Member
Jan 29, 2014
2,276
4,896
113
Stavropol
Changelogs && Bugs

Changelog



25.01.2016
  • Applied JustArchi optimizations v3 for CM-11.0 (without -O3 flag)
  • Compiled with the latest Linaro GCC 5.2
  • Removed Navigation Bar && Ring - fixed touchscreen 2mm dead zone on the bottop side of the screen
  • Disabled a lot of an extra unneeded debug
  • Decreased some delays such as DEFAULT_LONG_PRESS_TIMEOUT, GLOBAL_ACTIONS_KEY_TIMEOUT, etc
  • Improved scrolling
  • libwebviewchromium.so blob is replaced with the one from my latest CM11 build

26.09.2015
  • camera fixup
  • fixed bluetooth issue (thanks to @shaqman89 for the hint)
  • wifi tether should be fixed (needed test)

17.09.2015
  • solved all camera related issues
  • fixed missing APNs
  • merged fixes to the stagefright CVEs
  • compiled with dex pre-optimization
  • optimization of apps graphics with optipng

01.08.2015
  • stagefright security issue fix
  • Fixed camera FC (thanks to Epirex for help)
  • Fixed google play(GPS location) FC bug
  • Fix for GPS blob [Meticulus]
  • Software mediacodecs fixes and improvements [Meticulus]
  • EGL time fixup [Rox]
  • most of ROM repositories are switched to cm-11.0 branch - more stability and fixes
  • ROM optimizations are resetted to cm-11.0 ones - less bugs/breakages
  • universal package - introduced codinap support

19.06.2015

ROM:
  • initial release
Kernel:
  • f2fs update (thanks to XperiaSTE team)
  • various fixes and improvements
  • reverted previous optimizations(since it messes some things)

Bugs
  • please report if you'll find them
 
Last edited:

ChronoMonochrome

Elite Member
Jan 29, 2014
2,276
4,896
113
Stavropol
Misc

Important note:
Starting from 17.09.2015 build the installer of chrono kernel is decoupled from a ROM installer, so e.g. no support for f2fs or dual boot with a default ROM kernel. In order to have all features of the universal kernel package you need proceed standalone chrono kernel installation.


Conversion EXT4 -> F2FS:

TWRP:
1) back up the system
2) find backup folder and rename system.ext4.win to system.f2fs.win, data.ext4.win -> data.f2fs.win etc.
3) restore backup of selected partitions
4) flash zip from attachment (chrono kernel is supposed to be installed)

CWM/Philz:
1) back up the system
2) format selected partitions to F2FS
3) restore backup of selected partitions
4) flash zip from attachment


Fix to GAPPS(GMS) FC:
http://forum.xda-developers.com/showpost.php?p=61448886&postcount=14
 

Attachments

Last edited:

ChronoMonochrome

Elite Member
Jan 29, 2014
2,276
4,896
113
Stavropol
For f2fs i have to convert first the rom with the script or i can install it as it is?
I caught myself that I haven't tested f2fs with this ROM(of course I've tested f2fs update itself). There installation with f2fs will be a little tricky, because /ramdisk/fstab needs to be changed(it can be updated after reflashing ROM, but this is not the best solution IMO). I will test it and report later.
UPD. Btw, kernel version line messed up a bit, just don't pay attention on this :p
UPD2. added info about f2fs to 3rd post.
 
Last edited:
  • Like
Reactions: manthes

manthes

Senior Member
Dec 2, 2011
562
50
0
With flufli's script f2fs installation was fine but i had system fc the first time, launcher's fc, camera as you have said and the rom was laggy for me even without installing any other app.
I went back to liquid so that's the only feedback i can provide
 

ChronoMonochrome

Elite Member
Jan 29, 2014
2,276
4,896
113
Stavropol
With flufli's script f2fs installation was fine but i had system fc the first time, launcher's fc, camera
Well, updater_script of this ROM is quite different from CM11, and it was never guarantied(AFAIK) that it will work with another ROMs. For me mentioned in 3rd post way is working, and there are no FCing apps(besides of aforementioned camera).
and the rom was laggy for me even without installing any other app.
Note that for first 10 minutes media scanner is running in background, so there's nothing unusual that phone may lag in this time.
 
Last edited:

ChronoMonochrome

Elite Member
Jan 29, 2014
2,276
4,896
113
Stavropol
Well, after reading janice vanir topic I've found that GAPPS(GPS) FC bug will also appear there. This is related to -O3 optimization applied to binaries which are compiled in thumb mode. I haven't messed with optimizations yet(and Linaro GCC 4.8 is used here), but unfortunately for us, -O3 was already applied. Known fix for lollilop won't work on kitkat - it simply doesn't apply well, actually it can be applied, will try it later.
 
Last edited:

ChronoMonochrome

Elite Member
Jan 29, 2014
2,276
4,896
113
Stavropol
Then compile with -O2 and apply some non problematic -O3 flags manually :eek: ;)
This isn't such simply. AFAIK, anything except -Os being applied to thumb code will fail. It's interesting to force ARM mode to check if it as well fixes issue, but first I'll try out removing forced alighment code. I have too slow internet to upload(or rather - download) new build in near time, when applying just one fix probably can fit in few blobs.
 
  • Like
Reactions: judas1977

fluffi444

Elite Member
Nov 19, 2012
1,582
919
0
Test fix to GAPPS FC bug. To apply reboot to recovery and copy files to /system/lib(make sure you have backup of original files!). Please test it and report if it's working.
http://xda.mister-freeze.eu/XDA-files/ChronoMonochrome/VANIR-KK44/gapps_tmp_fix.zip
Well done! This works for your CM11 05.05.2015 (Running Google Play services 7.5.74 (1997312-034))

The idea to use other/older libjavacore.so was known but not to change libjavacrypto.so also. Which is obviouly if I think about it once more :eek:
As you know me I made an installer zip of this. It is not my work actually - I only changed files, added codina and CM11 checking and added deinstall routine for my old init.d fix.
You can use it also (of course) if the init.d fix was not used...

This will do the following:
Deletes init.d 50gmscache (if installed)
Deletes cache folder of gms (will be build new automaticly)
Makes backup (*.so.bak) of original libs
Copy working libs over the original ones.
 

Attachments

Last edited:

ChronoMonochrome

Elite Member
Jan 29, 2014
2,276
4,896
113
Stavropol
Good work, Chrono
I saw that in rom preinstalled r3 kernel
Is there an update already or it special version for Vanir?
There is an update(read changelog in 2nd post), but I haven't pushed it because I need to deal with some changes in kernel installer(and in build script, in particular) and make sure that they works properly.
 

xo.en

Senior Member
Jul 5, 2014
726
176
43
Spalding, England
upd: kernel used with this rom is the best.
I made fatal mistakes by flashing nonrelated chrono's ones.
I was SO WRONG flashing latest one instead of testing included one.
Definitely, kernel used there is really fit for this rom.
Awesome(some tweaks are still needed, but, damn, it is really, really awesome)!
Kernel we have there still can use latest chronokernelsettings(MANY customization are needed to get totally great results, but CKS + perfctrl used together are capable to push a2 to the max, imho).

This is awesome rom.
Small advice - add these to init.d with 755 permission, reboot:
http://speedy.sh/FVaw2/init.d.7z
Then you can optimize your system even more with chronokernelsettings + perfctrl(do NOT overwrite init's settings there).
Then - apkopt - list of apk's to being optimized - soon(check fuc.kin dialer gain)...
Then - media.scanner, any wrong id tag may result in batt drain(imagine >500 mp3 files with wrong id tags, then imagine 1500 files with wrong tags on extcard and media.scanner working)...
Yup, it can DRAIN your battery without reason...
F'ed up tags of your music/vid files may break your nice, flatline batt usage, too.
Another story - ex-ter-nal music player/vid player...

And so on, so on...rom itself, or kernel will NOT help you, if you are not aware how andorind is working.
Anyway, good luck....feel free to ask.
But maybe tomorrow, now i am drunk, allright.
Chrono, thank you.
 

Attachments

Last edited:
  • Like
Reactions: ChronoMonochrome

conquistadore.11

New member
Oct 10, 2012
3
5
3
Not enough space on /system

It seems apps that require to write some data on /system (like AdAway or Mount2SD) are not working correctly after f2fs conversion. Error message says "there is not enough space on /system". I wonder if anyone experienced the same or is it just me messing up at a step? :)