IS there any custom ROM for the Samsung Galaxy j4 SM-j400M? - Samsung Galaxy J4+ Guides, News, & Discussion

Hello! I've been trying to install a custom ROM on my SM-J400M for a while now and none worked, recently i tried installing Magisk on it and now it is in a bootloop . Is there any custom ROM compatible with my device? Or it is impossible to install a custom ROM on it? At the moment it seems like it is not even rootable...
Also the version of TWRP that i installed on my device says that it is an SM-J400F instead of a SM-J400M which is the actuall name of the model. Is that a problem? If so please tell me how to unistall it, i wasnt able to find any way to uninstal TWRP on a soft-bricked phone.
Thanks in Advance!

TheChadGamer said:
Hello! I've been trying to install a custom ROM on my SM-J400M for a while now and none worked, recently i tried installing Magisk on it and now it is in a bootloop . Is there any custom ROM compatible with my device? Or it is impossible to install a custom ROM on it? At the moment it seems like it is not even rootable...
Also the version of TWRP that i installed on my device says that it is an SM-J400F instead of a SM-J400M which is the actuall name of the model. Is that a problem? If so please tell me how to unistall it, i wasnt able to find any way to uninstal TWRP on a soft-bricked phone.
Thanks in Advance!
Click to expand...
Click to collapse
I've managed to un-brick my phone! Still found no way to install a custom ROM on it tho...

TheChadGamer said:
Hello! I've been trying to install a custom ROM on my SM-J400M for a while now and none worked, recently i tried installing Magisk on it and now it is in a bootloop . Is there any custom ROM compatible with my device? Or it is impossible to install a custom ROM on it? At the moment it seems like it is not even rootable...
Also the version of TWRP that i installed on my device says that it is an SM-J400F instead of a SM-J400M which is the actuall name of the model. Is that a problem? If so please tell me how to unistall it, i wasnt able to find any way to uninstal TWRP on a soft-bricked phone.
Thanks in Advance!
Click to expand...
Click to collapse
Is There Any Custom ROM for Samsung Galaxy J4?
YES!
Although, this is not specific Custom ROM for this device. This ROM is GSI (Generic System Image), and J4 is greatly support it! (Because it has Android Oreo out-of-box)
How to install it?
Easy, install TWRP from TwrpBuilder's Github, flash GSI Image as usual, flash magisk (if bootloop, flash this might help), and done!
Please note that this is GSI, bugs are widely open. But, as far as I use J4, the only bug I feel are Camera and MTP (fixed by using custom kernel)
Edit: For your TWRP, which version you install?

RedLine_27 said:
Is There Any Custom ROM for Samsung Galaxy J4?
YES!
Although, this is not specific Custom ROM for this device. This ROM is GSI (Generic System Image), and J4 is greatly support it! (Because it has Android Oreo out-of-box)
How to install it?
Easy, install TWRP from TwrpBuilder's Github, flash GSI Image as usual, flash magisk (if bootloop, flash this might help), and done!
Please note that this is GSI, bugs are widely open. But, as far as I use J4, the only bug I feel are Camera and MTP (fixed by using custom kernel)
Edit: For your TWRP, which version you install?
Click to expand...
Click to collapse
Thanks for the reply!
I recently discovered that my Samsung J4 is carrier locked so i don't think it is possible to flash a custom ROM in it...
I really tried many things since this post but in the end it would always get stuck in a boot loop and i would have to flash the official firmware in it to restore it.
What TWRP version did i use?
I honestly don't remember but it probably was a unofficial TWRP 3.2.3 or something similar, not sure if it was unofficial or not but it seemed to work...
Also, how would i go around getting a custom kernel to use on the device that would fix those problems?
Again, thanks for replying!
-TheChadGamer

TheChadGamer said:
Thanks for the reply!
I recently discovered that my Samsung J4 is carrier locked so i don't think it is possible to flash a custom ROM in it...
I really tried many things since this post but in the end it would always get stuck in a boot loop and i would have to flash the official firmware in it to restore it.
What TWRP version did i use?
I honestly don't remember but it probably was a unofficial TWRP 3.2.3 or something similar, not sure if it was unofficial or not but it seemed to work...
Also, how would i go around getting a custom kernel to use on the device that would fix those problems?
Again, thanks for replying!
-TheChadGamer
Click to expand...
Click to collapse
I use TWRP 3.2, and flashed MY builded custom kernel (Only for GSI!) https://forum.xda-developers.com/galaxy-j/development/kernel-redline-kernel-samsung-galaxy-j4-t4188199/
You need to update to Android 10 Stock then flash the A64 A/B GSI. And remember to flash dm verity disabler then flash Magisk. Magisk is important too.
For more info about this, feel free to join our telegram group : https://t.me/SamsungGalaxyJ4
In there we have detail instruction to flash GSI for J4. And other issue discussion
I can't write the steps here, because the steps is little complicated. Cheers!

Thank you for your help!
Soon i will be giving it another attempt then !

Sorry for taking so long, even the site had a upgrade!
I actually am using Linux now but i am dualbooting with Windows to be able to use Odin. I have just now entered the Telegram group,
NamaSayaHendra said:
In there we have detail instruction to flash GSI for J4.
Click to expand...
Click to collapse
Where can i find those instructions in the group? I have never used Telegram before so i don't know where to look for them

Related

I somehow uninstalled my OS and no ROMs will Flash..

I somehow uninstalled my OS tonight when I was trying to flash AOSP's Oreo ROM. The flashing was unsuccessful (Error: 7) but I've noticed that no ROMs will flash at all.
I'm getting the same error for all ROMs despite them being suitable for my device:
Updater Process ended with ERROR: 7 Error Installing Zip File "ROM xx.x.x..."
Click to expand...
Click to collapse
Things I've done:
I've tried wiping the cache before I flash ROMS
I am on the most updated version of TWRP available for my device (3.0.2)
I've tried changing the updater-script as someone pointed out in another thread but it did not help
At this point, I just want a stable OS that will run on the phone.... Can someone help me? I just want to understand the error and what's causing it and install a ROM that would work...
Look for Mega Unbrick Guide to install a OS.
Sent from my Pixel 2 XL using Tapatalk
That's odd, because Error 7 is usually related to Updater-Script. Have you modified your model name in Updater-Script or just removed the line from it?
jklh said:
[*]I am on the most updated version of TWRP available for my device (3.0.2)
.
Click to expand...
Click to collapse
TWRP version is 3.1.1-1 now so you're not on the last.
Beside that, the question is what was on your device before :
- Did you already installed OOS 3.1.4 at one point?
- Didi you use the BLUpdater method to update the bootloader (logic ) ?
If no to the 2 questions above, that is the problem. So , you'll have to use the mega unbrick guide !
Kéno40 said:
TWRP version is 3.1.1-1 now so you're not on the last.
Beside that, the question is what was on your device before :
- Did you already installed OOS 3.1.4 at one point?
- Didi you use the BLUpdater method to update the bootloader (logic ) ?
If no to the 2 questions above, that is the problem. So , you'll have to use the mega unbrick guide !
Click to expand...
Click to collapse
I actually haven't done both. I tried flashing the OOS 3.1.4 full ROM but it did not work. I will update my TWRP to 3.1.1-1 and I'll try it again. I do have an update though, I am able to flash an old version of Android M OOS using "OnePlusOxygen_14_OTA_003_all_201510241934". If I am able to install this, maybe this isn't a bricked device? Any advice would be super useful, thanks in advance.
jklh said:
I actually haven't done both. I tried flashing the OOS 3.1.4 full ROM but it did not work. I will update my TWRP to 3.1.1-1 and I'll try it again. I do have an update though, I am able to flash an old version of Android M OOS using "OnePlusOxygen_14_OTA_003_all_201510241934". If I am able to install this, maybe this isn't a bricked device? Any advice would be super useful, thanks in advance.
Click to expand...
Click to collapse
If you haven't done any of the 2 things listed, then you tried to flash a "new Bootloader rom", you have no choice :
=> MEGA UNBRICK GUIDE

CRB7(ODIN)Official Fw S8 G950F[PDA G950FXXU1CRB7-CSC G950FOXM1CRAP-BL G950FXXU1CRB7]

Hi, Guys.
I just installed new OREO Firmware CRB7 [PDA G950FXXU1CRB7-CSC G950FOXM1CRAP-BL G950FXXU1CRB7 (DBT) - Changelist 12993656] and I did exactly the same steps as in the previous CRAP Firmware – HERE ( https://forum.xda-developers.com/galaxy-s8/development/oreoodin-official-firmware-galaxy-s8-t3748669 ).
This time I’ve used a new ODIN, v3.12.10.1, and I didn’t absolutely NOTHING different from what I had already done in the previous flash, so there is nothing more to add to what was said earlier, just follow what it has been said, as simple as that.
I'm so sorry no longer available to answer user questions, but understand that I'm just reporting something I just did, without any kind of problems.
Other questions that could be put beyond all that has been said, I could only answer with certainty if I had experienced this same doubt, that is, I would have to reproduce the problem to give the answer, understand?
Has anyone asked if through an update via update.zip could install Recovery TWRP or Root ... I would say yes, but I can not be sure of this because I never did ... it's a matter of trying!
So I leave here the LINK of new firmware, to be installed via ODIN, just like any other firmware to be installed this way ... there are no secrets.
I also leave LINK for Magisk v16.0 (1600), Magisk Manager v5.6.1, Magisk Uninstaller 2018-02-22 and TWRP 3.2.1-0 dreamlte, for anyone who needs this software.
Good Luck to All
PDA G950FXXU1CRB7 - CSC G950FOXM1CRAP - BL G950FXXU1CRB7 (DBT)
https://www.androidfilehost.com/?fid=746010030569955941
Magisk v16.0(1600)+MagiskManager v5.6.1+MagiskUninstaller_2018-02-22
https://www.androidfilehost.com/?fid=962187416754462528
Odin3 v3.12.10.1
https://www.androidfilehost.com/?fid=673956719939821692
TWRP 3.2.1-0 dreamlte
https://www.androidfilehost.com/?fid=746010030569953853
Hi. I have not yet installed any custom ROM, just installed TWRP and Magisk. Later I'm going to test some ROMs, but so far everything is perfect, no problem.
I already had a custom ROM before flashing the new firmware, so maybe I had no problems installing the TWRP or Root
Does this work on 950FD?
I'm on 'CRAP' right now.
Thanks
it does not let me flash the twrp, it tells me that only official binaries
juan_itoo said:
it does not let me flash the twrp, it tells me that only official binaries
Click to expand...
Click to collapse
Because phone is on Prenormal Status, no? If so, you may attend 7 days with phone ON, without restart them (I think [emoji848]).
S8 [email protected] v7.3.4(109)
limafranco said:
Does this work on 950FD?
I'm on 'CRAP' right now.
Thanks
Click to expand...
Click to collapse
Sincerely? I don't know, buddy! But phones I think identicals, so yes [emoji57]
S8 [email protected] v7.3.4(109)
This
juan_itoo said:
This
Click to expand...
Click to collapse
[emoji21]Just like I said
S8 [email protected] v7.3.4(109)
trocopassu said:
Sincerely? I don't know, buddy! But phones I think identicals, so yes [emoji57]
S8 [email protected] v7.3.4(109)
Click to expand...
Click to collapse
Yes, it works.
I just flashed. Its the same FW for both versions (Exynos)
How u r knox 0x0 after flashing twrp and magisk @trocopassu
mayank233 said:
How u r knox 0x0 after flashing twrp and magisk @trocopassu
Click to expand...
Click to collapse
Custom Kernel
S8 [email protected] v7.3.4(109)
Samsung just released a new Odin version that fixes the problem of the new compression files.
Now the flash is done the old way
PS: Odin version 3.13.1
Please, a mirror of the ROM
alejobog said:
Please, a mirror of the ROM
Click to expand...
Click to collapse
Hi.
File to download is not ROM but the Official Stock Firmware for the S8 G950F.
Now, new ODIN with has .lz4 file support, so you can download Official Stock Firmware directly from SamMobile and flash this on your S8 G950F (or other) with the new ODIN.
I leave here LINKs for SamMobile G950F Firmware and ODIN with support for .lz4 files
ODIN (.lz4 support) - https://www.androidfilehost.com/?fid=746010030569958654
SamMobile G950F (firmware) - https://www.sammobile.com/firmwares/galaxy-s8/SM-G950F/
hello ... after installing without any problem I wanted to install TWRP and I get this message in download mode 'Only official released binaries are allowed to be flashed' ... until here comes, I think I'll have to wait a week for it to be unlock ...
I also have a question ... then I can install TWRP, root, magisk, viperfx, etc. ??
I appreciate your advice and experiences in this regard ... or if you know of any solution to avoid having to wait. Thank you.
ppelao3k said:
hello ... after installing without any problem I wanted to install TWRP and I get this message in download mode 'Only official released binaries are allowed to be flashed' ... until here comes, I think I'll have to wait a week for it to be unlock ...
I also have a question ... then I can install TWRP, root, magisk, viperfx, etc. ??
I appreciate your advice and experiences in this regard ... or if you know of any solution to avoid having to wait. Thank you.
Click to expand...
Click to collapse
Yes, same problem.
if I have this message in download mode --- 'Only official released binaries are allowed to be flashed' after having installed official CRB7 --- can I flash official AQL5 ROM to go back to version 7 and thus be able to install TWRP ??
Please advise before doing so, as I understand in the state that is today, I must wait a week to install something in download mode ... is it correct?
If I make a mistake without asking, I could be without a phone for a week and I would have to commit suicide ... hahaha
Thank you.
Well I just have to thank the help that trocopassu gave to me to install the rom, was of extreme importance
Best wish to her
VITMAD said:
Well I just have to thank the help that trocopassu gave to me to install the rom, was of extreme importance
Best wish to her
Click to expand...
Click to collapse
Thanks, matte. Congratulations also to you for your decision.
how could you manage to flash without giving instruction about OEM unlock? i dont have option in dev mode for OEM unlock.

Can't flash any rom

Hello, I have one big problem with my mate 10 lite
The problem is, when i flash twrp everything is okay, but when i try to flash any custom rom - I always have bootloop, on every custom :/
I tried to use eRecovery to install stock but it ends in the same way - bootloop
What can I do?
I really wanted to switch for custom...
Try using 338 stock rom and then install custom rom.
petanque said:
Try using 338 stock rom and then install custom rom.
Click to expand...
Click to collapse
okay, finally i installed custom, but i have one question
what if i want to change custom to another custom?
because i found instruction to flash custom (in aex thread) and its only possible way to flash rom on my device, so how to flash another rom?
DombroPL said:
okay, finally i installed custom, but i have one question
what if i want to change custom to another custom?
because i found instruction to flash custom (in aex thread) and its only possible way to flash rom on my device, so how to flash another rom?
Click to expand...
Click to collapse
You can install other custom ROMs even if you are already on a custom ROM. The thing is all steps indicated
in custom ROM threads, ask you to wipe, and format so already they are cleaning necessary things, before actual
installation (flashing) step starts. But the cleaning is not like a proper clean i.e. done by stock recovery, so if you want
to install a new custom ROM, its better to first install Stock recovery, then wipe/format, then install TWRP, and proceed
with new Custom ROM installation.
If any thing does not work for you, then install ur stock ROM, and then install the new custom ROM ur interested in.
DombroPL said:
Hello, I have one big problem with my mate 10 lite
The problem is, when i flash twrp everything is okay, but when i try to flash any custom rom - I always have bootloop, on every custom :/
I tried to use eRecovery to install stock but it ends in the same way - bootloop
What can I do?
I really wanted to switch for custom...
Click to expand...
Click to collapse
Hi. I have same problem like you with my RNE-L21. I cannot flashing any ROM even stock B338...
beacouse gives me bootloop.
TWRP installed - FRP unlock - Bootloader unlock
Wojtek1979mildner said:
Hi. I have same problem like you with my RNE-L21. I cannot flashing any ROM even stock B338...
beacouse gives me bootloop.
TWRP installed - FRP unlock - Bootloader unlock
Click to expand...
Click to collapse
I reckon you must have missed some step, as I did tried most of the ROMs shared in this mate 10 lite
section of XDA forums. Specially the part after installation which says to flash Stock recovery n give it a wipe/format that makes the ROM installation proper, later you can install custom recovery.
For stock ROM, HuruUpdater works with TWRP, try one version of HuruUpdater, if it does not work change your
custom recovery to some other custom recovery (other TWRP, you will find many in this forum), and eventually
one of them will work for u. Still, it doesnt work, change the HuruUpdater version to an earlier version, and repeat
the process.
usman400 said:
I reckon you must have missed some step, as I did tried most of the ROMs shared in this mate 10 lite
section of XDA forums. Specially the part after installation which says to flash Stock recovery n give it a wipe/format that makes the ROM installation proper, later you can install custom recovery.
For stock ROM, HuruUpdater works with TWRP, try one version of HuruUpdater, if it does not work change your
custom recovery to some other custom recovery (other TWRP, you will find many in this forum), and eventually
one of them will work for u. Still, it doesnt work, change the HuruUpdater version to an earlier version, and repeat
the process.
Click to expand...
Click to collapse
I dont know what's happening. Couple months ago every Custom Rom working perfectly. Now i have only trouble. In TWRP many errors, bootloops... EMUI 8 is borring . I try step by step your solutions. Thanks Mate
---------- Post added at 09:10 PM ---------- Previous post was at 09:04 PM ----------
Wojtek1979mildner said:
I dont know what's happening. Couple months ago every Custom Rom working perfectly. Now i have only trouble. In TWRP many errors, bootloops... EMUI 8 is borring . I try step by step your solutions. Thanks Mate
Click to expand...
Click to collapse
Last question. Which one of the TWRP Is good or maybe best for RNE-L21? I try every from tool team-mt. Thanks for answer. Regards
Wojtek1979mildner said:
Last question. Which one of the TWRP Is good or maybe best for RNE-L21? I try every from tool team-mt. Thanks for answer. Regards
Click to expand...
Click to collapse
There is no best recovery that will work in every possible situation (e.g. Stock ROM flashing, Custom ROM flashing, backup/restore etc.). So for each custom ROM u better use the recovery that is indicated in that custom ROM thread.

Installing Magisk leads to 'Unsupported/Unknown image format' error

Hi,
I tried to install Magisk by first unlocking the bootloader, installing a custom recovery (TWRP) and later flashing Magisk. Unfortunately during the installation of TWRP I got hit with boot loop and used Sony's flash tool to get the stock ROM and get booted. But the ROM offered by flash tool is 6.01 (Marshmallow). Then I tried to install the latest Magisk 20.4 both by using TWRP and by using Magisk manager. But both resulted in the 'Unsupported/Unknown image format' error. These are the logs I see are:
- Device platform: arm64-v8a
- Copying image to cache
- Unpacking boot image
! Unsupported/Unknown image format
! Installation failed
Basically I want to:
1) Install Magisk
2) Upgrade from Marshmallow to the latest Android stock.
Any guidance is highly appreciated.
Thanks,
Karthik
Karthik.V.M said:
Hi,
I tried to install Magisk by first unlocking the bootloader, installing a custom recovery (TWRP) and later flashing Magisk. Unfortunately during the installation of TWRP I got hit with boot loop and used Sony's flash tool to get the stock ROM and get booted. But the ROM offered by flash tool is 6.01 (Marshmallow). Then I tried to install the latest Magisk 20.4 both by using TWRP and by using Magisk manager. But both resulted in the 'Unsupported/Unknown image format' error. These are the logs I see are:
- Device platform: arm64-v8a
- Copying image to cache
- Unpacking boot image
! Unsupported/Unknown image format
! Installation failed
Basically I want to:
1) Install Magisk
2) Upgrade from Marshmallow to the latest Android stock.
Any guidance is highly appreciated.
Thanks,
Karthik
Click to expand...
Click to collapse
Hi, first install the latest stock android rom and then flash magisk with twrp. Also you can try the stable versions, not canary.
Good luck, zaqm
zaqm said:
Hi, first install the latest stock android rom and then flash magisk with twrp. Also you can try the stable versions, not canary.
Good luck, zaqm
Click to expand...
Click to collapse
Hi Zaqm,
Thanks for your reply. I am a newbie in this whole process. Can you point me where can I get the latest stock android rom? Also should I use TWRP to install it? Your help is much appreciated. :good:
Regards,
Karthik
Karthik.V.M said:
Hi Zaqm,
Thanks for your reply. I am a newbie in this whole process. Can you point me where can I get the latest stock android rom? Also should I use TWRP to install it? Your help is much appreciated. :good:
Regards,
Karthik
Click to expand...
Click to collapse
Hi Zaqm,
I have managed to flash the latest stock android (8.0) using flashtool and xperifirm tool. When I tried to install magisk using TWRP on the latest stock android, I still get the same error message 'Unsupported/Unknown image format'. Any pointers are welcome.
Thanks,
Karthik
Karthik.V.M said:
Hi Zaqm,
I have managed to flash the latest stock android (8.0) using flashtool and xperifirm tool. When I tried to install magisk using TWRP on the latest stock android, I still get the same error message 'Unsupported/Unknown image format'. Any pointers are welcome.
Thanks,
Karthik
Click to expand...
Click to collapse
Hi, sorry for the late reply. Which magisk version did you try to flash? You can try v18 or 18.1 which I think are compatible with Android 8.
Good luck, zaqm
zaqm said:
Hi, sorry for the late reply. Which magisk version did you try to flash? You can try v18 or 18.1 which I think are compatible with Android 8.
Good luck, zaqm
Click to expand...
Click to collapse
HI Zaqm,
I tried the latest Magisk 20.4 and few other previous versions but I don't remember giving v18 or v18.1 a try. I will do that.
Also, I would like to share that I did not allow TWRP to modify the system partition. I opted to keep the system partition 'Read Only'. The reason I did this is that whenever I allow TWRP to modify the system partition, I get stuck at the SONY boot logo and my phone would not boot and I need to reflash the stock ROM again.
I also came to know that I need to flash a rooted kernel to avoid the bootloop or I should flash the drm fix if I want to keep the stock kernel. Can you comment on that?
Thanks,
Karthik
Karthik.V.M said:
HI Zaqm,
I tried the latest Magisk 20.4 and few other previous versions but I don't remember giving v18 or v18.1 a try. I will do that.
Also, I would like to share that I did not allow TWRP to modify the system partition. I opted to keep the system partition 'Read Only'. The reason I did this is that whenever I allow TWRP to modify the system partition, I get stuck at the SONY boot logo and my phone would not boot and I need to reflash the stock ROM again.
I also came to know that I need to flash a rooted kernel to avoid the bootloop or I should flash the drm fix if I want to keep the stock kernel. Can you comment on that?
Thanks,
Karthik
Click to expand...
Click to collapse
Hi, I'm sorry but I don't own myself a Xperia X and can't tell such specific things related to it. Let someone else answer these questions.
Good luck, zaqm
zaqm said:
Hi, I'm sorry but I don't own myself a Xperia X and can't tell such specific things related to it. Let someone else answer these questions.
Good luck, zaqm
Click to expand...
Click to collapse
Hi Zaqm,
Sorry for my delayed reply. I appreciate your pointers. I will update this thread with my findings. Will keep you posted.
Thanks,
Karthik
Karthik.V.M said:
Hi Zaqm,
Sorry for my delayed reply. I appreciate your pointers. I will update this thread with my findings. Will keep you posted.
Thanks,
Karthik
Click to expand...
Click to collapse
Hi, did you solve the error? i face the exactly same problem but mine is xperia sp.
same problem without solve

TWRP -Root Process and Flashing Roms

Does anybody know how to root and use a rom on this phone?
I unlocked the bootloader but the next steps for flashing are unknown for me.
I want to know which files i need to use or download, like the TWRP , The most stable rom version. and if is there some files to root the device.
Thanks in advance.
Metri_ said:
Does anybody know how to root and use a rom on this phone?
I unlocked the bootloader but the next steps for flashing are unknown for me.
I want to know which files i need to use or download, like the TWRP , The most stable rom version. and if is there some files to root the device.
Thanks in advance.
Click to expand...
Click to collapse
Video for rooting Motorola One Fusion Plus by using TWRP and Magisk
Gill Android said:
Video for rooting Motorola One Fusion Plus by using TWRP and Magisk
Click to expand...
Click to collapse
Amazing ! Thanks , That´s What I was looking for. I will follow those steps, I was stuck in the TWRP logo, it was like a loop and it didn´t continue with its options, I dunno why, but I m going to do it again by flashing with Twrp , .
Currently I´m using the latest Evolution rom but my cellphone is getting slow sometimes so Im gonna use another custom rom and test how it works .
Thanks again !

Categories

Resources