yashsingh1/xdaforums huggingface dataset:
[G Tablet Android Development] taomun:
One more quick question. While researching this issue, I read the following thread, which gave some good advice on how to go about opening the case and resetting the device or letting the battery drain as a way to reset.

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

My question is, once i hit the reset button on the inside, what's going to happen. Is it a "hard reset" which sends the device back to the old factory settings and interface or does it just allow me to reboot the device back into my previous ROM/Recovery set-up?

Once again, thanks in advance for all of the help and the great ROM Support!
[G Tablet Android Development] johnnybr:
Just reboot! Like reset of a motherboard from pc... you know?
[G Tablet Android Development] taomun:
So after depleting the battery throughout the night by charging my phone and then letting it sit throughout the day while at work, my battery finished depleting all the way. I come home hit the power button and I'm back in business.

So how often does this happen to people? I was planning to pop open the back and create the DRH, but I figure I'll wait until the next episode. Any idea what triggers this? Leaving it on while I fell asleep was how it happened to me. Any other things to avoid or is it just random?
[G Tablet Android Development] lartomar2002:
nobe, have you been following fosser2's progress? some exciting things in the air.
[G Tablet Android Development] nobe1976:
Yes I have been over on the other site every once in a while to check up on how things are doing and I think that the Asus is going to have a bit of competition on its way. :D
[G Tablet Android Development] tobalaz:
Just downloaded, installed 1.5.2, pumped in my usual apks and media files. Now getting ready to give it hell, err, run the torture test.

I'm such an unlucky soab if there's something wrong, I'll find it!
[G Tablet Android Development] nobe1976:
Tear into it man. I need to know what I need to do to make it better. Thanks.
[G Tablet Android Development] ElBow513:
Nobe,

I ordered a gTab HDMI cable and it finally arrived yesterday after a couple weeks of waiting. I didn't want to splurge the cash on the dock and thus opted for the special HDMI cable that ships from China. Well I hooked it up to the tablet and TV with both of them off... turned them both on and the TV says "No Input Detected". Is there some sort of setting I need to check to make sure the cable works? Thanks!
[G Tablet Android Development] nobe1976:
Disconnect the cable from the tablet, leave it connected to the TV. With both devices turned on and the TV on the proper input connect the cable to the tablet. If communication was made then the tablet will display the dock clock and it should show up on the screen.
[G Tablet Android Development] ElBow513:
Ah man nothing... hopefully its not a defective cable. I'm still running two builds ago and haven't made any tweaks... is there anything HDMI related in the last two builds or any tweaks I need to apply? Thanks!
[G Tablet Android Development] nobe1976:
If you just want to test and make sure the cable works. Make a nandroid backup and load up a froyo ROM to test the cable. Other then that I wouldn't know what else to try. I haven't made any adjustments to any of the drivers and such that has to do with those connections. I know my dock works fine and I don't have just a HDMI adaptor cable.

Sent from my SmoOth A$$ Gtablet
[G Tablet Android Development] s9amme:
This happens to me once in a while too. I haven't made a drh yet though. Its been random for me. Some days I can leave my tablet on all night and nothing happens. Other times it won't wake up until I drain the battery. Both instances was watching Netflix
[G Tablet Android Development] dsrhokie:
unfortunately, the cable doesn't work on ICS and JB. I have had the privilege of testing numerous iterations of ROM and Kernel mods for Fosser, and the cable nut had never been cracked. HDMI is beautiful via the dock, but the cable remains a mystery.

Sent using Satanic Swagger
[G Tablet Android Development] taomun:
Thanks for the input. I usually leave it on overnight in a similar fashion. I wonder if it has to do with the tablet going into sleep mode?
[G Tablet Android Development] JEZZEJAMEZ:
I'm running one gtablet with 250 nvflash SmOoThEst bean and the other 350nv shhhhh....

This thing has always ran cool an quick on nobe1976 creations.
[G Tablet Android Development] nobe1976:
I don't think that sleep mode has anything to do with it. I have left mine turned on for over a week and had it in stand by mode for over 12 hours and it wakes up every time. Are you guys remembering to set background processes to a minimum of 2 or 3 in the Development settings?

Sent from my SmoOth A$$ Gtablet
[G Tablet Android Development] ElBow513:
Any chance it is in the new kernel?
[G Tablet Android Development] taomun:
I normally set mine to one.
[G Tablet Android Development] lartomar2002:
I leave mine on in its dock 24/7 because I use it as clock/alarm and never have any problems. I occassionally will wipe cache and davik.
[G Tablet Android Development] tobalaz:
Torture test report:

A ball peen hammer to the pinky toes works better than jumper cables and an industrial grade battery charger set to "jump."

Wait, forget I said that.

Background processes set to 1.

Qued about 20 apps in the playstore, tablet went to sleep during the download and the downloads froze, simply would not restart.

Turned sleep while charging off, deleted the downloads, re-added, smoked through them no problem.

Sound through headphones while playing music and videos seems better? Still using my cx200s.

Have a dock, will test ethernet/ hdmi playback within the next 2 days. Loaned out my Bluerigger gold plated hdmi cable to the uncle so he could use his laptop to feed Netflix to the tv and play Xbox 360 because his old cable flat out sucked. He order a replacement, when he gets it in, I get mine back.

Guess I could test out bluetooth with a controller in my spare time.

Oh well, off to bed, night all.
[G Tablet Android Development] nobe1976:
Wait Wait Wait Wait Wait WHAT??????? Huh I don't think I am old enough to here that..... LOL :p

Yeah The download issues with PlayStore will always be there. I am working on some different tweaks to smooth it out a bit more. My wife just picked me up a really nice tax return gift. As soon as I can get Ubuntu to load up right on it Duel booting with Windows 8 I will get things going again.

Thanks again.
[G Tablet Android Development] dsrhokie:
Sadly, no. Tested it fairly recently. Otherwise, so sweeeeet...good things are coming.

Sent using Satanic Swagger
[G Tablet Android Development] lekhwani:
Why ics browser+ from market not working on this ROM? It just force closes.
[G Tablet Android Development] nobe1976:
What DPI setting are you using? Not to be insulting but why use that particular browser? There are far greater web browsers out there that out perform that one. Honestly I just use only Chrome with all my devices to surf the web and search. Granted it takes some time to get use to the little bit of slow downs on this firmware, but when browsing with it for a little while it does get faster. Plus it depends on what websites you are visiting as well, and it does support Flash sites all on its own.
[G Tablet Android Development] Photoelectric:
I'm a big fan of Opera Mini for this tablet. It's been the fastest one so far.
[G Tablet Android Development] JEZZEJAMEZ:
Dolphin works really good

Sent from a machine that needs a new kernel:-\

SmOoTheSt BeAn
[G Tablet Android Development] nobe1976:
I used Dolphin when I was using 2.3 ROMs which it worked out great. Opera mini works awesome on the latest firmware, but I have to go with what the gut wants with Chrome. Don't need to add anything. Just click and Sync and bam there is everything including user names on website that you have saved them on. Not any other Browser can match that. :silly:
[G Tablet Android Development] faber78:
Process count won't stick after boot. Notreadingevery page. Searchnotworking.

Thoughts?

Thanksfor your hard work. Workingon device for customer, enjoyingthis rom.

Negate, i foundit.
[G Tablet Android Development] JEZZEJAMEZ:
I'm confused: I can borrow you a few spaces and commas. Google translate worked good also.
[G Tablet Android Development] faber78:
Ok thoughts on why battery would suddenly show 100?

Tried battery calibrate to fix, no go.

---------- Post added at 07:59 PM ---------- Previous post was at 07:56 PM ----------

Sorry, Swype ontablet missed a few auto space . Lol
[G Tablet Android Development] festivus:
I'm playing with Boat Browser. I set the user agent to iPad and everything is working pretty smooth. I like being able to play videos on ESPN's site and others. You may want to give it a shot.
[G Tablet Android Development] nobe1976:
Its a current known issue right now with the Kernel and battery drivers. The way things sound is the new Kernel will be fixing that issue. Fosser2 and his team are dotting there T and crossing there I's on it making sure that everything works before launching it out. I currently haven't been having that issue, but some tab's have different issues then others.
[G Tablet Android Development] nobe1976:
I tried it once and wasn't to impressed with it. I guess it is because I don't stream a whole lot of flash player stuff. I gotta stick with what I like best and that is Chrome. My secondary browser is Opera since the compatibility on that one are higher then most other browsers out there.
[G Tablet Android Development] lartomar2002:
+1 For anyone that streams flash video. :)
[G Tablet Android Development] lgkahn:
dolphin works but you need to delete the XML configure file , then recinfigue after install to get flash enabled.. also need to side install flash.
[G Tablet Android Development] lartomar2002:
Would you mind posting a step by step process for this? Please:D
[G Tablet Android Development] rajeevvp:
This has been explained before--many times. It's a battery hardware problem, and not a kernel or battery driver problem.

If you can get your hands on the spec sheets for the battery, then that might contain the commands you could use to get the battery to "re-calibrate" itself. Otherwise, you'll have to work around the incorrect RSOC value by adding code in the ROM.
[G Tablet Android Development] osvaldoll:
Ok, this is a hardware problem. My gTablet has battery always at 100% since a lote of time ago. It is very very annoying problem. If the tablet shutdown due to a battery dead, you need reconfigure a lote of settins again (date, time and others)-.

No way to get the battery ti recalibrate itself. Realy i tried open the tablet too.

The only way to control my tablet is measuring the voltage of the battery. Charge 100% @ 8404mV and minimum load @6692mV. I use the Batery Monitor Widget app (by 3C) with many graph and parameters showing the data in the status bar in % or as you want.

No doubts for who have the problem of the battery, an alternative driver that uses voltage level as refference would be a great.
[G Tablet Android Development] nobe1976:
Ok I will try to add that to the next update and see how it does. Thanks again.
[G Tablet Android Development] rajeevvp:
Add what to the next update?

---------- Post added at 11:11 PM ---------- Previous post was at 10:50 PM ----------

The "energy" values can also be used. In fact, that's a lot more accurate than estimation based on battery voltage.

The high figure (8404 mV) agrees with the standard value given for 2-Cell Li-Poly batteries like ours, but, the low figure is a bit puzzling in a way.

The low voltage threshold should--in an ideal 2-cell battery--be around 6000 mV--and, indeed, I've seen 6V on my battery before it dies in CWM. If you read this post, you'll see that the 2.6.32 and 2.6.39 kernel battery drivers add a fudge factor of about 10% to the battery-returned RSOC values. I've found that if you remove this scaling--ie. return the actual battery-supplied RSOC (without the scaling)--then the battery, occasionally--not always--becomes unstable below a RSOC of 10%: it sometimes just shuts off the power, and the tablet dies. This instability might account for the higher low-voltage threshold that you're seeing.

So, the question is: Does the Battery Monitor widget show around 6.6 V everytime before the tablet dies?
[G Tablet Android Development] nobe1976:
The script you posted silly. I am going to add it to the install script if that's alright with you. Do you think it is possible before I give it the old grade school try?
[G Tablet Android Development] festivus:
My tablet is fairly sluggish after it has sitting idle. Aside from re-booting, wiping cache and Davlik, setting background processes to 1, and using the Strict preset in ROM Toolkit memory manager, is there anything else I can do to make it consistently more responsive?
[G Tablet Android Development] Hookani:
Hi all,

Just installed this ROM doing the full prep with the NVFlash and everything but don't think things are working out right. The first time it booted up I got some soft icons for home and apps at the bottom of the screen but nothing else, no app screen or nothing just a black page with the couple icons on the bottom of the screen. So I powered off and rebooted and now it just seems to be stuck on the CyanogenMod screen. Any ideas?

Thanks,

Ho'okani
[G Tablet Android Development] osvaldoll:
I use BMW for prevent the unwanted shut down for battery dead. Normaly I stop under 10% the register shows 7%@ 6820mv. Take in mind that my system always shows battery 100%.

I agree energy coud be a better indicator, but it is not an option for the app. Only current (wrong always shows 100%) and voltage.

The fact is that an app can show something better than he system.
[G Tablet Android Development] AeroToxin:
First off, I would like to say I'm loving this rom. Very smooth, and runs all my games. Is there any way to get my xbox controller to work?
[G Tablet Android Development] nobe1976:
Go back into recovery and do a data wipe factory reset, cache wipe, dalvic wipe and last but not lease advanced settings annd format system. Then re-install the rom. From the sound of it looks like something is missing on the install processes or something was not wiped properly.,w

Don't know about Xbox, but is a app in the Play Store for PlayStation controllers. I would test it out for you, but I don't have a Xbox.

Sent from my SmoOth A$$ Gtablet
[G Tablet Android Development] rajeevvp:
You've clearly not understood the requirements at all, Nobe. Did you even read those posts?

Look: There's no point in adding that script to your ROM. It's simply not what users want. Most folks don't want to open a Terminal and then type in stuff just to see what the current RSOC is. They don't even like to use a nice GUI like Battery Monitor Widget to do the same thing. What they would like is for the ROM itself to estimate the RSOC using alternate techniques and then shutdown the tablet cleanly on its own.

For this, the simplest approach is to patch the ROM code in system_server and in the Settings app:

The system_server program (written in C++) is responsible for reading the RSOC from the kernel and then shutting the system down cleanly when the charge drops to 0. An addition of ~20 - 30 lines can make it use alternative kernel values (see the logic in my script), based on data set by the Settings app in files in the standard /data/property/ directory.

For example, the Settings app can be modified (about ~75 - 100 lines of Java) to add a new "Battery" setting which has radio buttons for: standard RSOC (default), Energy (mAh)-based RSOC, and Voltage-based RSOC. Depending on what's chosen, the Settings app could write 0, 1 or 2 to a new file /data/property/persist.sys.rsoc-origin. This file is read by system_server at system boot time to choose which kernel values to use for RSOC estimation.

If Voltage is selected for RSOC, then you'll need to add code to allow the user to set MAX/MIN battery voltages to guide system_server, because using voltage to estimate RSOC is not very precise--esp. as the battery ages; so, you can't use default voltage MAX/MIN values.

A second approach is to write a separate widget app which will display the RSOC and then tell Android to shut-down the tablet down when the charge reaches 0. But, this will need a lot more code because of all the widget UI that will have to be written.

Also, now there is a problem with app permissions: Not all apps are allowed to bring the system down using an ACTION_REBOOT broadcast message. (I'm not talking about running su and then forcing a "reboot -p" down its throat. Plenty of apps shut down the system uncleanly that way.)

Additionally, there is the worry that the widget could be killed when the system runs out of memory.

---------- Post added at 11:52 PM ---------- Previous post was at 11:48 PM ----------

I'd like more data, please. 10 - 7 % of 6.8 V is close to 6.0 V as per battery specs.

Can you see if your battery can go down to ~6.0 V before it dies?
[G Tablet Android Development] Hookani:
Thanks. Definitely something wrong. Did all that multiple times. After installing the ROM I go thru the whole setup process and says I'm done then all I get is the black screen with the couple icons on the bottom left and the settings one on the bottom right. If I click on the the settings one it expands and then if I try to click on settings I'll get an error saying "unfortunately settings has stopped". Also if I click on the bottom right icon and then click on the time and date I get the error "unfortunately, system UI has stopped". Going to try and redownload the ROM again, NVFlash and try again and see if maybe it was a bad download. Any other ideas?

Thanks,

Ho'okani
[G Tablet Android Development] nobe1976:
I wasn't going to launch it with the latest Update public, I was just going to add it to see what are the benefits from having it there would be. Also adding a additional script into the loader to run the chmod command as a run program should work instead of them having to use terminal commands after it boots, of course giving it proper permissions.

So the issue is a hardware issue and not a kernel or ROM issue, is it possible to put this together to run in recovery so that others with out the know how can utilize this instead so that the ones that are having this issue can monitor there battery with the given ROM battery scale?
[G Tablet Android Development] nobe1976:
After the New download make sure you check the MD5 sum for comparison. What ROM did you have loaded up previous to this one?
[G Tablet Android Development] osvaldoll:
You are right, I will be happy if the my Gtablet could shows the battery level and it can shutdown itself at minimun level. The widget only help with the issue.

I have my gTablet sleeping at home. Tonight I will exhaust the battery until it shuts down to read the minimum voltage value.
[G Tablet Android Development] rajeevvp:
No benefits whatsoever for most users; and only a better-than-nothing solution for users with battery problems. Include it if you like, but, most users would prefer to install the Battery Monitor Widget app from Market instead.

I give up--I just can't parse these 2 sentences.

Look, the bottom line is what users want, as expressed in this sentiment:

In the absence of the battery spec-sheets, the most straightforward thing to do is to fix the ROM, instead of adding a script that most users won't want to use. If you, or anyone else, is building the ROM from source, then consider adding ~100 lines of simple code which will fix the problem for all users. This is an afternoon's worth of work at most. A nice little exercise for a budding Android programmer.

---------- Post added at 12:55 AM ---------- Previous post was at 12:47 AM ----------

Thanks. The more data, the better. You only need to exhaust the battery to shutdown once. For subsequent runs, you can note the battery voltage at, let's say, 1%, then start recharging the battery.
[G Tablet Android Development] nobe1976:
That is why I am asking you before I start doing stupid stuff.....:cyclops:

If the issue is within the ROM build then I might be able to get this handled out. Granted I didn't built this ROM I just modded and enhanced some of its features. I finally got me a Laptop that can handle building 4.0 thru 4.2 ROMs and would like to take on a good challenge. If you happen to know these 100 lines that need to be changed please share through PMing me with them and I will add change them to my forked source and see what I can get out of it. It will be greatly appreciated to get these issues fixed within the ROM itself if we can work on this.

Thanks in Advance. :highfive:
[G Tablet Android Development] tobalaz:
XBOX 360 controllers don't run standard frequency so they don't interrupt wifi or cordless phone frequencies.

You can either use a wired 360 controller or find the USB frequency adapter, they used to be sold on newegg and in bestbuy.

Wii and PS3 controllers work with just software added.
[G Tablet Android Development] osvaldoll:
---------- Post added at 12:55 AM ---------- Previous post was at 12:47 AM ----------

.

Draing the battery to force its selfshutdown, the voltage value is 6059mV.

Attached is the history of BMW and some curves that may be of interest. The last info was after the shutdown and charging the battery. Date and time showed are the default value, due to it was losted after the battery death.
[G Tablet Android Development] osvaldoll:
Only for info. BMW auto recalibrate the bat to the new 0% @6059mV
[G Tablet Android Development] rajeevvp:
The table screenshot is enough. No need for the graphs--they're not very useful.

Given that BMW samples the battery parameters every 10 minutes, we can, with some confidence, set the minimum battery voltage to be 6.0 V.

Next question: When did you buy your gTablet? This is to determine the age of your battery. (The gTablet was introduced in Nov 2010).

---------- Post added at 10:04 PM ---------- Previous post was at 09:54 PM ----------

Looks like you're trying to get me to write the code when I was hoping to get some Java programmer to do it. Alright, let's do it this way then: Post a message in the XDA main development forum asking for help on this. Give a link to my script and to post #1070. If no one tackles it after, let's say, 2 weeks, then PM me and I'll dust off my Java books and send you a patch against CM's 10.1 source.
[G Tablet Android Development] osvaldoll:
I bought my gTablet in May 2011.

I have included charts only for general information. There is a current measurement. I think that there is a different source of this information other than that used for the android system for the battery indicator. It may be useful or not, it is only something more.
[G Tablet Android Development] jhermit:
SD Card Mount

I moved to this ROM but I am having a problem that whenever I boot, it takes about 15-20 minutes before the internal SD Card mounts. If you wait, it eventually mounts. If I go into recovery, it mounts immediately, but not so under the ROM.

Any way to speed this up?
[G Tablet Android Development] rajeevvp:
This is correct (and I've updated my post as a result), but, the current values are not useful for estimating RSOC. It goes up and down as it tracks the amount of power drawn, which, in turn, depends on how the tablet is currently being used. The voltage, in contrast, goes down steadily, making it a suitable proxy for RSOC.
[G Tablet Android Development] osvaldoll:
You are rigth. If you use the current, you should integrate the curve and compared with the capabilities of the battery.

With the voltage is enough.
[G Tablet Android Development] lartomar2002:
So, what does this mean in the real world?:)
[G Tablet Android Development] nobe1976:
If you have a external SD ,micro SD, installed also try powering down the tablet, pull the external SD, boot into recovery and wipe cache and Dalvic then reboot without the external storage. After it boot you should be able to insert the Micro storage and all should be good.
[G Tablet Android Development] osvaldoll:
As you know, for the real-world use the voltage is more than sufficient.