yashsingh1/xdaforums huggingface dataset:
[Thinkpad Tablet Android Development] 128rincon:
Update: Even on my 16gb unit, I'm noticing that the wake from sleep via the volume button doesn't always work. It's rather sporatic.Hopefully the next version will have this corrected, as I'm always wondering how long my power button is going to last from frequent use for wake-ups!
[Thinkpad Tablet Android Development] raph3ix:
Does this security risk apply to this build? http://review.cyanogenmod.com/#/c/25214/ if so please apply the patch :)
[Thinkpad Tablet Android Development] daswahnsinn:
To me it is not a big risk, you would have to have a logcat from the device. So someone would have to know how to use adb to do this, and well lets face it how many you your friends know what that is.So I would take is out of debug mode till this gets patched, I for one am not worried.

(I'm not saying anyone's friends are stupid, I know only one of my friends knows what adb is and how to use it.)
[Thinkpad Tablet Android Development] raph3ix:
studying IT, so i think many ;)
[Thinkpad Tablet Android Development] daswahnsinn:
I'm taking classes too, and I feel that I'm smarter than the rest because most don't even know what root is or that you can change ROMs and kernels. So it may just be my location, I wish I had more friends that did so I could test out things easier, but all in good time.
[Thinkpad Tablet Android Development] emuandco:
lucky me. most of my friends are as strange as we are. ;)
[Thinkpad Tablet Android Development] wcypierre:
studying IT != experienced in mobile related customization(be it kernel/rom/theme development, flashing rom, kernel and etc)

Anyway, if you wanna to get a logcat easily, you can try the tool that is at my siggy :D
[Thinkpad Tablet Android Development] pixbuf:
I flashed this ROM (0.81) a few days ago. I like it, but I'm having big stability problems. It spontaneously reboots every hour (but not while I'm using it, it seems), and sometimes it won't wake up from sleep. I'm going to try capturing the log when I go home.

I had the sleep death problem with the stock firmware, too. Does this ROM use the stock kernel? I was thinking of trying the experimental kernel to see if that helps.

Any suggestions?

TIA.
[Thinkpad Tablet Android Development] Magnusmarshall:
Had no crashes or freezing at all on mine.

Noticed themes don't work.

Also though wireless works fine there are times when it says connected fine to a wireless network but it doesn't work and requires a reboot to fix this.

Thinkpad 32 gig with a 32 gig sd
[Thinkpad Tablet Android Development] yggdrasil:
Hi, dumb question...

How the hell do I get into stylus or pen mode.?

Thank u.
[Thinkpad Tablet Android Development] kingOfTheLab:
pen mode is activated via a click on the browser button :)
[Thinkpad Tablet Android Development] vijilKiwi:
So this is pretty much awesome and is now my daily driver :D

The only that isn't quite working is the custom hardware buttons thingee, which basically just doesn't work at all. I can live with that for now.

Looks like I wont have to buy a gnote 10.1!
[Thinkpad Tablet Android Development] raph3ix:
when you sitting in a lecture and the guy in front of you surfes xdadev and has his nexus plugged in via usb cable to his notebook, doing stuff on the terminal, you probably want your rooted devices secure :D (happend to me 3 days ago...)

i mean yes of course studying IT does not mean anything, it does not even mean you can write a simple hello world program, but as far as i can talk there are a lot of people who actually does the same as we do :)
[Thinkpad Tablet Android Development] daswahnsinn:
Has anyone else seen this >>>http://hak5.org/episodes/hak5-1205 , this might be what some of you could worry about, not saying I'm not but like I said most ppl where I live think I the world best at computer science. I love the hak5 shows, even though that woman gets a little annoying.:laugh:
[Thinkpad Tablet Android Development] stas.green:
Another bug or feature on 0.8.1. TPT wakes when I push any hard button on the right of the screen (Home, Back etc.)

Actualy found a solution - edited /system/usr/keylayout/gpio-keys.kl and removed WAKE and WAKE_DROPPED from this keys...

Maybe someone will need it too...

And yet another very unpleasant bug... Have irresponsive touchscreen in lots of games (Dead Space, Shadowgun, Death Dome. Dead Trigger etc.)
[Thinkpad Tablet Android Development] Magnusmarshall:
Had a reboot today when i was in the email client (connected to hotmail).

Thinkpad 32gig

Ver 8.1
[Thinkpad Tablet Android Development] stas.green:
Another bug... Tablet doesn't detect dock station. Don't know if it should, havent't got the dock when was on original firmware.

