yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Q&A, Help & Troubleshooting] CheesyNutz:
this started a while ago .... no idea how to fix this

i have uninstalled and reinstalled the nexus4 driver but can not move file to my phone

ive tried every usb port i have
[Nexus 7 Q&A, Help & Troubleshooting] krisserapin:
I'm really frustrated because i really used to love the n7 so much I was an early adopter and bought another one after I dropped my first and then went on to buy my girlfriend one. But after being plagued with this issue and stuck on 4.1 its just not the same anymore since I cant flash custom roms all day :/

I've been having a charging issue with android 4.2.1 since it came out (both stock and all the roms I tried) but I noticed that whenever I reverted to 4.1.2 the issue went away completely. So I've been waiting for 4.2.2 to come out for a while now to see if it fixed the issue and after flashing the update tonight it seems to have the same problem.

I've tried searching for months now and haven't found any answers.

So this is the issue with both 4.2.1 and 4.2.2:

The battery charges at an insanely slow pace to the point that it ruins the tablet completely. I'll plug it in over night for 8+ hours and it will not gain more then 40% battery life in that time.

Its to the point that when I was just using it right now on the charger with brightness turned all the way down and nothing on other then sync and WiFi that light web browsing for 10 mins caused it to discharge a percent after being plugged in for 19 minutes.

Notes:

Its a c70 16gb

I tried 3 different stock N7 chargers with stock cables as well as trying them with other cables.

I'm not plugged into any kind of extension cords and I've tried multiple wall sockets at different locations.

My girlfriends nexus 7 32g charges fine on 4.2.1 and I have not updated her to 4.2.2 to test yet.

I haven't checked the battery connection because like I said whenever I revert to stock 4.1.2 or any 4.1.2 rom it charges in 4 hours flat or 6 hours with heavy usage while charging.

So anyone have any ideas? If not I guess I have to rma.
[Nexus 7 Q&A, Help & Troubleshooting] sl4y3r88:
Do both, yours and your girlfriend's devices take that long to charge?
[Nexus 7 Q&A, Help & Troubleshooting] krisserapin:
Nope her nexus 7 charges fine. ( a little slower on 4.2 then 4.1 but nothing like mine)
[Nexus 7 Q&A, Help & Troubleshooting] krisserapin:
Her nexus does have issues with turning on sometimes on 4.2.1 like a lot of other users but its nothing holding the power button for 10 seconds doesn't fix.
[Nexus 7 Q&A, Help & Troubleshooting] krisserapin:
It also just noticed it seems to discharge at an extremely fast pace. (still on 4.2.2)

It just dropped from 55% to 51% in the time I've typed these responses with brightness all the way down.
[Nexus 7 Q&A, Help & Troubleshooting] krisserapin:
So anyone want to try and help me figure this out before I send it in friday? I called it in to Google play device support to try and report the software bug and they said its the first they heard of it and they would pass it on but I felt like the rep didnt want to help as I bought it from a third party. I'm willing to do any tests suggested and hop between software versions to try and figure out this bug.
[Nexus 7 Q&A, Help & Troubleshooting] bftb0:
Why do you think it is a "software bug" when millions of people running the "same software" don't experience the same behavior?

I realize that software can exhibit data-dependent behaviors, and thus exhibit low occurrence rates... but there is no "software" involved in charging the battery.

Do you think a booted Linux kernel is needed to charge a battery? How would the battery get charged when the device is turned off in that case? C'mon!

Send it back and tell them the battery (or charge contoller CIRCUIT) is defective.

If it's out of warranty, PAY them to replace it.
[Nexus 7 Q&A, Help & Troubleshooting] krisserapin:
Then how do you explain that if right now I flash back to 4.1.2 it will work fine? If you want I'll provide screenshots.

I just flashed back to 4.1.2 this morning and it worked perfectly. Just now I flashed codefires 4.2.2 build and the problems back.

Please explain how that is hardware related.
[Nexus 7 Q&A, Help & Troubleshooting] krisserapin:
I may of jumped the gun assuming it was a charging issue. It seems like it might be a battery drain issue. Here's a couple screenshots from a fresh install of codefirex 4.2.2 build.
[Nexus 7 Q&A, Help & Troubleshooting] bftb0:
All I was trying to say is that when the OS is booted, at most all it does is monitor battery voltage and current - it doesn't get actively involved in control of charging circuitry.

At most this historical data can be used to *predict* when the battery will run out of juice, and this number is what is shown to the user as a % charge number. Hopefully that allows the prediction to be sort of correct as the battery ages and it's characteristics change.

