yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] 135Shadowsoul:
Custom Recovery Script

Hi all,

just a little Question:

Because i want the Green Android Head smileys, i have installed another sms/mms app into system/priv-app. But on each CM nightly update, this app is deleated and the original without thoes smileys possible is there.

Now i have written a Custom Recovery Script for this app. it would be realy nice if some1 have a look on it and tell me if it could work or if not and perhaps why not and tell me, what to do that it will work :) (the file will have the name "91-Mms.sh" without the " )

#!/sbin/sh
#
# /system/addon.d/91-Mms.sh
#
. /tmp/backuptool.functions

list_files() {
cat <<EOF
priv-app/Mms.apk
EOF
}

case "$1" in
backup)
list_files | while read FILE DUMMY; do
backup_file $S/$FILE
done
;;
restore)
list_files | while read FILE REPLACEMENT; do
R=""
[ -n "$REPLACEMENT" ] && R="$S/$REPLACEMENT"
[ -f "$C/$S/$FILE" ] && restore_file $S/$FILE $R
done
;;
pre-backup)
# Stub
;;
post-backup)
# Stub
;;
pre-restore)
# Stub
;;
post-restore)
# Stub
;;
esac
[Galaxy S 4 i9505 Original Android Development] !crazy:
Today nightly has some interesting commits, some deadlock in wakeup of sync threads should have been resolved. Maybe that was the reason for freezes with stock kernel? There are some other interesting commits in regard to CPU scheduling.

Anyone tried latest nightly, any observations?
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
I'm using it WITH ktoonsez kernel. I know he hasn't merged those new kernel commits but nightly is working

Gesendet von meinem GT-I9505 mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] misha0209:
hi all,

first thing, thank you to the devs for the port :D

owner of an international i9505.

using nightly from 14.03.

all working good so far, except for minor glitches.

i did not read all 200 ish pages of posts, so maybe these things are known, but here is what i find does not work / has bugs:

1. games - does the graphics card not work? tried lair defence dungeon (liked this for some time). can not get the game to start :(

2. when i dial, i see a short flash of the phone app, before the dialing screen comes in.

3. sometimes, the device does not wake up properly, for example, screen off, i hit home, screen wakes, but it is stuck, it will not answer to any swipes. solution, switch off and on again, or wait, and maybe it will work (this happened 2 time in one week, so no biggie)

4. can not switch net mode (maybe because the thing has LTE) it is always set to LTE.

this is about it, i will post if i see more problems.

is there an M build coming in some time soon? i think the ROM is pretty darn stable!

@ devs working on this, thank you again for porting this great ROM to the i9505 :D
[Galaxy S 4 i9505 Original Android Development] Mittaa:
1 Don't know ... I do not play that game ...

2 Haven't had this problem ...

3 Haven't had this problem ...

4 Problem solved in newer nightly :)

Why not just give latest nightly a try?
[Galaxy S 4 i9505 Original Android Development] The_Skull:
Still an issue in today's nightly. Camera FC.

And Focal still works without prpblems.

Verstuurd vanaf mijn GT-I9505 met Tapatalk
[Galaxy S 4 i9505 Original Android Development] vwirstam:
Is LTE working with this rom? Can't get it to work...

Skickat från min GT-I9505 via Tapatalk
[Galaxy S 4 i9505 Original Android Development] Mittaa:
Yes working for me.

Latest Nightly ...
[Galaxy S 4 i9505 Original Android Development] vwirstam:
OK I'll try to flash it. How do you turn it on? Any code or just in the network menu?

Skickat från min GT-I9505 via Tapatalk
[Galaxy S 4 i9505 Original Android Development] Woodski:
Yes I have everything working well (with Igo)

Then I only install xposed framework and the problems start

First small problems but the next day it gets worse

That is without any of the modules installed
[Galaxy S 4 i9505 Original Android Development] !crazy:
I have just tested GPS with Google maps navigation, with xpose installed, and it works well. The maps self didn't work well immediately, but after I started GPS status app, maps statutes working, and everything went well from there.

Which small problems, what get worse?
[Galaxy S 4 i9505 Original Android Development] Woodski:
First problem is that my naviagtion programs loose GPS when they go to the background.

Not a major problem but it starts right after installing the framework

And the next day I get a fix, then GPS goes off, fix again etc.

It keeps bouncing like that every 10 seconds or so till I reboot my device

It doesn't really matter which recent version of CM11 I use.

