yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] redeyedjedi:
It sounds right to me. I don't understand what isn't working. The tablet thinks it's a rear cam....so when you open the default camera app and you have the option to switch to the rear cam now....that means it worked. Only thing is, when you switch to the "rear" cam it shows the Webcam. If you download any other camera app on Google play and switch to the rear cam....they should also show the Webcam. I cannot discern what problem you are having...it sounds like it's working.

Keep in mind, you MUST switch back to the front cam on whatever app you are using before you unplug the webcam because it appears as built in, the app will not stop looking for it. Switch back to front cam, THEN you can unplug Webcam if you want.

---------- Post added at 12:09 PM ---------- Previous post was at 11:59 AM ----------

OK. ...then cameraID "0" and "1" need to be switched around in media profiles.xml

Should be able to do this with root explorer or similar...double check permissions...and reboot. Don't mess anything up....or you will get into a bootloop.

RANT. ..

with respect to the portrait orientation. It thinks it's built in.....and stupid Google defaults nexus 7 to portrait mode. So it thinks camera is built in, in portrait mode. Therefore, if you physically rotate your tablet 90 degrees...then the Webcam must be also rotated 90 degrees in the same direction. ANNOYING

.... YES!!!!!

I have spent a long time trying to work around this and it just can't be done unless we can build the rom with a default landscape orientation....or somehow force rotate that rear image. And...thanks to CLOSED SOURCE camera.tegra3.so file, I don't know howto do this

and if you default the tablet to landscape....it will screw up the front facing camera orientation by 90 degrees.
[Nexus 7 Android Development] michiil:
Tried switching out the camera id didnt change anything..

Edit: editing the nvcamera.conf doesnt do anything eather..

It sais you can config orientation and location but that doesnt do anything..
[Nexus 7 Android Development] redeyedjedi:
Yea. ..I've tried messing with those settings too.

I have no Idea how they got switched or how to fix it either.

