Lenovo Yoga Tab 2 830F - bootloader unlock and permanent TWRP guide - Lenovo Yoga Tab 2 Guides, News, & Discussion

The original posts by ionioni and workdowg have been removed, and it was very confusing for me to piece together what needed to be done. I will mainly link to the other excellent guides here and elsewhere, and only write a summary of steps.
1) Unlock bootloader - http://club.lenovo.com.cn/forum.php?mod=viewthread&tid=1156890 - (it's in Chinese, just use Google Translate - I downloaded the 830F file and it seemed to work for me). Download the zip file, extract the img files. Reboot to fastboot, and do "fastboot flash ESP 830f-esp-patched.img". Then, reboot to check that the system still boots.
2) Get recovery file from here: https://forum.xda-developers.com/android/development/recovery-t3322990 - actual file link - https://www.androidfilehost.com/?fid=24421527759888155
3) Shutdown tablet
4) Start up tablet in DNX mode - hold power, volume up and down buttons together for a few seconds - tablet will start up, and you will see “Fastboot starting….” (this was the missing step that I needed to make it work) - based on a comment by ionioni in some thread in this forum
5) Shutdown tablet by long pressing power button
6) Start tablet in fastboot mode, by holding power + volume down button
7) Now flash the recovery file downloaded in step 2 - fastboot flash recovery <file>
8) Once it’s finished, confirm success by booting into recovery mode - press volume down/up button to cycle between options (shown in rectangle box at the top of the screen) and choose Recovery - TWRP should start up!
9) Then, restart the tablet or continue normal boot, and then reboot into recovery to confirm that TWRP indeed starts up automatically
10) Profit!!!

Thanks, I was also very confused after bumping into the mysterious locked/first post deleted threads about TWRP on the Yoga Tab 2 !
I'd rooted it originally with the CWM Hack but after some "familly password mess-up" I'm finding I could use TWRP to get into data/system to delete the password files. Will try your method out although it doesn't look like a temporary TWRP access is possible and unlocking the bootloader will, well hard reset it, so...
EDIT - ok, first problem, to download the .esf file it seems you have to register on the Lenovo Chinese site using a Chinese phone number ?

I don't remember how I downloaded the file, maybe I did register for an account? I think email can be used for registration, try that.

I've stored the file on Google Drive, here's the link:
830f-esp-patched.zip
drive.google.com

Very kind of you, thanks !

I just bought that tablet Yoga 2-1050F and read something about it here and there but still not sure if I can do that on 1050F? I read in other thread that both ver use the same kernel? The specs are the same, same CPU and GPU.
You know some good custom ROM for it, or are they any? As I see the development for that model wasn't so popular

do you need the tablet be on Lollipop ? or kitkat is just fine ?

Related

[Hannspad] Custom Boot Logo and Animation - Google Gears

Hi guys, here's my little contribution to the scene.
I was upset with the Flashback's Boot animation (no offense to the dev, but for the life of me... it's ugly!) so i decided to "port" the one i use on my HTC Desire.
So here it is, just copy the bootanimation.zip to your /data/local folder and reboot to enjoy it.
You can either use a file manager (root manager, file manager hd, es file explorer...), i personnally go for the QtADB option (easier way to handle files).
Here's what it will look like:
[media]http://www.youtube.com/watch?v=cUYhNWQc1_g[/media]
Edit - 18/Sept/2011:
Just a little video to show the work in progress.
I've managed to change the boot logo, working on a little app to ease the process for everyone atm.
Edit - 19/Sept/2011:
Until i come with a nice solution to reboot in APX mode, please use the following archive to flash a custom splash screen.
Little dirty tut, wait for a better one.
0. Always make a backup / Download and unpack the main archive / Read the whole tut twice before proceeding.
1. If you have already installed the APX drivers and made a backup of your partitions, please go to step 5.
2. Otherwise just power your tab off, then press Volume - and Power On till the screen turns black.
Windows will ask for specific drivers, locate them in the previous unpacked archive. When it's done proceed to the next step.
3. Run 'backup_hannspad.bat' to backup your partitions.
Please save those part?.img somewhere safe. Open the partition.txt and look for the following line: Name=BLO.
Just above, you'll find 'PartitionId=x'.
This number is important, as it tells us which partition holds the Boot LOgo. For me it's partition 7:
PartitionId=7
Name=BLO
DeviceId=19
StartSector=3712
NumSectors=2048
BytesPerSector=2048
Click to expand...
Click to collapse
4. Once it's done, power off. Then boot once again in APX mode (vol - and power), you might need to do this since sometime the apx command line isn't
really recognized.
5. If your partitionID is not 7, edit the "nvflash_hannspad_splash.bat" from the archive to the relevant number.
Otherwise run it and wait till it's finished. You'll see some progress in the window..
6. When everything is over, just reboot. Yoou should see your new splash screen.
7. If it doesn't work:
- Check the logo.bmp. Your picture must be 1024x655x24bits, check the following section ffor more info.
- Power the tab off, and restart the flash, sometimes apx is peeky.
Hope it helps till we find a better solution.
Quick sum up, for lazy users:
Double check your BLO partition (often 7 on our Hannspad, but could be 6 or Gtablet).
Make a specific bmp, width = 1024, height = 655, and 24bits, save it as logo.bmp
You could also open the one in the archive and edit it to your needs, make sure to keep the settings (1024x655x24).
Reboot the Hannspad in apx with Volume - and Power for a while, till it starts to boot but the screen turns black.
Then run the "nvflash_hannspad_splash.bat" from the archive, it will works just fine.
If your PartitionId is not '7', then you must edit the previous .bat file with the relevant number (for ex, 6).
Reboot and enjoy.
If it doesn't work, post your log or errors here.
Thx bro
Yeah the Standard one is ugly >_>
Good too see that there is some work for Hannspad
this is very cool thanks!! do you also have a different splash screen you use?
Will this also work for the Droid Incredible 2? Or does it have to be formatted?
I think that it should, there's no reason it wouldn't
If ever, just say it here and will sort it out.
However, i'm still stuck with the current Hannspad boot logo, i want to come with a clean/simple solution to flash the boot logo.
Hi everyone, just updated the 1st post with a little video.
I've managed to change the boot logo/splash screen so expect a little tool to perform this
Hopefully everyone will mod his/her tablet and we can then show xda that we truely deserve our own section!
Added a little and dirty tutorial so you guys can start messing with the custom splash screens (until i come with a nice reboot into apx mode solution).

[ROM] [STOCK] [Unbrick] [x3_row] Lenovo VIBE X3 ROW (X3a40) Stock Firmware Flashing

DISCLAIMER: I am not responsible for anything that happens while/after flashing these files. Your device's destiny is your own responsibility. Proceed at your own risk.
After days of waiting, a stock ROM package for Vibe X3 is finally available(or rather leaked).
This thread and all its contents are meant solely for the ROW variant X3a40.
This thread will come handy for restoring both working or bricked devices back to stock state.
There are two ways to flash the stock ROM:
Using QFIL tool on PC: This should be handy for bricked devices and also for working devices. Guide in post #2.
Using Qualcomm Diagnostic mode on device: This should be handy for people willing to downgrade a working device to an older stock firmware. Needs access to internal storage so doesn't make sense to use for a bricked device. Won't work if on custom ROM (modded stock ROMs should work). Guide in post #3.
DOWNLOADS
X3a40_S237_170803_ROW QFIL Package (1.6 GB) | Alternative .7z File (1.4 GB) | Follow post #2 | Latest
X3a40_S217_160623_ROW QFIL Package | Follow post #2
X3a40_S130_151122_ROW QFIL Package | Follow post #2
X3a40_S130_151122_ROW QSB Package | Follow Post #3
Drivers + QFIL | Windows 10 | Windows 7 | (UPDATED: 5/4/16)
Credits: http://lenovo-forums.ru/forum/590-lenovo-vibe-x3-прошивки/
The file sizes differ due to different compression levels and format.
With Windows PC Flashing Guide
WARNING: Everything apart from data in external SD card will be wiped. Make sure to backup everything.
Download the QFIL flash package ZIP and appropriate ZIP from Drivers+QFIL.
Extract the ZIPs to a folder whose complete path has no spaces (space characters) at all. A number of people have reported issues when this folder is on the same partition as Windows(mostly C: ) so prefer D: or any other partition.
Make sure you uninstall any other phone's PC Suite/drivers as they may cause conflicts. Microsoft Emergency Driver (installed for restoring Lumia devices) is known to conflict, please uninstall it.
Go to Drivers+QFIL folder extracted in Step 2, run the appropriate 'INSTALL_DRIVERS_&_QFIL.bat' and follow the instructions.
Backup contacts, SMS, apps, etc. as well as the entire internal storage as they will all be wiped(you will setup a new phone). Internal storage WILL BE erased when using the QFIL flash method.
Run 'QFIL' program. Let it load, close and run it again. This restart is only needed if you haven't used QFIL on that PC before and failing to do so might cause Sahara related errors.
Select 'Flat Build' as build type.
Click on 'Browse', select the 'prog_emmc_firehose_8992_ddr.mbn / prog_emmc_firehose_8992.mbn' file from the 'X3a40_S130_151122_ROW_QFIL' folder which you extracted.
Click on 'Load XML' and select 'rawprogram0.xml' followed by 'patch0.xml'.
Make sure you completed each step precisely, the USB cable is connected ONLY to USB port (USB 2.0 preferably) of PC and not to device yet, the device is powered off and is charged (at least 40%).
Now boot into EDL by plugging in the USB cable to device and then QUICKLY(within a second of plugging in) pressing and holding power button for ~1 second. QFIL's 'No port available' text should change to 'Qualcomm HS-USB QDLoader 9008 (COMXX)'. The display will stay off so, don't worry about it.
Within ~5 seconds put the device on a stable surface (so that it doesn't move around or shake) and press the 'Download' button on QFIL. If you are late, the device starts to power on normally and you need to go back to Step 11 and continue.
Wait for the flash to complete and 'Download Succeeded' message appear at the bottom.
Press and hold the power button for ~10 seconds to boot normally. If display doesn't turn on press and hold the power button again for longer time, it will boot.
Once you see the Lenovo logo, unplug the phone.
Once you have finished the initial set up, open dialer, dial '####682#', choose your region and confirm.
Without PC (QSB) Flashing Guide
WARNING: All the contacts, SMS, apps, etc. will be wiped. Make sure to backup them. Data in internal storage (sdcard0) and external SD card will not be wiped.
Download the QSB package and extract the ZIP.
Place the "sdfuse" folder extracted from the ZIP in internal storage of your device.
Backup contacts, SMS, apps, etc. as they will all be deleted(you will setup a new phone). Internal storage will not be erased when using the QSB flash method. But, to be safe, back up the data in internal storage too.
Boot to Qualcomm Diagnostic mode (not recovery) by pressing and holding Volume down + Power button together until Lenovo logo appears and flickers once(release the buttons after flicker).
Goto 'SD Update' using volume rockers and touch on 'Enter'.
Touch on 'Start'.
Once finished touch 'Restart'.
Once you have finished the initial set up, open dialer, dial '####682#', choose your region and confirm.
That's it.
TIPS & INFORMATION
The various modes X3a40 can boot into:
Recovery mode: Press and hold Volume up + Volume down + Power together until Lenovo logo shows up and flickers once. Release the buttons and you will reach the recovery. This opens up the recovery of the device.
Qualcomm Diagnostics mode: Press and hold Volume down + Power button together until Lenovo logo shows up and flickers once to boot into this mode. This opens up the Qualcomm Diagnostics screen which has a number of hardware testing and other tools along with ability to flash the stock ROM. It is also used for further Diagnosis using a PC.
Fastboot mode: Press and hold Volume up + Volume down and plug in the USB cable(already connected to PC). You may also use the ADB command "adb reboot bootloader". Obviously, you need a working device with USB Debugging turned on and ADB installed on PC. This enables the traditional Fastboot interface. NOTE: Device stays on Lenovo logo while in Fastboot mode.
EDL mode: Plug the USB cable and then QUICKLY(within a second of plugging in) press and hold the power button for a little while. Device stays in EDL only for ~5 seconds unless you start firmware flash via QFIL. You can also use ADB command "adb reboot edl". This will put your device in Qualcomm Emergency Download Mode which is meant to flash stock firmware using QFIL tool on working/bricked devices.
Normal mode: This is what you boot by normally pressing the power button. I don't need to say much about this one.
Keep your NV data (IMEI, Serial No., etc.) backed up from QFIL>Tools>QCN Backup Restore. Device must be in Qualcomm Diagnostics mode. There are many more ways to do this.
Thanks
Thank you!!!
Thank you for sharing. I was waiting for this, now we can experiment our device without any fear.
Hey. Can we see some guides since it's weekend
thank you
I cracked my device's display. :crying:
Wouldn't be able to work on root for next 10-15 days.
Meanwhile, the 138 update is nice.
That's sad news
Arpit. Meanwhile someone has suggested in the lenovo forum to copy the file (downloaded from the Russian site) and flash it thru recovery mode.. My question is will it work.. As this is my primary and only device
Work, its my post in lenovo forum, everythings works
maxpaynezm said:
Work, its my post in lenovo forum, everythings works
Click to expand...
Click to collapse
me video flash stock rom https://www.youtube.com/watch?v=GC955AFBACk
No need to download this rom and use SD update. I got update right from the system settings. But thanks for those links.
this is not update,but original stock rom s130,because the update drain more battery
arpit_nnd said:
DISCLAIMER: I am not responsible for anything that happens as a result of flashing these files. Your device's destiny is your own responsibility.
After days of waiting, a stock ROM package for Vibe X3 is finally available.
Hey Thanks a lot !!
Recently i have shifted from samsung Note 2 to Vibe x3. Is there any means(may be themes) to have toggles similar to Samsung TW. I feel that samsung TW appearance is much better than Lenovo.
I am using nova launcher as its better than stock lenovo theme.
Also is there any means to have sound on boot animation.Current feel is similar to any CM ROM
Click to expand...
Click to collapse
maxpaynezm said:
me video flash stock rom https://www.youtube.com/watch?v=GC955AFBACk
Click to expand...
Click to collapse
Thanks for this video mate !
Noob Question: When you say newer and tested drivers, what does it mean?
HarveySpecter said:
Noob Question: When you say newer and tested drivers, what does it mean?
Click to expand...
Click to collapse
I haven't uploaded that package yet.
Sorry about that.
I need to get my device's display fixed. I will complete this thread then.
Looks like we can expect a custom rec now.

[In-depth Guide] How to Root, ROM, Unbrick and add CWM to your GT-S5830i

So the Samsung Galaxy Ace is starting to get old and obsolete now. But that makes it the perfect device to mess around and try all these ROM's on! This is going to be a short guide explaining how to root, unbrick and add some ROM's (With downloads) to your device.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
There's a link to all downloads at the end of this post. Note - I do not own the rights to any of the tools used for the rooting, ROM-ing and unbricking process, all credit goes to the rightful owners, unfortunately I can't remember who made each one so shout out to them all!
Downloads - Dropbox
Google Download
Disclaimer: In doing any of the following you are voiding your warranty and will trip the knox counter. If you don't understand the implications of rooting and changing your devices coding, I would advice checking before continuing
Rooting your device
So let's start. First off your gonna want to root your device, right? So in order to do this we are going to use a small zip file (download below)
Step 1 - Connect your PC to your device using a USB cable.
Step 2 - Chances are now you will get a notification pop up on your phone, this will say something along the lines of "Click here to start file transfer." All your gonna want to do is click on this notification and then wait until a button comes up saying connect to PC. Click that button and now we have access to the device from your PC.
Step 3 - Download the root zip file below if you haven't already.
Step 4 - With your phone still on, locate the folder in which your device stores everything and copy the root.zip file into your phones sd directory (if possible), or main directory.
Step 5 - Now power off your phone.
Step 6 - Hold down Power, Volume up and Home to enter recovery mode.
Step 7 - Now you should be presented with some nasty looking words, don't worry this is totally normal! Use your Volume down button to scroll down to "apply update from sdcard" and then press the Home button to confirm.
Step 8 - Again, using your volume controls scroll down to your root.zip file and press the home button
Step 9 - All being well you should get a message saying "Phone Rooted!"
Step 10 - Using your home button press "Reboot system now".
Step 11 - Check if root is installed successfully using an app from the google play store called "Root Checker". All being well you should have a rooted device! If your phone gets stuck on the samsung logo during the initial reboot wait 5-10 mins and if it is still stuck refer to "Unbricking a device".
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Adding Custom recovery to your device
So now your device is rooted your gonna want some kind of custom recovery to replace the old one, for this I am going to use Clockwork Recovery (aka CWM)
Step 1 - Turn your phone on if it's currently off
Step 2 - Connect your device to your PC as mentioned before.
Step 3 - Download "ClockWorkRec_S5830C-i-M.zip" (below)
Step 4 - Copy this file over to your device.
Step 5 - Turn off your device.
Step 6 - Boot into recovery mode using the button combination Power, Volume Up and Home.
Step 7 - Again, using your volume keys scroll down to "install zip from sdcard"
Step 8 - Find ClockWorkRec.zip and click it using the home button.
Step 9 - It should now start the short process of installing CWM.
Step 10 - All being well you should be presented with a yellow screen with ClockworkMod Recovery written at the top.
Side note - On my device every time I boot into recovery I have to reinstall CWM, this isn't a major issue but if it's the same for everyone, one that may need looking into!
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Unbricking a device
So after installing CWM I find this is the most common time things go wrong. Provided you followed the instructions nothing should have gone wrong however there's always a chance. Alternatively you could have done everything right and just a ROM or something happened to screw up your device. Don't panic! All you will need to fix this is a computer and a usb cable
Step 1 - Install the following files from below - "S5830IDXMB1_OLBLD1.rar" "16_Shrewsbury.rar" and "Odin3-v1.85.zip"
Step 2 - Extract all these into somewhere sensible in your PC.
Step 3 (Pre checks) - Power your phone into download mode using Power, Volume Up and Volume down. Then when the screen comes on, press Volume Up again.
Step 3 - Open the folder now hosting odin and double click on the .exe file.
FOLLOW THE NEXT FEW STEPS VERY CAREFULLY
Step 4 - Boot up odin. Provided everything is working the ID:COM box should go some kind of color (other than white) and have something like "0:[COM4]" being displayed.
Step 5 - This is the important bit. Click "Bootloader". Now find the folder you extracted to before and click on "S5830IDXMB1_OLBLD1/ BOOT_S5830iDXMB1_REV00.tar.md5"
Step 6 - Now click on "PDA" and select "S5830IDXMB1_OLBLD1/ PDA_S5830iDXMB1_REV00.tar.md5"
Step 7 - Now select "Phone" and choose "S5830IDXMB1_OLBLD1/ MODEM_S5830iDXMB1_REV00.tar.md5"
Step 8 - Finally choose "CSC" and pick "S5830IDXMB1_OLBLD1/ GT-S5830i-MULTI-CSC-OLBLD1.tar.md5"
Step 9 - Make sure that your odin now looks like this -
Click here for image
Step 10 - All being the same, click "Start"
Step 11 - Hold your breath and with some luck it should finally say "PASS!"
Step 12 - Reboot your phone and it will be good as new.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Adding Custom ROM's to your device
In this tutorial I am going to be using to of my favourite (and working!) custom ROM's. These are simplicity and a lollipop firmware update.
Step 1 - Turn on your phone again
Step 2 - Download your chosen ROM of choose below.
Step 3 - Transfer the zip file to your device.
Step 4 - Power down your device.
Step 5 - Enter recovery mode using the keys Power, Volume Up and Home
Step 6 (Optional) - Re-install CWM if not already installed
Step 7 - Make a nandroid backup by scrolling to "backup and restore" and clicking backup.
Step 8 - Go back to the main homepage and scroll down to "wipe cache partition".
Step 9 - Go back to the main homepage again and this time go to "advanced" and then "Wipe Dalvik Cache"
Step 10 - Finally go back to the homepage and click on "install zip from sdcard"
Step 11 - Choose your chosen zip of the ROM
Step 12 - Wait until finished then repeat steps 8 and 9 before rebooting the system.
Step 13 - All being well you should now have a Custom ROM installed on your device. If your device gets stuck in a bootloop this could be because of a faulty ROM and you should go back to "Unbricking a device".
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Downloads - Dropbox
Google Download
Thanks for reading! If any of that made any sense or helped you out with your device, show me some thanks in the comments or something as this took me quite a while to write!
Root download
There doesn't seem to be a download for the root in your provided Dropbox link.
I just bricked und restored my phone, I don't want to download files from different guides again.
Deimos94 said:
There doesn't seem to be a download for the root in your provided Dropbox link.
I just bricked und restored my phone, I don't want to download files from different guides again.
Click to expand...
Click to collapse
It appears Dropbox is playing up at the moment, I'll add a google link as well that should be working in a minute
Google Download
Finally my phone is working again. Great thread, awesome
I have just unbricked my phone
Thank you
I know this may not be a popular thread anymore, however, Google says there's a virus detected and won't allow dowbload of the ROOT-S5830C-i-M.zip file.
Google detects 'virus' patterns in many root applications, guess they are very similar to real virus files.
If you download all files together (or the folder) download is possible.
Or make a copy to your own gdrive to download this file.
Sigh, I hope I'm not spamming the forums, but they seem to be inactive and I can't seem to find a solution...
My phone's usb port is aparently damaged. When connected to my computer, it will only charge, with no response whatsoever from the computer.
This by itself represent no problem, as I can just use the SD card for file transfers, but now I need Odin, but without USB it woun't work (evidently).
There is some app like FlashFire that works with S5830i?
Hey, what is the current state of your phone (rooted, unrooted, bricked, etc.) and also what is it your aiming to achieve?

Newbie-friendly: TWRP and Root for Tab A tablets (2016, 10.1")

Tested SM-P580, SM-T580, SM-P585
This post is designed to gather information found across this forum to give a step-by-step guide for obtaining a custom recovery TWRP and Root to 2016 Samsung Tab A tablets.
Credit to the software authors, original post creators (especially jcadduono and ashxy) and all those who contributed to the discussions to clarify all the issues.
Here is my set of instructions to gain TWRP and Root on the Tab A (WIFI) SM-P580, SM-T580, and SM-P585.
WARNING Flashing a custom recovery to your device will trip the Knox warranty bit on your phone. Check with your mobile provider to see if they will still cover warranty on Knox bit triggered devices. If you understand this risk, continue on. You generally don't have to worry, as it's incredibly hard to brick a Samsung device, and physical damage warranties should be exempt from Knox triggering. [credit: jcadduono]
If you prefer Magisk to chainfire supersu, please see the modification described in https://forum.xda-developers.com/showpost.php?p=73719123&postcount=82
1. DOWNLOAD
a. ODIN https://build.nethunter.com/samsung-tools/Odin_3.12.3.zip
b. Samsung USB Drivers http://developer.samsung.com/technical-doc/view.do?v=T000000117
c. Original firmware
For SM-P580 Search for SM-P580 at http://updato.com/firmware-archive-select-model
For SM-T580, https://www.sammobile.com/firmwares/database/SM-T580/XAR/. (Thanks post #2)
For SM-P585, Search for SM-P585 at http://updato.com/firmware-archive-select-model​ d. TWRP
For SM-P580 https://dl.twrp.me/gtanotexlwifi, click twrp-3.0.2-0-gtanotexlwifi.img.tar, then follow directions to download
For SM-P585 https://dl.twrp.me/gtanotexllte/
For SM-T580 https://dl.twrp.me/gtaxlwifi/​ e. SuperSU (get latest version) https://download.chainfire.eu/supersu
f. ashxy's Dm-verity and force encryption disabler https://www.androidfilehost.com/?fid=24591000424951049​
2. PREPERATION
a. While running your tablet in Android, go to Settings -> About device. Tap 7 times on Build number to enable Developer options. [credit: jcadduono]
b. Now go to Settings -> Developer options. (above About device). You need to enable OEM unlock, otherwise you might end up with boot problems or be unable to flash later on. Do not ever turn off Developer Options or OEM unlock. Doing so will cause your device to refuse to boot and require a full factory restore. [credit: jcadduono]
c. Turn off your tablet.
d. Get a micro SD card
e. Copy SuperSU and dm-verity script onto microSD card
f. Install microSD card into Tablet
g. Install Samsung USB Drivers on Windows machine
h. Unzip ODIN (1a) and Original firmware (1c) on your Windows computer
i. While tablet is off, plug in usb cable between tablet and Windows computer​
3. REFLASH ORIGINAL FIRMWARE (Optional)
a. Enter Download mode, press and hold Home, Down Vol, and Power until you see the Warning screen of the downloader mode. Press Vol up to continue
b. Open up ODIN, confirm that ODIN can see your tablet, click AP button on Odin. In popup, select AP_[blah blah].tar.md5 (whatever AP file you downloaded in step 1c). After selecting the file, Odin will check the signature of the file you downloaded and appear to freeze up. Let it finish, and it will report: <OSM> Checking MD5 finished Sucessfully.. <OSM> Leave CS..
c. Then click Start. The screen of the tablet should show a progress bar as your tablet is being restored to its original firmware.
d. At this point, you need to let the tablet reboot into Android. If ODIN doesn't do this itself, reboot into to download mode (home, vol down, power), then select Vol down to reboot. After a while, you will be greeted with the Welcome screen where you can select your language.
e. Power off the tablet using the power button​
4. FLASH TWRP
a. Enter Download mode (press and hold Home, Down Vol, and Power) until you see the Warning screen of the downloader mode. Press Vol up to continue
b. (Re) Open up ODIN, confirm that ODIN can see your tablet,
c. Important We do not want the tablet to automatically reboot after installing TWRP. If the tablet does reboot into Android before completing the steps in Section 4 and 5, there is a good chance the stock recovery will overwrite TWRP. So click the Options tab on the left and deselect Auto Reboot. After doing that, click the Log tab so you can monitor progress
d. Click AP button on Odin. In popup, select twrp-[blah blah].img.tar (downloaded in step 1d), click Start. You will see the progress bar on your tablet. Watch the log window of Odin and wait for the message "<OSM> All threads completed. (succeed 1 / failed 0)"​
5. ENTER TWRP AND CONFIGURE
a. At this point, from the last section, you should still be in Download mode on the tablet. It is important that, after flashing TWRP, to go straight to TWRP without letting the Android System reboot. To do this, Hold [Volume Down] + [Home] + [Power] to get out of Download mode and immediately swap to [Volume Up] (while still holding [Home] + [Power]) when the screen blanks. [credit: jcadduono]
b. In a few secs, you will see the TWRP first screen, you can let go of all the buttons.
c. If you don't see then TWRP boot splash try again from the start of 4. FLASH TWRP.
d. Swipe to Allow Modifications. (For some reason, TWRP has some issues with the touchscreen for some tablets. If you experience this, expect to make several swipes or taps until it properly registers. You have succeeded when you see the classic 8-button main screen of TWRP. Indeed, throughout your use of TWRP, expect that touches will often not properly register, and just keep trying until it does.)
e. Click Wipe then Format Data (do not just Wipe data), type yes and let it complete. (It is also a good practice, though not always necessary, to Wipe the Cache and Dalvik Cache whenever you make changes to the system. They are always rebuilt as needed. Now is as good a time as any.) Then click back until you get to the 8-button main screen of TWRP.
f. Click the Mount button. Select Storage button, and confirm that the Internal Storage shows non-zero MB. If it is, you know that the /data partition is now mounted properly. However, since we put the needed scripts on the microSD, go ahead and select Micro SD Card as our storage. Click Back until you are back at the 8-button main screen.
g. Click the Install button, install the SuperSU zip file you downloaded in step 1e and copied to your microSD. It will finish and say Updating partition details… …done. Click Back to get back to the install screen (do not reboot yet).
h. Install the no-verity zip file from step 1f. When it completes, you can press the Reboot System button and let your tablet reboot into Android. You can also disconnect the usb cable connecting the tablet from the computer. The tablet may reboot itself once or twice, let it do its thing, and eventually you will see the Samsung Welcome! Screen, where you can select your language.​
6. CONFIRM DATA ACCESS IN TWRP
a. Before going into configuring your tablet, go ahead and turn off the tablet and re-enter TWRP (Home, Vol up, Power).
b. *Important* Since you will not be changing your system partition, this time, when you get to the "Keep System Read only?" screen, click the Keep Read Only button.
c. In the 8-button screen of TWRP, click Mount, click Select Storage. Confirm that the Internal Storage is greater than zero MB. If it is, congratulations, you have TWRP installed with /data mounted. At this point, you might want do a backup. If you want your TWRP backup to be on your microSD card, select it now while still in the Select Storage dialog.
d. Do a backup.
e. Reboot to System​
7. FUTURE USE OF TWRP
a. Unless you are planning to make changes to the System, continue to choose the Read Only System when you return to TWRP. If you need to make changes to System, e.g. flash a new ROM, go back to Step 5 and install the ROM just before Step 5g​
8. Click the Thanks button if my guide helped you.
for T-580 firmware: https://www.sammobile.com/firmwares/database/SM-T580/XAR/
I am on the T580, I can verify that your instructions and links provided are correct.
Great guide! Very organized and straight-forward, thank you for your contribution to the community - I'm sure a lot of people will find this very helpful!
I happened to meet boot-loop.:crying:
openapi said:
I happened to meet boot-loop.:crying:
Click to expand...
Click to collapse
did u fix ur bootloop and eventually get this working?
Thank you! Thank you! Thank you!I have been trying for 2 hours to get into TWRP.. Step 5a made all the difference in the world!!
Great write up
Thank You!!!
having trouble with the SM-T580/XAR link
any alternative links ? and what is the difference between the to files under that link ?
I've read on other threads that Google FRP (factory reset protection) may cause boot loops when rooting if you've not disabled it, but I can't find a definitive answers on exactly how you disable on the Tab A.
Anyone have the answer?
---------- Post added at 01:10 PM ---------- Previous post was at 01:07 PM ----------
HarryKlanderman said:
having trouble with the SM-T580/XAR link
any alternative links ? and what is the difference between the to files under that link ?
Click to expand...
Click to collapse
Make sure you disable any ad blockers in your browser and you sold get to the free (slow) download. Different files are for various regions providing language and keyboard locale settings.
Fantastic write up. Worked flawlessly on a brand new SM-P580.
Only thing to add: After finishing all the steps and the tablet is booted, at first launch of SuperSU, it will ask you to disable Knox. If you say OK, the process will likely will hang. So press OK and let SuperSU try. If it hangs for more than 30 seconds, reboot the tab, go back into SuperSU, select OK when asked again, and it should successfully disable Knox.
Also, I did not re-flash the original firmware (since this was a new tablet).
Any work on SM-T587P being done? Us Sprint users are chomping at the bit, lol.....
Does anyone know if or when Lineage OS (official or unofficial) may come to the T580?
Negative On Sprint
currentuserjade said:
Any work on SM-T587P being done? Us Sprint users are chomping at the bit, lol.....
Click to expand...
Click to collapse
I am unable to get this working on the T587P, Sprint Varient. I can flash the LTE version of it (For the T580) but it will not successfully boot to recovery, instead getting stuck on "Recovery Booting" and then showing an odd modified download menu (oddly, I can still flash things through this broken recovery).
Any workaround to root the device without modifying the Knox counter ? It's very hard to choose between voiding the warranty or standing with the ads!
the gladiator said:
Any workaround to root the device without modifying the Knox counter ? It's very hard to choose between voiding the warranty or standing with the ads!
Click to expand...
Click to collapse
In short, no. Any custom recovery will trip the Knox counter, and as this is required to obtain root, you can't get root without tripping the counter.
DingoBat said:
In short, no. Any custom recovery will trip the Knox counter, and as this is required to obtain root, you can't get root without tripping the counter.
Click to expand...
Click to collapse
I agree with Dingo. As mentioned in the Warning on the first post, because of Odin, it is pretty hard to brick these devices; you can always flash a stock image (assuming you have one for your exact make and model) to bring your device back from the grave. If you think it is likely that you will seek support from your phone company, ask them if they can provide support to phones with knox tripped. If instead, you seek your support from XDA, then a tripped Knox is kinda the ritual of initiation. Welcome to the club!
I can get to point 5f.
f. Click the Mount button. Select Storage button, and confirm that the Internal Storage shows non-zero MB. If it is, you know that the /data partition is now mounted properly. However, since we put the needed scripts on the microSD, go ahead and select Micro SD Card as our storage. Click Back until you are back at the 8-button main screen.
Click to expand...
Click to collapse
However, I can't mount the SD card. Clicking on it doesn't do anything. Any suggestions? I checked if the card could be read before installing TWRP and the SU-file was there.
bartveld said:
I can get to point 5f.
However, I can't mount the SD card. Clicking on it doesn't do anything. Any suggestions? I checked if the card could be read before installing TWRP and the SU-file was there.
Click to expand...
Click to collapse
Are you able to boot into Android, and if so, are you able to see the contents of the SD card using the file browser?
klaberte said:
Are you able to boot into Android, and if so, are you able to see the contents of the SD card using the file browser?
Click to expand...
Click to collapse
Yes, it's all accessible through Android. But of course, once I start up Android after step 5f I lose TWRP and have to start over again.
Yippee! All I had to do was format the sd card and now everything works fine! Thanks for the help and a great guide.

[NO ROOT] How to Install TWRP & custom ROM without root on Galaxy S5 G900

Hello!
This thread is to teach you how to flash TWRP, along with a custom ROM on your T-Mobile Galaxy S5 WITHOUT root!
DISCLAIMER:
Read the whole thread at least one before trying!
Anything you do to your device is your own decision. I am not forcing you to do this. If you screw something up during the process, that isn't my fault.
Custom ROMs can sometimes be unstable. PLEASE make sure you are downloading the correct file for your device model.
Tampering with your device's firmware, including custom recoveries, ROMs, or rooting your device WILL VOID THE WARRANTY.
Flashing a custom ROM WILL DELETE YOUR DATA. Consider backing up your apps, photos, videos, files, etc. online or to an external storage.
Before we start, we need to download a few things.
*Do not download anything with Safari! Safari unzips zip files, but we want them to stay zipped. DO NOT RE-ZIP THE FILE YOURSELF!!! It will not be zipped in the correct format!*
1. Odin v3.12.3: (Odin)
2. The TWRP recovery tar file: (TWRP)
3. Your custom ROM zip file. (There are many ROMs out there, but Lineage is a pretty good one: (Lineage OS klte) Choose the most recent release.) IMPORTANT: Make sure you download this to your phone's internal/external storage to an easily accessible location.
4. A GApps package. This is required if you want to be able to download apps from the Google Play Store. Go to the Open GApps page and choose ARM, and Android 7.1. You shouldn't need anything more that micro. IMPORTANT: This file also goes onto your phone's internal/external storage.
5. Your device drivers. Most of the time, Windows will automatically install the required drivers once you put in the device, but in the case this doesn't happen, try googling your devices model number and "windows drivers." Follow the process to install.
Alright, with that out of the way, let's install TWRP.
1. With your phone unplugged, boot into "Download mode." Power off your device. Then hold down the Power, Home, and Vol- buttons until you see a warning pop up.
2. Accept the warning by clicking Vol+.
3. Run the Odin exe file we downloaded earlier. (You may have to unzip the file first.)
4. Go to Options and disable auto reboot. Go back to the Log tab.
5. Plug your device into the computer. You should see Odin say "ADDED!" on the side.
6. Click "AP" and locate the TWRP recovery tar file we downloaded earlier.
7. Once you select the file, click "Start."
8. When finished, it should say "PASS" at the top. This is where you unplug your phone and remove the battery.
9. Wait 10 seconds before putting the battery back in.
10. Try booting into recovery by holding down the Power, Home, and Vol+ buttons. If it reads "Team Win Recovery Project" at the top, then congrats! You've successfully flashed TWRP! If it says at the top "stock recovery," try the whole process again from step #1.
Now we can flash your custom ROM!
1. This is where we wipe your phone's data. Click on "Wipe." Then Swipe to factory reset.
2. After you have wiped your device, click on "Install"
3. Now navigate to the ROM zip file and select it.
4. Click on "Add more zips"
5. Navigate to the GApps zip file and select it.
6. Swipe to install. This can take some time, so grab a cup of coffee and maybe check out my Youtube channel?
7. The moment of truth: click on Reboot, then System. The first boot can take a minute. If it doesn't show up after 5 minutes, remove the battery and try wiping and flashing again.
CONGRATULATIONS!! You've installed a custom ROM! Enjoy! :laugh:
EXTRA:
If you want to enable root on your Lineage OS device, you must flash an additional file first.
1. Go to this link and download the first su (arm) file and save it to an easily accessible location.
2. Boot into recovery mode once again by powering off your device, then pressing and holding Power, Home, and Vol+ until TWRP appears.
3. Click on install.
4. Select the su zip file we downloaded earlier.
5. Swipe to install.
6. Once it is installed, boot back into system.
7. Navigate to developer options in settings.
8. Scroll down to"Root Access" and change it to either Apps, or Apps and ADB.
Awesome, now you have root!
Thanks for the help:
[url]https://forum.xda-developers.com/tmobile-galaxy-s5/general/root-how-to-root-sm-g900t-firmware-t3358190[/URL]
I did not work for me, when I go recovery mode it shows:
Could not do normal boot
Odin mode.
I'm definitely not an pro at this, so can anyone help me please
Worked perfectly on the latest stock OTA!
Doesn't work for me. When I reboot in recovery ode, instead of TWRP loading I get a generic Android Recovery screen with a few options - reboot system now, reboot to bootloaded, apply update from ADB apply update from SD card, wipe data/factory reset, wipe cache partition, mount /system, view recovery logs, power off. Now sure how to proceed....
bradmccoy said:
Doesn't work for me. When I reboot in recovery ode, instead of TWRP loading I get a generic Android Recovery screen with a few options - reboot system now, reboot to bootloaded, apply update from ADB apply update from SD card, wipe data/factory reset, wipe cache partition, mount /system, view recovery logs, power off. Now sure how to proceed....
Click to expand...
Click to collapse
We’re you sure to unplug and remove the battery? This is essential to ensure the phone powers down. If you just power down the phone will reset the recovery to avoid TWRP. You have to remove any power source to force a shutdown before it can reset. Please feel free to respond and I’ll be happy to help to the best of my abilities!
Thank you so much for this tutorial. It worked perfectly in my SM-G900MD, and it's easier than the method suggested by the Lineage OS page itself. :good:
Thanks, these steps worked just fine on an SM-G900T, and were very easy to follow.
Thank you! This worked beautifully.
Only thing that didn't work the first time is, is that it told me to download the Gapps Android 8.1 file instead of 7.1.
I hear people talking of unlocking the bootloader in order to install a custom ROM. Why haven't you mentioned that in this article?
Had the "FAIL! (Auth)" problem with flashing TWRP with Odin.
It seems that after I have disabled Reactivation Lock (the standard feature that requires activation of the phone with Samsung account) it helped to succeed flashing TWRP.
Hi All,
Thanks for a great and useful guide. Whilst it says this can be achieved without root, which is fantastic... It doesn't mention anything about tripping Knox or not?? I assume this will trip the Knox counter, won't it ?? Or do this method bypass that ??
Thanks, Lister
adult supervision needed for Samsung S5 Lineage 17 install
Hi, I'm good with adb and fastboot, running Linux with the commandline Odin4. I can get the phone to the warning screen about the danger of installing other Roms. How do I proceed? What are the commandline options to use to flash the LineageOS 17 with odin4 ? The Odin4 help file isn't very helpful.
Could not do normal boot
I am not an expert at this and I am having the same issue as The Verg
I have a message at the top "Could not do normal boot" same as him
I've been at this for 2 days now I'm just about at my ends wit
My phone is a Samsung S5 Active model SM-G870W
and I can easily rooted it or reinstall the stock file and put it back to original
and I've done that hump time but this TWRP file I just can't install it
to update this phone to a more recent software and basically install
an S8 or S9 software in it (mind you version 9 Pie would be OK0
and make this old phone a real beast.
I read somewhere about the OEM button which does not exist on this phone
whatever explanation they are giving to unlock it and make the button appear
all of a sudden is bs in my book.
Now please help me with this phone and the other guy by the same token
Is there another way I can get into this phone and wipe it clean and
boot it with thru the abd file or access the sd card or the internal
storage of the phone.
How can I add a picture of my phone to this thread

Categories

Resources