yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Exhibit 4G] wrusry:
7/7 build and camera

Anyone else having camera issues? Sometimes when I click on the camera icon, I will get the message "Unfortunately, Camera has stopped". A reboot will fix it. This has happened on both my phone and my wife's phone (with two different kernels).

I checked the 7/7 build md5 sum and it is ok.

I don't know why I am having problems. I am using:

gapps-CM11-kk-20140105-signed.zip

3.4.97+linaro+k^kernel+ion_pmem+cm11+uv+hm+7-7-14.zip or 3.4.97+linaro+k^k+kernel+ion_pmem+cm11+oc+7-7-14.zip

cwm.6045.t679.zip

I flash in the order of ROM, kernel, gapps.

Thoughts?
[Samsung Galaxy Exhibit 4G] karaki93:
i also cant get the flash to work in video mode
[Samsung Galaxy Exhibit 4G] cars1189:
I could never get flash to work in video mode on this phone in any rom. If you know of a rom that has working video flash please let me know and ill look into it.

I think it might be a sort of "known issue" in newer kernels the way memory is allocated is different hence the additional ram. However there is sometimes a problem allocating the pmem area, in which the camera uses pmem. There has been a change to try and mitigate this failing and i can provide new kernels later. To see if this is the case.(Which i believe it is)
[Samsung Galaxy Exhibit 4G] karaki93:
I used the RemICS-JB for a long time and it has everything working so u might have to check it
[Samsung Galaxy Exhibit 4G] wrusry:
Thank you. Your explanation makes sense. I have only tried the Christopher kernels. I will try the other kernel in the meantime to see if that helps.
[Samsung Galaxy Exhibit 4G] jfbs:
If camera isn't working and some users have enabled ksm, then disabling ksm for camera will solve it with k^kernel.
[Samsung Galaxy Exhibit 4G] wrusry:
JFBS: Thank you. I did have ksm enabled, and since disabling it I have had no camera issues.
[Samsung Galaxy Exhibit 4G] wrusry:
Bug workaround

Hello,

When trying to use the keypad to touch-tone some numbers for an automated call or voicemail, there is a bug in the 7/7 build of CM11. The first time, the keypad partially comes up and is not usable (as shown in the attached screen shot).

The workaround is to hit the back key and then hit the button for the keypad and it will come up correctly the second time. This happens on both my phone and my wife's.
[Samsung Galaxy Exhibit 4G] jajb:
Is anyone experiencing excessive battery drain while connected to WiFi? It seems with the last couple of builds I've been experiencing upwards of 10% battery drain an hour (still occurs while my device is in deep sleep). Oddly enough, I'm not experiencing this kind of battery drain while connected to my network. I did some investigating but I didn't find anything that was completely out of the ordinary. At this point, i'm stumped.

I've provided a text dump file and a logcat courtesy of BetterBatteryStats if anyone is willing to look over it.

P.S.

I know about the "Keep WiFi On During Sleep" but I had it set to its default "Always" on previous builds without any battery drain issues.

Setup -

ROM Build: 7-7-14

Kernel: Christopher K^Kernel 7-7-14

Recovery: CWM 6.0.5.0

EDIT: Well the mystery continues. Left my phone connected to my network overnight and received the same battery drain as described above (also device never went into deep sleep for about 5 hours). Decided to restart my phone and it finally went into deep sleep, so i'm thinking it's an application causing the battery drain issue. Will investigate further.

Strange, I'm not encountering this bug. Would you mind reproducing the issue and providing a logcat using the following app. Hopefully [MENTION=1816400]cars1189[/MENTION] or another user can take a look at this for you.

All good. Thanks for replying back though.
[Samsung Galaxy Exhibit 4G] wrusry:
I can't help you diagnose your problem, but I did want to say that my battery life has been very good using the same ROM and Kernel as you.
[Samsung Galaxy Exhibit 4G] cars1189:
Yea i dont know the better battery log looks pretty normal to me but im not sure. And i leave my phone on wifi sometimes for whole days with only 1-2% battery per hour so i dont know seems fine for me.
[Samsung Galaxy Exhibit 4G] TripFX:
yeah cars1198 1-2%/hr with wifi left on and everything else stock is in the normal range on any rom stock settings.
[Samsung Galaxy Exhibit 4G] cars1189:
Not sure if its the same but i actually saw the 100% awake time today and for me it was google location services keeping the phone awake. Not sure if it was in error or what. However if you are seeing consistant high battery use id try disableing location when you are not using it seeing if that helps...although that pretty much makes google now usless so not the best option. One thing to note too though is i had my phone on battery saving location mode which uses wifi and mobile network however the wifi connection was weak durrent most of the time so maybe thats partly why.
[Samsung Galaxy Exhibit 4G] TripFX:
which gapps are you guys using and have you tried using different gapps like banks, pa, or offical cm. Not sure about your version [MENTION=1816400]cars1189[/MENTION] but jfbs latest cm11+banks gapps gives me no issues even using art. i know his cm11 is a little more synced with cm sources then yours so maybe there was a bug in cm source that they fixed. just saying it's possible has i wasn't on his 7/10 build very long so not sure if that build had the same issue.

[MENTION=5772029]SlurmsMcKenzie[/MENTION]

com.tul.aviate (): Wakeups: 359 (34.4 / hr.) <------------------

Alarms: 323, Intent: com.tul.aviator.sensors.ag.action.WIFI_UPDATE <------------------

Those 2 really stick out. it is possible it could be a router issue but it is also possible wifi card it's self is not functioning properly either due to just going bad or software (rom and/or app/widget) bug. Also it could be wifi interference.

1st. What is that make and model of the router or its cpu/ram specs? (make and model preferred)

2nd. When/How often do you reboot the router?

3rd. Is router sitting in a temp controlled area, if so does it feel warm or hot?

4th. have you tried changing wifi scan intervals in build.prop ?
[Samsung Galaxy Exhibit 4G] jajb:
Currently running my own modded GApps. I'm experiencing the same battery drain issues on my second Exhibit running jfbs latest 7/13 build. That's why i'm a bit stumped as to what is causing the issue.

I noticed that as well. I've sent an email to the team over at Aviate. Hopefully they will look this over and I'll hear from them within a couple of days.

1. Cisco-Linksys WRT300N Wireless-N Broadband Router (I've had this router for the better part of nine years, maybe it's time to upgrade)

2. Around once or twice a month max

3. Router is placed in a temp. controlled area but it is a bit warm

4. I haven't tried changing the WiFi scan intervals. I'll test this out to see if this makes a difference.

Thanks you for your assistance TripFX!
[Samsung Galaxy Exhibit 4G] TripFX:
So router is really old but still working but most likely slowly dying as you shouldn't need to reboot router that often and it shouldn't get warm. my linksys wrt120n was doing the same thing as far as needed rebooted so much as well as got warm. after about 6 or so months later i final caved and got a new router. If/when you do decide to get a new router if you want and the router is version isn't v2.0 go to ddwrt and flash that our your linksys. you can underclock routers cpu and see a bunch of new feats that linksys leaves out. Also if you dont use wps ddwrt i would recommend it anyways as wps routers are easy to hack into. So from a security stand point putting ddwrt on it since it doesnt support wps not have any coding for it. it will make it harder for someone to hack your wifi. this is all purely just fyi. let us know what they say in the next few days. also fyi

version 1.0 and 1.1 specs are

CPU: Broadcom 4704 300mhz

Ram 32MB SDRAM

Flash: 4MB

version 2.0

CPU: Intel® XScale® IXP422 266MHz Processor

RAM: 16MB SDRAM

Flash: 4MB Flash
[Samsung Galaxy Exhibit 4G] wrusry:
Log and camera video issue

I have attached a log for this issue (as requested by someone).

I have discovered an issue with the camera. When I go into video mode, the screen (and recorded image) get quite dark. I downloaded Google camera and the video does not do this for that app. Other CM 4.4.4 ROMs also seem to have some camera issues. FYI.
[Samsung Galaxy Exhibit 4G] leckerbroetchen:
Bluetooth audio streaming

Same problem here with 7/7 build and ADC/Linaro Kernel. So is this likely a CM11 bug?
[Samsung Galaxy Exhibit 4G] joelrg:
Glad it isn't just me (sorry). I think so, but I cant find any real info from CM on it, and you'd think it would be a fairly high priority item to fix! I did find that Power Amp works ok though, but you have to buy it after 2 weeks.

Joel
[Samsung Galaxy Exhibit 4G] leckerbroetchen:
That's odd that it would work in a different app. Maybe a bug in the BT interface or driver and Power Amp knows how to work around it. Have you tried different kernels at all (I haven't yet)?
[Samsung Galaxy Exhibit 4G] joelrg:
Yeah, I've tried the default one that comes with JFBS CM11 and Cars CM11, currently using the K^K kernel that Cars put up, same problem in all.

Joel
[Samsung Galaxy Exhibit 4G] cars1189:
Have you tried disabling lpa in sys.prop?
[Samsung Galaxy Exhibit 4G] jfbs:
build.prop can be edited during runtime at /system/build.prop by using performance control, or choosing one of these methods. You'll want to try changing the lpa line to read: lpa.decode=false. Bonus points for mounting /system back to r/o.
[Samsung Galaxy Exhibit 4G] joelrg:
I'll see what I can do, probably wont have time to test anything until tomorrow. I'll report back how I make out.

Joel
[Samsung Galaxy Exhibit 4G] leckerbroetchen:
That worked for me. Awesome! I set both

lpa.decode=false
lpa.use-stagefright=false

(not sure if I needed the 2nd). Thanks a bunch!

FWIW, Winamp also worked fine before disabling lpa...
[Samsung Galaxy Exhibit 4G] cars1189:
Just using the preinstalled cm file manager will work.

Great! and yes in cm11 the seond one has no affect anymore. It wont be there next build.(not that it matters but cleaner) Also i think im going to leave lpa on as it doesnt effect what i use the rom for and therefore maybe good for me and these are my builds and i use them...so yea...
[Samsung Galaxy Exhibit 4G] TripFX:
its cool cars people know how to change it if need to be.
[Samsung Galaxy Exhibit 4G] jajb:
Thank you for the specs. and information. Really helped me narrow down the router I want to purchase.

Also, just to make sure that it really has something to do with my wireless router, I did a number of tests over the course of three days running different GApps and ROM builds (Slim, DarkCM, Cyanogen, Mahdi) and sure enough, the WiFi drain is still present.

P.S.
[MENTION=1816400]cars1189[/MENTION] I gotta say, the battery life on your 7/7 build has been incredible for me while connected to my network with battery saving mode enabled for location. Thank you for all your hard work! Personal record here (light to medium use)...
[Samsung Galaxy Exhibit 4G] joelrg:
This also worked for me, disabling lpa.decode.

Thanks much!!

Joel
[Samsung Galaxy Exhibit 4G] TripFX:
it could be too many people using the same wireless channel. inssider (requires Win/Mac with wifi) works great at testing wifi coverage as well as knowing which wifi channels are being used to help avoid overlapping and its free. Also no problem.

EDIT: v3 is free v4 has trial. Personally i still use v3 and you can google inssider free and find legal legit downloads for v3.
[Samsung Galaxy Exhibit 4G] Andresakapaco04:
suggestions

Can any1 give me a good kernel for 10.1 or 10.2 .....i wana optimize my exhibit .....and would i be able to flash cm 11 with a twrp version 2.7.0 ... any recomendations???
[Samsung Galaxy Exhibit 4G] cars1189:
It might take a bit depending on what needs to be done but i could probably make a K^Kernel for 10.1 and 10.2. Ill look into it and if i can ill get some up within the next week maybe. No Promises though. And i think 2.7.0 is fine but i dont use twrp and never have so not 100% sure.
[Samsung Galaxy Exhibit 4G] TripFX:
[MENTION=5947956]Andresakapaco04[/MENTION] yes that version of twrp is fine.

[MENTION=1816400]cars1189[/MENTION] while it may be nice to have the option to use K^Kernel on older cm's but to honest is it really worth it? I mean most people have moved on to other phones and between your cm11 and jfbs kitkat roms they are rock solid and most apps that work on 4.0 works all they way up to 4.4.44 aside from some older outdated apps not being art compatible but there are already alternatives out there. But hey if ya wanna give a go at it by all means don't let me stop ya. btw wife has been running your latest cm11 and has not nagged me about any issues with it.
[Samsung Galaxy Exhibit 4G] cars1189:
Yea, i mean i might make it depending on the work involved and even if i did i probably wouldnt maintain it since most kernel changes dont have that much effect but just to give those few who still use older versions a few options. And great im glade to hear it! I will also be makeing a new build here soon i know im past my ~every other week update semi schedule lol so ill do that soon. I just got a new computer and i was getting everything setup again.
[Samsung Galaxy Exhibit 4G] TripFX:
no worries take your time gives others time to report issues that aren't minor/simple fixes due to user error.
[Samsung Galaxy Exhibit 4G] wrusry:
Bug report

On that note, I have an error to report.

When I have my headset (with microphone) plugged in and I attempt to receive or make a call, the mute button is activated as soon as either I answer or the other person answers. I can unmute it and continue the conversation, but what usually happens is that I answer and the other person is saying "hello, hello" while I remember that I have to unmute the phone.

If I plug in my headset after the call has started, this problem does not occur.

I am running the July 7 version of CM 11.

One other small bug is that the "sound search" widget does not function. However, I have seen this problem on official versions of CM11 for the T989.

The only other bug that I have seen is the one that I previously reported about the phone dial pad not appearing on the initial request.

Overall the rom is great! Thanks.
[Samsung Galaxy Exhibit 4G] sir mordred:
hello [MENTION=1816400]cars1189[/MENTION] and [MENTION=4657373]jfbs[/MENTION]

after some research on "self-powered OTG" feature

our devices(galaxy w and exhibit 4g) are supporting this feature ;)

because our devices are using same charger chip : SMB328A (ı looked from defconfigs) and that chip can provice 500 mA 5V OTG power (ı looked from datasheet)

then ı searched another phone which have SMB328A and have full OTG support (ı mean self-powered OTG)

luckily ı found

T-mobile galaxy s2 (a.k.a T989) and then ı found the kernel sources:

here https://github.com/sirmordred/samsung_GS2

after some digging on the kernel ı found charger drivers are the same but we need to powering the chip(smb328a) from board

here: https://github.com/sirmordred/samsung_GS2/blob/jb_exp/arch/arm/mach-msm/board-msm8x60_celox.c

look 1271-1811 lines

for example look 1685th line power_budget=500 (this is the limit 500 mA for OTG power)

ı think we can port it to our devices so we can have full OTG support

but ı cannot do that alone ı need your help

thanx

regards
[Samsung Galaxy Exhibit 4G] cars1189:
I can look but honestly im not even sure its that great of an idea...our battery is already a pretty low capacity so adding another device to drain it even more doesnt sound that good to me. And this is a pretty complex thing to change its not just the board file. It also involves changing power to a device which can be dangerous, if set wrong you could brick your phone.(warning to you if you try yourself) Also i dont have anything usb otg so i wouldnt even be able to test so honestly i dont think i can really do anything. If you get something going id be more than happy to try and troubleshoot with you or anyone else. However like i said ill look but not sure i can help.
[Samsung Galaxy Exhibit 4G] cars1189:
Is this something new or happens in older builds too?(headset issue) The dial pad issue i cant seem to replicate seems to work fine for me in testing and use many times. Looking around it does seem like the headset issue is a known issue in CM and even happenes on cm back to 10.1 for some which is basicly eol and wont get fixed but hopfully they will fix it in 10.2 and 11.0. As its not a device specific issue most likely ill wait till they fix it and merge it or pick it and apply to my local sources. #honesty :)
[Samsung Galaxy Exhibit 4G] TripFX:
I don't have the dial pad issue as well however i have in the past regardless of Rom before i started doing fresh installs a different way. since then i haven't had any issues well with anything really. wipe everything but /boot and /sdcard1(ext SD). then flash 1 zip per a full boot. as far as corded mic headset yes it has been an on going issue like cars mentioned. Bluetooth headsets work fine.

I also have a issue that has plagued me since I can remember. when in a call and turn on speaker phone. I can hear the other person just fine but they cant hear me. the mic option is unmute and i've tried muting and unmuting even while in call and still nothing til i turn speaker phone off. not really a big issue thou as i rarely ever needed to use speaker phone. Also if no one else is having this issue then don't worry about it. also yes the mute and unmute works not using speaker phone.
[Samsung Galaxy Exhibit 4G] wrusry:
Thanks. I have started flashing 1 zip per boot. It is odd that I have the dial pad issue on two different phones with this ROM.

I have not had any issues with speaker phone on this ROM or any other ROM. Of course, even with a working speaker phone, the other person won't be able to hear me if it is loud on their end. If it is quiet (and they aren't speaking), they hear me just fine.
[Samsung Galaxy Exhibit 4G] ngage_me:
Basebands? 3G at 2100MHz

Hi All,

I am using this phone in India, unlocked. I see that, I cannot use 3G on this phone as in India 3G uses 2100 MHz. Recently I understood that the phone only have 850/1700/1900 baseband support.

Just wanted to check with you guys that, this limitation is set in baseband provided by T-Mobile or the Hardware itself isn't capable of doing communication at 2100MHz.

Please advice.
[Samsung Galaxy Exhibit 4G] det0xx:
the limitation on radio is hardware not software.
[Samsung Galaxy Exhibit 4G] karaki93:
When I move apps to sdcard when using art the stop working
[Samsung Galaxy Exhibit 4G] karaki93:
I'm having the dialer issue since the first build and the mic stop working when switching to speaker on call and why there is no new builds
[Samsung Galaxy Exhibit 4G] cars1189:
@ new build question

In all honesty im having trouble getting my build environment setup again on my new PC. When i got my new PC i had to re-install ubuntu. When reinstalling i chose to upgrade to the newest LTS (14.04). As the version i was using is no longer supported and can no longer download things from the software repositories for the OS. After doing the upgrade i followed the instructions here to get it ready. And now when i try to compile it stops with an error. So until i can figure it out there are gonna be no builds. It does stop on a java related error so i might try OpenJDK or Java7 but im not sure if that will solve it as i followed the directions for the java portion of the guide. And as far as i can tell like 90% of all the guides for the same thing are all the same except where device specific repo downloading comes in(of course). So if anyone has any hints or anything let me know. I have also read that python 2 is needed but ubuntu 14.04 ships with 3 so ill have to try that too i guess.

@ dialer question

what exactly is the issue with dialer? If its the same issue with the dialpad not showing that was discussed before i suggest doing a fresh install.
[Samsung Galaxy Exhibit 4G] aaopt:
What is the error? I was able to build on 14.04 about a month ago. Now I get Java errors which seem to change each time, possibly due to the state of upstream code at the moment when I synced. Right now it's failing in the telephony service.
[Samsung Galaxy Exhibit 4G] karaki93:
Man the was awesome but now I can't figure out what is the problem the phone crashes several times in the 24 hours and I didn't mess with anything so does this happened to anyone else
[Samsung Galaxy Exhibit 4G] det0xx:
download everything again from scratch, download TWRP recovery from the other thread or CWM but the latest. Than download the latest rom and than the latest gapps. once thats done, factory rest your phone, and wipe internal SD card. than proceed to install rom
[Samsung Galaxy Exhibit 4G] karaki93:
Ok man I will try that
[Samsung Galaxy Exhibit 4G] cars1189:
[MENTION=3729448]aaopt[/MENTION]

make: *** No rule to make target `/home/doadin/CM11.0/out/target/common/obj/JAVA_LIBRARIES/com.android.phone.shared_intermediates/javalib.jar', needed by `/home/doadin/CM11.0/out/target/common/obj/APPS/TeleService_intermediates/classes-full-debug.jar'. Stop.

But as far as i can tell the code for that hasnt changed in actually a long time.

I know arco just updated his build like a week or 2 ago so idk unless its something really recent.

If thats the same error then hopefuly i wont have to sync CM from scratch again >.< lol
[Samsung Galaxy Exhibit 4G] aaopt:
Yes, that's the one. Hmmm.

Edit: Well, [MENTION=1816400]cars1189[/MENTION], I agree with you that I can't find anything relevant that changed recently. There must be something out there that we are missing. But meanwhile I find that if I build the PhoneCommon package first, the Telephony package builds OK. Trying "brunch" again.

mmm apps/packages/PhoneCommon
mmm apps/services/Telephony

Edit 2: brunch finished. So you should be able to build yours the same way.
[Samsung Galaxy Exhibit 4G] cars1189:
Thanks ill get right on that and release a new build soon.

Edit: also guessing you meant

mmm packages/apps/PhoneCommon

mmm packages/services/Telephony

:P

Edit2: [MENTION=3729448]aaopt[/MENTION]

Unfortunately it seems im still getting the error.

Im gonna try a different version of ubuntu now. Tried 12.04 still same error.

Slightly different one now on 14.04

make: *** No rule to make target `/media/doadin/9cf1636b-0b90-4ee6-8c42-53e15df12769/CM11.0/out/target/common/obj/JAVA_LIBRARIES/core_intermediates/classes.jar', needed by `/media/doadin/9cf1636b-0b90-4ee6-8c42-53e15df12769/CM11.0/out/target/common/obj/JAVA_LIBRARIES/com.android.phone.shared_intermediates/classes-full-debug.jar'. Stop.
[Samsung Galaxy Exhibit 4G] aaopt:
In between I had run "make -k", probably that took care of some other dependency problems.

Edit: Might also work to replace "mmm" with "mmma" which if I understand correctly is supposed to build dependent packages first. I had tried "make -k" first to keep building other targets after the one that fails, in hopes that the one that was missing would be built for use somewhere else. But I guess PhoneCommon was only used by Telephony so nobody else wanted to build it for me. But after that the two "mmm" commands did the job and "brunch" was able to build.

The resulting ROM didn't boot all the way. It seemed to be looping for some qcom hardware related reason. I would say it might be due to my local changes, but the build I made on 07-Jul works fine. Still it could be that my local changes were holding back one or two repos in a way that would make them incompatible with later changes in other repos.
[Samsung Galaxy Exhibit 4G] cars1189:
I dont know. I Have tried 14.04 12.04 and two different prebuilt virtual machines that where made for building android and i always get the same error. Im starting to think maybe it something in our device tree. Im guessing it would be the ril. The error to me just doesnt give much info.
[Samsung Galaxy Exhibit 4G] aaopt:
The error just means that something which is needed for one package didn't get built before that package.