[FIXED] How to remove data encryption in TWRP - DOOGEE MIX Guides, News, & Discussion

Users of TWRP 3.1 on Doogee Mix (including myself) faced the mammoth problem of an encrypted storage after unlocking the bootloader and flashing the custom recovery. This problem is not peculiar to the Doogee Mix, any other device with TWRP 3.1+ will likely face the same issue and the solution preferred here would work.
By default, your device storage is encrypted (Settings > Security > Encryption) and any TWRP from 3.1+ respects that protocol.
This means that the internal storage would be showing 0mb because it can't be mounted, (no) thanks to the encryption.
Previous versions of TWRP (eg 3.0.3) could easily decrypt the device using the default password but from version 3.1, things changed.
SOLUTION
Needed:
1. An unlocked bootloader
2. TWRP installed (download from the TWRP thread)
3. An SD CARD (or USB OTG)
4. Magisk.zip (latest version, copy it to the SD card)
NOTE: Copy/Backup your files from your internal storage into your PC as this process would wipe everything from the internal storage.
STEPS
> With the bootloader unlocked and TWRP flashed, boot into recovery.
> The screen might be dark when in recovery, just press the power button and the the vol- button, it'll turn ON. Then swipe to unlock.
> You can change the language to English by clicking on the 2nd rectangle by the right above the swipe function.
> Tick "do not show again" and the swipe to allow modification.
> Confirm device encryption by clicking "Backup" or "Install", if the storage size is 0mb or no folder is showing while trying to install, then the device is encrypted.
> Go back, click "Wipe"
> You can choose to Factory reset, Format data or Advanced wipe > tick /data. Either way, it's going to wipe EVERYTHING in the internal storage (that's the purpose of device encryption, to prevent unauthorized access to the storage). However, I recommend you choose "FORMAT DATA"
> If you chose "Format data", then type yes in the next screen and swipe to format.
> When completed, go home, click Reboot and choose Recovery to boot into recovery (very important, do not reboot the phone into system otherwise you'll start all over. Reboot into recovery, not system).
> When in the recovery, click install > select storage > SD card (or USB OTG) (note that the internal storage will display as normal but remember it is now empty following the data reset)
> Navigate to the Magisk in /Sdcard (or USB OTG) and install.
> When completed, you can now reboot safely into system.
> Complete the phone setup and Open Magisk Manager. Notice that Magisk is now installed and "Preserve force encryption" is now unticked". You can also go to Settings > Security > Encryption and notice that it will ask you to encrypt your device, meaning it is decrypted now.
> The next time you will boot into recovery, TWRP may still be in Russian language, just change it one more time and you are good to go.
> Now you can flash anything you want including Xposed (download latest version from the official Xposed thread/website).
That's all. Cheers! Happy tweaking

If you try to install font, module, busybox or any other system framework/tweak without success, then change the installation mode to recovery.
Recommended:
iFont
Busybox for Android or the busybox from Magisk Repo
iFont: switch to "My" tab > Settings > Installation mode > Recovery
Busybox for Android: tap settings (top right) > Installation mode > Recovery

I love you broo!!
I was like 5 hours with this encryption problem without being able to solve it, Thank you very much. I LOVE YOU! Hahaha :good::victory::victory::fingers-crossed:

Cheers!

dwapking said:
If you try to install font, module, busybox or any other system framework/tweak without success, then change the installation mode to recovery.
Recommended:
iFont
Busybox for Android or the busybox from Magisk Repo
iFont: switch to "My" tab > Settings > Installation mode > Recovery
Busybox for Android: tap settings (top right) > Installation mode > Recovery
Click to expand...
Click to collapse
How to you get OTA update when you are rooted? I can't

dwapking said:
If you try to install font, module, busybox or any other system framework/tweak without success, then change the installation mode to recovery.
Recommended:
iFont
Busybox for Android or the busybox from Magisk Repo
iFont: switch to "My" tab > Settings > Installation mode > Recovery
Busybox for Android: tap settings (top right) > Installation mode > Recovery
Click to expand...
Click to collapse
Your screenshot of the about phone page, shows you are on kernel 3.18, thought device had kernel 4.4?

Ersid Kapaj said:
How to you get OTA update when you are rooted? I can't
Click to expand...
Click to collapse
Being rooted shouldn't prevent you from getting the OTA.
OTA's arrive based on System language, region, model/variant, etc.
If you still can't get the OTA and your language is set to "English (US or UK)", then download the latest flashable ROM and flash via PC. It should help for subsequent OTA's.
If you have done this before and still stuck, then just download the local update file and install.

dwapking said:
Being rooted shouldn't prevent you from getting the OTA.
OTA's arrive based on System language, region, model/variant, etc.
If you still can't get the OTA and your language is set to "English (US or UK)", then download the latest flashable ROM and flash via PC. It should help for subsequent OTA's.
If you have done this before and still stuck, then just download the local update file and install.
Click to expand...
Click to collapse
That's the problem. When i click check for update it says "Root detected" and then it says that my system is up to date. I don't want to delete anything from my phone, that's why i don't do it via PC.

have another problem witch F2SF I cant flash any modules in magisk
Magisk.img mount failed do you have this problem?

Ersid Kapaj said:
That's the problem. When i click check for update it says "Root detected" and then it says that my system is up to date. I don't want to delete anything from my phone, that's why i don't do it via PC.
Click to expand...
Click to collapse
I have root, and I don't get any such errors when I check for updates. Perhaps you should just backup ur apps/OS (with TB & TWRP) and files in a PC then flash a clean updated ROM.

mrmazak said:
Your screenshot of the about phone page, shows you are on kernel 3.18, thought device had kernel 4.4?
Click to expand...
Click to collapse
The kernel version is correct. The 4.4 is only shown in CPU_Z app

TheSpartanM4 said:
have another problem witch F2SF I cant flash any modules in magisk
Magisk.img mount failed do you have this problem?
Click to expand...
Click to collapse
Yes... Some modules (Viper4Android, Busybox NDK) did flash successfully (though not mounted in Magisk modules section but are working just fine) while many others refused to install.
I am currently trying to verify the cause. For now, no solution yet.

dwapking said:
I have root, and I don't get any such errors when I check for updates. Perhaps you should just backup ur apps/OS (with TB & TWRP) and files in a PC then flash a clean updated ROM.
Click to expand...
Click to collapse
I have downloaded the update once but when i try to install it says the it's rooted and can't install. Since then it's the same problem.

Yes of course, before any update is installed, root integrity check is performed. Once any modifications has been detected, it will abort.
That's why I said you should flash back your STOCK SYSTEM, RECOVERY AND BOOT, since they're the partitions affected by the root.
Don't forget to wipe the data of "Wireless Update" before proceeding to install.

ok, i'm gonna give this a try once i'm properly awake. i had been trying to install magisk via adb push and it would not work, so we'll see how this does. thanks!

Does safetynet pass for anyone? MobileIron still detects the phone as rooted with Magisk installed...

I got it to work! I have TWRP installed, I have Magisk working, and Safetynet check passes. I can't post screenshots because I don't have enough posts, but I suppose I have root now! ...it's not nearly as exciting on a non-bloated phone with no available roms. But I think we're maybe ready to say we officially have root? I can't learn coding or I'd try to make my own rom.

Cheers!

Doogee Mix only reboots to Doogee Splash which warns: Orange State
Your device has been unlocked and can't be trusted. YOur device will boot in 5 seconds. Then TWRP boots in English instead of Russian. Thats all I get. Is there a custom ROM for Doogee Mix? Did I wiped the OS? Thank you for getting me out off the Encryption - loop.

Can someone please help me understand why I can only boot into TWRP Recovery now???

Related

Flashing Guide [Team 3xtr3m3 | ICS333 ROM]

FLASHING GUIDE​<Team 3xtr3m3 | ICS333 ROM>​NOTE : NOT ALL THESE STEPS ARE A MUST OR NEEDED TO BE DONE IN THIS PARTICULAR WAY, BUT IT IS BEST TO DO SO IN ORDER TO AVOID FURTHER PROBLEMS AND MAKE SURE THE FLASHING PROCESS IS AS CLEAN AS POSSIBLE.​
>EVERYTHING WILL BE WIPED<​
PAY ATTENTION AND TAKE YOUR TIME !
THIS ROM AUTOMATICALLY SAVES YOUR IMEI FOR RESTORING IN CASE YOU LOSE IT!
SOME MAY LOSE THEIR IMEI AFTER FLASHING ICS SO JUST USE THE GUIDE FOR
RESTORING IMEI AT THE BOTTOM OF THE PAGE!
I DO NOT ANSWER TO QUESTIONS WHICH HAVE ALREADY BEEN ANSWERED IN THIS TUTORIAL OR IN THE LINKS THIS TUTORIAL PROVIDES !​
THIS IS WHAT YOU HAVE TO DO STEP BY STEP :​
IT IS ALWAYS BETTER TO FLASH ICS FROM GB TO MAKE THE FLASHING PROCESS AS CLEAN AS POSSIBLE AND TO AVOID POTENTIAL ISSUES!​
1. Download the GB Flash KIT which includes the following (XXJW5 2.3.6 GB ROM, PIT file, CF-Root Kernel for Odin, Odin3-v1.85 and Samsung Driver) : http://d-h.st/4nP
NOTE : It would be best to have your phone fully charged before flashing
2. If you haven`t already installed the driver, install it from the GB Flash KIT.
> Plug your phone into the PC and format internal SD
NOTE : The steps below require the know-how of download mode and clockworkmod recovery (CWM) :
For putting the phone in download mode : Keep pressed volume down + home button + power button until it goes into download mode.
For accesing CWM : Keep pressed volume up + home button + power button until the phone reboots.As soon as you see the "Galaxy S" logo, release the buttons.Now you are in CWM.
3. Enter Download Mode, open Odin, check Re-Partition, press PIT button and browse for the PIT file, press PDA button and browse for the PDA file in the ROM folder, press PHONE button and browse for the PHONE file, press CSC button and browse for the CSC file and finally press START button.Wait till it`s finished and when the phone reboots disconnect from PC.
4. When the phone has booted into the ROM and you see the wizard screen just enter download mode again, plug your phone into the PC, open Odin, press PDA button and browse for the CF-Root kernel, press START button and wait for it to finish.After the phone reboots disconnect it from the PC, let it boot and when you`re in the ROM, set your phone to mass storage mode from settings>wireless & network>usb settings and plug your phone into the PC, copy the ICS333 ROM to your internal SD root location, assuming you have downloaded it from here : http://goo.gl/LuXvH and disconnect from PC.
5. Enter CWM, Wipe Data/Factory Reset, Wipe Cache, Wipe Dalvik Cache and flash the ROM.You will notice the phone will reboot immediately because it will switch kernels, from CF-Root to Semaphore, prior to flashing the actual ROM.As a result, it will boot loop or get stuck on Semaphore logo, so just force it into CWM using the 3 key combo (no need to take the battery out).Now flash the rom again and wait till it`s finished and > Reboot to system!.
IMPORTANT : After reboot, enter CWM, flash GAPPS provided here : http://goo.gl/LuXvH and reboot.That`s it.You`re done!.
NOTE : You may not succeed from the first try with the 3 key combo, it`s a matter of timing when releasing the buttons to enter CWM.Just make sure you release the buttons as soon as you see the Galaxy S logo.You will get passed the bootloop/Semaphore logo and enter CWM eventually!
If you still didn`t succeed, turn off phone and turn it on by using the 3 key combo to go directly into CWM.
IMPORTANT : You may encounter a Phone Encryption problem at first boot, so all you need to do is > enter CWM > flash the rom again > Reboot!
As a last resort, if every method above failed, try this :
1. Flash GB ROM
2. Flash CF-Root Kernel
3. Wipe Data/Factory Reset, Wipe Cache, Wipe Dalvik Cache
4. Flash this script : http://d-h.st/P2M
5. Flash Devil Kernel [choose any CFS_BLN_CMC version] : http://devil.haxer.org
6. Flash ICS333 ROM, don`t reboot yet
7. Flash the script again : http://d-h.st/P2M
8. Flash Devil Kernel again : http://devil.haxer.org
9. Flash GAPPS provided here : http://goo.gl/LuXvH
10. Reboot twice
>> Done!
If you are not satisfied with your modem`s performance or you end up with "Baseband Unknown", try a different one from here : http://goo.gl/R9q5l
Depending on the region you are in, modems can make a huge difference!
But usually 3G/Internet usage will discharge battery faster than Wi-Fi usage.
THERE IS NO "BEST MODEM" > you have to experiment yourselves with these modems!
You may experience soft reboots or slow downs/hangs if you mess with voltages, specific governor-scheduler combos or if you overclock.
If you are not satisfied with the stock launcher, in terms of speed and stability, I highly recommend using Nova Launcher instead, it performs better than Apex Launcher, as I`ve tested myself, it has great features and customizations and it compliments the rom, plus it looks like stock, preserving the ICS look : http://goo.gl/y479F
NOTE : For fully working H/W Decoding on video playing please use DicePlayer : http://goo.gl/4BHth
IMPORTANT : If you encounter "Low on Storage" issue just flash this via CWM and reboot! : http://d-h.st/94L
IMPORTANT : If you have problems with media storage (file detection/duplicates issues) this is what you have to do :
Go to System Settings > Apps > ALL tab > scroll down for Media Storage > Clear Data, Force Stop!
Reboot phone and give it some more time to scan for everything (especially if you have lots of multimedia files)!
Everything should be OK now.
Also, when an app FC`s, go to > Manage apps > find the app > Clear Data > Reboot!
IMPORTANT [Titanium Backup] : Before you make a backup do this : Open Titanium Backup > Tap Menu Button > Preferences > Scroll down to "Troubleshooting settings" > check "Follow all symbolic links".Done.
IMPORTANT [GPS] : Make sure you install FasterFix : http://goo.gl/660r6 > open it > choose a region/server according to your location > press GO.Now your GPS will work properly and get a lock faster.
> Tested iGO and it works just fine
NOTE [VIBER] : In order for Viber to fully work, use Root Explorer or Ghost Commander, go to > /system/build.prop > edit build.prop file > find the line "ro.product.model=GT-I9000" and replace "GT-I9000" with "Nexus S".Save and exit.Reboot!
HOW TO RESTORE IMEI [EFS Folder], IF NEEDED, USING Nitrality (free app) > http://goo.gl/9hxOB :​
1. Install "Nitrality" from Google Play Store, open it, grant root acces.
2. Go to "Tools" > Restore /efs > Reboot!
3. Done!
NOTE : If for some reason Nitrality doesn`t do the job, restore your IMEI using the guides below.
HOW TO RESTORE IMEI [EFS Folder], IF NEEDED, USING Root Explorer (paid app) > http://goo.gl/xBqok :​
First check if you`ve lost your IMEI : open Dialer, input *#06# and if the IMEI number starts with "049" then it means you lost your IMEI and you have to restore it.​​
1. After you flashed the ICS333 Rom, install Root Explorer.
2. Go to "/sdcard/backup", open "efs" folder, press "Menu" button > Multi-Select > Select All > Copy.
3. Go back to root "/", open "efs" folder and paste the contents here, when asked, check to replace all files.
4. Reboot
5. Done!
NOTE : It is important not to copy the EFS folder itself , when you want to restore IMEI, but the contents within the EFS folder, which will replace the contents of the EFS folder from the root "/EFS".
HOW TO RESTORE IMEI [EFS Folder], IF NEEDED, USING Ghost Commander File Manager (free app) > http://goo.gl/J0TF9 :​
1. After you flashed the ICS333 Rom, install Ghost Commander File Manager.Open Ghost Commander File Manager > Menu button > Application > Settings > Scroll down to "Advanced" > Check "Show root and mounts", check "Automatic root mode" > Go back and hold the phone in landscape mode.Now you will have two panels (left panel next to the front camera and right panel next to the home button).
2. On the left panel, tap on "root mode", open "/efs" folder
3. On the right panel, tap on "root mode", go to "/mnt/sdcard/backup" (open folders by double tap), open "/efs" folder, select all files within the efs folder, one by one (one tap to select a file), tap on "5 copy", a windows will open saying "Copy # items to : root:/efs", which is the location you are in the left panel, tap on "OK" and all the files will be automatically overwritten.
4. Reboot
5. Done!
HOW TO EXPORT A LOG FILE​ (LOGCAT) FOR DEBUGGING via Android Terminal Emulator : http://goo.gl/oLRC0​<by providing the logcat to the devs, you can REALLY help the debugging process when something goes wrong with the rom>​
[Semaphore Kernel Users] :
1. Open Semaphore app > Kernel Features > check "Logger" > Reboot!
2. Install Android Terminal Emulator : http://goo.gl/oLRC0
3. Let the phone run for 3/4 hours > open Android Terminal Emulator > type "su" (without quotes), tap on return (enter) key, grant root if asked, now type "logcat>/sdcard/logcat.txt" (without quotes), tap on return (enter) key.
4. Now you have created a text file with the logcat.Done!
[USERS WITH ANOTHER KERNEL] :
1. If the kernel you are using, comes with an app (like the Semaphore app), search for an option which allows you to enable the logger.If you don`t have any app, most probably you have to enable the logger via CWM, just acces CWM and search where you can enable the logger and reboot.
2. Let the phone run for 3/4 hours > install and open Android Terminal Emulator > type "su" (without quotes), tap on return (enter) key, grant root if asked, now type "logcat>/sdcard/logcat.txt" (without quotes), tap on return (enter) key.
3. Now you have created a text file with the logcat.Done!
If you followed every step in this tutorial it is highly unlikely to fail this, only if you can`t read English properly.
If you have questions/problems or you just want to chat about it, go here : http://webchat.freenode.net
Channel : ##ICS333
If you found this guide helpful just press “Thanks” . Keep the thread clean and use the IRC channel!
Good Luck!
Enjoy this wonderful ROM !
Hi mate I tried flashing using your guide but I am still stuck.
My phone keeps trying to boot after I wipe for the second time (after the bootloop from changing kernels, I already sorted that out)
After flashing the rom (properly after the bootloop due to kernel change) I wipe data/cache/dalvik. That happens fine but when I boot I get the gt-i9000 startup splash then the semaphore splash stays on for a while then the phone resets. It then loops the same thing.
I took the battery out and tried to enter recovery mode but the same happens again. Turning the phone on normally result n the same thing happening.
I haven't overclocked or anything like that.
However altering your method I have it working (I did however have the same problem as I mentioned above (the bootloop between the starting screen and the kernel screen) but that came after using the rom for a few hours leaving it in my pocket.
I got it working by:
1. download the files
2. formatted internal sd
3. flashed JW5 and let it load
4. flashed cf-root
5. put ICS333, kernel cleanup script, devil kernel that you suggested and GAPPS zip files on internal sd
6. turn phone off and then boot into recovery
7. wiped data/cache/dalvik
8. run the kernel cleanup zip
9. flash ICS333 and wait for bootloop
10. get into recovery
11. flash ICS333 zip again
12. when done flash GAPPS
13. when done reboot into recovery.
14. run kernel cleanup zip for second time
15. Install devil kernel
16. reboot system
Job done.
It is currently 00:22 in the UK so I'm going to bed. I'll leave my phone running through the night and I will see if I have the same issue as before.
yep.it seems semaphore 1.1.1 version is really causing problems for some people. thanks for your feedback so people with similar issues like yours can try flashing the rom like you did as an alternative.
I faced problem with 3 keys combo recovery mod, they are not working while downloading keys working, and recovery working from CWM manager,phone stucked in boot loop after installed new ICS333 Rom. do you have idea if I can install kernel first then not go into boot loop, thanks.
gazza1988 said:
Hi mate I tried flashing using your guide but I am still stuck.
My phone keeps trying to boot after I wipe for the second time (after the bootloop from changing kernels, I already sorted that out)
After flashing the rom (properly after the bootloop due to kernel change) I wipe data/cache/dalvik. That happens fine but when I boot I get the gt-i9000 startup splash then the semaphore splash stays on for a while then the phone resets. It then loops the same thing.
I took the battery out and tried to enter recovery mode but the same happens again. Turning the phone on normally result n the same thing happening.
I haven't overclocked or anything like that.
However altering your method I have it working (I did however have the same problem as I mentioned above (the bootloop between the starting screen and the kernel screen) but that came after using the rom for a few hours leaving it in my pocket.
I got it working by:
1. download the files
2. formatted internal sd
3. flashed JW5 and let it load
4. flashed cf-root
5. put ICS333, kernel cleanup script, devil kernel that you suggested and GAPPS zip files on internal sd
6. turn phone off and then boot into recovery
7. wiped data/cache/dalvik
8. run the kernel cleanup zip
9. flash ICS333 and wait for bootloop
10. get into recovery
11. flash ICS333 zip again
12. when done flash GAPPS
13. when done reboot into recovery.
14. run kernel cleanup zip for second time
15. Install devil kernel
16. reboot system
Job done.
It is currently 00:22 in the UK so I'm going to bed. I'll leave my phone running through the night and I will see if I have the same issue as before.
Click to expand...
Click to collapse
I have the same problem, the device's bootloop & bootloop, someone help us please
chientn said:
I have the same problem, the device's bootloop & bootloop, someone help us please
Click to expand...
Click to collapse
NOTE : You may not succeed from the first try with the 3 key combo, it`s a matter of timing when releasing the buttons to enter CWM.Just make sure you release the buttons as soon as you see the Galaxy S logo.You will get passed the bootloop and enter CWM eventually!
If you still didn`t succeed, turn off phone and turn it on by using the 3 key combo to go directly into CWM.
perfect guide
Consider using Midnight-Kernel for next release. No reboots and zero FC's here.
Gesendet von meinem GT-I9000 mit Tapatalk 2
salzheld said:
Consider using Midnight-Kernel for next release. No reboots and zero FC's here.
Gesendet von meinem GT-I9000 mit Tapatalk 2
Click to expand...
Click to collapse
problems solved by reverting to semaphore 1.0.0s version.
sorry, wrong thread ;-)
psyqiq said:
NOTE : You may not succeed from the first try with the 3 key combo, it`s a matter of timing when releasing the buttons to enter CWM.Just make sure you release the buttons as soon as you see the Galaxy S logo.You will get passed the bootloop and enter CWM eventually!
If you still didn`t succeed, turn off phone and turn it on by using the 3 key combo to go directly into CWM.
Click to expand...
Click to collapse
thank you but i cannot pass the booloop, after i enter CWM and re-install the ICS rom i get bootloop again, after that, i cannot access the CWM again....
chientn said:
thank you but i cannot pass the booloop, after i enter CWM and re-install the ICS rom i get bootloop again, after that, i cannot access the CWM again....
Click to expand...
Click to collapse
flashing guide updated.
psyqiq said:
flashing guide updated.
Click to expand...
Click to collapse
Thank you for the guide
Data Network not working
Hi i installed this ROM today and it really seems flawless. I really love that it's on the SGS.
My problem is that i have never had a problem getting my data network to work when i have installed e new ROM. I have deleted and rebooted and reinstalled the APN in the mobile network settings but it's still not working.
Could someone tell me what the problem is?
elvismercado said:
Hi i installed this ROM today and it really seems flawless. I really love that it's on the SGS.
My problem is that i have never had a problem getting my data network to work when i have installed e new ROM. I have deleted and rebooted and reinstalled the APN in the mobile network settings but it's still not working.
Could someone tell me what the problem is?
Click to expand...
Click to collapse
do you have "Data enabled" checked in Mobile networks menu?
Should EFS be an EMPTY folder?
I noticed the EFS folder on this phone is empty, is that as it should be?
LazPL said:
I noticed the EFS folder on this phone is empty, is that as it should be?
Click to expand...
Click to collapse
you have lost your IMEI. EFS Folder should contain some files where IMEI is stored.
Use the guide to restore your IMEI.
Cheers ~
I just installed this rom and till now 0 problems, everything it's OK
Kernel: Semaphore ICS 1.2.0s
Modem: JVU
Just as it was, without any change....now let see how it's the battery life.
Thanks for the guide worked 100%
psyqiq said:
HOW TO BACKUP IMEI [EFS Folder] using Root Explorer :
1. After you flashed the GB Rom and obtained root, install Root Explorer.
2. Enter Root Explorer, go to root "/", long press "efs" folder and copy it to "external_sd".
4. After you flashed the ICS Rom, install Root Explorer.
5. Go to root "/", search for "/emmc", open "efs" folder you saved, press "Menu" button > Multi-Select > Select All > Copy.
6. Go back to root "/", open "efs" folder and paste the contents here, when asked, check to overwrite for all files.
7. Reboot
8. Done!
Click to expand...
Click to collapse
Is it really essential to to change anything in EFS folder unless any one face any problem related to IMEI no.
Till backup of EFS is fine but restoring EFS folder for no reason is not good thing
As i know efs folder contain very dedicated data.
If i am wrong just correct me..

[GUIDE/TUTORIAL/HOWTO] Samsung Galaxy S5 mini G800F Any version to Android 9 Pie

[GUIDE/TUTORIAL/HOWTO] Samsung Galaxy S5 mini G800F to Android 9 Pie
[GUIDE/TUTORIAL/HOWTO] Samsung Galaxy S5 mini G800F/kminilte (Exynos) Any version to Android 9 Pie
This detailed step-by-step guide helps you transform your Samsung Galaxy S5 mini G800F to a powerful one with Android 9.
Verify your phone is G800F before going further : in Android, go to Settings > About > Check model is G800F.
If not, quit this tutorial.
CHANGELOG
v10. TWRP 3.6, check links
v9. Latest TWRP + Magisk 23 + ROM
v8. TWRP 3.5, Magisk 22
v7. Updated pack for TWRP recovery 3.4.0-0 + ROM download link + Samsung USB drivers, Magisk for root, MagiskManager-v8.0.2
v6. Updated pack for TWRP recovery 3.3.1-0 + IMEI backup
v5. Updated tutorial and pack to Android 9 Pie
v4. Updated pack with Odin 3.13.1, TWRP Recovery 3.2.3-0 and Spookcity kernel 6.0-1
v3. Added Google Play certification, TWRP recovery 3.2.1-0
v2.1. Updated Spookcity kernel to v6
v2. Updated to Android 7.1 Nougat, TWRP3.1.1-1, Spookcity kernel 5, overclock, fixed bootloops
v1. Initial release for Android 6
1) DOWNLOAD
- djibe Galaxy S5 mini G800F pack v3: http://bit.ly/G800Fdjibepackv3
(contains Samsung tweaked Odin 3.13.1 + Samsung USB drivers + TWRP 3.6.0_9-0 official recovery + Magisk 23). Unzip files.
+ ROM Unofficial Lineage OS 16: https://forum.xda-developers.com/galaxy-s5-mini/development/rom-lineageos-16-0-t3868612
Download latest build here: https://androidfilehost.com/?w=files&flid=64356&sort_by=date&sort_dir=DESC
### ROM perfectly working except Encryption, Video recording doesn't work in all apps or with all camera applications
+ OpenGApps ARM 9 pico : http://opengapps.org/?arch=arm&api=9&variant=pico
+ a microSD card. Copy ROM, Gapps and Magisk on microSD card (FAT32 format) and insert it in phone.
+ Charge phone to 100 %
2) BACKUP DATA
Install Samsung drivers (you unzipped earlier).
Then plug phone to PC in File transfer mode.
Collect all .jpg or .mp4
Use an app like Backupyourmobile to backup texts, contacts, etc.
Check that backup is located on microSD card.
Then copy the backup on your PC.
Erase your Google Account: Go to Settings > Account > Google and erase it.
3) FLASH TWRP 3.6 RECOVERY
Shut down phone.
Boot in Download Mode : hold Home + Power + Volume- for 3 seconds and release.
Confirm with Volume+.
Phone now displays: Downloading, do not turn off target.
Connect phone in USB, wait for bootloader drivers installation.
Then launch Odin.exe (included in my archive) and wait for Odin indicator ID:COM to become blue.
In options: Verify re-partition and Auto Reboot are NOT ticked while F. Reset Time is ticked.
In AP > select twrp-3.6.0_9-0-kminilte.img.tar
### Warranty will be Void after next click ###
Click Start.
When PASS! success green message appears.
Wait a few seconds, then hold again Home + Power + Volume- to reboot phone.
Let phone restart then shut it down.
4) BACKUP IMEI PARTITION
Boot in Recovery Mode: Hold Home + Power + Volume+ until you see the Samsung logo then release and wait a few seconds for TWRP recovery to boot.
If it asks for Keep System Read Only ? > Swipe to Allow Modifications.
Go to Backup > you can select the partitions you want to save.
Select all partitions in order to be able to restore phone to it's original state.
Select at least EFS partition to backup your IMEI. If a flash fails and partition is damaged you will still be able to restore this partition and use the phone.
If IMEI is lost during a flash, phone won't be able to reach cellphone networks.
I prefer to backup EFS, Boot and System.
Now type Select Storage > Select Micro SD card and confirm with OK
Now Swipe to Backup and wait during process.
Go to Home screen and continue with next chapter.
Connect phone or microSD to PC.
Open microSD folder and backup TWRP folder to a safe place.
Youe /efs partition is now safe (+/- other partitions if you need to fix some crashes).
5) WIPE PARTITIONS
Go to Wipe > Format Data
Type yes and confirm with bottom right Check icon.
Then go to Wipe > Advanced wipe,
select Dalvik, Cache, System, Data, Internal Storage (if you really made a backup from step 2), then Swipe to Wipe,
then back.
Go back to TWRP Home screen > Reboot > Recovery and Swipe to confirm.
At reboot, if TWRP asks for Keep System Read Only ? > Swipe to Allow Modifications.
6) FLASH ROM, GAPPS AND MAGISK
Back to TWRP Home menu. Then tap on Install > choose LOS16*.zip,
(if you don't see the files, tap on Select Storage and make sure Micro SDCard is active).
then Add more Zips > open_gapps*.zip,
then Swipe to confirm Flash.
Wait for operation to end.
### OPTIONAL FOR ROOT
Go to Reboot > Recovery.
Once phone rebooted, go to Install > Magisk.
Then tap Wipe cache/dalvik, swipe to confirm,
then Reboot System.
Wait for the phone to boot during 10 minutes.
7) ROOT ACCESS
No extra steps for root. Magisk starts with Android.
Open Magisk Manager app to manage root permissions.
8) DON'T USE BUILT-IN CAMERA APP
Using LineageOS default camera app will crash when switching from photos to videos.
Use Simple Camera app included (or Google Camera, Footej camera).
9) EXTRA
You can use GPS Status & Toolbox app for faster GPS fix.
For faster phone, go to Settings > About.
Tap 7 times on Build number.
Go to Settings > System > Avdanced > Developer options.
Set Windows animation scale, Transition animation scale and Animator duration scale to 0.5x.
For better battery longevity, set Dark mode. Settings > Display > Avanced > Style > Style > Dark
And Dark mode > Dark.
Enjoy,
djibe
Thanks : @panzerknacker, LOS Team, TWRP Team, @spookcity138, @hennymcc, @rodman01, @Friedensfurz, @cschsz, @ayke, @CTXz, @psyafter
Update: Thanks to C0rn3j in the TWRP thread I got it to work with heimdall and pulling the battery.
Great guide, worked well for me except rebooting to TWRP recovery failed with the kernel length error. Tried using the previous version of TWRP and then with the stock kernel but both failed with the same error. Does TWRP work with LOS14.1 on kminilte?
Nice guide! I have been using custom roms on my mini for about a year and never knew mutch about that I can change the filesystem.
However sometimes my phone becomes very laggy, and unresponsive.(Maybe memory settings problems) I tried several kernel settings but did not find the best yet.
What is Your opinion? What are the best kernel settings to our model?
Evos11 said:
Nice guide! I have been using custom roms on my mini for about a year and never knew mutch about that I can change the filesystem.
However sometimes my phone becomes very laggy, and unresponsive.(Maybe memory settings problems) I tried several kernel settings but did not find the best yet.
What is Your opinion? What are the best kernel settings to our model?
Click to expand...
Click to collapse
Hi, try not to overclock too much, like 1600 Mhz, cause overheating can slow down phone.
What other parameters did you try ?
rimc100 said:
Update: Thanks to C0rn3j in the TWRP thread I got it to work with heimdall and pulling the battery.
Great guide, worked well for me except rebooting to TWRP recovery failed with the kernel length error. Tried using the previous version of TWRP and then with the stock kernel but both failed with the same error. Does TWRP work with LOS14.1 on kminilte?
Click to expand...
Click to collapse
Hi. Yes LOS 14.1 and TWRP 3.1 both work very well on my dad's G800F.
You can't boot in TWRP ?
What kernel do you use ?
djibe89 said:
Hi. Yes LOS 14.1 and TWRP 3.1 both work very well on my dad's G800F.
You can't boot in TWRP ?
What kernel do you use ?
Click to expand...
Click to collapse
I got it working now. All is well.
rimc100 said:
I got it working now. All is well.
Click to expand...
Click to collapse
Glad to hear it.
Enjoy
Latest version of tutorial is available to obtain GOOGLE MOBILE SERVICES (GMS) CERTIFICATION
+ updated TWRP recovery
+ updated Kernel
Do you think LOS is stable enough to propose it in my tutorial ?
Thank you for the guide! It worked really well. There were a number of details I didn't know, like the performance difference between filesystem formats, and everything was very step-by-step and super helpful.
One issue: TWRP 3.2.1 doesn't work with the 6.0 Spookcity kernel. You have to disable the device check to get it to work. Looks like Panzerknakker uploaded one with that change: https://forum.xda-developers.com/showpost.php?p=77725358&postcount=285
djibe89 said:
Do you think LOS is stable enough to propose it in my tutorial ?
Click to expand...
Click to collapse
Are you talking about LOS 15? If so, no IMO. It was stable but buggy. I'm actually downgrading back from 15.1 to 14 due to issues with internal storage and battery consumption, and sometimes it would stop charging and require a hard restart..
Frostcrystal said:
Thank you for the guide! It worked really well. There were a number of details I didn't know, like the performance difference between filesystem formats, and everything was very step-by-step and super helpful.
One issue: TWRP 3.2.1 doesn't work with the 6.0 Spookcity kernel. You have to disable the device check to get it to work. Looks like Panzerknakker uploaded one with that change: https://forum.xda-developers.com/showpost.php?p=77725358&postcount=285
Are you talking about LOS 15? If so, no IMO. It was stable but buggy. I'm actually downgrading back from 15.1 to 14 due to issues with internal storage and battery consumption, and sometimes it would stop charging and require a hard restart..
Click to expand...
Click to collapse
Hi, thank you very much for your help.
I'll fix the Kernel thing and stick to LOS 14.
Thanks,
djibe
v4. Updated pack with TWRP Recovery 3.2.3-0 and Spookcity kernel 6.0-1
Update: I'm having some major issues with lag on my device. 15 seconds to open Chrome, occasional overheating, high CPU usage on small things, etc.
I've had LOS14.1 (a slightly older version) on this device before, minus the different filesystem format and the Spookcity kernel, and not experienced this issue. So I'm thinking about rolling back some of the changes to see which ones were the cause.
Is there an unmodified version of the kernel out there?
Frostcrystal said:
Update: I'm having some major issues with lag on my device. 15 seconds to open Chrome, occasional overheating, high CPU usage on small things, etc.
I've had LOS14.1 (a slightly older version) on this device before, minus the different filesystem format and the Spookcity kernel, and not experienced this issue. So I'm thinking about rolling back some of the changes to see which ones were the cause.
Is there an unmodified version of the kernel out there?
Click to expand...
Click to collapse
Hi,
I didn't experience that but we never know.
To have a fresh system, reboot to TWRP recovery. Wipe cache + system.
Flash LOS, addonsu, OpenGApps.
Wipe cache and reboot.
Thank you for posting this guide. Much appreciated.
Was thinking of getting a Galaxy S i9000 ready for moms but didn't quite understand all the dated guides/roms so decided to buy a 2nd hand s5 mini which now works like a charm!
(struggled a bit with the power off/power on after twrp flash but removing battery for shutdown and holding home+power+vol+ a little longer works!)
rewre said:
Thank you for posting this guide. Much appreciated.
Was thinking of getting a Galaxy S i9000 ready for moms but didn't quite understand all the dated guides/roms so decided to buy a 2nd hand s5 mini which now works like a charm!
(struggled a bit with the power off/power on after twrp flash but removing battery for shutdown and holding home+power+vol+ a little longer works!)
Click to expand...
Click to collapse
Hi, you are very welcome for this tuto.
I like when phones don't go to the rubbish !
You are quite right, Galaxy S2 i9100 can be tricky when USB is badly recognized by the PC. And to be honest its performances are low.
Hope you had a merry christmas,
cheers
Hi, i have this device now. ¿Which rom its the most stable and smooth?
Zsheoran said:
Hi, i have this device now. ¿Which rom its the most stable and smooth?
Click to expand...
Click to collapse
Hi,
use the LineageOS build from the 1st post of this thread.
My mother is very happy with it !
Enjoy
Tutorial is up to date
djibe89 said:
Tutorial is up to date
Click to expand...
Click to collapse
Hi,
I have followed the steps and it works pretty well.
However i have some issues:
1. Mobile network is not detecting unless i switch on then off Airplane mode
2. The STK is not working when you use online banking and other isp services.

