yashsingh1/xdaforums huggingface dataset:
[G Tablet Android Development] rajeevvp:
Close enough.

The Smart Battery hardware+firmware attached to the battery cells usually computes a one-minute moving average of the instantaneous current (actually charge data from the coulomb counter HW, sampled multiple times a second, each second) and uses this average (plus other battery characteristics like the latest full-charge capacity) to update the RSOC (which is initially calculated using a table of Open-circuit Voltages, OCVs, at different SoC percentages--0 to 100%).

Unfortunately, we don't have this table nor the other battery model data present in the battery firmware. So, we go with the cheap+simple method of RSOC estimation: "energy" and voltage.
[G Tablet Android Development] osvaldoll:
I agree with what you say. That was only theoretical and possibly the difference between this form and the simple method of RSOC estimation would be minimum, even more considerating as this function is.
[G Tablet Android Development] JEZZEJAMEZ:
ReDRuM!!

BlA¢K ★ X

$†@¢KH○u$€ ®€D
[G Tablet Android Development] nobe1976:
Have to wait you must.........

Sent from my SmoOth A$$ Gtablet
[G Tablet Android Development] JEZZEJAMEZ:
Heheh. All mighty lord gtab, when will we be blessed with a new creation.. J/k just wanted to say your my fav, without sounding to GAY. HOPE that new laptop is working out for yaus

BlA¢K ★ X

$†@¢KH○u$€ ®€D
[G Tablet Android Development] nobe1976:
Yeah it is working out great. As far as ReDrUm is going is tough. Got some HTML edits done and working on icons, but the big issue is tweaks right now. I ran it for over a week and noticed WIFI not staying connected with it. It is a the AOKP ROM and I might just go ahead and compile it all fresh from source, including the edits and see how that goes.
[G Tablet Android Development] lartomar2002:
Have I missed something? Is ReDrUm a new rom? Also looks like fosser2 and his crew will be releasing a new rom based on the 3.1 kernel. nobe do you have any plans to develop a rom based on their new work? I do not know why but my Gtab works better with your rom.
[G Tablet Android Development] nobe1976:
Yes I have been working on a new ROM. It is currently based off of redeyedjedi's AOKP 4.1.2 ROM. ReDrUm will be fully themed, well to the best of my ability, just like BlackJelly. Working out some issues that I have been noticing while running the AOKP ROM.

The way fosser and redeyedjedi are talking it sounds like the new 4.2. ROM they are working on will exceed the 400m mark and be ran off of the internal storage instead off the Nand as we are running right now, It would be better to run it that way I think since or precious yaffs partitions have been over worked through out the years of writing and re-writing over it. Skip it all together and go Ext.4 format and zoom it out like a Android is suppose to run. I too am looking into some kind of different recovery as they have been developing. Just going to hold off on it until I see what style they are using and how it works out. It will be awhile, but since I got this new laptop that will allow me to develop my own. I have a lot to learn on doing those higher skilled stuff.:fingers-crossed:
[G Tablet Android Development] lekhwani:
Waiting for new kernel eagerly.

Fingers crossed.
[G Tablet Android Development] lartomar2002:
Are the read/write speeds faster on the internal storage than the Nand? Just wondering if there could be a bottle neck issue?
[G Tablet Android Development] nobe1976:
Don't really know until I give it a go. I know that on my bionic that when loading the ROMs on the ROM slots they react the same as the stock. Hashcode made a masterpiece out of SS 3.1.1 TWRP and since my lock bootloader on it don't have to worry about changing kernels. Hopefully someone will take that recovery and port it over to or device. Imagine loading up 2 to 3 different ROMs on internal storage and being able to choose which one you want to run that day. Granted they all would have to use the same boot.img. :p
[G Tablet Android Development] redeyedjedi:
yea man, ive been an arse, leavin ya in the dark. Just busy poundin away at it. We are just about done, release should be today. It will have 400mb on NAND for system partition, and cache will be 300mb on internal storage. performance is.... umm...... AWESOME!! Benchmarks scores are unbeleivable. I will be updating PA and AOKP to sleepable, stable roms, itll be a bit, but we are gonna have a real good cm10.1 4.2.2 rom headed yalls way here shortly... on slatedroid. Sorry for the lack of info, weve been REALLY BUSY with this tryin to get it right. get ready to put that 64bit throught the paces. we are gonna have a build env guide for everyone who wants to take that plunge ;)

---------- Post added at 12:58 PM ---------- Previous post was at 12:53 PM ----------

NO, shouldve been a slight slowdown, but just wait till you see the benchmarks, especially for I/O. we got a plethera of new IO schedulers that really get the job done.
[G Tablet Android Development] nobe1976:
Mmmmmm. Thought that they would but the entire System, cache and data on ext4? Guess I was wrong. Thanks for the update.

Sent from my Other Device. You Guess
[G Tablet Android Development] fosser2:
System is on nand ~400M Data and Cache are on Internal SD. Cache ~300M and Data is 13GB Its pretty cool w/ the new emulated storage.
[G Tablet Android Development] nobe1976:
Damn 13 gigs set for app data. No wonder you said one must have external for storage.

What would it take to make that data partition to be only 6 or 8 gigs. 13 gigs would be nice, but not everyone runs a external storage. Question I also have is will the ROM create the directories onto the external or is that in the kernel?

Sent from my Other Device. You Guess
[G Tablet Android Development] fosser2:
You dont need an external sd to run the new rom. Our emulated storage works the same as a nexus 7 or a xoom.
[G Tablet Android Development] nobe1976:
Ahhh hence the alternate installation via adb. Got it. Wonder if there is a way to add having CWM reading USB thumb drives also. That would be another great option if he is up to it...

Sent from my Other Device. You Guess
[G Tablet Android Development] tobalaz:
Can someone try and test this and see if its just me?

Turned the tablet completely off and let it sit overnight, fully charged and unplugged, then it was dead in the morning.

I don't know if juice was still being used on a minor scale or if its just my battery.

Don't want to say its the rom because it could be my tab but this is the first time its happened.

And....

I bought the tab new about a year and a half ago, so it very well could be just me.

But it would be nice to see a couple of people try it and see if there is a power drop.
[G Tablet Android Development] nobe1976:
I have done that multi times and never ran into that. I too got the tablet new over a year aga from amazon. Might need a new battery or someone could post something alternative solution.
[G Tablet Android Development] lazer155:
I followed the instructions in the OP exactly and I am stuck at a black screen after setting up my google account. It only has the navigation bar at the bottom showing with the navigation buttons, clock, wifi strength, and battery level. If I reboot it, it gets stuck at the starting apps screen.

I already formatted everything again and tried reinstalling. I was on CM7 before this.
[G Tablet Android Development] wmccombs:
I have had my tablet since 11/2011. I have done this multiple times as well. But, I have had what you say happen to me as well, with multiple roms I may add. The telltale for me is when I push the pwr button the tablet wakes up instead of going thru boot up. I am positive at least with most of the times this happened that I went thru the power down. Push pwr, select Power Off, select OK system powers down. I believe it is a bug somewhere deeper in the system than the kernel or the rom. Not sure what that would be, possibly something in the hardware.

But yes, you are not the only one experiencing this, there are at least 2 of us and I suspect more.
[G Tablet Android Development] rajeevvp:
It's the battery. Specifically the firmware inside the battery which is responsible for calculating the RSOC (relative state of charge). This firmware's RSOC calculation is not very good. Some of the things that I've noticed (I've been keeping an eye on this for almost a year, and I have a fair collection of battery usage screenshots as a result):

1. Occasional precipitous drops in RSOC.

For no apparent reason, the RSOC will, sometimes, drop by 20 - 50%. Sometimes, this drop will be reversed (ie. the RSOC will jump back up) when the RSOC reaches 10 or 7%, but, most often only a reboot will reset the RSOC to sane values.

2. RSOC drops at twice the usual rate.