Maybe it shouldn't detect it at all.
[Thinkpad Tablet Android Development] emuandco:
O_o did not even try yet. will do at home
[Thinkpad Tablet Android Development] 128rincon:
Just want to say, even with the few remaining bugs, this OS is SO much better than the one Lenovo provided! Thanks again Koshu!
[Thinkpad Tablet Android Development] Koshu:
Yes it uses the stock kernel and no the experimental kernel won't help for two reasons: First the experimental kernel is an modified stock kernel with more enabled CPU frequencies and second because it's much more unstable then the stock one ;)

Hm, that you need to reboot is new, i had this a few times but disabling and enabling wifi always worked.

Well it only lists buttons like menu, home, search and so on so. If i get bored i will look if we can change this.

It's neither a bug nor a feature i just didn't care until now^^ (using the sleeve anyway). What would people here prefer for the buttons? Waking up or stay asleep?

Hm, i think it should detect it at least someone was reporting a similar bug in the CM9 days if i remember correctly.

@all:

Since last week i'm writing on my master's thesis so development might slow down a little for some time but i'm still on it.
[Thinkpad Tablet Android Development] cajunflavoredbob:
I prefer them not to turn the screen on. Either way, if it bothers enough people, and you could set it one way and make a flash able zip to change it the other way. Not a big deal no matter what you decide.

My dock charges and allows USB access with no issue. I haven't tried any other options.

EDIT: I forgot to mention that the USB port on the tablet is disabled while docked. I don't know if that's supposed to happen or not, but the USB port on the dock works fine.

Take your time. The current build is very stable. I know I'm not in any rush. I'm just happy to have one device even working on this at all. Thanks again for your work.
[Thinkpad Tablet Android Development] Magnusmarshall:
The reboot required to regain wireless could be something of a anomaly as its only happened the once.
[Thinkpad Tablet Android Development] cajunflavoredbob:
Ok, so I just got home and tested out my dock. CM10 does not recognize it as docked in the settings menu, but it appears that this does not affect the functionality of the dock itself. Dock USB works with external hard drives, USB hub, mouse, and keyboard. Audio out also works just fine. I don't have an external mic to test that out, but I'd assume that it works fine as well. MicroUSB works fine too and allows media transfer and adb without a problem.

It seems that the only issue is that the settings in CM10 simply do not reflect when the tablet is actually docked.
[Thinkpad Tablet Android Development] camou23:
Oh, when you working on the Kernel can you please add Controller Support?

joydev.ko Kernelmodule is needed
[Thinkpad Tablet Android Development] madamada31:
No mount as USB/MTP

I'm just testing mounting as USB/MTP and it works without any problems.:laugh:

can access internal and external storage, sync etc
[Thinkpad Tablet Android Development] Koshu:
Can't be there need a new volume to pop up if i plug it into..... oh wait, you are right, there it is :laugh:

Just needed to enable MTP (memo to myself: make this a default setting in next release). But some reason I can't see any files, just the mounted volumes (Linux user here). You are on windows? Someone else tried this yet?
[Thinkpad Tablet Android Development] ChiefOHara:
Looks great!

I'm on Koshu's ICS rom (so I did everything as described in Koshu's ICS thread). Now I want to upgrade to JB, of course, so I have to get back to stock ICS (as stated in the first post)??? What is the easiest way to do so? I think there was a howto somewhere around here but I can't remember where exactly. Any hints? Thanks in advance!
[Thinkpad Tablet Android Development] madamada31:
I'm on windows 7 x86 and I can see all my files and copy new ones to both SD and internal storage. It shows up in windows as it used to in ICS
[Thinkpad Tablet Android Development] obscure.detour:
Yeah, I'm on Windows 7 Pro x64 and can confirm that MTP works just like it did in ICS (OTA3). Nice :)

@ChiefOHara

Restore a nandroid of a working stock Lenovo HC build. Like OTA 0089 or 0086.

Download and install OTA Voodoo Rootkeeper and enable su backup.

Temp unroot and start doing system updates. Alternatively, you can download the updates manually and flash them in order. (eg. A310_02_0039_0086 > A310_02_0039_008 > A310_02_0069_0130 > A400_02_0069_0130) and flash them within recovery. Just make sure your nandroid is stock. This will update you to ICS (OTA3) and give you the Lenovo ICS recovery. Use OTA Voodoo Rootkeeper to restore root.

Follow Koshu's thread for installing CWR6. After installing CWR make a nandroid of stock Lenovo ICS (OTA3)

Follow this OP for installing CM10.

Enjoy Jelly Bean on your tablet. It really is awesome.

EDIT: I'm getting some soft reboots today with v0.2, not sure of the exact cause. Gonna do some research.
[Thinkpad Tablet Android Development] Koshu:
Sure, if it doesn't take to much afford. But won't change the kernel for the next release, maybe the one after that.

Linux and MTP are not best buddies yet but nice to know it works in windows a least (Added it in the OP).

If you are able to, try to get a logcat at the exact moment a soft reboot occurs.

obscure.detour guide looks good. Only thing i like to add: Some people have problems to get the updates working, sometimes it was worth a try to restore the stock recovery first (make sure you keep your root).
[Thinkpad Tablet Android Development] obscure.detour:
Forgot to add that. Stock recovery prior to updates is how I did it as well, then flashed the updates via stock recovery. Just make sure your nandroid is stock before restoring original recovery :)

Seems to be I ran into another issue. Could be related to the dock as well, not sure yet. But am having trouble waking the device. Yet I know it isn't off or rebooting because it is connected to the dock and I have adb access. So attached is the current logcat of me trying to wake the device, but all I see is blackness and no buttons wake the screen.

Edit: Took it off the dock and screen still didn't wake after pressing power, etc. Held down power and now it rebooted fine.

Edit2: I can't get aLogcat to work... Only have access to logcat via adb for some reason.

Edit3: Just came back to my desk, TPT lying flat on the desk asleep. Then noticed the lenovo logo and the reboot.

So, I had logcat running in Terminal Emulator, hope it recorded it before the soft reboot occurred. Logcat2.txt
[Thinkpad Tablet Android Development] daswahnsinn:
I'm still running v.0.1 and have noticed it is taking my tpt a long time to charge. I left the AC plugged in for around 20 hours and it's at 74%.
[Thinkpad Tablet Android Development] Koshu:
Thanks, will have a look at the logfiles.

Hm, i have no information that the android system is involved with charging itself, as far as i know that is handled by the battery firmware. Only thing i can think of is discharging (i.e. some hardware parts are not going into standby correctly), so did you notice a fast discharge while the the tpt is not plugged in or is your battery life ok? (btw. in HC times i had sometimes very long charging times, too, with the stock rom. Took me two days to load it to 100% but a few loading cycles later it was normal again)
[Thinkpad Tablet Android Development] daswahnsinn:
I haven't really noticed faster discharging but it makes since. I'll play around with it and see what's happening if anything. Thanks for the reply.
[Thinkpad Tablet Android Development] ChiefOHara:
Ok, I did that (also the step with getting back to stock recovery) and managed to update to ICS, but I must have done something wrong because I'm not able to restore root with Rootkeeper. I tried to follow the instructions from this thread, but it also didn't work because the su-backup file is not executable (permissions -rw-r--r--). Can I do something to fix this or am I stuck on ICS without root??
[Thinkpad Tablet Android Development] Koshu:
Ok, read through the logfile. These Bundle warnings look most suspicious, but not really sure whats the cause and whats the aftermath. May i ask you to make some additional checks:

1. when the button doesn't respond, open logcat (adb) and press the power button. What is added to logcat the moment you press it? Is it this bundle thing or something else (or nothing)?

2. when do the bundle errors occur are you doing something special or out of nothing? Are there any bundle errors when it's not placed in the dock? (as i couldn't find anything like that in the logfiles of my device)

3. could you try to get a logcat again from the moment it reboots? But this time in adb as the terminal emulator is most likely one of the first apps to be stopped on a reboot and i can't see anything that looks like a os breakdown. Maybe something important is missing in the log.

4. while your are at point 3, may you also try to get the output of dmesg (easiest way is to open it in a second adb terminal)

Thanks for your help.

This doesn't sound good :/ Is the su-backup binary in /system/bin? Then you don't have a chance to add the execution bit manually as you need root to do that. But there might be hope if you let lenovo do exactly that. Which is the last update you installed? In most updates there are lines like this:

set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");

This sets the permission for every file in /system and /system/bin including the execution bit (only in bin). You could try to install your last update again and hope that the update fixes your permissions.

Edit:

