Hovatek Forum DEVELOPMENT Android [Please help] Cant Flash Custom rom /media error
Can't login? Please, reset your password.
Hovatek is recruiting! Apply Now


[Please help] Cant Flash Custom rom /media error

[Please help] Cant Flash Custom rom /media error

edneyhelene
edneyhelene
edneyhelene
Junior Member
22
31-12-2016, 03:29 PM
#1



Hello friends, im portin an android cyanogenmod to my Blu Studio M HD MT 6850 !

Here's my mount points:
ls -al /dev/block/platform/mtk-msdc.0/by-name


1|root@BLU_STUDIO_M_HD:/ #  ls -al /dev/block/platform/mtk-msdc.0/by-name
lrwxrwxrwx root     root              2016-12-30 20:18 boot -> /dev/block/mmcblk0p7
lrwxrwxrwx root     root              2016-12-30 20:18 cache -> /dev/block/mmcblk0p19
lrwxrwxrwx root     root              2016-12-30 20:18 expdb -> /dev/block/mmcblk0p11
lrwxrwxrwx root     root              2016-12-30 20:18 flashinfo -> /dev/block/mmcblk0p21
lrwxrwxrwx root     root              2016-12-30 20:18 frp -> /dev/block/mmcblk0p12
lrwxrwxrwx root     root              2016-12-30 20:18 keystore -> /dev/block/mmcblk0p17
lrwxrwxrwx root     root              2016-12-30 20:18 lk -> /dev/block/mmcblk0p6
lrwxrwxrwx root     root              2016-12-30 20:18 logo -> /dev/block/mmcblk0p10
lrwxrwxrwx root     root              2016-12-30 20:18 metadata -> /dev/block/mmcblk0p14
lrwxrwxrwx root     root              2016-12-30 20:18 nvdata -> /dev/block/mmcblk0p13
lrwxrwxrwx root     root              2016-12-30 20:18 nvram -> /dev/block/mmcblk0p2
lrwxrwxrwx root     root              2016-12-30 20:18 oemkeystore -> /dev/block/mmcblk0p15
lrwxrwxrwx root     root              2016-12-30 20:18 para -> /dev/block/mmcblk0p9
lrwxrwxrwx root     root              2016-12-30 20:18 proinfo -> /dev/block/mmcblk0p1
lrwxrwxrwx root     root              2016-12-30 20:18 protect1 -> /dev/block/mmcblk0p3
lrwxrwxrwx root     root              2016-12-30 20:18 protect2 -> /dev/block/mmcblk0p4
lrwxrwxrwx root     root              2016-12-30 20:18 recovery -> /dev/block/mmcblk0p8
lrwxrwxrwx root     root              2016-12-30 20:18 seccfg -> /dev/block/mmcblk0p5
lrwxrwxrwx root     root              2016-12-30 20:18 secro -> /dev/block/mmcblk0p16
lrwxrwxrwx root     root              2016-12-30 20:18 system -> /dev/block/mmcblk0p18
lrwxrwxrwx root     root              2016-12-30 20:18 userdata -> /dev/block/mmcblk0p20

_______________________________________________________________________________

When i do try to flash it says that cant mount /misc volume but i dont have this volume in my system!

There is no /misc on meta-inf folder also  cant find it anywhere, even on install folder i cant find the command line that is wrong.

I do also receive a message cant format non mmcb ....

The other error i get is :> cant format non mmcb ..please help?
This post was last modified: 01-01-2017, 03:43 PM by edneyhelene.
hovatek
hovatek
hovatek
Administrator
49,570
01-01-2017, 10:20 PM
#2
(31-12-2016, 03:29 PM)edneyhelene Hello friends, im portin an android cyanogenmod to my Blu Studio M HD MT 6850 !

Here's my mount points:
ls -al /dev/block/platform/mtk-msdc.0/by-name


1|root@BLU_STUDIO_M_HD:/ #  ls -al /dev/block/platform/mtk-msdc.0/by-name
lrwxrwxrwx root     root              2016-12-30 20:18 boot -> /dev/block/mmcblk0p7
lrwxrwxrwx root     root              2016-12-30 20:18 cache -> /dev/block/mmcblk0p19
lrwxrwxrwx root     root              2016-12-30 20:18 expdb -> /dev/block/mmcblk0p11
lrwxrwxrwx root     root              2016-12-30 20:18 flashinfo -> /dev/block/mmcblk0p21
lrwxrwxrwx root     root              2016-12-30 20:18 frp -> /dev/block/mmcblk0p12
lrwxrwxrwx root     root              2016-12-30 20:18 keystore -> /dev/block/mmcblk0p17
lrwxrwxrwx root     root              2016-12-30 20:18 lk -> /dev/block/mmcblk0p6
lrwxrwxrwx root     root              2016-12-30 20:18 logo -> /dev/block/mmcblk0p10
lrwxrwxrwx root     root              2016-12-30 20:18 metadata -> /dev/block/mmcblk0p14
lrwxrwxrwx root     root              2016-12-30 20:18 nvdata -> /dev/block/mmcblk0p13
lrwxrwxrwx root     root              2016-12-30 20:18 nvram -> /dev/block/mmcblk0p2
lrwxrwxrwx root     root              2016-12-30 20:18 oemkeystore -> /dev/block/mmcblk0p15
lrwxrwxrwx root     root              2016-12-30 20:18 para -> /dev/block/mmcblk0p9
lrwxrwxrwx root     root              2016-12-30 20:18 proinfo -> /dev/block/mmcblk0p1
lrwxrwxrwx root     root              2016-12-30 20:18 protect1 -> /dev/block/mmcblk0p3
lrwxrwxrwx root     root              2016-12-30 20:18 protect2 -> /dev/block/mmcblk0p4
lrwxrwxrwx root     root              2016-12-30 20:18 recovery -> /dev/block/mmcblk0p8
lrwxrwxrwx root     root              2016-12-30 20:18 seccfg -> /dev/block/mmcblk0p5
lrwxrwxrwx root     root              2016-12-30 20:18 secro -> /dev/block/mmcblk0p16
lrwxrwxrwx root     root              2016-12-30 20:18 system -> /dev/block/mmcblk0p18
lrwxrwxrwx root     root              2016-12-30 20:18 userdata -> /dev/block/mmcblk0p20

_______________________________________________________________________________

When i do try to flash it says that cant mount /misc volume but i dont have this volume in my system!

There is no /misc on meta-inf folder also  cant find it anywhere, even on install folder i cant find the command line that is wrong.

I do also receive a message cant format non mmcb ....

The other error i get is :> cant format non mmcb ..please help?

Seems Cyanogen recovery is overwriting the CWM you already have. Why not leave out modifying recovery so CWM remains?

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
edneyhelene
edneyhelene
edneyhelene
Junior Member
22
03-01-2017, 03:46 AM
#3
Sorry i dont get it !

I do have CWM, i am trying to flash a zip file cyanogenmod that i do have ported and cant flash it...

So you re saying that the problem is that my cyanogenmod port is trying to remove the cwm? how do i make it work? i do want to keep using the cwm and flash the custom rom!

Wich files should i modify and where?

thanks in advance
edneyhelene
edneyhelene
edneyhelene
Junior Member
22
03-01-2017, 04:15 AM
#4
(03-01-2017, 03:46 AM)edneyhelene Sorry i dont get it !

I do have CWM, i am trying to flash a zip file cyanogenmod that i do have ported and cant flash it...

So you re saying that the problem is that my cyanogenmod port is trying to remove the cwm? how do i make it work? i do want to keep using the cwm and flash the custom rom!

Wich files should i modify and where?

Here's the sample of my install-recovery.sh :


#!/system/bin/sh
if [ -f /system/etc/recovery-transform.sh ]; then
  exec sh /system/etc/recovery-transform.sh 9916416 1befd1a70146013e7303c1daadc17939c08d5b46 7356416 33fa7bae8ca000026ec090fc2a79a7ff9613e12a
fi

if ! applypatch -c EMMC:/dev/block/platform/mtk-msdc.0/by-name/recovery:9916416:1befd1a70146013e7303c1daadc17939c08d5b46; then
  applypatch -b /system/etc/recovery-resource.dat EMMC:/dev/block/platform/mtk-msdc.0/by-name/boot:7356416:33fa7bae8ca000026ec090fc2a79a7ff9613e12a EMMC:/dev/block/platform/mtk-msdc.0/by-name/recovery 1befd1a70146013e7303c1daadc17939c08d5b46 9916416 33fa7bae8ca000026ec090fc2a79a7ff9613e12a:/system/recovery-from-boot.p && log -t recovery "Installing new recovery image: succeeded" || log -t recovery "Installing new recovery image: failed"
else
  log -t recovery "Recovery image already installed"
fi

Also there is no "recovery-transform.sh" inside etc folder....



Here's a pastbin with informations:

http://pastebin.com/FKgDEGaB


thanks in advance
This post was last modified: 03-01-2017, 06:49 PM by edneyhelene.
shigege
shigege
shigege
Senior Member
162
03-01-2017, 10:00 PM
#5



(03-01-2017, 03:46 AM)edneyhelene Sorry i dont get it !

I do have CWM, i am trying to flash a zip file cyanogenmod that i do have ported and cant flash it...

So you re saying that the problem is that my cyanogenmod port is trying to remove the cwm? how do i make it work? i do want to keep using the cwm and flash the custom rom!

Wich files should i modify and where?

thanks in advance

Your custom ROM is modifying recovery. remove the recovery folder from the ROM and delete all lines related to recovery
edneyhelene
edneyhelene
edneyhelene
Junior Member
22
03-01-2017, 10:42 PM
#6
Already did, not working!

Found out that this phone is a clone from Gionee P2m.... cant we use any custom rom to flash here?
edneyhelene
edneyhelene
edneyhelene
Junior Member
22
04-01-2017, 02:18 AM
#7
Blu Studio M Hd is = Gionee P5W that is = Walton Primo GH5/GH5+

Problem solved =DD im using Gionee p5w software with no problem!
hovatek
hovatek
hovatek
Administrator
49,570
04-01-2017, 10:22 PM
#8
(04-01-2017, 02:18 AM)edneyhelene Blu Studio M Hd is = Gionee P5W that is = Walton Primo GH5/GH5+

Problem solved =DD im using Gionee p5w software with no problem!

great!

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
YtWhTl
live chat
whatsapp telegram instagram