Dead M4 plus

Nothing is come.
Then your problem is not the missing password, but missing hostapd. Do you have the hostapd binary in the jffs2 image ?
 
Then your problem is not the missing password, but missing hostapd. Do you have the hostapd binary in the jffs2 image ?
in the jffs2 image?? I don't get it. attached the hostapd file
 

Attachments

  • hostapd.zip
    14.5 KB · Views: 2
in the jffs2 image?? I don't get it.
jffs2 is the root (and app) filesystem, you should have hostapd binary somewhere in the filesystem, which provides the wifi AP.
It is called with hostapd.conf as a parameter.
 
jffs2 is the root (and app) filesystem, you should have hostapd binary somewhere in the filesystem, which provides the wifi AP.
It is called with hostapd.conf as a parameter.
This below is from root dir.

drwxr-xr-x 2 1000 1000 0 Jan 1 00:00 bin
drwxr-xr-x 2 1000 1000 0 Apr 19 2006 boot
drwxrwxrwx 2 root root 0 Jan 1 00:00 copy
drwxrwxrwt 4 root root 3100 Jan 1 00:00 dev
drwxr-xr-x 5 1000 1000 0 Dec 21 2016 etc
drwxr-xr-x 2 1000 1000 0 Apr 19 2006 home
lrwxrwxrwx 1 1000 1000 9 Jul 22 2013 init -> sbin/init
drwxr-xr-x 3 1000 1000 0 Jan 1 00:00 lib
lrwxrwxrwx 1 1000 1000 11 Jul 22 2013 linuxrc -> bin/busybox
drwxr-xr-x 2 1000 1000 0 Apr 19 2006 lost+found
-rwxr-xr-x 1 1000 1000 1341 Apr 21 2011 mkimg.rootfs
-rwxr-xr-x 1 1000 1000 431 Apr 21 2011 mknod_console
drwxr-xr-x 3 1000 1000 0 Nov 15 2013 mnt
drwxr-xr-x 2 1000 1000 0 May 21 2008 nfsroot
drwxr-xr-x 2 1000 1000 0 Apr 19 2006 opt
dr-xr-xr-x 55 root root 0 Jan 1 00:00 proc
drwxr-xr-x 2 1000 1000 0 Jan 6 2017 root
drwxr-xr-x 2 1000 1000 0 Jul 22 2013 sbin
drwxr-xr-x 2 1000 1000 0 Apr 19 2006 share
drwxr-xr-x 11 root root 0 Jan 1 00:00 sys
drwxrwxrwt 3 root root 80 Jan 1 00:00 tmp
drwxr-xr-x 7 1000 1000 0 Jan 1 00:00 usr
drwxr-xr-x 3 1000 1000 0 Jul 24 2007 var
 
This is my output from ps
Code:
 ...
 1547 root       0:00 /app/bin/hostapd /app/bin/hostapd.conf -B
 1550 root       0:00 udhcpd /app/cfg/udhcpd.conf
 1551 root       0:00 /app/bin/VYUpdate
 1559 root       0:00 /usr/sbin/telnetd
 1561 root       0:40 ./VYCam
 1706 root       0:00 -sh
 1715 root       0:00 ps ax
hostapd is started from init scripts, so there is something wrong with your filesystem.
 
Last edited:
Do you have Ddpai M4?
Then can you list of the root folder?
ls -l / > /mnt/sd/ls.txt
 
Do you have Ddpai M4?
M4Plus
Then can you list of the root folder?
ls -l / > /mnt/sd/ls.txt
It seems that i have a newer firmware version (logged in over wifi)
Code:
~ # ls -l /
total 3
drwxr-xr-x   11 root     root             0 Jan  1  1970 app
drwxr-xr-x    2 1000     1000             0 Jan  1  1970 bin
drwxr-xr-x    2 1000     1000             0 Apr 19  2006 boot
drwxrwxrwt    6 root     root          3480 Jan  1  1970 dev
drwxr-xr-x    6 1000     1000             0 Jan  1  1970 etc
drwxr-xr-x    2 1000     1000             0 Apr 19  2006 home
lrwxrwxrwx    1 1000     1000             9 Sep 30  2015 init -> sbin/init
drwxr-xr-x    3 1000     1000             0 Jan  1  1970 lib
lrwxrwxrwx    1 1000     1000            11 Sep 30  2015 linuxrc -> bin/busybox
drwxr-xr-x    2 1000     1000             0 Apr 19  2006 lost+found
-rwxr-xr-x    1 1000     1000          1341 Apr 21  2011 mkimg.rootfs
-rwxr-xr-x    1 1000     1000           431 Apr 21  2011 mknod_console
drwxr-xr-x    3 1000     1000             0 Jan  1  1970 mnt
drwxr-xr-x    2 1000     1000             0 May 21  2008 nfsroot
drwxr-xr-x    2 1000     1000             0 Apr 19  2006 opt
dr-xr-xr-x   72 root     root             0 Jan  1  1970 proc
drwxr-xr-x    2 1000     1000             0 Jan  1  1970 root
drwxr-xr-x    2 1000     1000             0 Sep 30  2015 sbin
drwxr-xr-x    2 1000     1000             0 Apr 19  2006 share
dr-xr-xr-x   12 root     root             0 Jan  1  1970 sys
drwxrwxrwt    4 root     root           180 Mar 14 06:39 tmp
drwxr-xr-x    6 1000     1000             0 Jul 19  2007 usr
drwxr-xr-x    3 1000     1000             0 Jul 24  2007 var
 
M4Plus

It seems that i have a newer firmware version (logged in over wifi)
Code:
~ # ls -l /
total 3
drwxr-xr-x   11 root     root             0 Jan  1  1970 app
drwxr-xr-x    2 1000     1000             0 Jan  1  1970 bin
drwxr-xr-x    2 1000     1000             0 Apr 19  2006 boot
drwxrwxrwt    6 root     root          3480 Jan  1  1970 dev
drwxr-xr-x    6 1000     1000             0 Jan  1  1970 etc
drwxr-xr-x    2 1000     1000             0 Apr 19  2006 home
lrwxrwxrwx    1 1000     1000             9 Sep 30  2015 init -> sbin/init
drwxr-xr-x    3 1000     1000             0 Jan  1  1970 lib
lrwxrwxrwx    1 1000     1000            11 Sep 30  2015 linuxrc -> bin/busybox
drwxr-xr-x    2 1000     1000             0 Apr 19  2006 lost+found
-rwxr-xr-x    1 1000     1000          1341 Apr 21  2011 mkimg.rootfs
-rwxr-xr-x    1 1000     1000           431 Apr 21  2011 mknod_console
drwxr-xr-x    3 1000     1000             0 Jan  1  1970 mnt
drwxr-xr-x    2 1000     1000             0 May 21  2008 nfsroot
drwxr-xr-x    2 1000     1000             0 Apr 19  2006 opt
dr-xr-xr-x   72 root     root             0 Jan  1  1970 proc
drwxr-xr-x    2 1000     1000             0 Jan  1  1970 root
drwxr-xr-x    2 1000     1000             0 Sep 30  2015 sbin
drwxr-xr-x    2 1000     1000             0 Apr 19  2006 share
dr-xr-xr-x   12 root     root             0 Jan  1  1970 sys
drwxrwxrwt    4 root     root           180 Mar 14 06:39 tmp
drwxr-xr-x    6 1000     1000             0 Jul 19  2007 usr
drwxr-xr-x    3 1000     1000             0 Jul 24  2007 var
Thanks. Looks you have "app" folder but I don't.
Can you please download the "app" folder and zip and upload here?

cp -r /app/ /mnt/sd
 
Looks you have "app" folder but I don't.
It is not a folder but a separate jffs2 filesystem image, mounted on /app
I will search for my old update images.

Found 2 files, they are too big to be uploaded here:

Code:
24498335 17. Aug 2016  DDPai_M6Plus/update.tar.gz
27495062 25. Jan 2018  DDPAI/M4Plus_V3.3.3.1_update.tar.gz
 
Last edited:
It is not a folder but a separate jffs2 filesystem image, mounted on /app
I will search for my old update images.

Found 2 files, they are too big to be uploaded here:

Code:
24498335 17. Aug 2016  DDPai_M6Plus/update.tar.gz
27495062 25. Jan 2018  DDPAI/M4Plus_V3.3.3.1_update.tar.gz
you mean you can't extract app?
And update files also updating something in the app folder which mine doesn't have.

And where can I find these 2 files?

Thanks
 
you mean you can't extract app?
It will not help you.
And update files also updating something in the app folder which mine doesn't have.
This is the contents of M4Plus archive, app ist 12MB and they are flashed as raw partition files (with checksum) uboot,uImage,hibernate,rootfs,app
Code:
~$ tar tfv DDPAI/M4Plus_V3.3.3.1_update.tar.gz
drwxrwxrwx root/root         0 2017-02-17 10:52 update/
-rwxrwxrwx root/root  12582912 2017-02-17 03:50 update/app
-rwxrwxrwx root/root   8388608 2017-02-17 03:50 update/hibernate
-rwxrwxrwx root/root       175 2017-02-17 10:52 update/no_upginfo
-rwxrwxrwx root/root   8388608 2017-02-17 03:50 update/rootfs
drwxrwxrwx root/root         0 2017-02-17 10:44 update/tmp/
drwxrwxrwx root/root         0 2017-02-17 10:44 update/tmp/app/
drwxrwxrwx root/root         0 2016-12-16 05:29 update/tmp/app/bin/
drwxrwxrwx root/root         0 2016-12-16 05:29 update/tmp/app/cfg/
-rwxrwxrwx root/root   1048576 2017-02-17 03:50 update/uboot
-rwxrwxrwx root/root   3145728 2017-02-17 03:50 update/uImage
-rwxrwxrwx root/root      1095 2017-02-17 10:43 update/update.sh
-rwxrwxrwx root/root        74 2017-02-17 10:45 update/version
 
It will not help you.

Sorry but would you please download the "app" and zip and upload/send to me?

cp -r /app/ /mnt/sd

I would like to check what is missing at mine and contact Ddpai again.
 
Where can i upload the files ?
Attached sample script to extract "app" folder.
Please download and unzip it and copy it to root folder in the SC card
And put it the dash cam. then it will say updating but nothing will be update but copy the app folder to SD card.

Thanks
 

Attachments

  • update.zip
    559 bytes · Views: 2
Back
Top