yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Android Development] CROrION:
Hi guys 2 problems (i9505)

1) sometimes when i try to wake device with lock or home button my device does nothing. Just lags, then in 10sec i try again and it works.

2) lets say i get notification from app like whatsapp, i see it on lockscreen and turn lockscreen off. In some time lockscreen awakens and shows the same notofication nothing else.

Help please
[Galaxy S 4 i9505 Android Development] MattBooth:
You posted the same thing on the last page. Please don't spam.
[Galaxy S 4 i9505 Android Development] djsky2011:
From my experience and tests I have run, adaway slows the device down when activated. People who use Facebook app will have the most problems. This is fact, I tried it on 2 separate devices and the results were the same... Device slows down especially when using Facebook until it forces the app to crash. After disabling adaway, the devices returned to normal performance. Facebook's new app allows adverts and results in a loop until the ads are returned through the class as loaded
[Galaxy S 4 i9505 Android Development] dvhttn:
Can someone explain whay Adaway "could" use resources? AFAIK it just builds a hosts file and it's the host file that obviously stops all the ads etc. What is Adaway doing in the background? (I start the app every couple of days, it checks for updates and I install them if they're there. It does nothing else - and I can't see why you'd want it to do anything else ...).

What am I missing here?
[Galaxy S 4 i9505 Android Development] maurocds:
i ise adaway since 2012 on all my phones, never had issues, i mean never

phone is the same speed with or without adaway, no stupid ads for me
[Galaxy S 4 i9505 Android Development] Soufiansky:
Oh god 3 pages talking about adaway ...
[Galaxy S 4 i9505 Android Development] TheDude:
You did not miss a thing ;)

My facebook app works perfectly and has not crashed once... Neither has my wife's, and trust me she would complain about it ;) How did you get this data on the facebook app? Did you decompile it and go through all the code or did it fill your logs with 'ad loop errors'? If facebook did indeed implement some anti ad blocking loop mechanism that would be really stupid on their part as many corporate firewalls and content filters do the exact same thing as adblock achieves. It also confuses me when people refer to adblock as activated... Do you experience the same results using a host file block without adaway installed? Saying that this is "fact" is a bit misleading as many people have absolutely no problem with it, rendering you comment nonfactual.

I'm not trying to start an argument, I just think that there are a lot of baseless accusations with no evidence being made here. Bottom line is that adblock is a (unselected) option in the Aroma installer as well as it can be easily uninstalled. Problem solved. If you like ads, tracking cookies, and slow loading websites do not install or use it.

It would be interesting to see a poll in this thread regarding this. A "Does adaway screw your device up?" poll (yes,no, don't install it) That would provide some numbers at least of how many people are really experiencing issues related to this. From what I can tell it is about 3-5 people with complaints so it probably is a useless poll. My guess is there is something specific to the few of you having issues.
[Galaxy S 4 i9505 Android Development] djsky2011:
Users are expressing opinions on a software they think may or may not affect performance of the ROM, no way irrelevant

---------- Post added at 08:45 PM ---------- Previous post was at 08:38 PM ----------

Like I said above, people will have different experiences using their device as real world scenarios vary. In my case I can confirm that adaway did affect the performance of my device especially while using Facebook. If you faced no problems it is clear you may have a slightly different kernel configuration to the one I'm using. I don't just make bold claims without being sure. I'm just presenting my findings as a user. If your results differ then that's based upon your device. I could do a video to prove this theory if you like. I develop apps also so I'm no novice to the various debugging procedures involved. I must point out that Facebook is main app that suffers while adaway is activated but then again Facebook itself is a resource hog.
[Galaxy S 4 i9505 Android Development] -Ric-:
It totally beats me how the hell is adaway causing lags to some people... all the host file does is literally block from the phone from accessing the adresses of the ad servers.. when apps and websites try to load an ad, the connection is refused and terminated... that's all it seems to do.

I have been using it since lord knows how long and to this day, im able to keep saying that it never caused any lags on any of my phones (and im on my 4th android device..)
[Galaxy S 4 i9505 Android Development] TheDude:
True that about Facebook being a resource hog! Makes me want to punch Mark Zuckerberg in the face. If it wasn't for Greenify that POS app wouldn't even be on my device. What a joke.
[Galaxy S 4 i9505 Android Development] -Ric-:
Its not only a resource hog, the permitions it uses are beyond silly at this point.
[Galaxy S 4 i9505 Android Development] Soufiansky:
[MENTION=4090067]djsky2011[/MENTION] They can express them not "Discuss" them. There is a bug report section when all of you can talk about this :)

The dev said it doesn't cause any lag in his rom so i think it's clear ;)
[Galaxy S 4 i9505 Android Development] TheDude:
True that as well! lol. I hate facebook personally. It is like a line of bad cocaine, you know its bad but you just might do it anyway hoping its kind of good. Social engineering at its best!
[Galaxy S 4 i9505 Android Development] djsky2011:
As a dev myself, we all know that because a dev doesn't experience a bug it doesn't necessarily mean the bug doesn't exist. Anyways this going off topic but to users experiencing slow downs try disabling adaway and see if it makes a difference. It sure did for me, no placebo
[Galaxy S 4 i9505 Android Development] hawkerpaul:
I've never had any problem with Adaway at all, in this or any other ROM for that matter.

However, it is possible it could cause a slight lag. This possibility is due to the size of the host file.

Android must load this host file into its internal DNS tables. Whenever a request is made by the device to access an ip address, it must look through its DNS table. Obviously the more stuff that is in the table, the more time it can possibly take to make the initial resolution before letting it go out externally. However, the benefits of having these addresses in the host file far outweigh this extremely slight lag, as without it, the device will then proceed to download the information at the other end of these "rogue" ip addresses, which will therefore cause more unnecessary traffic, thereby taking more time for affected pages to load.

One thing you can try is to change all the 127.0.0.1 addresses (but not localhost) to 0.0.0.0, or even simply just 0 (which will reduce the size of the host file)

There has been years of debate about this, but the consensus of opinion seems to suggest that 0 is more efficient as it does not require to wait for any timeout whatsoever, and therefore slightly faster, but it's not really a given.

Simple thing to do is to try for yourself, and see if you can notice any difference.

Here is a shellscript I just wrote to do it.

Run through adb shell.

If you want to use 0.0.0.0 and not 0, then don't do the 3rd sed.

#!/sbin/busybox sh

# ZeroHosts.sh

# ~~~~~~~~~~~

HOSTS=/system/etc/hosts

mount -o remount,rw /system

chmod 666 $HOSTS

echo Replacing 127.0.0.1 with 0...

sed -i 's/127.0.0.1/0.0.0.0/g' $HOSTS

sed -i 's/0.0.0.0 localhost/127.0.0.1 localhost/g' $HOSTS

sed -i 's/0.0.0.0/0/g' $HOSTS

chmod 644 $HOSTS

echo Done.​
[Galaxy S 4 i9505 Android Development] auiterwaal:
I think it's not implemented on this ROM...

Dev would have to cherry pick some commits from AOSP that are not on 5.0.1 yet because Google seems to accidently break it before release, lol

Here is a link to the post pointing to those commits.

http://xdaforums.com/showthread.php?p=58408291

It would be really great if could be implemented!
[Galaxy S 4 i9505 Android Development] exxi:
Thanks for the post.

I've experimented with daily use performance with ad away activated vs deactivated.

I based my benchmark on the following scenarios/actions:

- typing (SwiftKey)

- browsing (chrome)

- small burst Internet bandwidth/responsiveness

- app launch (Gmail, maps, home button press, switching apps)

- Google search queries from home screen

After obsessive testing from a clean flash base I can confirm and prove that the activation of ad Away has a significant impact on the performance of all the actions listed above.

Now, I realize that these results can be confounded by which rom is used and the basic configuration of the phone but the results are just too consistent.

Just my 2 cents...
[Galaxy S 4 i9505 Android Development] dvhttn:
Hate to say this but Adaway has a 'preference' setting to do just that - a 'Redirection IP'. If you don't like 127.0.0.1 then replace it with one of your choosing ..... :D
[Galaxy S 4 i9505 Android Development] TheDude:
Well put, both of you. Now all I have to add is that the host file fully populated is ~1.14mb... I would hope our devices could handle that, I know mine sure can and does. This adblock nonsense is obviously related to something else. EOF :good:

---------- Post added at 06:57 PM ---------- Previous post was at 06:53 PM ----------

Your sled dogs have obviously pulled you to far out into the arctic. To the point brain damage has occurred.
[Galaxy S 4 i9505 Android Development] Spacemonkie4207:
The issue with lock screen showing no connection is part of system ui
[Galaxy S 4 i9505 Android Development] stryfe1986:
Hey guys I have been having issues with my data connection. My wife and I both have the same provider and we both have great data service but all of a sudden mine has an exclamation point so I have to reboot to regain my data connection. However her phone does not get this interruption. I have noticed this to be more common now, it seems to be happening more frequently. Anyone else has this issue? Or remedy for it?
[Galaxy S 4 i9505 Android Development] MattBooth:
Changing this line

<dimen name="navigation_bar_height_landscape">48.0dip</dimen>

Doesn't fix that landscape but for hiding the navigation bar, just FYI. Whoever said so was full of it.
[Galaxy S 4 i9505 Android Development] Jimmy Mossiba Floyd:
did you try it and it didn't work for you??? because if you've read carefully what I wrote, you would've noticed that I ACTUALLY DID TRY IT and IT DOES WORK!!! :P
[Galaxy S 4 i9505 Android Development] Hexgore:
Exactly the same issue I am having in Tinfoil for Facebook.
[Galaxy S 4 i9505 Android Development] Maaat120184:
Doesnt work for me.

Mind if i pm u to know how u did it?
[Galaxy S 4 i9505 Android Development] petrus764:
Wut? Yes it does, I've set value to 0 god knows how many times to get rid of the landscape navigation bar. Not sure why you're having issues, but that is the line to edit. It lies in between all the values for removing the nav bar in portrait as well, so it's kinda logical really.
[Galaxy S 4 i9505 Android Development] auiterwaal:
No, it didn't work for me... Could you pm me too?
[Galaxy S 4 i9505 Android Development] 7325:
App2SD

First of all Great Rom!!!!

But is it possible to add the App2SD function because I often got the message that my storage space is running out

Thanks
[Galaxy S 4 i9505 Android Development] Spacemonkie4207:
Feature is not present in gpe. You'll need a workaround from play store such as Foldermount or link2sd
[Galaxy S 4 i9505 Android Development] exxi:
Haha, very funny...

So apparently user experience isn't important.
[Galaxy S 4 i9505 Android Development] CROrION:
Is it possible to make lockscreen not darkening bacground photo.
[Galaxy S 4 i9505 Android Development] xDroidZz:
That used to work with xposed (gravity box). Dont know if gravity box still have that feature for lollipop
[Galaxy S 4 i9505 Android Development] 22vlaja:
Just want do say thanks to greatest 5.0 rom ever, after using it for few weeks just want to clarifired all still work great like a first day, keep going on great work dude.
[Galaxy S 4 i9505 Android Development] regaber:
Please keep your bitter sarcasm to yourself, this is not the place for this.
[Galaxy S 4 i9505 Android Development] exxi:
Excuse me??? Did you even see how he insulted me? There is no sarcasm here my friend.
[Galaxy S 4 i9505 Android Development] MattBooth:
So, why isn't it removing it on my build?

in android.policy.jar@PhoneWindowManager.smali

const v12, 0x1050012
invoke-virtual {v5, v12}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I
move-result v12

Removing this removes the reference to that value and should force it to use the one for portrait. It does not.

So, heading into framework-res.apk to manually set to 0 to see if that fixes it... does not.
[Galaxy S 4 i9505 Android Development] navyjosh:
Hey guys I noticed that when I watch videos on YouTube or downloaded in various formats it works for 3-5 seconds and then the playback freezes for 2-3 seconds. While it freezes I can still hear the sound of the video (the audio continued while the video froze). After a few seconds the video continues at a normal pace but since the audio never stopped the video trails the audio for about 3 seconds and it is very annoying. Does anyone know why this is happening?

Thanks.

Great ROM BTW.
[Galaxy S 4 i9505 Android Development] SilentEYE:
Sounds like android lollipop bug when playing online videos.

Did you try to turn off nuplayer in developer settings?

At least in cm lollipop builds you can find this setting at the bottom.
[Galaxy S 4 i9505 Android Development] markiarom:
Me too!

EDIT: Tried to activate and then deactivate nuplayer (thanks to [MENTION=899471]pikatchu[/MENTION]!!!) and now it seem to work properly!
[Galaxy S 4 i9505 Android Development] petrus764:
Sorry but I don't know anything about how removing references to values affects the system, why should removing the value force it to use the one for portrait?

All I know is that if you manually decompile framework-res.apk and changes the discussed values to 0 the landscape bar also disappears. I've done this on countless occasions and it works every time. I did not figure this out by myself, there are several threads on the subject, for instance http://xdaforums.com/showthread.php?t=2791635 People have also been posting modded framework-res-files in this thread since Lollipop got released which included the current changes, and it worked well there too.

No one has had this issue when doing the changes manually, so that works. Why it doesn't work when using your method I have no idea, sorry.

Perhaps seeing how the xposed mod menubegone does it helps? https://github.com/adi1133/XposedMenuBeGone I know very little when it comes to coding, but I think it should be pretty straight forward. Although I'm not sure if the method can be used, since it relies on the xposed framework.

Sorry I couldn't be of more help, this isn't my strong suit.
[Galaxy S 4 i9505 Android Development] MattBooth:
Well, I changed it. Compiled. Flashed. Nothing.
[Galaxy S 4 i9505 Android Development] petrus764:
Then I got nothing, sorry. :/
[Galaxy S 4 i9505 Android Development] lcarapinha:
Bug - Hide sensitive notification content

Hello Dan,

Not sure if you already know, but there is a bug when you have youe device setup with PIN and you have "Hide sensitive notification content" in notifications

Once you swipe the notification on lock screen, SystemUI crashes. Once you change to the other 2 options, no issues

Just to let you know.

Thank you for your hard work
[Galaxy S 4 i9505 Android Development] Nimueh:
He already knows and said it'll be fixed soon ;)
[Galaxy S 4 i9505 Android Development] Jimmy Mossiba Floyd:
it would be my pleasure to help you out ;)

wait for PMs ;)
[Galaxy S 4 i9505 Android Development] MattBooth:
I'm still working at it. It's confusing the hell out of me. I'm resorting to trying the code in CyanogenMod first and then porting it over :/
[Galaxy S 4 i9505 Android Development] Motawa88:
so is this the official rom? Or is it based on it?

doesnt boot. it boots automatically into twrp after installation. i9505 here.
[Galaxy S 4 i9505 Android Development] yurividal:
This is based on the GPE edition i9505G, with some few mods (which are off by default) and + an awesome aroma installer with many options.
[Galaxy S 4 i9505 Android Development] Motawa88:
thats great but all it does is erease my internal storage after installation. Even when i pick the dirty flash option.

edit: nevermind. Had to update twrp.
[Galaxy S 4 i9505 Android Development] Flysch:
Hello !

I'm finally having Lollipop, I just installed your ROM :) looks great !

But I have a problem, my GPS doesn't fix ... And I really don't know how to solve this !!

I did a clean install, all the wipes are done, but this is my issue :S

Pleaaaase help me ^^ ! Thanks
[Galaxy S 4 i9505 Android Development] kees1982:
Use "GPS status and toolbox" from the store to fix it
[Galaxy S 4 i9505 Android Development] Flysch:
Looks like it's working ! Do I have to keep the app installed, or now it's fixed forever and I'm good with that ? :)
[Galaxy S 4 i9505 Android Development] kees1982:
It's a utility that helps you calibrate your GPS or compas. If it works, you can remove it.
[Galaxy S 4 i9505 Android Development] Motawa88:
is there a way to rearrange the onscreen navbar buttons? would like to have the back button on the right.
[Galaxy S 4 i9505 Android Development] Flysch:
Thank you very much ! Now I can enjoy this ROM :)
[Galaxy S 4 i9505 Android Development] Pho3nX:
[MENTION=4830253]Danvdh[/MENTION] i try a lot of rom (KANGAPOP, CM12 Official, ECHOES, TW LEAK & MORE...) but your ROM is the best. All options/Custom/Addons are implemented and my phone is smooth, without bugs and battery life is awesome.

Thanks i like tyour great work !
[Galaxy S 4 i9505 Android Development] Duck4Cover:
I want to try this ROM but after flashing it twice earlier today I had to go on another ROM as I need the phone. Once I had gone through the install stage it couldn't connect to my WiFi and struggled once connected it rebooted on both occasions. Once into the ROM none of the apps installed during flashing would open just kept coming up blank. Any ideas? I went for the black theme, oneplus camera didn't install any of the browsers as I use Firefox i used googy kernal and deleted all the wallpapers?
[Galaxy S 4 i9505 Android Development] steph3003:
sounds a lot like "come to the dark side of the force" to me, lol.
[Galaxy S 4 i9505 Android Development] Motawa88:
what are the benefits of this rom compared to cm12?
[Galaxy S 4 i9505 Android Development] mooyaart:
Stability!
[Galaxy S 4 i9505 Android Development] Duck4Cover:
Deleted.

Redownloaded zip and reflashed all is working. Anyway to change the DPI within the rom?
[Galaxy S 4 i9505 Android Development] dyval:
+100 and more. :good:
[Galaxy S 4 i9505 Android Development] a103:
Change it in build prop.
[Galaxy S 4 i9505 Android Development] MattBooth:
Update in the OP

Boot animation memory leak fixed thanks to arter97

Fixed System FC when expanding a content sensitive notification

Network meter settings will now be properly themed white if stock settings is chosen in AROMA

Landscape navigation bar will now properly hide if set to 0 dpi

Updated SuperSU 2.46

Updated OTAUpdater to 2.2

Updated Googy kernel to 1.2.9

Updated CM APNs

Modded framework and apks now compiled with latest apktool

Removed SNote preload data
[Galaxy S 4 i9505 Android Development] Danvdh:
Nice one Matt. Glad you could get it out today.
[Galaxy S 4 i9505 Android Development] p3pp3mt:
Where is the rom update file bro? I find only a 43 kB file not the rom one!

It's a torrent link sorry ahah I was usually download by the direct file... Thanks for your work ;)
[Galaxy S 4 i9505 Android Development] njay22:
I downloaded the latest version for my intl i9505g as of yesterday. Whenever I use google Messenger (the SMS/MMS app) to try and create a brand new MMS it crashes with 'Unfortunately, Messenger has stopped'. I have no SMS/MMS in my inbox - if that makes a difference.

Has anyone else faced this issue?

I am getting some instability with Bluetooth as well -> trying to connect it to my friend's MercBenz stereo. I use bluetooth a lot so I will experiment with connecting to other devices.

Generally, love the ROM. Very very fast and stable. There are something that are Lollipop related that I can't stand (e.g. it takes 5 clicks instead of 2 to turn off mobile data, accessing 'no sound', vibrate, sound is no longer possible (this None/priority/all is silly). Also I don't like that swiping right on the LOCK screen takes you to your dialer screen ... I always swipe right. Swiping up takes you where most people want to go -> desktop), etc.
[Galaxy S 4 i9505 Android Development] Motawa88:
Is there a way to rearrange the screen navigation bar buttons?
[Galaxy S 4 i9505 Android Development] N!KE26:
Mobile data off:

1: swipe down from top with 2 fingers

2: tap the signal icon

3: slide mobile data off from the switch on top.
[Galaxy S 4 i9505 Android Development] HaTrED_:
Quoted for true!

I've been facing the same treatment from dev who doesn't seems to "care to much" about some issues that users post and should take some attention!

Probably they aren't that important as we think... anyway i'm still very keen on with this ROM and keep using it! It's an excellent ROM!

:cowboy:
[Galaxy S 4 i9505 Android Development] Danvdh:
contacts noted, I also notice google needs to fix their camera app, it's better then it was on 4.4 but I'm still not satisfied, I've actually dropped the APK all together in favor for Snapcam HDR, I feel bad for anyone who bought the 699$ GE phone, it's ridiculous how much work we put it into it already to fix stuff that was broken

this is far from true, I care but I can't see everything posted here for 2 reasons

1) different sleep schedules, Im about 6 hours behind you guys here in Canada

2) I support all the variants of the S4 and have multiple threads to take care of

I do my best bud :)

I've gone back about 4-5 pages and didn't see you post any questions?
[Galaxy S 4 i9505 Android Development] HaTrED_:
[MENTION=4830253]Danvdh[/MENTION]

1) I know that!

2) I know that to!

Sure you do!

No hard feelings about that! I appreciate your wok! :good:

I think that they are "minor issues" but if you could take a look...

Where it goes:

http://xdaforums.com/showpost.php?p=49356493&postcount=1573
[Galaxy S 4 i9505 Android Development] Prodigalza:
I've never had this problem.

I don't use the stock messaging app, I use Contacts+, but from what I've read on the thread, the colour change in messaging and contacts is not a stock thing, it's been kindly created by the dev's...it is therefore reasonable to assume that on one or two unique areas of the app, that a colour mismatch might occur (eg: white on white). I am sure it will be fixed when the dev's have a chance if I am correct in my assumptions.
[Galaxy S 4 i9505 Android Development] Danvdh:
1) not sure what's going on with youtube, let me install the app and have a look. I know i briefly tested it a while back but for some reason I always use my browser to watch youtube

edit: no issue here, are you restoring data from titanium backup? I don't ship the ROM with it, is this a clean install with no data? check your android/data folder for any left over touchwiz crap

2) I saw that post, just didn't reply as I addressed it right away via hangouts to kryten2k35 and we both looked through the xml and values. to explain why it's not an easy fix because it shares the same value as the main font color for the app, obviously setting it dark will be no good at all either, looking for a solution to this but rest assured, any inverted 4.4.2 mms you will see (even on nexus 5 forums) will suffer this exact issue :P I have checked myself

it's one of those menus you only use once anyway, and its pretty much already set for you anyway lol