-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File system support #8
Comments
What unit is this ? In principle, the exploit could work with FAT partitions as well, the only problem is that files on FAT partitions won't be executable on linux , so even if mount dir traversal is still exploitable, you'd need a different way of getting code execution. I'm sure it's doable, but requires some creativity. Just as a side note, even though ext2 is supported on lcn2kai by linux, it's doesn't look like it's supported by other apps. As in, media player won't be able to detect and play media from an ext2 mounted flash drive. |
Hi @ea Thank you for your kind reply. I'm using Subaru unit. I'm testing to see if your knowledge can be used in my Subaru unit! I'll update you if there's any news. |
Just to add to this (I know it's closed, but useful info), if you mount a fat32 partition on my head unit all the files are marked as executable! However, a fat32 filesystem label is too short to contain ../../usr/bin and anyway it mounts using the fat32 serial number. |
So just to document my findings so far and some possible ideas, I tried the methods documented in this project on my 2013 Qashqai J10 (versions E607, hw 034) which I believe may be using LCN1, not 2. First I'm not sure it's even recognizing my ASIX Like in this issue report, my head unit isn't recognizing ext2 filesystems, neither does it work with isofs or ntfs... I could only get it to read a vfat filesystem. Now if anyone wants to try vfat or iso or ntfs on their model, here are a few things they can try -- they didn't work for me but they may be good ideas:
If all else fails I'm going to try upgraing to one of the |
Oh that's an excellent idea! I'll add that to the testing procedure. Thanks! |
FTR the LCN1 uses a different SoC, an OMAP5948, something made by TI specifically for Bosch headunits, according to the internets. So none of the LCN2 tricks are likely to work on it, and neither are the Now I found one pad that seems to send about the right amount of data for a boot log at 115200kbps but it's not text when I read it as standard UART. It may be a non-standard baudrate or it could be inverted, I need to try logging the rising and falling edges with timestamps on an ESP32 and hopefully I'll see something. There's another solder pad that sends less data, could be SPI or something else. So in any case this whole thing isn't going to have much in common with this repo but if you don't mind I'll comment here when I have updates to keep a record of it. And BTW I had a browser tab open from back when I bought the car, it's a qashqaiforums.co.uk thread about LCN2KAI reverse engineering, the people involved seem to have given up but there are some insights about the triton OS etc. |
Cool, that forum thread is interesting. I haven't come across it before. Could you post a link to this repository there if you have an account? |
Hi ea, |
Bad news for anyone hoping to do anything fun with LCN1 head units: they don't seem to run Linux. Personally I'm giving up on it but leaving some notes here for future reference. Feel free to close the issue since I think this was the only active topic. The OMAP1 chip series (which OMAP5948 is part of) is pretty old and while it has good upstream Linux support it's also in a lot of non-Linux devices like Palm PDAs from around year 2000. I've gone through every solder pad on the LCN1 main board (Nissan Connect 1 from J10 car) and marked what I found. All in all there's one UART serial output and a few pins that output something but are not UART.
There doesn't seem to be a corresponding Rx pin or it has no local echo. It may connect to the main CPU or some other chip. Doesn't seem to go to any buffer or passive element. The main CPU is BGA so I can't trace it to a specific pin. There are some references to ADR2 on the web but nothing that fits, although one is an automotive crash recorder product and another is a key fob reader demo by Texas Instruments (who also makes the OMAP CPUs). Other pins output some data during boot, after boot, during and after, and one also after power loss is detected. These may be I2C, SPI, CANbus, etc., I didn't bother checking, but most seem to just output short positive pulses. |
I have seen some region-specific strings and settings here and there while reversing the software, but nothing that would obviously and easily get you to skip that particular nag screen. I am not sure where and how the region is controlled but that might be one way of changing it. |
I unpacked the D605 firmware and studied its files a little. Found that the message about the license agreement is displayed in the file prochmi_out.out. I also tried to reversing it in IDA Pro, but I could not find a place where this message is specifically displayed and the "Accept" button is expected to be pressed. I really hoped that I would find some configuration file where the message can be disabled through the parameter. Didn't find anything either. |
I got a Sentra 2014 SR with this head unit and I don't think ext2 file system is supported on my system as well since it doesn't reboot after trying the flash drive |
Re: [ea/bosch_headunit_root] File system support (#8)
Здравствуйте, RWayne93.
Вы писали 2 ноября 2024 г., 19:34:56:
I got a Sentra 2014 SR with this head unit and I don't think ext2 file system is supported on my system as well since it doesn't reboot after trying the flash drive
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
Может проблема в версии прошивки?
Я так понимаю, вы хотите снять защиту с карт навигации?
Снятие защиты было проверено только на прошивках D554 и D605 в Nissan Connect 3 на автомобилях Ниссан Qashqai и Xtrail.
…--
С уважением,
Агент ***@***.***
|
Can you tell me the hardware and software version of your system? Cheers, |
I am not sure because I also can't get the secret menu to appear picture added for reference. I flashed the drive with dd using the provided test script. |
Hi.
"ext2" doesn't seem to work on my unit.
So, is there a different approach? For example, a file system?
My system vfat works.
And ntfs is mounted in a state that can only be read.
Thank you.
The text was updated successfully, but these errors were encountered: