yashsingh1/xdaforums huggingface dataset:
[Galaxy S Advance I9070 Android Development] xxziolo13xx:
LOL. I forgot about it when i was on Loilipop, now it is working.
[Galaxy S Advance I9070 Android Development] edukardo:
It was muy mistake too. This vanir is superb
[Galaxy S Advance I9070 Android Development] mkaluza:
Yeah... I can see this ramdisk stuff causes a bit of trouble. I already have an idea for 'smart' installer, that will autodetect system version and install correct ramdisk for the user.

And it'll only get better ;) I almost nailed the correct compiler flags, so the next stable version will have the speed of beta (or more;) ), but of course without the NetworkLocationService bug.
[Galaxy S Advance I9070 Android Development] edukardo:
Battery backup

Hi, my friend.

I've seen a known bug in CM11 derivated roms like this one. This is related to systemupdate service, the rom tryies to connect to cm software update but couldn't and causes a lot of aware.

I made this script and ran it at every boot

#!/system/bin/sh
pm disable com.google.android.gms/.update.SystemUpdateService
pm disable com.google.android.gms/com.google.android.gms.update.SystemUpdateActivity
pm disable com.google.android.gms/com.google.android.gms.update.SystemUpdateService
pm disable com.google.android.gms/com.google.android.gms.update.SystemUpdateService$ActiveReceiver
pm disable com.google.android.gms/com.google.android.gms.update.SystemUpdateService$Receiver
pm disable com.google.android.gsf/com.google.android.gsf.update.SystemUpdateActivity
pm disable com.google.android.gsf/com.google.android.gsf.update.SystemUpdateService
pm disable com.google.android.gsf/com.google.android.gsf.update.SystemUpdateService$ActiveReceiver
pm disable com.google.android.gsf/com.google.android.gsf.update.SystemUpdateService$Receiver

It make the system wake ups almost dissapear. You could try to put it in your code if you think is correct.

Regards.
[Galaxy S Advance I9070 Android Development] isaak:
I'm not 100% sure, but it could be related to this one:

http://review.cyanogenmod.org/#/c/94128/
[Galaxy S Advance I9070 Android Development] mkaluza:
and the previous one was 2015-06-02 - anyone else can't see the 3 weeks difference? :) besides - check your build date - you'll see that its "old" too :)

for one - I had no time to push it earlier, and two - since there were few issues with thumb -O3 I wanted to be sure they are gone before giving it to you - since the last version had 1000+ download I didn't want to dissappoint so many people with an unstable rom.

It's also the last release for the time being because there isn't much more that can be tuned (well, actually there is - graphite, lto, profiles and gcc 4.9, but since neither of those builds even boots I decided to leave it for now). Anyway - I consider the current release "good enough" :)

I think it's also a good place to say "thank you" to Vanir Team for making the rom, [MENTION=5161352]JustArchi[/MENTION] (he's Polish as well :) ) and the rest of dev's community for working on all the optimizations - it wouldn't be possible to get here without them.
[Galaxy S Advance I9070 Android Development] edukardo:
And thank you, Friend. This is my last ROM. The best.
[Galaxy S Advance I9070 Android Development] errorsys:
Is it safe to install this ROM on I9070P?
[Galaxy S Advance I9070 Android Development] mkaluza:
I don't know - don't have one. Try it - at worst you'll reflash with Odin. But it should work.
[Galaxy S Advance I9070 Android Development] maciek336:
I have weird bug... After flashing 6-22 version it just can't mount my sdcard(formatted in exFAT, 64GB). Even in recovery i cannot mount it. Ofc card is working on 6-02. Do you have idea what is the cause of it?

---------- Post added at 10:26 AM ---------- Previous post was at 10:13 AM ----------

I cannot/don't now how to edit post, so sorry for double.

