yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] redeyedjedi:
Try my first Webcam mod.... the one where the guy took my camera.tegra.so and renamed it camera.tegra3.so. that file is setup for 1 or 2 Webcam. .....and it disables the built in cam......using the first plugged in Webcam as the front.

I'll go find a link

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

Rename it to camera.tegra3.so and replace the stock one with it.....make no other changes and let me know if it works. I want Webcam flexibility but my brain needs to catch up.

---------- Post added at 12:50 PM ---------- Previous post was at 12:36 PM ----------

The simple Webcam app works for me with a Webcam. Do you want to use an easy cap device for your Webcam? ?

---------- Post added at 12:59 PM ---------- Previous post was at 12:50 PM ----------

I tried and for me it never worked without serious battery drain. All it is is a wake lock that doesn't go away until you tap the screen or swipe. It had a timer function but the wake lock holds.even when the timer runs out. If you are using firm sleep it kills the wake lock and tap 2 wake won't work anyways.

oxydo kernel had the most stable implementation. I'd recommend it for this feature. If my kernel would behave with it I would use it. But I use showp1984 custom hot plug. ..and I think that's what is causing fits for tap2wake.
[Nexus 7 Android Development] _crue_:
I want to do any source :)

web cam or easycap or anything else

I just need to figure out how to merge this :)

---------- Post added at 08:05 PM ---------- Previous post was at 08:02 PM ----------

http://linuxtv.org/wiki/index.php/Easycap

Could we create API for different drivers?

create an wrapper .so and use it :)
[Nexus 7 Android Development] RoNeReR:
ok first i flash autodroid 1.0 again for be sure i do fresh test

download camera.tegra.so and change the name to camera.tegra3.so and copy it to system\lib\hw

reboot the table.

default camera app say cant connect to camera

caro0 just record nothing

simple webcam work great...

after that i try to add the usb option to nvcamera.conf and reboot

no change

after that try replace media_profiles.xml with your file from 720p mod and reboot

no change
[Nexus 7 Android Development] redeyedjedi:
OK. ....everything is fubar. Honestly.....I won't mess with this right now simply because android L has an entirely new camera API.....so anything I do now will soon be outdated. I think it might be wise to wait for full android L source and focus attention on that new API.

---------- Post added at 02:52 PM ---------- Previous post was at 02:44 PM ----------

Yes....but I'm not that good.....maybe you are? I know you're good.

I believe we need ffmpeg with yadif......and add it to simple Webcam source......then add support for changing resolutions and NTSC/PAL so easy cap devices will work.

there are many guides for compiling ffmpeg for android....and there are binaries available for testing. This would also allow us to choose between svideo and composite...and support audio.
[Nexus 7 Android Development] Kuchar09:
Well I finally have everything in the car and working for the most part. Using Poweramp to play my music off my flash drive. I seem to have an issue where my flash drive gets disconnected after playing music for a minute. Says USB was unexpectedly removed until I shut the car off n on and then it remounts n plays music for another minute.

What would be the best method to get a logcat to try and track down the problem? Considering no one else is having this issue idk if the problem is on my end or what. Maybe I should look at changing the format of my flash drive from NTFS.
[Nexus 7 Android Development] michiil:
Opendelta is up and running (:

New build will be (hopefully) up today (:

Thats the last one you need to update the old way (:
[Nexus 7 Android Development] _crue_:
Yahhuuuu :)
[Nexus 7 Android Development] RoNeReR:
also Yahhuuuu
[Nexus 7 Android Development] redeyedjedi:
Nice..... kernel updated too.....added TCp congestion filters.....built in tun and cifs...and (hopefully) I got all the Bluetooth tethering dependencies and Bluetooth tether works.
[Nexus 7 Android Development] michiil:
Nice will try tomorrow (: im on a birthday party today so i cant do anything (:
[Nexus 7 Android Development] pixel-edge:
Been using Google maps (3 hour drive) and a fair few times the screen went black. After tapping the screen it comes back on but I had to restart the navigation.
[Nexus 7 Android Development] joneidy:
I believe this is a feature on the Maps application to conserve battery, I know it can he changed but I don't remember where the option is located. Will edit once I find it.
[Nexus 7 Android Development] pixel-edge:
Yeah that option is " dim screen between navigation to conserve battery power "

The issue is that maps was getting closed and I'd have to input the place again, while driving.

I'm just about to go onto build 7, so I'll give that a go.

---------- Post added at 10:44 AM ---------- Previous post was at 10:11 AM ----------

Just updated: in the nav bar, I've got a volume down / volume up on the right

But I've just got an error/stop sign

edit -

In fact there's now no option for volume up or down to pick from.
[Nexus 7 Android Development] michiil:
Don't update with slim ota! This is not an official slim build so it will break stuff!
[Nexus 7 Android Development] michiil:
New build uploading (:

opendelta included for easy ota updates, excluded slim center (we don need it and the ota notifications are missleading), [MENTION=4035939]redeyedjedi[/MENTION] fixed bluetooth tethering (:
[Nexus 7 Android Development] pixel-edge:
Oh, well it take you to the slim ROM site anyway, plus it does say OFFICIAL.

:(
[Nexus 7 Android Development] michiil:
Yes the builds you download are officialy but they override my mods (;
[Nexus 7 Android Development] pixel-edge:
ahhh I got it, sorry I thought you we're developing the slimROM itself, sorry lol.
[Nexus 7 Android Development] j41224:
I can confirm that Bluetooth tethering works for me! Thank you so much! I just need to work on my easycap carcam stuff or find something that will work for me and work on the joycon keyboard. I have created a specific keymap for it but I still can't get the home and back keys to work. I've been reading a lot about. I guess just not enough.
[Nexus 7 Android Development] redeyedjedi:
That's the kind of feedback a I like! If you do get a good key map. ..share it and I'll push it into the build....

Can anyone try USB reverse tether again and tell me the results? I wanna get that taken care of.
[Nexus 7 Android Development] michiil:
I will try it later today and tell you if it worked (:

Edit: nope still no luck /:
[Nexus 7 Android Development] michiil:
No activity for over a day? Well i take it as good sign (:
[Nexus 7 Android Development] RoNeReR:
ok i get mail from caro0 dev for add webcam support.. this are the happy or sad news..

mail from caro0 dev:

"Development team is checking that app and it seems that it would be possible to support it on CaroO. But as you know, we have many requests from users and we need to prioritize those requests in order to decide the new features added to the next version. Unfortunately, I feel like this feature is not desirable for all users. So I cannot give you any fixed plan for that now. Sorry for this and we will keep considering to support it anyway."

u replace the bootanimation in 1.1v?
[Nexus 7 Android Development] _crue_:
lets :) do test ota update :)

then if it still quet :) that will be a good sign
[Nexus 7 Android Development] Kuchar09:
Well I upgraded to AutoDroid 1.1 and bluetooth teather is working great!!!

But I'm still having an issue with my flash drive randomly disconnecting. The light on the flash drive is still flashing so its getting power and everything else connected to the hub (steering wheel controls, easycap, DAC, DVB-T Tuner) is still working after it gets disconnected.

I originally had the flash drive formatted to NTFS but switched to exFAT but it made no difference. And its a 64 GB flash drive with 19 GB of music on it if that matters.I also recorded a video which is attached below, This happens just about every time i get in the car.

I don't know if there's something i'm doing wrong or what.... Any ideas?

https://www.youtube.com/watch?v=bSe9ulz0zU8&list=UU-iC0SP2jBrndN8TbJdBydw
[Nexus 7 Android Development] gregthomas129:
Mine works fine... The only app I've added for this (and I'm not sure it does anything, haven't tried without it) is usbhost controller. https://play.google.com/store/apps/details?id=hu.sztupy.android.usbhostcontroller

I've had issues before on other roms if I try to add apps to help with flash drive mount such as stick mount. You might try removing any of those and installing the app above and see if that helps.
[Nexus 7 Android Development] redeyedjedi:
Have you ever messed with omniswitch? I like it and wouldn't be upset if you swapped out slimrecents for omniswitch instead :)

I'm also wondering how stable is multi window right now.
[Nexus 7 Android Development] michiil:
Not stable enaugh to include it (: but you can use it with xposed (:

Well to include omniswitch i would need to switch to stock recents because i cant gat the switch to wotk with lim recents.. and i dont want do do that.
[Nexus 7 Android Development] michiil:
Uploading new build now.

You should be able to update with delta NOW.

full builds will take a while.

the changes ate the latest slim sources, updated powereventmanager app (no app icon in launcher), included timurs apollo (with mods to resume on audio focus) instead of music (:
[Nexus 7 Android Development] _crue_:
could some one report about success download?

because :( I can not recieve update
[Nexus 7 Android Development] Push3r:
Downloading now....
[Nexus 7 Android Development] _crue_:
for everyone just copy prev update zip into OpenDElta and it will works
[Nexus 7 Android Development] michiil:
okay.. so for it to work now you need to put the old zip (1.1) into the opendelta folder on the sdcard so opendelta can update this zip.

else it would need to download the full zip and its not fully up yet..

okay the full zip is up now on the delta server (: its still faster if you put the old build into the folder
[Nexus 7 Android Development] Push3r:
Update without making everything over ota !

Thanks michiil
[Nexus 7 Android Development] michiil:
nice thanks for the feedback (: the download is really slow on the server i use but delta updates are not all that big so its not to disturbing (:
[Nexus 7 Android Development] dvdivx:
The setting for google keyboard are jacked and unusable, also it would be great if themeable but I dont know if slim is. Never really liked it compared to Carbon. On the plus side your rom is the ONLY rom that works with external Hard Drives that's still current so keep up the good work.
[Nexus 7 Android Development] michiil:
The google keyboard is part of the gapps not of the rom!

No slim is not themeable and i wont intigrate it as long as they dont do it.
[Nexus 7 Android Development] pixel-edge:
anyone having issues with an alarm?

mine are not going off.
[Nexus 7 Android Development] redeyedjedi:
Are you using firm sleep or fixed install mode? Are you using power event manager to sleep the device? Any of these will bypass ALL rtc alarms resulting in NO wakeup.
[Nexus 7 Android Development] pixel-edge:
ahh right ok, so maybe a "home" mode. (undo all these) would be a good feature to add then.
[Nexus 7 Android Development] redeyedjedi:
Well they are easily changed in power event manager. If you need alarms....simply turn off firm sleep....the overnight battery loss is more significant but it shouldn't be over 10 percent. Firm sleep is a nice feature but you do not really need it all... wakelock blocker is where its at.

For your scenario....always leave firm sleep off. Go into settings>advanced settings>wake lock blocker. Turn it on, and check the box next to any you don't need, but do not check any of the alarm ones....or activity manager. IIRC its the first four options...plus one more down the list like alarmwakelockscheduler. You can achieve high battery savings without losing any wakelocks you want. You may have to manually sleep the tablet tho.

OK...I just checked....firm sleep off and fixed install on still goes to sleep on power loss...so no need to do it manually.

BTW, turning off fixed install mode does in fact turn it all off....and is exactly a "normal/home" mode or "out of car" mode.
[Nexus 7 Android Development] _crue_:
if some master device connected to tablet, and paired, it do not remembered!!!

someting wrong :(((((((((((

and all the time it ask for pairing.

08-15 22:44:49.003: E/BluetoothMap(6624): java.lang.IllegalArgumentException: Service not registered: android.bluetooth.BluetoothMap$2@41d61a78
08-15 22:44:49.003: E/BluetoothMap(6624):	at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:922)
08-15 22:44:49.003: E/BluetoothMap(6624):	at android.app.ContextImpl.unbindService(ContextImpl.java:1603)
08-15 22:44:49.003: E/BluetoothMap(6624):	at android.content.ContextWrapper.unbindService(ContextWrapper.java:529)
08-15 22:44:49.003: E/BluetoothMap(6624):	at android.bluetooth.BluetoothMap$1.onBluetoothStateChange(BluetoothMap.java:66)
08-15 22:44:49.003: E/BluetoothMap(6624):	at android.bluetooth.IBluetoothStateChangeCallback$Stub.onTransact(IBluetoothStateChangeCallback.java:55)
08-15 22:44:49.003: E/BluetoothMap(6624):	at android.os.Binder.execTransact(Binder.java:404)
08-15 22:44:49.003: E/BluetoothMap(6624):	at dalvik.system.NativeStart.run(Native Method)

E/bt-btif ( 1171): services_to_search = 1fffffff
E/bt-btif ( 1171): ****************search UUID = 1200***********
I/Timeline( 6624): Timeline: Activity_idle id: android.os.BinderProxy@4218a210 ti
me:5114745
W/bt-sdp ( 1171): process_service_search_attr_rsp
E/bt-btif ( 1171): services_to_search = 1ffffffe
E/bt-btif ( 1171): ****************search UUID = 0100***********
W/bt-btif ( 1171): new conn_srvc id:26, app_id:255
W/bt-btif ( 1171): bta_dm_pm_ssr conn_srvc id:26, app_id:255
W/bt-btif ( 1171): bta_dm_pm_ssr:2, lat:1200
E/ ( 1171): ### ASSERT : external/bluetooth/bluedroid/main/../btif/src/bti
f_dm.c line 1213 unhandled search services event (6) ###
W/bt-sdp ( 1171): process_service_search_attr_rsp
E/ ( 1171): ### ASSERT : external/bluetooth/bluedroid/main/../btif/src/bti
f_dm.c line 1213 unhandled search services event (6) ###
I/healthd ( 121): battery l=87 v=4049 t=32.0 h=2 st=2 chg=u
[Nexus 7 Android Development] Iceman_jkh:
Could we please have Advanced Reboot set to Always On by default.

If there are problems when the ROM installs (eg: repeated "com.Android.xxxx process has stopped", missing GAPS, etc) and a reboot into recovery mode is required, it's sometimes difficult to get into Settings, Developer Options,etc just to turn on the Advanced Reboot mode.
[Nexus 7 Android Development] _crue_:
use power button
[Nexus 7 Android Development] Iceman_jkh:
That only brings up the power/reset options, but not the option for reboot to go into recovery mode unfortunately.

(That first has to be configured in the security options)

(Edit: developer options, should have said security options)
[Nexus 7 Android Development] _crue_:
use power with volume :)
[Nexus 7 Android Development] Iceman_jkh:
Oh, you mean from power off. I guess that's an option. ?

Would prefer it by default, but I can live with using the work around. Cheers.
[Nexus 7 Android Development] RoNeReR:
i think its in security option there is option to add this.

i dont remember where but i turn it on.
[Nexus 7 Android Development] Iceman_jkh:
Has anyone got Xposed working/installed on Autodroid v1.2?

It won't install for me.
[Nexus 7 Android Development] RoNeReR:
are u sure your root is on?
[Nexus 7 Android Development] pixel-edge:
Well the message says you're out of space.
[Nexus 7 Android Development] Iceman_jkh:
I've definitely got root working.

And there's actually 25GB free.

It thinks there's insufficient space cos it tried to write to the disk, but failed. Therefore, assuming there's no space. I know that's not actually the case though.
[Nexus 7 Android Development] michiil:
Change install to flash zip in recovery. I think this has something to do with f2fs
[Nexus 7 Android Development] Iceman_jkh:
Good suggestion, but still didn't work. Same error.
[Nexus 7 Android Development] michiil:
It does work i have done it that way! You cant get the same error because it will reboot to recovery and install a zip

Maby i didn make clear what i ment. In xposed istaller change istallationmode to recovery
[Nexus 7 Android Development] Iceman_jkh:
No, you were clear.

Here's the output I get:
[Nexus 7 Android Development] michiil:
Thats really wierd.. Are you on f2fs? I had the same problem when switching to f2fs but changing to the recovery installation method solved it for me..
[Nexus 7 Android Development] Iceman_jkh:
I am on f2fs.

I've tried all 3 xposed installation methods (classic, recovery and zip file). No luck
[Nexus 7 Android Development] redeyedjedi:
Well....in /data you have 25gb. The /system is only 650mb....and gapps can consume over 450mb now!!!!!! You should check how much space you got left in /system.

If you are full......go to /system/lib/modules and delete any you don't need.....tho it would be better to remove any gapps you don't need instead, you only need a couple of mb for xposed.

What features do you need?? It would be more stable to build it into the ROM...

*#*#*#*#*

I just used tvheadend to watch live TV, ATSC US format on my nexus 7....does anybody want this on their tablet???

I also have finally figured out how to compile the latest media_build drivers and run them beside our stock drivers. So if you have a TV stick, video capture device, USB webcam or media center remote with drivers at linuxtv.org....I can build the driver for our tablet.
[Nexus 7 Android Development] Iceman_jkh:
I checked the system partition to have about 30MB free still. I tried a few more things (installed SuperSU and updated SU), but nothing seemed to work. Just now, I booted into recovery and used "repair permissions". I can't tell if that's what fixed it specifically, but I was able to flash the xposed zip just after ?

Btw, I'm using an Xposed module to remove the 1%-critical-battery-low auto turn off on Android.
[Nexus 7 Android Development] gregthomas129:
Not an option for those of us with indash installs.
[Nexus 7 Android Development] RoNeReR:
there is option to add advance boot

setting > security > advance boot.

if u dont have a power button u can use quick boot app
[Nexus 7 Android Development] gregthomas129:
I already use both of those... but the original question was can it be enabled by default.
[Nexus 7 Android Development] michiil:
Will do that with the next release (:
[Nexus 7 Android Development] redeyedjedi:
Just curious.....what does turning this off accomplish? Do you like to completely drain the battery sometimes then slow charge it back to full or something? Or do you just want to be able to turn on a dead tablet as soon as it's connected to a charger instead of waiting?
[Nexus 7 Android Development] gregthomas129:
Keeps it from boot looping when the battery gets drained.

Iceman... what's the name of the xposed module for this?
[Nexus 7 Android Development] dakjones:
This is looking good. Im really liking the soft media buttons. Im in the process of a 2012 Nexus 7 Fixed install in my car. I'm currently using Timurs rom but this restricting me to 4.2. I'm using an OTG plus charging cable with a USB hub + 32 GB flash drive for my music.

My questions:

1: Will this "OTG plus charge" method work with this rom? or is that all done via powereventmanager? I assume it does but didn't see it mentioned specifically in the OP?

2: Timurs rom had all the powereventmanager stuff built in to the settings menu. Is this all done through the powerevent APK now? Does it function the same way?

3: Do i need any of the other downloads/mods listed in the "source" section of the OP?

Thank you in advance
[Nexus 7 Android Development] redeyedjedi:
1. Yes it does work 2. Yes... through power event manager via settings menu 3. No

_________________________

I just got a pm about Bluetooth tether not working. Is it not working for anyone else? If so....can you please post a dmesg?
[Nexus 7 Android Development] Iceman_jkh:
Exactly the latter. On rare occasions (eg: testing new PSU, testing new ROM or accidentally leaving the tablet running) my tablet runs flat overnight. And yes, I then hate having to wait ~10 mins while the tablet recharges to at least 3%.

Completely draining a li-ion battery is not very good for them. An accidental/occasional full drain isn't a catastrophe, but I'd not recommend doing it too frequently.

Exactly!

It's called: Disablecriticalbatteryshutdown.

( http://xdaforums.com/showthread.php?t=2583320)

After checking the module's page, it seems the module isn't compatible with 4.3+ and has also been abandoned. ?
[Nexus 7 Android Development] gregthomas129:
Is this a feature that can be added to the rom?

---------- Post added at 06:20 PM ---------- Previous post was at 06:15 PM ----------

Yeah, bt tethering has been hit or miss for me... I just gave up and switched to wifi tether.
[Nexus 7 Android Development] redeyedjedi:
Yes....I believe this can be added.

BT tether has been solid for me. I'm sure I've got the right drivers but perhaps they need updating.

---------- Post added at 06:42 PM ---------- Previous post was at 06:31 PM ----------

https://github.com/michiil/device_asus_grouper/commit/34bbc80502dd99ada7768733f88b31ce0bb81d86

?????
[Nexus 7 Android Development] michiil:
Because i wanted to try without it but it doesnt make a dufference. I didnt mean to push it..

I will merge it again (:
[Nexus 7 Android Development] redeyedjedi:
I thought it was working for you too. It wasn't? Need some dmesgs to see what's still wrong.
[Nexus 7 Android Development] michiil:
Yes bluetooth thethering was working but i didnt try it verry long (:

I was talking about usb tethering (:
[Nexus 7 Android Development] redeyedjedi:
The method used for USB reverse tethering in jellybean doesn't work in kit Kat. I'm not aware of any kit Kat rom with USB reverse tethering. If I could find a single one I could use the code to fix ours. Does anyone know of any kit Kat rom with it?

Pdanet along with the tablet app work great....and they are free....USB reverse tether also...but I guess people want it built into the rom, and I can't find a single rom where this works on kit Kat without external apps. I'm still looking tho.

That rndis commit definitely needs to be there for both options.
[Nexus 7 Android Development] dvdivx:
So why does this rom work with external hard drives yet every other rom doesn't? I think netfluke posted a fix for CM based roms back in March but other then that every other Rom has been an epic fail except this one. And if so what makes it work? It has to be more than just the libraries and kernel.
[Nexus 7 Android Development] michiil:
Its just the libary (i use the one from omni git) and this patch in vold: https://gerrit.omnirom.org/#/c/5169/
[Nexus 7 Android Development] Iceman_jkh:
Request: A setting to not attempt to download /sync photos when a smart phone (iPhone, Android, etc) is plugged into the nexus 7.

I use a USB port on the hub (downstream of my nexus) to connect my Samsung Galaxy S3. This works great for tethering (soon) and recharging. I don't want it to try copy/display photos from my phone. Same goes for when I plug in a friend's phone to recharge it.

Any way of getting tethering +charging, but not letting it sync photos?
[Nexus 7 Android Development] redeyedjedi:
I also think there are changes to vold.fstab as well.

With regards to low battery feature request:

https://github.com/michiil/framewor...s/java/com/android/server/BatteryService.java

Put a "//" at line 192 and 349....done!

Or, the safe way.... an option to turn it on and off.

I'm trying to figure out how to add a toggle switch and an interrupt at line 263.... but I'm helpless at java. Crue??!?! I need help!
[Nexus 7 Android Development] dashu42332:
Can the Viper4android built-in To ROM by replacing the DSP Manager:fingers-crossed:. Thank for the this amazing the ROM .