TWRP img vs apk file? - Galaxy Tab S2 Android Development

Hi all... been following this guide on XDA on how to get TWRP on my Tab S2 t813.
How to install TWRP recovery on Android smartphones
Installing TWRP on an Android device is the first step towards custom development.
www.xda-developers.com
My samsung is now in the 'downloading, do not turn off target" phase...
Now i'm trying to install TWRP via ADB, but its asking for the .img file. When i go to the TWRP site (from the guide), all it give me is .apks as downloads.
Don't want to move ahead unless I know i'm not going to brick this thing.
Any help/advice greatly appreciated.

Check again the TWRP page that you visited. Right below the "App Install Method (Requires Root)" section, to which I assume you are referring, there is another section, titled "Download Links". Follow one of the "Primary (Americas)" or "Primary (Europe)" links, to get to the img files repository.
Assuming you want to install TWRP, because you want to install a custom ROM, check out the first post in that ROM's thread, to see if you need a custom build of TWRP, which they provide, or a specific official version.

Related

[Q] Updating to Newer Version of Cwm on Tmobile T879

Hi Guys,
I have a Samsung Note for Tmobile, the t879 model. I had it rooted and the person installed cwm version 5.5.0.4. I would like to update it to the latest version for my device which seems to be 6.0.4.3 (according to cwm website).
The reason i want to update is because I want to, at some point, install custom jelly bean/kitkat/other rom. I've had some issues attempting to install custom jelly bean rom already.
I tried Rom Manager and my device is not supported, plus i've read several threads that suggest not using rom manager anyway.
I think from what I think i've gathered so far, i have to flash a custom cwm kernel?
Is that correct?
Is there a tutorial somewhere that caters to my device.
Where might I find this kernel, if that's what i need to do.
Can my existing cwm install newer cwm (doubt it but it's worth a shot asking)
Any advice, comments, or general counsel you can offer is appreciated, i'm going on 3 days of searching
You guys are great, I've enjoyed reading your threads and look forward to any help you can offer.
The updated cwm is on the cwm web site, but it is in img format, which means you have to use adb on the command line to overwite your current recovery with the new one.
I took a flashable zip from another phone and replaced the img file inside with the tmobile one and that is what I use. Here it is if you want to use it: https://drive.google.com/file/d/0Bx_IbXnhPXBJRlFxR0VlSXVhRTQ/edit?usp=sharing
Make sure you know and pay attention to what you are doing, screwing up the recovery will be a bad day.
Jellybean roms use TWRP recovery. http://teamw.in/project/twrp2/113
Some have had better luck with 2.5.0.0, but the latest version should work also.
You need to have a copy of twrp and a copy of cwm on your sdcard so that you can go back and forth between jellybean and kitkat, if that is what you want.
Do your system wipe/factory reset in the recovery that you will use to flash. So going to Kitkat, first reboot into recovery, do a full backup of everything, then flash the cwm zip, then reboot into cwm recovery, then do factory reset, then flash your rom zip, then flash THE CORRECT GAPPS, then you can reboot.
Going back, same thing. Recovery, backup, flash twrp, reboot, recover your backup.
Gapps are important, there are 2 different jellybean gapps one for 4.3 and one for 4.4 Kitkat, be sure you flash the right ones or, you will just get an error, or you will get errors when starting up, either way it won't work. http://wiki.rootzwiki.com/Google_Apps
This thread is where you get the 4.4 Kitkat gapps, full package is fine, just be sure it is the 4.4 one. http://forum.xda-developers.com/showthread.php?t=2397942
Read the ATT forum also as the device is the same, but don't flash ATT roms unless you are using the patch. http://forum.xda-developers.com/showthread.php?t=2573315
Lot to read and understand and lots of files to get on your sdcard before you proceed. Good luck.
I can tell your post will be a super helpful resource, thank you for that.
I took a flashable zip from another phone and replaced the img file inside with the tmobile one and that is what I use. Here it is if you want to use it
are these my options, basically I can either override cwm with an adb command or flash the rom you shared above? I'm just a little unclear on that?
Click to expand...
Click to collapse
Click to expand...
Click to collapse
dje0624 said:
I can tell your post will be a super helpful resource, thank you for that.
I took a flashable zip from another phone and replaced the img file inside with the tmobile one and that is what I use. Here it is if you want to use it
Click to expand...
Click to collapse
are these my options, basically I can either override cwm with an adb command or flash the rom you shared above? I'm just a little unclear on that?
Click to expand...
Click to collapse
Yes. Here is the clockworkmod download page. Scroll down for the tmobile note: http://www.clockworkmod.com/rommanager
Look in the "recovery" column, click on the one for tmobile and you get a recovery.img file.
To get the adb instructions to install it, you have to go to the TWRP page for this device: http://teamw.in/project/twrp2/113
"You can use adb or terminal emulator to install the following image:
adb push openrecovery-twrp-2.3.1.1-sgh-879.img /sdcard
adb shell dd if=/sdcard/openrecovery-twrp-2.5.x.x of=/dev/block/mmcblk0p22"​
So you can do the same thing with the recovery.img from the clockworkmod page.
Now download the zip I gave you, verify that the recovery.img inside is the same as the one on the clockworkmod page. Do an md5 on it to check, pretty sure its the same version. Check the updater script, it is the same command as above. Also, I believe the original post in the "patch" thread that I linked you to has a flashable zip file for clockworkmod as well.
Either of the zips you just flash in your current recovery. Much easier and less room for making a really unfortunate mistake.
srpanadero said:
"You can use adb or terminal emulator to install the following image:
adb push openrecovery-twrp-2.3.1.1-sgh-879.img /sdcard
adb shell dd if=/sdcard/openrecovery-twrp-2.5.x.x of=/dev/block/mmcblk0p22"​
So you can do the same thing with the recovery.img from the clockworkmod page.
Now download the zip I gave you, verify that the recovery.img inside is the same as the one on the clockworkmod page. Do an md5 on it to check, pretty sure its the same version. Check the updater script, it is the same command as above. Also, I believe the original post in the "patch" thread that I linked you to has a flashable zip file for clockworkmod as well.
Either of the zips you just flash in your current recovery. Much easier and less room for making a really unfortunate mistake.
Click to expand...
Click to collapse
I think the adb method is a bit to advanced for me at the moment. I'd be happy if I could just get Jelly Bean going, I'm on ics at the moment.
I will put updating cwm on hold for now. Can you install twrp with odin or goomanager when cwm is installed? Are there any special considerations?
Thanks man
Of course the adb stuff is not the best way to go about it. Just use the flashable zip. Or install goo manager and allow it to install it. Check the twrp link that I gave to you. Instructions are there. I can upload a twrp zip a little later.
Sent from my ASUS Transformer Pad TF300T using Tapatalk
srpanadero said:
Of course the adb stuff is not the best way to go about it. Just use the flashable zip. Or install goo manager and allow it to install it. Check the twrp link that I gave to you. Instructions are there. I can upload a twrp zip a little later.
Sent from my ASUS Transformer Pad TF300T using Tapatalk
Click to expand...
Click to collapse
I ended up just flashing twrp with cwm and it worked it flawlessly. Now I just have to find my perfect rom
Thanks again for your help

magisk installation help

I have already researched on the internet.
I have op3t locked bootloader and non root and want to root using magisk without wipe or losing any data.
I am trying to install magisk using stock recovery and i am getting a message "installation failed". Steps followed:
1) copied magisk zip on root folder.
2) booted into stock recovery
3) clicked on "install from internal storage"
4) browsed to the file
5) clicked on "yes". Then i am getting above message.
Questions:
1) do i need to unlock bootloader first. Because magisk thread doesn't mentioned such a thing. Even youtube videos also did not mention to unlock bootloader first.
2) do i need to install twrp after bootloader unlock to flash magisk? I know for twrp installation, one need to unlock bootloader.
3) in magisk manager, its not detecting boot image and detect button is disabled as well. Any idea, why?
I am new to op3t. Previously, i had Xperia z3. So appreciate if anyone can help.
Moderators, please let me know if this is a duplicate thread or have i created it in wrong forum. If its a duplicate thread then point me to the original one. Hopefully that will answer my questions.
Thank you.
abhaykelkar said:
I have already researched on the internet.
I have op3t locked bootloader and non root and want to root using magisk without wipe or losing any data.
I am trying to install magisk using stock recovery and i am getting a message "installation failed". Steps followed:
1) copied magisk zip on root folder.
2) booted into stock recovery
3) clicked on "install from internal storage"
4) browsed to the file
5) clicked on "yes". Then i am getting above message.
Questions:
1) do i need to unlock bootloader first. Because magisk thread doesn't mentioned such a thing. Even youtube videos also did not mention to unlock bootloader first.
2) do i need to install twrp after bootloader unlock to flash magisk? I know for twrp installation, one need to unlock bootloader.
3) in magisk manager, its not detecting boot image and detect button is disabled as well. Any idea, why?
I am new to op3t. Previously, i had Xperia z3. So appreciate if anyone can help.
Moderators, please let me know if this is a duplicate thread or have i created it in wrong forum. If its a duplicate thread then point me to the original one. Hopefully that will answer my questions.
Thank you.
Click to expand...
Click to collapse
You need to unlock the bootloader and twrp to flash Magisk
Stick recovery is only good to flash OTA and Full OOS Roms.
Funk Wizard said:
You need to unlock the bootloader and twrp to flash Magisk
Stick recovery is only good to flash OTA and Full OOS Roms.
Click to expand...
Click to collapse
Okay which means i will have to take long route. Thanks.

z3 compact carbon rom (nougat) installation guide

Is there a good/complete guide on how to install carbon rom nougat on our device? cause i always end up on bootloop after install.
Much more if without the use of Computer, We know not all here have access to desktop/laptop.
Thanks in advance.
(if someone make a new thread about a complete guide, then i will delete this in the future)
I guess your phone is not rooted yet and you have locked bootloader. Follow this great guide up till step 7. Download CarbonROM from its thread and opengapps for 7.1. Probably worth adding Magisk as well.
For flashing TWRP recovery (step 8 of the linked guide) use command "fastboot flash FOTAKernel <TWRP file name>". Unplug and boot into recovery by holding POWER + VOLUME DOWN. Use the rest of the guide as a reference. Also, for more instructions check individual threads of custom roms (CarbonROM, LineageOS, OmniROM, usually in the first or second post are instructions that should cover your last step.
If you have any more questions feel free to ask.

Can't unroot with SuperSU

Hi guys,
I am new to this forum, I hope you will bear with my questions.
I would like to install a clean version, of the official build to my One plus.
I was hoping to install the latest rootable version. It is currently rooted, has Team Win recovery on it.
If I understood correctly, I need to first unroot my device, so I can go on with process.
I tried to use SuperSU, but I encountered with the "supersu binary occupied" error. I followed the instructions on a youtube video (that I can't post here, as a new user).
but no matter what I do, after I press continue to approve the "the su binary needs to be updated", and then normal when I am promoted about: "if you have a custom recovery like twrp or CWM ..." the installation process is stuck. it says:
"installing, please wait , If you see this message for more than five minutes please restart and try again.".
I tried to restart and repeating the process few times.
Any ideas how to proceed ?
beyond21 said:
Hi guys,
I am new to this forum, I hope you will bear with my questions.
I would like to install a clean version, of the official build to my One plus.
I was hoping to install the latest rootable version. It is currently rooted, has Team Win recovery on it.
If I understood correctly, I need to first unroot my device, so I can go on with process.
I tried to use SuperSU, but I encountered with the "supersu binary occupied" error. I followed the instructions on a youtube video (that I can't post here, as a new user).
but no matter what I do, after I press continue to approve the "the su binary needs to be updated", and then normal when I am promoted about: "if you have a custom recovery like twrp or CWM ..." the installation process is stuck. it says:
"installing, please wait , If you see this message for more than five minutes please restart and try again.".
I tried to restart and repeating the process few times.
Any ideas how to proceed ?
Click to expand...
Click to collapse
You need to download ... https://download.chainfire.eu/921/SuperSU/UPDATE-SuperSU-v2.65-20151226141550.zip?retrieve_file=1
and flash the zip file in TWRP recovery mode.
You will also need to flash the correct "boot.img" for your specific phone model and current os/rom.
eg. OnePlus 6 , Android 8 ..Oreo..
1. Boot to recovery. TWRP will open.
2. Select " Install" ...navigate to where you have put the UPDATE-unSU-signed.zip ... select and install it.
3. Once the zip is flashed, DO NOT REBOOT.
Return to Install and select the boot.img.....flash/install it.
4. Now Wipe Dalvik and Cache and then select Reboot System.
Once rebooted uninstall the SuperSu app if it is still in your app draw.
Btw.. If the SU app can't load the binary it usually means you are not rooted, your boot.img has not been modified.
It might be advisable to backup your Boot.img, using TWRP recovery, of course, before flashing the SU Update zip.
beyond21 said:
Hi guys,
I am new to this forum, I hope you will bear with my questions.
I would like to install a clean version, of the official build to my One plus.
I was hoping to install the latest rootable version. It is currently rooted, has Team Win recovery on it.
If I understood correctly, I need to first unroot my device, so I can go on with process.
I tried to use SuperSU, but I encountered with the "supersu binary occupied" error. I followed the instructions on a youtube video (that I can't post here, as a new user).
but no matter what I do, after I press continue to approve the "the su binary needs to be updated", and then normal when I am promoted about: "if you have a custom recovery like twrp or CWM ..." the installation process is stuck. it says:
"installing, please wait , If you see this message for more than five minutes please restart and try again.".
I tried to restart and repeating the process few times.
Any ideas how to proceed ?
Click to expand...
Click to collapse
I m having the same issue, did it work? mine is samsung galaxy note 10 plus. Pls let me know if you got the solution ive been trying for so long and no method seems to work

Magisk. How to install on Nuu Tab8?

Hey, new here and not necessarily new to rooting but haven't done so in some years...but...was just wondering if anyone can help me with a problem? Got a cheap Nuu Tab8 tablet yesterday and I'm trying to install it on my device but I'm not able to find the install option when I'm in recovery mode??
I download the manager for magisk, the zip filez I have the twrp app....but I can't figure out what to do?? Can anyone please help?I attached a pic to show my only options when in recovery.
Thanks!
That's the stock Android recovery. If you want to use a custom recovery you'll need to first install TWRP, if it's available for your device. Otherwise you'll need to get the boot image and patch that with the Magisk app before flashing it to your device.
https://topjohnwu.github.io/Magisk/install.html
Didgeridoohan said:
That's the stock Android recovery. If you want to use a custom recovery you'll need to first install TWRP, if it's available for your device. Otherwise you'll need to get the boot image and patch that with the Magisk app before flashing it to your device.
https://topjohnwu.github.io/Magisk/install.html
Click to expand...
Click to collapse
I have the twrp app and it's still not showing up...I'm not sure what to do..?
Not the TWRP app, the TWRP recovery image. For example, on my OnePlus 5T I'd download the image from the TWRP website and then flash with
Code:
fastboot flash recovery twrp.img
It's far from certain that TWRP is available for your device though.
Didgeridoohan said:
Not the TWRP app, the TWRP recovery image. For example, on my OnePlus 5T I'd download the image from the TWRP website and then flash with
Code:
fastboot flash recovery twrp.img
It's far from certain that TWRP is available for your device though.
Click to expand...
Click to collapse
I'm gonna check what I can do and my options here. I haven't rooted for years and I think I used that stupid kingoroot app before so I never got this deep. After I get the file, what would be my next step?
Sounds like you need to read up a bit on the basics... Search the web a bit.
How to use fastboot would be a good start, and also how to get a copy of your boot image if TWRP isn't available for your device.

Categories

Resources