yashsingh1/xdaforums huggingface dataset:
[Android Head-Units] alaninsitges:
Thanks for doing and posting this. I've never done any Android development before and so it's slow going at first, and I have run into a couple of problems maybe or issues? It's a huge amount of data to pull down obviously when you sync the full source. Mine kept failing with random errors about not being able to read. It seems this is due to timeouts so I used the sync -f option with repo and after nearly a day got the entire thing. But then after fetching projects completed it threw an error because it can't find revision master in rktools. Is this a configuration issue or can I ignore it?
[Android Head-Units] Zaphod-Beeblebrox:
Yes, the radio app & MCU settings app had many UI changes between 1.09 and 1.1.4. Since you've already started the radio app, I'll wait until you get that one done before I start trying to fix the DPI and audio ducking.

BTW. What app/process are you using to do the decompiles. I might dig into a few this weekend myself. In particular I think we need to look at SysUI and Frameworks as well.

---------- Post added at 05:25 AM ---------- Previous post was at 05:14 AM ----------

I don't think its a configuration error. If you look at the repo for rktools (https://github.com/Nu3001/rktools) you'll see the branch Master is the only one I've pushed to. My guess is something is off with all the timeouts you are getting. Note that the platform and our github source is only for repo's that were changed by Newsmy for this device. MUCH of the stock AOSP is used, and there is no since in us trying to fork and maintain those repos. They are pulled directly from google's source servers. Unknown where your connection issues are coming from. One thing you can do to help track that, is to reduce the number of threads being used for the sync. repo defaults to using up to 16 threads in my config. This makes it really hard to see where the failure points are coming from in that 'stream o text' in your terminal window. try: 'repo sync -j1' ... this will slow it down and process 1 fetch at a time. You'll be able to see failure points.

The good news is, rktools is not needed for the android/system build. It has various flashing and img tools in it, but not something you would need right this second. My goal when setting up the Repo was to completely replicate the source that we found for 1.0.9. I made no efforts to 'prune' or optimize. Now that it fully builds (I didn't flash my build yet though. I assume it's a good solid 1.0.9 build), we are starting the work of catching up to 1.1.4. Then we start optimizing and putting our own touches on to the system.
[Android Head-Units] alaninsitges:
Man I wish it were that easy. So far I have removed and replaced it a few dozen times, switched from OTG to host port, swapped SIMs, tried a different dongle, rebooted more times than I can count, done a reset to defaults a few times, etc. The list stays empty, and there is no way to add an entry - when you save it just goes back to the empty list.

These settings are stored in /etc/apns.xml. On my machine that file has several thousand entries in it and uses chinese encoding so I'm assuming it's the original untouched file from Newsmy. There is a comment at the top of the file that says:

<!-- This version must agree with that in apps/common/res/apns.xml -->

but that file (and directory) don't exist.

Any idea what's going on?
[Android Head-Units] Zaphod-Beeblebrox:
Where did you find this? I have a number of Baidu drops I'm watching for new files, but the last MCU I see on any of them is v31.
[Android Head-Units] nestortoledo:
in lzhp1116 baidu disk http://pan.baidu.com/wap/link?shareid=3929622506&uk=16995692&third=0&dir=/安卓升级/纯安卓&page=1
[Android Head-Units] Zaphod-Beeblebrox:
Very interesting. I've been watching lzhp1116 as well, but through a different link:

http://pan.baidu.com/share/home?uk=16995692#category/type=0

The files on your link don't show in the link I've been watching.
[Android Head-Units] nestortoledo:
Yes i also have both links. always check boths. May be are diferent accounts from same user
[Android Head-Units] renedis:
And his blog (calls himself "on the way") with password protected files:

http://user.qzone.qq.com/949271734/main

cuger88:

http://pan.baidu.com/share/home?uk=1596625300#category/type=0

Imtimo:

http://pan.baidu.com/wap/share/home?third=0&uk=3372390763&start=0

lzhp1116 "open account":

http://yun.baidu.com/share/home?uk=16995692#category/type=0

lzhp1116 "private account":

http://pan.baidu.com/wap/link?shareid=3929622506&uk=16995692&third=0&page=1

---------- Post added at 01:19 PM ---------- Previous post was at 01:08 PM ----------

Well that one isn't very hard to guess :P

Github: renedis
[Android Head-Units] Zaphod-Beeblebrox:
Added. I don't want to 'guess' and give the wrong person push rights to the repo ;)
[Android Head-Units] renedis:
@ everyone:

Thank you for all the support so far.

Work in progress:

- Get android Lollipop (5.0.x) to work

- Get TWRP to work

Lollipop is booting but can't do much more then that. I think i'll wait until we have a good functional own build from source.

The Bonovo apps arn't ART compatible to.. On each boot it wil "optimize" the apps which takes for ever!

I also would like to see a Cyanogenmod build for myself. I have bought a HTC One M8 and installed Cyanogenmod 12 on it and I like it very much so far!

TWRP build is edited, not build from source. Have edited the recovery.img but haven't had the chance to flash and test yet.

My work is getting on a low profile at the moment. Currently busy with my new job and buying a new home for me and my wife. And besides that, I'm enjoying my H/U at this moment instead of continuously flashing images. Would love to buy another Android-box but Summer is asking 110 dollar including shipment for the box. A little bit to much for me for home/indoor developing.

Also, has anyone heard from [MENTION=6095496]red13dotnet[/MENTION] lately? I've sended him 3 HDD's for his build server for free and multiple people have donated money to him? Not to expect to much but it would be nice to hear what he is currently working on or what status he is at.
[Android Head-Units] nestortoledo:
And this one http://i.youku.com/u/UNTg2OTM3NzQ0/videos

Is his video channel in youku
[Android Head-Units] tal0s:
Would you mind posting exactly what you did? I.e., wire colors, connections, etc.
[Android Head-Units] asidorowicz:
I'm currently using apkstudio and smali2java (hensence.com/en/smali2java/). There are currently problems with smali2java and I often have to look at the smali myself (most notably nested classes fail, and I must manually choose to convert them to java)

My process is not very refined - I run apkstudio on the 1.0.9 and 1.1.4 apk's, save their outputs, use a diff tool to quickly locate file differences, port binary/config resources. When I notice code differences, I attempt to generate java files from the smali, go with a diff tool, and start patching the real source

I need to find a better tool than the smali2java... It sometimes fails on nested conditionals, and fails on nested classes....

Edit: I've also taken a look at xdaforums.com/showthread.php?t=2345435 . It seems to handle nested classes just fine, but you lose all the variable names, line numbers etc... I think using both could yield interesting results. Alternatively, someone could fix the smali2java problems :P

Edit2: Further, the ressource ID's change, so I replace the ugly hex/decimal constants in the patches with whatever matches in public.xml
[Android Head-Units] red13dotnet:
I am still alive. Up until very recently I've just been focused on survival and feeding my household. Just started my new job at NetApp last week and I am in some pretty intensive training right now and will be for a while. I'm also in the middle of a slow move to a new place. I am still very committed to this project, just having to keep it on the back burner for a little while longer. Sorry if I made anyone worry.
[Android Head-Units] TreeFiddyTacos:
Hello everyone

First of all i would like to thank y'all for this amazing thread, keep up the great work!

I'm currently in the middle of installing this radio into my toyota truck, and so far everything is connected and functioning properly except for the SWC. I purchased an ASWC-1 controller and connected it to my car according to the manufacturers instructions. I then connected the two wires that come from the 3.5mm jack port on the controller to the radio. Right now I have the brown wire going to KEY1 and the brown/white wire going into KEY GROUND. The controller acknowledges both radio and truck, but when i try to assign a button to a specific function it recognizes an input but thats about it. None of the buttons will work outside of the key editor app. Also, can someone explain to me what the accuracy option does in the app?
[Android Head-Units] Zaphod-Beeblebrox:
Have you tried this: http://www.decompileandroid.com/

?
[Android Head-Units] briangig:
Sorry I cannot help but if you resolve this, please let us know! Ordered my HU the other day and will be installing in my Tacoma with a ASWC-1 as well. Got any pics of the unit installed?
[Android Head-Units] zanix:
Indeed, if anyone figures this out I would like to know as well.
[Android Head-Units] blacklistedcard:
Just pulled myself. Testing out the compiling of the kernel and ROM. Built the build environment from scratch on Fedora 20.
[Android Head-Units] TreeFiddyTacos:
Not really, but I can take some pics and upload them tomorrow when I have good lighting.

Also, does anyone know how the camera app works? I was thinking about installing a camera on the front of my truck to help with parking and have it recording a 10 minute loop in case anything were to happen.
[Android Head-Units] Zaphod-Beeblebrox:
When you use the Key Editor to assign a key, do you see an actual number in the assignment box? As you program more keys, do you see that previous numbers disappear and/or the numbers from the keys you pressed are inconsistent? More than likely your ASWC-1 is not programmed correctly. Auto-Detect did not work properly for me. It thinks it knows what radio type you have, but it doesn't :)

Follow the instructions to manually set the radio type. I think I used the Metra OE designation. If not, try a few different ones. Once you find the right spot, the keys numbers will get a little more consistent. BTW, those numbers represent some variation of the resistance of the resistive ladder.

The variance allows you to control how precise the resistance has to be to match the key assigned. The resistive values measured are not exact. The larger the accuracy number, the more values +/- the assigned value will match the current key. Set it too high, and you run into overlapping key assignments. Set it too low, and if your AWSC-1 putting out wildy variable values, you'll have missed key presses, etc.

---------- Post added at 05:19 AM ---------- Previous post was at 05:09 AM ----------

To my kernel gurus :

We know how to change the boot logo at compile time, or system pack, etc. Can one of you devise a process (shell script?) to do this while booted/running? If this can be done, I'll write a quick UI front-end into the settings app to allow users to pick from a set of pre-set images.

KThksBai.
[Android Head-Units] x5nder:
I talked about this in this thread a while back. I preferred a dpi of 160 as well, but the Radio app keeps crashing on that dpi. Strangely enough, when using Xposed App Settings to lock the dpi of the Radio app to 240, it still doesn't want to start. So I reverted back to 240 dpi again (after which the Radio app worked flawlessly). It would be great if this gets picked up, if only for the fact that so many more widgets fit on a 160dpi homescreen :)
[Android Head-Units] Zaphod-Beeblebrox:
While I've not delved too deep into the layouts and values of the radio app yet, I know that Lazy Devs (tm) have a habit of putting specific layouts/resources into SW (Screen Width) dependent folders. While this is a great idea for apps that need to run on both phones and tablets, but have different layouts for each, it's a horrible idea for an app that was designed to run on one single device type. I don't see the radio app being re purposed for too many portrait oriented devices in the future.

So a quick lesson on DPI and how it relates to our device and the various layouts: http://developer.android.com/guide/practices/screens_support.html

Physically, our devices are 1024x600 w/ 7 to 8 inch screens. this is squarely in the 160dpi range (MDPI). All resolutions are scaled against MDPI (160), such that 1024 / (160/160) = 1024.

Android thinks our screen width is (1024 / (240/160)) = 682. It then takes HDPI images and scales them to fit our screens (in effect making them larger). It also creates some confusion in the 'screen size' category, as by physical size we should be defined as 'xlarge', but by resolution we would be 'large'. For those haunted by android market incompabilities, I'd probably look at this issue first. I don't think setting a device string is going to override these issues.

think setting our DPI properly, adjusting the layouts of the bonovo apps, and then using the tools built into Android (font size, etc), and any particular app (launcher Icon size, etc) to adjust sizing to fit our needs will result in a much smoother experience.
[Android Head-Units] Soul0Reaper:
How's the boot time on this HU?
[Android Head-Units] nestortoledo:
While that i plan to set DPI to 160 or 213 AND USE APP SETTINGS to force bonovo apps to use 240

I will get my car today, so will try test tonight
[Android Head-Units] kingamra:
I have the PAC harness (basically same truck as Zaphod-Beeblebrox) and I set the harness as "other" and it picks up the key press well... my disappearing key problem has umm.... disappeared... the resistance numbers in the key editor app have "normalized"... i did pay attention to how I'm physically pressing keys tho...

Anyone with thoughts on the bluetooth call volume? As mentioned the only app that controls the volume is the native bt phone app.. which doesn't do the best job. I've tried pretty much every bt volume app and xposed module but the only want to control the android bt (obd one) not the hu bt.... which makes sense in a way it doesn't recognize the hu bt... just sucks... could the volume be increased thru parameter tweaks in the native app (I'm thinking back to a similiar issue from an old phone I had )??

Since dpi is the topic-de-jour... I'm trying to use the verizon messaging app for sms.... installs fine... as soon as I open it, it opens then immediately minimizes... does not fc as it is still running in task manager... just every time I open it.. it immediately minimizes... i was going to do a log cat but it's not fc'ing... could this be a dpi issue?

....2 week update on using the unit.. it still exceeds expectations...
[Android Head-Units] kingamra:
Tasker is going to be the death of me... i know it's not rom related so I'll move post if peeps get upset...

Tasker setup

Profile - net - near bt (bthfd)

Task

1. blue tooth auto connect plug in (bthfd)

2. Toggle hotspot

I've tried every combo I can think of... including no plugins... secure settings plug in and currently bt auto connect plugin... tried taks 1+2.. separate profiles for bt on and tether on..

F'n thing worked once now shows no active profiles... ideas? Verizon note 3 rooted kk...

Tasker basically runs like a flow chart.. if this then that.. i feel like I'm missing something epically simple or I'm just a dumb ass or both...

Tia!
[Android Head-Units] coyttl:
.. Change your font? :D:p
[Android Head-Units] red13dotnet:
New stock rom released 1.0.9

Just downloaded the freshly minted stock rom (1.0.9) from the baidu site. Haven't had a chance to mess with it and I have no idea what's changed but I'm uploading it on my Gdrive share if anyone wants to give it a whirl.

http://gdriv.es/red13dotnet_nu3001/

---------- Post added at 05:13 AM ---------- Previous post was at 05:02 AM ----------

Scratch that, did find one thing of interest at first glance BonovoSoundBalance.apk. :good: No time to try it tonight, if someone else does let me know how it works.
[Android Head-Units] easyguy:
Darn...did not check my version. I'll check tomorrow, hope its the newest one.
[Android Head-Units] alaninsitges:
Daaaamn, could it be that Newsmy is the first Chinese company ever to listen to their customers? This bodes really well. Let's see where we go with RDS and mic input now. (But just in case, please don't stop working on your fix!)
[Android Head-Units] toologic:
Hi. I recomend to use RK31xx_firmware_tools by SergioPoverony on 4pda

-unpack(pack) update.img

-unpack(pack) system.img

-unpack(pack) boot.img

-unpack(pack) recovery.img

- parameter tools

-flash tools

-boot logo tools

As sample work with logo tools - please see attach screenshot

Please add this tools into your lib :)
[Android Head-Units] priusfan:
I tested... and was a bit afraid of the result...

bootlloop on ANDROID ... when attached to the HU.

but the android brain was reachable using adb.... I pulled the apk from system/app...

Then I applied back your image (1.0.8 modified), everything is back to normal.

I installed the soundbalance from 109. it provides a basic volume control with 4 sliders
[Android Head-Units] genius312:
anna from newsmy told me the unit stays on for 2 hours after you turn off the key.

That way the boot time is intently !
[Android Head-Units] usafle:
So then this official update causes the unit to boot loop? So, stay away from it?

This way others don't suffer the same issue...

On a unrelated note; mine has shipped!!!
[Android Head-Units] red13dotnet:
Have you tried it? Is that balance/ fader actually funtional?

---------- Post added at 01:23 PM ---------- Previous post was at 01:15 PM ----------

Thanks, tried that out and it works just fine. I just happened to have had a brand new boot logo ready and was literally hip-deep in hex editing it into the kernel when I saw this. I might leave it as a surprise until my next version but I will tell you the release name I settled on: "Android:Amplified"

Still waiting on hardware to arrive for usb mic development work.
[Android Head-Units] priusfan:
about the BonovoSoundBalance:

I just installed on rel 1.0.8 the apk from rel 1.0.9. it has no effect.

But this is not a big surprise: IMHO, It should be installed with BonovoHandle and BonovoMcu from the same rel...

I will check this...

In rel 1.0.9, there is also a new apk: BonovoCarDoor
[Android Head-Units] renedis:
this is weird.. I've ordered from aliExpress and asked the following questions:

Comments:Please send the unit rooted and with the latest firmware/software possible so that RDS and audiomixer are working. Thank you!

And the answer was:

Summer xu

2014-10-28 18:17:33

Dear Renedis ,

How are you? This model can not be rooted, otherwise it won't have warranty. It is the latest firmware. But do not support RDS.

Have a nice day!

Summer
[Android Head-Units] red13dotnet:
Well she's right about one thing, it isn't really factory rooted, just root adb shell. On another note, is anyone really thinking warranty would be at all useful anyway? Especially if we have to pay shipping. :eek:

---------- Post added at 03:12 PM ---------- Previous post was at 03:05 PM ----------

If you can confirm this will work I'll add it into Amplified 1.0.8_2

Also, what apps would everyone like to see pre-installed (they'll be removable)? Iheartradio and pandora, and spotify? I suppose I can include any google apps that are available on the app store?(Not sure on this) (Google now launcher, play music, and play books for TTS book reading (Yay! cheap audiobooks...kinda)
[Android Head-Units] priusfan:
SoundBalance is not operational for me....

I updated BonovoHandle from 1.0.9 and tested SoundBalance without effect.

Where did you get rel 109, I may try to reload it....
[Android Head-Units] red13dotnet:
http://pan.baidu.com/share/home?uk=1596625300&view=share#category/type=0
[Android Head-Units] easyguy:
Just looked at my unit, it came preinstalled with 1.0.8.

Almost crashed into freeway dividers trying to play with the unit while driving. Need to get used to the all capacitive screen. At lunch I will try to do the follow.

Plug in a usb Mic.

Plug in a 1TB drive

Plug in a USB hub.
[Android Head-Units] usafle:
What comes on it already out of the box? My suggestions: (and if they are already on there, disregard)

° Waze

° ES File explorer

° Stickmount

° Pandora

° Viper4Android (not sure about compatibility?)

°AdAway

°Xposed Framework

That's it off the top of my head. Of course, goes without saying, the latest GApps package.

Not too sure about Google Now launcher. What purpose would that serve unless you can't use Google search without it?
[Android Head-Units] Dream Reality Syndrome:
Careful man!
[Android Head-Units] easyguy:
Thanks for your hard work. I think any apps that we can get and installed through Google Play, should not be pre-installed. I think any apps that require more work than the usual install should be loaded on, such as Xposed, Viper4Android.

Is there an app or a mod through Xposed that a double tab on the screen will forward to the next song? I dont have steering wheel control, so this morning while using Waze, I had to navigate back to Pandora just to change songs.

---------- Post added at 07:58 PM ---------- Previous post was at 07:58 PM ----------

LMAO, look at all Red is doing. What I'm trying out is laughable in comparison lol.
[Android Head-Units] red13dotnet:
https://play.google.com/store/apps/details?id=globe.trotter.gesture.overlay looks like it might do the trick.
[Android Head-Units] renedis:
New info from Summer:

2014-10-29 07:57:55

Hi Summer,

Does audiomixer work? And can you tell me which version is installed, 1.0.9?

Summer xu

2014-10-29 08:24:00

yes, support

Summer xu

2014-10-29 08:24:23

latest version is 1.08

Maybe the uploaded 1.0.9 version is a beta?
[Android Head-Units] red13dotnet:
Very possible; I've already been convinced that that baidu share belongs to a newsmy dev.
[Android Head-Units] Zaphod-Beeblebrox:
Check and make sure the MAC for the bluetooth hasn't changed. I had this happen when flashing roms back and forth (but I don't use the BTHFD, I use the RK3188 bluetooth as my 'near trigger'. If RK3188 is near, Wifi Tether on. If not near, wifi tether off, wifi on.

But delete the bluetooth info in your Near trigger and reload it.
[Android Head-Units] asidorowicz:
Just tried it. I will use it alongside my existing tools. Neither one of these decompilers is perfect, but seeing all 3 will give me a better idea of what's going on

BTW, none are reliable, I always need to compare with smali
[Android Head-Units] DaveSmith_1:
Speaking of Tasker and wifi tethering, is there some trick to getting Tasker to disable wifi tethering? Tasker can successfully start it, but Tasker cannot seem to stop it; I always end up doing it manually. Is there a plugin I'm missing? Do I need to root my Verizon Moto X (2013, non-dev)?
[Android Head-Units] blacklistedcard:
I have tried this site to decompile the bonovo applications. So far none of the applications will decompile throught this website.
[Android Head-Units] zerosys:
I bought the 2GB version of the NU3001 and also i bought me an 12V power supply unit to use the NU3001 at home.

After probably one Minute i can see flickering on the TV and also red pixels showing up.

In my car everything works fine, do i have to use enything else than 12V power and HDMI cable?
[Android Head-Units] blacklistedcard:
You should be good with the power supply and hdmi cable. Ummm... It's either the HDMI cable or the power supply that has a problem.