But I go to CM11 from CM10.2 or I get a problem with the suggested contacts in exchange
[Galaxy S 4 i9505 Original Android Development] !crazy:
I don't have that problem, and I have greenify and Android tuner modules active. GPS seems stable, although I have not tested it for a longer time. It was a 10 minutes drive.

---------- Post added at 07:22 PM ---------- Previous post was at 07:17 PM ----------

Did anyone, who is on stock kernel, noticed dhd_dpc process takes unusually 5-15% CPU?
[Galaxy S 4 i9505 Original Android Development] misha0209:
1. so there are *no problems* with graphics under this rom. good must be the game

2,3. they will get solved in time :P

4. that is great

well i flashed a lot of nightlys on my old s2, and one morning it decided to just die on me.

so i am not going to flash on daily basis.

probably will TRY to wait for the next m release and then the stable.

i am quite happy, bluetooth works well with my car stereo (big problem for me in the past), and GPS is great even with no network assist :D the s2 was just terrible in this aspect...

thank you for the feedback :)
[Galaxy S 4 i9505 Original Android Development] !crazy:
No need to wait next m, maybe it won't happen. Who knows? That depends on maintainer AFAIK. For example mcampbellsmith, who maintains S3 i9305, doesn't release m, or stable.

What you should do is ask here, and check if there are some known, dangerous issues. These nightlies are pretty stable from the beginning.

Regarding games I play the most wanted, hungry Shark evolution, levit on racer, turbo fly HD, traffic racer, and had no single issue with none of these.
[Galaxy S 4 i9505 Original Android Development] misha0209:
thanks for the input.

i saw on CM web page that this device got 10.1, 10.2 stable, and a 2 M releases i think. so i assumed that the maintainer as you put it was aiming towards stable eventually :P but yeah, you are right, the nightly i have does seem very much stable :D

i tried a few other games, and yes, no problems. so must be something with that one

are there things i should watch out for in nightlys?

and, is dirty flashing ok over on this phone? (i mean no data wipe, just cache and dalvik). or should i be starting from 0 each time i flash?

thanks a bunch :)

ps: one more thing i found while driving around today, but that might be igo.

so driving with igo and phone connected via bluetooth to car stereo.

incoming call comes in, and igo crashes. i was able to speak, no bugs there. after call was done, music started playing again, so ok.

just igo crashed.

i will flash a new nightly and will try to recreate the scenario.
[Galaxy S 4 i9505 Original Android Development] !crazy:
I was using Google maps navigation, and Sygic, and these never crashed.

Though, when you already mention that, there is a bug with conntact list not being imported properly via Bluetooth. The numbers from most recent calls are fine, so one can choose the number to call, but you won't see names.

If you are asking about CM 11, dirty flashing is usually fine. But be aware that with the time small corruptions in file system will probably happen, so one days you will probably have to reformat, and clean install everything. But this has nothing to do with CM. So of course you shouldn't start from scratch every time you flash nightly.

Also If you want to avoid surprises, better check the forum, and follow the changelog, so that you know when to expect issues.

For example a couple of days ago there were some commits which broke some RIL things, or whatever, and changed the RAM disk, so all people who were using custom kernels had issue with daily crashing after boot. The issue was easy to resolve (just don't flash custom kernel or reflash previous build.) but this kind of things can be frustrating in some situations. So better always check, if you are not ready for such issues. But, as I mentioned, you could always (almost) reflash previous build (so keep a copy of the last working, always.) or have nandroid (not what I do. Takes lot of space, and also can have issues, and be real PITA.).
[Galaxy S 4 i9505 Original Android Development] Mittaa:
Just in network menu :good:
[Galaxy S 4 i9505 Original Android Development] ZeroAE:
Has anyone's back button stop responding sometimes to anyone?

I don't know why its been faulty sometimes for me, since I'm using softkeys, and it glows when I touch it, yet sometimes, nothing happens.
[Galaxy S 4 i9505 Original Android Development] !crazy:
Yes it has happened to me a few times. Because it happens (happened?) so rarely I have not investigate it further. Actually I had forgotten about it until I saw your post.
[Galaxy S 4 i9505 Original Android Development] !crazy:
For a while I am playing with different file/application cache settings, trying to figure out which are the best for the performance.

Basically one can either prioritize one or another. More cache for file system (an extreme example are ktoonsez default settings.) less for applications, and vice versa.

Settings of faux's kernel are more stock, and application cache oriented, where file system dirty pages are written more often to the 'disk' leaving more space for application cache.

Who cares more about fast starting of applications, would probably prefer ktoonsez. I was thinking even that freezes actually happen when these caches, dirty pages, are written do the disk. That's quite possible. The problem is the freezes happen even with 'faux' settings, where dirty pages are written more often (more often, less to be written.). I was thinking it makes more sense, and one can find a lot about this if he googls a bit, that freeze or locks, will happen in situations when one uses big file system caches, and long periods between writing these to the storage, because there are loads of data to be written at once.

Well up to now I wasn't able to figure anything out :). Except maybe once.

I usually have ~2GB of internal memory free. Performance are OK, I thought pretty fast. I noticed that Pictures/cache directory is almost 2 GB of size. Mostly Google Picasa/Photos pictures.

I deleted this and the got incredible boost in performance!

I am not sure why this happen, but my theory, or actually hypothesis is that lot of file system cache was occupied by these pictures, only for Photo app, to be able to show the photos /videos more quickly.

Because of this, there was no enough space for application (not application caches, but exe files.).

So if you have only few GB of space on your internal memory, and you use auto upload, check your Pictires/cache dir and delete it, and be amazed how nice performance boost you'll get after :).

---------- Post added 18th March 2014 at 12:24 AM ---------- Previous post was 17th March 2014 at 11:55 PM ----------

Forgot to mention this, to backup my claim about pictures were occupying the RAM.

When I was checking my RAM with 'free - m', not with apps, I would usually have little more then 100 MB free + ~70MB buffered. After I deleted the Picture/cache directory my free RAM jumped for additional ~200MB. Now that space can be used to cache applications I use, and like that they'll start faster than with ART, when started from storage.
[Galaxy S 4 i9505 Original Android Development] Mittaa:
I have experienced this too, but always after SwiftKey updates. I could be related to keyboard ... ?
[Galaxy S 4 i9505 Original Android Development] jmjviana:
I'm having an issue for a long time now that when I enable profiles the custom notification sound I use for SMS it's substituted for the default one. When I disable profiles the custom notification sound is set again as I wanted to. This way I can't use profiles together with customized notification sounds.

Enviado do meu GT-I9505 através de Tapatalk
[Galaxy S 4 i9505 Original Android Development] Woodski:
I just did a full wipe and installed only CM11 and Igo navigation

Igo worked fine and keeps working when I go to my Android homescreen

Then I added just xposed framework and did a reboot

Now Igo looses the GPS fix when I go to the Android homescreen

The good news is that I found a workaround for the suggested contacts in exchange by categorizing them

So I really like CM11 but I'm going to try and AOSP rom now

edit

Same problem with different kind of other roms

Going back to CM11 because I like it the most so far
[Galaxy S 4 i9505 Original Android Development] motoguser:
Hi I'm new here but I was wondering whether the roms of this phone works on the GPE as well. If yes why there are two forums
[Galaxy S 4 i9505 Original Android Development] Chahk:
They didn't used to, which was when the other forum was created. They do now. GPe is partitioned differently (smaller /system but larger /data) so most of the TouchWiz based ROMs will not work. AOSP based ROMs like Omni, CM, AOKP, etc. will work just fine.
[Galaxy S 4 i9505 Original Android Development] nommy:
Nope, there is no mixerpath.xml inside the ROM. Neither on my phone nor in the zip-file of the ROM.
[Galaxy S 4 i9505 Original Android Development] Shohat:
thanks !!!

ill find another way to fix it :good::good::good:
[Galaxy S 4 i9505 Original Android Development] The_Skull:
As of today the camera FC problems are solved.

Cheers CM-team!

Verstuurd vanaf mijn GT-I9505 met Tapatalk
[Galaxy S 4 i9505 Original Android Development] !crazy:
Im not sure to which FC problems you refer, but it is often required to clean cache and data between nightlies, to avoid FC.
[Galaxy S 4 i9505 Original Android Development] The_Skull:
It's not required to clear data/cache but I did do it during the last 3 nightlies.

And I dont know where the FC came from but there was lot of changing/fixing on the camera the last few days in the nightlies.

Verstuurd vanaf mijn GT-I9505 met Tapatalk
[Galaxy S 4 i9505 Original Android Development] andyjg247:
I though installing the nightly cleared those two by default each time anyway?
[Galaxy S 4 i9505 Original Android Development] Mittaa:
Dalvik Cache yes, but don't think data is wiped !?
[Galaxy S 4 i9505 Original Android Development] felek73:
Camera works fine but camcorder still FC ...is it only me ? I cleared camera data ..

EDIT: It was KT kernel fault , with stock kernel both camera and camcorder works fine...
[Galaxy S 4 i9505 Original Android Development] andyjg247:
Ha, sorry I meant both cache (data and dalvik) are cleared at install I believe.
[Galaxy S 4 i9505 Original Android Development] misha0209:
hello all,

still on the 14th nightly. noticed some more things, can anybody tell e if they are present in the new nightlys?

1. the phone will abort downloads (download started from chrome, and done with download app) if device screen is shut off, download is aborted. i do have the wifi always on option set.

2. if you browse using chrome/dolphin, and you pull down the taskbar while scrolling down, sometimes, there are graphic glitches (pixelation, taskbar becomes invisible... etc). also, sometimes taskbar locks up half way on the screen. and it just remains that way until screen off.

can anyone also tell me what battery life they are getting?

i'm getting a bit over a day with ondemand gov, data on, 3G, and bluetooth always on (only works when in car - connection to headunit). wireless is also on for 5 hours each day :)

does this sound about right? is this ok on this device?
[Galaxy S 4 i9505 Original Android Development] !crazy:
Sometimes one has to clean camera data, not only cache. Probably because of some small changes in configuration files, or whatever. I was having issues a number of times, and was happy when I found out data/cache clean, from settings - apps menu would solve FCs.

Edit

Even caches can be incompatible between versions. Now, if flashing nightly, or wiping cache from the recovery, really cleans cache of all applications, don't know, but I think it doesn't.
[Galaxy S 4 i9505 Original Android Development] jmjviana:
Can someone test this?

By the way... Why don't you have an option under "Interface"\Status Bar to choose between 4G or LTE icons? This way everyone would be happy! :)

Enviado do meu GT-I9505 através de Tapatalk
[Galaxy S 4 i9505 Original Android Development] gadgetuk99:
During call screen stays black..this still a problem for some? I have to set power button to end call but screen does not come back on till a few presses?
[Galaxy S 4 i9505 Original Android Development] domirex:
I have this problem too, probably our proximity sensors are broken :(

Wysłane z mojego GT-I9505 przy użyciu Tapatalka
[Galaxy S 4 i9505 Original Android Development] gadgetuk99:
Wonder if anyone can recommend a sensor checker app as see there are loads?
[Galaxy S 4 i9505 Original Android Development] petrus764:
I actually had the exact same problem, turns out the phone isnt dust restitant enough to stop it from getting under the speaker grill and fu**** with the proximity sensor. Got my phone back from repair yesterday with a new sensor and blown for dust.

Anyway, if you blow hard and long into the speaker grill, preferably with compressed air your sensor will most likely return to life but only for a few days.
[Galaxy S 4 i9505 Original Android Development] gadgetuk99:
Yes forgot someone said before to do this..I have a balloon pump which I just tried..and behold it's worked :) saves buying a can lol thanks
[Galaxy S 4 i9505 Original Android Development] misha0209:
notification lights

so, las night i go to sleep with 56% battery.

this morning i wake up wit a notification (so the led is on)

and my battery is down to 43%

that is more than 10%, and i have no idea how long it was on.

can the device not sleep while the notification light is on? i doubt a led took up that much battery...
[Galaxy S 4 i9505 Original Android Development] !crazy:
No it is not led. You should install an app which can show you which processes were holding wake lock. For example Better Battery Stats.

If you leave everything on, like location, G+, Radio and wireless (radio/mobile data especially.) etc, well 10% is to be expected. Also, under wireless advanced settings, uncheck option scanning always available. When active location services will use your wireless, and drain battery, even when your wireless is off.
[Galaxy S 4 i9505 Original Android Development] Mittaa:
Anybody knows what went on with nightly 20?

Jenkins done building hours ago, but no result or file available :confused:
[Galaxy S 4 i9505 Original Android Development] jmjviana:
I was asking the same thing.

Enviado do meu GT-I9505 através de Tapatalk

---------- Post added at 01:15 PM ---------- Previous post was at 12:49 PM ----------

With ART enabled I can't play games that connect to the Internet. If I disable every Internet connection everything works great. Anyone knows how to solve it?

Enviado do meu GT-I9505 através de Tapatalk
[Galaxy S 4 i9505 Original Android Development] misha0209:
thank you for the reply.

i did not have wireless on (though i had the setting in wireless with scanning always available unticked). only 3g, data, and bluetooth on. bluetooth was not connected to anything though..

i asked because i've used moded kernels on the s2 to do about the same thing with the touch menus, and when it was set to pulse, it clearly stated that the phone can not sleep. if the setting was always on, the phone could sleep :)

so i was wondering if this is also the case here.

i will use the battery monitoring app above, thanks !
[Galaxy S 4 i9505 Original Android Development] !crazy:
You need a way (app or something) to check if you CPU goes to sleep. There are free apps, like Trickster Mod, where you can see that. Also having something like BBC would be great.

Another thing, leaving wireless off, and 3g, or any data, on doesn't make sense, except you don't have wireless at home.

Data connection drains much more battery then wireless.
[Galaxy S 4 i9505 Original Android Development] Milamber:
Does anyone know if when using "Encrypt Phone" option, if the MicroSD card is included in the encryption process?
[Galaxy S 4 i9505 Original Android Development] !crazy:
No.
[Galaxy S 4 i9505 Original Android Development] didi_ghost:
Just a question guys and sorry if wrong place. The latest stable cm 10.2 for i9505 is Kitkat based? Or only these cm11 nightlys are?
[Galaxy S 4 i9505 Original Android Development] BillGoss:
Cm11 - KitKat

10.2 - Jelly Bean

10.1 - Ice Cream Sandwich

Sent from my GT-I9505
[Galaxy S 4 i9505 Original Android Development] feraay:
Nope

Cm7 -GB 2.3.x

Cm8 honycomb 3.x never rlsd

Cm9 ics 4.0.x

Cm10 jb 4.1

Cm10.1- jb 4.2

Cm10.2 jb 4.3

Cm11 kk 4.4

But doesnt really matter right ....

Sry for OT
[Galaxy S 4 i9505 Original Android Development] j_r0dd:
Looks like the dialer finally has the lookup options. I have been missing that since the Google dialer stopped working.
[Galaxy S 4 i9505 Original Android Development] !crazy:
Looks like? Either it has it or it doesn't.
[Galaxy S 4 i9505 Original Android Development] j_r0dd:
It does lol and it works just like the Google dialer minus all the FC's.
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
Wrong.

Cm9 = Ics

Cm10., 10.1, 10.2 = Jelly Bean

Cm11 = Kitkat

Gesendet von meinem GT-I9505 mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] Mittaa:
Yes nice if one live in US :rolleyes:
[Galaxy S 4 i9505 Original Android Development] j_r0dd:
Did you try using OpenStreetMap as the provider?
[Galaxy S 4 i9505 Original Android Development] mundigranja:
Is the battery duration comparable with danvdh's GE? I tried CM last month and the battery was worse

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

[ROM]KOT49H【4.4.2】AOSP official Google Edition 【Improved Auto Brightness】03-04-2014

Enviado desde mi GT-I9505G mediante Tapatalk
[Galaxy S 4 i9505 Original Android Development] nik511:
As of yesterdays nightly "cm-11-20140321-NIGHTLY-jflte" finally bluetooth problems as gone and battery lifer is fking awesome. Same apps I had on TW same apps I have and use now on CM11. It's incredibly stable and I haven't encountered any issue so far. Now I can ditch TW for good! :D
[Galaxy S 4 i9505 Original Android Development] !crazy:
Yup, useless here too. Thyrus Uber launcher worked for Austria, and probably lot of other countries, as well. Too bad it doesn't work any more on CM.
[Galaxy S 4 i9505 Original Android Development] krz_ayman:
hi, I want to know how is it that the compass does not work?

Envoyé de mon GT-I9505 en utilisant Tapatalk
[Galaxy S 4 i9505 Original Android Development] betelgeuse74:
With the last few nightlies I have upgraded, I am unable to unlock phone after the automated boot.

I enter PIN, but the screen unlock code does not work. No digits are entered before I dim the screen with power button, and then wake it up and try again.
[Galaxy S 4 i9505 Original Android Development] nommy:
Compass is working here. Witch app did you use to test the compass?

Gesendet von meinem GT-I9505 mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] krz_ayman:
With compass.apk lol

Work on oméga v25

On cm11 not work...

Envoyé de mon GT-I9505 en utilisant Tapatalk
[Galaxy S 4 i9505 Original Android Development] nommy:
Some apps have problems with compass under KitKat due to new libraries. Try another app. Z-DeviceTest is working and also Google maps.

Gesendet von meinem GT-I9505 mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] !crazy:
Have you tried calibrating it? It was a known issue that compas needed calibration very often.

Basically, when you open maps, or any app which needs compass, just move device making eights (around all its axes.) couple of times, and compass should be fine again. No need to restart app or anything.