error flashing stock rom

so, i recently flashed stock rom (miui 10.3.11) and after flashing, wifi will not turn on, it just tries to turn on and doesnt while trying to activate the xiaomi account on my phone. This has never happened to me before, and i dont know what is happening help?
Edit 1: after trying multiple stock roms, all of them wont turn on the wifi, my pc is connected to ethernet, is that a factor?
To fix Wifi issue on stock roms:
1) Flash a working TWRP for your device / MIUI & Android version.
2) Boot to TWRP
3) "Mount" menu > Select "persist" partition
4) "Advanced" menu > "File Manager" > Open "persist" folder and delete "wlan_mac.bin" file
5) "Mount" menu > Deselect "persist" partition
6) Reboot the phone and check WiFi again
P.S.: If "wlan_mac.bin" file doesn't exist then I don't know how to help you...
But you can flash xiaomi.eu ROMs, I'm sure it will fix this issue.
Micdu70 said:
To fix Wifi issue on stock roms:
1) Flash a working TWRP for your device / MIUI & Android version.
2) Boot to TWRP
3) "Mount" menu > Select "persist" partition
4) "Advanced" menu > "File Manager" > Open "persist" folder and delete "wlan_mac.bin" file
5) "Mount" menu > Deselect "persist" partition
6) Reboot the phone and check WiFi again
P.S.: If "wlan_mac.bin" file doesn't exist then I don't know how to help you...
But you can flash xiaomi.eu ROMs, I'm sure it will fix this issue.
Click to expand...
Click to collapse
can't flash twrp, as my device is locked by xiaomi account verification
edit: will try again, hopefully it works
Micdu70 said:
To fix Wifi issue on stock roms:
1) Flash a working TWRP for your device / MIUI & Android version.
2) Boot to TWRP
3) "Mount" menu > Select "persist" partition
4) "Advanced" menu > "File Manager" > Open "persist" folder and delete "wlan_mac.bin" file
5) "Mount" menu > Deselect "persist" partition
6) Reboot the phone and check WiFi again
P.S.: If "wlan_mac.bin" file doesn't exist then I don't know how to help you...
But you can flash xiaomi.eu ROMs, I'm sure it will fix this issue.
Click to expand...
Click to collapse
well, wlan_mac.bin does not exist
riotp100 said:
well, wlan_mac.bin does not exist
Click to expand...
Click to collapse
Like me, but it was after failing to flash a custom ROM....
Now I installed xiaomi.eu custom ROMs (weekly/beta), Wifi is working and it's a good ROM.
Micdu70 said:
Like me, but it was after failing to flash a custom ROM....
Now I installed xiaomi.eu custom ROMs (weekly/beta), Wifi is working and it's a good ROM.
Click to expand...
Click to collapse
do you think its a problem with persist.img? i think it failed after trying to flash lineageos
@Micdu70
Same problem, your solution worked but after each reboot there is a notification that "the search for the device" (or something like that) is damaged.
The solution is to search for the file persist.img in the rom stock and reflash it alone with TWRP to the partition "persist".
After a reboot it ask to re-calibrate the front camera and everything seems to work perfectly else Widevine L1 -> L3 ...

[ROM] How to install any GSI rom on Samsung Galaxy A10. {thanks to thewh1teagle}

THANKS TO THEWH1TEAGLE FOR THE METHOD!! ALL CREDITS TO HIM!
Let's get started.
You will need:
TWRP (https://forum.xda-developers.com/galaxy-a10/how-to/how-to-root-samsung-galaxy-a10-install-t4074343).
GSI rom (https://sourceforge.net/projects/expressluke-gsis/files/) (it will be in a compressed folder, you have to extract and move the .img file to your SD Card.) [HAS TO BE A64AB]
A brain.
Installing the GSI rom...
Reboot into TWRP recovery.
Go to Wipe > Format Data > Type in "yes" > Tap the check icon on the keyboard and wait.
Go back to Wipe > Then to Advanced Wipe > And select "Dalvik / ART Cache", "Cache", and "Data".
After that's done, go to install and select Install Image and find your .img rom you downloaded.
Tap on it and select "System Image".
Then after the installation is complete, go to Wipe > Swipe to Factory Reset (at the bottom).
If your rom does not include Gapps (which it probably won't) then install it now.
Then reboot your device and enjoy!
anyone tested it ?
Mestre Samurai said:
anyone tested it ?
Click to expand...
Click to collapse
will work no matter what. when you boot into system the screen should dim then reboot, then it will boot into the rom
Downaroo said:
will work no matter what. when you boot into system the screen should dim then reboot, then it will boot into the rom
Click to expand...
Click to collapse
it didn't work here
Mestre Samurai said:
it didn't work here
Click to expand...
Click to collapse
Can you tell me what exactly you did? it should work.
Downaroo said:
THANKS TO THEWH1TEAGLE FOR THE METHOD!! ALL CREDITS TO HIM!
Let's get started.
You will need:
TWRP (https://forum.xda-developers.com/galaxy-a10/how-to/how-to-root-samsung-galaxy-a10-install-t4074343).
GSI rom (https://sourceforge.net/projects/expressluke-gsis/files/) (it will be in a compressed folder, you have to extract and move the .img file to your SD Card.)
A brain.
Installing the GSI rom...
Reboot into TWRP recovery.
Go to Wipe > Format Data > Type in "yes" > Tap the check icon on the keyboard and wait.
Go back to Wipe > Then to Advanced Wipe > And select "Dalvik / ART Cache", "Cache", and "Data".
After that's done, go to install and select Install Image and find your .img rom you downloaded.
Tap on it and select "System Image".
Then after the installation is complete, go to Wipe > Swipe to Factory Reset (at the bottom).
If your rom does not include Gapps (which it probably won't) then install it now.
Then reboot your device and enjoy!
Click to expand...
Click to collapse
(there can be a problem when installing gapps, such as ERROR 20 and ERROR 70, error 20: reflash rom or factory reset, error 70: system partition is not big enough, to fix this, go to Wipe > Advanced Wipe > Select System > Select More at the bottom > Select Resize partition, and click ok. It will say an error, so just retry the resize.)
Downaroo said:
THANKS TO THEWH1TEAGLE FOR THE METHOD!! ALL CREDITS TO HIM!
Let's get started.
You will need:
TWRP (https://forum.xda-developers.com/galaxy-a10/how-to/how-to-root-samsung-galaxy-a10-install-t4074343).
GSI rom (https://sourceforge.net/projects/expressluke-gsis/files/) (it will be in a compressed folder, you have to extract and move the .img file to your SD Card.)
A brain.
Installing the GSI rom...
Reboot into TWRP recovery.
Go to Wipe > Format Data > Type in "yes" > Tap the check icon on the keyboard and wait.
Go back to Wipe > Then to Advanced Wipe > And select "Dalvik / ART Cache", "Cache", and "Data".
After that's done, go to install and select Install Image and find your .img rom you downloaded.
Tap on it and select "System Image".
Then after the installation is complete, go to Wipe > Swipe to Factory Reset (at the bottom).
If your rom does not include Gapps (which it probably won't) then install it now.
Then reboot your device and enjoy!
Click to expand...
Click to collapse
I tried this yesterday on numerous ROM's from ExpressLuke's GSI's and was unable to get it working. The closest I got was LineageOS 16 and Resurrection Remix v7 boot animations but they never ended or got anywhere. I don't know much about android flashing, custom roms etc. but I followed instructions carefully. It would be helpful to gather some logs but I don't know how I can do that with Lineage and RR.
It possibly could be something to do with not clearing the phone properly, but I had done this numerous times in TWRP Recovery. There was also a step in afaneh92's post where he explained the internal storage was unreadable until you installed samsung-multidisabler and so this has been an issue in the past.
Also, my variant is the international variant (SM-A105FN) where the only difference from it's brother (SM-A105F) is that the international variant has dual sim slots, this will be my next step into trying to get RR or LineageOS to work, to remove my second sim.
There is not a problem with the model as I am using the same model.
Can you tell me the gapps package you are using?
I am pretty sure I know the problem..
Downaroo said:
Can you tell me what exactly you did? it should work.
Click to expand...
Click to collapse
Mmmmm... Did you tried to disable dm verifying? Flash dis
I forgot a step, after you install the GSI, you have to install a kernel, (which I will attach), then you proceed with the steps. Credits to @Chatur27 for the kernel development
Downaroo said:
I forgot a step, after you install the GSI, you have to install a kernel, (which I will attach), then you proceed with the steps. Credits to @Chatur27 for the kernel development
Click to expand...
Click to collapse
Simply edit the message. I stuck at bootloop after I followed your steps. So screen dms then it reboots. Screen dims again then it reboots. It did that for about infinity times. Before I gave up and installed lineage 18 again.
Downaroo said:
I forgot a step, after you install the GSI, you have to install a kernel, (which I will attach), then you proceed with the steps. Credits to @Chatur27 for the kernel development
Click to expand...
Click to collapse
AND I have Google android 12 gsi. How to install it using twrp? There is system.img and vbmeta.img help me pls how to install it using twrp?
can I install GSIs over a custom ROM? such as Lineage 20 running the Eureka kernel instead of the stock ROM?

[GUIDE/TUTORIAL/HOWTO] Samsung Galaxy S7 herolte Stock to Android 13

[GUIDE/TUTORIAL/HOWTO] Samsung Galaxy S7 herolte Stock to Android 13
[GUIDE/TUTORIAL/HOWTO] Samsung Galaxy S7 herolte (Exynos SOC) Stock to Android 13 / LineageOS 20
Supported models:
International & Canada:
- SM-G930F
- SM-G930FD
- SM-G930W8
Korea:
- SM-G930S
- SM-G930K
- SM-G930L
This detailed step-by-step guide helps you transform your Samsung Galaxy S7 herolte to a powerful one with Android 13.
Make sure your phone is herolte/Exynos before going further: in Android, go to Settings > About phone > Check model number is listed below.
If not, quit this tutorial.
### READ THOSE WARNING COMMENTS
CHANGELOG
v9. Back to TWRP 3.6 until 3.7 is fixed
v8. Android 13, TWRP 3.7
v7. BiTGApps v1, Magisk v25
v6. Switch to MindTheGApps as BiTgapps are dead, TWRP 3.6.2
v5. Add Screen definition override with adb folder + screen sensitivity recalibration, TWRP 3.6.1
v4. Android 12, improve readability, fix ROM download link, TWRP 3.6
v3. Android 11, Magisk 22, fixed the missing OEM unlock description
v2. Moved to LineageOS 17.1 because of low call sound on earpiece with Pixel Experience
v1. Initial release for Android 10 / Pixel Experience
1) DOWNLOAD
- djibe Galaxy S7 herolte pack: https://bit.ly/djibe-galaxys7-pack
(contains Samsung tweaked Odin 3.13.1 + Samsung USB drivers + TWRP 3.6.2_9-0 official recovery + Magisk Root + adb.exe). Unzip files.
+ ROM Unofficial LineageOS 20: https://forum.xda-developers.com/t/...e-spoofing-ota-updates-for-s7-exynos.4484505/
Download latest build: https://ivanmeler.github.io/devices/herolte.html
+ BiTGApps Package ARM64 13: https://github.com/BiTGApps/BiTGApps-Release/releases
OR NikGApps T Basic: https://sourceforge.net/projects/nikgapps/files/Canary-Releases/NikGapps-T/
OR MindTheGApps 13 ARM64: http://downloads.codefi.re/jdcteam/javelinanddart/gapps
+ Charge phone to 100%
2) BACKUP DATA
Install Samsung USB drivers (you unzipped earlier).
Then plug phone to PC in File transfer mode.
Collect all .jpg or .mp4
Use Google built-in cloud to backup apps like SMS Backup & Restore to backup texts, contacts, etc.
Backup your WhatsApp messages in Google Drive.
Everything else: podcasts, Authenticators, TODOs etc...
Then copy the backup on your PC.
Make sure you have latest official updates for your phone:
Connect to Wifi and go to Settings > About device > Software update > Update now
### BACKUP NOW, you will lose everything.
3) FLASH TWRP 3.7 RECOVERY
Go to Settings > About phone.
Tap 7 times on Build number item to unlock Developer options.
Go to Settings > Developer options, switch OEM unlock ON.
Shut down phone.
Boot in Download Mode: hold Home + Power + Volume- until you see Samsung's logo and release all buttons.
Confirm access to Download mode by pressing Volume+.
Phone now displays "Download mode, do not turn off target".
Connect phone in USB, wait for drivers installation.
Then launch Odin.exe (included in my archive) and wait for Odin indicator ID:COM to become blue.
In options: Verify re-partition and Auto Reboot are NOT ticked while F. Reset Time is ticked.
In AP > select twrp-3.6.2_9-0-herolte.img.tar
### Same recovery for Korean models (G930S/K/L variants)
### Warranty will be Void after next click ###
Click Start.
Wait until flash Success message appears.
Unplug phone.
Restart phone to recovery :
- hold Power + Home + Volume- until phone screen becomes black.
- and immediatly switch from Volume- to Volume+ (still holding Power + Home) to land in TWRP recovery.
### If Android launches, hold 3 buttons until phone restarts and Samsung logo appears.
4) BACKUP IMEI PARTITION AND SYSTEM (Nandroid backup)
Boot in Recovery Mode : Hold Home + Power + Volume+ until you see Samsung's logo then release and wait a few seconds for TWRP recovery to boot.
Recovery asks for Keep System Read Only ? > Swipe to Allow Modifications.
Go to Wipe > Format Data.
Type: yes and confirm with bottom right check icon.
Encryption is removed. You can now access partitions.
### If you miss this step you won't have access to any partition.
Back to home menu > Backup.
You can now select the partitions you want to save.
Select at least EFS partition to backup your IMEI. If a flash fails and partition is damaged you will still be able to restore this partition and use the phone.
If IMEI is lost during a flash, phone won't be able to reach cellphone networks.
I prefer to backup Boot, System, Cache, Baseband and EFS partitions. In case of problem, you will have your phone in its original state.
Swipe to Backup and wait during process.
Go to Home screen and continue with next chapter.
Save backup: still under TWRP recovery, connect phone to PC.
Go to Mount menu and check Data partition is checked and MTB button is on "Disable MTP" state.
From Windows explorer, access phones memory and copy-paste the TWRP folder (located in root folder, beside DCIM and Music folders) somewhere safe on your computer.
5) FORMAT PARTITIONS
### Make sure you copied TWRP backup from internal memory to somewhere safe.
Go to Wipe > Advanced wipe,
select Dalvik, Cache, System, Data, Internal Storage (if you really made a backup from step 2), then Swipe to Wipe.
Back to TWRP home screen, go to Reboot > Recovery and swipe to reboot.
On next launch, check the checkbox to remember choice and swipe to allow modifications.
6) FLASH ROM, (MAGISK ROOT) AND GAPPS
Back to TWRP main menu, go to Mount menu again to connect phone to PC again.
Connect phone to PC and use Windows explorer to copy files on phone's internal memory.
Copy TWRP folder from your phone to somewhere safe on PC.
This backup can restore your phone to its original Samsung state.
Copy files of ROM + GApps + Magisk on phone.
Go back to TWRP Home menu. Then tap on Install > choose lineage*.zip,
Optional for root: Add More zips > Magisk*.zip
then Swipe to confirm Flash.
Wait for operation to end.
Go to Reboot > Recovery and swipe to reboot.
After restart, go to Install, select bitgapps*.zip and swipe to flash.
Then tap Wipe cache/dalvik, swipe to confirm,
then Reboot System and on Install TWRP App? menu, tap on button Do Not Install
Wait for the phone to boot during 5 minutes.
7) ROOT ACCESS (OPTIONAL)
Configure Android as you like.
Don't try to set fingerprints at first setup. It will crash.
No need for extra work to be root.
Magisk launches with Android.
Superuser permissions can be managed from Magisk Manager app.
8) TWEAKS
- Calibrate battery: https://www.ifixit.com/Wiki/Battery_Calibration
- Set dark Mode to improve battery by 30%
Settings > Display > Dark theme.
- For better battery, remove Always on display
Settings > Display > Screen saver > Desactivated
- Activate Developer options
Go to Settings > About.
At bottom, tap 7 times on Build number. You activated Developer options.
Go to Settings > System > Avdanced > Developer options.
- Change screen definition for low GPU/CPU usage: from 1440x2560 to 1080x1920
You need developer options to enable USB debugging.
Open a terminal where adb.exe from my pack is located.
Plug phone and Authorize USB debugging.
Then type:
Code:
adb shell wm size 1080x1920 && adb shell wm density 480
// Defaults 1440x2560 and 640
- Screen sensitivity is too low ?
Try to recalibrate screen sensitivity with https://play.google.com/store/apps/details?id=touchcalibration.favoritappindia&hl=en&gl=US
Enjoy,
djibe
Thanks: @Ivan_Meler, LineageOS team, TWRP team
---------------------------------------
Coming from another ROM
- Backup
- Recovery: Wipe Cache, Dalvik cache, System and Format Data > yes
- Reboot recovery
- Flash rom
- Reboot recovery
- Flash BitGApps
Enjoy
Force Samsung Galaxy S7 restart
Hold Power + Volume down for 10-20 seconds
Updated tutorial for LineageOS 17.1 as Pixel Experience call volume is really too low.
Thank you for this guide.
Used with 18.1 + NikGapps core 65 + Magisk and work absolutely fine.
ytccts said:
Thank you for this guide.
Used with 18.1 + NikGapps core 65 + Magisk and work absolutely fine.
Click to expand...
Click to collapse
Hi,
Thanks for sharing.
I'll test your packages and then update tutorial for everyone.
Enjoy.
S7 is damn good.
Hey, thanks for the detailed explanation. Will root and install Lineage in upcoming weekend. Before proceeding with tripping knox, will I be able to use Google Pay and banking apps after installing Lineage ROM? Will wireless charging work? And if I do not want to take backup, will I be able to flash stock firmware in future to revert back to original? There was a time when I was into this stuff rooting and custom ROMS, but now I am too old for it and just being cautious. Thanks again dear.
abhi_qwerty said:
Hey, thanks for the detailed explanation. Will root and install Lineage in upcoming weekend. Before proceeding with tripping knox, will I be able to use Google Pay and banking apps after installing Lineage ROM? Will wireless charging work? And if I do not want to take backup, will I be able to flash stock firmware in future to revert back to original? There was a time when I was into this stuff rooting and custom ROMS, but now I am too old for it and just being cautious. Thanks again dear.
Click to expand...
Click to collapse
Hi,
Thanks for your message.
PLEASE make a TWRP backup before flashing, it just takes 2 minutes.
No idea for wireless charging. You may ask in ROM's thread
Normaly banking apps work with Magisk + MagiskHide module
Hi, updated pack for latest TWRP and Magisk.
Switched ROM to Android 11.
thanks a lot for this guide!
I successfully used it on my SM-G930F with following files:
- twrp-3.5.2_9-0-herolte.img.tar
- lineage-18.1-20210505-UNOFFICIAL-herolte.zip
- MinMicroG-NoGoolag-2.10-20210428084817-signed.zip
Thank you Master especially for the tutorial, Before this I was tried out 10 methods but only this works with oreo.
Hi, I updated tutorial for Android 12
I'v found a bug in a 11.
The battery only charging max 75%, but if I turn off it can be load normally
djibe89 said:
Hi, I updated tutorial for Android 12
Click to expand...
Click to collapse
Thank you kindly this is exactly what I have been looking for. God bless you and Merry Christmas
donnytuco said:
Thank you kindly this is exactly what I have been looking for. God bless you and Merry Christmas
Click to expand...
Click to collapse
Glad you liked it ! Merry Christmas
Thanks for this excellent instruction.
Maybe you'd like to consider one small change in part 6 - Flash ROM, Gapps, Magisk.
According to the devs of BitGapps they suggest to do a reboot to recovery after flashing of ROM:
GitHub - BiTGApps/BiTGApps: The main repository of The BiTGApps Project
The main repository of The BiTGApps Project. Contribute to BiTGApps/BiTGApps development by creating an account on GitHub.
github.com
bgsdeluxe said:
Thanks for this excellent instruction.
Maybe you'd like to consider one small change in part 6 - Flash ROM, Gapps, Magisk.
According to the devs of BitGapps they suggest to do a reboot to recovery after flashing of ROM:
GitHub - BiTGApps/BiTGApps: The main repository of The BiTGApps Project
The main repository of The BiTGApps Project. Contribute to BiTGApps/BiTGApps development by creating an account on GitHub.
github.com
Click to expand...
Click to collapse
Done, thanks !!
Could you add part 9) UPDATE, please. In case of a newer rom.
blinthor said:
Could you add part 9) UPDATE, please. In case of a newer rom.
Click to expand...
Click to collapse
Hi, then you have to "Clean flash"
djibe89 said:
Hi, then you have to "Clean flash"
Click to expand...
Click to collapse
I do not know if I understand correctly.
1. Install new rom
2. Wipe Dalvik, Cache
What about BitGapps. Do you install after rom or not?
blinthor said:
I do not know if I understand correctly.
1. Install new rom
2. Wipe Dalvik, Cache
What about BitGapps. Do you install after rom or not?
Click to expand...
Click to collapse
- Backup
- Wipe Cache, Dalvik cache, System and Format Data > yes
- Reboot recovery
- Flash rom
- Reboot recovery
- Flash BitGApps
Enjoy
djibe89 said:
- Backup
- Wipe Cache, Dalvik cache, System and Format Data > yes
- Reboot recovery
- Flash rom
- Reboot recovery
- Flash BitGApps
Enjoy
Click to expand...
Click to collapse
Thanks

Categories

Resources