This "calibration data" is only used for prediction - it does absolutely nothing to alter the rate at which current is drawn from the battery by the motherboard, nor for attempting to alter the behavior of a battery charge controller.

Li-Ion and Li-Polymer batteries are indeed complicated enough that they should not be charged by extremely simple circuits if a long operating lifetime is desired. For this purpose though, monolithic battery charge controllers chips are used - they do not need any assistance of a micro-controller or advanced CPU running a modern OS. That's why they are able to charge batteries rapidly and appropriately when the motherboard is in a "powered down" state.

Relative to a big multi-core CPU chip, which might have hundreds of millions of transistors, battery charge controllers are extremely small circuits - they are sold by the billions and cost in the ballpark of one to several pennies. They don't need the support of a CPU or even a microcontroller to operate correctly.

Good luck with your tab; I hope you enjoy it.
[Nexus 7 Q&A, Help & Troubleshooting] krisserapin:
Thank you for taking the time to write out this detailed explanation. I read it over a couple times and that all makes a lot of sense and now I have a little better understanding of how things work charging wise.

But I still can't wrap my head around how the problem DISAPPEARS COMPLETELY on any 4.1 based build...

I'm not trying to contradict you in anyway it seems like you are way more knowledgeable then me on the subject.

It just doesn't make any sense and I was hoping you could make more of it for me.

Maybe it isn't the charging but a battery drain issue something on 4.2 based builds is draining more current then the charger can dish out.

But while i was doing research I read that chargers up the current they dish out if the device is in use. Is that correct?

I've looked into the media server bug but as I just did a fresh install of stock 4.2.1 and haven't changed or added anything to the file structure that wasn't included in the factory image, I also went through and turned off the keyboard press sound and all other sounds like explained in some of the threads I have read. I also read that the problem is supposed to be fixed in 4.2.2. I also haven't installed any apps from the market.

I guess all I'm looking for is the answer to this question:

Could there really be a hardware related problem of any sort (not just charging and battery problems but anything) that causes problems with 4.2 based builds specifically but doesn't cause problems with 4.1?

If the answer is yes then I don't have to feel bad about sending it in but if its software based issues I'll be upset that I wasn't able to fix it and gave up.
[Nexus 7 Q&A, Help & Troubleshooting] projectzro:
Have you let the battery drain all the way or do you just plug it in at a certain point? if not let it get to the point were it will turn itself off. if the battery with the cross in it stays for more than it would take for 1% to drain then it just might be your battery stats file. even if its not let it drain and then charge it while its off. you can check the battery by pushing the power button quick. i know i have had this problem with other devices that were fixed by doing this. and my N7 did it last night were i updated and plugged it in, it was at 60% and when i woke up it was at 46%.
[Nexus 7 Q&A, Help & Troubleshooting] krisserapin:
I'll give this a try right now then post results, the battery is already pretty low so It shouldn't take very long. Thanks for the response.
[Nexus 7 Q&A, Help & Troubleshooting] krisserapin:
So I let it run dry and am getting some weird behavior...

The dead battery symbol did not pop at all. It actually booted played the low battery sound half way through the nexus logo loaded into the OS and immediately was greeted by the battery to low logo powering down message and then it returned off. It did this cycle all the way through three times in a row before holding the power button did nothing. I let it sit for a minute before trying again and I got another boot out of it all the way to the OS again. But I've yet to be greeted by the battery with the cross symbol. Holding the power button will do the cycle described above or do nothing at all.
[Nexus 7 Q&A, Help & Troubleshooting] krisserapin:
Wow thank you so much for the help. I'll play around with this tonight and see what happens. If I can't figure it out by the morning I think I'll be able to RMA it without feeling like I just rolled over and let my n7 get the best of me.
[Nexus 7 Q&A, Help & Troubleshooting] krisserapin:
So after charging it on stock 4.2.1 with the power completely off it only charged 3% in a little over a hour and voltages read 3.6. I'm gonna leave it on the charger over night turned on starting from 3% with only two extra battery monitoring apps installed and report back in the morning with screenshots of the results. After that ill probably revert to 4.1.2 drain the battery fully, charge it off for an hour report the values then let it charge fully with the battery apps on for reference take a few more screenshots then lock the bootloader install the ota and ship it off to good old ASUS since it sounds like its hardware from whats been explained.
[Nexus 7 Q&A, Help & Troubleshooting] bftb0:
FWIW, I drained my N7 last night (LOL, typing novels into XDA threads) - when I finished I was at 6% charge - that was 3.66v. In the morning @ 100%, the battery voltage was 4.1-something.

Sounds to me like you've definitely got a hardware problem.