Sometimes, the RSOC will drop at twice the usual rate, at the same amount of power usage. Unlike problem #1, here the RSOC isn't fixed by rebooting the tablet. When this problem manifests, I'll get a battery life of 4 1/2 hours, when I would normally get a battery life of ~8+ hours. And, If I boot into CWM, the RSOC will read 0%, but, I'll still get the remaining 3 1/2 hrs or so that I originally expected to get. The battery goes back to behaving normally (8+ hrs of life) after a day or two.
[G Tablet Android Development] nobe1976:
Within this tread another had this same issue. Re-download this link via PC. Boot Tablet into recovery and go into mount and Storage. Mount System then format, Mount Data then format, then Mount USB transfer update. Go to main screen of recovery and Wipe Data factory reset then install update from internal storage. Follow through the entire Android setup and them BAM the Apex Launcher should take over. To save on the System I put it to install in the data partition.
[G Tablet Android Development] JEZZEJAMEZ:
ReDRum.....

BlA¢K ★ X

$†@¢KH○u$€ ®€D
[G Tablet Android Development] lazer155:
I must have missed that post then. I was looking everywhere in the thread to try and fix it. Thanks, I'll give it a try now.

Edit: It worked! I never would have figured that out. Thanks again :good:

Now that it is working are there any tweaks that anyone can suggest I make to this rom to improve speed besides overclocking?

Edit 2: It has frozen completely. I was making some ui changes in Apex and it froze. Holding the power button won't shut it off like it usually does. What should I do if I can't turn it off to restart or get back to recovery?
[G Tablet Android Development] nobe1976:
More then likely if holding the power button down doesn't do anything it is SOD. Good thing is that you get to either join the club by making your own reset hole, or you can drain the battery out to regain control. Good thing is that we have that nice USB connection on our tablets that put out enough voltage to charge up other devices. If you decide not to make the reset hole just charge your phone, MP3 players or what ever you have that can use a good charge to that USB connection to drain the battery quicker.

As far as extra tweaks I think that the only thing I cannot do so far to the ROM itself is already suggested in the OP. Limited background processes is a great thing and also reducing the forgoing processes also is a nice tweak.
[G Tablet Android Development] nobe1976:
Yes Yes Yes I hear you calling out for some goodness. Needing your fix? :cool:
[G Tablet Android Development] lazer155:
Yeah the power button isn't doing anything. It's just stuck on the apex setting screen. Specifically, I was enabling tablet ui when it froze. That's too bad, I only used it for about 10 minutes.

Edit: I got the back off and found the reset button. It's back to normal now and I have drilled a hole for easy access later.

Is it a regular occurrence for apex to cause SODs? Is apex necessary or can it be removed for the stock CM look?
[G Tablet Android Development] nobe1976:
SOD doesn't have anything to do with APEX launcher. It is hard to pin point what causes the SOD issues, but I believe that is mostly has to do with the amount of processes that one has going on during the use of the Tablet. Hince the best setup I choose in the OP is setting background processes to 2 or 3 and also selecting the mini free settings using ROM toolbox to strict, don't go crazy and go higher then stuff starts not reacting right.
[G Tablet Android Development] tobalaz:
Made sure the Tag had a full charge, shut off, left unplugged, and check the battery today, practically no drain, was down to 84% after almost 24 hours off the charger.

I'm guessing the overnight death of the battery was a fluke like possibly turned itself back on after a shutdown.

Only reason I say that is because my ICS tablet occasionally turns on by itself, no clue why, just weird.
[G Tablet Android Development] rajeevvp:
What the user's described is a "hard lock-up". (A soft lock-up is when you can turn the tablet off using the Power switch.) This is not a SOD. An SOD is what it sounds like: Sleep of Death--the tablet goes to sleep and doesn't wake up. Both hard lock-ups and SODs are kernel issues. Lock-ups, esp., will show up in /proc/last_kmsg.

---------- Post added at 08:49 PM ---------- Previous post was at 08:40 PM ----------

Yes, it is mysterious.

If you, or some app, haven't set an alarm or calendar events which turn the tablet on from sleep mode, then it is a kernel issue.
[G Tablet Android Development] rajeevvp:
This is incorrect and unnecessary. Explanations here and here.
[G Tablet Android Development] JEZZEJAMEZ:
Beta believe it my man!

SmOoThEst Be@ñ
[G Tablet Android Development] lartomar2002:
Me too:)
[G Tablet Android Development] tobalaz:
Only thing that I don't care for that the rom didn't do before that does now, when I dock my gtab it goes straight to the clock and closes anything I had running. Now its not a big deal and could just be a setting I'm not seeing, but since I use the gtab for a media center, its a lot easier to start a movie on Netflix or HBO Go while standing upright then drop the gtab on the dock instead of haunching over to tap the screen.

Is there something I can change yo keep this from happening?
[G Tablet Android Development] nobe1976:
I guess you can try disabling the desktop clock app in manage app settings. I wouldn't advise deleting it just in case that app is tied in with another feature.. :rolleyes:
[G Tablet Android Development] f'n around:
I've got the same concern with the desk clock. I'll try disabling, or maybe just delete it. I'll post my results.

One thing about using the dock-hdmi is that it does not fill my TV's entire screen. Is there a setting that I am unaware of that enlarges the screen to fit the TV?
[G Tablet Android Development] nobe1976:
You might want to check to settings on the TV. Some TV's have normal, wide and panorama settings set at default. What type of TV is it?

Sent from my Other Device. You Guess
[G Tablet Android Development] lartomar2002:
You could also use Titanium Backup and freeze the app.
[G Tablet Android Development] tobalaz:
What TV are you using and what media player? The gtab only does 720p playback at its highest, so you might want to be sure the gtab's HDMI port is set to 720 instead of 1080 if your TV has that as an option.

I use MX Player myself, great results, fills the screen. HBO Go and Netflix almost fill the entire screen, and since the ztab dock mirrors the screen on the gtab I don't believe you're ever going to get a full screen on those 2 apps until you can see full screen on the tablet.

Fyi I cannot get HBO Go to go to a TV screen with a razr, bionic, evo or a generic tablet with a micro HDMI cable out. The gtab working on the TV has got to do with something related to the dock. Well, and I toss an imei in my tab every new upgrade based off the mac.

And...

Testing with the Bluetooth controller is going fine, no problems. All my emulators are running flawless.
[G Tablet Android Development] nobe1976:
I remember that trick. Had to do that when HBO go first came out. I have tried it recently without the spoof, but through the dock it wasn't HDCP compliance. So it wouldn't play, but it played great through the tablet.

Sent from my SmoOth A$$ Gtablet
[G Tablet Android Development] xoted:
I use my GTab for rain noise to get to sleep. However, if I plug it into my amp, after 30 minutes, just when I get to sleep, it goes full blast static, or perhaps it's just rain. Read this is an issue, but above my skill level for now. It's only happened when taking audio from the headset jack.

The program is Relax and sleep, and I'm using the latest smoother bean. Any simple fixes you know about? Currently it pours rain by the window, so I'm skipping the amp.
[G Tablet Android Development] nobe1976:
I cannot remember the last time I used the headphone jack on any of my android devices. I always have used my Bluetooth headset if not using the speakers on them. Going to have to check this out and see if it is ROM related or hardware.
[G Tablet Android Development] lartomar2002:
I have been away from my Gtab for a little while. I updated from 1.5.0 to 1.5.2. What Quadrant Benchmark scores have others been getting? I can not get better than a little over 3000 no mater what settings I use in android settings and System Tuner.
[G Tablet Android Development] nobe1976:
Well with the current kernel that is being used. Yes around 3000 on Quadrant Standards is about all you are going to get. I guess your Asus got ya spoiled huh.

Sent from My SmOoThA$$ Gtablet.
[G Tablet Android Development] lartomar2002:
Yep, I have been getting a little over 7000 but of course that is with everything set to its highest perfotmance.

BTW, do you plan to make a JB 4.2 rom?
[G Tablet Android Development] JEZZEJAMEZ:
Sorry to hi jak, in a way..

What Asus u have t3? I was looking at one.

Anyway umm nobe has something very special in the works, just don't tell anyone. This so called ReDRuM is going to be something very sweet. Although I might not be able to join, I have officially dropped 3 DIFFERENT gtabs while plugged in and if they land on the charge port it's a wrap... So now I don't have a tab cause I sold my doc.

I got to slide back to fulcrum or whatever guick..

