"E: Failed to sysmapfile" during Custom ROM installation? - AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin

Hello XDA! First off I'd like to say that I'm so glad there's a dedicated community of Android users who are willing to share their experiences and help others.
Nothing like a good tech community that have their comrades backs!
So I've been trying to iron out all the issues with running a custom ROM on my Samsung Galaxy S4 (SGH-i337m) for a few days now.
I've soft bricked this little dude 5-10 times and have always been able to figure out what I may have done wrong or how to fix it with the help of other people's help threads.
Slowly but surely I'm grasping more and more about how android works, I'm glad for that!
The only real issue is that I managed to get stuck with an error that doesn't really have an answer that I've been able to find so far.
THE ERROR DETAILS:
Recovery: TWRP v2.8.4.0
ROM: cm-12-20150312-OPTIMIZED-jflte.zip
ROM THREAD: http://forum.xda-developers.com/galaxy-s4/i9505-orig-develop/rom-cyanogenmod-12-t2943934
gApps: pa_gapps-modular-pico-5.0.1-20150307-signed.zip
gApps Thread: http://forum.xda-developers.com/par...apps-official-to-date-pa-google-apps-t2943900
Method of installation:
Flash TWRP with odin3 via download mode
Launch TWRP
Standard TWRP wipe
Install cm-12-20150312-OPTIMIZED-jflte.zip
Receive message:"E: Failed to sysMapFile '/external_sd/cm-12-20150308-OPTIMIZED-jflte.zip' "
Full on-screen error log:
Code:
Installing ''/external_sd/cm-12-20150308-OPTIMIZED-jflte.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
E: Failed to sysMapFile '/external_sd/cm-12-20150308-OPTIMIZED-jflte.zip'
Error flashing zip '/external_sd/cm-12-20150308-OPTIMIZED-jflte.zip'
Updating partition details...
... done
My additional questions and details:
1. I used the Advanced Wipe feature in TWRP with these checked: Dalvik Cache, System, Data, Internal Storage, Cache
---- is this part of the reason why I'm having issues? (is it because I wiped System?)
2. I have reverted back to the stock ROM for this phone (Koodo Canadian SGH-i337m), I have no issues except I don't like the stock rom (ew touchwiz) but still can't install a custom ROM, WHY?!
Thanks for taking the time to read this and giving me whatever answer you have for me!

1. When you do your wipes only wipe data and the caches. If your rom was on the internal sd card when you wiped internal sd card you wiped your rom too.
2. Do you have any other issues reading from your external sd card? It looks like to me that that is the problem. You might have to reformat it and start over.
Sent from my Nexus 9 using XDA Free mobile app

jd1639 said:
1. When you do your wipes only wipe data and the caches. If your rom was on the internal sd card when you wiped internal sd card you wiped your rom too.
2. Do you have any other issues reading from your external sd card? It looks like to me that that is the problem. You might have to reformat it and start over.
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
I only wiped Dalvik Cache, Cache, Data, System, and Internal Storage.
I'll revert back to stock rom, reformat my SD card, re-load my stuff on to the SD, then I'll post what happens when I try to flash the CM12 Rom with TWRP.

FIXED / SOLVED
Thank you for your help jd1639
Anyone who reads this in the future looking to fix their problem this was the solution I used:
Use Odin to flash back to your STOCK ROM (close after PASS message)
Settings -> Storage -> Format SD Card
Plug into computer, Add your files back to the SD Card (ROM, gApps, etc...)
Power OFF phone
Boot into Download Mode (Hold: Down Volume, Home, Power buttons simultaneously until you see the warning message - Press volume up and accept the dangers)
Open fresh Odin, Load TWRP or other recovery with the PDA option - Press Start)
Phone should reboot, wait for it to reboot and Odin to say PASS
Unplug phone from computer
Power OFF
Boot into Recovery mode (Hold: Up Volume, Home, Power buttons simultaneously until you see the booting recovery message)
TWRP starts
Wipe -> Advanced Wipe -> CHECK BOXES: System, Data, Dalvik Cache, Cache NOTHING ELSE!
Go back to the main page when you regain control
Install -> *locate your SD card with ROMs* -> Select desired ROM -> ADD MORE ROMS -> Select compatible gApps -> INSTALL
Wait for reboot
Follow on screen ROM settings tooltip
IF YOU FOLLOWED THESE STEPS EVERYTHING SHOULD WORK!
(if it doesn't work, it's probably your ROM or gApps that caused the issue)

Related

*solved* /data/data/com.google.videos/cache/-1755362040.cacheError while fo

ok im freaking out a little, hopping that you fine ppl here at xda can help me agian.
i had a working rom on my tab, md's alaxandra III witch was my first rom it was great but i decided to check out another with a lil more customization. i did a backup and flashed the new rom.
it was a little twichey didnt run smooth so i decided to revert back to md's rom.
the first backup had an eror, i cant remember exactly what it said something about android media, so i tried an older one.... same thing. it was able to boot after the restore, i could see my custom live wallpaper so the restore somewhat worked but there was a force close window up that would not go away.
so i decided to just whipe and flash original zip for md's ROM. that did not work now im stuck in a bootloop.
HELP ME PLEASE!!!
how can i fix this my wife will kill me if i brick this lol
this isnt looking good... usually i get a fast response
when trying to restore i get
error removing /data/data/com.google.videos/cache/-1755362040.cacheError while formatting/ data
then when it boots i get the application launcher (process com.android.launcher) has stopped unexpectedly. please try again.
this will not leave the screen
Can you get into recovery? Try wiping everything and flashing a fresh ROM like Epiphany
yes i tried puting alaxandra III fresh and got stuck in boot loop
Dont panic YOU ARE NOT BRICKED..
oK FIRST OF STOP THE PANIC ATTACK.. this will likely cause you to miss a step..
1st .. Can you boot into recovery.
if so ..
i suggest .. start from the beginning.. TALK ALL VERIABLES OUT..
Format your SD CARD with a android phone or a sd format utility.. i use the one from pnys website..
re download the rom you wish to flash . To the SD CARD WHILE its in your computer i believe is best..
put the sd card in your computer..
boot into cwm or ra
wipe as usual
format partitions NOT THE sd card
Flash the newly downloaded rom..
reboot recovery .. go back to wipe menu
re wipe. as usual..
Reboot the tablet and set your google account back up. the above will KILL ALL OF YOUR DATA...
THIS IS HOW I Get out of trouble when i toast something.. I ALSO not only backup everytime i take a backup. i try to restore it to be sure its working correctly.. and i push it to my personal ftp site .
good luck...
ok i will try this thx ill get back....
also why did my backup not work? there would not be an issue if they had worked?
erica_renee said:
oK FIRST OF STOP THE PANIC ATTACK.. this will likely cause you to miss a step..
1st .. Can you boot into recovery.
if so ..
i suggest .. start from the beginning.. TALK ALL VERIABLES OUT..
Format your SD CARD with a android phone or a sd format utility.. i use the one from pnys website..
re download the rom you wish to flash . To the SD CARD WHILE its in your computer i believe is best..
put the sd card in your computer..
boot into cwm or ra
wipe as usual
format partitions NOT THE sd card
Flash the newly downloaded rom..
reboot recovery .. go back to wipe menu
re wipe. as usual..
Reboot the tablet and set your google account back up. the above will KILL ALL OF YOUR DATA...
THIS IS HOW I Get out of trouble when i toast something.. I ALSO not only backup everytime i take a backup. i try to restore it to be sure its working correctly.. and i push it to my personal ftp site .
good luck...
Click to expand...
Click to collapse
after flashing i re wipe??
dr mcknight said:
after flashing i re wipe??
Click to expand...
Click to collapse
This is something i always do..it insures that the rom is clean and Fresh. sometimes if you do not take this step you will have ghost directories in /sdcard. directories that did not get deleted. why this happens i have NO IDEA..
Im just a average user that follows what i read.
ok it happens so fast i cant read what come after but when i wipedata/factory i get the same
error removing /data/data/com.google.videos/cache/-1755362040.cacheError while formatting/ data
then it says something else 2 lines i think then it says done, not sure what that means ill try and keep going and see what happens
and wipe cache says e:unknwn volume for path [/sd-ext]
nope it did not work.
back to the forceclose pop up
i didnt get the set up stuff.straight to the rom. im getting notifications in bottem left like new email and wifi availible. shouldnt i get the set up ie. google account time zones and such?????
what ever that error is, its stuck in the system somehow
and one more thing i noticed.... there was a volume error i mentioned in a past post. well when im sitting here stuck with force close pop up, the volume is the only thing i can get access to. i can mute, vol up and down.
everything else is behind the pop up
http://forum.xda-developers.com/showpost.php?p=20680452&postcount=137
im kinda lost with the sd/ext error.. you might try the above.. i think this is how you rooted to begin with... via your computer thru adb.. or you could ask in the recovery thread . the ra recovery thread talks about a similar issue not sure its the same..
wish i could do more but i would get some clarification before you proceed .
so sorry i cant do more..
oh no............. i feel that panic
dr mcknight said:
after flashing i re wipe??
Click to expand...
Click to collapse
Hey, trying to put Alex III back in?
Ok, you need to tell me which Recovery are you Using? Thor's CWM? Or RA Revamped?
If you're using CWM, you should go to wipes, and do all the wipes (data, Cache, Dalvik,System if it has it also, not sure if his new version has it or not) Then goto Mounts and format;
1. Format System
2. Format Cache
3. Format Dalvik
4. Format Flexrom
Install Rom.
If you get stuck in animation loop, reboot back to recovery and do wipes only, then reinstall the rom.
If using RA Revamped 3.15,
Wipe;
Data/factory reset (you shouldn't lose any data)
Dalvik
System
If boot animation, go back to RA Recovery
Data/factory reset
Dalvik
I have RA Recovery down to a fine art with this rom.
Should get you hooked up.
thanks moscow
im past boot loop.
when i wipedata/factory i get the same
error removing /data/data/com.google.videos/cache/-1755362040.cacheError while formatting/ data
then it says something else 2 lines i think then it says done
and wipe cache says e:unknwn volume for path [/sd-ext]
i flash your rom ( witch by the way i will never stray from again) but i dont get the fresh start up screens to set up time google account ect.....EDIT**i get a home screen with a fc pop up and cant do anything
im no pro but whatever its not removing is what looks like is causing the crap
dr mcknight said:
im past boot loop.
when i wipedata/factory i get the same
error removing /data/data/com.google.videos/cache/-1755362040.cacheError while formatting/ data
then it says something else 2 lines i think then it says done
and wipe cache says e:unknwn volume for path [/sd-ext]
i flash your rom ( witch by the way i will never stray from again) but i dont get the fresh start up screens to set up time google account ect.....EDIT**i get a home screen with a fc pop up and cant do anything
im no pro but whatever its not removing is what looks like is causing the crap
Click to expand...
Click to collapse
"wipe cache says e:unknwn volume for path [/sd-ext]" is normal, don;t worry about it. But the other error, is corrupted data I believe.
Are you using Thor's CWM Recovery? What version?
or Do you use RA Revamped? What version
It sounds like you have some very corrupted data in there.
If you are using Thor's CWM. And his recovery only;
Here are the steps to completely wipe all internal data. And give it a clean internal system (according to Thor)
Note: Optional Formatting.
If you really want to remove EVERYTHING in Internal Memory, at this point, go to Backup and Restore. Select "Toggle backup and restore of internal storage (/data/media). Enable this setting by selecting it. By default, it is disabled. Then proceed to the formatting steps. This will format the Entire Internal Memory when you proceed.
Note, this will format EVERYTHING in internal memory (not ext sd card)
Select Go Back, Goto Mounts and Storage
1. Format System
2. Format Cache
3. Format Dalvik
4. Format Flexrom
After you reboot, I believe it resets back to the defaults.
---------- Post added at 11:52 PM ---------- Previous post was at 11:41 PM ----------
Oh, and once you are done, try to install the rom with the normal procedures. It's quite possible the rom on the sd was corrupted, so you may want to re-download it again if you have the same error.
IF you are running RA Revamped Recovery, then you may want to contact Drellisdee at his thread;
http://forum.xda-developers.com/showthread.php?t=1459821
He knows the procedures to do the same. I would tell you, but it's a tricky process, and he knows more about his recovery than I do.
One more note, if you have an extra SD card, even a 2gb, I would format that to FAT 32, and also copy a rom to it and use it. (remove all doubt)
Moscow Desire said:
"wipe cache says e:unknwn volume for path [/sd-ext]" is normal, don;t worry about it. But the other error, is corrupted data I believe.
Are you using Thor's CWM Recovery? What version?
or Do you use RA Revamped? What version
It sounds like you have some very corrupted data in there.
If you are using Thor's CWM. And his recovery only;
Here are the steps to completely wipe all internal data. And give it a clean internal system (according to Thor)
Note: Optional Formatting.
If you really want to remove EVERYTHING in Internal Memory, at this point, go to Backup and Restore. Select "Toggle backup and restore of internal storage (/data/media). Enable this setting by selecting it. By default, it is disabled. Then proceed to the formatting steps. This will format the Entire Internal Memory when you proceed.
Note, this will format EVERYTHING in internal memory (not ext sd card)
Select Go Back, Goto Mounts and Storage
1. Format System
2. Format Cache
3. Format Dalvik
4. Format Flexrom
After you reboot, I believe it resets back to the defaults.
---------- Post added at 11:52 PM ---------- Previous post was at 11:41 PM ----------
Oh, and once you are done, try to install the rom with the normal procedures. It's quite possible the rom on the sd was corrupted, so you may want to re-download it again if you have the same error.
IF you are running RA Revamped Recovery, then you may want to contact Drellisdee at his thread;
http://forum.xda-developers.com/showthread.php?t=1459821
He knows the procedures to do the same. I would tell you, but it's a tricky process, and he knows more about his recovery than I do.
One more note, if you have an extra SD card, even a 2gb, I would format that to FAT 32, and also copy a rom to it and use it. (remove all doubt)
Click to expand...
Click to collapse
IM USING THOR'S cwm RECOVERY V5.0.0.0
I WILL TRY YOUR STEPS ABOVE WITH A NEW CARD.
its not the ROM download because i have already re downloaded it
again thank you to Moscow and erica_renee for ALL YOUR HELP AND ADVICE you two are the most helpful and fastest to respond on this forum!!!!
i will get back after this try

Retrieving files from Note 3 which doesn't boot

Hello, please help
I have Samsung Note 3 with custom Omega ROM.
Today I had constant errors "Process com.android.systemui has stopped". The phone was not usable.
I tried to clear cache, no success. Then I wiped /data and /system, which resulted in the phone not booting anymore. A mistake, I know.
I would like to fix the situation or, if I have to install the new system anyway, just to download all the user files (photos etc.) from Internal memory of the phone to my PC via the USB cable. But the phone is not booting anymore.
How to do that?
Flash stock rom via Odin see stickies .
You may lose some files .
just flash official firmware by odin, don't worry you will not lose your data (music, photos, ...). now after finishing and optimizing apps the phone will restart. if you see black screen then flash twrp and select wipe then swipe the arrow. don't chose advanced wipe. now reboot
after all that if you still want omega rom, no problem just download the latest version and before flashing in twrp do advanced wipe and check all options except internal storage & sd card
i tried all that on my n9005.

No writing access to internal sd card after restoring backup

Dear forum members,
Im having issues with writing to my internal sd card, here the descripption of what i did:
I installed the rom Phronesis v6.2, everything was working perfectly until I realized that xposed was missing, I decided to install it by flashing the xposed-v80-sdk22-arm, unfortunately I got a boot loop so i decided to go back to my original stock rom (4.4.2) restoring a nondroid backup.
The problem is that after restoring it seems that I lost writing privileges to my internal sd card, using es file explorer shows that the storage/emulated/0 folder is empty, but it displays that is using 16 gb from 26. Using the stock “my files” the folders are displayed but I cannot copy anything to it (failed to copy). Applications in general work (some force closes) but I cannot save any settings
If I connect the phone to a pc, i cannot copy any files from the computer to the internal or external sd cards, however I can copy from the external sd to the computer.
I tried to format clear cache etc and restore again but the issue persists.
Can anyone be so kind and try to help me figure out a possible solution?
Thanks in advance
galaxy note n9005 snapdragon
Can anyone please help?
kartoshka22 said:
Can anyone please help?
Click to expand...
Click to collapse
1. Go to your custom recovery and wipe all (system, data, dalvik).
2. Reboot in DOWNLOAD MODE and flash the ORIGINAL STOCK android 4.4.2 firmware via ODIN.
3. Root your device and flash via ODIN the custom recovery again.
4. Restore your nandroid backup.
5. Done. Good luck :highfive:
Hello Joku,
Thanks a lot for the reply, i fixed the issue by formatting the internal sd, wiping all (system, data, dalvik) and then restoring the nandroid backup, now all works.
Thanks again!
Joku1981 said:
1. Go to your custom recovery and wipe all (system, data, dalvik).
2. Reboot in DOWNLOAD MODE and flash the ORIGINAL STOCK android 4.4.2 firmware via ODIN.
3. Root your device and flash via ODIN the custom recovery again.
4. Restore your nandroid backup.
5. Done. Good luck :highfive:
Click to expand...
Click to collapse

Reduced internal storage to about 450 mb after installing twrp.

I installed twrp using adb in my lenovo k4 note (A7010a48) after which the internal memory of my device reduced to 450 mb from 16 GB and I installed official resurrection remix in it. Though the storage option from settings shows 16 GB memory out of which 14 GB is used by system while in twrp it shows only 450 mb. Now due to this I would like to reinstall my stock ROM and stock recovery and get my storage and volte back. Please tell me if there are any ways. Also when I try to open my recovery there is a black screen only. Thanks in advance.
Actually that happened for me too.. I found that it happens when I unlock the bootloader, boot to recovery , deleting "boot_from_recovery.p" and WITHOUT flashing super su nor booting to system, directly flashing any other twrp recovery or wiping the Dalvik cache, system, data, the recovery finds our sdcard (internal storage) partition as 774 MB or in your case 450 MB. So to get rid of these things, flash s232 firmware again unlock bootloader, boot to recovery, delete the file "boot from recovery.p", flash SuperSU, clear Dalvik cache and cache, let the phone boot to system ( normal startup) and then reboot to recovery and voila! You will find internal storage as usual .:good:
Vijay Jadaun said:
I installed twrp using adb in my lenovo k4 note (A7010a48) after which the internal memory of my device reduced to 450 mb from 16 GB and I installed official resurrection remix in it. Though the storage option from settings shows 16 GB memory out of which 14 GB is used by system while in twrp it shows only 450 mb. Now due to this I would like to reinstall my stock ROM and stock recovery and get my storage and volte back. Please tell me if there are any ways. Also when I try to open my recovery there is a black screen only. Thanks in advance.
Click to expand...
Click to collapse
perform factory reset in twrp recovery, to fix that issue
akurativinod said:
Actually that happened for me too.. I found that it happens when I unlock the bootloader, boot to recovery , deleting "boot_from_recovery.p" and WITHOUT flashing super su nor booting to system, directly flashing any other twrp recovery or wiping the Dalvik cache, system, data, the recovery finds our sdcard (internal storage) partition as 774 MB or in your case 450 MB. So to get rid of these things, flash s232 firmware again unlock bootloader, boot to recovery, delete the file "boot from recovery.p", flash SuperSU, clear Dalvik cache and cache, let the phone boot to system ( normal startup) and then reboot to recovery and voila! You will find internal storage as usual .:good:
Click to expand...
Click to collapse
Is there any way I can skip flashing the firmware and do this with the custom rom installed? Also, where is the "boot_from_recovery.p" file located? xda says /system but I can't find it there.
dubdex420 said:
Is there any way I can skip flashing the firmware and do this with the custom rom installed? Also, where is the "boot_from_recovery.p" file located? xda says /system but I can't find it there.
Click to expand...
Click to collapse
Try factory resetting from twrp as mohan mentioned above.. if it did not worked, probably that's the only way.
Figured out how to get rid of this issue: After installing stock rom, unlocking bootloader and flashing TWRP through ADB: you have to reboot into system (stock ROM), go through the setup and only then are you able to go back into TWRP to wipe and flash the custom ROM of your choice (in this case RR, without having full internal storage).
regarding internal storage issue
Is your solution will fix my internal storage problem
Fixed it for me so yes
While flashing RR, I also ended up in the same position. Here's how I fixed it:
1) Post flashing RR, goto bootloader and flash recovery-mohan-n.img
2) reboot to recovery
3) click on wipe and then select format data (option next to advance wipe).
4) Once format is complete, go back to main screen and Reboot to system.
Hence the problem shall be resolved.
PLS HELP!!!
pkimtani said:
While flashing RR, I also ended up in the same position. Here's how I fixed it:
1) Post flashing RR, goto bootloader and flash recovery-mohan-n.img
2) reboot to recovery
3) click on wipe and then select format data (option next to advance wipe).
4) Once format is complete, go back to main screen and Reboot to system.
Hence the problem shall be resolved.
Click to expand...
Click to collapse
I formatted it now i have more space free.....But internal storage is not detected.....I cannot take screenshots and all ....i cannot open camera ....and when i open file manager its failing to detect internal storage.........

ZE601KL No OS installed! (TWRP)

Hi all,
Recently it's been restarting every once in a while.
I have TWRP installed, so I went into recovery mode and factory data reset my device to start fresh of course backing up all my data.
But me being the cleverclogs went into Wipe -> Advanced Wipe and selected all the boxes thinking it will do a proper cleanout (Dalvik/ART Cache, System, Data, Internal Storage, Cache, Micro SDCard). But when I try to reboot it there's a msg saying "No OS installed! Are you sure you wish to power off?".
When restarting the phone it just goes back to ASUS IN SERCH OF INCREDIBLE
How can I install the stock ROM or I might even try custom ROMS (any recommendations?). I haven't installed a custom ROM since the Samsung Galaxy II days so I'm a complete noob again.
I have two Rom in the Internal Memory, one Asus stock and one of LianogenOS 16, but when trying to install, in both they give me the same error, MD5 NOT FOUND
I have copied the two ROMs into a micro SD, but it is not shown with the TWRT File Explorer
I am trying to send a ROM to Internal Memory with ADB push from Minimal Adb but it gives me an error.
Maybe I could install an .img ROM from Fastboot Mode?
Where can I find any?
Thanks for your help.

Categories

Resources