Help, I bricked my SM-G930F - Samsung Galaxy S7 Questions and Answers

Hi All
Its been a long time since I have been on here... but decided to have a play with my UK unlocked Galaxy S7... cant remember if it shipped unlocked, of if I got it carrier unlocked at the end of my contract... also cant remember which carrier, probably EE or O2 (UK).
I started by installing TWRP and then loaded the Lineage 19.1 O/S which was great - I then tried to add BitGApps but it kept saying it couldnt load... when I looked at the storage available in TWRP it only showed the external micro SD card... so I did some research and read that if you boot into TWRP and try Wipe > Advance Wipe > Data and repair File System, this sometimes resolves the issue... it didnt - so it then said to change file system to Ext2 then back to Ext4... I did this and lo and behold the system partition was visible to TWRP. So I tried installing Gapps again and it still failed. So, I rebooted and again the system partition wasnt visible... so I tried to switch to Ext2 then back to Ext4 again, but accidentally selected ExFAT - since then I have been the proud owner of a brick.
So, far I have tried to reinstall the stock firmware (downloaded XEU and BTU from Samobile - extracted the AP/BL/CP and CSC not HOME!) files using Odin... but it seems to do nothing. I have tried a few older versions of Odin, in case its compatibility. I also ddecided I may have corrupted the partition table completely, so also downloaded a PIT file (HEROLTE_EUR_OPEN.pit) hoping that this would force a recreation of the partitions to allow a re-install... but alas no.
I have also read that Odin had issues with the LZ4 package in the archive structure... so to extract all the files and recreate the package... but when I use 7zip to extract the files it says there is an error and some extra data is found at the end of the archive and when you get to the point you extract the LZ4 archives it just fails The instructions I am followng are here - Fix LZ4 error in Odin
So, I am guessing that I possibly have wrong files, versions of Odin etc... so I would be grateful if someone can offer any help as my s7 is a great phone, which I use as my work mobile!
Many thanks

OK - managed to fix it... I thought that the only thing I hadnt tried was to reflash TWRP to the AP - so I tried this and it succeeded... from there I was able to reflash Lineage 19.1 O/S from the microSD card... so now I just need to try and get GApps working

Related

[Q] My CWM 3.x.x.x backup doesn't work : SGS2

Hi,
I checked through many threads to see if anyone had a similar problem but couldn't find anything unfortunately.
Background :
I was running a Lite'ning ROM on my Samsung Galaxy S2. You're probably familiar with this ROM, but for those who aren't it gets flashed with ODIN and comes rooted and pre-installed with CWM.
I forget which version of Lite'ning ROM it was, but I am fairly certain it was pre-1.5 as the bundled CWM was definitely version 3.x.x.x (later versions I found had 4.x.x.x and 5.x.x.x).
I wanted to try a version of GalnetMIUI for something a bit different and hadn't changed ROMs in quite some time, so I booted into CWM 3.x.x.x (maybe 3.0.0.2?) and did a backup to the internal SD. This came in at around 1.4 GB and comprised of 4 files :
cache.img
data.img
nandroid.md5
system.img
I copied these to my PC too, just in case they somehow got erased from my phone.
Once I'd done this, I then copied the new ROM .zip file (latest version of GalnetMIUI) to the root of the internal SD, booted the phone into CWM, wiped user data and Dalvik cache, then proceeded to install it.
The problem :
I can't get my apps or data back. I was under the false impression that my Google account was automatically backing this up for me, and would restore everything once logged in as it had in the past (factory resets etc.). So once this didn't happen, I tried using CWM to revert back to how things were before installing the new ROM but although the restore appears to work I end up with issues.
I've tried a number of different ROMs and they either get stuck in 'boot loops' or a black screen after running through the restore procedure. I've tried restoring just data via the 'Advanced' option but this doesn't help.
I was under the impression that I'd be able to fully restore the ROM backup if I needed to, and have the phone running exactly how it was prior to messing around. It would seem this is not the case.
In desperation I tried flashing every Lite'ning ROM from version 1.0 to 4.2, restoring my backup each time but as mentioned I always get boot issues.
Have I lost my data? I hope not, as I had 'To Do' lists and all sorts of things that would cause problems if they were not retrievable. I realise this is a lack of knowledge and foresight on my part. I'm thinking now that I should have run Titanium Backup prior to this, and not assumed that CWM was going to provide a complete solution.
Hope all this makes sense and if any of you have the time to read through and offer advice it would be greatly appreciated. I am currently running a very pretty and slick GalnetMIUI without any of my data!
Thanks in advance.
download cwm 2.5.x.x its better
[email protected] said:
download cwm 2.5.x.x its better
Click to expand...
Click to collapse
Thanks for that, I'll give it a go tonight after work. Am I right in thinking that if it doesn't work I can extract the individual files and insert them manually to get my app data back?
OK, so after hours of searching I'm still no wiser as to how to install CWM 2.5.1.2
I found a zip file that was apparently version 2.5.1.2 but when I tried to install it from inside CWM 5.0.2.6 (included with GalnetMIUI) it sometimes gives an error, sometimes it reboots CWM and sometimes it simply says it has successfully installed (it lies). No matter what it says or does, it doesn't seem to actually replace version 5.0.2.6 with the older one and every time I do the three-finger boot it loads up the latest version like nothing changed.
I'm just so lost. All I want to do is restore my old backup, get my data back and move on. Please someone help me before I go insane from all this research!
[EDIT] In case any more information is needed, my exact procedure for installing version 2.5.1.2 of CWM went like this :
Download 2.5.1.2 zip file
Copy zip file to root folder on internal SD
Boot into CWM 5.0.2.6
Select "install zip from sdcard"
Select "choose zip from sdcard"
Navigate to 2.5.1.2 zip file, select and confirm
Can anyone help me at all?
In particular I'd like to know how I can downgrade to CWM 2.5.1.2 or similar in order to give [email protected]'s suggestion a go.
Failing that, if anyone has any suggestions whatsoever about how I can get my backup data restored it would be greatly appreciated. After spending some time with MIUI - in particular the Galnet ICS build - I have nothing but praise, but I really have to get my data back!
You should be able to downgrade through ROM manager. Go to "All Clockwork Mod Recoveries" and just flash one that is not 5.x.x. Any backup not made with version 5 will not work with the new version So if you can flash one that is version 2, 3 or 4 you should be good to go. If that doesn't work you can fastboot flash it. There are guides on how to do that.
Wait.....did you mount /system before installing the CWM zip ?
Sent from my GT-S5830 using XDA App
Sorry for the delayed reply, for some reason I didn't get an email notification that my thread had been updated.
lowandbehold said:
You should be able to downgrade through ROM manager. Go to "All Clockwork Mod Recoveries" and just flash one that is not 5.x.x. Any backup not made with version 5 will not work with the new version So if you can flash one that is version 2, 3 or 4 you should be good to go. If that doesn't work you can fastboot flash it. There are guides on how to do that.
Click to expand...
Click to collapse
For some reason, when I select "All ClockworkMod Recoveries" the only two options are 4.0.1.4 and v4.0.1.4. I'll have to look into "fastboot" flashing as I've never heard of that.
By the way, if I boot into CWM via ROM Manager the version that loads is 4.0.1.5, but if I perform the three-button combo when switching my device on I get version 5.0.2.6.
EmoBoiix3 said:
Wait.....did you mount /system before installing the CWM zip ?
Sent from my GT-S5830 using XDA App
Click to expand...
Click to collapse
I didn't, is that something I should try?
Edit - Just tried this and at first it rebooted CWM and the version number hadn't changed. Doing this again yielded me the following error with no change in version number :
Code:
E:Error in /sdcard/CM V 2.5.1.2_update.zip
(Status 0)
Installation aborted.
I found out that I can extract the contents of my backed up .img files using unyaffs.exe.
Unless I'm doing something wrong, it would appear that my backup is corrupt somehow. When trying to extract data.img, it processes for a while and does bring back a lot of files but I also get the following :
Code:
read image file
: Bad file descriptor
read image file
: Bad file descriptor
data.img is around 1.2GB but the files I extract only amount to around 190MB.
It would appear that I don't have my contacts database in there which is annoying as for some reason there were quite a few that didn't get synced to Google's servers.

Soft bricked Galaxy Tab S2

Im new to andriod, coming from IOS and my friend thought he could root my device and told me it was similar to jailbreak on IOS. After using odin to install twrp and flash SuperSU.zip onto my device, it will not go past the boot screen and has at the top 'Set Warranty Bit : kernel'. I need to get back andriod here is the situation:
No backups
Team win installed on device (If that helps)
Able to access data via computer and Odin can connect.
I have all my important stuff on a sd card so I was able to recover that
System/bin folder is empty
Samsung Galaxy Tab 2 SM-T719Y
Have downloaded the Firmware
SuperSU root
I just need Android back, so data loss isn't a worry. How can i do this in simple terms - Im a noob.
Will using Odin to install the firmware fix this?
cryoscalpel said:
Im new to andriod, coming from IOS and my friend thought he could root my device and told me it was similar to jailbreak on IOS. After using odin to install twrp and flash SuperSU.zip onto my device, it will not go past the boot screen and has at the top 'Set Warranty Bit : kernel'. I need to get back andriod here is the situation:
No backups
Team win installed on device (If that helps)
Able to access data via computer and Odin can connect.
I have all my important stuff on a sd card so I was able to recover that
System/bin folder is empty
Samsung Galaxy Tab 2 SM-T719Y
Have downloaded the Firmware
SuperSU root
I just need Android back, so data loss isn't a worry. How can i do this in simple terms - Im a noob.
Will using Odin to install the firmware fix this?
Click to expand...
Click to collapse
Yes using odin to flash stock firmware should fix it. Did the kernel message appear after you flashed TWRP or after you rooted? I think maybe you flashed a newer version of SuperSU that tried to modify the kernel. On older SuperSU it just puts binary files in /system/xbin.
Also, you said something about /system/bin being empty... Typically that means your /system partition isn't mounted. Go to Mount and check system, then check your /system partition with the File Manager...you may be able to use it to delete the root binary files and get it to boot.

Urgent help require for recovering data

Hi there,
Its been a long time using the Note 3 since 2013. It had many issue but still carried on. But few days back when weak up in the morning saw the phone was off, though it was in charge full night. When turned it on it stuck in the Samsung glowing logo and nothing after that, it keep showing the same logo until it power is gone. Don’t know what happened that night, it was installing an update by itself or not.
Then google it and no steps helps, used odin and reflash with latest firmware from sammobile but that too didn’t help. I’ve lots of data in internal storage including sms and contacts and pictures. I’ve no issue to throwing off the phone but I cant lost all data in it, it will be a huge loss as just became a father and lots of pics on my new born baby, so you can understand the value.
Can anyone suggest how can I recover the data? Check the attachment for its current state. Thanks in advance.
Is your phone rooted?
Sent from my awesome Galaxy S8+
IamVaibhav said:
Is your phone rooted?
Sent from my awesome Galaxy S8+
Click to expand...
Click to collapse
No nothing at all, its complete stock, only official updates installed regularly.
soumen.sam said:
No nothing at all, its complete stock, only official updates installed regularly.
Click to expand...
Click to collapse
When you tried the official update from sammobile, did you add a PIT file in addition to the stock ROM?
chosenroyal said:
When you tried the official update from sammobile, did you add a PIT file in addition to the stock ROM?
Click to expand...
Click to collapse
I didnt have time to to learn all this. Just followed an instruction how to solve this and did, but no where I heard about PIT file, what is its purpose? all said to flash with just the .md5 file. Please advice. Thanks
soumen.sam said:
I didnt have time to to learn all this. Just followed an instruction how to solve this and did, but no where I heard about PIT file, what is its purpose? all said to flash with just the .md5 file. Please advice. Thanks
Click to expand...
Click to collapse
This is a bit long. I copied the explanation of PIT online.
PIT stands for Partition Information Table (PIT) and as the name suggests these are files which contain partition tables for your Samsung Galaxy Android phones. The PIT file contains all the relevant information for each required partition such as Partition Name, Block Size, Block Count, and other technical information. Every device has different PIT file associated with its stock firmware. Hence a correct PIT file is needed in order to properly flash the stock firmware on your device. Also, if there are two models of a device, say 32 GB and 64 GB, then both will have a different PIT file and you cannot use the PIT of the former with the later or vice-versa.
What does the PIT file do?
ROM (Read Only Memory) is similar to a hard disk on a PC where the information is kept permanently unless changed by the user. PIT file will re-partition the ROM of your device...
---------- Post added at 12:52 PM ---------- Previous post was at 12:49 PM ----------
So what's your phone's model number? Is it SM-N900? And does it have 32GB internal storage?
chosenroyal said:
This is a bit long. I copied the explanation of PIT online.
PIT stands for Partition Information Table (PIT) and as the name suggests these are files which contain partition tables for your Samsung Galaxy Android phones. The PIT file contains all the relevant information for each required partition such as Partition Name, Block Size, Block Count, and other technical information. Every device has different PIT file associated with its stock firmware. Hence a correct PIT file is needed in order to properly flash the stock firmware on your device. Also, if there are two models of a device, say 32 GB and 64 GB, then both will have a different PIT file and you cannot use the PIT of the former with the later or vice-versa.
What does the PIT file do?
ROM (Read Only Memory) is similar to a hard disk on a PC where the information is kept permanently unless changed by the user. PIT file will re-partition the ROM of your device...
---------- Post added at 12:52 PM ---------- Previous post was at 12:49 PM ----------
So what's your phone's model number? Is it SM-N900? And does it have 32GB internal storage?
Click to expand...
Click to collapse
Ok thanks, yes its SM-N900 32GB internal storage. All I want to fix it without formatting the internal storage. I even dont know after flashing it will clear then internal memory and reset or not. Even if I need the PIT file, then where can I get the stock PIT file? Thanks
soumen.sam said:
Hi there,
Its been a long time using the Note 3 since 2013. It had many issue but still carried on. But few days back when weak up in the morning saw the phone was off, though it was in charge full night. When turned it on it stuck in the Samsung glowing logo and nothing after that, it keep showing the same logo until it power is gone. Don’t know what happened that night, it was installing an update by itself or not.
Then google it and no steps helps, used odin and reflash with latest firmware from sammobile but that too didn’t help. I’ve lots of data in internal storage including sms and contacts and pictures. I’ve no issue to throwing off the phone but I cant lost all data in it, it will be a huge loss as just became a father and lots of pics on my new born baby, so you can understand the value.
Can anyone suggest how can I recover the data? Check the attachment for its current state. Thanks in advance.
Click to expand...
Click to collapse
Are you sure that you downloaded the right firmware for your country/career?
DontBrickYourPhone said:
Are you sure that you downloaded the right firmware for your country/career?
Click to expand...
Click to collapse
Checked all, country latest version exact model and all. Juts now trying reflash with the pit file.
If you want to cpy Data from your internal storage try tihis way
1 install official TWRP recovery
2 Reboot into recovery
3 connect your mobile to Pc annd then you can copy data from your internal storage
Hope it help you ?
you can try this method.
1.Root your phone and install twrp recovery.
2.mound and SDCard and reboot into recovery and from file manager in recovery copy all data from internal storage to SDCard by doing this your data will be safe .after that try to flash anr other rom like Resurrection Remix Or lineage to repair your phone.
Hi, if you flashed (completely) an update not compatible you lost your data, your contacts it`s recommendable to synchronise with Google if worst happen, if your data didn`t go away you can try to recover like others users recommended, first root device with this file https://download.chainfire.eu/353/CF-Root/CF-Auto-Root/CF-Auto-Root-ha3g-ha3gxx-smn900.zip, install official TWRP from Google Play and download from it correct version, go to recovery from same app and transfer to pc all that you can.
Sometime ago I tried to flash a rom with odin and result was the same, and issue was just for flashing without connection to internet, maybe help
Amh00200 said:
If you want to cpy Data from your internal storage try tihis way
1 install official TWRP recovery
2 Reboot into recovery
3 connect your mobile to Pc annd then you can copy data from your internal storage
Hope it help you
Click to expand...
Click to collapse
So after few days I got some time to work on it. I've already took the internal backup by TWRP like whats all etc. I did CWM Recovery and took the full backup and the format and reset. Now the phone turned on and restored the backup by CWM but again its in Boot loop. Now what to do? and yes I think its rooted now.
I only need contacts sms and action memo, thats all
raosahab said:
you can try this method.
1.Root your phone and install twrp recovery.
2.mound and SDCard and reboot into recovery and from file manager in recovery copy all data from internal storage to SDCard by doing this your data will be safe .after that try to flash anr other rom like Resurrection Remix Or lineage to repair your phone.
Click to expand...
Click to collapse
Yes I already took the backup and tried many repair fixing software but nothing helpped
SubwayChamp said:
Hi, if you flashed (completely) an update not compatible you lost your data, your contacts it`s recommendable to synchronise with Google if worst happen, if your data didn`t go away you can try to recover like others users recommended, first root device with this file https://download.chainfire.eu/353/CF-Root/CF-Auto-Root/CF-Auto-Root-ha3g-ha3gxx-smn900.zip, install official TWRP from Google Play and download from it correct version, go to recovery from same app and transfer to pc all that you can.
Sometime ago I tried to flash a rom with odin and result was the same, and issue was just for flashing without connection to internet, maybe help
Click to expand...
Click to collapse
I flashed with proper firmware and when it didnt help I tried CWM recovery and took the backup, while it was taking backup I saw it took all apps those I installed. So I'm sure it didnt format the data.
soumen.sam said:
I flashed with proper firmware and when it didnt help I tried CWM recovery and took the backup, while it was taking backup I saw it took all apps those I installed. So I'm sure it didnt format the data.
Click to expand...
Click to collapse
Well, we need to make things clear to try to solve this;
Assuming that you;
- Flashed correct firmware and for some reason process interrupt or apparently reached the end but device don´t boot (bad flashing)
- You took a backup from CWM nor TWRP (then you have a backup of system, data, boot, maybe recovery and probably cache. Then you can try the next:
- Put your backup ever in sdcard
- Flash some custom rom based on stock (zip format) with CWM (maybe necessary to do wipes to boot but probably you lost your data from device flashing before, but you have it in your backup)
- Now select an advanced restore, just restore data (if same native app of mms and notes are installed they took data again), reboot now and look, probably will be necessary restore also cache but let it just if needed)
- If for some reason don´t boot probably your partitions are corrupted but you can try first this. I hope help you and tell us how you go
SubwayChamp said:
Well, we need to make things clear to try to solve this;
Assuming that you;
- Flashed correct firmware and for some reason process interrupt or apparently reached the end but device don´t boot (bad flashing)
- You took a backup from CWM nor TWRP (then you have a backup of system, data, boot, maybe recovery and probably cache. Then you can try the next:
- Put your backup ever in sdcard
- Flash some custom rom based on stock (zip format) with CWM (maybe necessary to do wipes to boot but probably you lost your data from device flashing before, but you have it in your backup)
- Now select an advanced restore, just restore data (if same native app of mms and notes are installed they took data again), reboot now and look, probably will be necessary restore also cache but let it just if needed)
- If for some reason don´t boot probably your partitions are corrupted but you can try first this. I hope help you and tell us how you go
Click to expand...
Click to collapse
Thanks for your feedback. Yes I backup from CWM full system data and all and TWRP I took internal storage backup in PC.
I flashed with latest firmware from sammobile with Odin
I restore the backup in all way, full restore, only data and other one by one, but in all steps its unable to turn on again. I saw the internal memory data is intact but contact call log and sms r gone. I just waht these 3 things, snote is still there.
How do I know my phone is rooted? if I rood can I overwrite these data from the backup files? I installed two file manager but cant access the root. Please let me know. Thanks
soumen.sam said:
Thanks for your feedback. Yes I backup from CWM full system data and all and TWRP I took internal storage backup in PC.
I flashed with latest firmware from sammobile with Odin
I restore the backup in all way, full restore, only data and other one by one, but in all steps its unable to turn on again. I saw the internal memory data is intact but contact call log and sms r gone. I just waht these 3 things, snote is still there.
How do I know my phone is rooted? if I rood can I overwrite these data from the backup files? I installed two file manager but cant access the root. Please let me know. Thanks
Click to expand...
Click to collapse
If device don`t power on you need first of all flash correct firmware to repair partitions, you need to go step by step.
- Flash by odin, good level battery charged, access to internet, depending capacity of your pc don´t use many resources meanwhile flashing, if sucess reboot device completely now power off, put it in download mode
- Now, step 2 you need to root with this file, download it https://download.chainfire.eu/353/CF-Root/CF-Auto-Root/CF-Auto-Root-ha3g-ha3gxx-smn900.zip extract from zip and you have this file in .tar.md5, open odin, go to AP box, search file and flash it (download mode), this file will root device and will install TWRP (is needed to inject some scripts from supersu)
- how your backup is in CWM you need to go now to TWRP and flash CWM.img file via recovery.
- reboot in CWM and select advanced option to restore, just restore DATA, not other partitions, this overwrite your data app for your data backup, and without doing wipes try to boot. maybe system be unstable but you need now just recover some data, when you do that recommend a flash a custom rom or at least keeping root to take a backup with titanium periodically
Hi All, So with the rooted device I've managed to restore all data except call log, which I can ignore. But now the issue is, the system showing the software is not official and not supporting software upgrade and showing the system is custom. Now what to do, where can I get the exact firmware? thanks
sammobile or updato dot com or just search .

G930F won’t install files

Hi! I have been searching on the web for the Stock ROM to G930F, but the phone only installs the modem.bin file. Everything else throws a error on the phone, and in Odin. So i’ll tell you how this happened, And yes this might be a long story.
I wanted to use Samsung Health to check my puls.
I opened the app and it said that I couldn’t use this app because the phone was rooted. (I had rooted my phone in the past and downloaded a stock ROM to flash my phone with to start off clean)
And so I thought I’ll just fix it now, because I am on computer. So I flashed my device with TWRP and mounted the system and the data. I saved the build.prop file on my computer and changed the Knox Trigger Value to 0. When I flashed the file back after editing it, ADB said it couldn’t read the file. I thought “what the hell?”. I rebooted the device, plugged it off my computer and noticed something was odd. It began to bootloop, the start-up image when you power on the device. I got into Recovery and checked to see what was wrong. It said the Internal Storage was (0 MB) used. I was powering off the device, and it said “No OS installed!”. I tried flashing the stock ROM but it would only accept the modem.bin file. I was worried and didn’t know what I would do. Any help would be great!
Lipticon said:
Hi! I have been searching on the web for the Stock ROM to G930F, but the phone only installs the modem.bin file. Everything else throws a error on the phone, and in Odin. So i’ll tell you how this happened, And yes this might be a long story.
I wanted to use Samsung Health to check my puls.
I opened the app and it said that I couldn’t use this app because the phone was rooted. (I had rooted my phone in the past and downloaded a stock ROM to flash my phone with to start off clean)
And so I thought I’ll just fix it now, because I am on computer. So I flashed my device with TWRP and mounted the system and the data. I saved the build.prop file on my computer and changed the Knox Trigger Value to 0. When I flashed the file back after editing it, ADB said it couldn’t read the file. I thought “what the hell?”. I rebooted the device, plugged it off my computer and noticed something was odd. It began to bootloop, the start-up image when you power on the device. I got into Recovery and checked to see what was wrong. It said the Internal Storage was (0 MB) used. I was powering off the device, and it said “No OS installed!”. I tried flashing the stock ROM but it would only accept the modem.bin file. I was worried and didn’t know what I would do. Any help would be great!
Click to expand...
Click to collapse
Ok so you don't say what firmware you had and which one you want to flash., there are lots of firmware for the G930. You can download them from several places , sammobile, SamFirm Tool and updato.com.
Use the latest version of Odin if you want Oreo, preferably unbranded.
With regard to Samsung health, this app will not work on a rooted device, just like banking apps, network provider apps and any other app which hold personal info.
Lipticon said:
Hi! I have been searching on the web for the Stock ROM to G930F, but the phone only installs the modem.bin file. Everything else throws a error on the phone, and in Odin. So i’ll tell you how this happened, And yes this might be a long story.
I wanted to use Samsung Health to check my puls.
I opened the app and it said that I couldn’t use this app because the phone was rooted. (I had rooted my phone in the past and downloaded a stock ROM to flash my phone with to start off clean)
And so I thought I’ll just fix it now, because I am on computer. So I flashed my device with TWRP and mounted the system and the data. I saved the build.prop file on my computer and changed the Knox Trigger Value to 0. When I flashed the file back after editing it, ADB said it couldn’t read the file. I thought “what the hell?”. I rebooted the device, plugged it off my computer and noticed something was odd. It began to bootloop, the start-up image when you power on the device. I got into Recovery and checked to see what was wrong. It said the Internal Storage was (0 MB) used. I was powering off the device, and it said “No OS installed!”. I tried flashing the stock ROM but it would only accept the modem.bin file. I was worried and didn’t know what I would do. Any help would be great!
Click to expand...
Click to collapse
As @cooltt said use SamFirm tool (search it on google, it's here on xda) and download the latest firmware for your variant (ex. SM-G930F if you own the international S7 flat).
Flash with odin. Make sure you put all the files in the right tabs.
Let the phone boot completly (until the tutorial shows up, if you used the CSC file instead of the HOME_CSC one)
To be able to use SHealth you will need to edit the build.prop. To do so:
1) flash twrp
2) boot to twrp and wipe data (you will loose everything you have in the internal storage so make a backup)
3) Reboot to recovery (twrp menu > reboot > recovery)
4) Flash Magisk 18.1
5) Reboot to system and wait until the phone boots (it may take 5-10minutes)
6) Set up everything and go to play store. Download BuildProp Editor
7) Open BuildProp Editor and make sure you grant it superuser access in Magisk
8) Search for the property: ro.config.tima and set its value to: 0
9) reboot the phone and you should be good to go.
If you want OTAs you will need to 1) uninstall magisk and 2) wait until the next update is released and flash it with odin using the HOME_CSC file.That will revert the kernel to its original state (non-rooted), the recovery to the stock one and the system and binary status to Official (which will allow you to receive OTAs once again)
Sent from my SM-G930F using Tapatalk

Samsung Xcover 4 SM-G390F Root Magisk + TWRP +Disable Encryption Oreo/Pie (2019/2020)

Hi,
Finally I had time to finish my work on Xcover 4. I couldn't disable ForceEncryption by any flashable tool so I prepared 2 version of firmware (Oreo and Pie), both prerooted (Magisk) and free from Force Encryption. Everything except boot.img left untouched, both ROMs are BTU so no brand.
Just flash it with Odin 3.13.3. I recommend to flash CSC_BTU instead of HOME_CSC_BTU. HOME BTU should work as well but then probably You gonna have to format data with TWRP. CSC_BTU is already tested and there are no problems with Encryption.
After flashing just install Lastest Magisk Manager. SafetyNet Passed.
Oreo: G390FXXU4BSB3_BTU_G390FBTU4BSC1_Patched_By_Chamelleon
Code:
https://mega.nz/#!ONoFTIhD!rBOhDR0j874zpyeLiDVwfwOcodRi5OhdxyF0ZTRMslE
PIE: G390FXXU4CSF9_BTU_G390FBTU4CSFA_Patched_by_Chamelleon
Code:
https://mega.nz/#!XBhnRCCY!_IOOtXcLsGZQfVY17JD4YxxzaAWJqy2NoxVSrsJRs5M
If You need TWRP (not necessary to flash this ROMs) flash this version:
TWRP: TWRP-3.1.1_SM-G390F_by_nemo-nemo
Code:
https://mega.nz/#!DIo1SSBT!w4dPPAF3BEcfQmsy7mANO33Lb5Gj4jzDkrrPfbH56uo
Working on both versions, Oreo and Pie. I didn't test backup and recovery options but flashing is working on both. ADB and MTP are not working.
To remove Security Log Agent notifications use SecurityLogAgent Disable. It will disable this annoying app completely.
Hello!
Can you explain because i would like only to root my phone in oreo 8.1 without losing apps and data. Is it possible with your method?
thank you for your answer.
Would anyone happen to know if I can use TWRP for SM-G390F's on SM-G390W's? (the only differences I know of between them are the supported LTE frequencies)
You can try to flash it, just backup your data and if something goes wrong just flash it with back with stock firmware.
Updated main thread
Hi mates
very interesting matter. Will like to make it from a ubuntu 18.04 system? Did someone had tried it ?
Yea, it's a normal ROM so you can flash it with Heimdal.
Chamelleon said:
Yea, it's a normal ROM so you can flash it with Heimdal.
Click to expand...
Click to collapse
thank you C for this fast answer .
Here is the second point :
IS this rom free from google , I mean enough
And the third
any visible amelioration from the XCOV 2 Model in battery standing . I do not care about photos for my purpose .
Only memory, increased by SD, and lasting time
It's completely stock rom without any modifications except integrated Magisk and disabled force encryption. Rest is untouched.
I don't understand what file I should use to flash with Odin.. in the link you posted sends to a download of a zip file of almost 2gb in which there are many files, so from those files which one should I set in Odin?
Flash it like any other stock ROM:
BL file in BL
AP file in AP
CP file in CP
CSC_BTU file in CSC
Everything works great:]
Thanks man.
Hi Chamelleon and thanks for all the effort you've made already!
I successfully flashed the Pie variant of the two ROMs and got it to work. However, turned out that in an app that I'm developing, for some reason, when my device is equipped with G390FXXU4CSF9_BTU_G390FBTU4CSFA, the app doesn't behave in the same way as when G390FXXU4CSF9_ G390FXEO4CSFA has been installed. That's why I would like to be able to root the XEO-version of the firmware. Moreover, there will be many other non-rooted devices equipped with the XEO-version using the app in the near future.
Having flashed my device with G390FXXU4CSF9_ G390FXEO4CSFA, I tried installing the version of TWRP you have provided but I can't figure out how to install Magisk from there. By default, TWRP can't find the Magisk zip-file that I push onto the device. I tried formatting data, as per this post. The post lead me to believe that the files could be found after formatting but even though there were now plenty of TWRP-related folders, I couldn't find the zip. And as ADB and MTP don't seem to work in recovery mode, I'm unable to get the zip file on board after formatting. Booting to system doesn't work either after allowing modifications for TWRP, which might be due to dm-verity preventing boot, but franky I don't understand much of that topic.
You mentioned that you couldn't disable Force Encryption with any flashable tool. Is that the reason why TWRP (or any other tool) couldn't reach the zip file for Magisk?
This is the first time I've attempted rooting a phone so my knowledge regarding the topic is pretty basic.
So I suppose preparing a prerooted and Force Encryption free version of the firmware might be a possibility? I have no idea how to patch a ROM though. Any advice on how to proceed?
Hi, I had no time to play with this during Christmas. If you send me your boot.img I can modify it for you. If You just flash magisk with TWRP it will root your phone but after first reboot whole data partition will be encrypted again and you wont be able to flash anything with twrp or modify data partition without full wipe. For some unknown reason this and probably more Samsung models have different structure of files responsible for encryption and because of this none of pre-made patches are working. Only manual kernel modification can safe from encryption, at least for now.
I'm not a developer so I don't know how to prepare patch for this to allow anyone to flash it, I just found few lines of code in kernel You need to modify to disable encryption.
Chamelleon said:
Hi, I had no time to play with this during Christmas. If you send me your boot.img I can modify it for you. If You just flash magisk with TWRP it will root your phone but after first reboot whole data partition will be encrypted again and you wont be able to flash anything with twrp or modify data partition without full wipe. For some unknown reason this and probably more Samsung models have different structure of files responsible for encryption and because of this none of pre-made patches are working. Only manual kernel modification can safe from encryption, at least for now.
I'm not a developer so I don't know how to prepare patch for this to allow anyone to flash it, I just found few lines of code in kernel You need to modify to disable encryption.
Click to expand...
Click to collapse
Hi, I really appreciate the help!
I sent the boot.img to your paypal donation email. Let me know if you want me to send it to you some other way.
How to flash firmware on linux?
I know that i have to use heimdall but how to load these files into the program because filenames say basically nothing to me.
Thanks in advance.
Also does it delete user data?
SpurguX said:
Hi, I really appreciate the help!
I sent the boot.img to your paypal donation email. Let me know if you want me to send it to you some other way.
Click to expand...
Click to collapse
1. Flash clean ROM, same as boot you send me)
2. Enable OEM Unlock in Developer settings
3. Flash patched boot with Odin as AP/PDA.
4. Install Magisk Manager app
5. Install TWRP and format data partition, option where you need to type "YES"
6. Reboot system and then back to TWRP. If you can mount data and there are no errors it's done.
AndroidBroker said:
How to flash firmware on linux?
I know that i have to use heimdall but how to load these files into the program because filenames say basically nothing to me.
Thanks in advance.
Also does it delete user data?
Click to expand...
Click to collapse
Sorry but I never had a chance to use Heimdall. You can't dirty flash this because when your phone is encrypted and you can't replace kernel corrupting data.
But do I lose my data(Apps settings etc.)?
I'm OK with setting everything up back ,but it would be cool if it kept data.
(I'm going to use other computer that has windows on it btw, and I'm going to flash it with odin)
If your data partition is encrypted you gonna corrupt it by changing kernel. It means You wont be able to access, so yes, you will loose it.
What you mean by encryption some option in the Android or what?
If that's what you mean I haven't set up anything like this

Categories

Resources