Good luck with the RMA.
[Nexus 7 Q&A, Help & Troubleshooting] Polarfuchs:
Canyou help me?

Since I flashed 4.2.2 my 240V-USB charger only cahrges thes battery about 5% in one hour.

Before (with 4.2.1) It was definitely faster. It charged more tha 5% per hour (maybe 20-25%).

I double checked the plug in the socket. checked the correct fit of the USB cable on the docking station.

Everything fits tight. No wiggle.

It must be software related, since it started after flashing the OTA zip from 4.2.1 to 4.2.2
[Nexus 7 Q&A, Help & Troubleshooting] bftb0:
From a partially charged state, say below 50%, turn the device off, (NOT sleeping, but powered OFF) and put it on the charger for one hour.

It should charge at around 30-40%/hr.

As I pointed out above, how is it possible that software would be affecting the charging with the device turned OFF?

I believe you are seeing exactly what you report; my best guess is that a hardware problem occurred just about coincidentally with your upgrade. Just coincidence - not causation.

You also should inspect the battery voltage (see above for path in /sys) in case something crazy is happening with the %charge *prediction* (it is not a measurement) - because the total charging range is from about 3.65v-4.15v, a normal charge rate should be roughly 150 to 200 mV/hr

good luck
[Nexus 7 Q&A, Help & Troubleshooting] Polarfuchs:
I unplugged and replugged the charger instead of only checking the cables of the Asus docking station.

And I ran advanced task killer, killed a bunch of apps.

After this it began to charge really quick, as I was used to it.

Now the battery is as 100%

/sys/devices/platform/tegra-i2c.4/i2c-4/4-0055/power_supply/battery/voltage_now

shows 4.179.000 µV

Which is the same as the app "akku&batterie hd" by smallte.ch reports.

So if I can exclude a hardware error, some software must have caused it.

But my highest usage shows "display" that caused 73% of the drain.
[Nexus 7 Q&A, Help & Troubleshooting] bftb0:
Well, if you are charging the device with the screen on, it is certainly going to charge more slowly. I can drain my device in four or five hours merely doing light browsing - most of that is just the screen.

If there is something that is causing one or more of the CPU cores to be running at full bore, the battery will certainly charge even more slowly - see the prior maths that demonstrate that a 2A charger can not charge the battery at it's maximum rate (~1.7A) if a whole bunch of stuff is happening on the tablet. But just the screen alone can do that if it is on.

But you never bothered to mention what state the device was in (screen on etc).

If the device is capable of sleeping (there are no wake locks held by running apps), it will enter the LP0 state and the power drawn by the motherboard will be nearly zero. You will see LP0 mentioned in the kernel log (/proc/kmsg) if it is deep-sleeping.

I never said "software can't cause the battery charge rate to diminish". What I said was that if no software is running at all - the device is powered off - then if you do not observe a charging rate in excess of 30%/hr, the problem is hardware. The LP0 power state (tab in deep sleep, no wake locks held) also approximates a power-off condition.

cheers
[Nexus 7 Q&A, Help & Troubleshooting] Polarfuchs:
It was on, but when daydream started I turned off the display.

Today it works well again.
[Nexus 4 General] ijustzeke:
Re: [INFO] Nexus OTA Help-Desk

I'm currently on stock and rooted. but I deleted a couple of system apps like Google wallet, play books and other 2. will I get the OTA update?

and oh, I did flash the MOD for Battery Circle and Rotation Lock in the notification bar.
[Nexus 4 General] El Daddy:
Re: [INFO] Nexus OTA Help-Desk

No you'll have to add those apps back to /system/app/
[Nexus 4 General] TheManii:
You should more strongly point out that scenario 2 is "any modifications/deletions"

Since the update script does not care about added files, only modified and removed (which isn't much different)

The update script technically has a list of files it checks, but it's long enough that it's simply easier to say the entire rom must be completely unmodified.

Rooting depends on the method: some root by modifying the ramdisk, and that is a modification.

Some simply add su to xbin, and it's possible to be rooted and not modified if it only adds files.
[Nexus 4 General] JanusDC:
I am using the Brainmaster's Stock ROM (which is not stock really), so I guess I must follow Section C.

Is there any advice on how to not loose all the configurations, the home screen, widgets, etc? I love testing ROMs, but I hate that each time I have to download all my apps again (including some couple of Gb on games), configure them, put the widgets with the proper configuration, etc.
[Nexus 4 General] offenberg:
First thing to do when you unbox your new nexus. 1. unlock bootloader. 2. backup stock image - If you didnt backup stock, you have to flash back to stock via fastboot. Guide provided OP
[Nexus 4 General] El Daddy:
For the home screen layout with the stock launcher I'm not sure. There might be a few apps out there but, I not sure how well they work. I do know some custom launchers have that ability.

As far as your apps and data there are may backup apps out there. A new one and my favorite is Carbon: https://play.google.com/store/apps/details?id=com.koushikdutta.backup
[Nexus 4 General] rickykemp:
So if I am on Stock ROM with CWM, and customer kernal, can't I just flash Stock kernal and then flash the OTA through CWM?

I cannot be arsed with doing a full reflash.
[Nexus 4 General] skezza:
I'm rooted on a stock kernel + stock bootloader.

Made a few mods to my system files so we'll see.
[Nexus 4 General] El Daddy:
Re: [INFO] Nexus OTA Help-Desk

Yes you can. Section C,a.
[Nexus 4 General] davidgs:
Great post, this is what I will be looking for!

I think it would be helpful to add a link to the SU.zip (to regain root) in the OP, I think it's http://download.chainfire.eu/282/SuperSU/ but please confirm.

Thanks!
[Nexus 4 General] El Daddy:
Re: [INFO] Nexus OTA Help-Desk

Thanks! I'll add it to the op when I get back to a computer.
[Nexus 4 General] zim2dive:
Might want to warn folks that they'll need the latest SDK for the ADB security

http://xdaforums.com/showthread.php?t=2144709
[Nexus 4 General] davidgs:
I think the XDA link would be most up to date:

http://xdaforums.com/showthread.php?t=1538053

There is a CWM / TWRP installable ZIP there.
[Nexus 4 General] El Daddy:
Re: [INFO] Nexus OTA Help-Desk

Thanks. I don't think they'll need it going from 4.2.1 to 4.2.2. At least I didn't with my nexus 7. But definitely in the future. I'll add links to the op later today.
[Nexus 4 General] danfalcas:
This is mine!
[Nexus 4 General] xxSAKISxx:
Απ: [INFO] Nexus OTA Help-Desk

I am with stock 4.2.1 rooted with unlock bootloader and cwm recovery 6.0.23. Is there any chance to install the update 4.2.2 normally through OTA?

Send from my Awesome Gnexus using Tapatalk 2
[Nexus 4 General] eskeyy:
Flash stock recovery then you can instal update when you receive notifcation about OTA (if you dont have any other modifications only cwm)

Btw if somebody uses stock rom with modifications then is enough to flash boot, recovery and system via fastboot after that rom is completly stock and all personal settings, apps and data are not wiped
[Nexus 4 General] danfalcas:
Re: [INFO] Nexus OTA Help-Desk

Where can I get stock recovery IMG!? Thanks
[Nexus 4 General] El Daddy:
Re: [INFO] Nexus OTA Help-Desk

I uploaded it last night. I'll add the link to the op in a bit. For now, here's the link http://d-h.st/Bbp
[Nexus 4 General] tlslaj0417:
Sorry for the newbie question. may i know where to get from jop40d factory image. Any guide can be referred? Thanks
[Nexus 4 General] diablos991:
https://developers.google.com/android/nexus/images
[Nexus 4 General] tlslaj0417:
I saw in section C. That there is 2 ways on doing this. first 1 is fastboot system.img and boot.img. Second 1 is flash boot.img.zip and installed removed apk.

The second method doesnt work?..Since i try second method and i cant get the OTA. btw my country is Malaysia
[Nexus 4 General] adidas007:
Re: [INFO] Nexus OTA Help-Desk

Hi, do we have any Cwm recovery flash able stock kernel? I am currently running the Faux kernel, the beta version.

Or should I just restore a nandroid backup?
[Nexus 4 General] diablos991:
Re: [INFO] Nexus OTA Help-Desk

You need to adb flash the stock boot.IMG, recovery.IMG and system.IMG as layed out in the instructions...
[Nexus 4 General] Alive3:
Hi guys

Im on a rooted nexus 4 with Franko kernal and am getting the status 7 error. I flashed the orignal image kernal image through frankos updater and also did renaming of the power.msm8960 file as per http://xdaforums.com/showpost.php?p=37482646&postcount=10338. - failed

I then flashed stock kernal with http://xdaforums.com/showpost.php?p=34909313&postcount=1 and wiped the cache while in recovery mode which still failed.

Are there any zips that I can use to fastboot the boot, system and recovery.img's? Im on a mac and dont want to use terminal to fastboot it until there is a full post on macs cause im worried I'll brick mine.
[Nexus 4 General] adidas007:
Re: [INFO] Nexus OTA Help-Desk

I can't find ota.zip ... I have returned back to stock full stock
[Nexus 4 General] eiriklf:
Sorry guys, but I _cannot_ get this to work using method A.

My problem is the device is not detected by adb when I am in the recovery mode. It does not show up when I run adb devices. In device manager it says there are no drivers for the device when I am in recovery mode.

I used to have the same problem when the device was on, but I found that the drivers in the sdk under extras/google/ worked. But I still get nothing when I go into recovery, it seems I need some newer drivers. Does anyone know how to solve this?

Edit:

Solved it using this:

http://blog.dantup.com/2012/10/fixing-adb-device-not-found-with-nexus-7-in-recovery-mode

Even got the same device ID in recovery mode.
[Nexus 4 General] Girn:
Re: [INFO] Nexus OTA Help-Desk

Then use fastboot
[Nexus 4 General] yangkwong:
Just want to confirm...... 4.2.2 OTA update will be available when the device back to original (stock ROM).

correct ?
[Nexus 4 General] Slender Troll:
Re: [INFO] Nexus OTA Help-Desk

Is there any way to install the update without a computer using stock, locked, and unrooted?
[Nexus 4 General] MountainX:
I have the same issue. Is there any way to save all the configurations, including homescreen icons/widgets, playlists, and EVERYTHING?
[Nexus 4 General] bigwillis:
Re: [INFO] Nexus OTA Help-Desk

No. Not unless you have a custom recovery.

Sent from my Nexus 7 using Xparent Skyblue Tapatalk 2
[Nexus 4 General] Slender Troll:
Re: [INFO] Nexus OTA Help-Desk

Well that sucks. I really need to get a computer. Looks like the wait is on for me to update.

Sent from my Nexus 4
[Nexus 4 General] ashkan_mc:
Re: [INFO] Nexus OTA Help-Desk

Hey guys

I am on custom AOSP 4.2.2 rom and I want to apply the update and get back to stock but I want to keep cwm recovery and root.

What should I do?

Thanks
[Nexus 4 General] ijustzeke:
you can always just reflash the custom recovery and root. :P
[Nexus 4 General] jishinya:
@OP or anyone else;

I'm currently on stock ROM, stock kernel, stock recovery, bootloader unlocked, and rooted. I have even flashed system.img and boot.img in fastboot just to be sure.

Is it possible to receive OTA updates without unrooting? (I know I can either flash it via CWM or sideload it).

And I'm pretty sure that I've meet criterias for these:

Tried clearing data for Apps > All > Google Framework Services > Check System Update again but to no avail.

Thanks guys!
[Nexus 4 General] dddennizzz:
Exact same boat as me, basically stock with unlocked bootloader and rooted.

I have downloaded an app called OTA Rootkeeper I would post link, but im new here.

It basically preserves the rooted portion after a OTA update so you can just restore the backup you make and it should preserve the root (I only rooted for adblock basically). It should work since we are running stock, just have to wait until the update is pushed to our devices.
[Nexus 4 General] casonswag:
Why do i only have 5gig storage after i updated this a 16 gig?
[Nexus 4 General] Slender Troll:
Re: [INFO] Nexus OTA Help-Desk

Which model do you have? The 8GB or 16GB version?

Sent from my Nexus 4/Nexus 7
[Nexus 4 General] HeyyMyNameIs:
thanks but where do i find the new 4.3 system.img? will i lose my data?
[Nexus 4 General] sordna:
in the nexus factory images, google for that term. The system.img is in those tarballs. You wont loose data except the special stuff you put as root, including root itself. Basically it will make your ROM back to stock, but your regular apps, data, accounts, settings, etc will be left in place.
[Nexus 4 General] RASTAVIPER:
Very important notice.

Make nandroid backup first, just to be sure and copy it at your PC.

Also if you flash the whole factory image from toolkit be sure NOT to flash the userdata. Img in order to keep your data.

Root and custom recovery can be easily reapplied at the end with a few clicks through any toolkit.
[Nexus 4 General] Blockberd:
Nobody said to flash complete factory. Just extract system.img from the image and flash it with fastboot. It is easy as that.

This is no quantumphysics, guys. Keep it simple.
[Nexus 4 General] RASTAVIPER:
That's why I added the "if" in my phrase. Just an extra precaution about the data.
[Nexus 4 General] HeyyMyNameIs:
thank you =)
[Nexus 4 General] viewfindr:
I am currently on stock 4.3 JWR66V, rooted with .33/.84 hybrid radio flashed. Can I proceed with scenario #2/section B and flash the update through TWRP with the modified OTA file? Or do I have to unroot, get back to stock recovery, etc.