yashsingh1/xdaforums huggingface dataset:
[Defy Android Development] hrk:
Something looks amiss.

Your logcat shows

E/JavaBinder( 1781): java.lang.ArrayIndexOutOfBoundsException: length=10; index=10
E/JavaBinder( 1781): at android.media.AudioService.adjustStreamVolume(AudioService.java:878)

However, unless I am completely out of mind, the source code https://github.com/SlimRoms/frameworks_base/blob/kk4.4/media/java/android/media/AudioService.java shows whitespace (end of block) at line 878.

Am I looking at the right source code? It shows a last-modified-date of 10 days ago.
[Defy Android Development] TJKV:
No, please look at my branch here :)
[Defy Android Development] blackdonkey:
I am sorry.. noob question

curently I am using Slimkat 4.4.2 build 1.6.. I experienced same problem which is cannot sent sms to very short recipient..

My question : How to delete xposed addon as you mentioned above? Is this problem solved at new build 1.7?

Thank u..
[Defy Android Development] hrk:
Ok. I'm doing this on a non-development machine and reading source code online, so cut me some slack if I can't be more helpful: check out lines 237, 250, 268. The first two arrays are 11-lenght, but STEAM_VOLUME_OPS is a 10-length array. Comparing it with the former two, it looks like it's missing the FM volume index. Check if android.app.AppOpsManager class contains a field named OP_AUDIO_FM_VOLUME or something similar. If yes, you've got your fix. :)
[Defy Android Development] TJKV:
Hmm I don't know if that is it, because Quarx's version has a 10 array too, here.
[Defy Android Development] hrk:
Does he have working FM?

If not, I guess this commit (https://github.com/tejus/android_frameworks_base/commit/b5319fa26a89f8e8089f75f6e96eba39ecb98393) is b0rked (since it's the one which adds the eleventh element to the other arrays) and that the array should have one more item. It would explain very well your ArrayOutOfBoundsException. :)
[Defy Android Development] TJKV:
Yes FM works on CM11. Okay makes sense, I will have a look-see through that!
[Defy Android Development] ldiomedi:
The volume on cm11 can't be adjusted thought the keys when the fmradio is on. If you press the keys, just the phone volume get modified. So if the array you are talking about is for assign the volume control to the fm radio, isn't working on cm11. Quarx had to something else to make it work. Sorry if I'm saying anything wrong..

Enviado desde mi MB526 mediante Tapatalk
[Defy Android Development] TJKV:
Ohh okay thanks for letting me know...so volume is stuck on one level in fm radio on cm11?

[MENTION=1190708]hrk[/MENTION], the state of the files in that commit just before that commit are the same in quarx's repo and mine. Also what idomedi said :p

But it looks like I can remove that bug from second post, and wait for big Q to finish his diploma, holiday etc :)

Or I could try to add that element to that array, but where do I find that class definition? I grepped in frameworks_base but found only "import .." entries for that appopps thing. I added another entry to that array and am compiling now in any case.

AppOpsManager.OP_AUDIO_MEDIA_VOLUME, // STREAM_DTMF
AppOpsManager.OP_AUDIO_MEDIA_VOLUME, // STREAM_TTS
+ AppOpsManager.OP_AUDIO_MEDIA_VOLUME, // STREAM_FM
};

private final boolean mUseFixedVolume;
[Defy Android Development] hrk:
Could you please do:

cd $THE_ROOT_OF_YOUR_ANDROID_REPO_FILES
find . -name "AppOpsManager.java"

and report back the path you get?
[Defy Android Development] TJKV:
/frameworks/base/core/java/android/app/AppOpsManager.java

Build almost done, another half an hour.
[Defy Android Development] bone101:
After some tests i can say :

I miss long press back button to stop running apps & "energy management"

in status bar .

Is it here if i do a data wipe if i come from cm11 ?

All in all a good , stable & fast rom

The guide to get-in is also very good
[Defy Android Development] TJKV:
[MENTION=1190708]hrk[/MENTION] HOLY SH*T adding to that array works, volume control works in FM now. But there is a visual defect, the vol bar that pops up doesn't actually move. Logs do not indicate anything that I can see, I'll post one here soon.
[Defy Android Development] mGforCe:
Cool guys [MENTION=4148153]TJKV[/MENTION] & [MENTION=1190708]hrk[/MENTION] . Thanks a lot for all your efforts.
[Defy Android Development] TJKV:
Here are the logs:

http://pastebin.com/U01YFttJ
[Defy Android Development] hrk:
Just so that we're clear on this: using the volume rocker does change the volume, but the UI doesn't reflect the change and stays the same?

EDIT: OK, the logs were pretty clear about the behaviour. Now the hard part: understanding what's wrong. :\
[Defy Android Development] Hasuris:
No. But it's a slimfeature that will return soon.
[Defy Android Development] delight535:
Great, thank you for the answer!

Right now I am on SB 4.3, on a very early build. I think it is the very first build. I will try Slimkat this week if I have time for it. I will check the memory leak without that lowmemory flag, and let you know.

Thanks again!
[Defy Android Development] sokaku:
Can anyone tell me how to get root access to this rom? I installed SuperSU but it doesn't work.
[Defy Android Development] juried:
Go to about phone, tap on build number 7 times. Then open developer options and enable root.
[Defy Android Development] TJKV:
What juried said above, but you'll also have to undo flashing supersu zip. Simplest is reflash ROM.

Anyway I just added Root instructions to the second post :p
[Defy Android Development] blackdonkey:
I am sorry TKJV... can you help my stupid request..

Honestly I dont' have idea after searching for two days..

thank you.
[Defy Android Development] TJKV:
This is xposed: http://xdaforums.com/showthread.php?t=1574401

If you havent installed it to begin with then don't worry about removing it :p

If you have installed it then click remove framework in the xposed app and reboot.

But either way do a clean install of 1.7.
[Defy Android Development] blackdonkey:
wow thanks TJKV for quick respons :)

Yes, I have clean install of 1.7 :

1. From 1.6 build

2. Wipe data, cache, dalvik & system by TWRP

3. Install 1.7 and minimal gapps

But SMS problem still exist... (I dont ever install xposed app, just install BBM and whatsapp app from market).

May be you have other idea?

Thank you
[Defy Android Development] TJKV:
You need to provide me logs in that case. If you know how to take a logcat using ADB then do that and send. If not then reboot, wait for 10-15 minutes without using the phone, and then try to send a few messages. Then without doing anything else go to Settings-> Slim Center and press Bugreport. Send me the zip file it creates,
[Defy Android Development] blackdonkey:
Okay TJKV, I'll do that.. thank you very much
[Defy Android Development] juried:
Seems to me the sms data must be cleared.
[Defy Android Development] stari_alca:
I'm on 1.7 and don't have xposed and the SMS short code bug is still there. So removing xposed will not help you.
[Defy Android Development] TJKV:
Are these SMSes different from normal SMSes that you might send to friends etc? Do normal SMSes work? Send me a bugreport if you can, like I described above from SlimCenter.
[Defy Android Development] stari_alca:
I'll do this as soon as I can. Normal SMS works great for me. The only difference is the number. When I try to pay for an hour of parking and use the 103 code as the receipient the bug happens.
[Defy Android Development] TJKV:
Some great stuff coming soon, as a replacement for the Theme Chooser :)

https://github.com/SlimRoms/frameworks_base/commit/d261ab696c33aa583f9076ae38199286463f2c28

https://github.com/SlimRoms/frameworks_base/commit/b302904d4851ee3df2c9cdd8ec36c3ca9083c6d2
[Defy Android Development] justjr:
I was resisting to use this cause I don't want to start fresh, I always used the CM installation. Are backups between CM and SlimKat supposed to work fine? I would like to try and see if I get used to SlimKat.

I did a fresh install of it and tried to restore a backup from CM but some things seen broken, superuser didn't worked, SuperSu was in the backup as an normal app, couldn't reinstall it and get it working again. Also system was slow, videos not playing... random stuff.
[Defy Android Development] TJKV:
See second post for superuser instructions. If you have already installed supersu then you'll have to undo that (app+binary) to get inbuilt one working. No problem restoring user apps using Titanium, don't restore system apps&data except nova if you were using that. If you have restored system apps&data and also facing problems etc then obviously start afresh.
[Defy Android Development] justjr:
Actually, I am restoring a TWRP data backup. I will give a try to the superuser instructions next time. Thank you!
[Defy Android Development] TJKV:
No wonder you have problems. Don't do that mate, you'll just end up having lots of random incompatibilities and FCs. Nothing wrong with starting aftesh, personally I have stopped even dirty flashing a long time. Takes me around 45 minutes to fully setup a new build, but most of that time is waiting for titanium restore to happen. But totally worth the wait.
[Defy Android Development] ebol94:
Just a simple question... Do these Roms use Linaro?
[Defy Android Development] niksy+:
Nope :)

If you remember, there have been many tests with Linaro and DEFY in the time of ICS/CM9 and they seemed to provide some kind of a boost, but caused many stability issues.

Has Linaro become popular, anyway, on other devices? I haven't really noticed whether it caught up anywhere...

Perhaps it's time for some more tests? :rolleyes:
[Defy Android Development] stari_alca:
Followed your instructions. The zip file is attached here.

Also did my best to get a logcat of just me sending one of the problematic SMS. That's the logcat.txt attachment. It covers about 30 seconds. The bug is, as best as I can tell, at 00:57:17:668. Rougly ten seconds later its the same thing. Then I exited the Messaging app, let the logcat stream calm down and stopped the log so it won't be too long this time around.

Hope this helps. If you need me to log this in some other way just point me in the right direction. I'm kinda new at the whole recording and documenting the bugs. Its fun.
[Defy Android Development] TJKV:
Perfect! Problem found, hopefully will be fixed in next build.
[Defy Android Development] Kayant:
Fix for defy parts

Oh yh forget to point you to this. I have been using Slimkat for a wk now btw :) Can't wait to try Slim's new theme engine replacement.

https://github.com/Quarx2k/android_...mmit/56fcf6365f05e6742d6f283abace2c19e4b46141

Since CM droped support for separate device apps in favour of a new framework most if not all roms don't have the link anymore because almost every single device as moved to the framework method.
[Defy Android Development] TJKV:
Nah I bugged the slim devs yesterday to add it in, the link is back now in their repo :) I didn't want to maintain my fork of the settings app if I really didn't need to. Although I might begin to so I can safely ignore those frameworks base + settings commits without having to continuously keep fb updated while I'm trying to fix other stuff (now sometimes i end up getting the settings bit of those commits by doing repo sync but I wouldn't have updated fb, so build fails)

I'll send you an intermediate build if you want, just compiled it today. Device setting added back, SMS bug fixed, a bit of trds switcher added (Trds quicksetting toggle)

Do you use with or without the low men flag? Personally I found it does make a decent difference in performance after a day of uptime.

Sent from my MB526
[Defy Android Development] Kayant:
Loool yh it's kinda annoying. Good to see you made them add it loooool :p

Nah don't worry for now I will download it when it you're ready for it as am testing PA atm and going to be working on Omni soon.

Yh it does help a bit. I dunno for me I had quite a bit of lag when I first tried to mess around with Aerocontrol can't remember if it was a clean build could be the issue but once I put the flag on most of the lag was gone. Maybe it helped or placebo from rebooting? Who knows :p
[Defy Android Development] TJKV:
Lucky for me when I asked them about it another dev of theirs was wondering about it too so he added it to their gerrit and got it pushed :)

I've been testing without the flag and it did get a bit annoying after 1d4h. But it rebooted after that. Now I've enabled the flag, will see in another 30 hours how it is.

Sent from my MB526
[Defy Android Development] delight535:
TJKV, are you planning releasing a Slimkat 1.7 with sms bug fixed, or it will be only fixed in build 1.8?

I am just asking because I will try Slimkat but don't want to run into this bug.
[Defy Android Development] TJKV:
Only in the next build, if I release one now it will be an unstable build with half merged features.
[Defy Android Development] delight535:
I see. Thank you for the answer! If I install build 1.7, can I install 1.8 without data wipe when it gets released? Or are these changes so major, that a data wipe is required?
[Defy Android Development] murlidhar85:
errrr how to change the illumination of backlit light of the buttons?
[Defy Android Development] Rawwr:
AFAIK data wipe was never needed if you are upgrading from a build to another build, dont worry u can just install it without wiping
[Defy Android Development] CodeVanya:
Installed fine.. Waiting for the bugs.. :)
[Defy Android Development] TJKV:
I wish you a long and fruitless wait ;)

OT

Hopefully ordering a Nexus 5 soon :highfive:

So I can keep Defy as a backup phone, test SK builds wehenver I want without waiting 20 minutes for titanium and nandroid to finish each time :p
[Defy Android Development] ebol94:
:D Kudos for that great phone but... I hope you don't forget us :(
[Defy Android Development] CodeVanya:
Lol..!! ;) Superb ROM btw.. Hats off to you and Quarx and other devs behind this.. :good:

---------- Post added at 11:39 PM ---------- Previous post was at 11:23 PM ----------

Just an info. I'm using Tata Docomo. I had a messaging problem at first, didn't receive most of the msgs my gf sent me. But after some 2 or 3 reboots, the problem was gone. Messaging is fine now.

The baseband is central_europe_34x.
[Defy Android Development] delight535:
Thanks for the info!

Does anyone else encounter this problem that sms messages don't arrive?

Does it have to do something with Slimkat, and sms bug, or is it rather related to the fact that you use European baseband? (Or maybe your carrier was faulty...?)
[Defy Android Development] hrk:
OT: Why don't you get a Moto G/X? :)
[Defy Android Development] delight535:
Thanks. :) Then I guess I don't have to be afraid of it.

But what bothers me now, is that bug, what [MENTION=4968884]chandujram[/MENTION] wrote about that he did not get the sms messages. I do not want to run into that bug.

Did you encounter such bug? Or does it have to do something with the improper baseband?
[Defy Android Development] N34S:
I have encountered 2 bugs in the last build (16/12):

1. The quick tiles are randomly arranged, despite the fact that I try to arrange them in the desired order.

2. The navigation bar reappears at system reboot, even though I uncheck the option that activates it.
[Defy Android Development] TJKV:
Not officially available in India, Moto isn't back yet after leaving last time :(

But yeah considering their recent policies and the fact that the Moto X got Kitkat before the Nexus 4 (Officially at least), I'll be very interested in Moto if they return. The G would be a phone I can suggest to everyone I know who wants a cheapish phone. Currently sold here (Imported, no warranty) for around $250 (Rupees 15k). Hands down the best hardware for that price.

I think the X would be harder to suggest for people looking for higher end phones though, assuming that it will retail for around the same as a Nexus 5 here (~$540). There are many other great phones for around that price here apart from the Nexus, like the Xperia Z1 at ~$560. At least that's what I would say to my circle of friends and family.

In fact I still have quarter of a mind (or less) to spring for a Z1 instead of the N5. Comes with a much better battery and camera, and most importantly waterproof! I am used to handling my Defy in a certain way (ie without care) and I'm scared what will happen to a Nexus 5 in my hands :p. I typically use phones for at least 3 years before upgrading.

Sounds like a problem (incompatibilities) with your /data. Do a clean install without restoring the /data partition or something like that..
[Defy Android Development] Rawwr:
Tjkv, moto x and g will be available in india from january,

The moto g 16gb is priced at 17,999 and 8gb is priced at 15,999.

M waiting for the moto g as well :)

I suggest u to buy moto x.

Cuz personally i think its better than nexus 5.

---------- Post added at 06:42 AM ---------- Previous post was at 06:39 AM ----------

On the rom from 1.6 build,

No such bugs for me,

I suggest u do a factory reset.
[Defy Android Development] TJKV:
Nope considering I keep phones for 3 years I'd rather buy the latest specced phone. the nexus is it for me :)
[Defy Android Development] Hasuris:
In my experience, the battery gets really worn out after two years. So replaceable battery is a must in my mind. I always have my old battery as a spare with me. I smile inside everytime, when I see people searching in panic for a wall socket at the university later in the day. I also don't see the point in big ass phones. I have a Nexus7 for all the stuff I need a bigger screen for, like reading pdf-files. I can't think of much, I can do on 4,7" screen, that I can't on <4" but of a lot, that I can do on >7" that a ~5" screen is still too tiny for.
[Defy Android Development] mayur2j:
Superb ROM

I must say SlimKat is totally usable as a daily driver. I didn't face any Major issues so far. Just had 1 random reboot.

Free Ram is always 200+. I need to check that again after installing more apps but I'm sure greenify will do the job.

You know what will be an incredible combination (SlimKat+3.0.8 kernel+Working ART+Greenify). Waiting for that day :fingers-crossed:

Thank you [MENTION=4148153]TJKV[/MENTION] & [MENTION=513620]Quarx[/MENTION] for all your hard work. :good::)
[Defy Android Development] Rawwr:
well,

i didnt encountered any bug like that,

everything is working fine for me :)
[Defy Android Development] blackdonkey:
Hallo TJKV..

Currently i am using your slimbean 4.3 (last build)..v

Thats amazing rom for me.. But where is forum which related with that?
[Defy Android Development] stari_alca:
http://xdaforums.com/showthread.php?t=2315787

[ROMS] AOSP PARADISE V2 Pacman 4.2.2, Illusion v2.1, SlimBean 8.1
[Defy Android Development] delight535:
Great, I hope I won't run into this too. :) Thank you!
[Defy Android Development] Rawwr:
i hope the same :)

good luck
[Defy Android Development] TJKV:
Why so scared of bugs? Find them icky? I hope you DO run into many bugs so you can send me logs and I can squish them :P

Anyway Weekly Build 1.8 incoming today/tomorrow. Gotta test it before uplaoding, and I have an exam tomorrow :P
[Defy Android Development] delight535:
Thanks. :)

Generally I am not afraid of bugs, because as you said, we can find them, and then eliminate them.

I am only afraid of those kind of bugs, what happened to chandujram. He did not get some sms messages. I am afraid of this kind of bugs, because we do not know that we ran into a bug. And don't know about those unrecieved sms messages. And the sender does not know that we did not recieve them either. :)

Anyway, waiting for build 1.8, I will test it when it's uploaded. Good luck for your exam! ;)
[Defy Android Development] TJKV:
Please read this:

http://www.slimroms.net/

Massive changelog from slim team, and they recommend clean install (/data /system wipe) when flashing 1.8. Just finished building, will upload it tomorrow. (But it will be tomorrow here in another 2 hours anyway :P)
[Defy Android Development] ela1103:
TJKV

Slimkat 1.9 release

We Need the motorola audio option and dark slim and button option.all the same slimrom 4.3 option enable the slimkat also that will help for us
[Defy Android Development] Rawwr:
oh yes :D

that seems to be an awesome update

but the wipe thingy :(
[Defy Android Development] Android_74:
Just installed it. This rom is awesome :laugh: love it :svetius:

go titanium backup :D
[Defy Android Development] Rawwr:
ik,didnt installed much apps and dont have any data to back up :P

to back up apps,

i have appmonster :D
[Defy Android Development] juried:
I'm having fatal problems with supersu. Most of the time it won't reboot, instead it gets stuck at a black screen just after the keys light up during the boot process. Sometimes it does make it through not process. Perhaps some sort of race condition?
[Defy Android Development] dkv2222:
I've been following this thread.

I used slimkat for a day or two and it was UNUSABLE.

M I the only one?
[Defy Android Development] ldiomedi:
Yes. Working great here.

Enviado desde mi MB526 mediante Tapatalk
[Defy Android Development] dkv2222:
I did a clean install. Any help?
[Defy Android Development] mayur2j:
What exactly do you mean by UNUSABLE?

I've been running it for 2 days now & I'm finding it very much Usable, seriously better than 4.2.2 at least. I jumped from 4.2.2 to 4.4.2.

Memory leaks are reduced now.

One thing that bothers me always though. It's from cm10 that everything runs fine but when 3g is turned ON, everything starts lagging.

Anyone knows any fix for this?
[Defy Android Development] Gabenoid:
We need version 1.8
[Defy Android Development] TJKV:
Yeah you guys need a lot of things. 1.8 is something you will never get, sorry. deal wit it :p
[Defy Android Development] ldiomedi:
No problem with 3g. The only major bug wich is common with cm11 is the battery drain when WiFi is on. The rest is woekin very well and very responssive. TJKV is there a reason we wont see 1.8-9? The changelog is interesting.

Enviado desde mi MB526 mediante Tapatalk
[Defy Android Development] TJKV:
I never said anything about 1.9 ;)

You'll see it in 45 minutes, just started upload.
[Defy Android Development] Kayant:
Does FM volume now work with just the frameworks patch?
[Defy Android Development] dkv2222:
I don't think unusable is a difficult word to understand.

I'll try again.

Would it make a difference if I flashed the safewipe zip?
[Defy Android Development] TJKV:
Well I need to include this patch:

https://github.com/tejus/android_frameworks_base/commit/a4c42e5e117ed49324559a872124182978095839

After that volume changing should work as long as I am in the app with screen on. The RCC from the "RCC_CHANGED_ACTION" bit of that commit was in the logcat error message of FM radio, this patch seems to add that functionality.

I forgot to add it back in this build (1.9 build that's being uploaded), will be fixed next build or maybe I wil upload one tomorrow that everyone can dirty flash. Sorry about that :p
[Defy Android Development] TJKV:
I'm sure he knows what that word means. What he means is that word means nothing to developers. Most importantly try the ROM without restoring any apps or mods and see if your problem(s) is(are) still there. If it is then provide more accurate descriptions of your problem(s) than just "unusable", provide logs, provide kmsg if needed. If that is too hard to understand you are free to not use this rom.
[Defy Android Development] stari_alca:
I was trying to fix something and read that installing SuperSU might help. So when I did that I could not boot. It would go through the blue and green LED and then just give me a black screen. Had to pull battery. So what you are describing could be related to instaling SuperSU.

---------- Post added at 05:10 PM ---------- Previous post was at 05:06 PM ----------

In my experience using the safewipe zip makes a lot of difference. Not just with SlimKat but with certain functions of Aero Control ie the kernel. Its not a magical solution but it helps.