$ø|\/|£ťhïñğ ¢ű$ț¤|\/| ⁴.².²
[G Tablet Android Development] lartomar2002:
It's in my signatures, a Asus tf700. The only difference between it and the tf300 is the screen resolution. 3 gtabs you say, all dying from the same cause? Sounds like it was meant for you not to have anything more to do with a gtab.:eek: I broke my charge connection, took it to the local pc repair store and for $40.00 they resoldered it and drilled the DRH. Of course with you luck with the gtab the old disclaimer of YMMV is probably appropriate.:p
[G Tablet Android Development] nobe1976:
ALL right man you need to Stop eating butter on your popcorn. I mean come on 3 different Gtablets, and why did you sell your dock that you had to wait for like forever to get man?:cool:
[G Tablet Android Development] JEZZEJAMEZ:
I no I no, I feel like I've been just walking around kicking myself in the balls, I was sitting on the bed watching TV somebody knocked at the door I hopped up tablets let off the bed BAM done.

Larimer, I usually am on my phone on here sorry I didn't see your sig. Please except my apologies. My last GT tablet, I tore apart and was not able to fix it due to the screwing with the cord in the port, this one I new if any chance I can fix it not to mess with it drinking and simply wait till I had time to take it apart. I'm off today so wish me luck I'm tearing it apart here shortly, hopefully a couple soder joint s heated up might work. I sold one of my tablets that needed the charging dock to charge. So now that I need it I guess I'll have to buy a new 1 and wait another month for it to come from Japan or China or Fiji or wherever it came from.

$ø|\/|£ťhïñğ ¢ű$ț¤|\/| ⁴.².²
[G Tablet Android Development] booge3211:
hey im selling my g tab, I have it on smoother bean im just looking for something new. if you wanted I could make a listing for it on a website and you could buy it from there if you wanted im selling it pretty cheap, but with your luck I don't want to shout out the price of it. so if your interested just let me know my email is booge666@gmail.com
[G Tablet Android Development] JoeMofknDot:
Ok I don't know if this has been covered but I ran into a storage issue I followed the instructions in th op to the tee and now after I get the tab up and running I load google play music and it will only let me put just over 3 gb of music avaliable for offline use my internal has over 11 gb available and the external still has 14 gb available. Then the tab displays insufficient storage if I try to download an app from the playstore. I have only added 3 apps netflix, google play music, and battery monitor widget. Any help would be appreciated.
[G Tablet Android Development] nobe1976:
Sounds like the Google play music app is only seeing the data storage and not the internal or external fat32 storage. The Google apps cloud is storing your offline music onto the same partition that your data apps. See if the are anything in the settings to choose the storage location that the cloud downloads to that you can change. I don't use that particular app when it comes to music. I either stream it or use Apollo to play music off of my external storage.

Sent from My SmOoThA$$ Gtablet.
[G Tablet Android Development] rajeevvp:
This sounds similar to the problem described in this thread. See my post #4 there and get me the outputs of the commands: logcat, dmesg and those in the last link on that post.

EDIT: If Google Play Music stores its offline music files in /data, then the lack of space in that partition is understandable.
[G Tablet Android Development] JoeMofknDot:
I looked and no way to change it in settings I'll just use Google play music with WiFi. If I remember correctly it does store it in /data/apps thanks for keeping the My Old G-Tablet cracked screen and all feeling fresh.

Sent form my old gangsta G-Tablet
[G Tablet Android Development] nobe1976:
Ya I noticed that when I opened it up on my phone. That sucks that Google Music doesn't let you assign a alternative storage for the music. Me on the other hand just put my music on a micro SDcard in its own directory and whatever I ROM I use the music player always picks them all up. I think I have just over 6 gigs on my phone and Tablets external.
[G Tablet Android Development] tobalaz:
My gtab got dropped on the charge port once, ordered a dock, it was going to take a month to get here, so I just yanked the darn thing apart, superglued the charge port back into place and soldered the contact points back, pretty easy, they've got some space between them so you can be a bit generous with the solder and not mess stuff up.

So if you're going to make a habit of dropping these things you might want to get a bit of practice and a fine tip soldering iron and some fine gauge solder. It only sounds hard, its really pretty damn easy.

Good luck!

P.S. still using the gtab for a media center with the dock, works fantastic and the nephews love playing movies on it.