When i formatted card to NTFS it worked. So why there is no exFAT support in this rom?
[Galaxy S Advance I9070 Android Development] mkaluza:
Try to open kocontrol app and load exfat module (first check if it's there), remove and insert the card again and report back.
[Galaxy S Advance I9070 Android Development] click2abhi:
Hey i got a problem...

As soon as i set the max frequency to anything above 1250mhz the phone freezes and restarts on dynamic governor...

Any solution..??

Bdw...thanks for this awesome rom [MENTION=3329816]mkaluza[/MENTION]
[Galaxy S Advance I9070 Android Development] Epirex:
frequency 1250MHz don't is stable still

Try with 1200MHz or 1150MHz (For me, 1150MHz is very stable :) )
[Galaxy S Advance I9070 Android Development] mkaluza:
It's not a bug, it's a feature ;) (http://i625.photobucket.com/albums/tt340/alephan/eR/bug-vs-feature.gif) . The effect is intentional (default voltage is set too low) - at those frequencies cpu gets very hot very fast and I don't want to be blamed for fried phones if it's used in the wrong way. Overclocking requires quite a bit of knowledge - if you have it and you know what you're doing, you'll work it out. More freqs were added for people who know what they are doing to enable them to oc more - "default" oc of 25% (1250MHz) is "good enough" for an average user.

Mine works fine [MENTION=1466104]135[/MENTION]0MHz (with dynamic gov only of course) - in fact I was afraid to push it further (not long ago I fried my tablet this way...) - at my settings the cpu already uses 56%-70% more power than it was designed for... add to that overclocked GPU, ondemand gov and a game and "one fried SOC comming up" ;)

So it's a feature to protect kids who want to "check how far can it go" from themselves (the answer is - it can go all the way to hell).

[MENTION=5371721]Epirex[/MENTION] - max freq depends on many factors: one important is your original vbbx which says how much headroom you have - before properly changing vbbx I got crashes @ 1300 with varm=3F, now I'm fine [MENTION=1466104]135[/MENTION]0,varm=3A, but my "base" vbbx is 0x11. I could probably go to 1400 with varm=3f now, but that would mean 85-100% more cpu power... I can't afford a new phone right now ;P
[Galaxy S Advance I9070 Android Development] maciek336:
Even after inserting exfat.ko it isn't working but I don't need it anymore cause I'm perfectly happy with NTFS. I don't know if it is credited to NTFS or just new build but huge mediaserver battery drain disappeared. Anyways, thanks for this awesome rom, by far the best for our worthy, old janice :)
[Galaxy S Advance I9070 Android Development] Zouhuo:
I am very happy with your ROM (20150622). So far everything works well and very fast. Thank You!
[Galaxy S Advance I9070 Android Development] Sidman3278:
+1

Mee Too. (On 20150602)

Works like a charm with MK Kernel 5.6.1

I will update soon to the latest to see the diffrence.:)
[Galaxy S Advance I9070 Android Development] flash_619:
I am not able to use mobile data in latest version. DroidWall firewall is disabled.

Is there any other setting that effects mobile data.

In browser I got the error as "net::ERR_PROXY_CONNECTION_FAILED"

Any required Kernel modules to be turn on in KOControl??

Any suggestion? :D

ROM:Vanir 062215

Kernel: mk kernel r6.0.1 noswp
[Galaxy S Advance I9070 Android Development] Zouhuo:
As you have flashed this new version?

Happened to me when I did a bad flash, by formatting improper partitions from CWM, eg modemfs partition.

You can check if the baseband in settings->About Device is xxxx or null.

If you believe this happened is going to have to re-flash Stock.
[Galaxy S Advance I9070 Android Development] mkaluza:
Guys, you don't need to erase anything when flashing. System and Dalvik cache are cleared by the installer and that's all. If you need, you can do factory reset, but if you're just upgrading Vanir, that shouldn't be necessary (if some app misbehaves, just clear it's data and that's all).

Don't format any partitions manually! One mistake and you're toast...
[Galaxy S Advance I9070 Android Development] flash_619:
Baseband shows correct version.

I was coming from ASOPA 4.4,did format system and also other wipes (I didn't touch any other partition). Does this 'no mobile data' issue that I am facing any how related to improper flashing.
[Galaxy S Advance I9070 Android Development] mkaluza:
I have no idea - you can always try flashing again - without any wiping or erasing. Try to get logcat from the moment you're enabling mobile data in settings - maybe there are some hints. One thing - on my phone adb doesn't work via usb - only over wifi, so if your phone is not detected, try the other method (adb over network in developer settings and then do "adb connect phone_ip_addres")
[Galaxy S Advance I9070 Android Development] mkaluza:
I don't know why I didn't see the error message last time. Check your network settings: settings/mobile/access point names and open the one labeled "internet". Find on your operator's website the correct settings for apn and verify those on your phone. There's a proxy field there - either you have it set wrong or you shouldn't have it set at all. I can't think of other proxies...
[Galaxy S Advance I9070 Android Development] Zouhuo:
Yes, it is probably this, the APN. It happened once with an update vanir there in 2014 but not with versions of [MENTION=3329816]mkaluza[/MENTION], hats weird.
[MENTION=5470940]flash_619[/MENTION]: You'll have to manually edit the APN against the provider you have, it is best to copy the same APN of a friend who has the same supplier.
[Galaxy S Advance I9070 Android Development] flash_619:
Solved!!

APN was in fact the problem. (APN configuration for a different service was selected)

Thanks for your help. [MENTION=3329816]mkaluza[/MENTION] [MENTION=5922268]Zouhuo[/MENTION] :good:

Sorry for the trouble caused.
[Galaxy S Advance I9070 Android Development] silver_ranger:
Data switches on automatically

I flashed this ROM Yesterday, happy with everything, working smooth, as of hands on with this ROM, one issue which I am facing, Mobile data automatically switches on when Wifi is switched off or out of wifi range even when mobile data toggle is off. How do I fix this?
[Galaxy S Advance I9070 Android Development] mkaluza:
Good to hear that ;) Enjoy the rom :)
[Galaxy S Advance I9070 Android Development] isaak:
Enjoy this commit:

https://github.com/mkaluza/vendor_vanir/pull/1

;)
[Galaxy S Advance I9070 Android Development] Zouhuo:
Hello [MENTION=3329816]mkaluza[/MENTION]! I comment that with your ROM 20150622 can connecting through adb by usb.

The only thing I tried was:

#adb devices

#adb shell

And this, through usb, worked perfectly.

Flashee with the phone totally clean and from the Stock ROM.

If you need proof of something else, let me know.
[Galaxy S Advance I9070 Android Development] mkaluza:
oh, that's nice :) It means that it's just not working on my phone, but I'm glad it works in general.
[Galaxy S Advance I9070 Android Development] thetupacshow:
Hi Mkaluza, I've installed this ROM and italiano work perfectly... Just two questions:

- can I uninstall KoControl, OmniSwitch and Synapse? Are they important apps?

- my in-call volume di VERY low, how can I fix it? Can I use this ?

---------- Post added at 02:58 PM ---------- Previous post was at 02:53 PM ----------

Hi Mkaluza, I've installed this ROM and it works perfectly... Just two questions:

- can I uninstall KoControl, OmniSwitch and Synapse? Are they important apps?

- in-call volume is VERY low, how can I fix it? Can I use this?
[Galaxy S Advance I9070 Android Development] mkaluza:
Yes, you can uninstall them. As for low volume - that's strange, because I have never done anything with it and the volume is fine. But do try that app and report back if it helps - then I'll try to look at their code and apply it to the ROM.

Right now we have a bigger problem: http://blog.zimperium.com/experts-found-a-unicorn-in-the-heart-of-android/

As soon as I find patches and apply them, I'll post a new build - hopefully tomorrow.
[Galaxy S Advance I9070 Android Development] thetupacshow:
OK thanks a lot, how can I take a screenshot?

Usually I pushed only the POWER button and I could select "take screenshot" but with your ROM I can't no more!!

I tried POWER + HOME button but anyway it doesn't work... Help me please!
[Galaxy S Advance I9070 Android Development] mkaluza:
Turn it on: Settings/interface/power menu/screenshot
[Galaxy S Advance I9070 Android Development] barD1k:
Need to add TWRP and f2fs
[Galaxy S Advance I9070 Android Development] mkaluza:
hm? and why is that? (apart from "no, I don't":)?
[Galaxy S Advance I9070 Android Development] barD1k:
TWRP for that would work f2fs, compare with ext4, f2fs superior in speed and quality of work
[Galaxy S Advance I9070 Android Development] mkaluza:
I don't need twrp... F2fs is available as a module, so if anyone wants to use it, they can (there will be no "for dummies" edition - I don't want dummies here :P). But there remains the matter of reliability... I haven't updated F2fs code for some time, so I don't know if it has any bugs, and the ROM is meant to be stable and reliable above everything else. So - no ;)

But those commits I've showed you fix the biggest security vulnerability found so far in android... I'm also rebuilding my ROM, but in the mean time I had a hard drive failure add it appears that build tree didn't survive...
[Galaxy S Advance I9070 Android Development] isaak:
Nothing irrecoverable, I hope so.
[Galaxy S Advance I9070 Android Development] mkaluza:
Probably not - I'll just sync it once more - it's faster than searching for what's broken. But I'm a bit disappointed - filesystem was on Linux raid 5... It should have survived (but the filesystem was ok, which is strange...)

Compilation failed with message that api changed when I haven't changed anything... The other possibility is that some repo indeed got updated and that caused the change (I did repo sync), but that shouldn't happen. Anyway, we'll see... Full sync takes about 2 days, so there's plenty of time ;)

In the mean time I've found a method to quickly search through cm repos and find any patches that weren't applied to Vanir (which would be mostly security fixes), so there will be some updates ;) also I got a hint from Chrono about some patches I can use, so there will be more updates ;)
[Galaxy S Advance I9070 Android Development] ChronoMonochrome:
Just curious, how did you do? For me it takes sometimes very long time to find needed changes just by comparing two branches of same repo in two different ROMs. Btw, I've recently switched to CM11 branch as many repos in vanir manifest as I was able(everything, except only vendor, build, frameworks_base, settings and a few apps). The only reason for that was that I still have strange issues I've described before, and odd issue with both CyanogenMod cameras(Camera2.apk and Camera next) - both of them refuses to install on this ROM. Hopefully this also will resolve issues with custom toolchains/optimizations(I mean not booting ROM when normally it should). But first it should just boot, because it was quite a radical change :D
[Galaxy S Advance I9070 Android Development] barD1k:
Mr. Mkaluza, ART works fast in Vanir, but periodically throws with applications (VK example) as skype does not work
[Galaxy S Advance I9070 Android Development] mkaluza:
I don't know what vk is... As for Skype, it never worked for me, even on Dalvik
[Galaxy S Advance I9070 Android Development] mkaluza:
The assumption is that up to some date Vanir branch contains everything needed from cm, so I just list all commits from cm branch with date later than the latest Vanir commit.

If however that assumption is not met, you're left with "git log vanir/branch..cm/branch"...

I managed to compile it the way it was and I'm happy with it, but after recent update of my tree I have strange api incompatibilities and so far I don't know where they came from :-\ not much time to investigate it either...
[Galaxy S Advance I9070 Android Development] isaak:
Unfortunately it's a common vanir bug.

Only workaround (for now) is to install this old version:

http://androidsite.in/software/view/12315663

Not many users use it, so

probably

it was never fixed, neither on lollipop.

This post was written in April by a Vanir dev:

For further news, I suggest you to contact this dev on his g+ account, because I never found anything about it on repos:

https://plus.google.com/b/108007798969769493081/+ChristopherLatham_sudo/posts

P.S. VK is a social network.
[Galaxy S Advance I9070 Android Development] edukardo:
Older versions works
[Galaxy S Advance I9070 Android Development] mkaluza:
One important thing you forget about is that Skype is owned by micro$hit, so probably they don't mind it doesn't work on android... (I bet it works fine on WM though;P)

The good news is that I managed to compile the rom - I'll flash it tomorrow and if it works, upload it.
[Galaxy S Advance I9070 Android Development] Zouhuo:
Great news!
[Galaxy S Advance I9070 Android Development] isaak:
Stock roms with kk/lp in general are unaffected, so imho it's a bit weird.

I can barely comment here for a recent tendon injury, so this messy stuff isn't at my top priority...
[Galaxy S Advance I9070 Android Development] mkaluza:
libstagefright bugs update

ok guys, security update is out
[Galaxy S Advance I9070 Android Development] thetupacshow:
It means I have to reflash the ROM?
[Galaxy S Advance I9070 Android Development] barD1k:
Mkaluza, Skype does not work in your ART , and what the red lines on the display light?
[Galaxy S Advance I9070 Android Development] Cassiusss:
That's because in build.prop

"ro.build.type" is set to "eng"

