Hello, I'm new here, I've been dealing with certain ROM mods for a little while. My test device is an old Samsung Galaxy S4 mini (GTI9195). Now I've been sitting for a few days trying to figure out how to bring my device up to date as best as possible. Lineage OS seemed the best to me. Unfortunately there is no officially confirmed software for my device directly from Lineage, which is why I looked elsewhere. I came across this thread on XDA: https://forum.xda-developers.com/t/...520-r890-unofficial-11-0-0-lineageos-18-1-for -s4-mini.4189967/ . The user arco68 is, so to speak, the boss among S4 mini modifications. Unfortunately, I can't find exact instructions anywhere (especially for the recovery) on how to install all the packages correctly. That's why I researched. I was able to record various steps, but cannot determine if they are correct. Can someone on this forum please help me? My steps:
1. Turn on developer options
2. Turn off OEM encryption (if available)
3. USB debugging on.
4. Download and install Android platform tools in Path
5. Download and zip Magisc
7. Put the phone in bootloader/fastboot/download mode (volume down + home)
8. Flash Team Win Recovery Project (or other custom recovery).
9. Restart phone and boot into recovery mode (volume up + home + power)
10. Erase all data
11. Copy Google Apps to Phone (Optional)
12. Copy Lineage OS (or other custom rom) to phone
13. Install packages one by one (OS first)
14. Reboot device
15. Wait and set up
Okay, First of all requirement-
A portable sd card- Because after flashing twrp, you might face issue where you can't access internal storage from twrp. That's because the phone might be encrypted. You have to decrypt it by flashing a "disable dm verity- forceencrypt.zip". In this case, you might not be able to transfer files from pc when booted into twrp. So, It's a smart move to insert a sd card containing all required files before to avoid these problems.
Another requirement is samsung drivers installed in pc. I will attach that file.
Follow these steps -
1/Unlock bootloader -Go to developer options. Turn on oem unlocking. It will tell you that you're going to loss all data. Proceed. If it doesn’t tell you anything, then there is definitely some extra process to unlock bootloader of your device.(search on internet)
2/Download your phone's official firmware in pc- it will help you if anything goes wrong. Search " Sm fw" on google. Go to first site. Create an account. Search the model number, Download a firmware that matches with all your device's information in "About phone".
3/ Download the lineageos rom and twrp recovery for your model. Then install device info hw from play store to check bits(32/64). Search open gapps. Go to the website. "arm" is for 32 bit & "arm64" is for 64 bit. Select which matches to your device’s bit. Then select the android version of the custom rom. Then select "Pico". Download the file. Next, download latest magisk 25.2 from github page. Rename the apk file to "magisk.zip" Move rom,gapps, magisk.zip to SD CARD. Keep twrp in pc.
4/In pc, download latest odin software. It's an special software for samsung download mode. (There is no fastboot mode in samsung)
5/Boot your device into download mode. And connect with pc.
6/In pc, extract the twrp file(If It's in zip format). Open odin software, Go to options, turn off auto reboot. Now select "AP" & select that extracted twrp file. Click open. Then hit start button.
(Note that most of the samsung devices can't boot stock rom after flashing twrp. So you have to flash custom rom to boot your device. Follow the next step)
7/Boot into twrp wipe>format data>type "yes". Press home button. Install>Select storage>SD card>select the rom.zip. Then add more zips> select the gapps.zip. Again, add more zips> select magisk.zip. After all, swipe to flash.
After installation, reboot device.
What if anything goes wrong?
Extract the stock firmware that you downloaded from sm fw. Connect device in download mode. Open odin, select AP,BL,CP,CSC file one by one. Start flashing. You device will be alive again.
Related
Dear NS forum - my colleague has crespo work phone.Last year I rooted and installed custom ROM for all my co-workers. The Nexus S user came to me with a problem; lately has many force closures and is very slow. I booted it into recovery & got the Android on its back with red triangle --> this is Stock recovery, right?
Not sure how CWM disappeared and got replaced by stock recovery.. but that seems the case. Am I correct that -
1. I need to load my PC with Samsung USB drivers to communicate with phone while in fastboot/download mode?
2. I need to install ADB SDK on my pc too?
3. I need to enter fastboot/download mode and flash a custom recovery?
Kindly help confirm the steps required, am I missing a vital step? Which recovery is best suited ... I have no preference over TWRP / CWM.
Lastly, I am very much out of touch with latest ROMs, appreciate any advice on a simple ROM, maybe 4.2 is best...
appreciate any help, I used to know all this stuff but I moved to Note 2 a year ago. Cheers.
Hey, I just read about Wug toolkit, is this a suitable tool for my issue ?....seems I could use it to flash a recovery for this phone which magically reverted to stock recovery .
http://www.wugfresh.com/nrt/
Hey folks, here I look forward to guide the Google Nexus S users of the XDA Community to go custom with their Samsung Nexus S. I shall try to put forth the most prevailing steps to make my way to your minds. Also I will use the fastboot method to accomplish custom during this entire guide. Before we put our hands on the device and begin with the instructions, I would like to state some general terms, for your ease. :good:
Terms & Understanding
* What is Bootloader and Why do we need to Unlock?
A bootloader is a boot initializing component which is generally locked by the device manufacturer to avoid any messing around with the OS. We need to unlock it for the same reason. Once unlocked it will allow us to change the boot sequence and modify the OS in accordance of our needs.
* What is Rooting?
It is a process of gaining root privileges over an Android subsystem. Rooting an Android device is easy in most cases. If you will to Install custom ROMs, kernels, other patches or addons to your Android device, rooting is what you will need. It can be achieved in two ways; either by manual method (using fastboot) or by automatic method (using toolkit or software) . Here, I am going to follow the manual method by using fastboot commands.
* ClockworkMod, what is it?
In short, CWM; It is a secondary recovery system created by Koush (Koushik Dutta), which adds enormous features like wiping partitions, flashing flash able .zip files like ROMs, kernels, patches etc to the stock AOSP recovery. Visit ClockworkMod website for more.
* What does Custom ROM means?
These are the aftermarket Android firmware which are not official supported by the OEM (Original Equipment Manufacturer). They are made available to the Android public by Android developers and contributors all around the world. Custom ROMs are either built from Google’s source code i.e AOSP (Android Open Source Project) or are modified versions of the device manufacturer’s ROM (Stock ROMs or Factory ROMs) with additional tweaks and extend functions which are not delivered with the Stock ROMs. Some of the popular Custom ROMs include CyanogenMod (CM), Android Open Kang Project (AOKP), MIUI, Codename Android (CNA), Oxygen, ParanoidAndroid and many more.
* What is Custom Kernel?
A Kernel is a bridge between the applications and the actual data processing done at the hardware level, In simple words, it is the communication between the hardware and software of an Operating System. In Android world, Custom Kernels play a vital role since they provide the users with several features including changing CPU frequencies, modifying the boot sequence and boot scripts and other features too.
* What are Google Apps (Gapps)? The name speaks for itself. Gapps are Google apps for Android available in flash-able zip format. Most of these applications can now be found and updated via the Google Play Store.Some of the apps include the Google Play Store itself, Google Talk, Google Sync (for adding and synchronizing Google accounts), Google Backup Transport, Car Home, Gmail, Google Maps, YouTube, Google Search, Google Voice Search, Google Music, and Google Docs. In some Custom ROMs, the Google Apps are included. These are usually stock ROMs, smaller or less-common ROMs, or those from areas where intellectual property laws are less commonly obeyed. But many AOSP ROMs, most famously CyanogenMod and AOKP, do not include the Google Apps due to licensing issues. They are after all proprietary code owned by Google and not included in the Android Open Source Project.
Disclaimer
Early necessary requirements
* At least 60% of battery to ensure no random shutdowns due to low battery.
* Backup your storage manually. Also your text messages and contacts using some backup app.
* Install Google and Samsung USB drivers from here
* A compatible USB data cable for undisturbed connection between PC and device.
* Enable USB Debugging in your device’s settings [Settings > Developer Settings > USB Debugging].
* A PC with Windows OS.
* Download Required files
* Extract the downloaded NexusS_files.zip to the desktop. So now you will have a folder named "NSFiles" on your desktop which beholds all the needed files during the process.
Please make sure to follow every single instruction mentioned during the guidelines. This will resist you from any mishaps during the process. Lets begin!
Unlock Bootloader
NOTE: Unlocking the bootloader will erase all the data on the phone as well as SD storage. So be sure to back everything up.
1. Reboot your Nexus S into bootloader mode by pressing volume up + power buttons simultaneously until you see the bootloader screen.
2. Connect your device to the PC via the USB data cable.
3. Open the extracted folder "NSFiles" that we have have on the desktop. On an empty space inside the folder, press shift and right click and then select "Open command prompt here". This will execute a new CMD window which is already cd'ed to the folder's location.
4. Type in CMD:
5.
6. You will now receive a message on the screen. Use the volume keys to highlight "Yes" and select it using the power button.
7. Your bootloader is now unlocked.
8. Highlight and select "Reboot" to reboot your device.
9. You have successfully unlocked your Nexus S bootloader.
Installing Custom Recovery
1. Reboot your phone into bootloader mode by pressing volume up + power buttons altogether.
2. Connect it to the PC via USB data cable.
3. While in the "NSFiles" folder on your desktop, press shift + right click on an empty space and go to "Open command promopt here". This will execute a command window which is already cd'ed to your current location.
4. To Install ClockworkMod touch 6.0.1.0
Type in CMD:
5. To Install ClockworkMod non-touch 6.0.1.0
Type in CMD:
6. To Install TWRP 2.3.1.0
Type in CMD:
7. The CMD prompt will indicate when the flashing is complete, it barely takes a few seconds.
8. Do not exit the bootloader mode, since this is the way to boot into recovery.
9. Now to boot into your new custom recovery, highlight "RECOVERY" and select it using the power button.
Rooting the Nexus S
If you plan to use the stock (factory) ROM, it is preferable to root. Otherwise, all the Custom ROMs out there already have root access.
The mentioned process is recommended to carry out using ClockworkMod Recovery.
1. Download the latest SuperSU flash-able root package. [Chainfire's SuperSU Thread]
2. Power off your device and boot into the bootloader mode by pressing volume up + power buttons simultaneously until you see the bootloader screen. Highlight"RECOVERY" using the volume buttons and select it using the power button.
3. Now, your Nexus S is in recovery mode.
4. Go to "mounts and storage" > scroll to the very last and select "mount USB storage".
5. This will mount your device's storage to the PC.
6. Drag the downloaded "CWM-SuperSU-v0.98.zip" to the root of your storage.
7. Select "unmount" to exit the USB storage mode.
8. Go to "install zip from sdcard" > "choose zip from sdcard" > select the "CWM-SuperSU-v0.99.zip" you placed in the storage and flash it.
9. Once flashed, select "reboot system now"
.
You now have your device rooted. You can officially declare yourself as the true master of your device.
Install Custom ROMs
Installing a ROM is quiet a simple process, you can say that it is the easiest of all.
1. First, you need to choose a suitable ROM that meets your requirements.
2. Once you have chosen, download the ROM's .zip (flash able zip file) as provided by the Author/ Developer .
3. Also make sure to download specific Gapps and other add-on if provided by the developer himself. [If not, download generic Gapps from here]
4. Put the downloaded files to your SD storage either by using USB mass storage directly or by mounting USB storage in recovery mode.
5. Reboot your Nexus S into Recovery mode. Power off your device and boot into the bootloader mode by pressing volume up + power buttons simultaneously until you see the bootloader screen. Highlight"RECOVERY" using the volume buttons and select it using the power button.
* Using CWM:
wipe data/factory reset.
Go to "mounts and storage" > "format /system".
Go to "install zip from sdcard" > "choose zip from sdcard" > select your ROM .zip file that you placed in step #6. Flash it.
Gapps are the next to be flashed just after flashing the ROM. So, flash Gapps following the same way as the ROM. further if your are provided any add-on in a flash able zip format you can flash it the same way after flashing the ROM and Gapps successfully.
Once everything has flashed successfully, select "reboot system now".
* Using TWRP:
Go to "Wipe" > "System" and "Factory Reset".
Go to "Install" > choose the ROM .zip file and flash it.
Gapps are the next to be flashed just after flashing the ROM. So, flash Gapps following the same way as the ROM. further if your are provided any add-on in a flash able zip format you can flash it the same way after flashing the ROM and Gapps successfully.
When flashed, go to "Reboot" > "System".
Your phone will now boot into the custom ROM.
Install Custom Kernels
1. Download the flashable zip package of your desired Custom Kernel.
2. Connect your device to PC via USB cable in USB Storage Mode.
3. Drag the downloaded kernel zip package to the root of your device's storage.
4. Disconnect the device from PC.
5. Power off, now press the volume up button and the power button altogether until you see the bootloader screen. Use the volume keys to highlight "Recovery" and select it using the power button.
6. Your device shall now be in recovery mode.
* Flash using CWM:
"advanced" > "Wipe Dalvik Cache"
"install zip from sdcard" > choose zip from sdcard" > now browse and select the kernel zip package that you placed in your storage root during step #3.
Select "Yes".
Your Kernel will now flash to your OS and replace your current kernel.
When it has successfully flashed, select "reboot system now".
* Flash using TWRP:
"Wipe" > "Dalvik Cache"
"Install" > now browse and select the kernel zip package that you placed in your storage root during step #3.
Your Kernel will now flash to your OS and replace your current kernel.
When it has successfully flashed, go to "Reboot" and select "System".
You now have Custom Kernel installed on your Nexus S.
NOTE: Before choosing any Custom Kernel, do verify that the Kernel is meant to be flashed on your present Android OS version.
Congratulations! You shall now enjoy the full packed potential of your wonderful Nexus S.
If you have got any questions/ queries or you're stuck anywhere in the mid process, comment here. I will try my best and provide you an helping hand. 
Sent from my Nexus S using XDA Premium 4 mobile app
I finally succeeded it, after literally months of trial and error! So, I am writing this post in hope that someone who wants to install Oreo on Life One X in the future would find this post through Google search.
Here are the steps.
0. From this page (https://forum.xda-developers.com/android/development/rom-official-mados-wiko-fever-clones-t3762800), download the TWRP recovery and the madOS Oreo ROM.
1. Download the BLUEFEVER ROM from this page (https://www.npcglib.org/~stathis/blog/2016/04/13/turned-blu-life-one-x-wiko-fever-4g/).
2. Download the SP Flash Tool from the page above or through Google search. The version I used was 5.1812, which seemed to be the latest version.
3. Download the Universal ROM from this page (https://forum.xda-developers.com/android/development/flashable-wiko-fever-stock-marshmallow-t3720484)
4. The critical things is you should not flash the Universal ROM as it is, because that bricked my One X. You need to copy "preloader_l5460.bin" and "secro.img" from BLUEFEVER in step 1 and overwrite them to the Universal ROM.
5. You need to install the Mediatek Driver. I used "MT65XX USB VCOM" driver. I found it using Google search, but forgot where I got it from. But with that name, I think you can find it.
6. Now start the Flash Tool, and and select the download agent in the Flash Tool directory (MTK_AllInOne_DA.bin), and select the scatter file in the Universal rom (MMX BLU), and then select "Format all + Download". Then, this is very important, press the download button BEFORE connecting the phone, otherwise it will not work.
7. Now, turn off the phone (I mean, power off, not just screen off) and then connect it to the PC. If the tool does not recognise the phone, press volume up + down at the same time when you connect it until the device connected sound comes from Windows.
8. Now the tool flashs the rom. Wait. It may take a few minutes.
9. If it is bricked, just leave it for a month until the battery drains and completely turns off, and then try flashing again.
10. Now, boot up the phone, go to Settings -> About and hit the build number several times to enable the developer menu.
11. In the developer menu, enable OEM unlocking.
12. Now, install the Google USB Driver. This can be easily found through a Google search. You need to get the "platform-tools" directory of the Android SDK, which can also be easily found.
13. Now, turn off the phone, and hold volume up + power button. The phone shows tiny menu (really tiny...). The first is recovery, the second is fast boot, and the third is normal. Choose fast boot. Type "fastboot oem unlock". You need to press the volume up button on the phone now.
14. Now the phone is unlocked. Type "fastboot.exe flash recovery twrp_wiko_fever_oreo.img" to flash the recovery.
15. Restart in the recovery using the 13th step.
16. Go to Wipe -> Format data and format the data, otherwise the recovery will not recognise the storage and will not boot.
17. Go to Open Gapps and get ARM64, 8.1, micro. Editions above micro will NOT install with an error message that says insufficient storage.
18. Now connect the phone to the PC. The TWRP recovery automatically mounts the storage to the PC so that you can copy files into it. Copy the mad OS rom ZIP from step 0 and the OpenGapps from step 17.
19. Flash the two using the install menu of TWRP.
20. Done.
I do not use One X as a phone, so I skipped the radio flashing steps. It currently shows the baseband is unknown. If you want to use the phone feature, I think you need to flash the radio img or something using the instructions somewhere in the linked posts.
Find here SP Flash Tool
Here is some info from my recovery menu
Samsung/heroqlteuc/heroqlteatt
8.0.0/R16NW/G930AUCU4CRE4
user/release-keys
I have a stock AT&T Galaxy S7 G930a I think on Oreo. I broke the screen around April 2017 and haven't used it since then. I just repaired the screen but I cant remember my pattern unlock and I want avoid wiping/reset because I want the data on the phone. ADB Debugging is off, bootloader isnt unlocked, it's not rooted and it's on stock recovery. What are my options to get past the pattern unlock screen to recover data without wiping/reset?
Things I've tried
"Samsung Find My Phone" to unlock the screen and while my device is listed it cant connect to the phone.
"Where's my Android" - cant find the device most likely because I've updated my Google password since 2017 and I believe Google will log you out of any device using your old password.
Deleting gatekeeper/pattern/pin files through ADB shell wont work cause ADB Debugging is off
Dr. Fone PC Software - Galaxy S7 isnt listed as supported devices
If I have no option but to reset/wipe I'm willing to use file recovery software like EaseUs to recover my deleted phone data. I've used this software to recover data on a couple corrupted hard drives and it's a must have for me now. I dont know how well it works for phones and it requires root tho. Can this phone be rooted once I reset/wipe? If so, what are the steps I would need to take?
Any guidance would be greatly appreciated
Is there another google account linked to the device? Looking at your current situation, you probably don't have any choice to wipe the device.
This specific model you mentioned (G930A) is a US model & has a Snapdragon processor. Meaning that, the bootloader is locked and cannot be unlocked to install a custom recovery with root.
You probably can use this, but it requires a data wipe, so not really useful..
[LOCKED BOOTLOADER] Temporary TWRP 3.3.1 for Samsung Galaxy S7 (Snapdragon) G930XX
Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and...
forum.xda-developers.com
There is this but not sure if it would help you.
[Rom][ALL_CARRIERS_G930_CRF1][Stock_Oreo_Hybrid][Safestrap_Preinstalled]
This is for All Carriers. You Do Not Need To Be Rooted To Install This Rom You Must Be On Stock CRF1 Oreo Firmware Before Starting This Takes Some Patience To Install What Is Safestrap Safestrap is a Bootstrap / Recovery for locked bootloader...
forum.xda-developers.com
All the best!
riojosepha said:
Is there another google account linked to the device? Looking at your current situation, you probably don't have any choice to wipe the device.
Click to expand...
Click to collapse
Nope, but I found this thread that I replied to the OP. How would I know what bootloader I'm on? It's said you need to be on V4
[Easy_Root/Unroot][Any_Oreo/Nougat_Firmware_V4_Bootloaders][Tmp_Twrp_Recovery] | XDA Developers Forums (xda-developers.com)
I guess you can root and install custom recovery somewhat but they require wipe. My question is at step 9 of the instructions. Here are the instructions below with my question.
"Instructions
1. Download S7_S7E_ROOT_UNROOT_ADB_TOOLS.7z and your model and version you want from above
2. Unzip S7_S7E_ROOT_UNROOT_ADB_TOOLS.7z to S7_S7E_ROOT_UNROOT_ADB_TOOLS folder
3. Unzip the Model/Version file you downloaded and copy the files to the S7_S7E_ROOT_UNROOT_ADB_TOOLS folder and place them in the Odin folder
4. Prepare your phone for a data wipe
5. Reboot your phone to download mode and flash the AP_ROOT_G93*.tar in the Odin AP slot and reboot your phone to recovery
6. Once phone is in recovery run the Setup.exe in the S7_S7E_ROOT_UNROOT_ADB_TOOLS folder
7. Now in the cmd window make sure your device is connected and choose Option (1) Launch TWRP
8. Your phone should launch TWRP leave phone plugged in and command window open on computer
9. Now In Twrp choose wipe and choose format data. Type yes in the box when it ask "
Now right before step 9 wipe and format, while I have TWRP open can I install Aroma File Manager zip or send adb commands to delete gatekeeper, pin, pattern unlock files, then reboot so I can get past my phones unlock pattern? This is all I'm trying to accomplish. I just want to confirm before I process because I don't want to wipe my data. 'm trying to recover pictures and videos from this phone.
KayKay919 said:
Nope, but I found this thread that I replied to the OP. How would I know what bootloader I'm on? It's said you need to be on V4
[Easy_Root/Unroot][Any_Oreo/Nougat_Firmware_V4_Bootloaders][Tmp_Twrp_Recovery] | XDA Developers Forums (xda-developers.com)
I guess you can root and install custom recovery somewhat but they require wipe. My question is at step 9 of the instructions. Here are the instructions below with my question.
"Instructions
1. Download S7_S7E_ROOT_UNROOT_ADB_TOOLS.7z and your model and version you want from above
2. Unzip S7_S7E_ROOT_UNROOT_ADB_TOOLS.7z to S7_S7E_ROOT_UNROOT_ADB_TOOLS folder
3. Unzip the Model/Version file you downloaded and copy the files to the S7_S7E_ROOT_UNROOT_ADB_TOOLS folder and place them in the Odin folder
4. Prepare your phone for a data wipe
5. Reboot your phone to download mode and flash the AP_ROOT_G93*.tar in the Odin AP slot and reboot your phone to recovery
6. Once phone is in recovery run the Setup.exe in the S7_S7E_ROOT_UNROOT_ADB_TOOLS folder
7. Now in the cmd window make sure your device is connected and choose Option (1) Launch TWRP
8. Your phone should launch TWRP leave phone plugged in and command window open on computer
9. Now In Twrp choose wipe and choose format data. Type yes in the box when it ask "
Now right before step 9 wipe and format, while I have TWRP open can I install Aroma File Manager zip or send adb commands to delete gatekeeper, pin, pattern unlock files, then reboot so I can get past my phones unlock pattern? This is all I'm trying to accomplish. I just want to confirm before I process because I don't want to wipe my data. 'm trying to recover pictures and videos from this phone.
Click to expand...
Click to collapse
Don't install any aroma file manager, you can just plug your phone into your computer and then your data would be mounted onto your computer.
I hope everything goes well!
EDIT: You are on V4 or Binary 4 as noted in G930AUCU(4)CRE4 (the 4 meaning version 4 or binary 4)
Hey Guys,
Before you dive in, irrespective of your reading speed read this carefully and slowly for better understanding but if you cannot focus and read it slowly then you better give up music for a few weeks.
About the Device
Before you jump in and get your hands dirty.. you should know that what you will be installing is Generic System Image, It is not specifically made for your device so if you are going to install some other GSI other than this, you might face some issues.
If you are a beginner, you should Go Through Project Treble, just for the sake of knowledge.
Also Galaxy A51 has A/B partition and Supports Project Treble though remember that Treble Devices are not same as A/B devices and Vice Versa.
Things You’ll Need
A Computer (not an iPad)
Internet [requirement around 6 gigs (4.8 gigs optional, for downloading stock Firmware, Highly Recommended)]
Samsung Galaxy A51 (will not work on A50)
Patience and a madcap attitude.
Resources
Download Odin from the link given below and extract it in a folder.
https://odindownload.com/download/Odin3_v3.13.3.zip
Adb and Fastboot Drivers
https://gsmusbdrivers.com/download/adb-fastboot-drivers/#
Samsung Drivers
https://developer.samsung.com/mobile/file/68b2dc40-3833-4a8b-b58e-32f7aca25c00
Havoc OS GSI
Havoc-OS - Browse /arm64-ab at SourceForge.net
Don’t forget to check that there is “arm64” and “ab” written on the name of the file
Other option is with Gapps (it means the rom will come with Google Play services built in
otherwise it is Vanilla Android.
GSI Flasher
(It is used for converting your img file into flashable Zip)
https://drive.google.com/file/d/1J8OlI2CCXpvAJ5FhFlR2b_y58eHQERGs/view?usp=sharing
Extract it you’ll find three folders gsi, META-INF, scripts, keep all of them inside the GSI
Flasher extracted folder.
Twerp Recovery
twrp-a51-3.5.0_10-1_ianmacd.tar | by androidhowto for Utilities (androidfilehost.com)
Do not use any other in this case you might get mounting errors.
Encryption Disabler
Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip | by androidhowto for Utilities (androidfilehost.com)
Its Show time
1. Go to settings and go to about phone, tap build number 7 times and a dialog will appear, you are now a developer.
2. Go to additional setting or search developer options in the settings search bar
3. Once in the developer settings find OEM unlock and turn in on, scroll down and also turn on USB debugging, your phone will ask the permission for accessing the data by your computer.
4. Turn off your device. Get a usb cable and connect it to your computer.
5. While phone is off first press Volume UP and Volume Down together, and then then insert the usb cable into the phone while holding the buttons wait for two seconds. a blue screen will come up telling you about consequences and life choices.
6. Long press the Volume Up Button and a new blue screen will show up asking you for unlocking the bootloader. Press Volume Up to confirm. You device will erase everything and reset itself ( Don’t forget to take backup of your Data).
7. After the setup screen appears skip everything in the setup and enable developers option and enable USB debugging in the developer options.
8. Turn off your device again and Repeat step 5.
9. Press Volume up for entering the download mode
10. Now in your computer, Install Odin and open Odin.exe you’ll find your device as comm: xx
Now click on the AP button and select the twerp you downloaded.
Press start and twerp will be installed in your device. Your device will reboot don’t let it boot to one ui, press all three buttons together and hold, as soon as the screen goes black release only the volume down button. Keep holding the Volume UP and power buttons for 3 seconds and then release, you find yourself in twerp. If you miss it repeat the process again but don’t let it boot to One Ui.
In twerp press wipe => format data =>type yes. Press home button and again go to wipe advanced select Data, Cache and Dalvik and swipe to clear.
Press home again. Go to reboot and select recovery, twerp wil reboot. Once it reboots transfer the encryption disabler to your phone and in twerp press install select the storage, sdcard or internal storage, where you have stored the file, select it and swipe to install.
Now in your computer extract the Havoc os image and rename it as “system.img”.
Extract the GSI flasher, copy system.img and paste it in the gsi folder of the GSI Flasher.
Select gsi, Meta-inf, scripts and compress them into a zip and transfer into the phone.
Now in twerp Press install, select the zip file and swipe to install. Also install Gapps or Magisk if you want (though normal magisk will have problem try install phh_magisk, discussed later).
Reboot and KABLAMO You have installed Havoc OS.
Bugs
A small random issue in Auto Brightness
If you root with magisk and install modules, after you reboot your phone will get into a bootloop. Use Phh_Magisk but I aint sure if it’ll work or not Your call madcap.
NONE OF THE FILES IN THIS TUTORIAL HAVE ANYTHING TO DO WITH ME. If SOMETIHING HAPPENS I AM NOT RESPONSIBLE. ONLY DO IT AT YOUR OWN RISK.
Troubleshooting.
If you find errors in twerp, such as unable to mount vendor or system_root, or data. Then you got to install the stock One Ui Back again, therefore it is highly recommended to keep with yourself the stock firmware. You will need It. And it is 4.78 gigs. You can download it from
Model : SM-A515F - Galaxy A51 — Samfrew.com
To reinstall the stock firmware first extract it and the open odin and repeat steps 8 and 9, once your device is detected in Odin press the respective buttons and select the respective files such as for BL button select the file With BL in the name. Do it for buttons, BL, AP(once you select the file it will take long for it load into odin so do not panic and let it load, it might become unresponsive but use patience and wait.)CP , CSC. Click on start and you’ll have ONE Ui back on your device.
To Lock the bootloader repeat steps 5 and 6.
If you still want more stability and Control You can install a different Kernel NDataX from (@Hendamanu) https://forum.xda-developers.com/m/hendramanu.11224917/
Thanks for your contribution
Hi, in this guide I will help you to root, install the TWRP, and install LineageOS 17.1 (or any custom ROM for this tablet).
I'm not responsible for any damage to your device of any sort.
By flashing this you take responsibility of anything that happens.
Process at your own risk!
This firmware was developed for the p905. It doesn't apply to the p905v at this time because it's bootloader locked and a custom recovery isn't possible.
Doing this you will delete all you file, so before starting save you important data in a different device.
DOWNLOADINGDownload this .zip that have all the required files: https://drive.google.com/file/d/1aXfW2WoNER0kKRUc6dn0Odu3VW2swNA7/view?usp=share_link
Extract the folder in the Desktop for better agility.
STARTINGOpen the folder previously extracted, and run as administrator the .exe "Samsung-Usb-Driver-v1.5.59.0". Now you downloaded the Samsung drivers.
Now run as administrator the .exe "adb-setup-1.4.3 run as admin": Answer yes for every step asked.
Remember to install the GAPPS from here (i didn't put them in the .zip file because uses al lot of space): https://opengapps.org/ (select the ARM and Android version, that in this case is Android 10.0, and I choosed the nano version, but you can select which you want in base of included app: https://gapps4android.wordpress.com/2016/03/20/gapps-package-comparison-which-to-choose/ ).
Store the .zip with the gapps in the tablet, in some location that you will remember.
In the extracted folder you will find the rom .zip file of the LineageOS 17.1, do the same as for the GAPPS .zip, so copy it in the tablet in a folder that you will remember.
This process will NOT require the OEM unlock, because Odin will do it for you.
Be sure to have enabled the USB debug in the Developer Options. Plug the tablet in the PC and be sure that the tablet ask you to enable USB DEBUG via your PC. Is no pop-up is asking you this, open the folder extracted, go to "fastboot" and open a CMD in this location, and type the command: "adb devices" this will trigger the tablet to ask you to allow the USB debugging via your PC.
ROOTINGPut the Samsung Galaxy Note pro 12.2 in the Downloading mode:
1. turn off the device completely.
2. hold down the POWER key and the volume DOWN key.
3. when you come out a screen with a yellow triangle and an exclamation mark and asking if you want to be sure to enter the Downloading mode (also called Odin Mode), to agree click the volume UP button.
Meanwhile start Odin (the file .exe called "Odin3-v3.10.6" that is in the extracted folder) as administrator.
Now plug the Galaxy Note pro in the PC and you will se now a message in the left box saying something like: "<ID:0/005> Added!!" the number is based on the COM port that your tablet is now connected (in my case was 5).
Now click on the button "AP" (that should be the only one clickable) and select the file "CF-Auto-Root-viennalte-viennaltexx-smp905.tar" in the main extracted folder.
Finally now click START. In my case took 5 minutes to complete.
When the process ends, the tablet will reboot automatically, and in the apps you will see an app called "superSU". If you see this app, you successfully rooted you device!
Open the new app and it will ask you if you disable Xnox and you will click yes, or ok.INSTALLING TWRPWe will install TWRP in the Easy way, from the Play Store. So open the Play Store and download the officiall TWRP app.
Once downloaded, open the app. If the app ask for request from superSU you will need to GRANT.
Ok, now click on the "Select Device" and choose our tablet, the Galaxy Note Pro 12.2, and choose the latest .img avaible. It will ask you to download, so you click OK and it will open the browser and download the image file (should be called like "twrp-3.0.2-0-viennatlexx.img"). Remember where it got downloaded and return in the TWRP app. Now click on "Select a file to flash.." and select the image file now downloaded. Finally click on "FLASH TO RECOVERY" and in the pop-up click OKAY.
You should get a screen saying "Flash completed successfully!".INSTALLING LINEAGEOS (or any rom)Boot in the TWRP mode by connecting the device to the PC, opening the folder "fastboot" in the firstly .zip downloaded and opening the cmd in that location. Once you opened the cmd, type "adb devices" and now you should see you device. Now type the command: "adb reboot recovery". Your device will shutdown and automatically restart in the TWRP mode.
From here you can follow any Tutorial in the web to install the rom and the gapps.
But if you want to install now the rom LineageOS 17.1, continue following this guide.
Once you are in the TWRP mode, click "Wipe" and go to "Advanced Wipe" and select only the checkboxes "Davlik Cache", "System", "data" and "Cache". Now swipe to wipe.
Now go back in the main page, and click "Install" and navigate where you have the ROM .zip file stored of the LineageOS rom. When you find it click on it and Swipe to confirm Flash.
Now DO NOT reboot the system, go back and Flash in the same manner the .zip file with the GAPPS. After flashing the GAPPS, remember to click on the button "Wipe cache/dalvik".
NOW FINALLY CLICK ON THE BUTTON REBOOT SYSTEM. And here you go, that's how I upgraded from Android 5.0.2 to Android 10 for my tablet Samsung Galaxy Note Pro 12.2 SM-P905.CONCLUSIONI only wanted to share my experience, because I had really hard time trying the upgrading becuase internet was not really clear about this.
If you have any problem I will try help you in this Thread, but i'm not an expert, i'm only a guy that searched the web alone.
Buona fortuna a tutti e Arrivederci!
Thank you!