yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Q&A, Help & Troubleshooting] David_Johnston:
Maybe I can block it here..

I changed all the shutdown actions in the thermald config to 'none' to no effect. It still shuts down randomly.

I changed the battery to a new one to no effect.

So I got myself the cyanogenmod sources and started searching for things that might be issuing the request.

frameworks/base/services/java/com/android/server/BatteryService.java looks like the culprit. It has two methods shutdownIfNoPowerLocked() and shutdownIfOverTempLocked() that issue the request. Also it waits until the system has booted before it issues the request, which fits with the pattern of it fully booting before shutting down on the times that it shuts down right after powering it on.

I'm rebuilding form source, which is taking all day. Once that is done, I'm going to set the user confirmation flag in the action request to see if this is the code in the failure path. If so, that doesn't explain the cause, but it provides a way to block the effect and then trace back to the cause.
[Nexus 4 Q&A, Help & Troubleshooting] David_Johnston:
Success..

It's the shutdownIfOverTempLocked() routine that is firing and shutting down the phone.

I changed the call to require a user acknowledge so it would not actually shut the phone down and I added a log to see which one was causing it..

dj@androidbuild:~$ grep shutdownIf logcat.txt

I/BatteryService( 723): shutdownIfOverTempLocked() Firing

I/BatteryService( 723): shutdownIfOverTempLocked() Firing

I/BatteryService( 723): shutdownIfOverTempLocked() Firing

I/BatteryService( 723): shutdownIfOverTempLocked() Firing

I/BatteryService( 723): shutdownIfOverTempLocked() Firing

I/BatteryService( 723): shutdownIfOverTempLocked() Firing

I/BatteryService( 723): shutdownIfOverTempLocked() Firing

I/BatteryService( 723): shutdownIfOverTempLocked() Firing

I/BatteryService( 723): shutdownIfOverTempLocked() Firing

So the temporary fix is to change 'false' to 'true' in line 339 of BatteryService.java and recompile android, or just BatteryService.java if you know how to do that in isolation.

I presume it's a sensor problem. I'm going to dig in and see what is causing it to fire on this condition and see if there isn't a software mitigation that can be put in place.
[Nexus 4 Q&A, Help & Troubleshooting] user822:
Am I the only one who would not try to mess with a phone that raises a battery temperature alert?

Especially with lithium batteries I would not touch that thing again.
[Nexus 4 Q&A, Help & Troubleshooting] TechyImmigrant:
Well. Trust me, I'm an engineer :). Actually I'm an engineer who spent part of my like designing LiIon and LiPoly charging circuits for cell phones and I'm not at all concerned.

1) The thermal sensor is returning bogus values. If the values are bogus, the thermal overload clearly isn't working with or without the patch. So if there was a problem, thousands of affected users would be at risk.

2) The battery isn't hot. It's cold.

3) You can't make these things burn. I've tried. The ones that burn have faulty manufacturing.

4) A burn scenario is a runaway reaction, there's nothing the software can do about it one way or the other.

5) I don't believe it's the thermal sensor. Thermal sensors don't just break like that, especially uniformly across so many devices. I've changed the battery and it carried on - the sensor is in the battery. The problem is in the phone, not the sensor.

---------- Post added at 06:28 PM ---------- Previous post was at 05:57 PM ----------

thermald looks at a number of temperature sensors, including the battery sensor and the configuration file tells it to shut down on several of the sensors when they hit a max. However thermald does not issue shutdowns for the battery thermal sensor limit. It implements the clock throttling at different temperature points, the idea being that the battery will never get to the max temp.

So when the thermal sensor erroneously reports a max temp, thermald raises all sorts of alarms that you see in the logs and slows your clocks, but it does not shut off the phone.

The code that shuts off the phone is in BatteryService.java and BatteryService.java gives you no logs whatsoever when in does what it does. The logs above are what I added and it happens once for each time the phone erroneously tries to shut down.

So it's easy to see the alarms in the log, see the shutdown happen and conclude that thermald is doing it, but it isn't. BatteryService.java is doing it and is being stealthy while it does it.
[Nexus 4 Q&A, Help & Troubleshooting] TechyImmigrant:
I would link to my android image with the mitigation but this web site isn't letting me include urls.
[Nexus 4 Q&A, Help & Troubleshooting] eva03_sp:
I experienced the same problem on a Nexus 4.

I replaced the screen myself, the phone updated to 4.3 shortly after and the problem started to occur. I rooted the device and installed CatLog, and I get the same sequence of messages: batt_therm reports 79.0°C, raises all the alarms, and then the shutdown command is issued - but the device isn't hot at all. It also happens just after the device boots. This behavior seems unpredictable, and isn't related to real temperature - making the device hot doesn't make the problem more or less likely to occur. I bought a new battery from an LG vendor and replaced it, but the problem is still here, so it doesn't seem to be a component failure.

Did you made any progress during your investigations?
[Nexus 4 Q&A, Help & Troubleshooting] praveenambati:
I too had this issue. Stopped using my nexus 4 for more than an year due this random shutdown issue.

A few months back I was recording logcat and found that battery temp is reported as 79C and eventually that is triggering a shutdown. But the battery and device is chill cold. Tried several custom roms and kernels and changed the thermald thresholds etc etc. But nothing helped. Could not find any fix to suppress this. and kept the device back in the shelf. When I wanted to get rid of nexus 4 to get a new one.. I thought of giving a final attempt to fix the issue. Found this thread.

Here is how I fixed it.

1) Installed latest cyanogenmod rom (stock rom is also fine.. but need to deodex and odex back)

2) extracted the services.jar from /system/framework folder to my PC.

3) downloaded the smali.jar and baksmali.jar from this post (//xdaforums.com/galaxy-s2/themes-apps/how-to-manually-deodex-odex-t1208320)

4) extract the classes.dex file from the services.jar

5) java -jar baksmali.jar classes.dex (seep the dex file in same folder as the baksmali.jar)

6) this generates an out folder. with the smali files. Look for BatteryService$3.smali file

Look for..

__60 .line 298

__61 new-instance v0, Landroid/content/Intent;

__62

__63 const-string v1, "android.intent.action.ACTION_REQUEST_SHUTDOWN "

__64

__65 invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String V

__66

__67 .line 299

__68 .local v0, "intent":Landroid/content/Intent;

__69 const-string v1, "android.intent.extra.KEY_CONFIRM"

__70

__71 const/4 v2, 0x0

FIX A)

At Line 71 -> replace 0x0 with 0x1

This change when implemented, will make a dialog poup before shutdown. You can click on cancel to avoid the shutdown.

FIX B)

But if you don't want that annoying dialog, and just want to avid the shutdown silently.

At Line 63 -> replace ACTION_REQUEST_SHUTDOWN with ACTION_BATTERY_OKAY

You dont need to modify line 71. You have to keep it 0x0

6) Once the smali file is modified compile the dex file back using the below command

java -jar smali.jar out -o classes.dex

Make sure the out folder has all the files including the modified it their exact locations

7) Now use winrar to open the services.jar and drag drop the new classes.dex file into it.

WINRAR will ask if you would like to replace the classes.dex file. Choose YES. Also in the compression mechanism choose store.

8) Now copy the services.jar file back to the phone. First keep it in /system. NOT /system/framework. and using a root file manager first set uid and gid to 0 (root) and set the permissions rw-r-r

9) NOW move to /system/framework folder.

10 That's it. Reboot the phone and enjoy the fix.

I tried out FIX A. I am seeing it action.. Simply cancelling the dialogs for now. If I can't bear that annoyance any more I'll try the FIX B.

Hope this helps.
[Nexus 4 Q&A, Help & Troubleshooting] robert1968:
Hi,

You saved my life. really :) I had the similar issue with my Samsung TAB PRO. shutdown when sleep.

I was lost for month until i found your Post here in XDA and followed your instructions and resolved the issue!!

My process must have changed - slightly.

https://xdaforums.com/galaxy-tab-pro-12-10-8/development/rom-7-1-xsm-t900-unofficial-cyanogenmod-t3524853/post78826518

So many thanks for detailed professional explaining and description. :)

Robert
[Nexus 4 Accessories] shalom06:
Anyone Knows where to get the Otg Y cable required for nexus 4 ?I stay In india Not many People ship here
[Nexus 4 Accessories] CoolApps:
Can't find such thing anywhere.
[Nexus 4 Accessories] ElliSkyline:
Have you tried eBay?

I found one on Amazon but haven't tried it, I end up making my own one day but here's the link..http://www.amazon.com/gp/aw/d/B009YPYORM/ref=mp_s_a_1_1?qid=1376740338&sr=8-1&pi=AC_SX110_SY190
[Nexus 4 Accessories] CoolApps:
Wrong connection, it should be a female USB, not a Samsung type of port.
[Nexus 4 Accessories] Neet:
Does n4 even support otg?
[Nexus 4 Accessories] tiru.adi13:
With ziddeys kernel and a power source along with this cable, YES.

Sent from my Nexus 4
[Nexus 4 Accessories] ElliSkyline:
Its not the wrong connection, the female micro USB part is where your charger plugs into to give power

And the big female USB is where you plug in flash drives etc...

And what do you mean "not a Samsung type of port"
[Nexus 4 Accessories] CoolApps:
Again an other accidental thanks. :banghead:

Yeah you have a point there, it just looked like that the female micro USB is some Samsung connection for a second... :P

Yep it should do.
[Nexus 4 Accessories] ElliSkyline:
Haha no worries :p

I really wish the N4 does supports an actual port for flash drives or any other kind of USB

It really defeats the purpose of having OTG

Good thing I got a portable solar powered external battery to plug into
[Nexus 4 Accessories] CoolApps:
We all wish that... D:
[Nexus 4 Accessories] ziddey:
http://en.wikipedia.org/wiki/Mobile...ng_Micro-USB-to-HDMI_adapter_.28eleven-pin.29

Believe it only affects the pinout for MHL though, so OTG should work fine. Not 100% sure though since a friend with an S3 ran into issues with an OTG cable I gave him.
[Nexus 4 Accessories] rv0000s:
you need this..

http://www.ebay.in/itm/Micro-USB-Host-OTG-Cable-with-Micro-USB-Power-for-Samsung-Nexus-4-/161085524084?pt=IN_Mobile_Accessories&hash=item2581720874&_uhb=1

this one is available in India too..
[Nexus 4 Accessories] shalom06:
I just odered it .. did u get it from the same seller?
[Nexus 4 Accessories] Ipse_Tase:
I will never understand why LG cheapened out on this OTG stuff...should have been there WITH 5V supplied.
[Nexus 4 Accessories] blankit:
Isn't there a way to make the nexus 4 supply the 5v?
[Nexus 4 Accessories] Gvirendra201:
OTG Kernel for LG OG

As u made a patched kernel for USB OTG with externel power supply for Nexus 4, is there any patched kernel for LG Optimus G E975 too, i've made my USB OTG Y cable too. Please tell me.
[Nexus 4 Accessories] baku2313:
This is my own making y type otg cable
[Nexus 4 Accessories] kingparthi:
aliexpress did that for me

iam from india tamilnadu i get otg-y cable from aliexpress just 3$ and no shipping charge too try this link am happy to share this link

http://www.aliexpress.com/item/BUH9...t-OTG-with-Micro-USB-Female-Y/1347015379.html
[Nexus 4 Accessories] tiru.adi13:
Have you tried this? Does it work with the Nexus 4?

Sent from my Nexus 4
[Nexus 4 Accessories] kingparthi:
i bought it and checked it its working with frankco kernal with ziddgy otg patch full tested its working....

and i get otg-y cable from there at good condition it will cost nearly below 200rs only...
[Nexus 7 (2013) Q&A] Hnk1:
I think my Nexus 7 2013 Top speakers are not working. I tried putting my ear to it as close as possible and nothing and I guess it was low since I opened it. How can I check it as I hear other speakers and it is a bit confusing.

