yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S 4 Original Android Developme] Asadullah:
About 330 am this morning I was coming up with one those ideas that you come up with at 330 in the morning :D I wanted to make a custom dialog for the long press power option. Well google doesn't let you override that in code (that I'm aware of ) but it does let you override the camera button. To make a short story long I changed the generic.kl line 116 from POWER to CAMERA using es file explorer. Then I made an app that would intercept the call from a camera button push and create a dialog that will (at current) hotboot or poweroff the phone.

The only issue I have right now is that it only controls the long press and the short press doesn't do anything. If you got any ideas let me know. app download and source code here (github). The app is in the bin file.

----------------UPDATE---------------

i think that it's better to use the headsethook instead of camera since it recognizes the single press by starting or stopping the music app (apollo)

and on long press it opens google seach.

update 9/16/14

alright I was able to get the button to work using headset hook stackoverflow and the apollo source code have been able to help out alot there. But this is pretty awesome. At least I think so.

Video herehttps://www.youtube.com/watch?v=plyCvZ9MaSI&list=UUmoc6r7GJZyhC02tf4u0X6A
[Moto 360] ny2k1012:
I went out and bought my watch when it first came out from best buy, and I have noticed some weird things going on with it. I have searched around for some other having the same problems but have not had much luck. I thought maybe someone would have the same things going on with their watch.

The first one is kind of strange. When I hit "Restart" in the settings, it actually turns off my watch and when I hit "Power Off", it restarts my watch. They are reversed. Has anybody else noticed this? It's not a problem, just something weird.

The second thing has to do with fitness tracking. I just got back from a 2 hour bike ride, and the 360 told me I was inactive for 100% of the day. Is there something I can do or a better way of tracking my heart rate throughout the day or could it just have been a glitch? I guess I really do not understand how that whole part of the watch tracks daily movements/health.

Other than that I am enjoying the watch!
[LG Optimus G Pro] Xenovias:
Is there anyone who playing this game?

Just curious, when i play this game it lags so badly, especially on menu game.

Currently I'm used stock kitkat 20b SG

Let me know if it's just me or not, i'm affraid this is rom issue.
[LG Optimus G Pro] spirallingspiral:
Works with 0 lag on my g pro. Pvz2 is not atall demanding , so it has to be some issue with your rom.
[LG Optimus G Pro] Xenovias:
Would you tell me what rom are you using?
[LG Optimus G Pro] spirallingspiral:
I am on this now.
[Sprint LG G2] jamaicamike:
Can i unroot my phone using the unroot button in the super su menu i also have no custom recovery like twrp cwm and will i mess my phone up by using this menu thanks
[Sprint LG G2] siggey:
Your post is confused.

If you need to unroot, the button in supersu do the trick.

For the rest

http://xdaforums.com/showthread.php?t=2798566
[Sprint LG G2] jamaicamike:
I know bro i just explained it wrong im just asking in the settings of super su theres an unroot button if i press it will ot brick my phone
[Sprint LG G2] jamaicamike:
It says full unroot will this unroot@my phone and also i dont have twrp im just rooted i never installed any roms also cause i never figured out how to use auto rec on my lg optimus g free g supported it and i got my custom recovery but the g2 is a headache but i love the design thanks again xda community

Please help
[T-Mobile, Samsung Galaxy SIII] iamanalog:
I've been getting these glitches/artifacts/tearing on any 4.4+ rom on my T-mobile S3.

It's like the status bar will glitch down to the bottom of the screen.

I'm currently on a 4.3 stock rom (ENC2), It's been rooted with the samsung toolkit and has knox disabled (at least according to the app).

I've tried most current d2lte roms, PA, spirit, ACIP...ect.) and they all have it.

I know for a fact I'm missing something. I just can't remember what it is for the life of me. I know it has something to do with the bootloader/binary. I seem to remember when 4.4.1 came out there was something with the bootloader we had to do and no matter what I search nothing is coming up with the correct solution.

I'm hoping someone could tell me what i'm missing because it seems painfully obvious and I'm missing it, . I really don't enjoy using TW.
[T-Mobile, Samsung Galaxy SIII] DocHoliday77:
We don't ever mess with the bootloader or other parts of the base firmware, so maybe you're thinking of a different device?

When did it start? What was the last thing you did (flash)? Tbh, to me it sounds like a hardware problem. Maybe a connector got loosened, or some moisture/water damage, or even heat damage could cause what you are describing. Especially if its happening on every ROM.

Flash the stock NC2 firmware via Odin and factory reset. If it still happens after that its almost certainly hardware related.
[T-Mobile, Samsung Galaxy SIII] serio22:
Does it also happen with touchwiz?
[T-Mobile, Samsung Galaxy SIII] iamanalog:
So. I ran the knox removal thing from the samsung toolkit and now I don't see them on the latest CM nightly.

I have to test a few other roms but I don't know, it's somehow fixed, thank you for the responses.
[T-Mobile, Samsung Galaxy SIII] DocHoliday77:
Glad to hear it. Be careful with the toolkit though. It is not supported and has bricked devices.
[T-Mobile, Samsung Galaxy SIII] iamanalog:
After giving it a few days the issue came back.

I've tested this on a stock nc2 touchwiz as well as your (doc) latest likewise release with no issues with the screen or anything.

For the non touchwiz I tried aicp latest 4.4.4, the latest cm11, the latest aospa weekly and a 4.3 AOKP release (milestone2).

The glitch issue wasnt in the cm release for a day or so then showed up, all others showed up instantly.

I also emergency recovered via kies. Then rerooted. I'm also using the latest twrp

Here is a logcat of the ROM I'm currently on, the 4.3 AOKP. I wish I had more of an understanding of logcats so i knew if I posted the right section.

http://pastebin.com/UyZFHriB
[T-Mobile, Samsung Galaxy SIII] iamanalog:
I was curious so I booted up a nandroid of aicp and then restored a backup of the boot from likewise. Results were minimal glitching but no connectivity at all. APNs didn't load and WiFi is broken. I'll post a video shortly of the screen.
[T-Mobile, Samsung Galaxy SIII] DocHoliday77:
The only thing that jumps out on that logcat is where you have this kind repeated several times in a row:

09-18 13:35:38.752 W/ActivityManager( *761): Permission denied: checkComponentPermission() owningUid=10060

But I honestly don't know what its referring to. But I will say that since it appears to be happening on every rom, even stock, it sounds more like a hardware issue. Display problems usually are to begin with, but almost any problem that persists across multiple ROMs and wipes can usually be blamed on a hardware malfunction.

Watch a disassembly video on youtube, then open it up and reseat all connectors. (Don't mess with the antenna. Its fragile and not related to the issue at hand.)
[T-Mobile, Samsung Galaxy SIII] iamanalog:
That's the odd thing, On both 4.3 and 4.4.2 versions of touchwiz I don't get the glitching. Only on AOSP based roms. I could just go stick with a touchwiz based rom and be done with it but my personal preference is not using touchwiz. I'm just confused as to what is actually causing this.

I'm guessing it has to have something to do with the bootloader and baseband.

I think i did forget to mention this is a "refurbished" warranty replacement, i regret that I don't recall which specific version it had as stock, I'd guess it has to be enc2?

Here is a poor quality video to show whats happening, on the home screen you see the glitching where the status bar glitches down to the bottom. I tried to get it to do what it sometimes does in both the MLB app as well as the reddit app but it decided not to be as noticeable this time.

http://youtu.be/ZsZL1Okio-A (sorry about the added music ;) )

Just a side question, I couldn't seem to find a definitive answer, but was it ok to downgrade within the 4.3 bootloaders? I thought I remember reading that as long as you don't go from 4.3 to 4.1.2 it was fine.
[T-Mobile, Samsung Galaxy SIII] DocHoliday77:
Soryy I misunderstood before about it happening on stock. Have you tried any different kernels? I'd suspect that before bootloader. But since it's a refurb, there's just no telling for sure.

Once on 4.3 you cannot downgrade your firmware at all. You can flash older roms, but that's it.
[JASJAR, XDA Exec, MDA Pro Software Upgrading] josedias:
To All

Marry Xmas and happy new year
[JASJAR, XDA Exec, MDA Pro Software Upgrading] davicito13:
Yeah baby!!!

And don't forget... this site and (most important) all of members, still here FOREVER!!!!

thanks to everybody

Merry Christmas!
[JASJAR, XDA Exec, MDA Pro Software Upgrading] mavrik64:
Feliz natal para voces tambem :)
[JASJAR, XDA Exec, MDA Pro Software Upgrading] teixeirabmb:
I didn't notice that xds-dev was a portuguese forum :P :)

Happy Christmas to all

Feliz Natal para todos!!
[JASJAR, XDA Exec, MDA Pro Software Upgrading] Flaw:
it looks like :)

Merry X-mas - Feliz Natal
[JASJAR, XDA Exec, MDA Pro Software Upgrading] speed200:
Estas em todas teixeira....:D
[LG Optimus G Pro] shayneflashindaily:
Downloading now .. Going to try with another cm test kernel. Good find I have wondered about 11S for a while

??

2SHAYNEZ
[LG Optimus G Pro] bountyman334:
what kernel did u use..i havent really touched this rom..its pretty smooth..and basic in a way
[LG Optimus G Pro] javi1609:
a recommendation to install, or I just follow guide cm11 I'm on 4.4.2 Sphinx
[LG Optimus G Pro] shayneflashindaily:
well i am doing the whole process of going back to 10k then root and such to make sure i maintain deepsleep ..... the kernel is a test kernel 6 which i cant remember whos work it is(could have been yours maybe) but i remember it being taken down ..... its 5.8 mb in size..... im kinda weary as to use it though .... im about to be flashing rom in a few min after root

I think im just going to flash the kernel in this thread
[LG Optimus G Pro] bountyman334:
I just put the steps up on how to flash
[LG Optimus G Pro] javi1609:
ok just wanted to be sure not to do bad things, but the most dangerous thing would bootloop on lg logo, will wait to see how it works, if you can provide some pictures of the battery consumption would be very grateful

edited in the rom zip GoogleContactsSyncAdapter.apk've seen. Gapps brings appears old, if so, can be removed before flashing
[LG Optimus G Pro] bountyman334:
I promise your not going to brick with cm.. unless u mess with aboot.img..u just got to that cm and stock have different system portions.. That s why u have to flash a kernel when switch from the two

I used it but it still says jun or July 6 cm+ kernel.. my guess is that the kernel is still in place to help boot the rom.. and the kernel i provided help put the right files in place:highfive:
[LG Optimus G Pro] shayneflashindaily:
lol it was really cool watching my e980 boot up like its a 1+1 .....pretty cool. im setting up and gonna run it for a bit .... this is pretty freakin sweet honestly .. camera is pretty tight
[LG Optimus G Pro] anonymous007:
First thought it was just a CM 11 with one + apps which I'm not sure if that's the case or not but so far after a really long boot it seems to work fine. Also like to note that it's based on 4.4.3 instead of 4.4.4. Lock Screen and Camera are very fluid and seems to work with the latest pa gapps. Also phone says Cyanogenmod 11s v4 while OP says v1 not really anything major just thought I'd let everyone know. Overall seems to run great only complaint is the USB notification when plugged into a computer is in Chinese but is English upon clicking on it to open options. Looking forward to the updates on this :good:
[LG Optimus G Pro] shayneflashindaily:
Says my phone is a 240s now lol .. Its running good for me so far though .. Deep sleeping and smooth.

2SHAYNEZ
[LG Optimus G Pro] anonymous007:
Same here lol
[LG Optimus G Pro] MitoTakatori:
Will this ROM be updated someday? Like nightlies?
[LG Optimus G Pro] anonymous007:
Highly doubt it will be updated like nightlies if anything it will be updated when the developer decides or can update it as this build says August 5 2014 and there is no option for OTA; however this build seems to run just fine and was probably made that way to avoid constant updates and instability.
[LG Optimus G Pro] Za_RO_Maniac:
Hi, anyone having a link for F240L V10z ? TY in advance
[LG Optimus G Pro] usman_fareed:
http://main.develoid.com:81/lg/LG G pro/F240L10Z_00.kdz

there u go :)
[LG Optimus G Pro] shayneflashindaily:
Lost deep sleep overnight when charging .....gonna try to get it back

2SHAYNEZ
[LG Optimus G Pro] bountyman334:
did u leave any thing on(gps,wifi,data,sync) and look at what gonv. u have ...i use interactive...deadline(kills apps after a certian time in background)
[LG Optimus G Pro] naythenanderson:
Excited

I just got a new E980 from ATT after and insurance claim. It came stock on 4.4.2. After spending 20 minutes on rooting and flashing TWRP, this is the first rom that I'm going to give a test drive. I've wanted a One+ since they smash your phone contest, but have since lost interest because of their bull ****. The G Pro is still great hardware, and I'll be happy with it until my upgrade next summer.

Losing deep sleep is a concern. Please post any remedies you may find.
[LG Optimus G Pro] shayneflashindaily:
Yeah I fixed it by wipe Google's services and caches and flashing modem again. Changed back to interactive/deadline as well

2SHAYNEZ
[LG Optimus G Pro] papu4ara:
NFC is still ON by default without option to be turned off and drain battery quickly.

Sent from LG G Pro E980
[LG Optimus G Pro] anonymous007:
Nah bruh lol, I tested it and it turns OFF just fine and back ON as well, If your still having problems then you probably need to hit the lg flash tools and start off clean
[LG Optimus G Pro] papu4ara:
I did dirty flash. Maybe is need to do clean install.

Sent from LG G Pro E980
[LG Optimus G Pro] anonymous007:
Most likely as in every build I always recommend a clean install as something changes each build on Cyanogen's end. Plus V4/RC is from last month, another reason to clean install.
[LG Optimus G Pro] yankies77:
please make a version for F240L which is just ready to flash like a seprerate rom zip, no editing scripts. i still havent tried this rom please!
[LG Optimus G Pro] tzamakos:
Thank you, eventually it didn't work. Any ideas to make 4g turn on? I tried everything I knew and everything I could imagine. After 100+ formats and trying every rom and modem driver out there I believe that I have to quit.....
[LG Optimus G Pro] culot:
Have you tried changing it to the correct mode in the *#*#6484#*#* menu? That's done it for me before.
[LG Optimus G Pro] tzamakos:
I have never tried that menu before but now entering what you proposed, when I enter the last * of the code, it erases everything, is that the hidden menu??? What changes did you applied to that???
[LG Optimus G Pro] culot:
It seems its *#*#4636#*#* in CM. From there you can choose preferred network type, under the phone info menu.
[LG Optimus G Pro] tzamakos:
Nice thought, but I have tried that last week when I tried every code I have found, what ever the value I set 4g still doesn't turn on. Do you know what EFS is? I saved that in Freegee and I don' t know what it is, is there a possibility that affecting my 4g???
[LG Optimus G Pro] culot:
EFS is your lifeboat in case you somehow brick your phone so bad that you lose your IMEI, I think.

I suppose you've tried flashing all the modems?

E980.20g.-MODEM-APQ8064T-MDM9X15M? E980-MODEM-BM9615A-CWM? cwm-lgog_LGE980AT-01-V10g-ATT.modem?

E980-MODEM-APQ8064T-MDM9X15M-CWM? <-- this one always works for me.
[LG Optimus G Pro] tzamakos:
Thanks for your answer, can you send me some links of the above modems? Iam sure that I have tried them but just in case.......I run stock rom right now but I am rooted and recovery.
[LG Optimus G Pro] culot:
Most should be here.
[LG Optimus G Pro] tzamakos:
I just tried the modem that you said that it usually works for you but with no luck, I will try them all again, but in recovery mode it says that ot cannot map modem because of loki, I go to advanved settings and I disable loki support and then it seems that is completing the operation. Can you help me? Is there anything wrong to the steps I follow? Thanks for your time
[LG Optimus G Pro] culot:
" but in recovery mode it says that ot cannot map modem because of loki"

^-- sounds like you're using the crappy version of CWM. I'd recommend flashing TWRP with Freegee. CWM is dog**** in general, but the older ones are much worse for e980. Or just flash the CWM from Freegee, as those errors should be solved by that (still hate it tho :).
[LG Optimus G Pro] tzamakos:
Thats interesting, I never tried to install TWRP, I have teied CWM and Philz recovery, I can' t wait to try your idea.....thanks again and I will let you know.

---------- Post added at 02:19 AM ---------- Previous post was at 01:58 AM ----------

And as you can guess, it didn't work, I flashed 5 different modems with TWRP including stock modem and no 4g signal. I have to say though that my mobile internet is too fast, like 4g but the icon at the status bar says 3g or H, is there a possibility to have 4g but the signal at the status bar shows wrong????
[LG Optimus G Pro] culot:
So the 'preferred network type' in the Settings won't stay on LTE, is that it? Maybe check the APN? Maybe delete APN and re-add? I dunno. :) Mine was doing that, then I twiddled with the *#*# I mentioned, flashed another modem, and wolfed a bunch of chocolate. Have you tried chocolate yet? It just may have worked for me.

"is there a possibility to have 4g but the signal at the status bar shows wrong???? "

Even on 4g my Cricket connection is throttled, so I don't even know if I could tell the difference between 4g and H. *shrugs* Right now it's throttled to 2g (it's like I'm using dialup on crappy wires from a cave in the remote mountains of Timbukfo), and yet still is connected as 4g.
[LG Optimus G Pro] infamousvincci:
hi, i flashed the v5... my camera flash is not working T_T
[LG Optimus G Pro] anonymous007:
Then use the Google Camera....
[LG Optimus G Pro] MitoTakatori:
I salute the dev and maintainer of this ROM, as they have provided 2 options, the E890 and the F240 variants. Can the kernel used in the F240 variant be shared? And can the kernel be integrated to other custom ROMs? I tested the F240 variant of this ROM, and it's 100% working great.
[LG Optimus G Pro] anonymous007:
1. Source: http://xdaforums.com/optimus-g-pro/orig-development/rom-cm11-m11-korea-gpro-t2925940 as for its orgin or the dev I asked the O.P of the fourm as many f240 builds use loki but what caught my attention as this one in paticular uses a actual boot.img

2. It should be cross compatible with most cm based e980 builds as durning inspection of the zip it seems like it was a regular CM M11 build with the only exception being the boot.img/kernel (which probably is the case)

Hope that helps. :good:
[LG Optimus G Pro] MitoTakatori:
Thanks for the great info. It helped a lot! :good:
[LG Optimus G Pro] tzamakos:
I don't know if it works but I laughed a lot, that's for sure.....thank you so much for everything!!!
[LG Optimus G Pro] infamousvincci:
quick question guys.

can i flash sneps kernel here via cwm from freegee.

and what version of sneps kernel is compatible on this rom? thanks!
[LG Optimus G Pro] anonymous007:
Yes and his latest one v6 should work fine.
[LG Optimus G Pro] infamousvincci:
any thing to do before i flash it bro? i can use cwm from freegee right? im using e980. thank you sir!
[LG Optimus G Pro] anonymous007:
nothing in particular it should just flash and yes CWM Freegee I use it myself ;)
[LG Optimus G Pro] infamousvincci:
last question... haha... does snepsts kernel has better battery life? based on your exp, whats the best cpu gov? thanks!
[LG Optimus G Pro] Chronoswing:
Tried flashing with TWRP and it's failing saying this package is for e986, e980, geefhd, e988, gkatt error executing update binary. Not sure what the problem is... I have an ATT e980.
[LG Optimus G Pro] infamousvincci:
try it with CWM from Freegee bro. im using e980 too and i used cwm freegee

---------- Post added at 11:34 PM ---------- Previous post was at 11:34 PM ----------

bro, for some reason i cant see it in my cwm freegee. but if i plug it in my comp, i can see it. it is .zip
[LG Optimus G Pro] anonymous007:
snepsts kernel battery wise is about the same but with more features but I haven't tested in awhile but battery life will mainly depend on usage. And yeah its a bug on cwm you have to options to fix based on my experience.

1. Either restore to stock and set it up again freshly

2. Flash philz recovery to make it show again.
[LG Optimus G Pro] Chronoswing:
Thanks that worked, only issue I see now is it doesn't deep sleep at all... should I flash madmaks modem?
[LG Optimus G Pro] anonymous007:
Yes and have you recently came from stock? if after flashing the modem and you don't get deep sleep you should go back to stock JB > root > install freegee and flash respective rom > gapps > modem and that usually does the trick.
[LG Optimus G Pro] luisoman2000:
I noticed a bug with the torch app in the latest update, the app would work once then it would force close. Same with google camera.
[LG Optimus G Pro] anonymous007:
Can confirm this happens after using the rom for awhile, as stated in vanir thread Cyanogenmod is going through a freezing, framewrok change process for the upcoming M12 and as of now most cm based roms are basically f***ed for the moment. So until these bugs are resolved I advise everyone to rollback to a build that works for you, in the meantime I will continue to sync CM and monitor changes; hopefully have RC2/V6 (Release Candidate) up sometime soon.
[LG Optimus G Pro] infamousvincci:
i thought they already fixed the viber call problems on cm11s based roms.

viber calls and video calls still having problems... T_T
[LG Optimus G Pro] anonymous007:
see my above post it might have gotten fixed last month but CM is really hell bent on these changes a lot of so far which have mostly broken things. If you feel up to it try the previous V4/RC build at it is release candidate quality and everything worked aside from some deep-sleep and nfc (which was mainly my fault for messing with the kernel lol) I may do a re-release of the RC idk yet depends on if CM fixes the bugs they've created.
[LG Optimus G Pro] infamousvincci:
oh perfect... so which version is the one where they fixed the viber issue? or VOIP issue?

is it the v4?

RC is the one thats having deep sleep problem? i dont need nfc cause i have an external batt hahaha 9300mah
[LG Optimus G Pro] anonymous007:
No one has reported voip issue with, V4 only complaints were the screen would not want to come up during deep-sleep which resulted in turning the the phone off and back on, which happend like once or twice for some people and NFC being stuck on or not being able to switch off.

Both bugs which can be fixed by clean flashing +snepsts v6 kernel.

V4 should be in my uploads upon following the v5 link on androidfilehost.
[LG Optimus G Pro] infamousvincci:
thanks bro! ill try that one when i come home later on. haha. appreciate it!
[LG Optimus G Pro] anonymous007:
No problem man and when looking V4 it should be named CM11S_RC
[LG Optimus G Pro] infamousvincci:
oh yeah i cant find the link for v4 LOL. haha
[LG Optimus G Pro] infamousvincci:
anonymous? i soft bricked my gpro TT_TT

i installed the v4 rc = ok

i installed modem = ok

i installed kernel snepsts via cwm freegee = failed

i clean installed it. ill go back to v5 for now.