Edit build.prop (if you don't know how then you can use this https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor ) and change

ro.build.type=eng

to

ro.build.type=user

Then reboot.
[Galaxy S Advance I9070 Android Development] barD1k:
Thank's
[Galaxy S Advance I9070 Android Development] mkaluza:
You mean it doesn't work on ART, but works somewhere else?

Those red lines wonder me - I didn't change anything and I think they were not showing on my previous build...
[Galaxy S Advance I9070 Android Development] barD1k:
I tested only Skype ART environment , it works on all other firmware (CM11 by Epirex, Omni based on lollipop, CM 12.1)
[Galaxy S Advance I9070 Android Development] mkaluza:
Ok, I get it. Afaik [MENTION=5695278]ChronoMonochrome[/MENTION] has switched most of Vanir back to cm11 tree leaving only truly Vanir stuff, so maybe I'll try this. I'll check his github later - right now I'm deep into iptv stuff and I'm on a deadline, so only security fixes for now.
[Galaxy S Advance I9070 Android Development] edukardo:
Last security update

Hi, [MENTION=3329816]mkaluza[/MENTION]

Last security update brought to me the annoying red square bug. I reverted to your t15 and no more issue.

I have many "google play services has stopped". I took screenshots from the notify option to google. Take a look at it please and tell me if is a rom issue or something. Thanks a lot.
[Galaxy S Advance I9070 Android Development] Cassiusss:
Thank you for your work! This is the best rom for S Advance, in my opinion.
[Galaxy S Advance I9070 Android Development] mkaluza:
I don't know why the fc, t15 (22-06) was considered stable and i had no problems with it.

But it appears that by accident I did an eng build... What do you have under ro.build.type in build.prop? (I don't have that build anymore - if userdebug, then i messed up :P)
[Galaxy S Advance I9070 Android Development] Zouhuo:
Sure, the ROM 20150803, itself does not work well unless you apply the amendment [MENTION=6416430]Cassiusss[/MENTION] said. Then this compilation in 'eng' mode contain unnecessary debugging data?
[Galaxy S Advance I9070 Android Development] mkaluza:
build 2015-08-11

ok guys, I screwed up ;P new build (userdebug this time :)) is available for download.
[Galaxy S Advance I9070 Android Development] thetupacshow:
What's different with the new update?
[Galaxy S Advance I9070 Android Development] barD1k:
Mr.Mkaluza Skype does not work in art in dalvike not tested, and why not Fixed volume for an incoming call , there is a fix Callservice, but part of it turns constantly at maximum volume . Ask Epirex his CM11 volume operates normally. But in general, the rom is fast enough. Thanks!
[Galaxy S Advance I9070 Android Development] isaak:
Did you already try onlyincallfix.apk attached in first post of this topic?

http://xdaforums.com/showthread.php?t=2676518

He just needs more feedback about it. If it works for you, I'm sure he'll apply this commit once for all:

https://github.com/TeamCanjica/andr...mmit/fdf281fdabe5e7517eb96f2faf159bbcc74ae4a6
[Galaxy S Advance I9070 Android Development] edukardo:
2015-08-11 up and running. No red square. Thanks [MENTION=3329816]mkaluza[/MENTION]!
[Galaxy S Advance I9070 Android Development] mkaluza:
My first problem with this is that I don't have this problem ;) never had it... In call volume seems fine for me - I can hear people, people can hear me. I'd like to know how to trigger the bug so I can test fixes. If it matters, i use Ring Scheduler to change volumes and airplane mode... Maybe it by accident sets volume right?
[Galaxy S Advance I9070 Android Development] mkaluza:
So no changes there - that's probably a good thing since i didn't change anything :P 99% sure that on Dalvik it doesn't work as well.

Does it work on cm11 by Epirex?
[Galaxy S Advance I9070 Android Development] mkaluza:
Red frame bug is gone.
[Galaxy S Advance I9070 Android Development] isaak:
Epirex's CM11 is not affected by skype issue, according to his previous reply:

http://xdaforums.com/showpost.php?p=62169281&postcount=231

In that case it would be easy to verify, trying to disable it and making a call. Less variables is better.
[Galaxy S Advance I9070 Android Development] mkaluza:
Right. When I have time, I'll try to play with his build (I assume it's reachable via github) - maybe I can find a reason and fix it. But that's a big "someday".

#worksforme, #idontcare. The fact that I'm sharing my build means only that I'm sharing my build so others may use it if they want to. It doesn't mean that i want it to be best ever (it already is (or at least good enough for me) - otherwise I would've fixed it) and that I'll be looking for and trying to reproduce bugs others have (and I don't)... I don't have time for this and it was never my goal to even try - if you like it, great, if you don't, you're free to use anything else and I won't mind. So in short - if you want something checked, check it... If I get a clear way to reproduce a bug (and ideally verified by someone else), chances of fixing it increase dramatically: from "none" to "when i have time". Otherwise they will usually end up at the end of my very long to-do list, far far below the "never - people don't live that long" date line ;)
[Galaxy S Advance I9070 Android Development] Cassiusss:
Same here. :)

And there are no problems with the volume for the incoming call. :good:

Thanks again mkaluza.