Error 4 in TWRP? - General Questions and Answers

Hi guys,
I am working on a port for lineage OS of the galaxy j3, but when two of my friends flashed the ported rom, they both got the error: updater process ended with ERROR: 4.
I obviously want to finish the port, so i tried to see what the error was caused by. However, after searching on google I could not find any answers. The devices were both the same (SM-J320FN), an one was running TWRP 3.0.2.1 and the other 3.0.2.0.
Does anyone know what the issue is, and how i can fix it?
Thanks!
Note: thanks to @adrian1234a and @KaioProHawk for testing the rom!

MrViking said:
Hi guys,
I am working on a port for lineage OS of the galaxy j3, but when two of my friends flashed the ported rom, they both got the error: updater process ended with ERROR: 4.
I obviously want to finish the port, so i tried to see what the error was caused by. However, after searching on google I could not find any answers. The devices were both the same (SM-J320FN), an one was running TWRP 3.0.2.1 and the other 3.0.2.0.
Does anyone know what the issue is, and how i can fix it?
Thanks!
Note: thanks to @adrian1234a and @KaioProHawk for testing the rom!
Click to expand...
Click to collapse
I'm sure the error it is in the updater script

,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
.........................................................................

I'm following

Related

[FIXED] Please Help! Lots of Flashing Errors

Just a quick heads up to everyone, I was able to fix my issue by SWITCHING TO A NEW SDCARD, I had been using a 64GB SDCARD and I switched to a 2GB SDCARD and I guess that my recovery or my phone couldn't handle such a large card.
It took me about two days to come to this conclusion but after lots of ODIN and reflashing just about everything possible I've decided this was the issue. Also I ran up my flash count a hell of a lot. I hope this helps someone out who may have issues like mine!
Hey all,
Today I decided I would try out a new ROM on my SGS3 so I decided to install the MIUIv5 ROM here: http://forum.xda-developers.com/showthread.php?t=2232800
Normally ROM installations go quite smooth for me so I opened up TWRP v2.5.0.0 and I did as I usually do by making a backup and wiping my system and then going to install my ROM. Instead today I got tons of errors saying:
Code:
Finding update package...
Opening update package...
E: Can't open /external_sd/MIUI5_d2vzw_3.4.12.420-signed (1).zip
(bad)
Installation aborted
So, I downloaded the ROM again, but this time from the mirror just in case I had a bad .zip or it didn't transfer to my SDCARD correctly, but then I started getting more and more errors.
Instead of getting a bad zip error I got the following:
Code:
E:Mount: Unable to find partition for path '/'
I guess this means it can't find my root partition?
Now all of a sudden I can't find my backups and I am just stuck without a ROM and I only have a recovery... quite inconvenient, also I can't flash any ROMS as I tried flashing some others but they didn't work at all no matter what I did and I am just running in circles... any help is GREAT APPRECIATED as I would love to have a functional phone by tomorrow.
I am fairly fluent with android and linux systems as well as computers in general so I should be able to provide any helpers with almost all information needed relative to my device, but sadly this whole issue has really stumped me.
Thanks so much!
ljbaumer
Click to expand...
Click to collapse
Have you tried flashing with Odin?
I know a lot of people swear by twrp but for me I always seemed to have issues. I had a similar issue you are having when I finally flashed cwm again. I was able to fix my issue by odin.
Sent from my GT-P5113 using xda premium
Thanks for both of your replies, I decided just to revert back to stock and I am in the process of re-obtaining root and such and then I am going to try to flash again just using recovery... by flashing by odin do you mean flashing a ROM or flashing back to stock?
FIXED! Read OP

[Q] CM12 installed successfully... but it's not.

I recently built CM12 for d2tmo/d2lte (Samsung Galaxy S III SGH-T999/T999L) . The build process went fine, but the installation process... not so much.
I have attempted multiple times to install it. The following message is given when the install "finishes":
detected filesystem ext4 for /dev/block/platform/msm_sdcc. .1/by-name/system
(the above message repeats itself a second time)
script succeeded: result was [0.200000]
updating partition details...
...done.
Successful.
Click to expand...
Click to collapse
Rebooting brings me to the Samsung Galaxy S III splash screen, but nothing beyond that. THIS DOES NOT HAPPEN WITH CM11. Attempting to flash CM11 doesn't say anything about ext4, and it completes successfully. Rebooting brings you to the OS.
Device: Samsung Galaxy S III (d2tmo), TWRP 2.8.5.0.
Does anybody know anything about this message? I have searched for hours to no avail.
StealthBravo said:
I recently built CM12 for d2tmo/d2lte (Samsung Galaxy S III SGH-T999/T999L) . The build process went fine, but the installation process... not so much.
I have attempted multiple times to install it. The following message is given when the install "finishes":
Rebooting brings me to the Samsung Galaxy S III splash screen, but nothing beyond that. THIS DOES NOT HAPPEN WITH CM11. Attempting to flash CM11 doesn't say anything about ext4, and it completes successfully. Rebooting brings you to the OS.
Device: Samsung Galaxy S III (d2tmo), TWRP 2.8.5.0.
Does anybody know anything about this message? I have searched for hours to no avail.
Click to expand...
Click to collapse
The message is kind of normal and not a error. Shows up on other phones, too. Seems as something went wrong with building the rom. May be you can ask HERE how they did it.
LS.xD said:
The message is kind of normal and not a error. Shows up on other phones, too. Seems as something went wrong with building the rom. May be you can ask HERE how they did it.
Click to expand...
Click to collapse
I messaged a d2att dev to see his input, but I *might* have figured out the issue. I was using a custom local_manifests XML file since I was building this off my VPS. Apparently, some of the URLs in there were broken, and were causing certain hardware components to not download. I'm recompiling right now, and I'll report back later.
Fixed. It turns out that I forgot some of the vendor drivers as I mentioned above. Silly mistake.

Rom problem

Hi
Im new here and actually i have a very very big problem with my Samsung S3 I9300. Days ago i installed Cm13 on my S3 but i got back to stock mistakelly, but now i want to instal Cm 13 again but when i try to flash it it says "cant open, abort" . Does anyone has any idea whats the problem ? i have tried to redownload the rom again form differet servers but nothing. Also used CWM, TWRP but still same thing. i can install S5 sensation, not blekota, not Cm13, why ?? does anyone has any idea whats the problem ?
Thank you
What do you mean by mistakingly?? Anyway since you can flash roms other than CM13 I suggest you try resurrection remix which is based on cm13 and has the same features (and even more ) frequent updates and a good support so you won't miss anything from CM.
You can try it here http://forum.xda-developers.com/galaxy-s3/development/rom-ressurrection-remix-m-t3270121
Don't be a leech, press the thanks button ?.
when i try to flash any rom, it says : Installation aborted (bad).. cant falsh anything
realdlalaj said:
when i try to flash any rom, it says : Installation aborted (bad).. cant falsh anything
Click to expand...
Click to collapse
Read this, I hope it solves your problem http://forum.xda-developers.com/showthread.php?t=1319857 good luck

HTC ONE M8whl rom flashing

Friends and android geeks,could someone tell me the solution for my problem?
I have a htc one m8whl device and its unlocked and rooted now. I have a twrp 3.0.2 recovery installed on my device.
problem:
I face problem when flashing a cyanogenmod13-nightly os through twrp.
everytime i flash it , it shows "failed".
sanjeevikrishna said:
everytime i flash it , it shows "failed".
Click to expand...
Click to collapse
It doesn't just say "failed", it should give you an error code, like code 7 or something. Get back with the error code please.
thank you for replying
RAZERZDAHACKER said:
It doesn't just say "failed", it should give you an error code, like code 7 or something. Get back with the error code please.
Click to expand...
Click to collapse
Now the problem is actually solved. The error(sry did not notice the code) occurred only when i flashed the rom from usb-otg.
It was solved when i tried flashing from sd-card.
And i would be happy to know some good custom Roms for my htc one m8whl.
Thank you.
sanjeevikrishna said:
Now the problem is actually solved. The error(sry did not notice the code) occurred only when i flashed the rom from usb-otg.
It was solved when i tried flashing from sd-card.
And i would be happy to know some good custom Roms for my htc one m8whl.
Thank you.
Click to expand...
Click to collapse
CyanogenMod is if you like near stock android with some features on top.
ERROR 7;
RAZERZDAHACKER said:
CyanogenMod is if you like near stock android with some features on top.
Click to expand...
Click to collapse
Thank you dear friend.
I tried to find out the error code that occurred in previous sessions and it was ERROR:7 as you suggested. It happened with me when i tried to install NusenSeven for sprint m8 as well.
Additionally, I tried installing a couple of ROMS
1) BadBoys for m8 and
2) Wolla for m8.'
Both were installed successfully but unfortunately the Radio was not working. Plus both these Rom's kept on restarting multiple times in an hour for the whole day. Even-though it had many cool customisation's i couldn't use it.
Finally, i returned back to cm-13.0 nightly but Still it has two major problem
1) the Radio is down .
2) problem with the Gapps. ( I flashed the Gapps properly after the rom , but when i start my device i cannot find any apps from Gapps package. NOTE: There was a flash successful message on flashing gapps ).
kindly help me.
thank you in advance.

Galaxy tab 2 4.4.2 Rom Help Lineage/cyanogen mod Flashing help.

Hi. I've been struggling to get a working version of Cyanogen mod or lineage os on my galaxy tab 2 GT-P5113. I've gone through the works and have gotten both os's on the device but always struggle with getting gapps installed. I used the arm 6.0 nano file and installed it with twrp and still can't get it to work. Usually getting errors and messages like google play has stopped, clock has stopped, etc. If you have any trouble shooting tips or need more info please let me know.
SpiralFuzion123 said:
Hi. I've been struggling to get a working version of Cyanogen mod or lineage os on my galaxy tab 2 GT-P5113. I've gone through the works and have gotten both os's on the device but always struggle with getting gapps installed. I used the arm 6.0 nano file and installed it with twrp and still can't get it to work. Usually getting errors and messages like google play has stopped, clock has stopped, etc. If you have any trouble shooting tips or need more info please let me know.
Click to expand...
Click to collapse
update your twrp. install the latest https://eu.dl.twrp.me/espressowifi/
smart-t78 said:
update your twrp. install the latest https://eu.dl.twrp.me/espressowifi/
Click to expand...
Click to collapse
thank you so much! I got it to work. Not sure as to why updating it made it work. I do get a lot of messages saaying the clock doesnt work or wizard doesn't work. Should i worry about this?
SpiralFuzion123 said:
thank you so much! I got it to work. Not sure as to why updating it made it work. I do get a lot of messages saaying the clock doesnt work or wizard doesn't work. Should i worry about this?
Click to expand...
Click to collapse
all these messages should be gone after updating twrp.

Categories

Resources