Jump to content


  • Content count

  • Joined

  • Last visited

Everything posted by bass_rock

  1. The AVIC Development Mod

    Introduction WhatIsBypass, AdamOutler and myself present The AVIC Development Mod We have eliminated the barriers to development on all AVIC units including Android Auto. You can now create your own ROM on an SDCard and boot directly into it. We've broken all the security and obfuscations, and we've delivered it to you in a nice, easy-to-use web user interface. This has essentially turned the Pioneer line of units into Nexus devices, that boot off SD Cards. We now have the ability to change the NEX BSP Settings which allow us to unlock the SD Card and change the boot settings that are in the Pioneer NEX. We are asking all ROM developers with a NEX step and help us create our own ROM to run on all versions on the NEX System. With the help of all you we can begin to add USB Wifi Drivers, a custom app launcher, the play store, interface skins, more radio presets, radio station data augmented by the internet, Android Auto, iDatalink Gauges, and much more only limited by what we can develop. NEVER ENTER COPY DEVICE MODE, YOU WILL BRICK YOUR DEVICE! It is fixable though but a pain as described by WhatIsWhat Overview Here's a quick overview of what we will do in this post. Overview Steps: 1. Backup your current BSP and Nor Flash 2. Backup your current internal SD Card, or obtain a backup SD Card Image. 3. Navigate to https://jenkins.adamoutler.com/job/Customize%20BSP/build?delay=0sec and select the options you want 4. Remember your build number and download your package. 5. Extract to USB stick 6. Put it into USB Port 1 7. Run Script. 8. If you removed the SD Card password you need to insert a new internal SD Card with a backup image. 9. Done! How To Let's talk about the details, now. Run Copy Script Mode: 1. Insert the USB Stick to USB Port 1 on the device. 2. Start the deck, it will then reboot into Technical TestMode. You must use the keys to navigate the menus. BE VERY CAREFUL AS SOME OPTIONS CAN BRICK YOUR UNIT. 3. Use the Vol - button to navigate to "Write Programs Forcibly" 4. Press the Home Button to select this menu 5. Use the Vol - button to navigate to "Copy Script" 6. Press the Home Button to select this menu 7. Take note of the Values on the right hand side of the screen, THESE WILL BE ERASED. (It is currently unknown if these will be needed in the future). If you really want to keep these values though, you can write them down and place them in the corresponding SDCardCWWVersion.txt before you continue. 8. Press the Home Button to run the script. 9. After it says 100% press the Home Button to reset the unit and remove the USB stick. Full Steps to get to a development state: 1. Backup your current BSP and Nor Flash. See http://avic411.com/index.php?/topic/81469-avic-development-mod-device-backup/ for this. 2. Backup your Internal SD Card (Skip to 3 if you have an unlocked image you want to use) See http://avic411.com/index.php?/topic/81469-avic-development-mod-device-backup/ for this. 3.Install a Customized BSP A. Navigate to https://jenkins.casual-dev.com/job/Customize%20BSP/build?delay=0sec B. Select the options that you want to enable. The currently known defaults are already selected. For development select debugSwitch: Debug On Console On, subBootMode: Disable Warp, choicePassword: Remove the Password C. Click Build and note the build number that was started on the left. D. Navigate to https://jenkins.casual-dev.com/job/Customize%20BSP/NSERT_BUILD_NUMBER_HERE/artifact/ where INSERT_BUILD_NUMBER_HERE is your build number. E. Click the (all files in zip) F. Extract the contents of the download to a USB Stick. (FAT32 or NTFS) G. Follow the "Copy Script Mode" steps. H. The unit when it reboots should error out because you removed the SD Card Password lock. 4. Insert an Unlocked Internal SD Card Image A. dd the AVIC.img you backed up to an SD Card of the appropriate size. B. Insert the new SD Card into the Internal SD Card slot. C. Start up the unit. NOTE: It will take a bit for the device to boot since you have disabled WARP above. 5. Congrats!!!! You can now remove the internal SD Card at will and modify the items in the partition and put it back into the Deck. Good luck on your Custom Rom Development and be sure to share your creations!! What we are now asking of the ROM Community: 1. Help us by developing custom roms using the steps above and sharing your creations. 2. Once we have a custom rom we want to share easily, we will get to the steps where we start Creating a new WARP snapshot, and recompiling them back into PRG Update Files. 3. Find a way to enable ADB, One option would be to add a Network Bluetooth Profile, Another option is figuring out USB OTG properly. 4. Lets create an app launcher. 5. Figure out how to modify the maps. 6. Figure out Android Auto/Bluetooth Audio on older models with the new software. Additional Reading Repo of the PRG recompile and TestMode Scripts: https://github.com/bassrock/AVIC-NEX Pioneer 5100 Sources: http://www.oss-pioneer.com/car/multimedia/files/avic-5100nex/index.html Pioneer 5000 Sources: http://www.oss-pioneer.com/car/multimedia/files/avic-5000nex/index.html Update 8/13/15: ​We have found a new Developer debug mode that can be discussed and spend by following the steps here: http://avic411.com/index.php?/topic/81482-avic-development-mod-developer-debug-menu/
  2. Introduction Following The AVIC Development Mod, we would like to introduce a new Debug menu that was discovered by examining the Av.apk. This mode seems to be one of the developer menus that Pioneer themselves used to develop the software. It seems to be compatible with all decks that The AVIC Development Mod is compatible with. This menu includes but is not limited to: USB OTG Switching (We have yet to see this truly working) Boot Mode Changes (No need for bsp flashing) Stock Android Developer Settings Menu Sensor Debugging Logcat Log Levels Component Logging Creating the WARP Snapshot Creating the UserData Snapshot Saving off the device database Saving off logs Displaying CPU usage imanformation How To: ​Select Off in the Source Settings There are 3 invisible buttons on this screen. See the image below for a picture of the screen, with the Layout Guides Enabled. There are 3 boxes in the center screen those are the invisible buttons, for reference we will designate them buttons 1-3 left to right. Enter the following sequence on the buttons: Button 3, Button 1, Button 3, Button 1, LONG press Button 2. The first 4 presses should be normal button presses, not long presses. When done correctly you will receive a password prompt. Enter DEVELOPDBG ON There are 2 other passwords but they have just a subset of the options that this one has. Click Ok. You will be taken back to the Off screen. Press and hold Button 2. You should now be in the development menu. Sequence How To: https://youtu.be/kK4mQTn6HSs Menu Options: http://youtu.be/F5cOwyQj1N8 FAQs What is this mode? A: It seems to be a developer mode that Pioneer uses at the factory. Why use this over Testmode or the BSP? A: This mode is safer to use as it is built into the device instead of having to flash your BSP, where something could go wrong. This is also easier to access as it does require specific files on your USB Key. However this does have limitations as it does not have all of the modes that Testmode has. What is Needed With the discovery of this mode, it is clear that there is a way to get ADB access with OTG and the developer settings found here. Especially since it seems this is the mode that Pioneer has used to aid in the development of the NEX. Sadly every combination of cables and modes we have tried as not worked as of yet. If you find a combination that gets you ADB or have an idea. Please drop it in the thread.
  3. Introduction With the Introduction of the AVIC Development Mod (http://avic411.com/index.php?/topic/81468-the-avic-development-mod/). We would like to encourage you to backup your AVIC Internal SD Card and its NOR Flash. Lets also keep all backup links and discussion here NEVER ENTER COPY DEVICE MODE, YOU WILL BRICK YOUR DEVICE! The following will show you how to do that: 1. Backup your current BSP and Nor Flash. A. Download the attached NORFlashBackup.zip B. Extract the contents to a FAT32 or NTFS USB Stick. C. Insert the USB Stick to USB Port 1 on the device. D. Follow the "Copy Script Mode" steps. On http://avic411.com/index.php?/topic/81468-the-avic-development-mod/ E. Grab the USB Stick and save off the mtd0_backup1 -3 files. (Should your device ever brick, these can be used with a JTAG to fully restore your NOR flash or to find out your default BSP Settings) 2. Backup your Internal SD Card (Skip to 3 if you have an unlocked image you want to use) A. Download the attached InternalSDCardBackup.zip B. Extract the contents to a NTFS (IMPORTANT as FAT32 can not store files bigger than 4GB) USB Stick (You can also use a SD Card on the external SD Card if you edit the script). ALSO: The USB Stick must be bigger then your internal SD Card, to store the image. Known sizes are: 4000 - 4GB, 5000-7000 - 8GB, 8000 - 16GB. THIS IS A CURRENT GUESS. To be safe, use a USB Stick larger than 16GB. C. Insert the USB Stick to USB Port 1 on the device. D. Follow the "Copy Script Mode" steps. http://avic411.com/index.php?/topic/81468-the-avic-development-mod/ (NOTE: This can take a long time depeneding on your device's intenral SD Card size. It can also timeout, Pressing the Vol - while this is running every 15 min seems to keep it from turning off.) It took us 45 min to copy the 4GB card on the 4000 NEX copying to USB1. It took ~40 minutes for a 16GB internal card and 64GB external SD Card (copyscript copying data to external SD, instead of the USB) with 1MB block size (bs=1048576 parameter). For someone else it took ~80 minutes for a 16GB SD Card copying to USB. E. Grab the USB Stick and save off the AVIC.img file to your computer. This is the full Unlocked SD Card Image of your device. NORFlashBackup.zip InternalSDCardBackup.zip
  4. The AVIC Development Mod

    Yep that's the right file. Change extend home to home. And that will map the main button to the home key.
  5. The AVIC Development Mod

    Yea you can actually modify the key map file and make it the home button and that will let you do what you want.
  6. AVIC Development Mod - Developer Debug Menu

    Yes you can. Just note that we don't have an easy way to recreate the warp snapshot with your changes so you will always have to boot with it off for your modifications to work
  7. x000 to x200?

    Does anybody have an image of their x200 unit or willing to make one? If we can get an image I would be willing to try it in my x000 to see if it works.
  8. x000 to x200?

    Yep that is correct! There are a group of us working to see if we can modify it. (Which is possible, you just lose WARP!) However a cross-upgrade may be possible depending on what changed. If you follow WhatIsWhatIsWhatIsWhat's instructions you can backup the OS and upload it for us to examine and try on older units.
  9. The AVIC Development Mod

    So yes. I actually think that the issue is not bluetooth but an audio volume level issue. It's possible the amp volume names changed not he hardware revision.
  10. Upgrading NEX4000 to NEX4100 - Work in Progress

    Nope. The issue seems to stem from how the deck routes audio. It uses a library to communicate to the radios amp. And it seems between the x000 and x100 the radio amp turn on command changed. So until we can manipulate the Amp commands a cross-upgrade is dead if you care about actually getting audio.
  11. The AVIC Development Mod

    No you can't that is actually a limitation from Google. unlike CarPlay Google has restrictions on the screen size that Android Auto is supported on which is why it is not on the AppRadio 4 too.
  12. The AVIC Development Mod

    You can not side load apps without disabling WARP. WARP is what makes the deck boot in under 10 sec. Without it you are looking at a close to 2-3 min boot time overtime you start the deck like a regular android phone. Right now there are some people working on creating a new WARP snapshot after you modify the deck but so far it likes to brick devices.
  13. The AVIC Development Mod

    You will need to acquire your own license by your own means.
  14. The AVIC Development Mod

    *****iGO (Sort Of Easy) Map Updater***** Hi all! With the announcement of the map crack by asd255 http://avic411.com/index.php?/topic/81468-the-avic-development-mod/?p=337784 we needed a good way to actually update the maps! With the help of various members (if you want to be named let me know), we have created a script that will install the needed iGO patch and install the maps that you have obtained. NOTE: This requires use of the perl command line on your computer to generate the required script. Steps: 1. Download the attached MapPackage.zip 2. Unzip the file into its own folder. (For our purposes we will call it MapPackage) 3. Download the respective iGO Patch for your deck from http://avic411.com/index.php?/topic/81468-the-avic-development-mod/?p=337784 4. Extract the contents EXCEPT Copy_Script.sh into your MapPackage Folder. 5. Inside the updates folder in the MapPackage folder place all the map files you would like to add. It should like this (except different iGO patch files): 6. Open a Terminal/CommandPrompt Window 7. Cd to the MapPackage Folder 8. Execute perl MapCreator.pl This will generate a script that will copy and set the right permissions on the map file you want to update. 9. Copy the contents of the MapPackage Folder to the root of a blank FAT32 USB Drive. 10. Put the usb stick in USB Port 1 11. Boot the deck 12. Navigate and select Write Programs Forcedly 13. Select Copy_Script 14. When it is done, remove the USB Stick and hit the middle center button. 15. Enjoy the new maps!!! MapPackage.zip
  15. Cross Flash US to EU units

    Yes you should be able to cross flash regions really easily. Its the generations that work but there is no bluetooth audio.
  16. The AVIC Development Mod

    So each of the keys boot a different mode. There is one key that will load the recovery mode with a corrupted internal sd card. I forgot which one it is. But here is a repo I created with scripts to create test keys and the explanation on them. https://github.com/bassrock/AVIC-NEX
  17. The AVIC Development Mod

    You can also change the button mapping on the front of the deck too by changing the keymap files.
  18. The AVIC Development Mod

    --deleted duplicate posting--
  19. The AVIC Development Mod

    Actually you can. I installed nova launcher and other stuff no problem. Again there are two things, no usb wifi support and you have to have warp disabled.
  20. The AVIC Development Mod

    There is one solution that will auto press the OK button when it shows up, however it requires you to install xposed and keep warp disabled, unless you figure a way out to get warp to reenable. https://github.com/fuzznec/AVIC-OK-KILLER And another one here that will run scripts but has the same requirement as above. https://github.com/InspectifierWrectifier/AVICScripty
  21. The AVIC Development Mod

    I believe that mode actually does the reverse of what you were trying to accomplish. I recommend opening up your unit and replacing the internal SD Card with a new one that has the appropriate image.
  22. New NEX units now 8200 instead of 8100.

    Looks like it also has the Gauge Support that most users have wanted too. Hopefully if the internals are the same we can get the cross firmware upgrade working on older units.
  23. Upgrading NEX4000 to NEX4100 - Work in Progress

    It should be but the issue is that the bluetooth audio does not work which, CarPlay, Android Auto and Siri all use.
  24. vehicle odbII Bluetooth to 8100 nex

    You can not connect an OBD2 to the deck. Pioneer only supports connection via the Maestro and that is only for cars that support the on screen controls. If you want OBD 2 data we either need to get a custom rom working or you should look at an alpine deck.
  25. Upgrading NEX4000 to NEX4100 - Work in Progress

    Yea I am doing this on the Deck itself to see if the Bluetooth Issue is possibly a volume issue. I have the deck rooted and installed AlsaMixer