I was thinking of dailing the service menu but there is no phone etc. Any way I can check it please ?

A bit nervous :(

At first I thought, they were not speakers but then I checked the official support.

https://support.google.com/nexus/7/answer/3271665?hl=en&ref_topic=2847279

Is there any way to revive the speakers ?

EDIT : SOLVED

http://xdaforums.com/showthread.php?t=2409661
[Nexus 7 (2013) Q&A] DowntownJeffBrown:
I would be returning that n7 and getting a new one if I was you.

>^.^< Sent from meow HTC One which is like catnip to me atm
[Nexus 7 (2013) Q&A] Hnk1:
Thank you mate, I would have loved to do that but I shipped this unit in and It would not be here in the UK till September. So this means shipping it back and waiting for a long time for it again.

I know I took a risk and I am thinking of approaching Asus around September or later but I am just wondering of a way to make sure its faulty speakers. Maybe there is a bit I can do to make the speakers work.
[Nexus 7 (2013) Q&A] DowntownJeffBrown:
Ah OK bro I didn't know that. Hmmm maybe open up the back and see if the speaker looks like it's installed properly. Like any loose wires or anything. The back comes off pretty easily. I wish I could help u out more and I hope you can get this fixed soon.

>^.^< Sent from meow HTC One which is like catnip to me atm
[Nexus 7 (2013) Q&A] Hnk1:
Thanks a lot mate for your kind gesture. Will update you about it
[Nexus 7 (2013) Q&A] Hnk1:
http://xdaforums.com/showthread.php?p=44716657#post44716657
[Nexus 7 (2013) Q&A] BladeZero:
global asus warrenty just take it to asus
[Nexus 7 (2013) Q&A] Hnk1:
For now, it seems like I am not going to do anything as the warranty is till 2014 August. Once I have seen my options, I will see what seems most appropriate.

Cheers mate
[Android Q&A, Help & Troubleshooting] aspire86:
Hi. I would like make log file ( for example log.text) from flash.

It seems to me that must be fastboot flash zip xxx.zip >> log.txt but log.txt after flash is empty.

And 2 question

How to add end procedure? For exaple : my device is not respodning and fastboot is waiting withaut end. I wold like add to commend "time out".

thanx:)
[Galaxy S 4 Q&A, Help & Troubleshooting] Mone181:
Hi all,

I don't know if it is happening since I changed rom to echoe 1.3.1 but everyone say me my voice volume is very low during call, where can I check it?

Thank you
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] grjnakh:
Hi Guys,

CyanogenMod 10.1 installed on my tablet. It is running well.

But when it goes to sleep or i push the power button once the screen is rolling very fastly. I can't do anything except restart it.

Please help me, thank you.
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] Gil81:
Read through this thread.. http://xdaforums.com/showthread.php?t=1554982 .. I think it will help you.. I've also read that you need to have the U.S. ICS bootloader.. This aplies if you have the u.k. tab.
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] grjnakh:
Actually i am pretty sure that it is nothing to do with the rom. Because it was already flickering after the first root.

How can i find the US ICS bootloader and what do you mean by UK tab? What is the difference?
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] Gil81:
Go here.. http://droidbasement.com/galaxy/roms/cm9/p4wifi/ . and flash his bootloader and cwm recovery....for you're tab version.. You could just try another cwm recovery first instead of the bootliader and recovery... I've seen bad versions of cwm floating around causing rolling screens..I personally use infamous twrp recovery...
[LG Optimus L9 P760, P765, P768, P769] CodeRR:
Hi. I have a big problem. I can´t flash my L9 back to v20c from CM 10.2 nightly. Everytime i start the upgrade in LG Update Tool it says that my phone is not connected, but it´s connected in S/W Mode. Please help me, thanks!

My System: Win8/64bit

Phone: optimus L9 with CM 10.2 nightly

PS: Sorry for my bad english! ;D
[LG Optimus L9 P760, P765, P768, P769] SentryMescudi:
Try a rom like Dragurom 3.0 or JellyCream, These roms are customized stock roms. They works good.

