yashsingh1/xdaforums huggingface dataset:
[G2 Original Android Development] ooddiittyy:
For me, quite a few: on the order of ~130 or so. Usually, it just takes a long time but is consistent. This time around, it was rebooting every couple of apps - which, again, could definitely be temperature related. But, the number of apps hasn't changed since my last successful install of the previous version of Mahdi so idk what the deal is.
[G2 Original Android Development] errikosd:
It does not matter how many apps there are to convert.

No offence, but something is wrong here. The kernel SHOULD control the temperature by lowering the CPU frequency when the temperature goes up. This, apparently, is not happening. I am not trying to play it smart-*ss here, I am just trying to figure this out with the rest of you.

Placing the phone in a cool place is not a practical/correct solution. Reminds me of the old days! :cyclops:
[G2 Original Android Development] Lawlrus:
As I stated before, people have too many apps. I had 80 when I did mine. Install the ROM.and remove what you don't want. Then convert to art, then install your apps.

Yes it might have worked before, and there may be an issue with the new build. But that doesn't sound like a huge pain in the ass to get art working to me.

Hell I always try to get on art before installing apps, and I always watch my CPU temp before I do it, or reboot, or flash a ROM.

Had this phone since last October, what hardware damage due to heat?

Sent from my Vs980 running Omni 4.4.4
[G2 Original Android Development] heleos:
As I mentioned above, I am running art and gapps from September 4th. I also only had ~80 apps to convert over when I made the switch
[G2 Original Android Development] ooddiittyy:
I'm glad you have managed to get it working, and I appreciate the general feedback but I don't think "delete a bunch of your apps" is a particularly sound long-term strategy for most people. I'm not expecting this to necessarily be a priority for the Dr or anyone else - as I said earlier, I simply restored a backup and am happy with the older build for the time being - but it seems an odd coincidence that my phone would develop a temperature issue right when I change to a new build and a new Gapps. And if something has changed in the ROM base or elsewhere it might be worth worrying about and trying to troubleshoot.

Also, perhaps I'm misunderstanding something about the runtime environment but: wouldn't installing only the ROM, switching to ART, and then installing whatever other apps one wanted still require the same amount of CPU engagement as happens when you switch the runtime after everything's already installed? The system still has to compile the apps for ART after downloading, right? Perhaps your point is that doing it manually would enforce more time between each install?

---------- Post added at 07:46 AM ---------- Previous post was at 07:45 AM ----------

But you're running non-stock kernel, right? Isolating variables is a perennial issue with ROM flashing.:eek:
[G2 Original Android Development] TheNetwork:
Installed. No rotation. And how do I enable expanded desktop?
[G2 Original Android Development] heleos:
I'm running vs980, same as lawlrus.

I also had many issues with bootloops when I tried installing the build when it dropped on 9/8, so that's why this time around I tried a non stock kernel
[G2 Original Android Development] Lawlrus:
In essence yeah but you have to view it as a break in the cycle. First reboot on art takes a while by its self, and it (unless dr87 changed something) maxes the cores out on a boot. Most every ROM does that.

So taking time away from that initial boot is what I shoot for. Once I boot up in art, I can let the CPU cool down before I start restoring apps.

Sent from my Vs980 running Omni 4.4.4
[G2 Original Android Development] ooddiittyy:
Thanks, I appreciate the strategic input. I lament only its necessity.

EDIT: Just some additional info here: I just tried installing a newer version of TWRP (2.8.0.1, to replace the temperature-limited one that came with XDADEBB's 25A bootstack, I believe) and, although the install failed for unknown reasons I did wipe cache/Dalvik before flashing. This forced an ART refresh upon reboot. I'm still on the 8/17 release, and just had it successfully ART update every one of my ~150 apps with no temperature issues. So: same phone, same number of apps, no heat issues on the older ROM.
[G2 Original Android Development] jmh033089:
Gps is not working, tried confirming GPS.config manually didn't do any good. Also knock off is not working , tried the command in the terminal, nothing anyone been able to fix these?
[G2 Original Android Development] 93fuelslut:
I think all the 24a aosp ROMs , GPS no longer works for most users . only stock ROMs.

sent from your moms phone
[G2 Original Android Development] errikosd:
OK, here is the deal.

I am writing this post as an effort to help you out by sharing what I did and worked for me for getting rid of overheating and bootloops.

I am on D802 and I am using TWRP 2.7.1.0 with thermal control by [MENTION=5232783]dr87[/MENTION].

Flashed the Mahdi 9-08 version, patch and PA-Gapps oogle Stock Package, 20140906.

Booted up the phone and set it up, let it get signal, etc.

Rebooted to recovery, flashed Furnace 2.2.3 and booted up again.

Then I went to the performance section in settings and found out that the CPU governor was set to PERFORMANCE! Switched it to INTERACTIVE and checked "Set on boot" option.

Finally, I made the switch to ART. 108 apps were optimised successfully without a single reboot with the phone being in my hands all the time.

Everything seems to work really good until now and the phone seems cool.

I will report back again after some (heavy) usage.

Hope this helps.

Cheers. :highfive:

NOTE: As always, try this at your own risk. I just like messing with my device, I am not responsible for anything you do with yours.
[G2 Original Android Development] efstajas:
You need to flash the right baseband. Every sensor in the G2 depends on the baseband, expect for proximity if I'm not mistaken. This has been asked many many times before though, please use the search function next time. :)
[G2 Original Android Development] b4mb1_:
Waiting for your report brother thanks. [emoji4]
[G2 Original Android Development] errikosd:
The device has been stable and cool for the last 3 hours with normal usage. :good:
[G2 Original Android Development] b4mb1_:
Nice lets wait for some heavy use ????
[G2 Original Android Development] errikosd:
OK, but for me personally, the switch to ART is the indicative equivalent of "heavy usage", so I would go for it!

In each case, it's easy to go back if you have a backup! ;)
[G2 Original Android Development] jordanl17:
Errikosd's method above worked for me. I could not switch to art, also Google Earth 3d city browsing would always cause a reboot.

Now everything works. There must be a broken thermal control in the latest stick Mahdi ROM.

Vs980 25b pagapps
[G2 Original Android Development] TheNetwork:
<3 The battery life on this ROM. I will never look at CM again for this phone.
[G2 Original Android Development] b4mb1_:
Can you pm me your battery stats thank you.
[G2 Original Android Development] Viper76269:
anyone know if we can use VoLTE with this ROM, or do we hae to wait for a future update to the ROM? (Verizon G2 now is VoLTE capable.)

http://www.droid-life.com/2014/09/15/verizon-volte-hd-voice-advanced-calling-1/
[G2 Original Android Development] TheNetwork:
So I had a little bit of this issue on CM, but now it's happening every few minutes. My data turns itself off. The cell stays connected, but the mobile data gets turned off, whether wifi is on or not. It seems to be worse in some areas, and does happen a bit more often when I'm connected to wifi. Any ideas?
[G2 Original Android Development] TheTrakO:
Yeah that battery on standby just won't die, I had 13 hours of little to no usage and battery went from 100 to 99 percent.
[G2 Original Android Development] MasterTB:
ART problems?

All of you who are having trouble enabling ART, did you flash using TWRP?

Because I use Philz (have done for a long time now) and never have that kind of problems.....

Could it be that TWRP is writing something wrong while flashing the rom? For instance, when I did use it, I always had problems with MTP and USB OTG, switched to Philz, never an issue..... also, never had issues switching to ART, even when I had Dalvik and xposed already installed ....

Also, you say it doesn't matter how many apps you have but It might. Some apps do struggle with ART. The best way to enable it is right after the first boot, and before installing any apps.

That way you make sure to rule out apps problems. Otherwise, WHY BLAME THE ROM?

Just a thought°
[G2 Original Android Development] h9s:
108 Apps, did you restore any apps using titanium?? if yes did you restore those apps, before flash the kernel?
[G2 Original Android Development] errikosd:
No, these 108 were just after flashing. I used Google Stock Package gapps, that's why there were so many apps.
[G2 Original Android Development] h9s:
i want to use the nano version of G-apps? any advise?
[G2 Original Android Development] errikosd:
Go ahead, turns out it does not matter.
[G2 Original Android Development] DHM078:
I tried flashing clean and dirty and with multiple versions of gapps. For me the results were consistent. Regardless, whenever the phone would work hard, be that from compiling with ART or even building the dalvik cache or frequently rebooting for things like Xposed or playing a game or even just having the screen on too long, the phone would get hot and then reboot, and occasionally get stuck bootlooping until I actively cooled it by holding it in front of an air conditioning vent or putting it in the freezer. The behavior is definitely consistent with thermal issues. But that's what nandroids are for. I don't really understand it at all, as the kernel isn't any different since the patch is the same, but that's how it's behaving. Oh well, that's what nandroids are for, and the previous build was rock solid. Still loving this ROM, thanks for your hard work doc!
[G2 Original Android Development] hwwr:
Having the same issue.

Whether on Dalvik or ART still reboots even with my phone in the freezer.
[G2 Original Android Development] kashk5:
I was having the same boot loop issue when I first installed the ROM. First I installed the custom TWRP build designed for the thermal issue and then tried using an older version of PA Gapps, but that didn't seem to solve the issue. So then I flashed the Furnace kernel, changed performance to Interactive, and now it works perfectly!

So for everyone having the boot loop issue, I would recommend flashing the custom TWRP build and the Furnace kernel until this ROM's kernel is updated to resolve this issue.
[G2 Original Android Development] pmgnet:
That's interesting as I "feel" like I get less life on this phone. I can't nail it down though. I see Google Services popping up a bit more. What is your location precision set to and your google location reporting set to?

I coincidentally found that I currently have location turned off completely and I'm at 85% (15% drain) with 15 hours on and 53 minutes of screen time. I think that's not bad, but I need to turn location services back on and tweak some of those inner settings.

With location on, I'm on "high accuracy", but just changed to "Device/GPS only".

ohhhhhhhhhhhhhhh. I found google location settings are location reporting is Location Reporting: On, and History, On.

I just turned off the history setting. I need to be able to use my maps.
[G2 Original Android Development] jmh033089:
Got GPS working , I restored a back up locked a GPS signal. Then did the install now GPS works idk why but it works.
[G2 Original Android Development] kashk5:
I searched through this thread and tried a variety of basebands, but I'm still having network issues. I'm seeing at most one bar when I usually see 4-5 bars on a stock based ROM. My speeds never go above 3Mbps up and down, whereas I usually get much closer to 20Mbps.

I can't run 100% stock because of the thermal rebooting issue. I've tried both the Furnace and Render kernels and I'm having this issue with both.

I'm running the AT&T G2 (D800)
[G2 Original Android Development] mafukaz:
I never have a problem switching to art and dalvik, also my phone does not reboot when gaming. The only time it happened when i was using antutu benchmark at about 30 percent. My phone revision is 1.2bl, maybie it is the case. Anyway, I checked my temps while gaming, cpu was 60 and battery 33 Celcius. And I have over 180 apps
[G2 Original Android Development] IOmega666:
So far the best AOSP ROM for me, aside from like one or sometimes none, system.ui FC, it's all good, buttery smooth and battery is lasting, not what i'd get with LG Stock but it's fair enough to get me through the day without problems.

Been on 08/17 since it was released, dunno if i'd try this new build, any problems or something?
[G2 Original Android Development] efstajas:
Keep in mind the bars are not actually representative of the reception. It has happened many times before that OEM stock ROMs displayed a few bars more than AOSP would simply to make it look better. If you want to get an actual comparison, go to Information under settings.
[G2 Original Android Development] kashk5:
I apologize, I meant that I'm experiencing slow network speeds. Speed tests are putting me at only 3Mbps up and down, when I used to get around 20Mbps on stock based ROMs.

I've tried several baseband and kernel combos, but none seem to work. APN settings are accurate for AT&T LTE.
[G2 Original Android Development] TheNetwork:
I get 25mbps even with 0 bars lte
[G2 Original Android Development] barturblits:
Got the same thing with cloudystock 2.2. On wifi I have gotten dowload speeds around 200 mbit. But a lot of times it's exactly 3 mbit. Upload is always 20 mbit. Maybe a problem with speedtest?
[G2 Original Android Development] kashk5:
I tried both Speedtest and Sensorly, both gave the same results. I tried downloading files and it was much slower than usual.

Wi-Fi works perfectly though.
[G2 Original Android Development] Silv3rFoxx:
Make sure you have the correct modem. That's always my problem when getting bootloops. For mahdi, g3 and stock I use the kk modem. Also make sure you have the latest recovery installed.
[G2 Original Android Development] Dri94:
Ot: why do you need over 180 apps?
[G2 Original Android Development] bps119:
Icon packs and cm themes add up quickly. I don't even have games on my device and I have around 200 apps (not including gapps)
[G2 Original Android Development] Darkmx2000:
Yeah my LS980 reboots as well on antutu right when it hits 30% :( don't know why but everything else works fine for me :)
[G2 Original Android Development] pmgnet:
I ran some new battery stats after getting Google location and location settings optimized. By optimized, I mean I get to use everything on my phone without limits and no stupid battery killers.

Here's idle time. 5.5 hours, not one percent lost.

Here's a bit of usage, mild to moderate. End of work day. 15 hours. I consider this exceptional.

It seems to me that with the right settings, this ROM is on par battery wise with stock and cm11.

Right now, I'm at 20 hours, an hour of screen time. Made two calls. 75 percent. It doesn't get better as far as I know.

Mod edit - the OP requested battery discussions not to take place in this thread
[G2 Original Android Development] hotbbq:
LS980 user here. I'm not getting GPS at all when LTE connects. As soon as the signal switches to 3G it starts working again. 9/08 build.

Edit: Found someone else with same problem on Cyanogenmod back in February.
[G2 Original Android Development] UrbanBounca:
You need to submit logs.
[G2 Original Android Development] tpayne2345:
Regular usage, almost 4 hours screen on. Couple calls, texting, and even tethered for about 2 hours today. Stock kernel and no tweaks

Mod edit - the OP requested battery discussions not to take place in this thread
[G2 Original Android Development] hotbbq:
Not sure what logs I would even post. Also, there's the issue of getting it while I drive. [emoji57]
[G2 Original Android Development] Lawlrus:
Antu blasts all cores and generates a ton of heat.

Its set up so of the phone gets too hot it reboots so the phone doesnt fry. Am I missing something as to why this doesn't make sense?

Sent from my Vs980 running Deviant Xone
[G2 Original Android Development] street.basketball:
Last try :) I TOT back to 4.4.2 stock then got PURE kk kernel, then used cloudy's tool (autorec and towel root) to root and install recovery.

Now - downloading stuff and then flash later :)

hope so it will be work, the Proximity sensors
[G2 Original Android Development] Lawlrus:
If it doesn't, I'm out of ideas lol

Sent from my Vs980 running Deviant Xone
[G2 Original Android Development] jmh033089:
How do I get the caller interface up, when I get a call nothing comes up for me to answer . I have to scroll down and hit talk normal a box comes down?
[G2 Original Android Development] street.basketball:
god it doenst work, i give up :( i hide the whole camera, and sensor, speaker :(
[G2 Original Android Development] Lawlrus:
Might be a hardware issue then. I've never heard of anyone ever having this much of an issue with proximity sensor only on aosp, and all aosp at that

Sent from my Vs980 running Deviant Xone
[G2 Original Android Development] street.basketball:
i work on ported rom like optimus g3, cloudy stock or g3, but AOSP .....
[G2 Original Android Development] Lawlrus:
That's what doesn't make sense. Maybe something in aosps framework doesn't work well with it.

Make a post in the g2 q&a maybe a broader audience might be able to offer some insight.

Sent from my Vs980 running Deviant Xone
[G2 Original Android Development] DrPopper:
Could have sworn dr87 said no more battery talk.... :rolleyes: ANYWAY I installed the ROM and everything worked smoothly. Double tap to wake was way better on this new build for some strange reason. Got bootloop when I switched to art and didn't do a nandroid with this build so I went back to an old g3 port. But everything did work good for a few days!

Sent from my VS980 4G
[G2 Original Android Development] pmgnet:
People are going to talk! Even if it's good news! Anyway, I wonder if there are any good things in here for non Verizon users. http://www.android.gs/lg-g2-android...oday-it-adds-volte-support-for-verizon-users/
[G2 Original Android Development] kwdan:
I switched to art figuring that the boot loops wouldn't happen to me(Ls980),but it did. I noticed as the apps we're optimizing that

It boot looped after the first 57(132total)...then optimized another 40 (now I'm trying to shut it down and get back to recovery) but

Then it started again and finished the remainder...then booted like normal. It's been running fine since. Was that designed that way?

Are some people stopping the process like I was trying to do?
[G2 Original Android Development] HueyT:
Overheating causing bootloop. ART always preload and optimize all the apps on first conversion from Dalvik to ART and then subsequently it does not do it anymore (unless you clear Dalvik Cache and Cache in recovery).

Next time when you first convert to ART on a rom, do it on some frozen peas and it won't boot loop on you :D
[G2 Original Android Development] Osama.nasir.90:
how to install?

I'm new to LG G2(ls980), i have rooted my device and have installed the latest twrp recovery. I'm on stock 4.2.2. Can anyone tell me the procedure for installation of the rom. It says i need to have stock kitkat modem!! do i have to flash stock 4.4.2 (kitkat rom) and then flash mahdi rom?
[G2 Original Android Development] errikosd:
It does make sense, but this must be an exception, not the rule for any app that generates heat!

When heat is generated, the CPU frequency is usually set to a lower value to help the temperature fall and to prevent damage. A reboot is not the correct way of doing this and should not happen.

Just my opinion.
[G2 Original Android Development] parkedraccoon:
I can't seem to find the option to disable the proximity sensor pocket wake protection. Shouldn't it be where it is in this picture?

https://www.dropbox.com/s/z3jd9n37j1ai3gp/2014-09-18 08.12.40.png?dl=0
[G2 Original Android Development] Osama.nasir.90:
Baseband version unknown

Flashes latest Mahdi and also flashed kk baseband on stock 4.2.2. it says baseband unknown and no signals on my g2 (ls980). Please help.
[G2 Original Android Development] heleos:
Did you flash the proper patch file?
[G2 Original Android Development] Osama.nasir.90:
Yes
[G2 Original Android Development] frater:
I had the same issue a while ago and thought it was just buggy. It turned out the battery saver mode was turning off my mobile connection
[G2 Original Android Development] Lawlrus:
There's been tons of talk, way too much that this latest build may have an issue ROM side with heat. Maybe a new commit that is stopping it from lettting the kernel throttle. Just seems pointless to keep talking about the same thing till dr87 makes a comment.

Sent from my Vs980 running Deviant Xone
[G2 Original Android Development] kwdan:
It sounds like your EFS partition got wiped. If you rooted worth ioroot, it should have made a copy of that partition. You might have to restore that.
[G2 Original Android Development] hotbbq:
Here's a logcat. I stood next to a Window at work where I get Sprint LTE service. I turned off Wifi and was in Global network mode, so I was connected to LTE. I opened GPS Test app and had zero satellites. I toggled network mode to 3G and switched back to the GPS Test app. As soon as I was connected to 3G network, the satellites started popping back in. I also tried LTE network mode, but that also killed GPS connectivity.
[G2 Original Android Development] sharkboy0901:
Anyone getting really high ram usage? My launcher keeps redrawing and backround apps are being killed all the time. This is coming from a completely clean install no add-on's other then gapps. LS980
[G2 Original Android Development] thejoshiewawalee:
hey has anyone else tried the oneplus one converter kit? i got a constant system ui fc after rebooting. had to reflash.
[G2 Original Android Development] efstajas:
The minfree task killer is way too aggressive on most ROMs for this phone for some reason. Just use Trickster or Kernel Tweaker to set it to the medium preset and you won't get any launcher redraws anymore!
[G2 Original Android Development] ghost141:
anyway to fix the bootlop?
[G2 Original Android Development] dr87:
New update will come later today :good:

While I read almost all posts most are very specific / strange issues that I am not able reproduce which makes it extremely hard to fix.

Also some variants have their own issues and I am more than likely unable to fix each variants specific issues without having negative effects on other variants.

I can say on my D801, I am unable to reproduce almost any issue reported here in the last bunch of pages which makes fixing all these problems users report extremely difficult.
[G2 Original Android Development] sharkboy0901:
Wow can't believe I didn't think to do that, pretty obvious solution. Worked great. Thank You.
[G2 Original Android Development] cemanie:
Great MAHDI-ROM..Love it ..full custom setting...thanks for devs

-----

Please help more vote to our G2 to get MIUI V6..thanks..

Your voted are valuable

http://en.miui.com/thread-42294-1-1.html
[G2 Original Android Development] hotbbq:
I found a fix for the GPS issue I had on the LS980. The gps.conf was missing some parameters for LTE. I grabbed the file from stock and now GPS works fine on LTE. Here's the config file. Could it be added to the patch file for Sprint?
[G2 Original Android Development] bps119:
Any chance that any of our boot loop logs produced anything interesting or definitive?
[G2 Original Android Development] beachmiles:
Thank you for this ROM! I started losing my navigation buttons a week ago mainly when using the keyboard. Which was a bigger bummer than you think. Tried many other stock based ROMs and slim and different keyboards and none of them helped. Yours did, i suspect your disable immersive mode option may have something to do with it.