just noticed that rootkeeper puts the backup directly in /system (took this from the thread you linked) or in /usr/we-need-root (selftest). In this case the trick with the update most likely won't work :(
[Thinkpad Tablet Android Development] ChiefOHara:
Yes, I also just noticed that. Damn, so I guess I'm stuck on ICS for now. Or is there a way to write an update script on my own that sets the permission for the file? I guess the biggest problem would be to sign it correctly such that stock recovery executes it?
[Thinkpad Tablet Android Development] Koshu:
Well it's the biggest problem and makes it impossible, because it needs to be signed with the private lenovo keys. :(
[Thinkpad Tablet Android Development] ChiefOHara:
Ok, thats what I suspected. Damn. Ok, I'll better get used to stock ICS then :(
[Thinkpad Tablet Android Development] obscure.detour:
After a fresh boot, try to open the Superuser app and then open OTA Rootkeeper and try to restore root. I had similar issues when trying to restore root and thought I had lost it as well. There is something finicky with the steps required to restoring root. I believe it has something to do with having Superuser installed and maybe Busybox.

I truly hope you get root back as I will feel enormously bad if you lost it :(

I haven't been able to recreate this, but the code below is displayed when I press the power button and the screen never wakes up:

V/LockPatternKeyguardView( 272): Set visibility on com.android.internal.policy.impl.LockPatternKeyguardView$5@427cebb0 to 8388608
I/WindowManager( 272): Lock screen displayed!

I noticed that AutoAP was always listed before the Bundle warnings start showing up. Disabled AutoAP service and am not getting the Bundle warnings anymore.

I will try to get a logcat before reboot but haven't seen it soft reboot while connected to the dock.
[Thinkpad Tablet Android Development] ChiefOHara:
Tried that as well. The strange thing is when I click on "Restore root" it says "Voodoo OTA RootKeeper has been granted Superuser permission" and "root su restored", but nothing happens. Anyway, at least I'm stuck on a version that seems to work quite well ;) Maybe someone comes up with a solution for rooting ICS at some point.
[Thinkpad Tablet Android Development] obscure.detour:
You know, now that I think about it I had some weird behavior like that as well when I updated. It would say root restored, but root wasn't working when trying to gain root access via another app.

Try this: after getting OTA Rootkeeper to say "su restored" try this: within the Superuser app click the wrench to enter settings and change the "Automatic response" setting to Allow. (This is obviously not the safest option, but if you're relatively smart shouldn't be an issue for now). You might have to reboot after this but try a few options prior to rebooting and after just to be thorough. Within the main Superuser screen, click the "i" icon and tap the "su binary" to update it. You could also try to check the checkbox that says "ota rootkeeper" on this screen too. Other options include, but are not limited to are that you could just try to go to Terminal Emulator and type su or even try adb shell, then su.

@Koshu

I haven't been getting reboots anymore since disabling the AutoAP service. I since uninstalled the app as well. So I apologize for making your build unstable :(. I also haven't been able to recreate the non-waking bug. Perhaps they were related. A minor issue I have found is Major Mayhem seems to no longer detect or respond to any touch input or pen input. The OS is still accessible via touch and/or pen input ala home button, notification bar, etc. Here is a log of that, the end of the log is with the game running and no input being detected. But again minor issue heh. I'll try a different game shortly.

EDIT: Spirit HD works fine. I dunno, not a big deal to me IMO.
[Thinkpad Tablet Android Development] Koshu:
Don't worry about it. You don't wont to know how often i smashed my head on the desk after finding the stupid source of some error ;)

So only related lines to your error seems to be:

W/InputDispatcher( 268): channel '41e88db8 com.turner.asmajormayhem/com.rocketjump.unitybango.UnityBangoNativeActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
E/InputDispatcher( 268): channel '41e88db8 com.turner.asmajormayhem/com.rocketjump.unitybango.UnityBangoNativeActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
I/WindowState( 268): WIN DEATH: Window{41f6fd48 SurfaceView paused=false}
W/InputDispatcher( 268): Attempted to unregister already unregistered input channel '41e88db8 com.turner.asmajormayhem/com.rocketjump.unitybango.UnityBangoNativeActivity (server)'
I/WindowState( 268): WIN DEATH: Window{41e88db8 com.turner.asmajormayhem/com.rocketjump.unitybango.UnityBangoNativeActivity paused=false}

I will do some research but this might be related to the game itself. Did you have another JB device on which you play this game?

BTW: uploaded 0.3. After getting frustrated to not get a full 3G data connection until now i fixed GPS and the lightsensor instead. Still added some experimental support for 3G. Look into the OP for more information.
[Thinkpad Tablet Android Development] stas.green:
Thanks for testing. Actualy just needed it for automation...
[Thinkpad Tablet Android Development] mr_cowboy1:
I just tested the keyboard folio and it worked fine too. so my dock all works and my folio works, how do you see if it actually knows it is docked or not?
[Thinkpad Tablet Android Development] pwstein:
The battery icon indicates 'charging' when docked.
[Thinkpad Tablet Android Development] ScotchtapeLoser:
I can confirm that everything works when placed in the dock and keyboard folio but is listed as "Tablet is not docked" in the settings menu.
[Thinkpad Tablet Android Development] Koshu:
I don't have a dock to test this and i don't know how the dock is recognized either. Can someone post the output of logcat and dmesg the moment the tpt is placed in the dock? Maybe we can find a hint.
[Thinkpad Tablet Android Development] cajunflavoredbob:
If no one else gets to this, I'll try to remember to do it tomorrow morning before I leave, or Sunday evening when I return home.
[Thinkpad Tablet Android Development] pixbuf:
Sadly, I had to go back to the stock ROM because the random reboots and sleep deaths became very annoying. A couple of very peculiar facts:

Reboots only happen when the tablet is asleep, never while in use

While the tablet is asleep, it uses up battery at a very high rate

I connected a cable to it to gather the logs, but I guess having the cable attached prevented it from sleeping and it never rebooted, so I didn't get any useful info.

I was beginning to suspect a hardware problem, but since I've gone back to stock, I haven't had any reboots (but I still have, and always have had, lots of sleep deaths). I'm thinking of sending it back because of the sleep deaths.
[Thinkpad Tablet Android Development] ker2gsr:
I Had same issues till I did a factory reset then cache wipe then system wipe then install follow by a cache wipe and a fix permission before boot now this thing is golden not one reboot fast as hell
[Thinkpad Tablet Android Development] obscure.detour:
Mine works just fine. Detects it and everything. No USB issues or charging.

I did this awhile back and I have no issues either except for the touchscreen issue on games.
[Thinkpad Tablet Android Development] 128rincon:
Someone else on this thread said pressing the hardware keys wakes-up unit. Not on mine!!! I'd like it too, since "volume rocker wake" doesn't work, & I'd like to use my power button less...since most eventually fail!
[Thinkpad Tablet Android Development] stas.green:
Look a couple of pages back. It was my post.
[Thinkpad Tablet Android Development] ker2gsr:
Yeah the game issue is same I have ...that's it
[Thinkpad Tablet Android Development] stas.green:
Yep. Everything works: USB, charging and so on.

I meant that tablet itself doesnt report, that it is connected to dock.

By the way, is HDMI working fine on 0.8.1? Got HDMI to VGA adapter yesterday (need to connect to projector). No signal :(

So, is it adapter not working or ...
[Thinkpad Tablet Android Development] vijilKiwi:
Hmm. Starting to have issues with accidentally hitting the hardware keys again - mostly just the big home and back keys.

I know you're busy koshu, but if getting the settings>system>hardware keys>"enable custom actions" stuff to work is easy then that would be a zillion times appreciated. Or is there some way I can disable the keys myself? Maybe putting #s in front of keys 158 and 172...

I've had no other problems whatsoever with this rom. Working flawlessly.

[edit]

yeah that worked, I was able to disable the home and back hardware buttons by putting #s in front like above, in the system/usr/keylayout/generic.kl file. I did the gpio-keys.kl one as well but not sure if that was necessary.
[Thinkpad Tablet Android Development] smiley1960:
rebooting problem

What's a "system wipe"? Do you mean another factory reset or a dalvik cache cleanout or what? I want to do this properly as I really like this ROM and would like it to be reasonably stable.
[Thinkpad Tablet Android Development] cajunflavoredbob:
system wipe = wipe /system

---------- Post added at 10:08 PM ---------- Previous post was at 09:53 PM ----------

Since the dock covers the microUSB port, I have to run the logcat from the TPT. I haven't had any luck, even on a full wipe, getting any logcats to run. alogcat, catlog, and System Tuner Pro all show no logs at all.
[Thinkpad Tablet Android Development] stas.green:
I have catlog running fine on mine. Will upload log file as I get to work, where dock is.