Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,804,274 Members 38,545 Now Online
XDA Developers Android and Mobile Development Forum

"AN-21 U" - Unbranded 6.2" 2 DIN Pure Android 4.1 Car Stereo Radio Head Unit [ROOTED]

Tip us?
 
KID52
Old
(Last edited by KID52; 13th July 2014 at 05:33 PM.)
#1  
Senior Member - OP
Thanks Meter 134
Posts: 469
Join Date: Jul 2009
Arrow "AN-21 U" - Unbranded 6.2" 2 DIN Pure Android 4.1 Car Stereo Radio Head Unit [ROOTED]

"AN-21 U" - Unbranded 6.2" 2 DIN Pure Android 4.1 Car Stereo Radio Head Unit

To avoid confusion, below is a picture of the unit this thread relates to.

I am aware of a previous unit using the same design, but it runs an older version of Android. This thread is for the unit running 4.1 as standard.


Specification / Features

Hardware
CPU: ARM Cortex A9 MST786 Dual Core 1GHz
GPU: Mali-400 MP
RAM: SKHYNIX 1G DDR3 RAM H5TQ4G83AFR
iNAND: SanDisk 8GB SD1N5C2-8G (1GB system storage, 6GB internal USB storage)
MCU: STM8AH ST
Bluetooth: BlueCore5 CSR
Screen: Capacitive 800*480
GPS: SiRF Atlas V GPS Processor
Radio: Philips TEF6624
Sound Effect Processor: BD37534 ROHM
Outputs: 4x 45w outputs, Toshiba TB2929
Additional Outputs: 1x Subwoofer, 4x pre-outs
Microphone: Built in microphone

Supported Features
Bluetooth connection to phone for calls.

WiFi and 3G dongles. These must be plugged in before turning the device on, and are not hot-swappable.

Compatible 3G Dongles
  • ZTE MF190 Clone (Qualcomm MSM6280 + RTR6280)
  • Huawei E171 (Qualcomm MSM6290)
  • Huawei E180
  • Huawei E261
  • Huawei E1752

Non-Compatible 3G Dongles
  • Generic Orange/Black eBay dongle (Qualcomm MSM6280 + RTR6275)
  • Huawei E220
  • Huawei E352
  • Huawei E367

Connection of multiple USB devices through a USB hub, including wireless keyboards, USB memory sticks, and wireless dongles. These types of devices are hot-swappable.

Multiple USB memory sticks can be plugged in. They mount at "mnt/usb/sda1", "mnt/usb/sdb1", and so on. The limit is not known, three have been tested at once.

Wiki Page

This unit has a very useful Wiki page with a lot of good information.

Tonghai Create AN-21 U Wiki

It would be really appreciated if before posting any questions, you take a read of it, this main post, watch the video review, or do a search of this thread to avoid any repeats.

Video Review



Other videos showing specific features are also available on my channel.

News

2014.01.20
Download links and bugs section updated.
2013.12.05
Root is now possible.
Previous News
 
2013.11.16
The manufacturer intends to add new features to the unit, they are currently developing an OBD II system, I assume this would be via USB. They say it will require additional hardware.

Sooner than that, they plan to release wireless mirror link for Android phones.

I asked about Bluetooth compatibility, they said my request would be sent to their engineer to include Bluetooth modules. Whether this actually gets included or not, we will have to see.

File Repository

This site has links to most of the files in this thread, including firmware and MCUs.

Android 4.1 Car Stereo File Repository

All files are of course used at your own risk.

Firmware Updates

To update the unit, extract the update files from the downloaded RAR and copy them to a MicroSD Card, insert the card, go to Settings -> General Settings -> System Update or turn the unit on whilst holding down the 'Menu' and 'Volume' buttons until the update starts.

System Version 2.7.29
Mirror 1 - Click here

Previous Versions
 
System Version 2.7.28
Mirror 1 - Click here

System Version 2.7.11
Mirror 1 - Click here

System Version 2.7.9
Mirror 1 - Click here

System Version 2.7.4
Mirror 1 - Click here

System Version 2.6.96
Mirror 1 - Click here

System Version 2.6.93
Mirror 1 - Click here

System Version 2.6.77-2
Mirror 1 - Click here

System Version 2.6.77
Mirror 1 - Click here

System Version 2.6.73
Mirror 1 - Click here

System Version 2.6.70
Mirror 1 - Click here
Mirror 2 - Click here

System Version 2.6.68
*WARNING* This update appears to cause issues with GPS *WARNING*
Mirror 1 - Click here
Mirror 2 - Click here

Password
 
System Version 2.6.62
Mirror 1 - Click here
Mirror 2 - Click here
Mirror 3 - Click here

System Version 2.6.60-2
Mirror 1 - Click here
Mirror 2 - Click here
Mirror 3 - Click here

System Version 2.6.60
Mirror 1 - Click here
Mirror 2 - Click here
Mirror 3 - Click here

System Version 2.6.40
Mirror 1 - Click here
Mirror 2 - Click here
Mirror 3 - Click here

System Version 2.6.23
*WARNING* This update appears to cause unrecoverable bricking of the unit when changing model or MCU. *WARNING*
Mirror 1 - Click here
Mirror 2 - Click here

Password
 

"4.2.2" Versions
 
Please note that these are actually Android 4.1, but the menu text has been changed to "4.2.2"

System Version 2.7.11
Mirror 1 - Click here

System Version 2.7.22
Mirror 1 - Click here

System Version 2.7.26
Mirror 1 - Click here

System Version 2.7.26-2
Mirror 1 - Click here

System Version 2.7.26-3
Mirror 1 - Click here

Changelog (Unofficial)

System Version 2.7.29
  • Unknown
Previous Versions
 
System Version 2.7.28
  • Unknown
System Version 2.7.11
  • Unknown
System Version 2.7.9
  • Unknown
System Version 2.7.4
  • Unknown
System Version 2.6.96
  • Unknown
System Version 2.6.93
  • Unknown
System Version 2.6.77-2
  • Unknown
System Version 2.6.77
  • Unknown
System Version 2.6.73
  • Unknown
System Version 2.6.70
  • When changing panel keys or steering wheel controls, the notification bar is still displayed
  • New menu option for backing up and restoring both panel key and steering wheel control mappings
System Version 2.6.68
  • Homescreen design reverted back to four large widgets per page
  • App icon for SWC settings
  • Setting in "Extra Settings" to force USB1.1
  • Factory reset is password protected (See FAQ)
  • Developer options are password protected (See FAQ)

System Version 2.6.62
  • Bluetooth icon in notification bar (appears Bluetooth is turned on by default now, cannot turn it off)
  • Bluetooth menu, accessed via an app, has "SEARCH FOR DEVICES" and visibility option, however nothing functions when pressed
  • All extra applications removed (ES File Explorer, GPS Test Plus, QuickPic)
  • WiFi Hotspot can be activated without re-plugging the 3G dongle in
  • Background is winter-themed

System Version 2.6.60-2
  • New home screen design
     
System Version 2.6.60
  • Default applications changed back to original theme
  • APK Installer application install by default
  • Bluetooth renamed back to Phone
  • Screenshot feature now fixed and works correctly

System Version 2.6.40
  • Larger notification bar
  • GPS icon removed from notification bar
  • Home, back, menu, and screen off buttons added to notification bar
  • Default applications changed to red theme (music player, radio, video player, phone)
  • Phone application renamed to Bluetooth
  • ES File Explorer installed by default
  • GPS Test Plus installed by default
  • QuickPic installed by default
  • Non-functioning screenshot featured added in settings menu



Bugs / Issues

Key
Unresolved
Workaround
Resolved
Updated 2014.01.20
Newest issues will be put at the top, solved issues, or issues with workarounds will be moved to the bottom.

Unable to remove applications that are device administrators without factory reset due to security menu being disabled.

Many applications are unable to "see" the MicroSD card, so the choice of music players is limited. The mount point is "mnt/usb/mmcblk1p1".

Despite selecting "Front Speakers Only" for navigation sound, the sound comes out of the rear speakers too. Setting to "Front Right" appears to work correctly.

Bluetooth is restricted to phones only. (Unsure if this is hardware or software related, talking to manufacturer suggests hardware limitation).

Bluetooth dongles do not work.

There is a "pop" from the speakers sometimes when changing applications that control sound, this is extremely obvious if you have a subwoofer installed. It happens when the unit is turned on, and when going from mute, to a volume level.

Screen brightness when buttons illuminated is not user-configurable. This means it may be too bright or dark depending on the conditions. For example, when it is only mildly dark outside, and you have your lights on, the screen is very hard to see.
Workaround: Enable constant illumination from the "Extra Settings" menu by setting the option to "CLOSE", this will set the keys to always illuminate. Then use an application such as Twlight to control the screen brightness based on sunset and sunrise.

Random issue when downloading large applications. The progress will usually get to more than 50%, and then no progress is made.
Workaround: The only fix I have found so far is to stop the download, reboot the unit, start the download, and repeat until download continues. It should download from where you cancelled. This appears to be caused by a limited download cache size.

Steering wheel controls only work with default applications.
Resolved: Open the radio (this does not appear to work with the music app), then hold the back arrow in the bottom right hand corner, the app will close, allowing steering wheel controls to function with other apps.

Most recent default application always opens on boot and continues to play, even if paused. This includes the radio, music, video, and iPod applications.
Resolved: Open the radio (this does not appear to work with the music app), then hold the back arrow in the bottom right hand corner, the app will close, and no default app will open on boot.

USB Debugging is password protected.
Resolved: The password is "john@tw-desktop". Credit to @nikko82

Screenshot feature does not work, when trying to save the screenshot, a save error appears.
Resolved: This is solved in system version 2.6.60.

Root

Root is now possible thanks to help from some great XDA members.

Credits to @WonderEkin for the Root My AN-21 U app and @bmj67 for supplying SettingsProvider.apk

2014.06.06 - A new rooting tool named Baidu Root has been added to the repository. You can use this tool as an alternative to following the guide below.

Files required
Root My AN-21 U - [ Mirror1 | Mirror2 ]



Root My AN-21 U has been updated since this video was taken, the app should now correctly show "Step 2".
  1. Download the required files above.
  2. Install Android Terminal Emulator on your unit.
  3. Open the AUX application and close it.
  4. Install Root My AN-21 U and create a link on the homescreen.
  5. Run Root My AN-21 U and press the "Step 1" button.
  6. Reboot the unit.
  7. Once the unit has rebooted the screen will likely be black, press the Home button to display the homescreen.
  8. Run Root My AN-21 U and press the "Step 2" button.
  9. Reboot the unit.
  10. Open Android Terminal Emulator and run the following commands.
    Code:
    su
    rm /data/local.prop
  11. Reboot the unit.

FAQ

Can I root this unit?
 
Please see the "Root" section above.
HELP! My unit is stuck in a boot-loop!
 
Place the update files on your MicroSD card (see "Firmware Updates" section). Then turn the unit on whilst holding down the volume knob and home button. This should start the update process.
Can I use Bluetooth OBD devices with Torque?
 
Not at the moment, Bluetooth is only for phones and Bluetooth dongles do not work.
Does it have the full Play Store?
 
Yes, it has the Play Store and all compatible applications are available for download.
What is the boot time?
 
18 seconds to home screen, 22 seconds until music application starts. If you use the radio application rather than the music player, the radio sounds as soon as the unit receives power.
Where can I buy one?
 
There are many listings on eBay/AliExpress under the search term "android 4.1 car", some have resistive, and some have capacitive screens. There is also the mention of a faster 1.2GHz dual core, however the unit actually has a 1GHz dual core CPU.
How good is the radio?
 
The radio reception seems fine, as does the sound quality.
Is there a Wiki page?What is the USB Debugging password?
 
john@tw-desktop
What is the Factory Reset / Developer Options password?
 
7890
What is the Extra Settings password?
 
123456
The Following 28 Users Say Thank You to KID52 For This Useful Post: [ Click to Expand ]
 
sciallo
Old
#2  
Senior Member
Thanks Meter 114
Posts: 483
Join Date: Oct 2010
Quote:
Originally Posted by Orisai View Post
Android doesn't have NTFS support, let alone EFS which is built on top of Microsoft's filesystem, but it's capable of using the same cypher algorithms as EFS (AES, SHA, DES) though. The only thing Android needs to be able to decrypt them during the upgrade process, is the manufacturer's or firmware developer's public key, which I believe is stored among the system root certificates.

This, providing EFS or a compatible file encryption mechanism was used to encrypt those files.
If we think about it, Android isn't even part of the equation reading those files really, just a bootloader or the unit's firmware. So the decription layer would have to be built into the bootloader or the raw firmware (read assembly or whatever)... I highly doubt it would be EFS.

As another observation, all filenames remain the same across the two updates and only one file has changed (and it's name remains the same. There goes the hash/sum/md5 like naming theory)...

Code:
diff android-4.1-2.6.40/ android-4.1-2.6.60/
Binary files android-4.1-2.6.40/8e3513e2-ea4a-11e2-8a0f-000c29ba27c0 and android-4.1-2.6.60/8e3513e2-ea4a-11e2-8a0f-000c29ba27c0 differ
That I'm guessing is our system file

@tin2001 @Orisai @chris.r.r <- in case you missed the switch to new thread
The Following User Says Thank You to sciallo For This Useful Post: [ Click to Expand ]
 
KID52
Old
#3  
Senior Member - OP
Thanks Meter 134
Posts: 469
Join Date: Jul 2009
Quote:
Originally Posted by sciallo View Post
If we think about it, Android isn't even part of the equation reading those files really, just a bootloader or the unit's firmware. So the decription layer would have to be built into the bootloader or the raw firmware (read assembly or whatever)... I highly doubt it would be EFS.

As another observation, all filenames remain the same across the two updates and only one file has changed (and it's name remains the same. There goes the hash/sum/md5 like naming theory)...

Code:
diff android-4.1-2.6.40/ android-4.1-2.6.60/
Binary files android-4.1-2.6.40/8e3513e2-ea4a-11e2-8a0f-000c29ba27c0 and android-4.1-2.6.60/8e3513e2-ea4a-11e2-8a0f-000c29ba27c0 differ
That I'm guessing is our system file

@tin2001 @Orisai @chris.r.r <- in case you missed the switch to new thread
Yes, as you say, it is the only file that changes between the updates, and it is also the largest file so I think we can assume this contains the data we want.

Looking at the third update I have, it seems that file is again the only one changed. I will be testing this update out and uploading it shortly.

The file names must have some importance, as otherwise they could just call them "system.img", or something simple, but still encrypt them.
 
sciallo
Old
#4  
Senior Member
Thanks Meter 114
Posts: 483
Join Date: Oct 2010
Quote:
Originally Posted by KID52 View Post
Many applications are unable to "see" the MicroSD card, so the choice of music players is limited.
Have you tried to see if it will read an external mass storage attached to usb? (usb stick, card reader, 2.5" portable hard drive)?
 
KID52
Old
#5  
Senior Member - OP
Thanks Meter 134
Posts: 469
Join Date: Jul 2009
Quote:
Originally Posted by sciallo View Post
Have you tried to see if it will read an external mass storage attached to usb? (usb stick, card reader, 2.5" portable hard drive)?
The default application yes, although I did not try what happens with multiple USB drives. The doubleTwist music player was unable to read a USB memory stick, or the MicroSD card. The actual unit seems to be able to cope with multiple memory sticks, I have tried three, and all were accessible using the ES File Explorer application.

The internal storage is mounted at "mnt/sdcard".

The MicroSD card is mounted at "mnt/usb/mmcblk1p1".

USB memory sticks are mounted at "mnt/usb/sda1", "mnt/usb/sdb1" etc.
 
donaldta
Old
#6  
donaldta's Avatar
Senior Member
Thanks Meter 451
Posts: 1,325
Join Date: Aug 2013

 
DONATE TO ME
Quote:
Originally Posted by KID52 View Post
Many applications are unable to "see" the MicroSD card, so the choice of music players is limited. The mount point is "mnt/usb/mmcblk1p1".
Have you checked for the presence of a hidden file called, ".nomedia" in the MicroSD card? The presence of this file will let most media players to skip this path for scanning for multimedia files.
 
KID52
Old
#7  
Senior Member - OP
Thanks Meter 134
Posts: 469
Join Date: Jul 2009
Quote:
Originally Posted by donaldta View Post
Have you checked for the presence of a hidden file called, ".nomedia" in the MicroSD card? The presence of this file will let most media players to skip this path for scanning for multimedia files.
Yes, this file is not present.
 
sciallo
Old
#8  
Senior Member
Thanks Meter 114
Posts: 483
Join Date: Oct 2010
Quote:
Originally Posted by KID52 View Post
The default application yes, although I did not try what happens with multiple USB drives. The doubleTwist music player was unable to read a USB memory stick, or the MicroSD card. The actual unit seems to be able to cope with multiple memory sticks, I have tried three, and all were accessible using the ES File Explorer application.

The internal storage is mounted at "mnt/sdcard".

The MicroSD card is mounted at "mnt/usb/mmcblk1p1".

USB memory sticks are mounted at "mnt/usb/sda1", "mnt/usb/sdb1" etc.
You might want to try a few different players to see if it's the unit or the player...

From http://www.doubletwist.com/help/ques...ge-to-sd-card/

Quote:
We recommend only using one volume to store your media. If you choose the memory card, please do not store media files on the internal storage location.

Also, there is not standardized way of implementing SD card support so each manufacturer implements SD card supportly differently. This is why doubleTwist may not always support the SD card on your device.

Devices reported by users to not work includes the following devices:

LG Motion 4G
LG Optimus L5
LG Optimus LTE2
LG Optimus 4X HD
Motorla Razr i
Motorla Razr M
I don't know if you can without root but you should be able to as normal user in a virtual terminal link /mnt/sdcard to /sdcard
Code:
ln -s /mnt/sdcard /sdcard
... Something to try. I think it won't survive reboot, but if it works you can possibly make a script for it to happen on boot.
 
KID52
Old
#9  
Senior Member - OP
Thanks Meter 134
Posts: 469
Join Date: Jul 2009
Quote:
Originally Posted by sciallo View Post
You might want to try a few different players to see if it's the unit or the player...

From http://www.doubletwist.com/help/ques...ge-to-sd-card/



I don't know if you can without root but you should be able to as normal user in a virtual terminal link /mnt/sdcard to /sdcard
Code:
ln -s /mnt/sdcard /sdcard
... Something to try. I think it won't survive reboot, but if it works you can possibly make a script for it to happen on boot.
It depends on the player.

All file explorer applications such as ES File Explorer, and Astro, have no issues seeing the files. In fact, if you choose an MP3 file and select the player of your choice to open the file, it will indeed open and play, however it does not show up in the list of available songs.

One example of a player than can see the files is Poweramp.

"/mnt/sdcard" is already linked to "/sdcard", but this is the internal USB storage, not external. Perhaps it can be unlinked, and the MicroSD card, "mnt/usb/mmcblk1p1" linked there instead.
 
KID52
Old
(Last edited by KID52; 16th November 2013 at 12:43 AM.)
#10  
Senior Member - OP
Thanks Meter 134
Posts: 469
Join Date: Jul 2009
Quote:
Originally Posted by Orisai View Post
Peter's listing on eBay mentions the headunit supports wireless keyboards, which are bluetooth devices. Also, being it Android 4.1, it should support USB OBD2 scanners like this one on Amazon:

http://www.amazon.com/OBDLink-OBD-II.../dp/B002M07XHO

This one is pretty expensive compared to the bluetooth ones, but I've seen it used by dealers to diagnose their cars during repairs.
Best to keep discussion for the 4.1 unit in this thread now.

My keyboard is not Bluetooth, it has a small receiver that is probably 2.4GHz, and it works fine.

Unfortunately there is no Bluetooth menu on the device. However, there are a few interesting quirks with the unit, one being that the security menu is disabled, however, if you try to enable something (I forget what, maybe storing location data or something), it tells you that a lock code must be set, so you press okay, and what opens? The security menu...

I will try installing Torque at some point, as on my phone it requests to turn on Bluetooth, so maybe it will access the menu on the unit. I don't have much hope for this working though.

Perhaps the USB device will work, but I do not have one, and do not intend on buying one at that price.

Quote:
Originally Posted by Orisai View Post
Have you tried a Linux compatible bluetooth dongle yet? I believe, if the headunit supports external wireless keypads, then BT dongles should work, as well as anything connected through them.
Yes, I've tried a couple that I had lying around.

If you can recommend a specific one that isn't too expensive I may trying buying to see if it works.

Tags
an-21 u, android, android 4.1, car, stereo
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes