Why you are not using testmode ability to copy device? There is at least two menus where you can do this. Copy device and sector-by-sector flash copy.
Im scared that it goes USB -> Internal not Internal -> USB
Why you are not using testmode ability to copy device? There is at least two menus where you can do this. Copy device and sector-by-sector flash copy.
Im scared that it goes USB -> Internal not Internal -> USB
Have you tried just to enter here? Drive maintenance => Dump by Sector => Storage SD.
I have gone in and seen the menu, but the wording on it makes me think it is to image from a usb to the internal sd. Which would make sense from a dev perspective.
Why you are not using testmode ability to copy device? There is at least two menus where you can do this. Copy device and sector-by-sector flash copy.
Copy device allows you to select a device, but doesn't specify to or from. We know it deals with the internal SD, but we don't know how copy device works.
I copied 3 sectors manually, then stopped. I'm not doing 16G of sectors into individual files ![]()
... This will give us the ability to install other android apps, launchers, etc that will go even more into fixing the Android Auto issue and even maybe giving us the ability to write code for Wireless Carplay using an adapter etc..
Support for a wifi adapter hooked up to one of the USB ports, and the ability to install Play Store. A guy can dream, right?
I get just enough of what you're doing to understand what's going on, and the problems you're facing. It's way over my head though, but intensely fun to follow this thread.
Keep it up, you guys are amazing! So happy you are working on this!
I have gone in and seen the menu, but the wording on it makes me think it is to image from a usb to the internal sd. Which would make sense from a dev perspective.
Any chance you have seen how to increment the menu progress bar? I would assume there is a linux device somewhere which would allow for the progress/UI in copy_script to be updated.
Any chance you have seen how to increment the menu progress bar? I would assume there is a linux device somewhere which would allow for the progress/UI in copy_script to be updated.
No i have not. @whatisbypass you have the firmware for this section mostly decompiled, have you seen anything?
Maybe it's not important, but there should be a way to utilize it and if we are creating custom/long-install packages, we should utilize it. I was wanting it to see progress on a multi-part DD operation.
So not sure if this will work, but i wonder if we may be able to access adb over bluetooth http://stackoverflow.com/questions/11129817/adb-over-bluetooth-android
and the logs I dumped from @AdamOutlers original info script mentions:
<6>[ 1.017995] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 <6>[ 1.018003] Bluetooth: BNEP filters: protocol multicast <6>[ 1.018012] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Not sure if that is standard, but adb over bluetooth would make sense from a development perspective.
That would be helpful, but it will come later.So not sure if this will work, but i wonder if we may be able to access adb over bluetooth http://stackoverflow.com/questions/11129817/adb-over-bluetooth-android
and the logs I dumped from @AdamOutlers original info script mentions:
<6>[ 1.017995] Bluetooth: BNEP (Ethernet Emulation) ver 1.3<6>[ 1.018003] Bluetooth: BNEP filters: protocol multicast<6>[ 1.018012] Bluetooth: HIDP (Human Interface Emulation) ver 1.2Not sure if that is standard, but adb over bluetooth would make sense from a development perspective.
For now I'm still working on getting a backup... running into backup 2 producing a 0-length file. Got file 1, but It seems to be running extremely slowly.
#!/system/bin/sh #dd if=/dev/block/mmcblk0 of=/mnt/udisk/backup.1 count=5859375 bs=512; dd if=/dev/block/mmcblk0 of=/mnt/udisk/backup.2 skip=5859375 count=5859375 bs=512; dd if=/dev/block/mmcblk0 of=/mnt/udisk/backup.3 skip=11718750 count=5859375 bs=512; dd if=/dev/block/mmcblk0 of=/mnt/udisk/backup.4 skip=17578125 count=5859375 bs=512; dd if=/dev/block/mmcblk0 of=/mnt/udisk/backup.5 skip=23437500 count=5859375 bs=512; dd if=/dev/block/mmcblk0 of=/mnt/udisk/backup.6 skip=29296875 count=5859375 bs=512; #This doesn't work. the deck times out after an hour or so, or aproximately 4.5 gigs of data transfer. Maybe it's my USB drive is slow, but I copied 9-gigs once to a different drive. #dd if=/dev/block/mmcblk0 of=/mnt/udisk/fullsd.img bs=512;
Where is the code behind this menu?
IMG_20150728_200509053.jpg
It is in libTestModeProxy.so in the system img i believe
@whatisbypass can you post up the decompiled libTestmode.so and libTestmodeProxy.so somewhere?
I think you're right. That looks like it is drawing the entire screen once per cycle. Unless there is a way to bypass the screen drawing, updates would not be possible.
Still pulling the SDCard. I've got 3 parts out of 7. That .2 is coming out 0-length every time still.
So interesting note, on at least getting Bluetooth to work. I just had the opportunity to swap the sd cards of a 4000 and a 4100. It behaved just like if we did a cross-upgrade. One thing to note is that the bootloader version did not change. This leads us to know 2 things, the bootloader is not on the SD Card (Which may have been known, but not to me), and that the boot loader seems to be the only item that doesn't get updated or swapped, indicating it may be the item preventing Bluetooth Audio in the system.
Other interesting note is that paired bluetooth devices persisted across the swap, as well as selected illumination and boot up screens. This should help us understand what is stored on the SD versus on the device itself.
I also am having trouble getting the device to DD, but I have a 4000 now on my desk for the foreseeable future plugged into a power supply so I can easily try and get a dd of that going as well as OTG USB.
Noone has tried Drive maintenance => Dump by Sector => Storage SD ?
I'm not speaking about Copy Device menu function. I can try to disassemble this Dump by Sector mode functions and screens.
I went there but you get a screen of bits that it looks like you have to manually dump 1 by 1.
@bass_rock as you can insert/remove internal sd card, can you check how device boots up without internal SD card and what happens if you insert any bootable sd/usb into user-accessible slots? Maybe you need to copy one of testmode files (maybe some from testmode_n keys).
I think it should be possible to boot from external sd/usb without internal sd, then insert internal sd and write data to this internal card.
Is it possible to boot from internal SD card inserted into external SD slot?
Not sure what you mean here. Are you suggesting to dd an image to a usb, remove the internal and see if it boots?
You can update bootloader in Write Program Forcedly => Write BootLoader. Also here is bluetooth update.
Also I have found what Write Program Forcedly => Copy device sets something in BSP area (NOR flash) and reboots. So it looks like this copy function is in NOR.
Yes I have tried that before. When looking through the update files, the BTL (Bootloader) .ver exists but it does not contain the .PRG which houses the real image.