Dragurom: http://xdaforums.com/showthread.php?t=2336853

Jellycream: http://xdaforums.com/showthread.php?t=2365130
[LG Optimus L9 P760, P765, P768, P769] CodeRR:
Thank you for your fast response. I restored my L9 with an downloaded stock backup and now it works :D.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Q&A, Help & ] esdrimacoy:
Hi there!

Recently i've tries to flash yank kernel passed the setup my phone wont pass the boot screen ( i9305 4g screen)... this with galaxt project rom. A kernel conflit screen appear when booting in stock so i've flashed one stock...

On stock rom works nice but when I try to go to any room, paranoid, TGP, stucks in every single boot screen...

I was using TRW RECOVERY (THE simple one)...

I'm a litttle concerned about this, can anyone help me??

I was wondering if i flash stock rom, stock kernel, stock modem, on odin it will solve this... but i cant find all the files seperatly.

Now I'm on:

Base band i9305xxbll5

Kernel 3.0.31- 746327

Se.infra@SEP-122#1

SMP PREEMT mon jan 7 18:50:33 KST 2013

Compilation

JZO54.I9305XXBMA3

Thanks
[Galaxy S III I9305 (4G LTE + 2GB RAM) Q&A, Help & ] JJEgan:
I was wondering if i flash stock rom, stock kernel, stock modem, on odin it will solve this... but i cant find all the files seperatly.

Why would you they are not a separate flash .

Try reading the basic faqs and guides first
[Galaxy S III I9305 (4G LTE + 2GB RAM) Q&A, Help & ] esdrimacoy:
I know the basic faqs and guides....The problem that i'm dealing with it , is the fact that my phone isnt capable of runing TGP rom, paranoid rom to...

Any toughts about that
[Galaxy S III I9305 (4G LTE + 2GB RAM) Q&A, Help & ] esdrimacoy:
Anyone??
[Galaxy S III I9305 (4G LTE + 2GB RAM) Q&A, Help & ] esdrimacoy:
Problem solved.... guess it was the recovery or a bad download...
[Android Apps and Games] manukohli:
ViewScene 3D

Tested n works on 2.3 and 4.0

Doesn't works on 4.1+ ... But can try

Ver.- 1.1.3

Found this in old back up of ViewSonic ViewPad4 \ Ideos X6

It is a beautiful launcher , so i thought its worth sharing

Screen Shots

in attachment

Credits

ViewSonic corp.

Download

https://docs.google.com/file/d/0B6SewdKjJ4p7R3A1Q3NpU3doM3c/edit?usp=sharing

Install

Install like a normal APK
​
[Android Apps and Games] jacobas92:
Looks suspiciously close to SPB SHELL 3D... Which is a paid software.
[Android Apps and Games] manukohli:
Yup kind off I too had the same thought first time.. But but viewsonic used it as their stock launcher in viewpad 4 in its 2.3.4 gingerbread... there were little difference in it
[Android Apps and Games] Saravanashines:
Its exactly SPB SHELL 3D only....;)
[Android Apps and Games] Shermanballz:
Get yandex shell. Yandex bought spb, made it better, and made it free.

https://play.google.com/store/apps/details?id=ru.yandex.shell
[Android Apps and Games] Saravanashines:
If so..why does a paid version of SPB still exist in the market ?

https://play.google.com/store/apps/details?id=com.spb.shell3d

:fingers-crossed:
[Android Apps and Games] kalachnic:
Good launcher :) SPB Shell copy :P
[Android Apps and Games] manukohli:
Wasn't yandex in russian :confused:
[Android Apps and Games] manukohli:
Dunno.. May b they still own some shares :D lol
[Android Apps and Games] Shermanballz:
My guess is they didn't want to upset the suckers that paid for it (like me) by removing it or making it suddenly free. And for a long time it was in russian only. But it has since been translated and has been given updates that SPB desperately needed.
[Android Apps and Games] manukohli:
Ohh u bought it... Damm... Man u must be really pissed :banghead::D
[Android Apps and Games] Shermanballz:
I must have thought I was rich for a minute. Worst part is I got it because I loved the beta, but the features I liked most in the beta were removed :( oh well
[Android Apps and Games] Sanjaa22:
Amazing 3D effects :victory:
[Android Apps and Games] manukohli:
Yup :o ... N its supr smooth :cool:
[Android Apps and Games] TheTechnolgyhelper:
Doesnt work .... I get fc's

I have 2.3.6
[Android Apps and Games] manukohli:
hmm.. dunno know y :confused::confused:

Try clearing data or try download it again.... instal like normal apk :good:
[Android Apps and Games] njkane:
Doesnt work on galaxy tab 2 android 4.22
[Android Apps and Games] manukohli:
:(:(....thanks mate ..

Didnt have JB at moment so cant test for 4.1 or +

Can someone test it on 4.1 and 4.1+
[Android Apps and Games] iNeedICS:
I can confirm it stays on black screen on 4.1.2 for the Note 2 :/

But Yandex from the Play store works great

Sent from my Note 2, just in case you were Note-icing my sig ;)
[Android Apps and Games] chris264:
Android 4.3 not work :( hope a Update

Gesendet von meinem GT-I9505 mit Tapatalk 4
[Android Apps and Games] manukohli:
It takes like 1 min first time to load... Screen is black in that time
[Android Apps and Games] iNeedICS:
But its been sitting black longer than that :/

Sent from my Note 2, just in case you were Note-icing my sig ;)
[Android Apps and Games] butch87402:
I get black screen then force close guess it's not compatible with 4.2
[Android Apps and Games] manukohli:
Looks like doesn't works on 4.1+ :(:(:mad:

......

U guyz can try yandex.shell:cool::thumbup:
[Android Apps and Games] chris264:
Update to Android 4.3? Nice Greetings

Gesendet von meinem GT-I9505 mit Tapatalk 4
[Android Apps and Games] manukohli:
Bro I didn't understand wat u meant

..... U can try it on 4.3
[Android Apps and Games] chris264:
The launcher does not run on Android 4.3. That's why I asked for an update. Nice Greetings
[Android Apps and Games] manukohli:
No update for now :(

.. I will look into it :D:thumbup:
[Desire HD Android Development] JustZht:
Hi my friends！

Before going to school i would like to post 4 unique roms for DHD/I4G.

They are : Baidu/XUI/Lezhong/Dianxin

BUT THIS IS SPECIAL ROM....SHENDU ! ROM

1.Screenshots

2.Credits

The original ROM was created by moonlight

He owns his work and all rights to it.

I just ported ,tested ,and uploaded it.

All the credit goes to moonlight

OK,thanks to everyone! Thanks the xda community!:p

3.Bugs Known

Emm.........

WIFI may not work

SD card may have bugs(help me verify)

CAMERA....forget the original and download another camera app

AND.....EVEN I OPENED THE ZIP,LOOKED AROUND IN FOLDER SYSTEM\APP AND TESTED MOONLIGHT'S ROM, I STILL CANT SURE OF NO Bloatware!!!!!!!!!!!!

IF HAVE , JUST DELETE THEM.....

4.Detail

JB 4.1.2

SHENDU UI

5.DOWNLOAD

​
[Desire HD Android Development] humzaahmed155:
May I be the first to ask, what is this?
[Desire HD Android Development] JustZht:
a rom that modified by SHENDU team....
[Desire HD Android Development] jcabad:
screenshots are not visible, at least for me
[Desire HD Android Development] jotha:
Thread closed

No kernel sources, no screenshots, no proper description, OP is not Dev.

That's too fishy for my taste. Thread closed to protect our users.

OP, if you are ready to post kernel sources and better description, plus have permission of original dev to post it here, contact us and we will open again.
[MDA II, XDA II, 2060 General] Tomtooter:
Having upgraded to TomTom5 I've had to revert to using it on my Orange SPV M1000, as it is UNUSABLE on my M2000 (Blue Angel) - Beware anyone thinking of upgrading to Blue Angel!

What's the best Speed Camera database to use with TomTom5 in the UK?

TIA

Peter