yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] _crue_:
is there fix for Clock Alarm?

it sometimes become unclosable at morning :) and so quiet (no sound at all)!!!

Firm sleep is off.
[Nexus 7 Android Development] michiil:
i will try to look into it (:
[Nexus 7 Android Development] papinist:
I finally manage to install autodroid and starting to play with it this morning :)

I added media and volume buttons, but the option to change color only to system buttons (would be useful to recognise at a glance system buttons) doesn't work. It changes color to all buttons.
[Nexus 7 Android Development] Iceman_jkh:
I can't seem to find the previous XDA post about this, but I recall there being a way to stop the joycon USB controller (converts steering wheel controls into keyboard outputs) from becoming the default hardware keyboard, thereby preventing the OSK from ever appearing again.

Can anyone recall the fix? If suitable and desirable, can this fix become an option within the ROM?
[Nexus 7 Android Development] redeyedjedi:
Should just be in settings 》language and inputs

just make android keyboard the default...not joy conn

Did you get a dmesg yet for your USB mounting problem?

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

I've been able to compile the full ffmpeg library for android. Do you know how to write jni files? I suk so bad at java....and this will allows us to have perfect easy cap video....AND audio support. My attempts to teach myself are slow.

what I need to do is take the simple Webcam app source....but instead of passing the video straight to camera preview....I first want to intercept it.....push it through ffmpeg.so where I can deinterlace it....then pass smooth video back to camerapreview.java.
[Nexus 7 Android Development] _crue_:
I could, just give me info what should be done, in PM
[Nexus 7 Android Development] papinist:
I can't get the modified bootanimation (shiny blue) to play in landscape, it continues to play in portrait mode!
[Nexus 7 Android Development] Iceman_jkh:
Not yet. Hopefully soon.

The android keyboard isn't an option there, only joycon (somehow). I've enabled Android keyboard, but there's a second option (further down) 'default hardware kb' and joycon is the only option. It has something to do with having the joycon plugged in. If I unplug the joycon, the Android OSK will appear when tapping in a text field.
[Nexus 7 Android Development] Iceman_jkh:
ROM Feature question: Is it possible/easy to add a feature to enable the ROM to power downstream USB devices for x seconds after power is removed from the Nexus? (kind of like a hybrid USB-HOST/OTG mode)

Currently in USB Host mode, the Nexus wakes when power is provided and deep sleeps when the power is removed.

Is it possible to modify the behaviour when power is removed, so that the nexus powers downstream devices for a short while (say X seconds, potentially the same time set in the PowerEvent Mgr count down)? (But still keep the same wake on power on behaviour)

This would allow the system to perform functions (App updates, download cover art, etc.) in the few minutes after the car was turned switched off. It maye also help with USB storage/cameras/devices unmounting and crashing (like I've had with my HDD).

Not sure if this is technologically possible, just a thought.

:)
[Nexus 7 Android Development] redeyedjedi:
Do you drive the car everyday? Then turn fixed install mode off. Then use wake lock blocker to kill what you don't want...keep the rest. You will only lose about 3-5 percent over 8-10 hours. Then the simple option "wake device when power is applied or removed" under power settings.

Pwrevntmngr can be fixed to sleep on power loss regardless of fixed install mode on or off. I have a version that does this. I'll post it for you. Sleep it manually for now.
[Nexus 7 Android Development] Iceman_jkh:
I drive the car every second day or so and only 20mins. This doesn't always provide enough recharge to keep the battery from *eventually* getting too low unfortunately.

I'll take that under advisement and use that method if I still can't get this HDD to work reliably. That version of PEM sounds good. Thanks.

Recently I've not been able to replicate the USB HDD 'fail to mount' issue (which is a good thing I guess).

I've been working on the logcat and hope to have something to you today.

EDIT: I've got the logcat, last kmesg and dmesg BUT only for when the USB HDD (1TB Sony USB 3.0) correctly detects and mounts. I haven't been able to replicate a failure yet.
[Nexus 7 Android Development] Iceman_jkh:
Feature request: Car Droid Audio Volume Profile

1. Be able to set a volume level for when the nexus powers on/wakes up, or

2. Be able to set a volume level for the device to gradually go from (x) up to (Y), over (z) seconds, upon start/wakeup.

3. Set the number of steps in the volume slider (similar to the Xposed module).

Just more food for thought. :)

(I realise some of this can be done in Tasker, as I've come pretty close myself and then lost the profiles/tasks to a corrupt backup :( )
[Nexus 7 Android Development] gregthomas129:
Autodroid with Digital Car frontend, easycap USB video capture device with reverse camera and carcam app. Camera is not great but it works.

Watch "Easycap Reverse Cam Android" on YouTube

Easycap Reverse Cam Android: http://youtu.be/jPexYyG68Z0
[Nexus 7 Android Development] papinist:
more info please:

- how do you detect reverse shift?

- what app is this "digital car frontend"?

- type of camera

etc..

---------- Post added at 06:00 PM ---------- Previous post was at 05:58 PM ----------

:confused:
[Nexus 7 Android Development] gregthomas129:
http://pccar.ru/showthread.php?t=17970 carcam app detects when video is available and pops up, then goes back to the background when video stops. Camera is powered by reverse lights so it turns on when in reverse, off when not. http://www.mp3car.com/android/156929-new-frontend-digital-car-for-android-download.html Digital Car is an android car frontend or home screen being developed by a guy on mp3car.com

Camera is a cheap ebay backup camera hooked to an easycap USB capture device plugged into my USB hub.
[Nexus 7 Android Development] papinist:
thanks, reverse light to power up reverse camera is a great idea.

Is this the app you are using? https://play.google.com/store/apps/details?id=com.carcam.trial
[Nexus 7 Android Development] gregthomas129:
No... The carcam app I'm using is not in the play store. I edited my previous post with links.
[Nexus 7 Android Development] papinist:
thanks.. after your video I would try to use a reverse camera too :)
[Nexus 7 Android Development] RoNeReR:
i upgrade my 16gb dok to sandisk cruzer blade 64gb, i copy all my music to new one. and there is a problem with play music from dok.

i have popping and cracking every 45 sec.

i try use fat32 exfat and ntfs.

ntfs work better but now feel like a daily use. too much cracking.

its happend in all players.
[Nexus 7 Android Development] dakjones:
2013 Nexus 7?

Any plans to bring this to the 2013 N7?
[Nexus 7 Android Development] realberti:
+1

Gesendet von meinem A0001 mit Tapatalk
[Nexus 7 Android Development] RoNeReR:
i upload fixed zip try to download the new one.
[Nexus 7 Android Development] papinist:
thanks, I will try ASAP
[Nexus 7 Android Development] gregthomas129:
I must have missed this boot animation... where can I download this?
[Nexus 7 Android Development] johnny_swindle:
Recommended flashing procedures coming from rooted stock

Very interested in this ROM....what is the recommended flashing procedures when coming from rooted stock 4.4.4 with CMmod recovery?

Thanks...

Johnny
[Nexus 7 Android Development] dvb2k:
is there any way to install this rom without losing all my data?

running on t1murs usb-rom atm....
[Nexus 7 Android Development] papinist:
on first post, click on powerdown videos and the on the google drive link. You will fine powerloss and boot videos :)

EDIT: is it possible to active heads up notifications? I see options in settings but nothing happens.
[Nexus 7 Android Development] johnny_swindle:
Anyone???
[Nexus 7 Android Development] redeyedjedi:
Wipe and flash.....or..

Install multirom recovery....format to f2fs. ....flash
[Nexus 7 Android Development] RoNeReR:
i just do some test.

i use cpu monitor from the play to try to locate the problem.

and i see that on wakeup on first 10min the cpu usage is 99% 100% and there is popping and cracking,

after 10min of do nothing the cpu usage was down to max 10% usage and there is no popping cracking.
[Nexus 7 Android Development] redeyedjedi:
You may have more than one app overloading media scanner....post a logcat. This problem is not experienced by most people.
[Nexus 7 Android Development] RoNeReR:
I have only poweramp.. I disable the auto liberty.

I remove other default player with titanium backup

Still have this problem
[Nexus 7 Android Development] redeyedjedi:
No.

---------- Post added at 12:11 PM ---------- Previous post was at 12:02 PM ----------

Grab a logcat of the event over adb and post it on pastebin. If car install use trickstermod to turn on adb over WiFi.

Also get a dmesg afterwards. If I had to simply guess I would say you have a large drive that has issues scanning. I've ha dthis problem with a lot of USB sticks that have an LED on them, but using a powered hub solves it.

Try going into settings > advanced options > media scanner > "do not scan on boot"

AND ...

pwrevntmanager > settings > lock USB disk > "on"
[Nexus 7 Android Development] johnny_swindle:
Thank you........:good:
[Nexus 7 Android Development] RoNeReR:
i apply lock usb disk and disable mediascanner.

the problem still there.

i will try to upload logcat later, the nexus is in fixed install in dash so its little project.

maybe there is app that can log to sd and i will send it via mail to my pc?
[Nexus 7 Android Development] hugo_bjk:
which easycap are you using? with stk1160 chipset or any other else?
[Nexus 7 Android Development] redeyedjedi:
ALL easycap devices are supported.... and I can build drivers for any device at linuxtv.org. many TV tuner and video capture devices already have the modules included.
[Nexus 7 Android Development] gregthomas129:
I'm using this one: http://pages.ebay.com/link/?nav=item.view&id=231308722539&alt=web

It's not an STK1160 but carcam can use several different ones. And I think Autodroid's kernel includes drivers for a few different ones. I wanted the stk1160 but it's hard to tell what your getting. I got lucky and found this worked.
[Nexus 7 Android Development] redeyedjedi:
Use trickstermod and turn on Adb over WiFi. Then you can do the logcat remotely no need to remove tablet from car.
[Nexus 7 Android Development] RoNeReR:
so for help me u need logcat from the wakeup ? (soon as posible, flight mode problem)

and i will stop it after the problem solve? and play music in all this time?

i also need to watch cpu monitor to be sure when it will finish.
[Nexus 7 Android Development] hugo_bjk:
hi again

is this rom compatible with multirom?

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

which easycap should i buy for better video quality?
[Nexus 7 Android Development] hugo_bjk:
hi again,

which gapps should i install?

can anyone give a link?
[Nexus 7 Android Development] _crue_:
I'm using this http://www.slimroms.net/index.php/d...4-4/13394-slim-mini-gapps-4-4-4-build-7-x-187

other you can find here http://slimroms.net/index.php/downloads/dlsearch/viewcategory/1150-addons4-4
[Nexus 7 Android Development] hugo_bjk:
thanks

i will install them.
[Nexus 7 Android Development] machmanx:
Thanks a lot

Don't know why it took me this long but I wanted to say thanks to everyone involved in making this custom rom happen. And an extra thanks to redeyejedi and crue for the previous version they did. It was because of your support that I went ahead and did the car tablet system in my car. I'm really lazy to post it but I'll get around to posting what I did for my car ;)

A special thanks to michiil for continuing this project with the latest android version :)

Crue, I wanted to request an extra option in your Power Event Manager program. Usually most people just put the key into their ignition and start the car right away. I don't do that, I actually turn my key to the ON position, wait two seconds, crank the engine for like a second, and then return the key to the ON position. It's just the way I've been doing it for the last 10 years, I don't want to change that tradition. Call me a bit superstitious cause I want to hear my car beep two times before starting it.

Now the issue is this. Because the key is in the ON position, the tablet turns on. Then after starting the car sometimes I get the countdown screen. I can only assume that during that 1 second crank the tablet doesn't receive power and assumes that it has the no power state, hence the countdown screen shows up. So after my car is started I have to rush unlock the tablet and cancel the countdown. It's a bit annoying.

SO, can you add an option that allows me to adjust the detection delay before it goes into countdown mode? It would greatly help me out.
[Nexus 7 Android Development] besjr69:
Hi all,

I'm trying to figure out an issue and maybe some can help or give me pointers. I have AutoDroid configured for FI mode. Lock USB disk is enabled just as I had it with Timur's ROM. The problem I'm having is that it will intermittently mount my USB 3.0 flash drive. On initial boot it mounts, but shortly afterward and notification pops up saying the USB disk has been removed. If this normal? My drive is 128GB and formatted NTFS. Is there a drive limitation? I ask because I once had a 500GB HDD and had minimal issues, but i went away from it when I added the JoyCon Exr and FEBON100 (back up cam). Both are disconnected right now for troubleshooting so power to the USB drive should not be a factor.

Bobby
[Nexus 7 Android Development] Iceman_jkh:
I have similar hardware to you and I don't have this issue. I have a USB 3.0 1TB formatted to NTFS.

Is there any chance that the storage device you are using has a faulty power connection/USB connection/cable?

That would be my first (and best) guess.
[Nexus 7 Android Development] _crue_:
Yes :) it's very good improvement, I didn't add this becasuse I hvaen't installed yet tabled in the car. I will add this in nearest time.

But will be good add this in kernel to avoid disconnect usb on short power loss

with param as for fixed car intallion (as file) that could be adjasted in app :)
[Nexus 7 Android Development] Iceman_jkh:
I agree that this is a great feature, but one potential issue might be that the power supply which supplies the N7 is also used to power the USB devices/hub. If that PSU turns off, the devices would too. So even though the N7 stays on for a little while longer (until power comes back on), all the devices (cam, audio DAC, HDD, etc) have dismounted/removed.

Unless the N7 could be made to provide power for those few seconds (to keep the devices mounted), I believe this would cause a great deal of (mounting/dismounting) issues.
[Nexus 7 Android Development] _crue_:
I guess kernel could handle this short power off and do no power off usb devices, but for a while power them from battery.

but this could be complecated task for [MENTION=4035939]redeyedjedi[/MENTION] and [MENTION=5285877]michiil[/MENTION]
[Nexus 7 Android Development] Iceman_jkh:
Agreed.

Agreed.

And this might improve the reliability of the system as a whole - not that it's the ROM's fault that devices power down when the external PSU turns off.
[Nexus 7 Android Development] papinist:
I solved the problem of power goes down during car start with a better PSU. I'm using a DCDC-USB psu: if power on the +12v switched line goes down for a short time, it does not cut the +5v line. Obviously it is powered from the +12v permanent.

It also has feature of delayed power off and on.
[Nexus 7 Android Development] _crue_:
this is :) hardware solution :) but I believe software solution is better and don't ask additional money spending :)

Idea of such project is a low-coast solution :)

for hi-coast :) we could by branded device

IMHO
[Nexus 7 Android Development] papinist:
of course!

But since you need at least one psu, and cheap ones does not work properly in my installation, I bought the DCDC andit is a great piece of hardware.

And I thinks as Iceman said, that it would arise some problems with usb devices dismount.

Hope that you can solve this too! This is a great ROM and I like it very much!

Thanks to your contibution too ;)
[Nexus 7 Android Development] redeyedjedi:
This can be done by simply turning off FI mode....and mod ding a bit of code in pwr event mgr to trigger firm sleep and 'gotosleep' without checking for FI mode.

With respect to supplying power from the tablet for a few seconds once external power is lost...this IS possible. BUT....it cannot be done instantaneously. ...In other words....it is not possible to detect power loss....with losing power. You can have it switch to provide power internally if external power is lost. But you first have to lose power, which unmount devices...then they would try to remount as the tablet is going to sleep! Not good.

Leaving FI mode off with a robust external power supply....will allow instant power to otg host with an external power loss... and with a few code changes...you can control if/when tablet goes to sleep.

With the current version of power event manager and FI turned off.....I think with Tasker you could issue a screen off command with power loss.....then use a timer to issue the sleep command from the Tasker plug in for power event manager after a set period of time. Is that plug in still there?

---------- Post added at 12:31 PM ---------- Previous post was at 12:16 PM ----------

Much appreciated. I feel I should point out that [MENTION=5285877]michiil[/MENTION] didn't just fork....he did a lot of stuff on his own....like the ten button mod and volume control on Taskbar. He deserves many thanks. I'm happy to help as I have time.

once I finally fix the easy cap issues.... (I'm almost there) I will start looking into a new/better way for mounting and unmount in drives on power loss and recovery.
[Nexus 7 Android Development] michiil:
Since im a electrician and not a software developer i would solve this on the hardware side (:

The power loss when starting the engine should be like half a secound and its easy to bridge this time with a capacitor. You would need to try out witch size is write for you. 2000 µF should be morr than enough. They are pretty cheap an you just need to put them between the powersupply and the hub (:

And here is how it workes: you put on the powersupply and the capacitor charges. As soon as the supply is gone the capacitor discharges and supplys the tablet and the usb devices. Ill test it to find a good size next week (:
[Nexus 7 Android Development] redeyedjedi:
He also should probably add a bleed resistor or a current limiting resistor as well to level out the discharge. Something high watt and ohms that don't allow current to exceed 1.8-2 amps.
[Nexus 7 Android Development] dakjones:
what are you guys using to keep your screen awake? I thought power event manager in FI mode did this.
[Nexus 7 Android Development] Scriion:
Can I second this request.. I don't do it for the reasons mentioned above but I have a diesel and have to wait for the glow plug light to go off before I can continue ignition... It has always played havok with roms...

Awesome work on AutoDroid.
[Nexus 7 Android Development] redeyedjedi:
Tap 12v from the starter relay and add an inline fuse. There are probably other 12v sources that aren't cut off when starting also.

Otherwise....?need a modded pwr event mngr that doesn't check for FI mode before sleeping tablet. One of the older versions from crue already did this....I need to find it.

If you have FI mode off, and external power supplied, then there is potential to use the tablets battery, but this won't happen unless the current available at the battery exceeds the current available from the supply. This is safe to do.
[Nexus 7 Android Development] machmanx:
Wow, love the responsiveness of the developers. :D

I gave Michiil a separate line to highlight my thanks towards him. Yeah, redeyejedi and crue were working together for a while so I put them together ;)

So what I have powering my tablet and hub is a 12V to 5V buck converter. I chose that for its efficiency and less energy waste compared to a typical linear regulator. Technically it goes upto 5A but because I only have the tablet and the hub hooked up, it's currently running off of the red wire (switched wire) of the car. My tablet seems to be always charged when I leave it in the car, probably because of the airplane mode that takes very little power. I do have a relay that I eventually plan to install to have the buck converter connected to the yellow battery wire, but right now the tablet setup has been working fine, except for the occasional countdown screen.

Thank you crue. I look forward to seeing an improvement to your already great Power Event Manager app. :)

So I'm cool with hardware and/or software solutions. But my question is now this: If I put a capacitor in series with the buck converter output and all the devices being powered, won't the charge/discharge time be affected when the tablet pulls more or less current? Also, because of the buck converter do I still need a current limiting resistor?
[Nexus 7 Android Development] redeyedjedi:
You may not. It's one of things that's just good practice. The resistor would limit the rate of discharge of the added capacitors. It's not that I meant to limit the current.....I meant you should add a resistor to control the discharge of the caps.....but not a resistance so high that it prevents fast charge at 1.9 amps. So there should be a value derived from I think

V=I/r

5 volts 1.9amps, find r

Any value r or less than r would allow 1.9 or greater amps of charge. If r is too high....it will drop the current to less than optimal and get REALLY hot. I suppose with high enough value of capacitance it will simply discharge based on current draw but it would be wise to use a big fat 10 watt or more low value ceramic resistor added in series on the positive leg. I may not be suggesting the right equation tho.
[Nexus 7 Android Development] michiil:
It found a easier solution with smaller parts: if you put a relay with the switched 12v on the coil and switch the battery 12v witch it. That way you can add a much smaller cap to the relay coil amd have the same effect.
[Nexus 7 Android Development] dvb2k:
i got 2 problems with this mod....

ive installed it, my eyetv micro (dvbt) stick works after the installation.

after a reboot it doesnt work anymore...... why?! someone can help?

2nd problem: after i plug off the powercable it doesnt go in standby.. it stays up - nothing happens. why? (fixed installation mode is ON)
[Nexus 7 Android Development] michiil:
Its a rom not a mod.

As i said many times already powereventmanager is designed to use in usb host mode. If you just unplug the carger nothing will happen.

It you want to use it this way use tasker. The powereventmanger has a tasker plugin.
[Nexus 7 Android Development] gregthomas129:
I think the capacitor should be in parallel with the charger not in series. And keep in mind that most caps are polarity specific. You can make lots of loud noise and smoke if you hook them up backwards!!!