I'm still trying to figure out bt tethering too.
[Nexus 7 Android Development] michiil:
Okay i found out why the front cam was flipped: the problem was an emty line at the end of the nvcamera.conf (:

Cameras still switched tho..
[Nexus 7 Android Development] redeyedjedi:
Try removing all mods to nvcamera.conf and just use modded media profiles.xml and see what happens.
[Nexus 7 Android Development] michiil:
No changes.. Maby its just not working on kitkat..
[Nexus 7 Android Development] MetalMan2:
Thanks for the advice, but my car doesn't have steering wheel controls. I would use the Arduino to handle other things, ideally with the N7 sending information out to the Arduino to handle other automotive functions.
[Nexus 7 Android Development] Iceman_jkh:
Is there any way to adjust the count down timer of PowerdownEventManager from tasker/Android (eg: plugin/intent)?

I want to adjust my Tasker powerdown profile so that when I turn the car off and am connected to my home wifi, the tablet says on long enough to update any Google play apps it might need to. Otherwise it should simply uses my current count down of 10 sec.

There is a PowerdownEventManager setting that provides a check box for 'Skip Countdown Screen', however nothing (that I've found) for count down timer or to force a Sleep Now.
[Nexus 7 Android Development] redeyedjedi:
Power event manager has a Tasker plug in built in for forcing sleep....crue added it.

Hey....I can't get either of your last two builds to install with the latest multirom recovery. Do they need to be converted for f2fs? I can't get them to install either way....four failed installs. Do they not flash with twrp.2.7.1?
[Nexus 7 Android Development] michiil:
no the dont need to be converted. whats your error? unsupported filesystem?

i tried flashing with ext4 and with f2fs on normal twrp and everything is fine. i am using the method from liquid smooth where the updater script detects the file system and the unpacks the kernel and puts the right fstab in.

i wouldnt understand why it would work in multirom recovery...

the only problem with this method: it wont work as legolas described the converting process in his f2fs recovery thread. since you are formatting cache and system first, and than flash the rom and then format data. the rom wont flash because it detects a wierd filesysem with system f2fs, cache f2fs and data ext4
[Nexus 7 Android Development] redeyedjedi:
Well...how should I set the partitions before flashing? All ext4 fails, and all f2fs fails.
[Nexus 7 Android Development] michiil:
wait i try that out. with normals twrp you can just set the partitions in the wipe menu.

EDIT: flashes fine for me with multirom recovery on all-f2fs. have a look in the wipe menuy and check if really all partition are f2fs file system..

EDIT2: the first time after converting you need to push or sideload the rom fia adb because you need to format data..
[Nexus 7 Android Development] _crue_:
you could change it in app settings, it's the same as for app and for tasker plugin
[Nexus 7 Android Development] Iceman_jkh:
Thanks. Could you tell me how/where via tasker please. I know how to change it in your app settings, but not how to do it via tasker.
[Nexus 7 Android Development] _crue_:
you could abjust settings only in app, then in tasker you could select what to use, screen with count down or imidiatelly shutdown.

one notice, if you are using video for shutdown screen count down settings is skepped and it will sleep after video ends
[Nexus 7 Android Development] Iceman_jkh:
I see what you mean.

I was hoping to be able adjust the count down with tasker, rather than enable /disable it.

Guess that's not currently possible.

Either way, PEM is an awesome app!
[Nexus 7 Android Development] michiil:
Okay guys i need a bootanimation (:

The new name is: AutoDroid

Should be something simple. Maby with the font of the new android logo (:

Peace
[Nexus 7 Android Development] RoNeReR:
[IMG="AutoDroid"]http://oi59.tinypic.com/2i944cj.jpg[/IMG]

what u think about this logo?
[Nexus 7 Android Development] michiil:
nice (: but its auto with o (:

thank you
[Nexus 7 Android Development] RoNeReR:
opps fixed version..

its just concept.. if u like it tomrrow i can make something perfect.. if u have any idea u can draw it and i will design one
[Nexus 7 Android Development] michiil:
[MENTION=2362256]RoNeReR[/MENTION]

Looks pretty awsome in my wallpaper (:
[Nexus 7 Android Development] RoNeReR:
[MENTION=5285877]michiil[/MENTION]

i think it look better on my new wallpaper

i create a folder in my powerloss screen to collect wallpapers with autodroid logo

and i just start to learn how to build a bootanimation for android.. its contation alot of picture so i will need to find a solution how to convert video to bootanimation.zip. if u have any good way its will be nice

____________

update: one more engine wallpaper in my gallery
[Nexus 7 Android Development] michiil:
Looks nice (:

But for my taste there is to much going on on the wallpaper (: i like the minimal stuff more (: and you should use the new android logo not the old one. I think it looks better and less nerdy (:

Isnt there a setting in your video programm to export the frames as pictures?

I decided will not upload the new release before i have a proper boot animation. Since there are no important changes anyway (:
[Nexus 7 Android Development] j41224:
Any of you that use cameras having an issue where it only works after a reboot but not after a power cycle? Most of the talk seems to be about webcams. I'm using an Easycap with the Carcam app. It auto senses the camera just fine when in reverse after a reboot but after turning the car off and back on it no longer works. \Dev\Video0 is present in both situations.
[Nexus 7 Android Development] michiil:
i would like that as banner or something (:

inspired by this:
[Nexus 7 Android Development] michiil:
After a powercycle (when the easycap is not working) try this:

Install and open terminal emulator

su

/system/etc/init.d/80EASYCAP

This executes the script that is executed at start. Tell me if it worked (:
[Nexus 7 Android Development] j41224:
Unfortunately it did not. When I ran it failed on all the modules saying they already exist. From my experience in the past as long as /Dev/Video0 is there then the modules are loaded for the easycap. I have also unlpugged the easycap and verified Video0 disappeared and after plugging it back in Video0 came back but still does not work until a reboot.
[Nexus 7 Android Development] RoNeReR:
Boot animation

i think i get it how to create boot animation

its the first one..

Boot Animations

i hope u will like it.

if u have another idea to how it need to look like just share with me your idea and i will try to create it.
[Nexus 7 Android Development] gregthomas129:
Carcam issue maybe? Try force stopping Carcam and restarting it. If that works you could kill and restart it in Tasker on a power cycle.
[Nexus 7 Android Development] Iceman_jkh:
Nice. ?

Any chance of making one with blue instead of green (my interior lighting is blue ?), and simply a shimmer/shine that traces along the car silhouette?

Your work is good, but I find the rotating text and moving car silhouette to be too much for my taste. ✌
[Nexus 7 Android Development] michiil:
Good idea (:

New release soon (: if you have any wishes for the upcoming release the time to tell me is now (:
[Nexus 7 Android Development] Iceman_jkh:
?

I think most is being worked on already (febon reverse cam, usb tethering, power down settings [via tasker perhaps])

Only other ideas:

Speed controlled volume.

Quiet volume on wake up (so you don't go deaf when the car starts in the morning ?)

Backlight adjust based on ambient light /time.

But I think (some of) these can be done via existing apps.

Btw, Superuser seems to ignore requests for the first minute or so after boot up. I found this (a few times?) when flashing the latest ROM versions and getting failures from any apps that checked for root. Superuser doesn't come online for a short while after boot up? Or perhaps only this happens on very first boot after flashing?
[Nexus 7 Android Development] RoNeReR:
shiny blue

one more bootanimation

_______________

i hope that in next version usb cam work probley
[Nexus 7 Android Development] michiil:
What do you mean by febon? Usb cam? Usb cam does work.. It just doesnt work in apps where you cant choose a camera..

Usb tethering is a thing: the only one who really got that working was timur and he never pushed pushed the source.. I wrote him a mail some time ago if he could help me but he didnt even answer..

What powerdown settings are missing?

The rest is really easy to do via 3rd party apps (:
[Nexus 7 Android Development] michiil:
Thaks (:

Unfortunally it wont.. The problem is: with the files that are open and aviable to change we can only implent it as front cam and the front cam gets recognices as back cam.. And all apps that dont let you choose the cam to use, use the back cam..
[Nexus 7 Android Development] Iceman_jkh:
Febon 100 is a uvc usb video input device. I think it works natively in Android. I've connected that to my reverse cam... but not had a chance to try it.

Yea. I agree. Again, haven't had a chance to try tethering.

The only other powerdown setting I'd want is to be able to change the count down via tasker. (So that I could leave the tablet to update music /apps when connected to my home WiFi after I leave the car. Or simply turn off in 5 sec if anywhere else).

Only other request I could think of (and now that my PSU works, I no longer need this myself) is for a battery protection threshold. That is, if the battery goes below x% charge (and not powered) , the tablet goes to deep sleep... and if goes below y% charge (and not powered), tablet turns off. When my PSU was faulty, I'd often return to my car in the morning and the tablet would be on 0%. Due to the nexus auto off at 0%, I always had to wait 10 mins for the tablet to charge (to about 3%) before I could turn it on without it wanting to auto off itself.

As I said, this no longer happens to me (PSU fixed), but that 0% auto off (even when powered) was REALLY ANNOYING. ?

And yes, I think those others can be done via app /tasker. ?
[Nexus 7 Android Development] redeyedjedi:
The car cam app causes that. They have a few fixes for it on the Russian forum....but the app itself was never updated.

dig through Dmitry smol and rage2 posts on Pccar.ru

---------- Post added at 10:58 AM ---------- Previous post was at 10:47 AM ----------

Timur did NOT have anything to do with reverse USB tethering. He added it. he didn't originally do USB dac support...he added it. His otg while charging code is based on an original code bit designed for otg mode while "dock" charging. Meanwhile....original devs like jack Norrisd don't get credit they deserve. Timor wants money and he don't care about open source...let's not give credit where it doesn't belong. He can't help with things he don't understand.

Google wrote most of the code....the Ubuntu guys stabilized otg while dock charging....most people in this thread would be just as capable with a little time and effort.

---------- Post added at 11:00 AM ---------- Previous post was at 10:58 AM ----------

I thought USB tethering was working...I'm trying to figure out bt tethering. Anyone who needs it can use pdanet app for FREE and tether both ways.
[Nexus 7 Android Development] michiil:
I didnt know that its not timurs code sry..

But his code or not i dont like him..

I think its just wrong to modify gpl code and sell the product..

Well usb tethering.. I tought it worked but didnt ever get it to work again so i dont know.. Maby i was on wifi and didnt notice or something..

Edit: did you get my rom to flash ? (:
[Nexus 7 Android Development] pixel-edge:
Do I need to use tasker on top of this ROM?

Had it in my car today and it didn't turn the screen on with power.
[Nexus 7 Android Development] michiil:
Well you cant expect things to just magically happen to you.. You have to set it up.

First optain root as discribed in the op and then go into the usb power manager settings and activate fixed installation mode (:
[Nexus 7 Android Development] RoNeReR:
I think you should consider replace the default min freq of cpu to 300+

i notice that it help alot on powerloss and wakeup and improve performence
[Nexus 7 Android Development] RoNeReR:
new boot animation nexus style

https://drive.google.com/?tab=mo&authuser=0#folders/0ByMPSnGy7Y0cNUhTOXNtZmJ5bjg
[Nexus 7 Android Development] michiil:
this one is better but you need to look at the filesize.. it sholdnt be much more than 3mb..

Thank you for all the effort (:
[Nexus 7 Android Development] RoNeReR:
i shrink it via optimize png and delete same frame..

it look the same but little more faster..

so the new size is 3.53. sorry about 0.53mb
[Nexus 7 Android Development] Kuchar09:
Sorry if this is a stupid questions but I've been having issues with my flash drive since I left USBROM a few months back and just haven't been using my tablet at all.

Does it matter what format my 64GB flash drive it? It worked before I switched Roms but had problems on with a much older version of this ROM and the only way the flash drive would mount was with stickmount.

I'm thinking maybe format the flash drive and see if that fixes it. Any ideas?

EDIT:

Well it definitely sees the flash drive. In settings>storage it says USB storage 0.00B for total n available space.

Plugged it into my computer n everything shows up. Guess I'll just back everything up format it to NTFS again and put everything back on it.
[Nexus 7 Android Development] michiil:
is your flash drive ntfs? support for ntfs was added a few builds ago (: now all file systems should work (:
[Nexus 7 Android Development] Kuchar09:
It is NTFS. I just switched the tablet to F2FS and install your most recent build that was available on Wednesday. And it sees it just says 0.00B in storage settings.

I'll reformat it to NTFS again since its been ages since I've done it and also update to Autodroid and see what happens. Thanks for the quick response!!!
[Nexus 7 Android Development] michiil:
NTFS was added in the 20140731 build. I tried it and it worked (:
[Nexus 7 Android Development] Kuchar09:
Looks like it sees my flash drive on autodroid 1... But of course my music folder was corrupted so I have to redo it :(

Keep up the great work man!!!
[Nexus 7 Android Development] redeyedjedi:
it drags the battery a little to do this. You could just use trickstermod, and set it to minumum 300 on boot. Ill look into the total effect and maybe change it anyways.

---------- Post added at 01:26 AM ---------- Previous post was at 01:20 AM ----------

did you get the ntfs-3g binary for write support too? I can for sure fix any issues here.

My fleabay replacement tab should be here in a couple days, then Ill try to flash again. There are numerous threads here on usb tethering... but what we are looking for is specifically "usb reverse tethering" those are the threads with the answer. When I have time Im sure we will get this all fixed.

bluetooth tether and usb reverse tether are on the list. ffmpeg to smooth out easycap video is on the list. What other feature requests?

__________________________________________________________________________

Just to clarify a few things. You are pushing all this to github, as do I...so you are essentially GPL compliant and should advertise so.

It is legal to take GPL code and modify it for money....but it is NOT legal when you dont publicly share your changes. This is dangerous because people cannot see what risks they might be taking by using your code...and they cannot hold anyone liable if they screw their device. Publishing source protects your reputation in ways which can only privately be done with expensive and extensive beta testing. When you take a GPL licensed product and bundle it with an apache licensed product, ALL code is now bound by GPL standards and refusing to do so is illegal.

We all want to better our devices...and in the spirit of open source should be able to freely do so, at our own risks. but having the ability to see the code you are flashing mitigates this risk, as well as beta testing done by volunteers who submit issues or problems. I thank everyone who believes in this and helps in the ways that they can without asking for anything in return.

great job so far OP!
[Nexus 7 Android Development] RoNeReR:
I raise it to 400.. And change the to performence i get huge improve in performence.. I dont have battery so its really dont metter to me..

But raise it to 300 with on demand.. Will be good for all
[Nexus 7 Android Development] michiil:
Is there a possibility to add a sceen off frequenty?

I have included the ntfs-3g libary from omni and it works well with read and write (:

I looked a little bit more into usb reverse thether. So the goal is to start rndis0 witch is normally for normal usb tether, and then configure it with

netcfg rndis0 dhcp

I got it to start with a script to enable usb tethering (because you normally cant start usb tethering in host mode) but i always get a dhcp time out when i try to configure it.

Then there is another way to configure ip and dns manually with

busybox ifconfig rndis0 10.42.0.2 netmask 255.255.255.0
busybox route add default gw 10.42.0.1 dev rndis0

(These are not the right ips, the ips for usb tethering are hardcoded in frameworks base)

But that doesnt work ether..
[Nexus 7 Android Development] redeyedjedi:
does logcat show any permission errors?

I wonder if we need to chmod/chown rndis0

Ill have some time tomorrow.

---------- Post added at 03:54 AM ---------- Previous post was at 03:34 AM ----------

usb reverse tethering:

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

modify your overlays with the file from post #5

then do the changes in post #6

I will double check the kernel tomorrow, but I think its good.
[Nexus 7 Android Development] michiil:
nope nothing interesting in adb checked that (:

i was on that thread yesterday (: #6 is already included tin the device repo i will try #5 (:

EDIT: just checked the diff of the config.xml in post #5, nothing that would matter.. only thing is that on the confix from the post bluetooth tethering is turned on.

i will upload a build for you with usb tethering enabled. since its not on autodroid 1.0 and rndis0 is missing.
[Nexus 7 Android Development] RoNeReR:
any new with make usbcam as rear cam..?

I feel so safe to drive because of Murphy's Law. :eek:

Do not crash into the truck without documentation of this:rolleyes:
[Nexus 7 Android Development] michiil:
not really.. i tried everything i could think of but no succes..
[Nexus 7 Android Development] RoNeReR:
maybe there are any way to disable the front camera and use only webcam as front rear?

i really dont need front camera.
[Nexus 7 Android Development] _crue_:
I could write ) app for this, but I will need drivers for cam (universal if possible)
[Nexus 7 Android Development] michiil:
https://bitbucket.org/droidperception/simplewebcam this is the sourcecode for an app that just showes the image of the webcam.

http://droidperception.wordpress.com/simplewebcam-app/

This app workes great without any modifications
[Nexus 7 Android Development] RoNeReR:
just to be sure that u understand what is the problem.

the webcam work great in default camera app..

but if i use app like torque or caro0 or any other dashcam app.. it start recording my front camera and i dont have a option to replace the camera to rear
[Nexus 7 Android Development] michiil:
What overlays do you need exactly when recording?
[Nexus 7 Android Development] RoNeReR:
Just app like caro0 or torque..
[Nexus 7 Android Development] michiil:
Are you using odb?
[Nexus 7 Android Development] RoNeReR:
u mean obd? yes

________

just install this app

and set a custom wallpaper with hello message look great.

________

found also app bt controller can make your android phone to gamepad controller that work with nexus.

________

i try to remove front camera from nvcamera.conf and replace it with video0 and it not working..

intresting whay kitkat so diffrent from cm10 becuase in usbrom its work great..in all apps..

________

just found dashcam app

work great with usb cam but alot of feutre missing:

obd2

tour info

video browser with map

limit used space on storge (in caro0 u can set 8 16 or 32Gb)
[Nexus 7 Android Development] michiil:
My tip is that we wont get it working.. We would need ti edit the closed src files from nvidia and we cant do that..

The best bet would be to show a dev of these apps the src of the simple webcam app and ask them if the could include an option for webcam.

I will write the dev of the torque track recorde plugin (:
[Nexus 7 Android Development] RoNeReR:
i allready write to caro0 app dev.

he say that he cant promise anything but he try work on it
[Nexus 7 Android Development] Kuchar09:
Would it be possible to get a tap to wake or double tap to wake? I can't remember the kernel I used that had it but it sure did help charge the tablet faster. I did notice the battery drained fairly fast over night so you would probably only want this feature on while charging.

Just something I kinda miss.
[Nexus 7 Android Development] kxf41:
Hi thanks for this great rom, is it possible to install xposed? I would like to add a few modules I use with my phone like YouTube ad block and force landscape
[Nexus 7 Android Development] michiil:
Letse see what our beloved kernel dev [MENTION=4035939]redeyedjedi[/MENTION] says (:

Sure why not?

Hey guys

Next release will have included opendelta support (:

This will make it a lot easier to update for you guyd since the update will be about 5mb in size and will flash automatically (:

BUT: i dont have a server. I will be using free webspace for now.

But if someone here has some gb webspace to spare that would be awsome and speed up updates a lot (: